@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
@@ -4,7 +4,7 @@ import { CdkStepperModule, CdkStepper } from '@angular/cdk/stepper';
|
|
4
4
|
import { formatNumber, formatPercent, DOCUMENT, formatDate, isPlatformBrowser, CommonModule, formatCurrency } from '@angular/common';
|
5
5
|
import { BREAKPOINT, FlexLayoutModule } from '@angular/flex-layout';
|
6
6
|
import { NG_VALUE_ACCESSOR, FormControl, NgControl, NgForm, FormGroupDirective, Validators, NG_VALIDATORS, ControlContainer, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
7
|
-
import { MatMenu, MAT_SNACK_BAR_DATA, MatSnackBar, MatSelect as MatSelect$1, MatOption, MatFormField, MatTableDataSource, MatSort, MatPaginator, MatDialogRef, MAT_DIALOG_DATA, MatDialogConfig, MatDialog, MatNativeDateModule, MatRippleModule as MatRippleModule$1, MatDialogModule as MatDialogModule$1, MatIconRegistry } from '@angular/material';
|
7
|
+
import { MatMenu, MAT_SNACK_BAR_DATA, MatSnackBar, MatSelect as MatSelect$1, MatOption, MatFormField, MatTableDataSource, MatSort, MatPaginator, MatDialogTitle, MatDialogContent, MatDialogActions, MatDialogRef, MAT_DIALOG_DATA, MatDialogConfig, MatDialog, MatNativeDateModule, MatRippleModule as MatRippleModule$1, MatDialogModule as MatDialogModule$1, MatIconRegistry } from '@angular/material';
|
8
8
|
import { Router, ActivatedRoute, NavigationEnd, RouterModule } from '@angular/router';
|
9
9
|
import { MdePopoverTrigger, MdePopoverModule } from '@material-extended/mde';
|
10
10
|
import { MentionModule } from 'angular-mentions';
|
@@ -61,7 +61,7 @@ import { parsePhoneNumberFromString, getExampleNumber } from 'libphonenumber-js'
|
|
61
61
|
import { trigger, state, style, transition, animate, animation, useAnimation } from '@angular/animations';
|
62
62
|
import { A, Z, ZERO, NINE, SPACE, HOME, END, ENTER, ESCAPE, UP_ARROW, DOWN_ARROW, PAGE_DOWN, PAGE_UP, RIGHT_ARROW, LEFT_ARROW, BACKSPACE } from '@angular/cdk/keycodes';
|
63
63
|
import { coerceCssPixelValue, coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';
|
64
|
-
import { MediaMatcher } from '@angular/cdk/layout';
|
64
|
+
import { MediaMatcher, BreakpointObserver } from '@angular/cdk/layout';
|
65
65
|
import { Platform as Platform$1, PlatformModule } from '@angular/cdk/platform';
|
66
66
|
import { Directionality } from '@angular/cdk/bidi';
|
67
67
|
import { OverlayConfig, Overlay, OverlayModule } from '@angular/cdk/overlay';
|
@@ -508,7 +508,7 @@ InputCurrencyComponent = InputCurrencyComponent_1 = __decorate([
|
|
508
508
|
multi: true
|
509
509
|
}
|
510
510
|
],
|
511
|
-
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}"]
|
511
|
+
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}"]
|
512
512
|
})
|
513
513
|
], InputCurrencyComponent);
|
514
514
|
|
@@ -548,6 +548,32 @@ class StringUtil {
|
|
548
548
|
static truncateWithEllipses(text, max) {
|
549
549
|
return text.trim().substring(0, max - 1) + (text.trim().length > max) ? '...' : '';
|
550
550
|
}
|
551
|
+
/** Codifica a string em Base64 */
|
552
|
+
static encodeBase64(input) {
|
553
|
+
if (this.isEmpty(input)) {
|
554
|
+
return '';
|
555
|
+
}
|
556
|
+
const utf8Encoder = new TextEncoder();
|
557
|
+
const utf8Bytes = utf8Encoder.encode(input);
|
558
|
+
let binary = '';
|
559
|
+
utf8Bytes.forEach((byte) => {
|
560
|
+
binary += String.fromCharCode(byte);
|
561
|
+
});
|
562
|
+
return btoa(binary);
|
563
|
+
}
|
564
|
+
/** Decodifica a string Base64 */
|
565
|
+
static decodeBase64(input) {
|
566
|
+
if (this.isEmpty(input)) {
|
567
|
+
return '';
|
568
|
+
}
|
569
|
+
const binary = atob(input);
|
570
|
+
const utf8Decoder = new TextDecoder();
|
571
|
+
const utf8Bytes = new Uint8Array(binary.length);
|
572
|
+
for (let i = 0; i < binary.length; i++) {
|
573
|
+
utf8Bytes[i] = binary.charCodeAt(i);
|
574
|
+
}
|
575
|
+
return utf8Decoder.decode(utf8Bytes);
|
576
|
+
}
|
551
577
|
}
|
552
578
|
StringUtil.EMPTY = '';
|
553
579
|
|
@@ -868,6 +894,31 @@ __decorate([
|
|
868
894
|
class Archive {
|
869
895
|
}
|
870
896
|
|
897
|
+
class AbstractDTO {
|
898
|
+
}
|
899
|
+
|
900
|
+
class MessageDTO extends AbstractDTO {
|
901
|
+
}
|
902
|
+
|
903
|
+
let AlertComponent = class AlertComponent {
|
904
|
+
constructor(message) {
|
905
|
+
this.message = message;
|
906
|
+
}
|
907
|
+
ngOnInit() { }
|
908
|
+
};
|
909
|
+
AlertComponent.ctorParameters = () => [
|
910
|
+
{ type: MessageDTO, decorators: [{ type: Inject, args: [MAT_SNACK_BAR_DATA,] }] }
|
911
|
+
];
|
912
|
+
AlertComponent = __decorate([
|
913
|
+
Component({
|
914
|
+
selector: 'a-alert',
|
915
|
+
template: "<div class=\"alert\"\n [ngClass]=\"message.type\"\n fxLayout=\"row\"\n fxLayoutAlign=\" center\"\n fxLayoutGap=\"15px\">\n\n <mat-icon *ngIf=\"message.icon\">{{ message.icon }}</mat-icon>\n\n <div fxLayout=\"column\"\n fxLayoutAlign=\"center start\">\n <div class=\"title\">{{ message.title }}</div>\n <span>{{ message.message }}</span>\n </div>\n</div>",
|
916
|
+
styles: [""]
|
917
|
+
}),
|
918
|
+
__param(0, Inject(MAT_SNACK_BAR_DATA)),
|
919
|
+
__metadata("design:paramtypes", [MessageDTO])
|
920
|
+
], AlertComponent);
|
921
|
+
|
871
922
|
class AbstractService {
|
872
923
|
constructor() {
|
873
924
|
this.onDestroy = new Subject();
|
@@ -896,31 +947,6 @@ class AbstractService {
|
|
896
947
|
}
|
897
948
|
}
|
898
949
|
|
899
|
-
class AbstractDTO {
|
900
|
-
}
|
901
|
-
|
902
|
-
class MessageDTO extends AbstractDTO {
|
903
|
-
}
|
904
|
-
|
905
|
-
let AlertComponent = class AlertComponent {
|
906
|
-
constructor(message) {
|
907
|
-
this.message = message;
|
908
|
-
}
|
909
|
-
ngOnInit() { }
|
910
|
-
};
|
911
|
-
AlertComponent.ctorParameters = () => [
|
912
|
-
{ type: MessageDTO, decorators: [{ type: Inject, args: [MAT_SNACK_BAR_DATA,] }] }
|
913
|
-
];
|
914
|
-
AlertComponent = __decorate([
|
915
|
-
Component({
|
916
|
-
selector: 'a-alert',
|
917
|
-
template: "<div class=\"alert\"\n [ngClass]=\"message.type\"\n fxLayout=\"row\"\n fxLayoutAlign=\" center\"\n fxLayoutGap=\"15px\">\n\n <mat-icon *ngIf=\"message.icon\">{{ message.icon }}</mat-icon>\n\n <div fxLayout=\"column\"\n fxLayoutAlign=\"center start\">\n <div class=\"title\">{{ message.title }}</div>\n <span>{{ message.message }}</span>\n </div>\n</div>",
|
918
|
-
styles: [""]
|
919
|
-
}),
|
920
|
-
__param(0, Inject(MAT_SNACK_BAR_DATA)),
|
921
|
-
__metadata("design:paramtypes", [MessageDTO])
|
922
|
-
], AlertComponent);
|
923
|
-
|
924
950
|
let MessageService = class MessageService extends AbstractService {
|
925
951
|
constructor(snackBar) {
|
926
952
|
super();
|
@@ -940,9 +966,7 @@ MessageService.ctorParameters = () => [
|
|
940
966
|
];
|
941
967
|
MessageService.ngInjectableDef = ɵɵdefineInjectable({ factory: function MessageService_Factory() { return new MessageService(ɵɵinject(MatSnackBar$1)); }, token: MessageService, providedIn: "root" });
|
942
968
|
MessageService = __decorate([
|
943
|
-
Injectable({
|
944
|
-
providedIn: 'root'
|
945
|
-
}),
|
969
|
+
Injectable({ providedIn: 'root' }),
|
946
970
|
__metadata("design:paramtypes", [MatSnackBar])
|
947
971
|
], MessageService);
|
948
972
|
|
@@ -1091,7 +1115,7 @@ InputFileComponent = __decorate([
|
|
1091
1115
|
Component({
|
1092
1116
|
selector: 'itss-input-file',
|
1093
1117
|
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>",
|
1094
|
-
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}"]
|
1118
|
+
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}"]
|
1095
1119
|
}),
|
1096
1120
|
__metadata("design:paramtypes", [MessageService,
|
1097
1121
|
Router,
|
@@ -1489,7 +1513,7 @@ InputComponent = InputComponent_1 = __decorate([
|
|
1489
1513
|
multi: true
|
1490
1514
|
}
|
1491
1515
|
],
|
1492
|
-
styles: ["mat-label span{color:#d14014!important}"]
|
1516
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#d14014!important}"]
|
1493
1517
|
}),
|
1494
1518
|
__metadata("design:paramtypes", [ElementRef,
|
1495
1519
|
ChangeDetectorRef])
|
@@ -2683,7 +2707,7 @@ RadioGroupEntityComponent = RadioGroupEntityComponent_1 = __decorate([
|
|
2683
2707
|
multi: true
|
2684
2708
|
}
|
2685
2709
|
],
|
2686
|
-
styles: ["mat-label span{color:#f44336!important}"]
|
2710
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#f44336!important}"]
|
2687
2711
|
})
|
2688
2712
|
], RadioGroupEntityComponent);
|
2689
2713
|
|
@@ -2814,7 +2838,7 @@ RadioGroupEnumComponent = RadioGroupEnumComponent_1 = __decorate([
|
|
2814
2838
|
],
|
2815
2839
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
2816
2840
|
host: { 'class': 'itss-element' },
|
2817
|
-
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}"]
|
2841
|
+
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}"]
|
2818
2842
|
}),
|
2819
2843
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
2820
2844
|
], RadioGroupEnumComponent);
|
@@ -3224,7 +3248,7 @@ SelectEntityPagedComponent = SelectEntityPagedComponent_1 = __decorate([
|
|
3224
3248
|
multi: true
|
3225
3249
|
}
|
3226
3250
|
],
|
3227
|
-
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}"]
|
3251
|
+
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}"]
|
3228
3252
|
}),
|
3229
3253
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
3230
3254
|
], SelectEntityPagedComponent);
|
@@ -3926,7 +3950,7 @@ __decorate([
|
|
3926
3950
|
SelectSearchComponent = SelectSearchComponent_1 = __decorate([
|
3927
3951
|
Component({
|
3928
3952
|
selector: 'itss-input-search',
|
3929
|
-
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
|
3953
|
+
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>",
|
3930
3954
|
providers: [
|
3931
3955
|
{
|
3932
3956
|
provide: NG_VALUE_ACCESSOR,
|
@@ -4308,7 +4332,7 @@ SelectEntityComponent = __decorate([
|
|
4308
4332
|
Component({
|
4309
4333
|
selector: 'itss-select-entity',
|
4310
4334
|
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",
|
4311
|
-
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}"]
|
4335
|
+
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}"]
|
4312
4336
|
}),
|
4313
4337
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
4314
4338
|
], SelectEntityComponent);
|
@@ -4421,7 +4445,7 @@ SelectEnumComponent = SelectEnumComponent_1 = __decorate([
|
|
4421
4445
|
multi: true
|
4422
4446
|
}
|
4423
4447
|
],
|
4424
|
-
styles: ["mat-label span{color:#f44336!important}.select-disabled{cursor:not-allowed}"]
|
4448
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#f44336!important}.select-disabled{cursor:not-allowed}"]
|
4425
4449
|
})
|
4426
4450
|
], SelectEnumComponent);
|
4427
4451
|
|
@@ -4502,7 +4526,7 @@ SelectMonthPeriodComponent = SelectMonthPeriodComponent_1 = __decorate([
|
|
4502
4526
|
}
|
4503
4527
|
],
|
4504
4528
|
host: { 'class': 'itss-element' },
|
4505
|
-
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}"]
|
4529
|
+
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}"]
|
4506
4530
|
}),
|
4507
4531
|
__metadata("design:paramtypes", [GIPINgConfig])
|
4508
4532
|
], SelectMonthPeriodComponent);
|
@@ -5498,7 +5522,7 @@ TextareaComponent = TextareaComponent_1 = __decorate([
|
|
5498
5522
|
multi: true
|
5499
5523
|
}
|
5500
5524
|
],
|
5501
|
-
styles: ["mat-label span{color:#f44336!important}"]
|
5525
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#f44336!important}"]
|
5502
5526
|
}),
|
5503
5527
|
__metadata("design:paramtypes", [])
|
5504
5528
|
], TextareaComponent);
|
@@ -6140,9 +6164,7 @@ GIPIResizeService.ctorParameters = () => [
|
|
6140
6164
|
];
|
6141
6165
|
GIPIResizeService.ngInjectableDef = ɵɵdefineInjectable({ factory: function GIPIResizeService_Factory() { return new GIPIResizeService(ɵɵinject(NgZone), ɵɵinject(RendererFactory2)); }, token: GIPIResizeService, providedIn: "root" });
|
6142
6166
|
GIPIResizeService = __decorate([
|
6143
|
-
Injectable({
|
6144
|
-
providedIn: 'root'
|
6145
|
-
}),
|
6167
|
+
Injectable({ providedIn: 'root' }),
|
6146
6168
|
__metadata("design:paramtypes", [NgZone,
|
6147
6169
|
RendererFactory2])
|
6148
6170
|
], GIPIResizeService);
|
@@ -6217,9 +6239,7 @@ GIPIBreakpointService.ctorParameters = () => [
|
|
6217
6239
|
];
|
6218
6240
|
GIPIBreakpointService.ngInjectableDef = ɵɵdefineInjectable({ factory: function GIPIBreakpointService_Factory() { return new GIPIBreakpointService(ɵɵinject(GIPIResizeService), ɵɵinject(MediaMatcher)); }, token: GIPIBreakpointService, providedIn: "root" });
|
6219
6241
|
GIPIBreakpointService = __decorate([
|
6220
|
-
Injectable({
|
6221
|
-
providedIn: 'root'
|
6222
|
-
}),
|
6242
|
+
Injectable({ providedIn: 'root' }),
|
6223
6243
|
__metadata("design:paramtypes", [GIPIResizeService,
|
6224
6244
|
MediaMatcher])
|
6225
6245
|
], GIPIBreakpointService);
|
@@ -7046,6 +7066,50 @@ let GIPIAbstractFormComponent = GIPIAbstractFormComponent_1 = class GIPIAbstract
|
|
7046
7066
|
return this.gap + 'px';
|
7047
7067
|
}
|
7048
7068
|
ngOnInit() { }
|
7069
|
+
ngAfterViewInit() {
|
7070
|
+
if (this.dialog && !ObjectUtil.isNull(this.matDialogContent)) {
|
7071
|
+
const contentElement = this.matDialogContent.nativeElement;
|
7072
|
+
if (!ObjectUtil.isNull(contentElement) && this._hasScroll(contentElement)) {
|
7073
|
+
contentElement.scrollTop = 0;
|
7074
|
+
this.matDialogActions.nativeElement.style.boxShadow = '0px -10px 15px -3px rgba(0,0,0,0.1)';
|
7075
|
+
contentElement.addEventListener('scroll', () => this._onScroll(contentElement));
|
7076
|
+
}
|
7077
|
+
else {
|
7078
|
+
this._removeShadows();
|
7079
|
+
}
|
7080
|
+
}
|
7081
|
+
}
|
7082
|
+
_onScroll(content) {
|
7083
|
+
const scrollTop = content.scrollTop || 0;
|
7084
|
+
const scrollHeight = (content.scrollHeight - 36) || 0; // 36 é do padding
|
7085
|
+
const clientHeight = content.clientHeight || 0;
|
7086
|
+
if (scrollTop === 0) {
|
7087
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '';
|
7088
|
+
this.matDialogActions.nativeElement.style.boxShadow = '0px -10px 15px -3px rgba(0,0,0,0.1)';
|
7089
|
+
}
|
7090
|
+
else if ((scrollTop + clientHeight) >= scrollHeight) {
|
7091
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '0px 10px 15px -3px rgba(0,0,0,0.1)';
|
7092
|
+
this.matDialogActions.nativeElement.style.boxShadow = '';
|
7093
|
+
}
|
7094
|
+
else {
|
7095
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '0px 10px 15px -3px rgba(0,0,0,0.1)';
|
7096
|
+
this.matDialogActions.nativeElement.style.boxShadow = '0px -10px 15px -3px rgba(0,0,0,0.1)';
|
7097
|
+
}
|
7098
|
+
}
|
7099
|
+
_hasScroll(matDialogContent) {
|
7100
|
+
if (ObjectUtil.isNull(matDialogContent)) {
|
7101
|
+
return false;
|
7102
|
+
}
|
7103
|
+
return (matDialogContent.scrollHeight > matDialogContent.clientHeight);
|
7104
|
+
}
|
7105
|
+
_removeShadows() {
|
7106
|
+
if (!ObjectUtil.isNull(this.matDialogTitle)) {
|
7107
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '';
|
7108
|
+
}
|
7109
|
+
if (!ObjectUtil.isNull(this.matDialogActions)) {
|
7110
|
+
this.matDialogActions.nativeElement.style.boxShadow = '';
|
7111
|
+
}
|
7112
|
+
}
|
7049
7113
|
};
|
7050
7114
|
__decorate([
|
7051
7115
|
HostBinding('attr.id'),
|
@@ -7064,6 +7128,18 @@ __decorate([
|
|
7064
7128
|
ContentChildren(GIPIActionRowComponent),
|
7065
7129
|
__metadata("design:type", GIPIActionRowComponent)
|
7066
7130
|
], GIPIAbstractFormComponent.prototype, "GIPIActionRowComponent", void 0);
|
7131
|
+
__decorate([
|
7132
|
+
ContentChild(MatDialogTitle, { static: false, read: ElementRef }),
|
7133
|
+
__metadata("design:type", ElementRef)
|
7134
|
+
], GIPIAbstractFormComponent.prototype, "matDialogTitle", void 0);
|
7135
|
+
__decorate([
|
7136
|
+
ContentChild(MatDialogContent, { static: false, read: ElementRef }),
|
7137
|
+
__metadata("design:type", ElementRef)
|
7138
|
+
], GIPIAbstractFormComponent.prototype, "matDialogContent", void 0);
|
7139
|
+
__decorate([
|
7140
|
+
ContentChild(MatDialogActions, { static: false, read: ElementRef }),
|
7141
|
+
__metadata("design:type", ElementRef)
|
7142
|
+
], GIPIAbstractFormComponent.prototype, "matDialogActions", void 0);
|
7067
7143
|
__decorate([
|
7068
7144
|
Input(),
|
7069
7145
|
__metadata("design:type", String),
|
@@ -7102,11 +7178,15 @@ __decorate([
|
|
7102
7178
|
Input(),
|
7103
7179
|
__metadata("design:type", Boolean)
|
7104
7180
|
], GIPIAbstractFormComponent.prototype, "loading", void 0);
|
7181
|
+
__decorate([
|
7182
|
+
Input(),
|
7183
|
+
__metadata("design:type", String)
|
7184
|
+
], GIPIAbstractFormComponent.prototype, "class", void 0);
|
7105
7185
|
GIPIAbstractFormComponent = GIPIAbstractFormComponent_1 = __decorate([
|
7106
7186
|
Component({
|
7107
7187
|
selector: `gipi-abstract-form`,
|
7108
7188
|
exportAs: 'gipiAbstractForm',
|
7109
|
-
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>",
|
7189
|
+
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>",
|
7110
7190
|
providers: [
|
7111
7191
|
{
|
7112
7192
|
provide: NG_VALUE_ACCESSOR,
|
@@ -8000,7 +8080,7 @@ let GIPIPopoverTrigger = class GIPIPopoverTrigger {
|
|
8000
8080
|
_subscribeToBackdrop() {
|
8001
8081
|
if (this._overlayRef) {
|
8002
8082
|
/** Only subscribe to backdrop if trigger event is click */
|
8003
|
-
if (this.triggerEvent
|
8083
|
+
if (this.triggerEvent !== 'hover' && this.backdropCloseOnClick) {
|
8004
8084
|
this._overlayRef.backdropClick()
|
8005
8085
|
.pipe(takeUntil(this.popoverClosed), takeUntil(this._onDestroy))
|
8006
8086
|
.subscribe(() => {
|
@@ -8083,8 +8163,8 @@ let GIPIPopoverTrigger = class GIPIPopoverTrigger {
|
|
8083
8163
|
_getOverlayConfig() {
|
8084
8164
|
const overlayState = new OverlayConfig();
|
8085
8165
|
overlayState.positionStrategy = this._getPosition();
|
8086
|
-
/** Display overlay backdrop if trigger event is
|
8087
|
-
if (this.triggerEvent
|
8166
|
+
/** Display overlay backdrop if trigger event is different of hover */
|
8167
|
+
if (this.triggerEvent !== 'hover') {
|
8088
8168
|
overlayState.hasBackdrop = true;
|
8089
8169
|
overlayState.backdropClass = 'cdk-overlay-transparent-backdrop';
|
8090
8170
|
}
|
@@ -8371,6 +8451,22 @@ let GIPIButtonComponent = GIPIButtonComponent_1 = class GIPIButtonComponent {
|
|
8371
8451
|
this.onFocus = new EventEmitter(true);
|
8372
8452
|
this.onBlur = new EventEmitter(true);
|
8373
8453
|
}
|
8454
|
+
get internalButtonClass() {
|
8455
|
+
return {
|
8456
|
+
'button-base': true,
|
8457
|
+
'button-primary': (this.isButtonPrimary || this.isButtonPrimaryIcon),
|
8458
|
+
'button-primary-icon': this.isButtonPrimaryIcon,
|
8459
|
+
'button-secondary': (this.isButtonSecondary || this.isButtonSecondaryIcon),
|
8460
|
+
'button-secondary-icon': this.isButtonSecondaryIcon,
|
8461
|
+
'button-tertiary': (this.isButtonTertiary || this.isButtonTertiaryIcon),
|
8462
|
+
'button-tertiary-icon': this.isButtonTertiaryIcon,
|
8463
|
+
'button-link': this.isButtonLink,
|
8464
|
+
'button-only-icon': this.isButtonIcon,
|
8465
|
+
'button-for-input': this.isForInput,
|
8466
|
+
'button-notification': this.notification,
|
8467
|
+
'button-action': this.isButtonAction
|
8468
|
+
};
|
8469
|
+
}
|
8374
8470
|
ngOnInit() { }
|
8375
8471
|
ngOnDestroy() {
|
8376
8472
|
if (this.popoverTrigger) {
|
@@ -8566,7 +8662,7 @@ GIPIButtonComponent = GIPIButtonComponent_1 = __decorate([
|
|
8566
8662
|
selector: `gipi-button[gipi-primary], gipi-button[gipi-primary-icon], gipi-button[gipi-secondary], gipi-button[gipi-secondary-icon],
|
8567
8663
|
gipi-button[gipi-tertiary], gipi-button[gipi-link], gipi-button[gipi-icon], gipi-button[gipi-action]`,
|
8568
8664
|
exportAs: 'gipiButton',
|
8569
|
-
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]=\"
|
8665
|
+
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>",
|
8570
8666
|
providers: [
|
8571
8667
|
{
|
8572
8668
|
provide: NG_VALUE_ACCESSOR,
|
@@ -8837,10 +8933,6 @@ GIPIChipsComponent = GIPIChipsComponent_1 = __decorate([
|
|
8837
8933
|
], GIPIChipsComponent);
|
8838
8934
|
|
8839
8935
|
class ConfirmationDTO extends AbstractDTO {
|
8840
|
-
constructor() {
|
8841
|
-
super(...arguments);
|
8842
|
-
this.isWarningScreen = false;
|
8843
|
-
}
|
8844
8936
|
}
|
8845
8937
|
|
8846
8938
|
var GIPIConfirmationDialogComponent_1;
|
@@ -8861,7 +8953,7 @@ GIPIConfirmationDialogComponent = GIPIConfirmationDialogComponent_1 = __decorate
|
|
8861
8953
|
Component({
|
8862
8954
|
selector: `gipi-confirmation-dialog`,
|
8863
8955
|
exportAs: 'gipiConfirmationDialog',
|
8864
|
-
template: "<gipi-abstract-form id=\"dialogConfirmation\"\n name=\"dialogConfirmation\"\n [dialog]=\"true\">\n
|
8956
|
+
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> -->",
|
8865
8957
|
providers: [
|
8866
8958
|
{
|
8867
8959
|
provide: NG_VALUE_ACCESSOR,
|
@@ -8872,7 +8964,7 @@ GIPIConfirmationDialogComponent = GIPIConfirmationDialogComponent_1 = __decorate
|
|
8872
8964
|
host: {
|
8873
8965
|
'class': 'gipi-confirmation-dialog',
|
8874
8966
|
},
|
8875
|
-
styles: [".
|
8967
|
+
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)}"]
|
8876
8968
|
}),
|
8877
8969
|
__param(1, Inject(MAT_DIALOG_DATA)),
|
8878
8970
|
__param(2, Inject(APP_MESSAGES)),
|
@@ -9203,9 +9295,7 @@ ConfirmationService.ctorParameters = () => [
|
|
9203
9295
|
];
|
9204
9296
|
ConfirmationService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ConfirmationService_Factory() { return new ConfirmationService(ɵɵinject(MatDialog$1)); }, token: ConfirmationService, providedIn: "root" });
|
9205
9297
|
ConfirmationService = __decorate([
|
9206
|
-
Injectable({
|
9207
|
-
providedIn: 'root'
|
9208
|
-
}),
|
9298
|
+
Injectable({ providedIn: 'root' }),
|
9209
9299
|
__metadata("design:paramtypes", [MatDialog])
|
9210
9300
|
], ConfirmationService);
|
9211
9301
|
|
@@ -9717,7 +9807,7 @@ GIPIFormFieldComponent = GIPIFormFieldComponent_1 = __decorate([
|
|
9717
9807
|
'class': 'gipi-form-field',
|
9718
9808
|
},
|
9719
9809
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
9720
|
-
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:
|
9810
|
+
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}"]
|
9721
9811
|
}),
|
9722
9812
|
__metadata("design:paramtypes", [ChangeDetectorRef,
|
9723
9813
|
ElementRef])
|
@@ -9884,7 +9974,7 @@ GIPIInputCheckboxComponent = GIPIInputCheckboxComponent_1 = __decorate([
|
|
9884
9974
|
'class': 'gipi-input-checkbox',
|
9885
9975
|
},
|
9886
9976
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
9887
|
-
styles: ["::ng-deep .mat-checkbox-disabled{cursor:not-allowed!important}"]
|
9977
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}::ng-deep .mat-checkbox-disabled{cursor:not-allowed!important}"]
|
9888
9978
|
}),
|
9889
9979
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
9890
9980
|
], GIPIInputCheckboxComponent);
|
@@ -10075,7 +10165,7 @@ GIPIInputCurrencyComponent = GIPIInputCurrencyComponent_1 = __decorate([
|
|
10075
10165
|
'class': 'gipi-input-currency',
|
10076
10166
|
},
|
10077
10167
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
10078
|
-
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}"]
|
10168
|
+
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}"]
|
10079
10169
|
}),
|
10080
10170
|
__metadata("design:paramtypes", [ChangeDetectorRef,
|
10081
10171
|
ElementRef])
|
@@ -10477,7 +10567,7 @@ GIPIInputMonthPickerComponent = GIPIInputMonthPickerComponent_1 = __decorate([
|
|
10477
10567
|
'class': 'gipi-input-monthpicker',
|
10478
10568
|
},
|
10479
10569
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
10480
|
-
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}"]
|
10570
|
+
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}"]
|
10481
10571
|
}),
|
10482
10572
|
__metadata("design:paramtypes", [ChangeDetectorRef,
|
10483
10573
|
GIPINgConfig])
|
@@ -10779,7 +10869,7 @@ GIPIInputSelectEnumComponent = GIPIInputSelectEnumComponent_1 = __decorate([
|
|
10779
10869
|
'class': 'gipi-input-select-enum',
|
10780
10870
|
},
|
10781
10871
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
10782
|
-
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}"]
|
10872
|
+
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}"]
|
10783
10873
|
}),
|
10784
10874
|
__metadata("design:paramtypes", [ElementRef,
|
10785
10875
|
ChangeDetectorRef])
|
@@ -12005,7 +12095,7 @@ GIPIInputSelectComponent = GIPIInputSelectComponent_1 = __decorate([
|
|
12005
12095
|
'class': 'gipi-input-select',
|
12006
12096
|
},
|
12007
12097
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
12008
|
-
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}"]
|
12098
|
+
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}"]
|
12009
12099
|
}),
|
12010
12100
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
12011
12101
|
], GIPIInputSelectComponent);
|
@@ -12415,7 +12505,7 @@ GIPIInputSelectListboxComponent = GIPIInputSelectListboxComponent_1 = __decorate
|
|
12415
12505
|
'class': 'gipi-input-select-listbox',
|
12416
12506
|
},
|
12417
12507
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
12418
|
-
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}"]
|
12508
|
+
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}"]
|
12419
12509
|
}),
|
12420
12510
|
__metadata("design:paramtypes", [ChangeDetectorRef,
|
12421
12511
|
ElementRef,
|
@@ -12763,7 +12853,7 @@ GIPIInputSearchComponent = GIPIInputSearchComponent_1 = __decorate([
|
|
12763
12853
|
Component({
|
12764
12854
|
selector: `gipi-input-search`,
|
12765
12855
|
exportAs: 'gipiInputSearch',
|
12766
|
-
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>",
|
12856
|
+
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>",
|
12767
12857
|
providers: [
|
12768
12858
|
{
|
12769
12859
|
provide: NG_VALUE_ACCESSOR,
|
@@ -13124,7 +13214,7 @@ GIPIInputSelectPagedComponent = GIPIInputSelectPagedComponent_1 = __decorate([
|
|
13124
13214
|
'class': 'gipi-input-select-paged',
|
13125
13215
|
},
|
13126
13216
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
13127
|
-
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}"]
|
13217
|
+
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}"]
|
13128
13218
|
}),
|
13129
13219
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
13130
13220
|
], GIPIInputSelectPagedComponent);
|
@@ -13384,7 +13474,7 @@ GIPIInputSelectRadioComponent = GIPIInputSelectRadioComponent_1 = __decorate([
|
|
13384
13474
|
'class': 'gipi-input-select-radio',
|
13385
13475
|
},
|
13386
13476
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
13387
|
-
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}"]
|
13477
|
+
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}"]
|
13388
13478
|
}),
|
13389
13479
|
__metadata("design:paramtypes", [ElementRef,
|
13390
13480
|
ChangeDetectorRef])
|
@@ -15297,7 +15387,7 @@ GIPISelectComponent = GIPISelectComponent_1 = __decorate([
|
|
15297
15387
|
},
|
15298
15388
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
15299
15389
|
encapsulation: ViewEncapsulation.None,
|
15300
|
-
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}"]
|
15390
|
+
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}"]
|
15301
15391
|
}),
|
15302
15392
|
__metadata("design:paramtypes", [])
|
15303
15393
|
], GIPISelectComponent);
|
@@ -15331,9 +15421,7 @@ let BreakpointObserverService = class BreakpointObserverService extends Abstract
|
|
15331
15421
|
};
|
15332
15422
|
BreakpointObserverService.ngInjectableDef = ɵɵdefineInjectable({ factory: function BreakpointObserverService_Factory() { return new BreakpointObserverService(); }, token: BreakpointObserverService, providedIn: "root" });
|
15333
15423
|
BreakpointObserverService = __decorate([
|
15334
|
-
Injectable({
|
15335
|
-
providedIn: 'root'
|
15336
|
-
}),
|
15424
|
+
Injectable({ providedIn: 'root' }),
|
15337
15425
|
__metadata("design:paramtypes", [])
|
15338
15426
|
], BreakpointObserverService);
|
15339
15427
|
|
@@ -15371,9 +15459,7 @@ NavService.ctorParameters = () => [
|
|
15371
15459
|
];
|
15372
15460
|
NavService.ngInjectableDef = ɵɵdefineInjectable({ factory: function NavService_Factory() { return new NavService(ɵɵinject(Router)); }, token: NavService, providedIn: "root" });
|
15373
15461
|
NavService = __decorate([
|
15374
|
-
Injectable({
|
15375
|
-
providedIn: 'root'
|
15376
|
-
}),
|
15462
|
+
Injectable({ providedIn: 'root' }),
|
15377
15463
|
__metadata("design:paramtypes", [Router])
|
15378
15464
|
], NavService);
|
15379
15465
|
|
@@ -15461,7 +15547,7 @@ let GIPISidenavComponent = GIPISidenavComponent_1 = class GIPISidenavComponent {
|
|
15461
15547
|
this._levelOneMenuCollapsableSelected = null;
|
15462
15548
|
this._levelTwoMenuCollapsableSelected = null;
|
15463
15549
|
this._mouseEnter = false;
|
15464
|
-
this.
|
15550
|
+
this._menuItems = [];
|
15465
15551
|
this.labelToggle = 'Retrair menu';
|
15466
15552
|
this.showTagNewIntegration = false;
|
15467
15553
|
this.showIntegration = false;
|
@@ -15470,6 +15556,12 @@ let GIPISidenavComponent = GIPISidenavComponent_1 = class GIPISidenavComponent {
|
|
15470
15556
|
this.onClickMenuIntegration = new EventEmitter();
|
15471
15557
|
this.onClickMenuConfiguration = new EventEmitter();
|
15472
15558
|
}
|
15559
|
+
get menuItems() {
|
15560
|
+
return this._menuItems;
|
15561
|
+
}
|
15562
|
+
set menuItems(value) {
|
15563
|
+
this._menuItems = value;
|
15564
|
+
}
|
15473
15565
|
ngOnInit() { }
|
15474
15566
|
ngAfterViewInit() {
|
15475
15567
|
this._navService.sidenav = this.sidenav;
|
@@ -15492,16 +15584,21 @@ let GIPISidenavComponent = GIPISidenavComponent_1 = class GIPISidenavComponent {
|
|
15492
15584
|
return of(`${this._levelOneMenuCollapsableSelected.name} / ${this._levelTwoMenuCollapsableSelected.name}`);
|
15493
15585
|
}
|
15494
15586
|
}
|
15495
|
-
get
|
15587
|
+
get levelMenuSelected() {
|
15588
|
+
let levelMenuActive = [];
|
15496
15589
|
if (ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
15497
|
-
|
15590
|
+
levelMenuActive = this.menuItems;
|
15498
15591
|
}
|
15499
15592
|
else if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
15500
|
-
|
15593
|
+
levelMenuActive = this._levelOneMenuCollapsableSelected.menuList;
|
15501
15594
|
}
|
15502
15595
|
else if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && !ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
15503
|
-
|
15596
|
+
levelMenuActive = this._levelTwoMenuCollapsableSelected.menuList;
|
15597
|
+
}
|
15598
|
+
if (!ArrayUtil.isEmpty(levelMenuActive)) {
|
15599
|
+
levelMenuActive.forEach(item => item.id = this._toCamelCase(item.route));
|
15504
15600
|
}
|
15601
|
+
return of(levelMenuActive);
|
15505
15602
|
}
|
15506
15603
|
toggleSidenav() {
|
15507
15604
|
this._levelOneMenuCollapsableSelected = null;
|
@@ -15614,6 +15711,17 @@ let GIPISidenavComponent = GIPISidenavComponent_1 = class GIPISidenavComponent {
|
|
15614
15711
|
}
|
15615
15712
|
});
|
15616
15713
|
}
|
15714
|
+
_toCamelCase(name) {
|
15715
|
+
if (StringUtil.isEmpty(name)) {
|
15716
|
+
return '';
|
15717
|
+
}
|
15718
|
+
const normalized = StringUtil.replaceAccents(name);
|
15719
|
+
return normalized
|
15720
|
+
.split(/[/\-]/) // Divide por '/' e '-'
|
15721
|
+
.filter(Boolean) // Remove elementos vazios da lista
|
15722
|
+
.map((word, index) => (index === 0) ? word.toLowerCase() : (word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()))
|
15723
|
+
.join('');
|
15724
|
+
}
|
15617
15725
|
};
|
15618
15726
|
GIPISidenavComponent.ctorParameters = () => [
|
15619
15727
|
{ type: NavService },
|
@@ -15626,8 +15734,9 @@ __decorate([
|
|
15626
15734
|
], GIPISidenavComponent.prototype, "sidenav", void 0);
|
15627
15735
|
__decorate([
|
15628
15736
|
Input(),
|
15629
|
-
__metadata("design:type", Array)
|
15630
|
-
|
15737
|
+
__metadata("design:type", Array),
|
15738
|
+
__metadata("design:paramtypes", [Array])
|
15739
|
+
], GIPISidenavComponent.prototype, "menuItems", null);
|
15631
15740
|
__decorate([
|
15632
15741
|
Input(),
|
15633
15742
|
__metadata("design:type", String)
|
@@ -15684,7 +15793,7 @@ GIPISidenavComponent = GIPISidenavComponent_1 = __decorate([
|
|
15684
15793
|
Component({
|
15685
15794
|
selector: `gipi-sidenav`,
|
15686
15795
|
exportAs: 'gipiSidenav',
|
15687
|
-
template: "<mat-sidenav #sidenav\n
|
15796
|
+
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>",
|
15688
15797
|
encapsulation: ViewEncapsulation.None,
|
15689
15798
|
providers: [
|
15690
15799
|
{
|
@@ -15703,7 +15812,7 @@ GIPISidenavComponent = GIPISidenavComponent_1 = __decorate([
|
|
15703
15812
|
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4,0.0,0.2,1)')),
|
15704
15813
|
])
|
15705
15814
|
],
|
15706
|
-
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 -
|
15815
|
+
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}"]
|
15707
15816
|
}),
|
15708
15817
|
__metadata("design:paramtypes", [NavService,
|
15709
15818
|
BreakpointObserverService,
|
@@ -16525,8 +16634,12 @@ class TabModel {
|
|
16525
16634
|
}
|
16526
16635
|
}
|
16527
16636
|
|
16637
|
+
let nextUniqueId$i = 0;
|
16528
16638
|
let GIPITabComponent = class GIPITabComponent {
|
16529
16639
|
constructor() {
|
16640
|
+
this._name = `gipi-tab-${nextUniqueId$i++}`;
|
16641
|
+
this.id = this._name;
|
16642
|
+
this.name = this._name;
|
16530
16643
|
this.active = false;
|
16531
16644
|
this.closeable = false;
|
16532
16645
|
this.disabled = false;
|
@@ -16534,6 +16647,14 @@ let GIPITabComponent = class GIPITabComponent {
|
|
16534
16647
|
}
|
16535
16648
|
ngOnInit() { }
|
16536
16649
|
};
|
16650
|
+
__decorate([
|
16651
|
+
Input(),
|
16652
|
+
__metadata("design:type", Object)
|
16653
|
+
], GIPITabComponent.prototype, "id", void 0);
|
16654
|
+
__decorate([
|
16655
|
+
Input(),
|
16656
|
+
__metadata("design:type", String)
|
16657
|
+
], GIPITabComponent.prototype, "name", void 0);
|
16537
16658
|
__decorate([
|
16538
16659
|
Input(),
|
16539
16660
|
__metadata("design:type", Number)
|
@@ -16588,10 +16709,14 @@ GIPITabComponent = __decorate([
|
|
16588
16709
|
__metadata("design:paramtypes", [])
|
16589
16710
|
], GIPITabComponent);
|
16590
16711
|
|
16712
|
+
let nextUniqueId$j = 0;
|
16591
16713
|
let GIPITabGroupComponent = class GIPITabGroupComponent {
|
16592
16714
|
constructor(elementRef, _componentFactoryResolver) {
|
16593
16715
|
this.elementRef = elementRef;
|
16594
16716
|
this._componentFactoryResolver = _componentFactoryResolver;
|
16717
|
+
this._name = `gipi-tab-${nextUniqueId$j++}`;
|
16718
|
+
this.id = this._name;
|
16719
|
+
this.name = this._name;
|
16595
16720
|
this.dynamicTabs = [];
|
16596
16721
|
}
|
16597
16722
|
ngOnInit() { }
|
@@ -16691,15 +16816,25 @@ __decorate([
|
|
16691
16816
|
ViewChild(GIPIDynamicTabDirective, { static: false }),
|
16692
16817
|
__metadata("design:type", GIPIDynamicTabDirective)
|
16693
16818
|
], GIPITabGroupComponent.prototype, "dynamicTabPlaceholder", void 0);
|
16819
|
+
__decorate([
|
16820
|
+
Input(),
|
16821
|
+
__metadata("design:type", Object)
|
16822
|
+
], GIPITabGroupComponent.prototype, "id", void 0);
|
16823
|
+
__decorate([
|
16824
|
+
Input(),
|
16825
|
+
__metadata("design:type", String)
|
16826
|
+
], GIPITabGroupComponent.prototype, "name", void 0);
|
16694
16827
|
GIPITabGroupComponent = __decorate([
|
16695
16828
|
Component({
|
16696
16829
|
selector: 'gipi-tab-group',
|
16697
16830
|
exportAs: 'gipiTabGroup',
|
16698
|
-
template: "<nav mat-tab-nav-bar>\n <a mat-tab-link\n *ngFor=\"let tab of tabQueryList\"\n
|
16831
|
+
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>",
|
16699
16832
|
host: {
|
16700
16833
|
'class': 'gipi-tab-group',
|
16834
|
+
'[attr.id]': 'id',
|
16835
|
+
'[attr.name]': 'name',
|
16701
16836
|
},
|
16702
|
-
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}"]
|
16837
|
+
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}"]
|
16703
16838
|
}),
|
16704
16839
|
__metadata("design:paramtypes", [ElementRef,
|
16705
16840
|
ComponentFactoryResolver])
|
@@ -20581,7 +20716,7 @@ MatDatepickerInput = MatDatepickerInput_1 = __decorate([
|
|
20581
20716
|
* found in the LICENSE file at https://angular.io/license
|
20582
20717
|
*/
|
20583
20718
|
var MatDateRangeInput_1;
|
20584
|
-
let nextUniqueId$
|
20719
|
+
let nextUniqueId$k = 0;
|
20585
20720
|
let MatDateRangeInput = MatDateRangeInput_1 = class MatDateRangeInput {
|
20586
20721
|
constructor(_changeDetectorRef, _elementRef, control, _dateAdapter, _formField) {
|
20587
20722
|
this._changeDetectorRef = _changeDetectorRef;
|
@@ -20589,7 +20724,7 @@ let MatDateRangeInput = MatDateRangeInput_1 = class MatDateRangeInput {
|
|
20589
20724
|
this._dateAdapter = _dateAdapter;
|
20590
20725
|
this._formField = _formField;
|
20591
20726
|
/** Unique ID for the input. */
|
20592
|
-
this.id = `mat-date-range-input-${nextUniqueId$
|
20727
|
+
this.id = `mat-date-range-input-${nextUniqueId$k++}`;
|
20593
20728
|
/** Whether the control is focused. */
|
20594
20729
|
this.focused = false;
|
20595
20730
|
/** Name of the form control. */
|
@@ -21377,12 +21512,12 @@ class BrowserUtil {
|
|
21377
21512
|
|
21378
21513
|
var DateRangePickerComponent_1;
|
21379
21514
|
const moment$1 = moment_;
|
21380
|
-
let nextUniqueId$
|
21515
|
+
let nextUniqueId$l = 0;
|
21381
21516
|
let DateRangePickerComponent = DateRangePickerComponent_1 = class DateRangePickerComponent {
|
21382
21517
|
constructor(elementRef, _changeDetectorRef) {
|
21383
21518
|
this.elementRef = elementRef;
|
21384
21519
|
this._changeDetectorRef = _changeDetectorRef;
|
21385
|
-
this._name = `gipi-date-range-${nextUniqueId$
|
21520
|
+
this._name = `gipi-date-range-${nextUniqueId$l++}`;
|
21386
21521
|
this.idStartDate = `${this._name}-start`;
|
21387
21522
|
this.idEndDate = `${this._name}-end`;
|
21388
21523
|
this.nameStartDate = `${this._name}-start`;
|
@@ -21683,7 +21818,7 @@ DateRangePickerComponent = DateRangePickerComponent_1 = __decorate([
|
|
21683
21818
|
host: {
|
21684
21819
|
'class': 'gipi-date-range-picker',
|
21685
21820
|
},
|
21686
|
-
styles: [":host{display:block;width:100
|
21821
|
+
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}"]
|
21687
21822
|
}),
|
21688
21823
|
__metadata("design:paramtypes", [ElementRef,
|
21689
21824
|
ChangeDetectorRef])
|
@@ -22006,12 +22141,12 @@ PresetRangeComponent = PresetRangeComponent_1 = __decorate([
|
|
22006
22141
|
|
22007
22142
|
var DatepickerComponent_1;
|
22008
22143
|
const moment$3 = moment_;
|
22009
|
-
let nextUniqueId$
|
22144
|
+
let nextUniqueId$m = 0;
|
22010
22145
|
let DatepickerComponent = DatepickerComponent_1 = class DatepickerComponent {
|
22011
22146
|
constructor(elementRef, _changeDetectorRef) {
|
22012
22147
|
this.elementRef = elementRef;
|
22013
22148
|
this._changeDetectorRef = _changeDetectorRef;
|
22014
|
-
this._name = `gipi-date-range-${nextUniqueId$
|
22149
|
+
this._name = `gipi-date-range-${nextUniqueId$m++}`;
|
22015
22150
|
this.id = `${this._name}-date`;
|
22016
22151
|
this.name = `${this._name}-date`;
|
22017
22152
|
this.label = '';
|
@@ -22211,7 +22346,7 @@ DatepickerComponent = DatepickerComponent_1 = __decorate([
|
|
22211
22346
|
host: {
|
22212
22347
|
'class': 'gipi-datepicker',
|
22213
22348
|
},
|
22214
|
-
styles: [":host{display:block;width:100
|
22349
|
+
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}"]
|
22215
22350
|
}),
|
22216
22351
|
__metadata("design:paramtypes", [ElementRef,
|
22217
22352
|
ChangeDetectorRef])
|
@@ -22554,7 +22689,7 @@ class MonthPickerModel {
|
|
22554
22689
|
this.updateYearText();
|
22555
22690
|
}
|
22556
22691
|
}
|
22557
|
-
let nextUniqueId$
|
22692
|
+
let nextUniqueId$n = 0;
|
22558
22693
|
let MonthYearPickerComponent = MonthYearPickerComponent_1 = class MonthYearPickerComponent {
|
22559
22694
|
constructor(elementRef, _changeDetectorRef, _overlay, _ngZone, _viewContainerRef, scrollStrategy, _dir, _document) {
|
22560
22695
|
this.elementRef = elementRef;
|
@@ -22564,7 +22699,7 @@ let MonthYearPickerComponent = MonthYearPickerComponent_1 = class MonthYearPicke
|
|
22564
22699
|
this._viewContainerRef = _viewContainerRef;
|
22565
22700
|
this._dir = _dir;
|
22566
22701
|
this._document = _document;
|
22567
|
-
this._name = `gipi-date-range-${nextUniqueId$
|
22702
|
+
this._name = `gipi-date-range-${nextUniqueId$n++}`;
|
22568
22703
|
this._focusedElementBeforeOpen = null;
|
22569
22704
|
this._backdropHarnessClass = `${this._name}-backdrop`;
|
22570
22705
|
this._stateChanges = new Subject();
|
@@ -22919,7 +23054,7 @@ __decorate([
|
|
22919
23054
|
MonthYearPickerComponent = MonthYearPickerComponent_1 = __decorate([
|
22920
23055
|
Component({
|
22921
23056
|
selector: 'gipi-month-year-picker',
|
22922
|
-
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
|
23057
|
+
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>",
|
22923
23058
|
providers: [
|
22924
23059
|
{
|
22925
23060
|
provide: NG_VALUE_ACCESSOR,
|
@@ -22931,7 +23066,7 @@ MonthYearPickerComponent = MonthYearPickerComponent_1 = __decorate([
|
|
22931
23066
|
'class': 'gipi-month-year-picker',
|
22932
23067
|
},
|
22933
23068
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
22934
|
-
styles: [":host{display:block;width:100
|
23069
|
+
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}"]
|
22935
23070
|
}),
|
22936
23071
|
__param(5, Inject(GIPI_MONTH_YEAR_SCROLL_STRATEGY)),
|
22937
23072
|
__param(6, Optional()),
|
@@ -22976,13 +23111,249 @@ MonthYearPickerModule = __decorate([
|
|
22976
23111
|
})
|
22977
23112
|
], MonthYearPickerModule);
|
22978
23113
|
|
23114
|
+
var GIPISplitButtonComponent_1;
|
23115
|
+
let nextUniqueId$o = 0;
|
23116
|
+
let GIPISplitButtonComponent = GIPISplitButtonComponent_1 = class GIPISplitButtonComponent {
|
23117
|
+
constructor(elementRef) {
|
23118
|
+
this.elementRef = elementRef;
|
23119
|
+
this._uniqueId = nextUniqueId$o++;
|
23120
|
+
this._name = `gipi-split-button-${this._uniqueId}`;
|
23121
|
+
this.idBtnDefault = `gipi-split-button-default-${this._uniqueId}`;
|
23122
|
+
this.idBtnMenu = `gipi-split-button-menu-${this._uniqueId}`;
|
23123
|
+
this.isSplitButtonPrimary = this._hasHostAttributes('gipi-primary');
|
23124
|
+
this.isSplitButtonSecondary = this._hasHostAttributes('gipi-secondary');
|
23125
|
+
this.isSplitButtonTertiary = this._hasHostAttributes('gipi-tertiary');
|
23126
|
+
this.isSplitButtonAction = this._hasHostAttributes('gipi-action');
|
23127
|
+
this.id = this._name;
|
23128
|
+
this.name = this._name;
|
23129
|
+
this.type = 'button';
|
23130
|
+
this.ariaLabel = '';
|
23131
|
+
this.title = '';
|
23132
|
+
this.label = '';
|
23133
|
+
this.disabled = false;
|
23134
|
+
this.loading = false;
|
23135
|
+
this.tooltip = '';
|
23136
|
+
this.splitOptions = [];
|
23137
|
+
this.onOpenPopover = new EventEmitter();
|
23138
|
+
this.onClosePopover = new EventEmitter();
|
23139
|
+
this.onClick = new EventEmitter(true);
|
23140
|
+
this.onFocus = new EventEmitter(true);
|
23141
|
+
this.onBlur = new EventEmitter(true);
|
23142
|
+
}
|
23143
|
+
ngOnInit() { }
|
23144
|
+
ngOnDestroy() {
|
23145
|
+
if (this.popoverTrigger) {
|
23146
|
+
this.popoverTrigger.destroyPopover();
|
23147
|
+
}
|
23148
|
+
}
|
23149
|
+
getHostElement() {
|
23150
|
+
return this.elementRef.nativeElement;
|
23151
|
+
}
|
23152
|
+
_hasHostAttributes(...attributes) {
|
23153
|
+
return attributes.some(attribute => this.getHostElement().hasAttribute(attribute));
|
23154
|
+
}
|
23155
|
+
btnIdAndName() {
|
23156
|
+
const uniqueId = nextUniqueId$o++;
|
23157
|
+
return {
|
23158
|
+
btnDefault: `gipi-split-button-default-${uniqueId}`,
|
23159
|
+
btnMenu: `gipi-split-button-menu-${uniqueId}`,
|
23160
|
+
};
|
23161
|
+
}
|
23162
|
+
getInternalButtonClass(isBtnDefault) {
|
23163
|
+
return {
|
23164
|
+
'button-default': isBtnDefault,
|
23165
|
+
'button-menu': !isBtnDefault,
|
23166
|
+
'button-primary': this.isSplitButtonPrimary,
|
23167
|
+
'button-secondary': this.isSplitButtonSecondary,
|
23168
|
+
'button-tertiary': this.isSplitButtonTertiary,
|
23169
|
+
'button-action': this.isSplitButtonAction,
|
23170
|
+
};
|
23171
|
+
}
|
23172
|
+
showPopover() {
|
23173
|
+
if (this.disabled || this.loading) {
|
23174
|
+
return;
|
23175
|
+
}
|
23176
|
+
else {
|
23177
|
+
this.popoverTrigger.openPopover();
|
23178
|
+
}
|
23179
|
+
}
|
23180
|
+
closePopover() {
|
23181
|
+
if (this.disabled || this.loading) {
|
23182
|
+
return;
|
23183
|
+
}
|
23184
|
+
else {
|
23185
|
+
this.popoverTrigger.closePopover();
|
23186
|
+
}
|
23187
|
+
}
|
23188
|
+
handleClick(event) {
|
23189
|
+
if (this.disabled || this.loading) {
|
23190
|
+
return;
|
23191
|
+
}
|
23192
|
+
else {
|
23193
|
+
this.onClick.emit(event);
|
23194
|
+
this.closePopover();
|
23195
|
+
event.stopPropagation();
|
23196
|
+
}
|
23197
|
+
}
|
23198
|
+
handleFocus(event) {
|
23199
|
+
if (this.disabled || this.loading) {
|
23200
|
+
return;
|
23201
|
+
}
|
23202
|
+
else {
|
23203
|
+
this.onFocus.emit(event);
|
23204
|
+
event.stopPropagation();
|
23205
|
+
}
|
23206
|
+
}
|
23207
|
+
handleBlur(event) {
|
23208
|
+
if (this.disabled || this.loading) {
|
23209
|
+
return;
|
23210
|
+
}
|
23211
|
+
else {
|
23212
|
+
this.onBlur.emit(event);
|
23213
|
+
event.stopPropagation();
|
23214
|
+
}
|
23215
|
+
}
|
23216
|
+
handleClickBtnMenu(event) {
|
23217
|
+
if (this.disabled || this.loading) {
|
23218
|
+
return;
|
23219
|
+
}
|
23220
|
+
else {
|
23221
|
+
if (!ObjectUtil.isNull(this.popoverTrigger)) {
|
23222
|
+
this.popoverTrigger.togglePopover();
|
23223
|
+
}
|
23224
|
+
event.stopPropagation();
|
23225
|
+
}
|
23226
|
+
}
|
23227
|
+
handleClickBtnSplitOption(option) {
|
23228
|
+
if (this.disabled || this.loading || !option || option.disabled || !option.clickFn) {
|
23229
|
+
return;
|
23230
|
+
}
|
23231
|
+
else {
|
23232
|
+
option.clickFn();
|
23233
|
+
this.closePopover();
|
23234
|
+
}
|
23235
|
+
}
|
23236
|
+
onResize(event) {
|
23237
|
+
if (this.popoverTrigger) {
|
23238
|
+
this.popoverTrigger.closePopover();
|
23239
|
+
event.stopPropagation();
|
23240
|
+
}
|
23241
|
+
}
|
23242
|
+
};
|
23243
|
+
GIPISplitButtonComponent.ctorParameters = () => [
|
23244
|
+
{ type: ElementRef }
|
23245
|
+
];
|
23246
|
+
__decorate([
|
23247
|
+
ViewChild(GIPIPopoverTrigger, { static: false }),
|
23248
|
+
__metadata("design:type", GIPIPopoverTrigger)
|
23249
|
+
], GIPISplitButtonComponent.prototype, "popoverTrigger", void 0);
|
23250
|
+
__decorate([
|
23251
|
+
Input(),
|
23252
|
+
__metadata("design:type", String)
|
23253
|
+
], GIPISplitButtonComponent.prototype, "id", void 0);
|
23254
|
+
__decorate([
|
23255
|
+
Input(),
|
23256
|
+
__metadata("design:type", String)
|
23257
|
+
], GIPISplitButtonComponent.prototype, "name", void 0);
|
23258
|
+
__decorate([
|
23259
|
+
Input(),
|
23260
|
+
__metadata("design:type", String)
|
23261
|
+
], GIPISplitButtonComponent.prototype, "type", void 0);
|
23262
|
+
__decorate([
|
23263
|
+
Input(),
|
23264
|
+
__metadata("design:type", String)
|
23265
|
+
], GIPISplitButtonComponent.prototype, "ariaLabel", void 0);
|
23266
|
+
__decorate([
|
23267
|
+
Input(),
|
23268
|
+
__metadata("design:type", String)
|
23269
|
+
], GIPISplitButtonComponent.prototype, "title", void 0);
|
23270
|
+
__decorate([
|
23271
|
+
Input(),
|
23272
|
+
__metadata("design:type", String)
|
23273
|
+
], GIPISplitButtonComponent.prototype, "label", void 0);
|
23274
|
+
__decorate([
|
23275
|
+
Input(),
|
23276
|
+
__metadata("design:type", String)
|
23277
|
+
], GIPISplitButtonComponent.prototype, "buttonClass", void 0);
|
23278
|
+
__decorate([
|
23279
|
+
Input(),
|
23280
|
+
__metadata("design:type", Boolean)
|
23281
|
+
], GIPISplitButtonComponent.prototype, "disabled", void 0);
|
23282
|
+
__decorate([
|
23283
|
+
Input(),
|
23284
|
+
__metadata("design:type", Boolean)
|
23285
|
+
], GIPISplitButtonComponent.prototype, "loading", void 0);
|
23286
|
+
__decorate([
|
23287
|
+
Input(),
|
23288
|
+
__metadata("design:type", String)
|
23289
|
+
], GIPISplitButtonComponent.prototype, "tooltip", void 0);
|
23290
|
+
__decorate([
|
23291
|
+
Input('options'),
|
23292
|
+
__metadata("design:type", Array)
|
23293
|
+
], GIPISplitButtonComponent.prototype, "splitOptions", void 0);
|
23294
|
+
__decorate([
|
23295
|
+
Output(),
|
23296
|
+
__metadata("design:type", EventEmitter)
|
23297
|
+
], GIPISplitButtonComponent.prototype, "onOpenPopover", void 0);
|
23298
|
+
__decorate([
|
23299
|
+
Output(),
|
23300
|
+
__metadata("design:type", EventEmitter)
|
23301
|
+
], GIPISplitButtonComponent.prototype, "onClosePopover", void 0);
|
23302
|
+
__decorate([
|
23303
|
+
Output('click'),
|
23304
|
+
__metadata("design:type", EventEmitter)
|
23305
|
+
], GIPISplitButtonComponent.prototype, "onClick", void 0);
|
23306
|
+
__decorate([
|
23307
|
+
Output('focus'),
|
23308
|
+
__metadata("design:type", EventEmitter)
|
23309
|
+
], GIPISplitButtonComponent.prototype, "onFocus", void 0);
|
23310
|
+
__decorate([
|
23311
|
+
Output('blur'),
|
23312
|
+
__metadata("design:type", EventEmitter)
|
23313
|
+
], GIPISplitButtonComponent.prototype, "onBlur", void 0);
|
23314
|
+
__decorate([
|
23315
|
+
HostListener('window:resize', ['$event']),
|
23316
|
+
__metadata("design:type", Function),
|
23317
|
+
__metadata("design:paramtypes", [UIEvent]),
|
23318
|
+
__metadata("design:returntype", void 0)
|
23319
|
+
], GIPISplitButtonComponent.prototype, "onResize", null);
|
23320
|
+
GIPISplitButtonComponent = GIPISplitButtonComponent_1 = __decorate([
|
23321
|
+
Component({
|
23322
|
+
selector: `gipi-split-button[gipi-primary], gipi-split-button[gipi-secondary],
|
23323
|
+
gipi-split-button[gipi-tertiary], gipi-split-button[gipi-action]`,
|
23324
|
+
exportAs: 'gipiSplitButton',
|
23325
|
+
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>",
|
23326
|
+
providers: [
|
23327
|
+
{
|
23328
|
+
provide: NG_VALUE_ACCESSOR,
|
23329
|
+
useExisting: forwardRef(() => GIPISplitButtonComponent_1),
|
23330
|
+
multi: true
|
23331
|
+
}
|
23332
|
+
],
|
23333
|
+
host: {
|
23334
|
+
'class': 'gipi-split-button',
|
23335
|
+
'[attr.id]': 'id',
|
23336
|
+
'[attr.name]': 'name',
|
23337
|
+
},
|
23338
|
+
animations: [
|
23339
|
+
trigger('indicatorRotate', [
|
23340
|
+
state('closed', style({ transform: 'rotate(0deg)' })),
|
23341
|
+
state('opened', style({ transform: 'rotate(-180deg)' })),
|
23342
|
+
transition('opened <=> closed', animate('225ms cubic-bezier(0.4,0.0,0.2,1)')),
|
23343
|
+
])
|
23344
|
+
],
|
23345
|
+
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}"]
|
23346
|
+
}),
|
23347
|
+
__metadata("design:paramtypes", [ElementRef])
|
23348
|
+
], GIPISplitButtonComponent);
|
23349
|
+
|
22979
23350
|
var GIPITextareaComponent_1;
|
22980
|
-
let nextUniqueId$
|
23351
|
+
let nextUniqueId$p = 0;
|
22981
23352
|
let GIPITextareaComponent = GIPITextareaComponent_1 = class GIPITextareaComponent {
|
22982
23353
|
constructor(elementRef, _changeDetectorRef) {
|
22983
23354
|
this.elementRef = elementRef;
|
22984
23355
|
this._changeDetectorRef = _changeDetectorRef;
|
22985
|
-
this._name = `gipi-textarea-${nextUniqueId$
|
23356
|
+
this._name = `gipi-textarea-${nextUniqueId$p++}`;
|
22986
23357
|
this.id = this._name;
|
22987
23358
|
this.name = this._name;
|
22988
23359
|
this.label = '';
|
@@ -23263,7 +23634,7 @@ GIPITextareaComponent = GIPITextareaComponent_1 = __decorate([
|
|
23263
23634
|
'class': 'gipi-textarea',
|
23264
23635
|
},
|
23265
23636
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
23266
|
-
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}"]
|
23637
|
+
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}"]
|
23267
23638
|
}),
|
23268
23639
|
__metadata("design:paramtypes", [ElementRef,
|
23269
23640
|
ChangeDetectorRef])
|
@@ -23314,6 +23685,7 @@ const GIPIComponents = [
|
|
23314
23685
|
GIPIEmptyStateComponent,
|
23315
23686
|
GIPICardComponent,
|
23316
23687
|
GIPITextareaComponent,
|
23688
|
+
GIPISplitButtonComponent,
|
23317
23689
|
// Tabs
|
23318
23690
|
GIPITabGroupComponent,
|
23319
23691
|
GIPITabComponent,
|
@@ -23867,10 +24239,9 @@ AuthenticationService.ctorParameters = () => [
|
|
23867
24239
|
];
|
23868
24240
|
AuthenticationService.ngInjectableDef = ɵɵdefineInjectable({ factory: function AuthenticationService_Factory() { return new AuthenticationService(ɵɵinject(Router), ɵɵinject(HttpClient)); }, token: AuthenticationService, providedIn: "root" });
|
23869
24241
|
AuthenticationService = __decorate([
|
23870
|
-
Injectable({
|
23871
|
-
|
23872
|
-
|
23873
|
-
__metadata("design:paramtypes", [Router, HttpClient])
|
24242
|
+
Injectable({ providedIn: 'root' }),
|
24243
|
+
__metadata("design:paramtypes", [Router,
|
24244
|
+
HttpClient])
|
23874
24245
|
], AuthenticationService);
|
23875
24246
|
|
23876
24247
|
let AuthInterceptor = class AuthInterceptor {
|
@@ -23998,12 +24369,13 @@ ErrorInterceptor = __decorate([
|
|
23998
24369
|
], ErrorInterceptor);
|
23999
24370
|
|
24000
24371
|
let DialogService = class DialogService extends AbstractService {
|
24001
|
-
constructor(dialog) {
|
24372
|
+
constructor(_breakpointObserver, dialog) {
|
24002
24373
|
super();
|
24374
|
+
this._breakpointObserver = _breakpointObserver;
|
24003
24375
|
this.dialog = dialog;
|
24004
24376
|
}
|
24005
24377
|
open(dialog) {
|
24006
|
-
|
24378
|
+
let dialogConfig = {
|
24007
24379
|
panelClass: dialog.panelClass,
|
24008
24380
|
disableClose: dialog.disableClose,
|
24009
24381
|
width: dialog.width,
|
@@ -24014,21 +24386,57 @@ let DialogService = class DialogService extends AbstractService {
|
|
24014
24386
|
maxHeight: dialog.maxHeight,
|
24015
24387
|
position: dialog.position,
|
24016
24388
|
data: dialog.data,
|
24017
|
-
autoFocus: dialog.autoFocus,
|
24018
|
-
restoreFocus: dialog.restoreFocus,
|
24019
|
-
closeOnNavigation: dialog.closeOnNavigation,
|
24020
|
-
}
|
24389
|
+
autoFocus: dialog.autoFocus || false,
|
24390
|
+
restoreFocus: dialog.restoreFocus || false,
|
24391
|
+
closeOnNavigation: dialog.closeOnNavigation || true,
|
24392
|
+
};
|
24393
|
+
// this._breakpointObserver.observe(['(max-width: 1366px)', '(min-width: 1366.1px)']).subscribe((result: BreakpointState) => {
|
24394
|
+
// if (result.matches) {
|
24395
|
+
// if (result.breakpoints['(max-width: 1366px)']) {
|
24396
|
+
// dialogConfig = {
|
24397
|
+
// ...dialogConfig,
|
24398
|
+
// width: 'auto',
|
24399
|
+
// maxWidth: '80%',
|
24400
|
+
// height: this._calcHeightByBody(),
|
24401
|
+
// maxHeight: this._calcHeightByBody(),
|
24402
|
+
// position: {
|
24403
|
+
// top: '40px',
|
24404
|
+
// right: '40px',
|
24405
|
+
// }
|
24406
|
+
// };
|
24407
|
+
// } else if (result.breakpoints['(min-width: 1366.1px)']) {
|
24408
|
+
// // Para telas maiores que 1366px, aplica o maxWidth de 1920px e centraliza o modal
|
24409
|
+
// dialogConfig = {
|
24410
|
+
// ...dialogConfig,
|
24411
|
+
// maxWidth: '1920px',
|
24412
|
+
// };
|
24413
|
+
// }
|
24414
|
+
// }
|
24415
|
+
// });
|
24416
|
+
return this.dialog.open(dialog.componentOrTemplateRef, dialogConfig);
|
24417
|
+
}
|
24418
|
+
_calcHeightByBody() {
|
24419
|
+
// Esse n° 80 é definido pela margem do lado direito, que no caso é 40px. Como tira 40 top e 40 bottom = 80.
|
24420
|
+
const bodyDOMRect = (document && document.body) ? document.body.getBoundingClientRect() : null;
|
24421
|
+
return `${bodyDOMRect.height - 80}px`;
|
24422
|
+
}
|
24423
|
+
_coerceNumber(value) {
|
24424
|
+
if (StringUtil.isEmpty(value)) {
|
24425
|
+
return null;
|
24426
|
+
}
|
24427
|
+
const onlyNumber = value.match(/\d+/);
|
24428
|
+
return onlyNumber ? parseInt(onlyNumber[0], 10) : null;
|
24021
24429
|
}
|
24022
24430
|
};
|
24023
24431
|
DialogService.ctorParameters = () => [
|
24432
|
+
{ type: BreakpointObserver },
|
24024
24433
|
{ type: MatDialog }
|
24025
24434
|
];
|
24026
|
-
DialogService.ngInjectableDef = ɵɵdefineInjectable({ factory: function DialogService_Factory() { return new DialogService(ɵɵinject(MatDialog$1)); }, token: DialogService, providedIn: "root" });
|
24435
|
+
DialogService.ngInjectableDef = ɵɵdefineInjectable({ factory: function DialogService_Factory() { return new DialogService(ɵɵinject(BreakpointObserver), ɵɵinject(MatDialog$1)); }, token: DialogService, providedIn: "root" });
|
24027
24436
|
DialogService = __decorate([
|
24028
|
-
Injectable({
|
24029
|
-
|
24030
|
-
|
24031
|
-
__metadata("design:paramtypes", [MatDialog])
|
24437
|
+
Injectable({ providedIn: 'root' }),
|
24438
|
+
__metadata("design:paramtypes", [BreakpointObserver,
|
24439
|
+
MatDialog])
|
24032
24440
|
], DialogService);
|
24033
24441
|
|
24034
24442
|
let SvgRegisterService = class SvgRegisterService {
|
@@ -24064,6 +24472,19 @@ let SvgRegisterService = class SvgRegisterService {
|
|
24064
24472
|
throw new Error(error);
|
24065
24473
|
}
|
24066
24474
|
}
|
24475
|
+
/**
|
24476
|
+
* Registers an icon using an HTML string in the default namespace.
|
24477
|
+
* @param svgName Svg name without the extension
|
24478
|
+
* @param literal SVG source of the icon.
|
24479
|
+
*/
|
24480
|
+
registerSvgIconLiteral(svgName, literal) {
|
24481
|
+
try {
|
24482
|
+
this._matIconRegistry.addSvgIconLiteral(svgName, literal);
|
24483
|
+
}
|
24484
|
+
catch (error) {
|
24485
|
+
throw new Error(error);
|
24486
|
+
}
|
24487
|
+
}
|
24067
24488
|
};
|
24068
24489
|
SvgRegisterService.ctorParameters = () => [
|
24069
24490
|
{ type: MatIconRegistry },
|
@@ -24071,9 +24492,7 @@ SvgRegisterService.ctorParameters = () => [
|
|
24071
24492
|
];
|
24072
24493
|
SvgRegisterService.ngInjectableDef = ɵɵdefineInjectable({ factory: function SvgRegisterService_Factory() { return new SvgRegisterService(ɵɵinject(MatIconRegistry$1), ɵɵinject(DomSanitizer)); }, token: SvgRegisterService, providedIn: "root" });
|
24073
24494
|
SvgRegisterService = __decorate([
|
24074
|
-
Injectable({
|
24075
|
-
providedIn: 'root'
|
24076
|
-
}),
|
24495
|
+
Injectable({ providedIn: 'root' }),
|
24077
24496
|
__metadata("design:paramtypes", [MatIconRegistry,
|
24078
24497
|
DomSanitizer])
|
24079
24498
|
], SvgRegisterService);
|
@@ -24334,9 +24753,7 @@ let GIPIFileService = class GIPIFileService {
|
|
24334
24753
|
};
|
24335
24754
|
GIPIFileService.ngInjectableDef = ɵɵdefineInjectable({ factory: function GIPIFileService_Factory() { return new GIPIFileService(); }, token: GIPIFileService, providedIn: "root" });
|
24336
24755
|
GIPIFileService = __decorate([
|
24337
|
-
Injectable({
|
24338
|
-
providedIn: 'root'
|
24339
|
-
}),
|
24756
|
+
Injectable({ providedIn: 'root' }),
|
24340
24757
|
__metadata("design:paramtypes", [])
|
24341
24758
|
], GIPIFileService);
|
24342
24759
|
|
@@ -25247,24 +25664,24 @@ var LocalTimeEnum;
|
|
25247
25664
|
})(LocalTimeEnum || (LocalTimeEnum = {}));
|
25248
25665
|
|
25249
25666
|
let AuthGuard = class AuthGuard {
|
25250
|
-
constructor(
|
25251
|
-
this.
|
25252
|
-
this.
|
25667
|
+
constructor(_router, _authenticationService) {
|
25668
|
+
this._router = _router;
|
25669
|
+
this._authenticationService = _authenticationService;
|
25253
25670
|
}
|
25254
25671
|
canActivate(route, state) {
|
25255
|
-
if (!ObjectUtil.isNull(this.
|
25256
|
-
return this.
|
25257
|
-
if (this.
|
25672
|
+
if (!ObjectUtil.isNull(this._authenticationService.tokenValueLocalStorage)) {
|
25673
|
+
return this._authenticationService.token.pipe(map(token => {
|
25674
|
+
if (this._authenticationService.isValidToken(token)) {
|
25258
25675
|
return true;
|
25259
25676
|
}
|
25260
25677
|
else if (!ObjectUtil.isNull(token)) {
|
25261
|
-
this.
|
25678
|
+
this._authenticationService.removeToken();
|
25262
25679
|
}
|
25263
|
-
this.
|
25680
|
+
this._router.navigate(['oauth/login'], { queryParams: { returnUrl: state.url } });
|
25264
25681
|
return false;
|
25265
25682
|
}));
|
25266
25683
|
}
|
25267
|
-
this.
|
25684
|
+
this._router.navigate(['oauth/login'], { queryParams: { returnUrl: state.url } });
|
25268
25685
|
return of(false);
|
25269
25686
|
}
|
25270
25687
|
canActivateChild(route, state) {
|
@@ -25277,29 +25694,28 @@ AuthGuard.ctorParameters = () => [
|
|
25277
25694
|
];
|
25278
25695
|
AuthGuard.ngInjectableDef = ɵɵdefineInjectable({ factory: function AuthGuard_Factory() { return new AuthGuard(ɵɵinject(Router), ɵɵinject(AuthenticationService)); }, token: AuthGuard, providedIn: "root" });
|
25279
25696
|
AuthGuard = __decorate([
|
25280
|
-
Injectable({
|
25281
|
-
|
25282
|
-
|
25283
|
-
__metadata("design:paramtypes", [Router, AuthenticationService])
|
25697
|
+
Injectable({ providedIn: 'root' }),
|
25698
|
+
__metadata("design:paramtypes", [Router,
|
25699
|
+
AuthenticationService])
|
25284
25700
|
], AuthGuard);
|
25285
25701
|
|
25286
25702
|
let PermissionGuard = class PermissionGuard {
|
25287
|
-
constructor(
|
25288
|
-
this.
|
25289
|
-
this.
|
25703
|
+
constructor(_router, _authenticationService) {
|
25704
|
+
this._router = _router;
|
25705
|
+
this._authenticationService = _authenticationService;
|
25290
25706
|
}
|
25291
25707
|
canActivate(route, state) {
|
25292
|
-
if (!ObjectUtil.isNull(this.
|
25293
|
-
return this.
|
25294
|
-
if (this.
|
25708
|
+
if (!ObjectUtil.isNull(this._authenticationService.tokenValueLocalStorage)) {
|
25709
|
+
return this._authenticationService.token.pipe(map(token => {
|
25710
|
+
if (this._authenticationService.isValidToken(token)
|
25295
25711
|
&& (!this.hasPermission(token.user.menuList, state.url) && !this.hasAuthority(token.user, route.data.authority))) {
|
25296
|
-
this.
|
25712
|
+
this._router.navigate(['errors/403']);
|
25297
25713
|
return false;
|
25298
25714
|
}
|
25299
25715
|
return true;
|
25300
25716
|
}));
|
25301
25717
|
}
|
25302
|
-
this.
|
25718
|
+
this._router.navigate(['errors/403']);
|
25303
25719
|
return of(false);
|
25304
25720
|
}
|
25305
25721
|
hasAuthority(user, permission) {
|
@@ -25326,28 +25742,27 @@ PermissionGuard.ctorParameters = () => [
|
|
25326
25742
|
];
|
25327
25743
|
PermissionGuard.ngInjectableDef = ɵɵdefineInjectable({ factory: function PermissionGuard_Factory() { return new PermissionGuard(ɵɵinject(Router), ɵɵinject(AuthenticationService)); }, token: PermissionGuard, providedIn: "root" });
|
25328
25744
|
PermissionGuard = __decorate([
|
25329
|
-
Injectable({
|
25330
|
-
|
25331
|
-
|
25332
|
-
__metadata("design:paramtypes", [Router, AuthenticationService])
|
25745
|
+
Injectable({ providedIn: 'root' }),
|
25746
|
+
__metadata("design:paramtypes", [Router,
|
25747
|
+
AuthenticationService])
|
25333
25748
|
], PermissionGuard);
|
25334
25749
|
|
25335
25750
|
let PublicGuard = class PublicGuard {
|
25336
|
-
constructor(
|
25337
|
-
this.
|
25338
|
-
this.
|
25751
|
+
constructor(_router, _authenticationService) {
|
25752
|
+
this._router = _router;
|
25753
|
+
this._authenticationService = _authenticationService;
|
25339
25754
|
}
|
25340
25755
|
canActivate(route, state) {
|
25341
|
-
if (!ObjectUtil.isNull(this.
|
25342
|
-
return this.
|
25343
|
-
if (this.
|
25344
|
-
this.
|
25756
|
+
if (!ObjectUtil.isNull(this._authenticationService.tokenValueLocalStorage)) {
|
25757
|
+
return this._authenticationService.token.pipe(map(token => {
|
25758
|
+
if (this._authenticationService.isValidToken(token)) {
|
25759
|
+
this._router.navigate(['dashboard']);
|
25345
25760
|
return false;
|
25346
25761
|
}
|
25347
25762
|
return true;
|
25348
25763
|
}));
|
25349
25764
|
}
|
25350
|
-
this.
|
25765
|
+
this._router.navigate(['dashboard']);
|
25351
25766
|
return of(false);
|
25352
25767
|
}
|
25353
25768
|
canActivateChild(route, state) {
|
@@ -25360,10 +25775,9 @@ PublicGuard.ctorParameters = () => [
|
|
25360
25775
|
];
|
25361
25776
|
PublicGuard.ngInjectableDef = ɵɵdefineInjectable({ factory: function PublicGuard_Factory() { return new PublicGuard(ɵɵinject(Router), ɵɵinject(AuthenticationService)); }, token: PublicGuard, providedIn: "root" });
|
25362
25777
|
PublicGuard = __decorate([
|
25363
|
-
Injectable({
|
25364
|
-
|
25365
|
-
|
25366
|
-
__metadata("design:paramtypes", [Router, AuthenticationService])
|
25778
|
+
Injectable({ providedIn: 'root' }),
|
25779
|
+
__metadata("design:paramtypes", [Router,
|
25780
|
+
AuthenticationService])
|
25367
25781
|
], PublicGuard);
|
25368
25782
|
|
25369
25783
|
class AbstractModel {
|
@@ -25396,6 +25810,7 @@ class MenuDTO extends AbstractDTO {
|
|
25396
25810
|
constructor() {
|
25397
25811
|
super();
|
25398
25812
|
this.menuList = [];
|
25813
|
+
this.id = '';
|
25399
25814
|
this.expanded = false;
|
25400
25815
|
}
|
25401
25816
|
}
|
@@ -26082,10 +26497,9 @@ PopoverService.ctorParameters = () => [
|
|
26082
26497
|
];
|
26083
26498
|
PopoverService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PopoverService_Factory() { return new PopoverService(ɵɵinject(Overlay), ɵɵinject(INJECTOR$1)); }, token: PopoverService, providedIn: "root" });
|
26084
26499
|
PopoverService = __decorate([
|
26085
|
-
Injectable({
|
26086
|
-
|
26087
|
-
|
26088
|
-
__metadata("design:paramtypes", [Overlay, Injector])
|
26500
|
+
Injectable({ providedIn: 'root' }),
|
26501
|
+
__metadata("design:paramtypes", [Overlay,
|
26502
|
+
Injector])
|
26089
26503
|
], PopoverService);
|
26090
26504
|
|
26091
26505
|
;
|
@@ -26378,5 +26792,5 @@ const MAT_NATIVE_DATE_FORMATS = {
|
|
26378
26792
|
* Generated bundle index. Do not edit.
|
26379
26793
|
*/
|
26380
26794
|
|
26381
|
-
export { APP_MESSAGES, AbstractComponent, AbstractCrudComponent, AbstractCrudService, AbstractDTO, AbstractFindComponent, AbstractFindService, AbstractModel, AbstractService, AlertComponent, Archive, ArrayUtil, AuthGuard, AuthInterceptor, AuthenticationService, BaseUser, BreakpointEnum, BreakpointObserverService, BrowserUtil, ButtonComponent, CalendarMonthYearComponent, CardComponent, ChartDTO, CheckboxComponent, ConfirmationDTO, ConfirmationService, CoreModule, CriteriaOperationEnum, CriteriaSortDirectionEnum, CurrencyUtil, DEFAULT_MESSAGES, DateAdapter, DateRange, DateRangePickerComponent, DateUtil, DatepickerModule, DefaultMatCalendarRangeStrategy, DialogDTO, DialogService, DocumentUtil, EmailUtil, ErrorInterceptor, FilterDTO, GIPIAbstractComponent, GIPIAbstractCrudComponent, GIPIAbstractCrudService, GIPIAbstractDTO, GIPIAbstractFilterModel, GIPIAbstractFindComponent, GIPIAbstractFormComponent, GIPIAbstractModel, GIPIAbstractService, GIPIActionRowComponent, GIPIAppliedFilter, GIPIAutowired, GIPIBadgeComponent, GIPIBaseService, GIPIBreakpointService, GIPIButtonComponent, GIPICardComponent, GIPIColDirective, GIPIConfirmationDialogComponent, GIPIConnectedOverlayScrollHandler, GIPIDomHandler, GIPIDropdownMenuComponent, GIPIDynamicTabDirective, GIPIEmptyStateComponent, GIPIExpansionPanelComponent, GIPIFileDragAndDropComponent, GIPIFileService, GIPIFooterComponent, GIPIFormFieldComponent, GIPIHelpfulTipComponent, GIPIInfiniteScrollDirective, GIPIInputCheckboxComponent, GIPIInputCurrencyComponent, GIPIInputMonthPickerComponent, GIPIInputSearchComponent, GIPIInputSelectComponent, GIPIInputSelectEnumComponent, GIPIInputSelectListboxComponent, GIPIInputSelectPagedComponent, GIPIInputSelectRadioComponent, GIPINotificationComponent, GIPINoveltiesComponent, GIPIOverlayComponent, GIPIOverlayService, GIPIPageEvent, GIPIPageModel, GIPIPaginatePipe, GIPIPaginationControlsDirective, GIPIPaginationService, GIPIPasswordRequerimentsComponent, GIPIPopoverComponent, GIPIPopoverTarget, GIPIPopoverTrigger, GIPIRadioGroupComponent, GIPIRangePageComponent, GIPIRangeSliderComponent, GIPIResizeService, GIPIRowDirective, GIPISelectButtonComponent, GIPISelectComponent, GIPISessionStorageService, GIPISidenavComponent, GIPISidenavContainerComponent, GIPISlideToggleComponent, GIPISortDirectionEnum, GIPISortModel, GIPIStepperComponent, GIPITabComponent, GIPITabGroupComponent, GIPITableBodyComponent, GIPITableComponent, GIPITableFooterComponent, GIPITableHeaderComponent, GIPITablePaginationComponent, GIPITableProgressBarComponent, GIPITemplateDirective, GIPITextareaComponent, GIPIToolbarComponent, GIPITopNavComponent, GIPIUserProfileComponent, GIPI_BREAKPOINTS, GIPI_CUSTOM_BREAKPOINTS_PROVIDER, GIPI_MONTH_YEAR_SCROLL_STRATEGY, GIPI_MONTH_YEAR_SCROLL_STRATEGY_FACTORY, GIPI_MONTH_YEAR_SCROLL_STRATEGY_FACTORY_PROVIDER, INJECTOR, IconComponent, InputComponent, InputCurrencyComponent, InputFileComponent, InputListboxDTO, ItssTemplate, LoadingComponent, LoadingOverlayComponent, LocalTimeEnum, LocalTimePipe, MAT_DATEPICKER_SCROLL_STRATEGY, MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY, MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER, MAT_DATEPICKER_VALIDATORS, MAT_DATEPICKER_VALUE_ACCESSOR, MAT_DATE_FORMATS, MAT_DATE_LOCALE, MAT_DATE_LOCALE_FACTORY, MAT_DATE_LOCALE_PROVIDER, MAT_DATE_RANGE_SELECTION_STRATEGY, MAT_NATIVE_DATE_FORMATS, MAT_RANGE_DATE_SELECTION_MODEL_FACTORY, MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER, MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY, MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER, MatCalendar, MatCalendarBody, MatCalendarCell, MatCalendarHeader, MatDateRangeInput, MatDateRangePicker, MatDateSelectionModel, MatDatepicker, MatDatepickerContent, MatDatepickerInput, MatDatepickerInputEvent, MatDatepickerIntl, MatDatepickerToggle, MatDatepickerToggleIcon, MatEndDate, MatMonthView, MatMultiYearView, MatRangeDateSelectionModel, MatSingleDateSelectionModel, MatStartDate, MatYearView, MaxRangeDirective, MaxRangeSelectionStrategy, MenuDTO, MenuTypeEnum, MessageDTO, MessageService, MonthPickerModel, MonthYear, MonthYearPickerComponent, MonthYearPickerModule, MultitenantModel, NativeDateAdapter, NavService, NumberUtil, ObjectUtil, OverlayPanelComponent, POINTS_NAME, PageDTO, PasswordUtil, Permission, PermissionGuard, PhoneMaskDirective, PhoneUtil, Platform, PopoverComponent, PopoverRef, PopoverService, PresetRangeComponent, PublicGuard, RadioButtonEnum, RadioGroupEntityComponent, RadioGroupEnumComponent, RangePage, Role, SelectButtonAddComponent, SelectButtonNextBatchComponent, SelectEntityComponent, SelectEntityPagedComponent, SelectEnumComponent, SelectMonthPeriodComponent, SelectNoEntriesFoundDirective, SelectSearchClearDirective, SelectSearchComponent, SharedModule, SlideToggleComponent, SortDTO, SortDirectionEnum, SortModel, StepperComponent, StringUtil, SvgRegisterService, TabDTO, TabModel, TableColumnBuilder, TableColumnBuilderModel, TableColumnDTO, TableColumnModel, TableComponent, TableScrolledComponent, TimeUtil, TokenDTO, URLParamsUtil, UUIDUtil, customCurrencyMaskConfig, getReflectType, gridResponsiveMap, matDatepickerAnimations, nextUniqueId$
|
26795
|
+
export { APP_MESSAGES, AbstractComponent, AbstractCrudComponent, AbstractCrudService, AbstractDTO, AbstractFindComponent, AbstractFindService, AbstractModel, AbstractService, AlertComponent, Archive, ArrayUtil, AuthGuard, AuthInterceptor, AuthenticationService, BaseUser, BreakpointEnum, BreakpointObserverService, BrowserUtil, ButtonComponent, CalendarMonthYearComponent, CardComponent, ChartDTO, CheckboxComponent, ConfirmationDTO, ConfirmationService, CoreModule, CriteriaOperationEnum, CriteriaSortDirectionEnum, CurrencyUtil, DEFAULT_MESSAGES, DateAdapter, DateRange, DateRangePickerComponent, DateUtil, DatepickerModule, DefaultMatCalendarRangeStrategy, DialogDTO, DialogService, DocumentUtil, EmailUtil, ErrorInterceptor, FilterDTO, GIPIAbstractComponent, GIPIAbstractCrudComponent, GIPIAbstractCrudService, GIPIAbstractDTO, GIPIAbstractFilterModel, GIPIAbstractFindComponent, GIPIAbstractFormComponent, GIPIAbstractModel, GIPIAbstractService, GIPIActionRowComponent, GIPIAppliedFilter, GIPIAutowired, GIPIBadgeComponent, GIPIBaseService, GIPIBreakpointService, GIPIButtonComponent, GIPICardComponent, GIPIColDirective, GIPIConfirmationDialogComponent, GIPIConnectedOverlayScrollHandler, GIPIDomHandler, GIPIDropdownMenuComponent, GIPIDynamicTabDirective, GIPIEmptyStateComponent, GIPIExpansionPanelComponent, GIPIFileDragAndDropComponent, GIPIFileService, GIPIFooterComponent, GIPIFormFieldComponent, GIPIHelpfulTipComponent, GIPIInfiniteScrollDirective, GIPIInputCheckboxComponent, GIPIInputCurrencyComponent, GIPIInputMonthPickerComponent, GIPIInputSearchComponent, GIPIInputSelectComponent, GIPIInputSelectEnumComponent, GIPIInputSelectListboxComponent, GIPIInputSelectPagedComponent, GIPIInputSelectRadioComponent, GIPINotificationComponent, GIPINoveltiesComponent, GIPIOverlayComponent, GIPIOverlayService, GIPIPageEvent, GIPIPageModel, GIPIPaginatePipe, GIPIPaginationControlsDirective, GIPIPaginationService, GIPIPasswordRequerimentsComponent, GIPIPopoverComponent, GIPIPopoverTarget, GIPIPopoverTrigger, GIPIRadioGroupComponent, GIPIRangePageComponent, GIPIRangeSliderComponent, GIPIResizeService, GIPIRowDirective, GIPISelectButtonComponent, GIPISelectComponent, GIPISessionStorageService, GIPISidenavComponent, GIPISidenavContainerComponent, GIPISlideToggleComponent, GIPISortDirectionEnum, GIPISortModel, GIPISplitButtonComponent, GIPIStepperComponent, GIPITabComponent, GIPITabGroupComponent, GIPITableBodyComponent, GIPITableComponent, GIPITableFooterComponent, GIPITableHeaderComponent, GIPITablePaginationComponent, GIPITableProgressBarComponent, GIPITemplateDirective, GIPITextareaComponent, GIPIToolbarComponent, GIPITopNavComponent, GIPIUserProfileComponent, GIPI_BREAKPOINTS, GIPI_CUSTOM_BREAKPOINTS_PROVIDER, GIPI_MONTH_YEAR_SCROLL_STRATEGY, GIPI_MONTH_YEAR_SCROLL_STRATEGY_FACTORY, GIPI_MONTH_YEAR_SCROLL_STRATEGY_FACTORY_PROVIDER, INJECTOR, IconComponent, InputComponent, InputCurrencyComponent, InputFileComponent, InputListboxDTO, ItssTemplate, LoadingComponent, LoadingOverlayComponent, LocalTimeEnum, LocalTimePipe, MAT_DATEPICKER_SCROLL_STRATEGY, MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY, MAT_DATEPICKER_SCROLL_STRATEGY_FACTORY_PROVIDER, MAT_DATEPICKER_VALIDATORS, MAT_DATEPICKER_VALUE_ACCESSOR, MAT_DATE_FORMATS, MAT_DATE_LOCALE, MAT_DATE_LOCALE_FACTORY, MAT_DATE_LOCALE_PROVIDER, MAT_DATE_RANGE_SELECTION_STRATEGY, MAT_NATIVE_DATE_FORMATS, MAT_RANGE_DATE_SELECTION_MODEL_FACTORY, MAT_RANGE_DATE_SELECTION_MODEL_PROVIDER, MAT_SINGLE_DATE_SELECTION_MODEL_FACTORY, MAT_SINGLE_DATE_SELECTION_MODEL_PROVIDER, MatCalendar, MatCalendarBody, MatCalendarCell, MatCalendarHeader, MatDateRangeInput, MatDateRangePicker, MatDateSelectionModel, MatDatepicker, MatDatepickerContent, MatDatepickerInput, MatDatepickerInputEvent, MatDatepickerIntl, MatDatepickerToggle, MatDatepickerToggleIcon, MatEndDate, MatMonthView, MatMultiYearView, MatRangeDateSelectionModel, MatSingleDateSelectionModel, MatStartDate, MatYearView, MaxRangeDirective, MaxRangeSelectionStrategy, MenuDTO, MenuTypeEnum, MessageDTO, MessageService, MonthPickerModel, MonthYear, MonthYearPickerComponent, MonthYearPickerModule, MultitenantModel, NativeDateAdapter, NavService, NumberUtil, ObjectUtil, OverlayPanelComponent, POINTS_NAME, PageDTO, PasswordUtil, Permission, PermissionGuard, PhoneMaskDirective, PhoneUtil, Platform, PopoverComponent, PopoverRef, PopoverService, PresetRangeComponent, PublicGuard, RadioButtonEnum, RadioGroupEntityComponent, RadioGroupEnumComponent, RangePage, Role, SelectButtonAddComponent, SelectButtonNextBatchComponent, SelectEntityComponent, SelectEntityPagedComponent, SelectEnumComponent, SelectMonthPeriodComponent, SelectNoEntriesFoundDirective, SelectSearchClearDirective, SelectSearchComponent, SharedModule, SlideToggleComponent, SortDTO, SortDirectionEnum, SortModel, StepperComponent, StringUtil, SvgRegisterService, TabDTO, TabModel, TableColumnBuilder, TableColumnBuilderModel, TableColumnDTO, TableColumnModel, TableComponent, TableScrolledComponent, TimeUtil, TokenDTO, URLParamsUtil, UUIDUtil, customCurrencyMaskConfig, getReflectType, gridResponsiveMap, matDatepickerAnimations, nextUniqueId$l as nextUniqueId, siderResponsiveMap, transformPopover, yearsPerPage$1 as yearsPerPage, yearsPerRow, ƟCMP, ƟFAC, ƟPROV, ɵ0$3 as ɵ0, MAT_DATE_RANGE_INPUT_PARENT as ɵa, MAT_CALENDAR_RANGE_STRATEGY_PROVIDER_FACTORY as ɵb, MAT_CALENDAR_RANGE_STRATEGY_PROVIDER as ɵc, MatDatepickerBase as ɵd, MAT_FORM_FIELD as ɵe, MatDatepickerInputBase as ɵf, GIPINgConfig as ɵg, GIPIChipsComponent as ɵh, GIPIFileDragAndDropDirective as ɵi, TextareaComponent as ɵj, UpperCaseDirective as ɵk, LowerCaseDirective as ɵl, SpaceDropDirective as ɵm, InputSelectInfiniteScrollDirective as ɵn, ITSS_SELECT_SEARCH_DEFAULT_OPTIONS as ɵo, MaterialModule as ɵq, DatepickerComponent as ɵr };
|
26382
26796
|
//# sourceMappingURL=gipisistemas-ng-core.js.map
|