@gipisistemas/ng-core 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- package/bundles/gipisistemas-ng-core.umd.js +305 -162
- 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/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 +1 -1
- 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/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/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-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/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/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 +1 -1
- 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/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/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-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/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 +299 -164
- package/fesm2015/gipisistemas-ng-core.js.map +1 -1
- package/fesm5/gipisistemas-ng-core.js +310 -167
- 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/popover/popover.service.d.ts +1 -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
@@ -676,7 +676,7 @@
|
|
676
676
|
multi: true
|
677
677
|
}
|
678
678
|
],
|
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}"]
|
679
|
+
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
680
|
})
|
681
681
|
], InputCurrencyComponent);
|
682
682
|
return InputCurrencyComponent;
|
@@ -1077,35 +1077,6 @@
|
|
1077
1077
|
return Archive;
|
1078
1078
|
}());
|
1079
1079
|
|
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
1080
|
var AbstractDTO = /** @class */ (function () {
|
1110
1081
|
function AbstractDTO() {
|
1111
1082
|
}
|
@@ -1140,6 +1111,35 @@
|
|
1140
1111
|
return AlertComponent;
|
1141
1112
|
}());
|
1142
1113
|
|
1114
|
+
var AbstractService = /** @class */ (function () {
|
1115
|
+
function AbstractService() {
|
1116
|
+
this.onDestroy = new rxjs.Subject();
|
1117
|
+
}
|
1118
|
+
AbstractService.prototype.ngOnDestroy = function () {
|
1119
|
+
this.onDestroy.next();
|
1120
|
+
this.onDestroy.complete();
|
1121
|
+
};
|
1122
|
+
AbstractService.prototype.options = function (params, headers) {
|
1123
|
+
return {
|
1124
|
+
headers: headers ? headers : this.buildHeaders(),
|
1125
|
+
params: params ? params : this.buildParams()
|
1126
|
+
};
|
1127
|
+
};
|
1128
|
+
AbstractService.prototype.buildHeaders = function () {
|
1129
|
+
return new http.HttpHeaders();
|
1130
|
+
};
|
1131
|
+
AbstractService.prototype.buildParams = function () {
|
1132
|
+
return new http.HttpParams();
|
1133
|
+
};
|
1134
|
+
AbstractService.prototype.mapper = function (jsonObj) {
|
1135
|
+
return jsonObj;
|
1136
|
+
};
|
1137
|
+
AbstractService.prototype.handleError = function (error) {
|
1138
|
+
return rxjs.throwError(error);
|
1139
|
+
};
|
1140
|
+
return AbstractService;
|
1141
|
+
}());
|
1142
|
+
|
1143
1143
|
var MessageService = /** @class */ (function (_super) {
|
1144
1144
|
__extends(MessageService, _super);
|
1145
1145
|
function MessageService(snackBar) {
|
@@ -1160,9 +1160,7 @@
|
|
1160
1160
|
]; };
|
1161
1161
|
MessageService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function MessageService_Factory() { return new MessageService(core.ɵɵinject(snackBar.MatSnackBar)); }, token: MessageService, providedIn: "root" });
|
1162
1162
|
MessageService = __decorate([
|
1163
|
-
core.Injectable({
|
1164
|
-
providedIn: 'root'
|
1165
|
-
}),
|
1163
|
+
core.Injectable({ providedIn: 'root' }),
|
1166
1164
|
__metadata("design:paramtypes", [material.MatSnackBar])
|
1167
1165
|
], MessageService);
|
1168
1166
|
return MessageService;
|
@@ -1315,7 +1313,7 @@
|
|
1315
1313
|
core.Component({
|
1316
1314
|
selector: 'itss-input-file',
|
1317
1315
|
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}"]
|
1316
|
+
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
1317
|
}),
|
1320
1318
|
__metadata("design:paramtypes", [MessageService,
|
1321
1319
|
router.Router,
|
@@ -1732,7 +1730,7 @@
|
|
1732
1730
|
multi: true
|
1733
1731
|
}
|
1734
1732
|
],
|
1735
|
-
styles: ["mat-label span{color:#d14014!important}"]
|
1733
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#d14014!important}"]
|
1736
1734
|
}),
|
1737
1735
|
__metadata("design:paramtypes", [core.ElementRef,
|
1738
1736
|
core.ChangeDetectorRef])
|
@@ -2982,7 +2980,7 @@
|
|
2982
2980
|
multi: true
|
2983
2981
|
}
|
2984
2982
|
],
|
2985
|
-
styles: ["mat-label span{color:#f44336!important}"]
|
2983
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#f44336!important}"]
|
2986
2984
|
})
|
2987
2985
|
], RadioGroupEntityComponent);
|
2988
2986
|
return RadioGroupEntityComponent;
|
@@ -3128,7 +3126,7 @@
|
|
3128
3126
|
],
|
3129
3127
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
3130
3128
|
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}"]
|
3129
|
+
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
3130
|
}),
|
3133
3131
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
3134
3132
|
], RadioGroupEnumComponent);
|
@@ -3572,7 +3570,7 @@
|
|
3572
3570
|
multi: true
|
3573
3571
|
}
|
3574
3572
|
],
|
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}"]
|
3573
|
+
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
3574
|
}),
|
3577
3575
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
3578
3576
|
], SelectEntityPagedComponent);
|
@@ -4726,7 +4724,7 @@
|
|
4726
4724
|
core.Component({
|
4727
4725
|
selector: 'itss-select-entity',
|
4728
4726
|
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}"]
|
4727
|
+
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
4728
|
}),
|
4731
4729
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
4732
4730
|
], SelectEntityComponent);
|
@@ -4846,7 +4844,7 @@
|
|
4846
4844
|
multi: true
|
4847
4845
|
}
|
4848
4846
|
],
|
4849
|
-
styles: ["mat-label span{color:#f44336!important}.select-disabled{cursor:not-allowed}"]
|
4847
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#f44336!important}.select-disabled{cursor:not-allowed}"]
|
4850
4848
|
})
|
4851
4849
|
], SelectEnumComponent);
|
4852
4850
|
return SelectEnumComponent;
|
@@ -4931,7 +4929,7 @@
|
|
4931
4929
|
}
|
4932
4930
|
],
|
4933
4931
|
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}"]
|
4932
|
+
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
4933
|
}),
|
4936
4934
|
__metadata("design:paramtypes", [GIPINgConfig])
|
4937
4935
|
], SelectMonthPeriodComponent);
|
@@ -5974,7 +5972,7 @@
|
|
5974
5972
|
multi: true
|
5975
5973
|
}
|
5976
5974
|
],
|
5977
|
-
styles: ["mat-label span{color:#f44336!important}"]
|
5975
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#f44336!important}"]
|
5978
5976
|
}),
|
5979
5977
|
__metadata("design:paramtypes", [])
|
5980
5978
|
], TextareaComponent);
|
@@ -6633,9 +6631,7 @@
|
|
6633
6631
|
]; };
|
6634
6632
|
GIPIResizeService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function GIPIResizeService_Factory() { return new GIPIResizeService(core.ɵɵinject(core.NgZone), core.ɵɵinject(core.RendererFactory2)); }, token: GIPIResizeService, providedIn: "root" });
|
6635
6633
|
GIPIResizeService = __decorate([
|
6636
|
-
core.Injectable({
|
6637
|
-
providedIn: 'root'
|
6638
|
-
}),
|
6634
|
+
core.Injectable({ providedIn: 'root' }),
|
6639
6635
|
__metadata("design:paramtypes", [core.NgZone,
|
6640
6636
|
core.RendererFactory2])
|
6641
6637
|
], GIPIResizeService);
|
@@ -6713,9 +6709,7 @@
|
|
6713
6709
|
]; };
|
6714
6710
|
GIPIBreakpointService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function GIPIBreakpointService_Factory() { return new GIPIBreakpointService(core.ɵɵinject(GIPIResizeService), core.ɵɵinject(layout.MediaMatcher)); }, token: GIPIBreakpointService, providedIn: "root" });
|
6715
6711
|
GIPIBreakpointService = __decorate([
|
6716
|
-
core.Injectable({
|
6717
|
-
providedIn: 'root'
|
6718
|
-
}),
|
6712
|
+
core.Injectable({ providedIn: 'root' }),
|
6719
6713
|
__metadata("design:paramtypes", [GIPIResizeService,
|
6720
6714
|
layout.MediaMatcher])
|
6721
6715
|
], GIPIBreakpointService);
|
@@ -7581,6 +7575,51 @@
|
|
7581
7575
|
configurable: true
|
7582
7576
|
});
|
7583
7577
|
GIPIAbstractFormComponent.prototype.ngOnInit = function () { };
|
7578
|
+
GIPIAbstractFormComponent.prototype.ngAfterViewInit = function () {
|
7579
|
+
var _this = this;
|
7580
|
+
if (this.dialog && !ObjectUtil.isNull(this.matDialogContent)) {
|
7581
|
+
var contentElement_1 = this.matDialogContent.nativeElement;
|
7582
|
+
if (!ObjectUtil.isNull(contentElement_1) && this._hasScroll(contentElement_1)) {
|
7583
|
+
contentElement_1.scrollTop = 0;
|
7584
|
+
this.matDialogActions.nativeElement.style.boxShadow = '0px -10px 15px -3px rgba(0,0,0,0.1)';
|
7585
|
+
contentElement_1.addEventListener('scroll', function () { return _this._onScroll(contentElement_1); });
|
7586
|
+
}
|
7587
|
+
else {
|
7588
|
+
this._removeShadows();
|
7589
|
+
}
|
7590
|
+
}
|
7591
|
+
};
|
7592
|
+
GIPIAbstractFormComponent.prototype._onScroll = function (content) {
|
7593
|
+
var scrollTop = content.scrollTop || 0;
|
7594
|
+
var scrollHeight = (content.scrollHeight - 36) || 0; // 36 é do padding
|
7595
|
+
var clientHeight = content.clientHeight || 0;
|
7596
|
+
if (scrollTop === 0) {
|
7597
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '';
|
7598
|
+
this.matDialogActions.nativeElement.style.boxShadow = '0px -10px 15px -3px rgba(0,0,0,0.1)';
|
7599
|
+
}
|
7600
|
+
else if ((scrollTop + clientHeight) >= scrollHeight) {
|
7601
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '0px 10px 15px -3px rgba(0,0,0,0.1)';
|
7602
|
+
this.matDialogActions.nativeElement.style.boxShadow = '';
|
7603
|
+
}
|
7604
|
+
else {
|
7605
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '0px 10px 15px -3px rgba(0,0,0,0.1)';
|
7606
|
+
this.matDialogActions.nativeElement.style.boxShadow = '0px -10px 15px -3px rgba(0,0,0,0.1)';
|
7607
|
+
}
|
7608
|
+
};
|
7609
|
+
GIPIAbstractFormComponent.prototype._hasScroll = function (matDialogContent) {
|
7610
|
+
if (ObjectUtil.isNull(matDialogContent)) {
|
7611
|
+
return false;
|
7612
|
+
}
|
7613
|
+
return (matDialogContent.scrollHeight > matDialogContent.clientHeight);
|
7614
|
+
};
|
7615
|
+
GIPIAbstractFormComponent.prototype._removeShadows = function () {
|
7616
|
+
if (!ObjectUtil.isNull(this.matDialogTitle)) {
|
7617
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '';
|
7618
|
+
}
|
7619
|
+
if (!ObjectUtil.isNull(this.matDialogActions)) {
|
7620
|
+
this.matDialogActions.nativeElement.style.boxShadow = '';
|
7621
|
+
}
|
7622
|
+
};
|
7584
7623
|
var GIPIAbstractFormComponent_1;
|
7585
7624
|
__decorate([
|
7586
7625
|
core.HostBinding('attr.id'),
|
@@ -7599,6 +7638,18 @@
|
|
7599
7638
|
core.ContentChildren(GIPIActionRowComponent),
|
7600
7639
|
__metadata("design:type", GIPIActionRowComponent)
|
7601
7640
|
], GIPIAbstractFormComponent.prototype, "GIPIActionRowComponent", void 0);
|
7641
|
+
__decorate([
|
7642
|
+
core.ContentChild(material.MatDialogTitle, { static: false, read: core.ElementRef }),
|
7643
|
+
__metadata("design:type", core.ElementRef)
|
7644
|
+
], GIPIAbstractFormComponent.prototype, "matDialogTitle", void 0);
|
7645
|
+
__decorate([
|
7646
|
+
core.ContentChild(material.MatDialogContent, { static: false, read: core.ElementRef }),
|
7647
|
+
__metadata("design:type", core.ElementRef)
|
7648
|
+
], GIPIAbstractFormComponent.prototype, "matDialogContent", void 0);
|
7649
|
+
__decorate([
|
7650
|
+
core.ContentChild(material.MatDialogActions, { static: false, read: core.ElementRef }),
|
7651
|
+
__metadata("design:type", core.ElementRef)
|
7652
|
+
], GIPIAbstractFormComponent.prototype, "matDialogActions", void 0);
|
7602
7653
|
__decorate([
|
7603
7654
|
core.Input(),
|
7604
7655
|
__metadata("design:type", String),
|
@@ -7637,11 +7688,15 @@
|
|
7637
7688
|
core.Input(),
|
7638
7689
|
__metadata("design:type", Boolean)
|
7639
7690
|
], GIPIAbstractFormComponent.prototype, "loading", void 0);
|
7691
|
+
__decorate([
|
7692
|
+
core.Input(),
|
7693
|
+
__metadata("design:type", String)
|
7694
|
+
], GIPIAbstractFormComponent.prototype, "class", void 0);
|
7640
7695
|
GIPIAbstractFormComponent = GIPIAbstractFormComponent_1 = __decorate([
|
7641
7696
|
core.Component({
|
7642
7697
|
selector: "gipi-abstract-form",
|
7643
7698
|
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>",
|
7699
|
+
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
7700
|
providers: [
|
7646
7701
|
{
|
7647
7702
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -9478,9 +9533,7 @@
|
|
9478
9533
|
var ConfirmationDTO = /** @class */ (function (_super) {
|
9479
9534
|
__extends(ConfirmationDTO, _super);
|
9480
9535
|
function ConfirmationDTO() {
|
9481
|
-
|
9482
|
-
_this.isWarningScreen = false;
|
9483
|
-
return _this;
|
9536
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
9484
9537
|
}
|
9485
9538
|
return ConfirmationDTO;
|
9486
9539
|
}(AbstractDTO));
|
@@ -9503,7 +9556,7 @@
|
|
9503
9556
|
core.Component({
|
9504
9557
|
selector: "gipi-confirmation-dialog",
|
9505
9558
|
exportAs: 'gipiConfirmationDialog',
|
9506
|
-
template: "<gipi-abstract-form id=\"dialogConfirmation\"\n name=\"dialogConfirmation\"\n [dialog]=\"true\">\n
|
9559
|
+
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
9560
|
providers: [
|
9508
9561
|
{
|
9509
9562
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -9514,7 +9567,7 @@
|
|
9514
9567
|
host: {
|
9515
9568
|
'class': 'gipi-confirmation-dialog',
|
9516
9569
|
},
|
9517
|
-
styles: [".
|
9570
|
+
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
9571
|
}),
|
9519
9572
|
__param(1, core.Inject(material.MAT_DIALOG_DATA)),
|
9520
9573
|
__param(2, core.Inject(APP_MESSAGES)),
|
@@ -9867,9 +9920,7 @@
|
|
9867
9920
|
]; };
|
9868
9921
|
ConfirmationService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function ConfirmationService_Factory() { return new ConfirmationService(core.ɵɵinject(dialog.MatDialog)); }, token: ConfirmationService, providedIn: "root" });
|
9869
9922
|
ConfirmationService = __decorate([
|
9870
|
-
core.Injectable({
|
9871
|
-
providedIn: 'root'
|
9872
|
-
}),
|
9923
|
+
core.Injectable({ providedIn: 'root' }),
|
9873
9924
|
__metadata("design:paramtypes", [material.MatDialog])
|
9874
9925
|
], ConfirmationService);
|
9875
9926
|
return ConfirmationService;
|
@@ -10413,7 +10464,7 @@
|
|
10413
10464
|
'class': 'gipi-form-field',
|
10414
10465
|
},
|
10415
10466
|
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:1.2rem;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:
|
10467
|
+
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:1.2rem;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
10468
|
}),
|
10418
10469
|
__metadata("design:paramtypes", [core.ChangeDetectorRef,
|
10419
10470
|
core.ElementRef])
|
@@ -10592,7 +10643,7 @@
|
|
10592
10643
|
'class': 'gipi-input-checkbox',
|
10593
10644
|
},
|
10594
10645
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
10595
|
-
styles: ["::ng-deep .mat-checkbox-disabled{cursor:not-allowed!important}"]
|
10646
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}::ng-deep .mat-checkbox-disabled{cursor:not-allowed!important}"]
|
10596
10647
|
}),
|
10597
10648
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
10598
10649
|
], GIPIInputCheckboxComponent);
|
@@ -10793,7 +10844,7 @@
|
|
10793
10844
|
'class': 'gipi-input-currency',
|
10794
10845
|
},
|
10795
10846
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
10796
|
-
styles: [".input-currency-container{display:flex;flex-direction:column;gap:12px;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}"]
|
10847
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.input-currency-container{display:flex;flex-direction:column;gap:12px;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
10848
|
}),
|
10798
10849
|
__metadata("design:paramtypes", [core.ChangeDetectorRef,
|
10799
10850
|
core.ElementRef])
|
@@ -11213,7 +11264,7 @@
|
|
11213
11264
|
'class': 'gipi-input-monthpicker',
|
11214
11265
|
},
|
11215
11266
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
11216
|
-
styles: [".input-monthpicker-container{display:flex;flex-direction:column;gap:12px;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}"]
|
11267
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.input-monthpicker-container{display:flex;flex-direction:column;gap:12px;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
11268
|
}),
|
11218
11269
|
__metadata("design:paramtypes", [core.ChangeDetectorRef,
|
11219
11270
|
GIPINgConfig])
|
@@ -11555,7 +11606,7 @@
|
|
11555
11606
|
'class': 'gipi-input-select-enum',
|
11556
11607
|
},
|
11557
11608
|
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:12px}::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}"]
|
11609
|
+
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:12px}::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
11610
|
}),
|
11560
11611
|
__metadata("design:paramtypes", [core.ElementRef,
|
11561
11612
|
core.ChangeDetectorRef])
|
@@ -12935,7 +12986,7 @@
|
|
12935
12986
|
'class': 'gipi-input-select',
|
12936
12987
|
},
|
12937
12988
|
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:12px}::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:12px;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:12px;padding:8px 12px;border-top:1px solid #bfbfbf}::ng-deep .select-mat-option-pseudo-checkbox{margin:0!important}"]
|
12989
|
+
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:12px}::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:12px;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:12px;padding:8px 12px;border-top:1px solid #bfbfbf}::ng-deep .select-mat-option-pseudo-checkbox{margin:0!important}"]
|
12939
12990
|
}),
|
12940
12991
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
12941
12992
|
], GIPIInputSelectComponent);
|
@@ -13360,7 +13411,7 @@
|
|
13360
13411
|
'class': 'gipi-input-select-listbox',
|
13361
13412
|
},
|
13362
13413
|
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:12px;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:12px}"]
|
13414
|
+
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:12px;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:12px}"]
|
13364
13415
|
}),
|
13365
13416
|
__metadata("design:paramtypes", [core.ChangeDetectorRef,
|
13366
13417
|
core.ElementRef,
|
@@ -14126,7 +14177,7 @@
|
|
14126
14177
|
'class': 'gipi-input-select-paged',
|
14127
14178
|
},
|
14128
14179
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
14129
|
-
styles: [".input-select-paged-content{display:flex;flex-direction:column;gap:12px}.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}"]
|
14180
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.input-select-paged-content{display:flex;flex-direction:column;gap:12px}.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
14181
|
}),
|
14131
14182
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
14132
14183
|
], GIPIInputSelectPagedComponent);
|
@@ -14403,7 +14454,7 @@
|
|
14403
14454
|
'class': 'gipi-input-select-radio',
|
14404
14455
|
},
|
14405
14456
|
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}"]
|
14457
|
+
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
14458
|
}),
|
14408
14459
|
__metadata("design:paramtypes", [core.ElementRef,
|
14409
14460
|
core.ChangeDetectorRef])
|
@@ -16519,7 +16570,7 @@
|
|
16519
16570
|
},
|
16520
16571
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
16521
16572
|
encapsulation: core.ViewEncapsulation.None,
|
16522
|
-
styles: [".select-content{display:flex;flex-direction:column;gap:12px}.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}"]
|
16573
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.select-content{display:flex;flex-direction:column;gap:12px}.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
16574
|
}),
|
16524
16575
|
__metadata("design:paramtypes", [])
|
16525
16576
|
], GIPISelectComponent);
|
@@ -16563,9 +16614,7 @@
|
|
16563
16614
|
};
|
16564
16615
|
BreakpointObserverService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function BreakpointObserverService_Factory() { return new BreakpointObserverService(); }, token: BreakpointObserverService, providedIn: "root" });
|
16565
16616
|
BreakpointObserverService = __decorate([
|
16566
|
-
core.Injectable({
|
16567
|
-
providedIn: 'root'
|
16568
|
-
}),
|
16617
|
+
core.Injectable({ providedIn: 'root' }),
|
16569
16618
|
__metadata("design:paramtypes", [])
|
16570
16619
|
], BreakpointObserverService);
|
16571
16620
|
return BreakpointObserverService;
|
@@ -16606,9 +16655,7 @@
|
|
16606
16655
|
]; };
|
16607
16656
|
NavService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function NavService_Factory() { return new NavService(core.ɵɵinject(router.Router)); }, token: NavService, providedIn: "root" });
|
16608
16657
|
NavService = __decorate([
|
16609
|
-
core.Injectable({
|
16610
|
-
providedIn: 'root'
|
16611
|
-
}),
|
16658
|
+
core.Injectable({ providedIn: 'root' }),
|
16612
16659
|
__metadata("design:paramtypes", [router.Router])
|
16613
16660
|
], NavService);
|
16614
16661
|
return NavService;
|
@@ -16710,7 +16757,7 @@
|
|
16710
16757
|
this._levelOneMenuCollapsableSelected = null;
|
16711
16758
|
this._levelTwoMenuCollapsableSelected = null;
|
16712
16759
|
this._mouseEnter = false;
|
16713
|
-
this.
|
16760
|
+
this._menuItems = [];
|
16714
16761
|
this.labelToggle = 'Retrair menu';
|
16715
16762
|
this.showTagNewIntegration = false;
|
16716
16763
|
this.showIntegration = false;
|
@@ -16720,6 +16767,16 @@
|
|
16720
16767
|
this.onClickMenuConfiguration = new core.EventEmitter();
|
16721
16768
|
}
|
16722
16769
|
GIPISidenavComponent_1 = GIPISidenavComponent;
|
16770
|
+
Object.defineProperty(GIPISidenavComponent.prototype, "menuItems", {
|
16771
|
+
get: function () {
|
16772
|
+
return this._menuItems;
|
16773
|
+
},
|
16774
|
+
set: function (value) {
|
16775
|
+
this._menuItems = value;
|
16776
|
+
},
|
16777
|
+
enumerable: false,
|
16778
|
+
configurable: true
|
16779
|
+
});
|
16723
16780
|
GIPISidenavComponent.prototype.ngOnInit = function () { };
|
16724
16781
|
GIPISidenavComponent.prototype.ngAfterViewInit = function () {
|
16725
16782
|
this._navService.sidenav = this.sidenav;
|
@@ -16754,17 +16811,23 @@
|
|
16754
16811
|
enumerable: false,
|
16755
16812
|
configurable: true
|
16756
16813
|
});
|
16757
|
-
Object.defineProperty(GIPISidenavComponent.prototype, "
|
16814
|
+
Object.defineProperty(GIPISidenavComponent.prototype, "levelMenuSelected", {
|
16758
16815
|
get: function () {
|
16816
|
+
var _this = this;
|
16817
|
+
var levelMenuActive = [];
|
16759
16818
|
if (ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
16760
|
-
|
16819
|
+
levelMenuActive = this.menuItems;
|
16761
16820
|
}
|
16762
16821
|
else if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
16763
|
-
|
16822
|
+
levelMenuActive = this._levelOneMenuCollapsableSelected.menuList;
|
16764
16823
|
}
|
16765
16824
|
else if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && !ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
16766
|
-
|
16825
|
+
levelMenuActive = this._levelTwoMenuCollapsableSelected.menuList;
|
16826
|
+
}
|
16827
|
+
if (!ArrayUtil.isEmpty(levelMenuActive)) {
|
16828
|
+
levelMenuActive.forEach(function (item) { return item.id = _this._toCamelCase(item.route); });
|
16767
16829
|
}
|
16830
|
+
return rxjs.of(levelMenuActive);
|
16768
16831
|
},
|
16769
16832
|
enumerable: false,
|
16770
16833
|
configurable: true
|
@@ -16889,6 +16952,17 @@
|
|
16889
16952
|
}
|
16890
16953
|
});
|
16891
16954
|
};
|
16955
|
+
GIPISidenavComponent.prototype._toCamelCase = function (name) {
|
16956
|
+
if (StringUtil.isEmpty(name)) {
|
16957
|
+
return '';
|
16958
|
+
}
|
16959
|
+
var normalized = StringUtil.replaceAccents(name);
|
16960
|
+
return normalized
|
16961
|
+
.split(/[/\-]/) // Divide por '/' e '-'
|
16962
|
+
.filter(Boolean) // Remove elementos vazios da lista
|
16963
|
+
.map(function (word, index) { return (index === 0) ? word.toLowerCase() : (word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()); })
|
16964
|
+
.join('');
|
16965
|
+
};
|
16892
16966
|
var GIPISidenavComponent_1;
|
16893
16967
|
GIPISidenavComponent.ctorParameters = function () { return [
|
16894
16968
|
{ type: NavService },
|
@@ -16901,8 +16975,9 @@
|
|
16901
16975
|
], GIPISidenavComponent.prototype, "sidenav", void 0);
|
16902
16976
|
__decorate([
|
16903
16977
|
core.Input(),
|
16904
|
-
__metadata("design:type", Array)
|
16905
|
-
|
16978
|
+
__metadata("design:type", Array),
|
16979
|
+
__metadata("design:paramtypes", [Array])
|
16980
|
+
], GIPISidenavComponent.prototype, "menuItems", null);
|
16906
16981
|
__decorate([
|
16907
16982
|
core.Input(),
|
16908
16983
|
__metadata("design:type", String)
|
@@ -16959,7 +17034,7 @@
|
|
16959
17034
|
core.Component({
|
16960
17035
|
selector: "gipi-sidenav",
|
16961
17036
|
exportAs: 'gipiSidenav',
|
16962
|
-
template: "<mat-sidenav #sidenav\n
|
17037
|
+
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\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
17038
|
encapsulation: core.ViewEncapsulation.None,
|
16964
17039
|
providers: [
|
16965
17040
|
{
|
@@ -16978,7 +17053,7 @@
|
|
16978
17053
|
animations.transition('expanded <=> collapsed', animations.animate('225ms cubic-bezier(0.4,0.0,0.2,1)')),
|
16979
17054
|
])
|
16980
17055
|
],
|
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%}.sidenav .sidenav-content-menu.show-bottom{height:calc(100% - 18px -
|
17056
|
+
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%}.sidenav .sidenav-content-menu.show-bottom{height:calc(100% - 18px - 104px)!important}.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
17057
|
}),
|
16983
17058
|
__metadata("design:paramtypes", [NavService,
|
16984
17059
|
BreakpointObserverService,
|
@@ -17863,14 +17938,26 @@
|
|
17863
17938
|
return TabModel;
|
17864
17939
|
}());
|
17865
17940
|
|
17941
|
+
var nextUniqueId$i = 0;
|
17866
17942
|
var GIPITabComponent = /** @class */ (function () {
|
17867
17943
|
function GIPITabComponent() {
|
17944
|
+
this._name = "gipi-tab-" + nextUniqueId$i++;
|
17945
|
+
this.id = this._name;
|
17946
|
+
this.name = this._name;
|
17868
17947
|
this.active = false;
|
17869
17948
|
this.closeable = false;
|
17870
17949
|
this.disabled = false;
|
17871
17950
|
this.selectionChange = new core.EventEmitter();
|
17872
17951
|
}
|
17873
17952
|
GIPITabComponent.prototype.ngOnInit = function () { };
|
17953
|
+
__decorate([
|
17954
|
+
core.Input(),
|
17955
|
+
__metadata("design:type", Object)
|
17956
|
+
], GIPITabComponent.prototype, "id", void 0);
|
17957
|
+
__decorate([
|
17958
|
+
core.Input(),
|
17959
|
+
__metadata("design:type", String)
|
17960
|
+
], GIPITabComponent.prototype, "name", void 0);
|
17874
17961
|
__decorate([
|
17875
17962
|
core.Input(),
|
17876
17963
|
__metadata("design:type", Number)
|
@@ -17927,10 +18014,14 @@
|
|
17927
18014
|
return GIPITabComponent;
|
17928
18015
|
}());
|
17929
18016
|
|
18017
|
+
var nextUniqueId$j = 0;
|
17930
18018
|
var GIPITabGroupComponent = /** @class */ (function () {
|
17931
18019
|
function GIPITabGroupComponent(elementRef, _componentFactoryResolver) {
|
17932
18020
|
this.elementRef = elementRef;
|
17933
18021
|
this._componentFactoryResolver = _componentFactoryResolver;
|
18022
|
+
this._name = "gipi-tab-" + nextUniqueId$j++;
|
18023
|
+
this.id = this._name;
|
18024
|
+
this.name = this._name;
|
17934
18025
|
this.dynamicTabs = [];
|
17935
18026
|
}
|
17936
18027
|
GIPITabGroupComponent.prototype.ngOnInit = function () { };
|
@@ -18036,15 +18127,25 @@
|
|
18036
18127
|
core.ViewChild(GIPIDynamicTabDirective, { static: false }),
|
18037
18128
|
__metadata("design:type", GIPIDynamicTabDirective)
|
18038
18129
|
], GIPITabGroupComponent.prototype, "dynamicTabPlaceholder", void 0);
|
18130
|
+
__decorate([
|
18131
|
+
core.Input(),
|
18132
|
+
__metadata("design:type", Object)
|
18133
|
+
], GIPITabGroupComponent.prototype, "id", void 0);
|
18134
|
+
__decorate([
|
18135
|
+
core.Input(),
|
18136
|
+
__metadata("design:type", String)
|
18137
|
+
], GIPITabGroupComponent.prototype, "name", void 0);
|
18039
18138
|
GIPITabGroupComponent = __decorate([
|
18040
18139
|
core.Component({
|
18041
18140
|
selector: 'gipi-tab-group',
|
18042
18141
|
exportAs: 'gipiTabGroup',
|
18043
|
-
template: "<nav mat-tab-nav-bar>\n <a mat-tab-link\n *ngFor=\"let tab of tabQueryList\"\n
|
18142
|
+
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
18143
|
host: {
|
18045
18144
|
'class': 'gipi-tab-group',
|
18145
|
+
'[attr.id]': 'id',
|
18146
|
+
'[attr.name]': 'name',
|
18046
18147
|
},
|
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}"]
|
18148
|
+
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
18149
|
}),
|
18049
18150
|
__metadata("design:paramtypes", [core.ElementRef,
|
18050
18151
|
core.ComponentFactoryResolver])
|
@@ -22164,7 +22265,7 @@
|
|
22164
22265
|
* Use of this source code is governed by an MIT-style license that can be
|
22165
22266
|
* found in the LICENSE file at https://angular.io/license
|
22166
22267
|
*/
|
22167
|
-
var nextUniqueId$
|
22268
|
+
var nextUniqueId$k = 0;
|
22168
22269
|
var MatDateRangeInput = /** @class */ (function () {
|
22169
22270
|
function MatDateRangeInput(_changeDetectorRef, _elementRef, control, _dateAdapter, _formField) {
|
22170
22271
|
this._changeDetectorRef = _changeDetectorRef;
|
@@ -22172,7 +22273,7 @@
|
|
22172
22273
|
this._dateAdapter = _dateAdapter;
|
22173
22274
|
this._formField = _formField;
|
22174
22275
|
/** Unique ID for the input. */
|
22175
|
-
this.id = "mat-date-range-input-" + nextUniqueId$
|
22276
|
+
this.id = "mat-date-range-input-" + nextUniqueId$k++;
|
22176
22277
|
/** Whether the control is focused. */
|
22177
22278
|
this.focused = false;
|
22178
22279
|
/** Name of the form control. */
|
@@ -23385,7 +23486,7 @@
|
|
23385
23486
|
host: {
|
23386
23487
|
'class': 'gipi-date-range-picker',
|
23387
23488
|
},
|
23388
|
-
styles: [":host{display:block;width:100
|
23489
|
+
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-inner{padding:0!important}::-webkit-input-placeholder{color:#bbbdc1}:-moz-placeholder{color:#bbbdc1}::-moz-placeholder{color:#bbbdc1}:-ms-input-placeholder{color:#bbbdc1}"]
|
23389
23490
|
}),
|
23390
23491
|
__metadata("design:paramtypes", [core.ElementRef,
|
23391
23492
|
core.ChangeDetectorRef])
|
@@ -23747,12 +23848,12 @@
|
|
23747
23848
|
}());
|
23748
23849
|
|
23749
23850
|
var moment$3 = moment_;
|
23750
|
-
var nextUniqueId$
|
23851
|
+
var nextUniqueId$m = 0;
|
23751
23852
|
var DatepickerComponent = /** @class */ (function () {
|
23752
23853
|
function DatepickerComponent(elementRef, _changeDetectorRef) {
|
23753
23854
|
this.elementRef = elementRef;
|
23754
23855
|
this._changeDetectorRef = _changeDetectorRef;
|
23755
|
-
this._name = "gipi-date-range-" + nextUniqueId$
|
23856
|
+
this._name = "gipi-date-range-" + nextUniqueId$m++;
|
23756
23857
|
this.id = this._name + "-date";
|
23757
23858
|
this.name = this._name + "-date";
|
23758
23859
|
this.label = '';
|
@@ -23985,7 +24086,7 @@
|
|
23985
24086
|
host: {
|
23986
24087
|
'class': 'gipi-datepicker',
|
23987
24088
|
},
|
23988
|
-
styles: [":host{display:block;width:100
|
24089
|
+
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
24090
|
}),
|
23990
24091
|
__metadata("design:paramtypes", [core.ElementRef,
|
23991
24092
|
core.ChangeDetectorRef])
|
@@ -24353,7 +24454,7 @@
|
|
24353
24454
|
};
|
24354
24455
|
return MonthPickerModel;
|
24355
24456
|
}());
|
24356
|
-
var nextUniqueId$
|
24457
|
+
var nextUniqueId$n = 0;
|
24357
24458
|
var MonthYearPickerComponent = /** @class */ (function () {
|
24358
24459
|
function MonthYearPickerComponent(elementRef, _changeDetectorRef, _overlay, _ngZone, _viewContainerRef, scrollStrategy, _dir, _document) {
|
24359
24460
|
this.elementRef = elementRef;
|
@@ -24363,7 +24464,7 @@
|
|
24363
24464
|
this._viewContainerRef = _viewContainerRef;
|
24364
24465
|
this._dir = _dir;
|
24365
24466
|
this._document = _document;
|
24366
|
-
this._name = "gipi-date-range-" + nextUniqueId$
|
24467
|
+
this._name = "gipi-date-range-" + nextUniqueId$n++;
|
24367
24468
|
this._focusedElementBeforeOpen = null;
|
24368
24469
|
this._backdropHarnessClass = this._name + "-backdrop";
|
24369
24470
|
this._stateChanges = new rxjs.Subject();
|
@@ -24746,7 +24847,7 @@
|
|
24746
24847
|
MonthYearPickerComponent = MonthYearPickerComponent_1 = __decorate([
|
24747
24848
|
core.Component({
|
24748
24849
|
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
|
24850
|
+
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
24851
|
providers: [
|
24751
24852
|
{
|
24752
24853
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -24758,7 +24859,7 @@
|
|
24758
24859
|
'class': 'gipi-month-year-picker',
|
24759
24860
|
},
|
24760
24861
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
24761
|
-
styles: [":host{display:block;width:100
|
24862
|
+
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
24863
|
}),
|
24763
24864
|
__param(5, core.Inject(GIPI_MONTH_YEAR_SCROLL_STRATEGY)),
|
24764
24865
|
__param(6, core.Optional()),
|
@@ -24808,11 +24909,11 @@
|
|
24808
24909
|
return MonthYearPickerModule;
|
24809
24910
|
}());
|
24810
24911
|
|
24811
|
-
var nextUniqueId$
|
24912
|
+
var nextUniqueId$o = 0;
|
24812
24913
|
var GIPISplitButtonComponent = /** @class */ (function () {
|
24813
24914
|
function GIPISplitButtonComponent(elementRef) {
|
24814
24915
|
this.elementRef = elementRef;
|
24815
|
-
this._uniqueId = nextUniqueId$
|
24916
|
+
this._uniqueId = nextUniqueId$o++;
|
24816
24917
|
this._name = "gipi-split-button-" + this._uniqueId;
|
24817
24918
|
this.idBtnDefault = "gipi-split-button-default-" + this._uniqueId;
|
24818
24919
|
this.idBtnMenu = "gipi-split-button-menu-" + this._uniqueId;
|
@@ -24855,7 +24956,7 @@
|
|
24855
24956
|
return attributes.some(function (attribute) { return _this.getHostElement().hasAttribute(attribute); });
|
24856
24957
|
};
|
24857
24958
|
GIPISplitButtonComponent.prototype.btnIdAndName = function () {
|
24858
|
-
var uniqueId = nextUniqueId$
|
24959
|
+
var uniqueId = nextUniqueId$o++;
|
24859
24960
|
return {
|
24860
24961
|
btnDefault: "gipi-split-button-default-" + uniqueId,
|
24861
24962
|
btnMenu: "gipi-split-button-menu-" + uniqueId,
|
@@ -25050,12 +25151,12 @@
|
|
25050
25151
|
return GIPISplitButtonComponent;
|
25051
25152
|
}());
|
25052
25153
|
|
25053
|
-
var nextUniqueId$
|
25154
|
+
var nextUniqueId$p = 0;
|
25054
25155
|
var GIPITextareaComponent = /** @class */ (function () {
|
25055
25156
|
function GIPITextareaComponent(elementRef, _changeDetectorRef) {
|
25056
25157
|
this.elementRef = elementRef;
|
25057
25158
|
this._changeDetectorRef = _changeDetectorRef;
|
25058
|
-
this._name = "gipi-textarea-" + nextUniqueId$
|
25159
|
+
this._name = "gipi-textarea-" + nextUniqueId$p++;
|
25059
25160
|
this.id = this._name;
|
25060
25161
|
this.name = this._name;
|
25061
25162
|
this.label = '';
|
@@ -25389,7 +25490,7 @@
|
|
25389
25490
|
'class': 'gipi-textarea',
|
25390
25491
|
},
|
25391
25492
|
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}"]
|
25493
|
+
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
25494
|
}),
|
25394
25495
|
__metadata("design:paramtypes", [core.ElementRef,
|
25395
25496
|
core.ChangeDetectorRef])
|
@@ -26042,10 +26143,9 @@
|
|
26042
26143
|
]; };
|
26043
26144
|
AuthenticationService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function AuthenticationService_Factory() { return new AuthenticationService(core.ɵɵinject(router.Router), core.ɵɵinject(http.HttpClient)); }, token: AuthenticationService, providedIn: "root" });
|
26044
26145
|
AuthenticationService = __decorate([
|
26045
|
-
core.Injectable({
|
26046
|
-
|
26047
|
-
|
26048
|
-
__metadata("design:paramtypes", [router.Router, http.HttpClient])
|
26146
|
+
core.Injectable({ providedIn: 'root' }),
|
26147
|
+
__metadata("design:paramtypes", [router.Router,
|
26148
|
+
http.HttpClient])
|
26049
26149
|
], AuthenticationService);
|
26050
26150
|
return AuthenticationService;
|
26051
26151
|
}(AbstractService));
|
@@ -26196,13 +26296,14 @@
|
|
26196
26296
|
|
26197
26297
|
var DialogService = /** @class */ (function (_super) {
|
26198
26298
|
__extends(DialogService, _super);
|
26199
|
-
function DialogService(dialog) {
|
26299
|
+
function DialogService(_breakpointObserver, dialog) {
|
26200
26300
|
var _this = _super.call(this) || this;
|
26301
|
+
_this._breakpointObserver = _breakpointObserver;
|
26201
26302
|
_this.dialog = dialog;
|
26202
26303
|
return _this;
|
26203
26304
|
}
|
26204
26305
|
DialogService.prototype.open = function (dialog) {
|
26205
|
-
|
26306
|
+
var dialogConfig = {
|
26206
26307
|
panelClass: dialog.panelClass,
|
26207
26308
|
disableClose: dialog.disableClose,
|
26208
26309
|
width: dialog.width,
|
@@ -26213,20 +26314,56 @@
|
|
26213
26314
|
maxHeight: dialog.maxHeight,
|
26214
26315
|
position: dialog.position,
|
26215
26316
|
data: dialog.data,
|
26216
|
-
autoFocus: dialog.autoFocus,
|
26217
|
-
restoreFocus: dialog.restoreFocus,
|
26218
|
-
closeOnNavigation: dialog.closeOnNavigation,
|
26219
|
-
}
|
26317
|
+
autoFocus: dialog.autoFocus || false,
|
26318
|
+
restoreFocus: dialog.restoreFocus || false,
|
26319
|
+
closeOnNavigation: dialog.closeOnNavigation || true,
|
26320
|
+
};
|
26321
|
+
// this._breakpointObserver.observe(['(max-width: 1366px)', '(min-width: 1366.1px)']).subscribe((result: BreakpointState) => {
|
26322
|
+
// if (result.matches) {
|
26323
|
+
// if (result.breakpoints['(max-width: 1366px)']) {
|
26324
|
+
// dialogConfig = {
|
26325
|
+
// ...dialogConfig,
|
26326
|
+
// width: 'auto',
|
26327
|
+
// maxWidth: '80%',
|
26328
|
+
// height: this._calcHeightByBody(),
|
26329
|
+
// maxHeight: this._calcHeightByBody(),
|
26330
|
+
// position: {
|
26331
|
+
// top: '40px',
|
26332
|
+
// right: '40px',
|
26333
|
+
// }
|
26334
|
+
// };
|
26335
|
+
// } else if (result.breakpoints['(min-width: 1366.1px)']) {
|
26336
|
+
// // Para telas maiores que 1366px, aplica o maxWidth de 1920px e centraliza o modal
|
26337
|
+
// dialogConfig = {
|
26338
|
+
// ...dialogConfig,
|
26339
|
+
// maxWidth: '1920px',
|
26340
|
+
// };
|
26341
|
+
// }
|
26342
|
+
// }
|
26343
|
+
// });
|
26344
|
+
return this.dialog.open(dialog.componentOrTemplateRef, dialogConfig);
|
26345
|
+
};
|
26346
|
+
DialogService.prototype._calcHeightByBody = function () {
|
26347
|
+
// Esse n° 80 é definido pela margem do lado direito, que no caso é 40px. Como tira 40 top e 40 bottom = 80.
|
26348
|
+
var bodyDOMRect = (document && document.body) ? document.body.getBoundingClientRect() : null;
|
26349
|
+
return bodyDOMRect.height - 80 + "px";
|
26350
|
+
};
|
26351
|
+
DialogService.prototype._coerceNumber = function (value) {
|
26352
|
+
if (StringUtil.isEmpty(value)) {
|
26353
|
+
return null;
|
26354
|
+
}
|
26355
|
+
var onlyNumber = value.match(/\d+/);
|
26356
|
+
return onlyNumber ? parseInt(onlyNumber[0], 10) : null;
|
26220
26357
|
};
|
26221
26358
|
DialogService.ctorParameters = function () { return [
|
26359
|
+
{ type: layout.BreakpointObserver },
|
26222
26360
|
{ type: material.MatDialog }
|
26223
26361
|
]; };
|
26224
|
-
DialogService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function DialogService_Factory() { return new DialogService(core.ɵɵinject(dialog.MatDialog)); }, token: DialogService, providedIn: "root" });
|
26362
|
+
DialogService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function DialogService_Factory() { return new DialogService(core.ɵɵinject(layout.BreakpointObserver), core.ɵɵinject(dialog.MatDialog)); }, token: DialogService, providedIn: "root" });
|
26225
26363
|
DialogService = __decorate([
|
26226
|
-
core.Injectable({
|
26227
|
-
|
26228
|
-
|
26229
|
-
__metadata("design:paramtypes", [material.MatDialog])
|
26364
|
+
core.Injectable({ providedIn: 'root' }),
|
26365
|
+
__metadata("design:paramtypes", [layout.BreakpointObserver,
|
26366
|
+
material.MatDialog])
|
26230
26367
|
], DialogService);
|
26231
26368
|
return DialogService;
|
26232
26369
|
}(AbstractService));
|
@@ -26275,15 +26412,26 @@
|
|
26275
26412
|
throw new Error(error);
|
26276
26413
|
}
|
26277
26414
|
};
|
26415
|
+
/**
|
26416
|
+
* Registers an icon using an HTML string in the default namespace.
|
26417
|
+
* @param svgName Svg name without the extension
|
26418
|
+
* @param literal SVG source of the icon.
|
26419
|
+
*/
|
26420
|
+
SvgRegisterService.prototype.registerSvgIconLiteral = function (svgName, literal) {
|
26421
|
+
try {
|
26422
|
+
this._matIconRegistry.addSvgIconLiteral(svgName, literal);
|
26423
|
+
}
|
26424
|
+
catch (error) {
|
26425
|
+
throw new Error(error);
|
26426
|
+
}
|
26427
|
+
};
|
26278
26428
|
SvgRegisterService.ctorParameters = function () { return [
|
26279
26429
|
{ type: material.MatIconRegistry },
|
26280
26430
|
{ type: platformBrowser.DomSanitizer }
|
26281
26431
|
]; };
|
26282
26432
|
SvgRegisterService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function SvgRegisterService_Factory() { return new SvgRegisterService(core.ɵɵinject(icon.MatIconRegistry), core.ɵɵinject(platformBrowser.DomSanitizer)); }, token: SvgRegisterService, providedIn: "root" });
|
26283
26433
|
SvgRegisterService = __decorate([
|
26284
|
-
core.Injectable({
|
26285
|
-
providedIn: 'root'
|
26286
|
-
}),
|
26434
|
+
core.Injectable({ providedIn: 'root' }),
|
26287
26435
|
__metadata("design:paramtypes", [material.MatIconRegistry,
|
26288
26436
|
platformBrowser.DomSanitizer])
|
26289
26437
|
], SvgRegisterService);
|
@@ -26560,9 +26708,7 @@
|
|
26560
26708
|
};
|
26561
26709
|
GIPIFileService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function GIPIFileService_Factory() { return new GIPIFileService(); }, token: GIPIFileService, providedIn: "root" });
|
26562
26710
|
GIPIFileService = __decorate([
|
26563
|
-
core.Injectable({
|
26564
|
-
providedIn: 'root'
|
26565
|
-
}),
|
26711
|
+
core.Injectable({ providedIn: 'root' }),
|
26566
26712
|
__metadata("design:paramtypes", [])
|
26567
26713
|
], GIPIFileService);
|
26568
26714
|
return GIPIFileService;
|
@@ -27583,25 +27729,25 @@
|
|
27583
27729
|
})(exports.LocalTimeEnum || (exports.LocalTimeEnum = {}));
|
27584
27730
|
|
27585
27731
|
var AuthGuard = /** @class */ (function () {
|
27586
|
-
function AuthGuard(
|
27587
|
-
this.
|
27588
|
-
this.
|
27732
|
+
function AuthGuard(_router, _authenticationService) {
|
27733
|
+
this._router = _router;
|
27734
|
+
this._authenticationService = _authenticationService;
|
27589
27735
|
}
|
27590
27736
|
AuthGuard.prototype.canActivate = function (route, state) {
|
27591
27737
|
var _this = this;
|
27592
|
-
if (!ObjectUtil.isNull(this.
|
27593
|
-
return this.
|
27594
|
-
if (_this.
|
27738
|
+
if (!ObjectUtil.isNull(this._authenticationService.tokenValueLocalStorage)) {
|
27739
|
+
return this._authenticationService.token.pipe(operators.map(function (token) {
|
27740
|
+
if (_this._authenticationService.isValidToken(token)) {
|
27595
27741
|
return true;
|
27596
27742
|
}
|
27597
27743
|
else if (!ObjectUtil.isNull(token)) {
|
27598
|
-
_this.
|
27744
|
+
_this._authenticationService.removeToken();
|
27599
27745
|
}
|
27600
|
-
_this.
|
27746
|
+
_this._router.navigate(['oauth/login'], { queryParams: { returnUrl: state.url } });
|
27601
27747
|
return false;
|
27602
27748
|
}));
|
27603
27749
|
}
|
27604
|
-
this.
|
27750
|
+
this._router.navigate(['oauth/login'], { queryParams: { returnUrl: state.url } });
|
27605
27751
|
return rxjs.of(false);
|
27606
27752
|
};
|
27607
27753
|
AuthGuard.prototype.canActivateChild = function (route, state) {
|
@@ -27613,32 +27759,31 @@
|
|
27613
27759
|
]; };
|
27614
27760
|
AuthGuard.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function AuthGuard_Factory() { return new AuthGuard(core.ɵɵinject(router.Router), core.ɵɵinject(AuthenticationService)); }, token: AuthGuard, providedIn: "root" });
|
27615
27761
|
AuthGuard = __decorate([
|
27616
|
-
core.Injectable({
|
27617
|
-
|
27618
|
-
|
27619
|
-
__metadata("design:paramtypes", [router.Router, AuthenticationService])
|
27762
|
+
core.Injectable({ providedIn: 'root' }),
|
27763
|
+
__metadata("design:paramtypes", [router.Router,
|
27764
|
+
AuthenticationService])
|
27620
27765
|
], AuthGuard);
|
27621
27766
|
return AuthGuard;
|
27622
27767
|
}());
|
27623
27768
|
|
27624
27769
|
var PermissionGuard = /** @class */ (function () {
|
27625
|
-
function PermissionGuard(
|
27626
|
-
this.
|
27627
|
-
this.
|
27770
|
+
function PermissionGuard(_router, _authenticationService) {
|
27771
|
+
this._router = _router;
|
27772
|
+
this._authenticationService = _authenticationService;
|
27628
27773
|
}
|
27629
27774
|
PermissionGuard.prototype.canActivate = function (route, state) {
|
27630
27775
|
var _this = this;
|
27631
|
-
if (!ObjectUtil.isNull(this.
|
27632
|
-
return this.
|
27633
|
-
if (_this.
|
27776
|
+
if (!ObjectUtil.isNull(this._authenticationService.tokenValueLocalStorage)) {
|
27777
|
+
return this._authenticationService.token.pipe(operators.map(function (token) {
|
27778
|
+
if (_this._authenticationService.isValidToken(token)
|
27634
27779
|
&& (!_this.hasPermission(token.user.menuList, state.url) && !_this.hasAuthority(token.user, route.data.authority))) {
|
27635
|
-
_this.
|
27780
|
+
_this._router.navigate(['errors/403']);
|
27636
27781
|
return false;
|
27637
27782
|
}
|
27638
27783
|
return true;
|
27639
27784
|
}));
|
27640
27785
|
}
|
27641
|
-
this.
|
27786
|
+
this._router.navigate(['errors/403']);
|
27642
27787
|
return rxjs.of(false);
|
27643
27788
|
};
|
27644
27789
|
PermissionGuard.prototype.hasAuthority = function (user, permission) {
|
@@ -27675,31 +27820,30 @@
|
|
27675
27820
|
]; };
|
27676
27821
|
PermissionGuard.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function PermissionGuard_Factory() { return new PermissionGuard(core.ɵɵinject(router.Router), core.ɵɵinject(AuthenticationService)); }, token: PermissionGuard, providedIn: "root" });
|
27677
27822
|
PermissionGuard = __decorate([
|
27678
|
-
core.Injectable({
|
27679
|
-
|
27680
|
-
|
27681
|
-
__metadata("design:paramtypes", [router.Router, AuthenticationService])
|
27823
|
+
core.Injectable({ providedIn: 'root' }),
|
27824
|
+
__metadata("design:paramtypes", [router.Router,
|
27825
|
+
AuthenticationService])
|
27682
27826
|
], PermissionGuard);
|
27683
27827
|
return PermissionGuard;
|
27684
27828
|
}());
|
27685
27829
|
|
27686
27830
|
var PublicGuard = /** @class */ (function () {
|
27687
|
-
function PublicGuard(
|
27688
|
-
this.
|
27689
|
-
this.
|
27831
|
+
function PublicGuard(_router, _authenticationService) {
|
27832
|
+
this._router = _router;
|
27833
|
+
this._authenticationService = _authenticationService;
|
27690
27834
|
}
|
27691
27835
|
PublicGuard.prototype.canActivate = function (route, state) {
|
27692
27836
|
var _this = this;
|
27693
|
-
if (!ObjectUtil.isNull(this.
|
27694
|
-
return this.
|
27695
|
-
if (_this.
|
27696
|
-
_this.
|
27837
|
+
if (!ObjectUtil.isNull(this._authenticationService.tokenValueLocalStorage)) {
|
27838
|
+
return this._authenticationService.token.pipe(operators.map(function (token) {
|
27839
|
+
if (_this._authenticationService.isValidToken(token)) {
|
27840
|
+
_this._router.navigate(['dashboard']);
|
27697
27841
|
return false;
|
27698
27842
|
}
|
27699
27843
|
return true;
|
27700
27844
|
}));
|
27701
27845
|
}
|
27702
|
-
this.
|
27846
|
+
this._router.navigate(['dashboard']);
|
27703
27847
|
return rxjs.of(false);
|
27704
27848
|
};
|
27705
27849
|
PublicGuard.prototype.canActivateChild = function (route, state) {
|
@@ -27711,10 +27855,9 @@
|
|
27711
27855
|
]; };
|
27712
27856
|
PublicGuard.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function PublicGuard_Factory() { return new PublicGuard(core.ɵɵinject(router.Router), core.ɵɵinject(AuthenticationService)); }, token: PublicGuard, providedIn: "root" });
|
27713
27857
|
PublicGuard = __decorate([
|
27714
|
-
core.Injectable({
|
27715
|
-
|
27716
|
-
|
27717
|
-
__metadata("design:paramtypes", [router.Router, AuthenticationService])
|
27858
|
+
core.Injectable({ providedIn: 'root' }),
|
27859
|
+
__metadata("design:paramtypes", [router.Router,
|
27860
|
+
AuthenticationService])
|
27718
27861
|
], PublicGuard);
|
27719
27862
|
return PublicGuard;
|
27720
27863
|
}());
|
@@ -27774,6 +27917,7 @@
|
|
27774
27917
|
function MenuDTO() {
|
27775
27918
|
var _this = _super.call(this) || this;
|
27776
27919
|
_this.menuList = [];
|
27920
|
+
_this.id = '';
|
27777
27921
|
_this.expanded = false;
|
27778
27922
|
return _this;
|
27779
27923
|
}
|
@@ -28542,10 +28686,9 @@
|
|
28542
28686
|
]; };
|
28543
28687
|
PopoverService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function PopoverService_Factory() { return new PopoverService(core.ɵɵinject(overlay.Overlay), core.ɵɵinject(core.INJECTOR)); }, token: PopoverService, providedIn: "root" });
|
28544
28688
|
PopoverService = __decorate([
|
28545
|
-
core.Injectable({
|
28546
|
-
|
28547
|
-
|
28548
|
-
__metadata("design:paramtypes", [overlay.Overlay, core.Injector])
|
28689
|
+
core.Injectable({ providedIn: 'root' }),
|
28690
|
+
__metadata("design:paramtypes", [overlay.Overlay,
|
28691
|
+
core.Injector])
|
28549
28692
|
], PopoverService);
|
28550
28693
|
return PopoverService;
|
28551
28694
|
}());
|