@gipisistemas/ng-core 1.1.4 → 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 +598 -165
- package/bundles/gipisistemas-ng-core.umd.js.map +1 -1
- package/bundles/gipisistemas-ng-core.umd.min.js +9 -9
- 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/core/utils/string.util.d.ts +4 -0
- 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/core/utils/string.util.js +27 -1
- package/esm2015/gipi-components.js +2 -1
- 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-entity-paged/shared/select-search/select-search.component.js +2 -2
- 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/button/button.component.js +18 -2
- 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-search/input-search.component.js +2 -2
- package/esm2015/shared/gipi-components/input-select-paged/input-select-paged.component.js +1 -1
- package/esm2015/shared/gipi-components/input-select-radio/input-select-radio.component.js +1 -1
- package/esm2015/shared/gipi-components/layout-grid/services/breakpoint.service.js +2 -4
- package/esm2015/shared/gipi-components/layout-grid/services/resize.service.js +2 -4
- package/esm2015/shared/gipi-components/month-year-picker/month-year-picker.component.js +3 -3
- package/esm2015/shared/gipi-components/popover/shared/popover-trigger.js +4 -4
- 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/split-button/split-button.component.js +243 -0
- 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/esm2015/shared/shared.module.js +3 -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/core/utils/string.util.js +27 -1
- package/esm5/gipi-components.js +2 -1
- 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-entity-paged/shared/select-search/select-search.component.js +2 -2
- 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/button/button.component.js +22 -2
- 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-search/input-search.component.js +2 -2
- package/esm5/shared/gipi-components/input-select-paged/input-select-paged.component.js +1 -1
- package/esm5/shared/gipi-components/input-select-radio/input-select-radio.component.js +1 -1
- package/esm5/shared/gipi-components/layout-grid/services/breakpoint.service.js +2 -4
- package/esm5/shared/gipi-components/layout-grid/services/resize.service.js +2 -4
- package/esm5/shared/gipi-components/month-year-picker/month-year-picker.component.js +3 -3
- package/esm5/shared/gipi-components/popover/shared/popover-trigger.js +4 -4
- 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/split-button/split-button.component.js +249 -0
- 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/esm5/shared/shared.module.js +3 -1
- package/fesm2015/gipisistemas-ng-core.js +581 -167
- package/fesm2015/gipisistemas-ng-core.js.map +1 -1
- package/fesm5/gipisistemas-ng-core.js +602 -170
- package/fesm5/gipisistemas-ng-core.js.map +1 -1
- package/gipi-components.d.ts +1 -0
- 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/button/button.component.d.ts +14 -0
- package/shared/gipi-components/sidebar/sidenav/sidenav.component.d.ts +5 -2
- package/shared/gipi-components/split-button/split-button.component.d.ts +60 -0
- 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;
|
@@ -720,6 +720,32 @@
|
|
720
720
|
StringUtil.truncateWithEllipses = function (text, max) {
|
721
721
|
return text.trim().substring(0, max - 1) + (text.trim().length > max) ? '...' : '';
|
722
722
|
};
|
723
|
+
/** Codifica a string em Base64 */
|
724
|
+
StringUtil.encodeBase64 = function (input) {
|
725
|
+
if (this.isEmpty(input)) {
|
726
|
+
return '';
|
727
|
+
}
|
728
|
+
var utf8Encoder = new TextEncoder();
|
729
|
+
var utf8Bytes = utf8Encoder.encode(input);
|
730
|
+
var binary = '';
|
731
|
+
utf8Bytes.forEach(function (byte) {
|
732
|
+
binary += String.fromCharCode(byte);
|
733
|
+
});
|
734
|
+
return btoa(binary);
|
735
|
+
};
|
736
|
+
/** Decodifica a string Base64 */
|
737
|
+
StringUtil.decodeBase64 = function (input) {
|
738
|
+
if (this.isEmpty(input)) {
|
739
|
+
return '';
|
740
|
+
}
|
741
|
+
var binary = atob(input);
|
742
|
+
var utf8Decoder = new TextDecoder();
|
743
|
+
var utf8Bytes = new Uint8Array(binary.length);
|
744
|
+
for (var i = 0; i < binary.length; i++) {
|
745
|
+
utf8Bytes[i] = binary.charCodeAt(i);
|
746
|
+
}
|
747
|
+
return utf8Decoder.decode(utf8Bytes);
|
748
|
+
};
|
723
749
|
StringUtil.EMPTY = '';
|
724
750
|
return StringUtil;
|
725
751
|
}());
|
@@ -1051,35 +1077,6 @@
|
|
1051
1077
|
return Archive;
|
1052
1078
|
}());
|
1053
1079
|
|
1054
|
-
var AbstractService = /** @class */ (function () {
|
1055
|
-
function AbstractService() {
|
1056
|
-
this.onDestroy = new rxjs.Subject();
|
1057
|
-
}
|
1058
|
-
AbstractService.prototype.ngOnDestroy = function () {
|
1059
|
-
this.onDestroy.next();
|
1060
|
-
this.onDestroy.complete();
|
1061
|
-
};
|
1062
|
-
AbstractService.prototype.options = function (params, headers) {
|
1063
|
-
return {
|
1064
|
-
headers: headers ? headers : this.buildHeaders(),
|
1065
|
-
params: params ? params : this.buildParams()
|
1066
|
-
};
|
1067
|
-
};
|
1068
|
-
AbstractService.prototype.buildHeaders = function () {
|
1069
|
-
return new http.HttpHeaders();
|
1070
|
-
};
|
1071
|
-
AbstractService.prototype.buildParams = function () {
|
1072
|
-
return new http.HttpParams();
|
1073
|
-
};
|
1074
|
-
AbstractService.prototype.mapper = function (jsonObj) {
|
1075
|
-
return jsonObj;
|
1076
|
-
};
|
1077
|
-
AbstractService.prototype.handleError = function (error) {
|
1078
|
-
return rxjs.throwError(error);
|
1079
|
-
};
|
1080
|
-
return AbstractService;
|
1081
|
-
}());
|
1082
|
-
|
1083
1080
|
var AbstractDTO = /** @class */ (function () {
|
1084
1081
|
function AbstractDTO() {
|
1085
1082
|
}
|
@@ -1114,6 +1111,35 @@
|
|
1114
1111
|
return AlertComponent;
|
1115
1112
|
}());
|
1116
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
|
+
|
1117
1143
|
var MessageService = /** @class */ (function (_super) {
|
1118
1144
|
__extends(MessageService, _super);
|
1119
1145
|
function MessageService(snackBar) {
|
@@ -1134,9 +1160,7 @@
|
|
1134
1160
|
]; };
|
1135
1161
|
MessageService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function MessageService_Factory() { return new MessageService(core.ɵɵinject(snackBar.MatSnackBar)); }, token: MessageService, providedIn: "root" });
|
1136
1162
|
MessageService = __decorate([
|
1137
|
-
core.Injectable({
|
1138
|
-
providedIn: 'root'
|
1139
|
-
}),
|
1163
|
+
core.Injectable({ providedIn: 'root' }),
|
1140
1164
|
__metadata("design:paramtypes", [material.MatSnackBar])
|
1141
1165
|
], MessageService);
|
1142
1166
|
return MessageService;
|
@@ -1289,7 +1313,7 @@
|
|
1289
1313
|
core.Component({
|
1290
1314
|
selector: 'itss-input-file',
|
1291
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>",
|
1292
|
-
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}"]
|
1293
1317
|
}),
|
1294
1318
|
__metadata("design:paramtypes", [MessageService,
|
1295
1319
|
router.Router,
|
@@ -1706,7 +1730,7 @@
|
|
1706
1730
|
multi: true
|
1707
1731
|
}
|
1708
1732
|
],
|
1709
|
-
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}"]
|
1710
1734
|
}),
|
1711
1735
|
__metadata("design:paramtypes", [core.ElementRef,
|
1712
1736
|
core.ChangeDetectorRef])
|
@@ -2956,7 +2980,7 @@
|
|
2956
2980
|
multi: true
|
2957
2981
|
}
|
2958
2982
|
],
|
2959
|
-
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}"]
|
2960
2984
|
})
|
2961
2985
|
], RadioGroupEntityComponent);
|
2962
2986
|
return RadioGroupEntityComponent;
|
@@ -3102,7 +3126,7 @@
|
|
3102
3126
|
],
|
3103
3127
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
3104
3128
|
host: { 'class': 'itss-element' },
|
3105
|
-
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}"]
|
3106
3130
|
}),
|
3107
3131
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
3108
3132
|
], RadioGroupEnumComponent);
|
@@ -3546,7 +3570,7 @@
|
|
3546
3570
|
multi: true
|
3547
3571
|
}
|
3548
3572
|
],
|
3549
|
-
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}"]
|
3550
3574
|
}),
|
3551
3575
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
3552
3576
|
], SelectEntityPagedComponent);
|
@@ -4303,7 +4327,7 @@
|
|
4303
4327
|
SelectSearchComponent = SelectSearchComponent_1 = __decorate([
|
4304
4328
|
core.Component({
|
4305
4329
|
selector: 'itss-input-search',
|
4306
|
-
template: "<!-- Espa\u00E7o reservado para ajustar o deslocamento vertical dos elementos mat-option -->\n<input matInput\n class=\"mat-select-search-input mat-select-search-hidden\" />\n\n<!-- Note: o mat-datepicker-content mat-tab-header \u00E9 necess\u00E1rio para herdar as cores do tema do material, consulte PR n\u00BA 22 -->\n<div #innerSelectSearch\n class=\"mat-select-search-inner mat-typography mat-datepicker-content mat-tab-header\"\n [ngClass]=\"{'mat-select-search-inner-multiple': matSelect.multiple, 'mat-select-search-inner-toggle-all': _isToggleAllCheckboxVisible() }\">\n\n <mat-checkbox *ngIf=\"_isToggleAllCheckboxVisible()\"\n class=\"mat-select-search-toggle-all-checkbox\"\n color=\"primary\"\n [color]=\"matFormField?.color\"\n [disabled]=\"searching\"\n [matTooltip]=\"toggleAllCheckboxTooltipMessage\"\n matTooltipClass=\"ngx-mat-select-search-toggle-all-tooltip\"\n [matTooltipPosition]=\"toggleAllCheckboxTooltipPosition\"\n [(ngModel)]=\"toggleAllCheckboxChecked\"\n [(indeterminate)]=\"toggleAllCheckboxIndeterminate\">\n </mat-checkbox>\n\n <input class=\"mat-select-search-input mat-input-element\"\n autocomplete=\"off\"\n [type]=\"type\"\n [formControl]=\"_formControl\"\n #searchSelectInput\n (keydown)=\"_handleKeydown($event)\"\n (keyup)=\"_handleKeyup($event)\"\n (blur)=\"onBlur()\"\n [placeholder]=\"placeholderLabel\"\n [attr.aria-label]=\"ariaLabel\">\n\n <mat-spinner *ngIf=\"searching\"\n class=\"mat-select-search-spinner\"\n diameter=\"16\">\n </mat-spinner>\n\n <button *ngIf=\"!hideClearSearchButton && value && !searching\"\n mat-icon-button\n aria-label=\"Clear\"\n (click)=\"_reset(true)\"\n class=\"mat-select-search-clear\">\n <ng-content *ngIf=\"clearIcon; else defaultIcon\"\n select=\"[itssSelectSearchClear]\">\n </ng-content>\n\n <ng-template #defaultIcon>\n <mat-icon [svgIcon]=\"closeSvgIcon\">\n {{ !closeSvgIcon ? closeIcon : null }}\n </mat-icon>\n </ng-template>\n </button>\n\n <ng-content select=\".mat-select-search-custom-header-content\"> </ng-content>\n\n <mat-divider> </mat-divider>\n</div>\n\n<div *ngIf=\"(_showNoEntriesFound$ | async) && !searching\"\n class=\"mat-select-search-no-entries-found\">\n <ng-content *ngIf=\"noEntriesFound; else defaultNoEntriesFound\"\n select=\"[itssSelectNoEntriesFound]\">\n </ng-content>\n\n <ng-template #defaultNoEntriesFound>\n {{ noEntriesFoundLabel }}\n </ng-template>\n</div
|
4330
|
+
template: "<!-- Espa\u00E7o reservado para ajustar o deslocamento vertical dos elementos mat-option -->\n<input matInput\n class=\"mat-select-search-input mat-select-search-hidden\" />\n\n<!-- Note: o mat-datepicker-content mat-tab-header \u00E9 necess\u00E1rio para herdar as cores do tema do material, consulte PR n\u00BA 22 -->\n<div #innerSelectSearch\n class=\"mat-select-search-inner mat-typography mat-datepicker-content mat-tab-header\"\n [ngClass]=\"{'mat-select-search-inner-multiple': matSelect.multiple, 'mat-select-search-inner-toggle-all': _isToggleAllCheckboxVisible() }\">\n\n <mat-checkbox *ngIf=\"_isToggleAllCheckboxVisible()\"\n class=\"mat-select-search-toggle-all-checkbox\"\n color=\"primary\"\n [color]=\"matFormField?.color\"\n [disabled]=\"searching\"\n [matTooltip]=\"toggleAllCheckboxTooltipMessage\"\n matTooltipClass=\"ngx-mat-select-search-toggle-all-tooltip\"\n [matTooltipPosition]=\"toggleAllCheckboxTooltipPosition\"\n [(ngModel)]=\"toggleAllCheckboxChecked\"\n [(indeterminate)]=\"toggleAllCheckboxIndeterminate\">\n </mat-checkbox>\n\n <input class=\"mat-select-search-input mat-input-element\"\n autocomplete=\"off\"\n [type]=\"type\"\n [formControl]=\"_formControl\"\n #searchSelectInput\n (keydown)=\"_handleKeydown($event)\"\n (keyup)=\"_handleKeyup($event)\"\n (blur)=\"onBlur()\"\n [placeholder]=\"placeholderLabel\"\n [attr.aria-label]=\"ariaLabel\"\n aria-hidden=\"false\">\n\n <mat-spinner *ngIf=\"searching\"\n class=\"mat-select-search-spinner\"\n diameter=\"16\">\n </mat-spinner>\n\n <button *ngIf=\"!hideClearSearchButton && value && !searching\"\n mat-icon-button\n aria-label=\"Clear\"\n (click)=\"_reset(true)\"\n class=\"mat-select-search-clear\">\n <ng-content *ngIf=\"clearIcon; else defaultIcon\"\n select=\"[itssSelectSearchClear]\">\n </ng-content>\n\n <ng-template #defaultIcon>\n <mat-icon [svgIcon]=\"closeSvgIcon\">\n {{ !closeSvgIcon ? closeIcon : null }}\n </mat-icon>\n </ng-template>\n </button>\n\n <ng-content select=\".mat-select-search-custom-header-content\"> </ng-content>\n\n <mat-divider> </mat-divider>\n</div>\n\n<div *ngIf=\"(_showNoEntriesFound$ | async) && !searching\"\n class=\"mat-select-search-no-entries-found\">\n <ng-content *ngIf=\"noEntriesFound; else defaultNoEntriesFound\"\n select=\"[itssSelectNoEntriesFound]\">\n </ng-content>\n\n <ng-template #defaultNoEntriesFound>\n {{ noEntriesFoundLabel }}\n </ng-template>\n</div>",
|
4307
4331
|
providers: [
|
4308
4332
|
{
|
4309
4333
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -4700,7 +4724,7 @@
|
|
4700
4724
|
core.Component({
|
4701
4725
|
selector: 'itss-select-entity',
|
4702
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",
|
4703
|
-
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}"]
|
4704
4728
|
}),
|
4705
4729
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
4706
4730
|
], SelectEntityComponent);
|
@@ -4820,7 +4844,7 @@
|
|
4820
4844
|
multi: true
|
4821
4845
|
}
|
4822
4846
|
],
|
4823
|
-
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}"]
|
4824
4848
|
})
|
4825
4849
|
], SelectEnumComponent);
|
4826
4850
|
return SelectEnumComponent;
|
@@ -4905,7 +4929,7 @@
|
|
4905
4929
|
}
|
4906
4930
|
],
|
4907
4931
|
host: { 'class': 'itss-element' },
|
4908
|
-
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}"]
|
4909
4933
|
}),
|
4910
4934
|
__metadata("design:paramtypes", [GIPINgConfig])
|
4911
4935
|
], SelectMonthPeriodComponent);
|
@@ -5948,7 +5972,7 @@
|
|
5948
5972
|
multi: true
|
5949
5973
|
}
|
5950
5974
|
],
|
5951
|
-
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}"]
|
5952
5976
|
}),
|
5953
5977
|
__metadata("design:paramtypes", [])
|
5954
5978
|
], TextareaComponent);
|
@@ -6607,9 +6631,7 @@
|
|
6607
6631
|
]; };
|
6608
6632
|
GIPIResizeService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function GIPIResizeService_Factory() { return new GIPIResizeService(core.ɵɵinject(core.NgZone), core.ɵɵinject(core.RendererFactory2)); }, token: GIPIResizeService, providedIn: "root" });
|
6609
6633
|
GIPIResizeService = __decorate([
|
6610
|
-
core.Injectable({
|
6611
|
-
providedIn: 'root'
|
6612
|
-
}),
|
6634
|
+
core.Injectable({ providedIn: 'root' }),
|
6613
6635
|
__metadata("design:paramtypes", [core.NgZone,
|
6614
6636
|
core.RendererFactory2])
|
6615
6637
|
], GIPIResizeService);
|
@@ -6687,9 +6709,7 @@
|
|
6687
6709
|
]; };
|
6688
6710
|
GIPIBreakpointService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function GIPIBreakpointService_Factory() { return new GIPIBreakpointService(core.ɵɵinject(GIPIResizeService), core.ɵɵinject(layout.MediaMatcher)); }, token: GIPIBreakpointService, providedIn: "root" });
|
6689
6711
|
GIPIBreakpointService = __decorate([
|
6690
|
-
core.Injectable({
|
6691
|
-
providedIn: 'root'
|
6692
|
-
}),
|
6712
|
+
core.Injectable({ providedIn: 'root' }),
|
6693
6713
|
__metadata("design:paramtypes", [GIPIResizeService,
|
6694
6714
|
layout.MediaMatcher])
|
6695
6715
|
], GIPIBreakpointService);
|
@@ -7555,6 +7575,51 @@
|
|
7555
7575
|
configurable: true
|
7556
7576
|
});
|
7557
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
|
+
};
|
7558
7623
|
var GIPIAbstractFormComponent_1;
|
7559
7624
|
__decorate([
|
7560
7625
|
core.HostBinding('attr.id'),
|
@@ -7573,6 +7638,18 @@
|
|
7573
7638
|
core.ContentChildren(GIPIActionRowComponent),
|
7574
7639
|
__metadata("design:type", GIPIActionRowComponent)
|
7575
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);
|
7576
7653
|
__decorate([
|
7577
7654
|
core.Input(),
|
7578
7655
|
__metadata("design:type", String),
|
@@ -7611,11 +7688,15 @@
|
|
7611
7688
|
core.Input(),
|
7612
7689
|
__metadata("design:type", Boolean)
|
7613
7690
|
], GIPIAbstractFormComponent.prototype, "loading", void 0);
|
7691
|
+
__decorate([
|
7692
|
+
core.Input(),
|
7693
|
+
__metadata("design:type", String)
|
7694
|
+
], GIPIAbstractFormComponent.prototype, "class", void 0);
|
7614
7695
|
GIPIAbstractFormComponent = GIPIAbstractFormComponent_1 = __decorate([
|
7615
7696
|
core.Component({
|
7616
7697
|
selector: "gipi-abstract-form",
|
7617
7698
|
exportAs: 'gipiAbstractForm',
|
7618
|
-
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>",
|
7619
7700
|
providers: [
|
7620
7701
|
{
|
7621
7702
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -8553,7 +8634,7 @@
|
|
8553
8634
|
var _this = this;
|
8554
8635
|
if (this._overlayRef) {
|
8555
8636
|
/** Only subscribe to backdrop if trigger event is click */
|
8556
|
-
if (this.triggerEvent
|
8637
|
+
if (this.triggerEvent !== 'hover' && this.backdropCloseOnClick) {
|
8557
8638
|
this._overlayRef.backdropClick()
|
8558
8639
|
.pipe(operators.takeUntil(this.popoverClosed), operators.takeUntil(this._onDestroy))
|
8559
8640
|
.subscribe(function () {
|
@@ -8637,8 +8718,8 @@
|
|
8637
8718
|
GIPIPopoverTrigger.prototype._getOverlayConfig = function () {
|
8638
8719
|
var overlayState = new overlay.OverlayConfig();
|
8639
8720
|
overlayState.positionStrategy = this._getPosition();
|
8640
|
-
/** Display overlay backdrop if trigger event is
|
8641
|
-
if (this.triggerEvent
|
8721
|
+
/** Display overlay backdrop if trigger event is different of hover */
|
8722
|
+
if (this.triggerEvent !== 'hover') {
|
8642
8723
|
overlayState.hasBackdrop = true;
|
8643
8724
|
overlayState.backdropClass = 'cdk-overlay-transparent-backdrop';
|
8644
8725
|
}
|
@@ -8927,6 +9008,26 @@
|
|
8927
9008
|
this.onBlur = new core.EventEmitter(true);
|
8928
9009
|
}
|
8929
9010
|
GIPIButtonComponent_1 = GIPIButtonComponent;
|
9011
|
+
Object.defineProperty(GIPIButtonComponent.prototype, "internalButtonClass", {
|
9012
|
+
get: function () {
|
9013
|
+
return {
|
9014
|
+
'button-base': true,
|
9015
|
+
'button-primary': (this.isButtonPrimary || this.isButtonPrimaryIcon),
|
9016
|
+
'button-primary-icon': this.isButtonPrimaryIcon,
|
9017
|
+
'button-secondary': (this.isButtonSecondary || this.isButtonSecondaryIcon),
|
9018
|
+
'button-secondary-icon': this.isButtonSecondaryIcon,
|
9019
|
+
'button-tertiary': (this.isButtonTertiary || this.isButtonTertiaryIcon),
|
9020
|
+
'button-tertiary-icon': this.isButtonTertiaryIcon,
|
9021
|
+
'button-link': this.isButtonLink,
|
9022
|
+
'button-only-icon': this.isButtonIcon,
|
9023
|
+
'button-for-input': this.isForInput,
|
9024
|
+
'button-notification': this.notification,
|
9025
|
+
'button-action': this.isButtonAction
|
9026
|
+
};
|
9027
|
+
},
|
9028
|
+
enumerable: false,
|
9029
|
+
configurable: true
|
9030
|
+
});
|
8930
9031
|
GIPIButtonComponent.prototype.ngOnInit = function () { };
|
8931
9032
|
GIPIButtonComponent.prototype.ngOnDestroy = function () {
|
8932
9033
|
if (this.popoverTrigger) {
|
@@ -9126,7 +9227,7 @@
|
|
9126
9227
|
core.Component({
|
9127
9228
|
selector: "gipi-button[gipi-primary], gipi-button[gipi-primary-icon], gipi-button[gipi-secondary], gipi-button[gipi-secondary-icon],\n gipi-button[gipi-tertiary], gipi-button[gipi-link], gipi-button[gipi-icon], gipi-button[gipi-action]",
|
9128
9229
|
exportAs: 'gipiButton',
|
9129
|
-
template: "<button [attr.id]=\"id\"\n [attr.name]=\"name\"\n [attr.type]=\"type\"\n [attr.aria-label]=\"ariaLabel ? ariaLabel : label\"\n [attr.title]=\"title ? title : label\"\n [disabled]=\"disabled || loading\"\n [matTooltip]=\"tooltip\"\n role=\"button\"\n [class]=\"buttonClass\"\n [ngClass]=\"
|
9230
|
+
template: "<button [attr.id]=\"id\"\n [attr.name]=\"name\"\n [attr.type]=\"type\"\n [attr.aria-label]=\"ariaLabel ? ariaLabel : label\"\n [attr.title]=\"title ? title : label\"\n [disabled]=\"disabled || loading\"\n [matTooltip]=\"tooltip\"\n role=\"button\"\n [class]=\"buttonClass\"\n [ngClass]=\"internalButtonClass\"\n [style.padding.px]=\"buttonPadding\"\n #popoverTrigger=\"popoverTrigger\"\n [popoverTriggerFor]=\"btnPopover\"\n [popoverTriggerOn]=\"popover ? 'click' : 'none'\"\n [popoverBackdropCloseOnClick]=\"true\"\n (opened)=\"onOpenPopover.emit()\"\n (closed)=\"onClosePopover.emit()\"\n (click)=\"handleClick($event)\"\n (focus)=\"handleFocus($event)\"\n (blur)=\"handleBlur($event)\">\n <span [ngClass]=\"{'button-content': true,\n 'button-disabled': disabled,\n 'button-icon-left': ((iconPos === 'left') && label),\n 'button-icon-right': ((iconPos === 'right') && label),\n 'button-icon-top': ((iconPos === 'top') && label),\n 'button-icon-bottom': ((iconPos === 'bottom') && label),\n 'button-icon-center': (iconPos === 'center')}\">\n <mat-icon *ngIf=\"svgIcon || icon\"\n [svgIcon]=\"svgIcon\"\n [style.width.px]=\"iconWidth\"\n [style.height.px]=\"iconHeight\"\n [style.font-size.px]=\"iconWidth || iconHeight\">\n {{ (!svgIcon && icon) ? icon : '' }}\n </mat-icon>\n\n <span class=\"button-label\"\n [attr.aria-hidden]=\"(icon || svgIcon) && !label\"\n *ngIf=\"!isButtonIcon && label\">\n {{ label }}\n </span>\n </span>\n</button>\n\n<gipi-overlay *ngIf=\"overlay && !popover\"\n [(visible)]=\"_overlayVisible\"\n [appendTo]=\"'body'\"\n (onShow)=\"onShowOverlay.emit()\">\n <ng-content> </ng-content>\n</gipi-overlay>\n\n<gipi-popover #btnPopover=\"gipiPopover\"\n [popoverOverlapTrigger]=\"false\"\n [popoverCloseOnClick]=\"false\"\n [popoverArrowWidth]=\"0\"\n [popoverOffsetY]=\"3\"\n [fxHide]=\"!popover\">\n <div class=\"btn-popover-content\">\n <ng-content> </ng-content>\n </div>\n</gipi-popover>",
|
9130
9231
|
providers: [
|
9131
9232
|
{
|
9132
9233
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -9432,9 +9533,7 @@
|
|
9432
9533
|
var ConfirmationDTO = /** @class */ (function (_super) {
|
9433
9534
|
__extends(ConfirmationDTO, _super);
|
9434
9535
|
function ConfirmationDTO() {
|
9435
|
-
|
9436
|
-
_this.isWarningScreen = false;
|
9437
|
-
return _this;
|
9536
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
9438
9537
|
}
|
9439
9538
|
return ConfirmationDTO;
|
9440
9539
|
}(AbstractDTO));
|
@@ -9457,7 +9556,7 @@
|
|
9457
9556
|
core.Component({
|
9458
9557
|
selector: "gipi-confirmation-dialog",
|
9459
9558
|
exportAs: 'gipiConfirmationDialog',
|
9460
|
-
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> -->",
|
9461
9560
|
providers: [
|
9462
9561
|
{
|
9463
9562
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -9468,7 +9567,7 @@
|
|
9468
9567
|
host: {
|
9469
9568
|
'class': 'gipi-confirmation-dialog',
|
9470
9569
|
},
|
9471
|
-
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)}"]
|
9472
9571
|
}),
|
9473
9572
|
__param(1, core.Inject(material.MAT_DIALOG_DATA)),
|
9474
9573
|
__param(2, core.Inject(APP_MESSAGES)),
|
@@ -9821,9 +9920,7 @@
|
|
9821
9920
|
]; };
|
9822
9921
|
ConfirmationService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function ConfirmationService_Factory() { return new ConfirmationService(core.ɵɵinject(dialog.MatDialog)); }, token: ConfirmationService, providedIn: "root" });
|
9823
9922
|
ConfirmationService = __decorate([
|
9824
|
-
core.Injectable({
|
9825
|
-
providedIn: 'root'
|
9826
|
-
}),
|
9923
|
+
core.Injectable({ providedIn: 'root' }),
|
9827
9924
|
__metadata("design:paramtypes", [material.MatDialog])
|
9828
9925
|
], ConfirmationService);
|
9829
9926
|
return ConfirmationService;
|
@@ -10367,7 +10464,7 @@
|
|
10367
10464
|
'class': 'gipi-form-field',
|
10368
10465
|
},
|
10369
10466
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
10370
|
-
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}"]
|
10371
10468
|
}),
|
10372
10469
|
__metadata("design:paramtypes", [core.ChangeDetectorRef,
|
10373
10470
|
core.ElementRef])
|
@@ -10546,7 +10643,7 @@
|
|
10546
10643
|
'class': 'gipi-input-checkbox',
|
10547
10644
|
},
|
10548
10645
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
10549
|
-
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}"]
|
10550
10647
|
}),
|
10551
10648
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
10552
10649
|
], GIPIInputCheckboxComponent);
|
@@ -10747,7 +10844,7 @@
|
|
10747
10844
|
'class': 'gipi-input-currency',
|
10748
10845
|
},
|
10749
10846
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
10750
|
-
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}"]
|
10751
10848
|
}),
|
10752
10849
|
__metadata("design:paramtypes", [core.ChangeDetectorRef,
|
10753
10850
|
core.ElementRef])
|
@@ -11167,7 +11264,7 @@
|
|
11167
11264
|
'class': 'gipi-input-monthpicker',
|
11168
11265
|
},
|
11169
11266
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
11170
|
-
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}"]
|
11171
11268
|
}),
|
11172
11269
|
__metadata("design:paramtypes", [core.ChangeDetectorRef,
|
11173
11270
|
GIPINgConfig])
|
@@ -11509,7 +11606,7 @@
|
|
11509
11606
|
'class': 'gipi-input-select-enum',
|
11510
11607
|
},
|
11511
11608
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
11512
|
-
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}"]
|
11513
11610
|
}),
|
11514
11611
|
__metadata("design:paramtypes", [core.ElementRef,
|
11515
11612
|
core.ChangeDetectorRef])
|
@@ -12889,7 +12986,7 @@
|
|
12889
12986
|
'class': 'gipi-input-select',
|
12890
12987
|
},
|
12891
12988
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
12892
|
-
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}"]
|
12893
12990
|
}),
|
12894
12991
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
12895
12992
|
], GIPIInputSelectComponent);
|
@@ -13314,7 +13411,7 @@
|
|
13314
13411
|
'class': 'gipi-input-select-listbox',
|
13315
13412
|
},
|
13316
13413
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
13317
|
-
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}"]
|
13318
13415
|
}),
|
13319
13416
|
__metadata("design:paramtypes", [core.ChangeDetectorRef,
|
13320
13417
|
core.ElementRef,
|
@@ -13685,7 +13782,7 @@
|
|
13685
13782
|
core.Component({
|
13686
13783
|
selector: "gipi-input-search",
|
13687
13784
|
exportAs: 'gipiInputSearch',
|
13688
|
-
template: "<!-- Espa\u00E7o reservado para ajustar o deslocamento vertical dos elementos mat-option -->\n<input matInput\n class=\"mat-select-search-input mat-select-search-hidden\" />\n\n<!-- Note: o mat-datepicker-content mat-tab-header \u00E9 necess\u00E1rio para herdar as cores do tema do material, consulte PR n\u00BA 22 -->\n<div #innerSelectSearch\n class=\"mat-select-search-inner mat-typography mat-datepicker-content mat-tab-header\">\n\n <input class=\"mat-select-search-input mat-input-element\"\n aria-label=\"Pesquisa suspensa\"\n autocomplete=\"off\"\n type=\"text\"\n #searchSelectInput\n [placeholder]=\"placeholderLabel\"\n [formControl]=\"_formControl\"\n (keydown)=\"_handleKeydown($event)\"\n (keyup)=\"_handleKeyup($event)\"\n (blur)=\"onBlur()\">\n\n <mat-spinner *ngIf=\"searching\"\n class=\"mat-select-search-spinner\"\n diameter=\"16\">\n </mat-spinner>\n\n <button *ngIf=\"!hideClearSearchButton && value && !searching\"\n class=\"mat-select-search-clear\"\n aria-label=\"Limpar\"\n mat-icon-button\n (click)=\"_reset(true)\">\n <mat-icon> close </mat-icon>\n </button>\n\n <mat-divider> </mat-divider>\n</div>\n\n<div *ngIf=\"(_showNoEntriesFound$ | async) && !searching\"\n class=\"mat-select-search-no-entries-found\">\n <mat-icon>sentiment_very_dissatisfied</mat-icon>\n Nenhum registro foi encontrado\n</div>",
|
13785
|
+
template: "<!-- Espa\u00E7o reservado para ajustar o deslocamento vertical dos elementos mat-option -->\n<input matInput\n class=\"mat-select-search-input mat-select-search-hidden\" />\n\n<!-- Note: o mat-datepicker-content mat-tab-header \u00E9 necess\u00E1rio para herdar as cores do tema do material, consulte PR n\u00BA 22 -->\n<div #innerSelectSearch\n class=\"mat-select-search-inner mat-typography mat-datepicker-content mat-tab-header\">\n\n <input class=\"mat-select-search-input mat-input-element\"\n aria-label=\"Pesquisa suspensa\"\n aria-hidden=\"false\"\n autocomplete=\"off\"\n type=\"text\"\n #searchSelectInput\n [placeholder]=\"placeholderLabel\"\n [formControl]=\"_formControl\"\n (keydown)=\"_handleKeydown($event)\"\n (keyup)=\"_handleKeyup($event)\"\n (blur)=\"onBlur()\">\n\n <mat-spinner *ngIf=\"searching\"\n class=\"mat-select-search-spinner\"\n diameter=\"16\">\n </mat-spinner>\n\n <button *ngIf=\"!hideClearSearchButton && value && !searching\"\n class=\"mat-select-search-clear\"\n aria-label=\"Limpar\"\n mat-icon-button\n (click)=\"_reset(true)\">\n <mat-icon> close </mat-icon>\n </button>\n\n <mat-divider> </mat-divider>\n</div>\n\n<div *ngIf=\"(_showNoEntriesFound$ | async) && !searching\"\n class=\"mat-select-search-no-entries-found\">\n <mat-icon>sentiment_very_dissatisfied</mat-icon>\n Nenhum registro foi encontrado\n</div>",
|
13689
13786
|
providers: [
|
13690
13787
|
{
|
13691
13788
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -14080,7 +14177,7 @@
|
|
14080
14177
|
'class': 'gipi-input-select-paged',
|
14081
14178
|
},
|
14082
14179
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
14083
|
-
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}"]
|
14084
14181
|
}),
|
14085
14182
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|
14086
14183
|
], GIPIInputSelectPagedComponent);
|
@@ -14357,7 +14454,7 @@
|
|
14357
14454
|
'class': 'gipi-input-select-radio',
|
14358
14455
|
},
|
14359
14456
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
14360
|
-
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}"]
|
14361
14458
|
}),
|
14362
14459
|
__metadata("design:paramtypes", [core.ElementRef,
|
14363
14460
|
core.ChangeDetectorRef])
|
@@ -16473,7 +16570,7 @@
|
|
16473
16570
|
},
|
16474
16571
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
16475
16572
|
encapsulation: core.ViewEncapsulation.None,
|
16476
|
-
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}"]
|
16477
16574
|
}),
|
16478
16575
|
__metadata("design:paramtypes", [])
|
16479
16576
|
], GIPISelectComponent);
|
@@ -16517,9 +16614,7 @@
|
|
16517
16614
|
};
|
16518
16615
|
BreakpointObserverService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function BreakpointObserverService_Factory() { return new BreakpointObserverService(); }, token: BreakpointObserverService, providedIn: "root" });
|
16519
16616
|
BreakpointObserverService = __decorate([
|
16520
|
-
core.Injectable({
|
16521
|
-
providedIn: 'root'
|
16522
|
-
}),
|
16617
|
+
core.Injectable({ providedIn: 'root' }),
|
16523
16618
|
__metadata("design:paramtypes", [])
|
16524
16619
|
], BreakpointObserverService);
|
16525
16620
|
return BreakpointObserverService;
|
@@ -16560,9 +16655,7 @@
|
|
16560
16655
|
]; };
|
16561
16656
|
NavService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function NavService_Factory() { return new NavService(core.ɵɵinject(router.Router)); }, token: NavService, providedIn: "root" });
|
16562
16657
|
NavService = __decorate([
|
16563
|
-
core.Injectable({
|
16564
|
-
providedIn: 'root'
|
16565
|
-
}),
|
16658
|
+
core.Injectable({ providedIn: 'root' }),
|
16566
16659
|
__metadata("design:paramtypes", [router.Router])
|
16567
16660
|
], NavService);
|
16568
16661
|
return NavService;
|
@@ -16664,7 +16757,7 @@
|
|
16664
16757
|
this._levelOneMenuCollapsableSelected = null;
|
16665
16758
|
this._levelTwoMenuCollapsableSelected = null;
|
16666
16759
|
this._mouseEnter = false;
|
16667
|
-
this.
|
16760
|
+
this._menuItems = [];
|
16668
16761
|
this.labelToggle = 'Retrair menu';
|
16669
16762
|
this.showTagNewIntegration = false;
|
16670
16763
|
this.showIntegration = false;
|
@@ -16674,6 +16767,16 @@
|
|
16674
16767
|
this.onClickMenuConfiguration = new core.EventEmitter();
|
16675
16768
|
}
|
16676
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
|
+
});
|
16677
16780
|
GIPISidenavComponent.prototype.ngOnInit = function () { };
|
16678
16781
|
GIPISidenavComponent.prototype.ngAfterViewInit = function () {
|
16679
16782
|
this._navService.sidenav = this.sidenav;
|
@@ -16708,17 +16811,23 @@
|
|
16708
16811
|
enumerable: false,
|
16709
16812
|
configurable: true
|
16710
16813
|
});
|
16711
|
-
Object.defineProperty(GIPISidenavComponent.prototype, "
|
16814
|
+
Object.defineProperty(GIPISidenavComponent.prototype, "levelMenuSelected", {
|
16712
16815
|
get: function () {
|
16816
|
+
var _this = this;
|
16817
|
+
var levelMenuActive = [];
|
16713
16818
|
if (ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
16714
|
-
|
16819
|
+
levelMenuActive = this.menuItems;
|
16715
16820
|
}
|
16716
16821
|
else if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
16717
|
-
|
16822
|
+
levelMenuActive = this._levelOneMenuCollapsableSelected.menuList;
|
16718
16823
|
}
|
16719
16824
|
else if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && !ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
16720
|
-
|
16825
|
+
levelMenuActive = this._levelTwoMenuCollapsableSelected.menuList;
|
16721
16826
|
}
|
16827
|
+
if (!ArrayUtil.isEmpty(levelMenuActive)) {
|
16828
|
+
levelMenuActive.forEach(function (item) { return item.id = _this._toCamelCase(item.route); });
|
16829
|
+
}
|
16830
|
+
return rxjs.of(levelMenuActive);
|
16722
16831
|
},
|
16723
16832
|
enumerable: false,
|
16724
16833
|
configurable: true
|
@@ -16843,6 +16952,17 @@
|
|
16843
16952
|
}
|
16844
16953
|
});
|
16845
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
|
+
};
|
16846
16966
|
var GIPISidenavComponent_1;
|
16847
16967
|
GIPISidenavComponent.ctorParameters = function () { return [
|
16848
16968
|
{ type: NavService },
|
@@ -16855,8 +16975,9 @@
|
|
16855
16975
|
], GIPISidenavComponent.prototype, "sidenav", void 0);
|
16856
16976
|
__decorate([
|
16857
16977
|
core.Input(),
|
16858
|
-
__metadata("design:type", Array)
|
16859
|
-
|
16978
|
+
__metadata("design:type", Array),
|
16979
|
+
__metadata("design:paramtypes", [Array])
|
16980
|
+
], GIPISidenavComponent.prototype, "menuItems", null);
|
16860
16981
|
__decorate([
|
16861
16982
|
core.Input(),
|
16862
16983
|
__metadata("design:type", String)
|
@@ -16913,7 +17034,7 @@
|
|
16913
17034
|
core.Component({
|
16914
17035
|
selector: "gipi-sidenav",
|
16915
17036
|
exportAs: 'gipiSidenav',
|
16916
|
-
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>",
|
16917
17038
|
encapsulation: core.ViewEncapsulation.None,
|
16918
17039
|
providers: [
|
16919
17040
|
{
|
@@ -16932,7 +17053,7 @@
|
|
16932
17053
|
animations.transition('expanded <=> collapsed', animations.animate('225ms cubic-bezier(0.4,0.0,0.2,1)')),
|
16933
17054
|
])
|
16934
17055
|
],
|
16935
|
-
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}"]
|
16936
17057
|
}),
|
16937
17058
|
__metadata("design:paramtypes", [NavService,
|
16938
17059
|
BreakpointObserverService,
|
@@ -17817,14 +17938,26 @@
|
|
17817
17938
|
return TabModel;
|
17818
17939
|
}());
|
17819
17940
|
|
17941
|
+
var nextUniqueId$i = 0;
|
17820
17942
|
var GIPITabComponent = /** @class */ (function () {
|
17821
17943
|
function GIPITabComponent() {
|
17944
|
+
this._name = "gipi-tab-" + nextUniqueId$i++;
|
17945
|
+
this.id = this._name;
|
17946
|
+
this.name = this._name;
|
17822
17947
|
this.active = false;
|
17823
17948
|
this.closeable = false;
|
17824
17949
|
this.disabled = false;
|
17825
17950
|
this.selectionChange = new core.EventEmitter();
|
17826
17951
|
}
|
17827
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);
|
17828
17961
|
__decorate([
|
17829
17962
|
core.Input(),
|
17830
17963
|
__metadata("design:type", Number)
|
@@ -17881,10 +18014,14 @@
|
|
17881
18014
|
return GIPITabComponent;
|
17882
18015
|
}());
|
17883
18016
|
|
18017
|
+
var nextUniqueId$j = 0;
|
17884
18018
|
var GIPITabGroupComponent = /** @class */ (function () {
|
17885
18019
|
function GIPITabGroupComponent(elementRef, _componentFactoryResolver) {
|
17886
18020
|
this.elementRef = elementRef;
|
17887
18021
|
this._componentFactoryResolver = _componentFactoryResolver;
|
18022
|
+
this._name = "gipi-tab-" + nextUniqueId$j++;
|
18023
|
+
this.id = this._name;
|
18024
|
+
this.name = this._name;
|
17888
18025
|
this.dynamicTabs = [];
|
17889
18026
|
}
|
17890
18027
|
GIPITabGroupComponent.prototype.ngOnInit = function () { };
|
@@ -17990,15 +18127,25 @@
|
|
17990
18127
|
core.ViewChild(GIPIDynamicTabDirective, { static: false }),
|
17991
18128
|
__metadata("design:type", GIPIDynamicTabDirective)
|
17992
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);
|
17993
18138
|
GIPITabGroupComponent = __decorate([
|
17994
18139
|
core.Component({
|
17995
18140
|
selector: 'gipi-tab-group',
|
17996
18141
|
exportAs: 'gipiTabGroup',
|
17997
|
-
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>",
|
17998
18143
|
host: {
|
17999
18144
|
'class': 'gipi-tab-group',
|
18145
|
+
'[attr.id]': 'id',
|
18146
|
+
'[attr.name]': 'name',
|
18000
18147
|
},
|
18001
|
-
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}"]
|
18002
18149
|
}),
|
18003
18150
|
__metadata("design:paramtypes", [core.ElementRef,
|
18004
18151
|
core.ComponentFactoryResolver])
|
@@ -22118,7 +22265,7 @@
|
|
22118
22265
|
* Use of this source code is governed by an MIT-style license that can be
|
22119
22266
|
* found in the LICENSE file at https://angular.io/license
|
22120
22267
|
*/
|
22121
|
-
var nextUniqueId$
|
22268
|
+
var nextUniqueId$k = 0;
|
22122
22269
|
var MatDateRangeInput = /** @class */ (function () {
|
22123
22270
|
function MatDateRangeInput(_changeDetectorRef, _elementRef, control, _dateAdapter, _formField) {
|
22124
22271
|
this._changeDetectorRef = _changeDetectorRef;
|
@@ -22126,7 +22273,7 @@
|
|
22126
22273
|
this._dateAdapter = _dateAdapter;
|
22127
22274
|
this._formField = _formField;
|
22128
22275
|
/** Unique ID for the input. */
|
22129
|
-
this.id = "mat-date-range-input-" + nextUniqueId$
|
22276
|
+
this.id = "mat-date-range-input-" + nextUniqueId$k++;
|
22130
22277
|
/** Whether the control is focused. */
|
22131
22278
|
this.focused = false;
|
22132
22279
|
/** Name of the form control. */
|
@@ -23339,7 +23486,7 @@
|
|
23339
23486
|
host: {
|
23340
23487
|
'class': 'gipi-date-range-picker',
|
23341
23488
|
},
|
23342
|
-
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}"]
|
23343
23490
|
}),
|
23344
23491
|
__metadata("design:paramtypes", [core.ElementRef,
|
23345
23492
|
core.ChangeDetectorRef])
|
@@ -23701,12 +23848,12 @@
|
|
23701
23848
|
}());
|
23702
23849
|
|
23703
23850
|
var moment$3 = moment_;
|
23704
|
-
var nextUniqueId$
|
23851
|
+
var nextUniqueId$m = 0;
|
23705
23852
|
var DatepickerComponent = /** @class */ (function () {
|
23706
23853
|
function DatepickerComponent(elementRef, _changeDetectorRef) {
|
23707
23854
|
this.elementRef = elementRef;
|
23708
23855
|
this._changeDetectorRef = _changeDetectorRef;
|
23709
|
-
this._name = "gipi-date-range-" + nextUniqueId$
|
23856
|
+
this._name = "gipi-date-range-" + nextUniqueId$m++;
|
23710
23857
|
this.id = this._name + "-date";
|
23711
23858
|
this.name = this._name + "-date";
|
23712
23859
|
this.label = '';
|
@@ -23939,7 +24086,7 @@
|
|
23939
24086
|
host: {
|
23940
24087
|
'class': 'gipi-datepicker',
|
23941
24088
|
},
|
23942
|
-
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}"]
|
23943
24090
|
}),
|
23944
24091
|
__metadata("design:paramtypes", [core.ElementRef,
|
23945
24092
|
core.ChangeDetectorRef])
|
@@ -24307,7 +24454,7 @@
|
|
24307
24454
|
};
|
24308
24455
|
return MonthPickerModel;
|
24309
24456
|
}());
|
24310
|
-
var nextUniqueId$
|
24457
|
+
var nextUniqueId$n = 0;
|
24311
24458
|
var MonthYearPickerComponent = /** @class */ (function () {
|
24312
24459
|
function MonthYearPickerComponent(elementRef, _changeDetectorRef, _overlay, _ngZone, _viewContainerRef, scrollStrategy, _dir, _document) {
|
24313
24460
|
this.elementRef = elementRef;
|
@@ -24317,7 +24464,7 @@
|
|
24317
24464
|
this._viewContainerRef = _viewContainerRef;
|
24318
24465
|
this._dir = _dir;
|
24319
24466
|
this._document = _document;
|
24320
|
-
this._name = "gipi-date-range-" + nextUniqueId$
|
24467
|
+
this._name = "gipi-date-range-" + nextUniqueId$n++;
|
24321
24468
|
this._focusedElementBeforeOpen = null;
|
24322
24469
|
this._backdropHarnessClass = this._name + "-backdrop";
|
24323
24470
|
this._stateChanges = new rxjs.Subject();
|
@@ -24700,7 +24847,7 @@
|
|
24700
24847
|
MonthYearPickerComponent = MonthYearPickerComponent_1 = __decorate([
|
24701
24848
|
core.Component({
|
24702
24849
|
selector: 'gipi-month-year-picker',
|
24703
|
-
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>",
|
24704
24851
|
providers: [
|
24705
24852
|
{
|
24706
24853
|
provide: forms.NG_VALUE_ACCESSOR,
|
@@ -24712,7 +24859,7 @@
|
|
24712
24859
|
'class': 'gipi-month-year-picker',
|
24713
24860
|
},
|
24714
24861
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
24715
|
-
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}"]
|
24716
24863
|
}),
|
24717
24864
|
__param(5, core.Inject(GIPI_MONTH_YEAR_SCROLL_STRATEGY)),
|
24718
24865
|
__param(6, core.Optional()),
|
@@ -24762,12 +24909,254 @@
|
|
24762
24909
|
return MonthYearPickerModule;
|
24763
24910
|
}());
|
24764
24911
|
|
24765
|
-
var nextUniqueId$
|
24912
|
+
var nextUniqueId$o = 0;
|
24913
|
+
var GIPISplitButtonComponent = /** @class */ (function () {
|
24914
|
+
function GIPISplitButtonComponent(elementRef) {
|
24915
|
+
this.elementRef = elementRef;
|
24916
|
+
this._uniqueId = nextUniqueId$o++;
|
24917
|
+
this._name = "gipi-split-button-" + this._uniqueId;
|
24918
|
+
this.idBtnDefault = "gipi-split-button-default-" + this._uniqueId;
|
24919
|
+
this.idBtnMenu = "gipi-split-button-menu-" + this._uniqueId;
|
24920
|
+
this.isSplitButtonPrimary = this._hasHostAttributes('gipi-primary');
|
24921
|
+
this.isSplitButtonSecondary = this._hasHostAttributes('gipi-secondary');
|
24922
|
+
this.isSplitButtonTertiary = this._hasHostAttributes('gipi-tertiary');
|
24923
|
+
this.isSplitButtonAction = this._hasHostAttributes('gipi-action');
|
24924
|
+
this.id = this._name;
|
24925
|
+
this.name = this._name;
|
24926
|
+
this.type = 'button';
|
24927
|
+
this.ariaLabel = '';
|
24928
|
+
this.title = '';
|
24929
|
+
this.label = '';
|
24930
|
+
this.disabled = false;
|
24931
|
+
this.loading = false;
|
24932
|
+
this.tooltip = '';
|
24933
|
+
this.splitOptions = [];
|
24934
|
+
this.onOpenPopover = new core.EventEmitter();
|
24935
|
+
this.onClosePopover = new core.EventEmitter();
|
24936
|
+
this.onClick = new core.EventEmitter(true);
|
24937
|
+
this.onFocus = new core.EventEmitter(true);
|
24938
|
+
this.onBlur = new core.EventEmitter(true);
|
24939
|
+
}
|
24940
|
+
GIPISplitButtonComponent_1 = GIPISplitButtonComponent;
|
24941
|
+
GIPISplitButtonComponent.prototype.ngOnInit = function () { };
|
24942
|
+
GIPISplitButtonComponent.prototype.ngOnDestroy = function () {
|
24943
|
+
if (this.popoverTrigger) {
|
24944
|
+
this.popoverTrigger.destroyPopover();
|
24945
|
+
}
|
24946
|
+
};
|
24947
|
+
GIPISplitButtonComponent.prototype.getHostElement = function () {
|
24948
|
+
return this.elementRef.nativeElement;
|
24949
|
+
};
|
24950
|
+
GIPISplitButtonComponent.prototype._hasHostAttributes = function () {
|
24951
|
+
var _this = this;
|
24952
|
+
var attributes = [];
|
24953
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
24954
|
+
attributes[_i] = arguments[_i];
|
24955
|
+
}
|
24956
|
+
return attributes.some(function (attribute) { return _this.getHostElement().hasAttribute(attribute); });
|
24957
|
+
};
|
24958
|
+
GIPISplitButtonComponent.prototype.btnIdAndName = function () {
|
24959
|
+
var uniqueId = nextUniqueId$o++;
|
24960
|
+
return {
|
24961
|
+
btnDefault: "gipi-split-button-default-" + uniqueId,
|
24962
|
+
btnMenu: "gipi-split-button-menu-" + uniqueId,
|
24963
|
+
};
|
24964
|
+
};
|
24965
|
+
GIPISplitButtonComponent.prototype.getInternalButtonClass = function (isBtnDefault) {
|
24966
|
+
return {
|
24967
|
+
'button-default': isBtnDefault,
|
24968
|
+
'button-menu': !isBtnDefault,
|
24969
|
+
'button-primary': this.isSplitButtonPrimary,
|
24970
|
+
'button-secondary': this.isSplitButtonSecondary,
|
24971
|
+
'button-tertiary': this.isSplitButtonTertiary,
|
24972
|
+
'button-action': this.isSplitButtonAction,
|
24973
|
+
};
|
24974
|
+
};
|
24975
|
+
GIPISplitButtonComponent.prototype.showPopover = function () {
|
24976
|
+
if (this.disabled || this.loading) {
|
24977
|
+
return;
|
24978
|
+
}
|
24979
|
+
else {
|
24980
|
+
this.popoverTrigger.openPopover();
|
24981
|
+
}
|
24982
|
+
};
|
24983
|
+
GIPISplitButtonComponent.prototype.closePopover = function () {
|
24984
|
+
if (this.disabled || this.loading) {
|
24985
|
+
return;
|
24986
|
+
}
|
24987
|
+
else {
|
24988
|
+
this.popoverTrigger.closePopover();
|
24989
|
+
}
|
24990
|
+
};
|
24991
|
+
GIPISplitButtonComponent.prototype.handleClick = function (event) {
|
24992
|
+
if (this.disabled || this.loading) {
|
24993
|
+
return;
|
24994
|
+
}
|
24995
|
+
else {
|
24996
|
+
this.onClick.emit(event);
|
24997
|
+
this.closePopover();
|
24998
|
+
event.stopPropagation();
|
24999
|
+
}
|
25000
|
+
};
|
25001
|
+
GIPISplitButtonComponent.prototype.handleFocus = function (event) {
|
25002
|
+
if (this.disabled || this.loading) {
|
25003
|
+
return;
|
25004
|
+
}
|
25005
|
+
else {
|
25006
|
+
this.onFocus.emit(event);
|
25007
|
+
event.stopPropagation();
|
25008
|
+
}
|
25009
|
+
};
|
25010
|
+
GIPISplitButtonComponent.prototype.handleBlur = function (event) {
|
25011
|
+
if (this.disabled || this.loading) {
|
25012
|
+
return;
|
25013
|
+
}
|
25014
|
+
else {
|
25015
|
+
this.onBlur.emit(event);
|
25016
|
+
event.stopPropagation();
|
25017
|
+
}
|
25018
|
+
};
|
25019
|
+
GIPISplitButtonComponent.prototype.handleClickBtnMenu = function (event) {
|
25020
|
+
if (this.disabled || this.loading) {
|
25021
|
+
return;
|
25022
|
+
}
|
25023
|
+
else {
|
25024
|
+
if (!ObjectUtil.isNull(this.popoverTrigger)) {
|
25025
|
+
this.popoverTrigger.togglePopover();
|
25026
|
+
}
|
25027
|
+
event.stopPropagation();
|
25028
|
+
}
|
25029
|
+
};
|
25030
|
+
GIPISplitButtonComponent.prototype.handleClickBtnSplitOption = function (option) {
|
25031
|
+
if (this.disabled || this.loading || !option || option.disabled || !option.clickFn) {
|
25032
|
+
return;
|
25033
|
+
}
|
25034
|
+
else {
|
25035
|
+
option.clickFn();
|
25036
|
+
this.closePopover();
|
25037
|
+
}
|
25038
|
+
};
|
25039
|
+
GIPISplitButtonComponent.prototype.onResize = function (event) {
|
25040
|
+
if (this.popoverTrigger) {
|
25041
|
+
this.popoverTrigger.closePopover();
|
25042
|
+
event.stopPropagation();
|
25043
|
+
}
|
25044
|
+
};
|
25045
|
+
var GIPISplitButtonComponent_1;
|
25046
|
+
GIPISplitButtonComponent.ctorParameters = function () { return [
|
25047
|
+
{ type: core.ElementRef }
|
25048
|
+
]; };
|
25049
|
+
__decorate([
|
25050
|
+
core.ViewChild(GIPIPopoverTrigger, { static: false }),
|
25051
|
+
__metadata("design:type", GIPIPopoverTrigger)
|
25052
|
+
], GIPISplitButtonComponent.prototype, "popoverTrigger", void 0);
|
25053
|
+
__decorate([
|
25054
|
+
core.Input(),
|
25055
|
+
__metadata("design:type", String)
|
25056
|
+
], GIPISplitButtonComponent.prototype, "id", void 0);
|
25057
|
+
__decorate([
|
25058
|
+
core.Input(),
|
25059
|
+
__metadata("design:type", String)
|
25060
|
+
], GIPISplitButtonComponent.prototype, "name", void 0);
|
25061
|
+
__decorate([
|
25062
|
+
core.Input(),
|
25063
|
+
__metadata("design:type", String)
|
25064
|
+
], GIPISplitButtonComponent.prototype, "type", void 0);
|
25065
|
+
__decorate([
|
25066
|
+
core.Input(),
|
25067
|
+
__metadata("design:type", String)
|
25068
|
+
], GIPISplitButtonComponent.prototype, "ariaLabel", void 0);
|
25069
|
+
__decorate([
|
25070
|
+
core.Input(),
|
25071
|
+
__metadata("design:type", String)
|
25072
|
+
], GIPISplitButtonComponent.prototype, "title", void 0);
|
25073
|
+
__decorate([
|
25074
|
+
core.Input(),
|
25075
|
+
__metadata("design:type", String)
|
25076
|
+
], GIPISplitButtonComponent.prototype, "label", void 0);
|
25077
|
+
__decorate([
|
25078
|
+
core.Input(),
|
25079
|
+
__metadata("design:type", String)
|
25080
|
+
], GIPISplitButtonComponent.prototype, "buttonClass", void 0);
|
25081
|
+
__decorate([
|
25082
|
+
core.Input(),
|
25083
|
+
__metadata("design:type", Boolean)
|
25084
|
+
], GIPISplitButtonComponent.prototype, "disabled", void 0);
|
25085
|
+
__decorate([
|
25086
|
+
core.Input(),
|
25087
|
+
__metadata("design:type", Boolean)
|
25088
|
+
], GIPISplitButtonComponent.prototype, "loading", void 0);
|
25089
|
+
__decorate([
|
25090
|
+
core.Input(),
|
25091
|
+
__metadata("design:type", String)
|
25092
|
+
], GIPISplitButtonComponent.prototype, "tooltip", void 0);
|
25093
|
+
__decorate([
|
25094
|
+
core.Input('options'),
|
25095
|
+
__metadata("design:type", Array)
|
25096
|
+
], GIPISplitButtonComponent.prototype, "splitOptions", void 0);
|
25097
|
+
__decorate([
|
25098
|
+
core.Output(),
|
25099
|
+
__metadata("design:type", core.EventEmitter)
|
25100
|
+
], GIPISplitButtonComponent.prototype, "onOpenPopover", void 0);
|
25101
|
+
__decorate([
|
25102
|
+
core.Output(),
|
25103
|
+
__metadata("design:type", core.EventEmitter)
|
25104
|
+
], GIPISplitButtonComponent.prototype, "onClosePopover", void 0);
|
25105
|
+
__decorate([
|
25106
|
+
core.Output('click'),
|
25107
|
+
__metadata("design:type", core.EventEmitter)
|
25108
|
+
], GIPISplitButtonComponent.prototype, "onClick", void 0);
|
25109
|
+
__decorate([
|
25110
|
+
core.Output('focus'),
|
25111
|
+
__metadata("design:type", core.EventEmitter)
|
25112
|
+
], GIPISplitButtonComponent.prototype, "onFocus", void 0);
|
25113
|
+
__decorate([
|
25114
|
+
core.Output('blur'),
|
25115
|
+
__metadata("design:type", core.EventEmitter)
|
25116
|
+
], GIPISplitButtonComponent.prototype, "onBlur", void 0);
|
25117
|
+
__decorate([
|
25118
|
+
core.HostListener('window:resize', ['$event']),
|
25119
|
+
__metadata("design:type", Function),
|
25120
|
+
__metadata("design:paramtypes", [UIEvent]),
|
25121
|
+
__metadata("design:returntype", void 0)
|
25122
|
+
], GIPISplitButtonComponent.prototype, "onResize", null);
|
25123
|
+
GIPISplitButtonComponent = GIPISplitButtonComponent_1 = __decorate([
|
25124
|
+
core.Component({
|
25125
|
+
selector: "gipi-split-button[gipi-primary], gipi-split-button[gipi-secondary],\n gipi-split-button[gipi-tertiary], gipi-split-button[gipi-action]",
|
25126
|
+
exportAs: 'gipiSplitButton',
|
25127
|
+
template: "<div [matTooltip]=\"tooltip\"\n [class]=\"buttonClass || ''\"\n [class.button-base]=\"true\"\n [class.disabled]=\"disabled || loading\"\n #popoverTrigger=\"popoverTrigger\"\n [popoverTriggerFor]=\"btnPopover\"\n [popoverTriggerOn]=\"'none'\"\n [popoverBackdropCloseOnClick]=\"true\"\n (opened)=\"onOpenPopover.emit()\"\n (closed)=\"onClosePopover.emit()\">\n <button [attr.id]=\"idBtnDefault\"\n [attr.name]=\"idBtnDefault\"\n [attr.type]=\"type\"\n [attr.aria-label]=\"ariaLabel ? ariaLabel : label\"\n [attr.title]=\"title ? title : label\"\n [disabled]=\"disabled || loading\"\n [ngClass]=\"getInternalButtonClass(true)\"\n role=\"button\"\n (click)=\"handleClick($event)\"\n (focus)=\"handleFocus($event)\"\n (blur)=\"handleBlur($event)\">\n {{ label ? label : '' }}\n </button>\n <button [attr.id]=\"idBtnMenu\"\n [attr.name]=\"idBtnMenu\"\n [attr.type]=\"type\"\n [attr.aria-label]=\"ariaLabel ? ariaLabel : label\"\n [attr.title]=\"title ? title : label\"\n [disabled]=\"disabled || loading\"\n [ngClass]=\"getInternalButtonClass(false)\"\n role=\"button\"\n (click)=\"handleClickBtnMenu($event)\">\n <mat-icon [@indicatorRotate]=\"popoverTrigger?.popoverOpen ? 'opened': 'closed'\"> expand_more </mat-icon>\n </button>\n</div>\n\n<gipi-popover #btnPopover=\"gipiPopover\"\n [popoverOverlapTrigger]=\"false\"\n [popoverCloseOnClick]=\"false\"\n [popoverArrowWidth]=\"0\"\n [popoverOffsetY]=\"3\">\n <div class=\"btn-popover-content\">\n <button class=\"btn-split-option\"\n *ngFor=\"let option of splitOptions\"\n [disabled]=\"option?.disabled\"\n (click)=\"handleClickBtnSplitOption(option)\">\n {{ option.label }}\n </button>\n </div>\n</gipi-popover>",
|
25128
|
+
providers: [
|
25129
|
+
{
|
25130
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
25131
|
+
useExisting: core.forwardRef(function () { return GIPISplitButtonComponent_1; }),
|
25132
|
+
multi: true
|
25133
|
+
}
|
25134
|
+
],
|
25135
|
+
host: {
|
25136
|
+
'class': 'gipi-split-button',
|
25137
|
+
'[attr.id]': 'id',
|
25138
|
+
'[attr.name]': 'name',
|
25139
|
+
},
|
25140
|
+
animations: [
|
25141
|
+
animations.trigger('indicatorRotate', [
|
25142
|
+
animations.state('closed', animations.style({ transform: 'rotate(0deg)' })),
|
25143
|
+
animations.state('opened', animations.style({ transform: 'rotate(-180deg)' })),
|
25144
|
+
animations.transition('opened <=> closed', animations.animate('225ms cubic-bezier(0.4,0.0,0.2,1)')),
|
25145
|
+
])
|
25146
|
+
],
|
25147
|
+
styles: [".button-base{display:flex;flex-direction:row;justify-content:center;border-radius:4px;font-weight:600;font-size:1.4rem;line-height:1.6rem;cursor:pointer;outline:0;white-space:nowrap;text-decoration:none;vertical-align:middle;text-align:center;box-shadow:1px 1px 5px 0 rgba(0,0,0,.1);transition:.2s;width:100%;max-height:4rem;border:1px solid transparent;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.button-base.disabled{cursor:not-allowed!important;box-shadow:none}.button-base>button{display:flex;align-items:center;justify-content:center;border:none;outline:0;box-shadow:none;width:100%;height:40px;padding:12px 16px;overflow:hidden;border-radius:inherit;cursor:inherit;font-size:inherit;font-weight:inherit;white-space:nowrap;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative}.button-base>button:not(.disabled):active{opacity:.8}.button-base .button-default{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.button-base .button-menu{max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;border-top-left-radius:0!important;border-bottom-left-radius:0!important}.button-primary:not(:disabled),.button-primary:not(:disabled)>mat-icon{background-color:#e0313e;color:#fff;fill:#fff}.button-primary:not(:disabled).button-default,.button-primary:not(:disabled)>mat-icon.button-default{border-right:1px solid #9f232c}.button-primary:not(:disabled) svg,.button-primary:not(:disabled) svg g path,.button-primary:not(:disabled) svg path,.button-primary:not(:disabled)>mat-icon svg,.button-primary:not(:disabled)>mat-icon svg g path,.button-primary:not(:disabled)>mat-icon svg path{color:#fff;fill:#fff}.button-primary:disabled,.button-primary:disabled>mat-icon{background-color:#d1d2d4;color:#9a9da2;fill:#9a9da2}.button-primary:disabled.button-default,.button-primary:disabled>mat-icon.button-default{border-right:1px solid #9a9da2}.button-primary:disabled svg,.button-primary:disabled svg g path,.button-primary:disabled svg path,.button-primary:disabled>mat-icon svg,.button-primary:disabled>mat-icon svg g path,.button-primary:disabled>mat-icon svg path{color:#9a9da2;fill:#9a9da2}.button-primary:not(:disabled):hover,.button-primary:not(:disabled):hover>mat-icon{background-color:#cc2d38;color:#fff;fill:#fff}.button-primary:not(:disabled):hover svg,.button-primary:not(:disabled):hover svg g path,.button-primary:not(:disabled):hover svg path,.button-primary:not(:disabled):hover>mat-icon svg,.button-primary:not(:disabled):hover>mat-icon svg g path,.button-primary:not(:disabled):hover>mat-icon svg path{color:#fff;fill:#fff}.button-secondary{background-color:transparent}.button-secondary:not(:disabled),.button-secondary:not(:disabled)>mat-icon{border-color:#595959;color:#595959;fill:#595959}.button-secondary:not(:disabled).button-default,.button-secondary:not(:disabled)>mat-icon.button-default{border-right:1px solid #595959}.button-secondary:not(:disabled) svg,.button-secondary:not(:disabled) svg g path,.button-secondary:not(:disabled) svg path,.button-secondary:not(:disabled)>mat-icon svg,.button-secondary:not(:disabled)>mat-icon svg g path,.button-secondary:not(:disabled)>mat-icon svg path{color:#595959;fill:#595959}.button-secondary:disabled,.button-secondary:disabled>mat-icon{border-color:#d1d2d4;background-color:#d1d2d4;color:#9a9da2;fill:#9a9da2}.button-secondary:disabled.button-default,.button-secondary:disabled>mat-icon.button-default{border-right:1px solid #9a9da2}.button-secondary:disabled svg,.button-secondary:disabled svg g path,.button-secondary:disabled svg path,.button-secondary:disabled>mat-icon svg,.button-secondary:disabled>mat-icon svg g path,.button-secondary:disabled>mat-icon svg path{color:#9a9da2;fill:#9a9da2}.button-secondary:not(:disabled):hover,.button-secondary:not(:disabled):hover>mat-icon{border-color:#595959;background-color:#e0e1e2;color:#595959;fill:#595959}.button-secondary:not(:disabled):hover svg,.button-secondary:not(:disabled):hover svg g path,.button-secondary:not(:disabled):hover svg path,.button-secondary:not(:disabled):hover>mat-icon svg,.button-secondary:not(:disabled):hover>mat-icon svg g path,.button-secondary:not(:disabled):hover>mat-icon svg path{color:#595959;fill:#595959}.button-tertiary{background-color:#e7ebee;box-shadow:none}.button-tertiary:not(:disabled),.button-tertiary:not(:disabled)>mat-icon{color:#595959;fill:#595959}.button-tertiary:not(:disabled).button-default,.button-tertiary:not(:disabled)>mat-icon.button-default{border-right:1px solid #595959}.button-tertiary:not(:disabled) svg,.button-tertiary:not(:disabled) svg g path,.button-tertiary:not(:disabled) svg path,.button-tertiary:not(:disabled)>mat-icon svg,.button-tertiary:not(:disabled)>mat-icon svg g path,.button-tertiary:not(:disabled)>mat-icon svg path{color:#595959;fill:#595959}.button-tertiary:disabled,.button-tertiary:disabled>mat-icon{background-color:#d1d2d4;color:#9a9da2;fill:#9a9da2}.button-tertiary:disabled.button-default,.button-tertiary:disabled>mat-icon.button-default{border-right:1px solid #9a9da2}.button-tertiary:disabled svg,.button-tertiary:disabled svg g path,.button-tertiary:disabled svg path,.button-tertiary:disabled>mat-icon svg,.button-tertiary:disabled>mat-icon svg g path,.button-tertiary:disabled>mat-icon svg path{color:#9a9da2;fill:#9a9da2}.button-tertiary:not(:disabled):hover,.button-tertiary:not(:disabled):hover>mat-icon{background-color:#e0e1e2;color:#595959;fill:#595959}.button-tertiary:not(:disabled):hover svg,.button-tertiary:not(:disabled):hover svg g path,.button-tertiary:not(:disabled):hover svg path,.button-tertiary:not(:disabled):hover>mat-icon svg,.button-tertiary:not(:disabled):hover>mat-icon svg g path,.button-tertiary:not(:disabled):hover>mat-icon svg path{color:#595959;fill:#595959}.button-action{background-color:transparent;box-shadow:none;display:flex;justify-content:flex-start!important}.button-action:not(:disabled),.button-action:not(:disabled)>mat-icon{color:#262626;fill:#262626}.button-action:not(:disabled).button-default,.button-action:not(:disabled)>mat-icon.button-default{border-right:1px solid #262626}.button-action:not(:disabled) svg,.button-action:not(:disabled) svg g path,.button-action:not(:disabled) svg path,.button-action:not(:disabled)>mat-icon svg,.button-action:not(:disabled)>mat-icon svg g path,.button-action:not(:disabled)>mat-icon svg path{color:#262626;fill:#262626}.button-action:disabled,.button-action:disabled>mat-icon{color:#9a9da2;fill:#9a9da2}.button-action:disabled.button-default,.button-action:disabled>mat-icon.button-default{border-right:1px solid #9a9da2}.button-action:disabled svg,.button-action:disabled svg g path,.button-action:disabled svg path,.button-action:disabled>mat-icon svg,.button-action:disabled>mat-icon svg g path,.button-action:disabled>mat-icon svg path{color:#9a9da2;fill:#9a9da2}.button-action:not(:disabled):hover,.button-action:not(:disabled):hover>mat-icon{background-color:#f5f5f6;color:#262626;fill:#262626}.button-action:not(:disabled):hover svg,.button-action:not(:disabled):hover svg g path,.button-action:not(:disabled):hover svg path,.button-action:not(:disabled):hover>mat-icon svg,.button-action:not(:disabled):hover>mat-icon svg g path,.button-action:not(:disabled):hover>mat-icon svg path{color:#262626;fill:#262626}.disabled,:disabled{pointer-events:none!important}.btn-popover-content{display:flex;flex-direction:column;gap:.8rem;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}.btn-split-option{width:100%;padding:.8rem;border-radius:.4rem;border:1px solid transparent;text-align:left;outline:0;background-color:transparent;cursor:pointer}.btn-split-option:not(:disabled){color:#595959}.btn-split-option:disabled{border-color:#d1d2d4;background-color:#d1d2d4;color:#9a9da2;cursor:not-allowed}.btn-split-option:not(:disabled):hover{border-color:#595959;background-color:#e0e1e2;color:#595959}"]
|
25148
|
+
}),
|
25149
|
+
__metadata("design:paramtypes", [core.ElementRef])
|
25150
|
+
], GIPISplitButtonComponent);
|
25151
|
+
return GIPISplitButtonComponent;
|
25152
|
+
}());
|
25153
|
+
|
25154
|
+
var nextUniqueId$p = 0;
|
24766
25155
|
var GIPITextareaComponent = /** @class */ (function () {
|
24767
25156
|
function GIPITextareaComponent(elementRef, _changeDetectorRef) {
|
24768
25157
|
this.elementRef = elementRef;
|
24769
25158
|
this._changeDetectorRef = _changeDetectorRef;
|
24770
|
-
this._name = "gipi-textarea-" + nextUniqueId$
|
25159
|
+
this._name = "gipi-textarea-" + nextUniqueId$p++;
|
24771
25160
|
this.id = this._name;
|
24772
25161
|
this.name = this._name;
|
24773
25162
|
this.label = '';
|
@@ -25101,7 +25490,7 @@
|
|
25101
25490
|
'class': 'gipi-textarea',
|
25102
25491
|
},
|
25103
25492
|
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
25104
|
-
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}"]
|
25105
25494
|
}),
|
25106
25495
|
__metadata("design:paramtypes", [core.ElementRef,
|
25107
25496
|
core.ChangeDetectorRef])
|
@@ -25154,6 +25543,7 @@
|
|
25154
25543
|
GIPIEmptyStateComponent,
|
25155
25544
|
GIPICardComponent,
|
25156
25545
|
GIPITextareaComponent,
|
25546
|
+
GIPISplitButtonComponent,
|
25157
25547
|
// Tabs
|
25158
25548
|
GIPITabGroupComponent,
|
25159
25549
|
GIPITabComponent,
|
@@ -25753,10 +26143,9 @@
|
|
25753
26143
|
]; };
|
25754
26144
|
AuthenticationService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function AuthenticationService_Factory() { return new AuthenticationService(core.ɵɵinject(router.Router), core.ɵɵinject(http.HttpClient)); }, token: AuthenticationService, providedIn: "root" });
|
25755
26145
|
AuthenticationService = __decorate([
|
25756
|
-
core.Injectable({
|
25757
|
-
|
25758
|
-
|
25759
|
-
__metadata("design:paramtypes", [router.Router, http.HttpClient])
|
26146
|
+
core.Injectable({ providedIn: 'root' }),
|
26147
|
+
__metadata("design:paramtypes", [router.Router,
|
26148
|
+
http.HttpClient])
|
25760
26149
|
], AuthenticationService);
|
25761
26150
|
return AuthenticationService;
|
25762
26151
|
}(AbstractService));
|
@@ -25907,13 +26296,14 @@
|
|
25907
26296
|
|
25908
26297
|
var DialogService = /** @class */ (function (_super) {
|
25909
26298
|
__extends(DialogService, _super);
|
25910
|
-
function DialogService(dialog) {
|
26299
|
+
function DialogService(_breakpointObserver, dialog) {
|
25911
26300
|
var _this = _super.call(this) || this;
|
26301
|
+
_this._breakpointObserver = _breakpointObserver;
|
25912
26302
|
_this.dialog = dialog;
|
25913
26303
|
return _this;
|
25914
26304
|
}
|
25915
26305
|
DialogService.prototype.open = function (dialog) {
|
25916
|
-
|
26306
|
+
var dialogConfig = {
|
25917
26307
|
panelClass: dialog.panelClass,
|
25918
26308
|
disableClose: dialog.disableClose,
|
25919
26309
|
width: dialog.width,
|
@@ -25924,20 +26314,56 @@
|
|
25924
26314
|
maxHeight: dialog.maxHeight,
|
25925
26315
|
position: dialog.position,
|
25926
26316
|
data: dialog.data,
|
25927
|
-
autoFocus: dialog.autoFocus,
|
25928
|
-
restoreFocus: dialog.restoreFocus,
|
25929
|
-
closeOnNavigation: dialog.closeOnNavigation,
|
25930
|
-
}
|
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;
|
25931
26357
|
};
|
25932
26358
|
DialogService.ctorParameters = function () { return [
|
26359
|
+
{ type: layout.BreakpointObserver },
|
25933
26360
|
{ type: material.MatDialog }
|
25934
26361
|
]; };
|
25935
|
-
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" });
|
25936
26363
|
DialogService = __decorate([
|
25937
|
-
core.Injectable({
|
25938
|
-
|
25939
|
-
|
25940
|
-
__metadata("design:paramtypes", [material.MatDialog])
|
26364
|
+
core.Injectable({ providedIn: 'root' }),
|
26365
|
+
__metadata("design:paramtypes", [layout.BreakpointObserver,
|
26366
|
+
material.MatDialog])
|
25941
26367
|
], DialogService);
|
25942
26368
|
return DialogService;
|
25943
26369
|
}(AbstractService));
|
@@ -25986,15 +26412,26 @@
|
|
25986
26412
|
throw new Error(error);
|
25987
26413
|
}
|
25988
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
|
+
};
|
25989
26428
|
SvgRegisterService.ctorParameters = function () { return [
|
25990
26429
|
{ type: material.MatIconRegistry },
|
25991
26430
|
{ type: platformBrowser.DomSanitizer }
|
25992
26431
|
]; };
|
25993
26432
|
SvgRegisterService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function SvgRegisterService_Factory() { return new SvgRegisterService(core.ɵɵinject(icon.MatIconRegistry), core.ɵɵinject(platformBrowser.DomSanitizer)); }, token: SvgRegisterService, providedIn: "root" });
|
25994
26433
|
SvgRegisterService = __decorate([
|
25995
|
-
core.Injectable({
|
25996
|
-
providedIn: 'root'
|
25997
|
-
}),
|
26434
|
+
core.Injectable({ providedIn: 'root' }),
|
25998
26435
|
__metadata("design:paramtypes", [material.MatIconRegistry,
|
25999
26436
|
platformBrowser.DomSanitizer])
|
26000
26437
|
], SvgRegisterService);
|
@@ -26271,9 +26708,7 @@
|
|
26271
26708
|
};
|
26272
26709
|
GIPIFileService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function GIPIFileService_Factory() { return new GIPIFileService(); }, token: GIPIFileService, providedIn: "root" });
|
26273
26710
|
GIPIFileService = __decorate([
|
26274
|
-
core.Injectable({
|
26275
|
-
providedIn: 'root'
|
26276
|
-
}),
|
26711
|
+
core.Injectable({ providedIn: 'root' }),
|
26277
26712
|
__metadata("design:paramtypes", [])
|
26278
26713
|
], GIPIFileService);
|
26279
26714
|
return GIPIFileService;
|
@@ -27294,25 +27729,25 @@
|
|
27294
27729
|
})(exports.LocalTimeEnum || (exports.LocalTimeEnum = {}));
|
27295
27730
|
|
27296
27731
|
var AuthGuard = /** @class */ (function () {
|
27297
|
-
function AuthGuard(
|
27298
|
-
this.
|
27299
|
-
this.
|
27732
|
+
function AuthGuard(_router, _authenticationService) {
|
27733
|
+
this._router = _router;
|
27734
|
+
this._authenticationService = _authenticationService;
|
27300
27735
|
}
|
27301
27736
|
AuthGuard.prototype.canActivate = function (route, state) {
|
27302
27737
|
var _this = this;
|
27303
|
-
if (!ObjectUtil.isNull(this.
|
27304
|
-
return this.
|
27305
|
-
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)) {
|
27306
27741
|
return true;
|
27307
27742
|
}
|
27308
27743
|
else if (!ObjectUtil.isNull(token)) {
|
27309
|
-
_this.
|
27744
|
+
_this._authenticationService.removeToken();
|
27310
27745
|
}
|
27311
|
-
_this.
|
27746
|
+
_this._router.navigate(['oauth/login'], { queryParams: { returnUrl: state.url } });
|
27312
27747
|
return false;
|
27313
27748
|
}));
|
27314
27749
|
}
|
27315
|
-
this.
|
27750
|
+
this._router.navigate(['oauth/login'], { queryParams: { returnUrl: state.url } });
|
27316
27751
|
return rxjs.of(false);
|
27317
27752
|
};
|
27318
27753
|
AuthGuard.prototype.canActivateChild = function (route, state) {
|
@@ -27324,32 +27759,31 @@
|
|
27324
27759
|
]; };
|
27325
27760
|
AuthGuard.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function AuthGuard_Factory() { return new AuthGuard(core.ɵɵinject(router.Router), core.ɵɵinject(AuthenticationService)); }, token: AuthGuard, providedIn: "root" });
|
27326
27761
|
AuthGuard = __decorate([
|
27327
|
-
core.Injectable({
|
27328
|
-
|
27329
|
-
|
27330
|
-
__metadata("design:paramtypes", [router.Router, AuthenticationService])
|
27762
|
+
core.Injectable({ providedIn: 'root' }),
|
27763
|
+
__metadata("design:paramtypes", [router.Router,
|
27764
|
+
AuthenticationService])
|
27331
27765
|
], AuthGuard);
|
27332
27766
|
return AuthGuard;
|
27333
27767
|
}());
|
27334
27768
|
|
27335
27769
|
var PermissionGuard = /** @class */ (function () {
|
27336
|
-
function PermissionGuard(
|
27337
|
-
this.
|
27338
|
-
this.
|
27770
|
+
function PermissionGuard(_router, _authenticationService) {
|
27771
|
+
this._router = _router;
|
27772
|
+
this._authenticationService = _authenticationService;
|
27339
27773
|
}
|
27340
27774
|
PermissionGuard.prototype.canActivate = function (route, state) {
|
27341
27775
|
var _this = this;
|
27342
|
-
if (!ObjectUtil.isNull(this.
|
27343
|
-
return this.
|
27344
|
-
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)
|
27345
27779
|
&& (!_this.hasPermission(token.user.menuList, state.url) && !_this.hasAuthority(token.user, route.data.authority))) {
|
27346
|
-
_this.
|
27780
|
+
_this._router.navigate(['errors/403']);
|
27347
27781
|
return false;
|
27348
27782
|
}
|
27349
27783
|
return true;
|
27350
27784
|
}));
|
27351
27785
|
}
|
27352
|
-
this.
|
27786
|
+
this._router.navigate(['errors/403']);
|
27353
27787
|
return rxjs.of(false);
|
27354
27788
|
};
|
27355
27789
|
PermissionGuard.prototype.hasAuthority = function (user, permission) {
|
@@ -27386,31 +27820,30 @@
|
|
27386
27820
|
]; };
|
27387
27821
|
PermissionGuard.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function PermissionGuard_Factory() { return new PermissionGuard(core.ɵɵinject(router.Router), core.ɵɵinject(AuthenticationService)); }, token: PermissionGuard, providedIn: "root" });
|
27388
27822
|
PermissionGuard = __decorate([
|
27389
|
-
core.Injectable({
|
27390
|
-
|
27391
|
-
|
27392
|
-
__metadata("design:paramtypes", [router.Router, AuthenticationService])
|
27823
|
+
core.Injectable({ providedIn: 'root' }),
|
27824
|
+
__metadata("design:paramtypes", [router.Router,
|
27825
|
+
AuthenticationService])
|
27393
27826
|
], PermissionGuard);
|
27394
27827
|
return PermissionGuard;
|
27395
27828
|
}());
|
27396
27829
|
|
27397
27830
|
var PublicGuard = /** @class */ (function () {
|
27398
|
-
function PublicGuard(
|
27399
|
-
this.
|
27400
|
-
this.
|
27831
|
+
function PublicGuard(_router, _authenticationService) {
|
27832
|
+
this._router = _router;
|
27833
|
+
this._authenticationService = _authenticationService;
|
27401
27834
|
}
|
27402
27835
|
PublicGuard.prototype.canActivate = function (route, state) {
|
27403
27836
|
var _this = this;
|
27404
|
-
if (!ObjectUtil.isNull(this.
|
27405
|
-
return this.
|
27406
|
-
if (_this.
|
27407
|
-
_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']);
|
27408
27841
|
return false;
|
27409
27842
|
}
|
27410
27843
|
return true;
|
27411
27844
|
}));
|
27412
27845
|
}
|
27413
|
-
this.
|
27846
|
+
this._router.navigate(['dashboard']);
|
27414
27847
|
return rxjs.of(false);
|
27415
27848
|
};
|
27416
27849
|
PublicGuard.prototype.canActivateChild = function (route, state) {
|
@@ -27422,10 +27855,9 @@
|
|
27422
27855
|
]; };
|
27423
27856
|
PublicGuard.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function PublicGuard_Factory() { return new PublicGuard(core.ɵɵinject(router.Router), core.ɵɵinject(AuthenticationService)); }, token: PublicGuard, providedIn: "root" });
|
27424
27857
|
PublicGuard = __decorate([
|
27425
|
-
core.Injectable({
|
27426
|
-
|
27427
|
-
|
27428
|
-
__metadata("design:paramtypes", [router.Router, AuthenticationService])
|
27858
|
+
core.Injectable({ providedIn: 'root' }),
|
27859
|
+
__metadata("design:paramtypes", [router.Router,
|
27860
|
+
AuthenticationService])
|
27429
27861
|
], PublicGuard);
|
27430
27862
|
return PublicGuard;
|
27431
27863
|
}());
|
@@ -27485,6 +27917,7 @@
|
|
27485
27917
|
function MenuDTO() {
|
27486
27918
|
var _this = _super.call(this) || this;
|
27487
27919
|
_this.menuList = [];
|
27920
|
+
_this.id = '';
|
27488
27921
|
_this.expanded = false;
|
27489
27922
|
return _this;
|
27490
27923
|
}
|
@@ -28253,10 +28686,9 @@
|
|
28253
28686
|
]; };
|
28254
28687
|
PopoverService.ngInjectableDef = core.ɵɵdefineInjectable({ factory: function PopoverService_Factory() { return new PopoverService(core.ɵɵinject(overlay.Overlay), core.ɵɵinject(core.INJECTOR)); }, token: PopoverService, providedIn: "root" });
|
28255
28688
|
PopoverService = __decorate([
|
28256
|
-
core.Injectable({
|
28257
|
-
|
28258
|
-
|
28259
|
-
__metadata("design:paramtypes", [overlay.Overlay, core.Injector])
|
28689
|
+
core.Injectable({ providedIn: 'root' }),
|
28690
|
+
__metadata("design:paramtypes", [overlay.Overlay,
|
28691
|
+
core.Injector])
|
28260
28692
|
], PopoverService);
|
28261
28693
|
return PopoverService;
|
28262
28694
|
}());
|
@@ -28742,6 +29174,7 @@
|
|
28742
29174
|
exports.GIPISidenavContainerComponent = GIPISidenavContainerComponent;
|
28743
29175
|
exports.GIPISlideToggleComponent = GIPISlideToggleComponent;
|
28744
29176
|
exports.GIPISortModel = GIPISortModel;
|
29177
|
+
exports.GIPISplitButtonComponent = GIPISplitButtonComponent;
|
28745
29178
|
exports.GIPIStepperComponent = GIPIStepperComponent;
|
28746
29179
|
exports.GIPITabComponent = GIPITabComponent;
|
28747
29180
|
exports.GIPITabGroupComponent = GIPITabGroupComponent;
|