@gipisistemas/ng-core 1.1.5 → 1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- package/bundles/gipisistemas-ng-core.umd.js +350 -191
- package/bundles/gipisistemas-ng-core.umd.js.map +1 -1
- package/bundles/gipisistemas-ng-core.umd.min.js +8 -8
- package/bundles/gipisistemas-ng-core.umd.min.js.map +1 -1
- package/core/guards/auth.guard.d.ts +3 -3
- package/core/guards/permission.guard.d.ts +3 -3
- package/core/guards/public.guard.d.ts +3 -3
- package/core/models/dto/confirmation.dto.d.ts +1 -1
- package/core/models/dto/dialog.dto.d.ts +4 -4
- package/core/models/dto/menu.dto.d.ts +1 -0
- package/core/services/dialog.service.d.ts +5 -1
- package/core/services/message.service.d.ts +1 -1
- package/core/services/nav.service.d.ts +1 -1
- package/core/services/svg-register.service.d.ts +7 -1
- package/esm2015/core/gipi-components/services/file.service.js +2 -4
- package/esm2015/core/guards/auth.guard.js +13 -14
- package/esm2015/core/guards/permission.guard.js +12 -13
- package/esm2015/core/guards/public.guard.js +12 -13
- package/esm2015/core/models/dto/confirmation.dto.js +1 -5
- package/esm2015/core/models/dto/dialog.dto.js +1 -1
- package/esm2015/core/models/dto/menu.dto.js +2 -1
- package/esm2015/core/services/authentication.service.js +5 -6
- package/esm2015/core/services/breakpoint-observer.service.js +2 -4
- package/esm2015/core/services/confirmation.service.js +2 -4
- package/esm2015/core/services/dialog.service.js +54 -14
- package/esm2015/core/services/message.service.js +3 -5
- package/esm2015/core/services/nav.service.js +2 -4
- package/esm2015/core/services/svg-register.service.js +16 -5
- package/esm2015/shared/components/checkbox/checkbox.component.js +15 -11
- package/esm2015/shared/components/input/input.component.js +1 -1
- package/esm2015/shared/components/input-currency/input-currency.component.js +1 -1
- package/esm2015/shared/components/input-file/input-file.component.js +1 -1
- package/esm2015/shared/components/popover/popover.service.js +6 -7
- package/esm2015/shared/components/radio-group-entity/radio-group-entity.component.js +1 -1
- package/esm2015/shared/components/radio-group-enum/radio-group-enum.component.js +1 -1
- package/esm2015/shared/components/select-entity/select-entity.component.js +1 -1
- package/esm2015/shared/components/select-entity-paged/select-entity-paged.component.js +3 -3
- package/esm2015/shared/components/select-entity-paged/shared/default-options.js +1 -2
- package/esm2015/shared/components/select-entity-paged/shared/select-search/select-search.component.js +2 -8
- package/esm2015/shared/components/select-enum/select-enum.component.js +1 -1
- package/esm2015/shared/components/select-month-period/select-month-period.component.js +1 -1
- package/esm2015/shared/components/table/table.component.js +28 -9
- package/esm2015/shared/components/textarea/textarea.component.js +1 -1
- package/esm2015/shared/gipi-components/abstract-form/abstract-form.component.js +65 -3
- package/esm2015/shared/gipi-components/confirmation-dialog/confirmation-dialog.component.js +3 -3
- package/esm2015/shared/gipi-components/datepicker/date-range-picker/date-range-picker.component.js +1 -1
- package/esm2015/shared/gipi-components/datepicker/datepicker/datepicker.component.js +1 -1
- package/esm2015/shared/gipi-components/dropdown-menu/dropdown-menu.component.js +1 -1
- package/esm2015/shared/gipi-components/form-field/form-field.component.js +1 -1
- package/esm2015/shared/gipi-components/input-checkbox/input-checkbox.component.js +1 -1
- package/esm2015/shared/gipi-components/input-currency/input-currency.component.js +1 -1
- package/esm2015/shared/gipi-components/input-monthpicker/input-monthpicker.component.js +1 -1
- package/esm2015/shared/gipi-components/input-select/input-select.component.js +1 -1
- package/esm2015/shared/gipi-components/input-select-enum/input-select-enum.component.js +1 -1
- package/esm2015/shared/gipi-components/input-select-listbox/input-select-listbox.component.js +1 -1
- package/esm2015/shared/gipi-components/input-select-paged/input-search/input-search.component.js +2 -2
- package/esm2015/shared/gipi-components/input-select-paged/input-select-paged.component.js +1 -1
- package/esm2015/shared/gipi-components/input-select-radio/input-select-radio.component.js +1 -1
- package/esm2015/shared/gipi-components/layout-grid/services/breakpoint.service.js +2 -4
- package/esm2015/shared/gipi-components/layout-grid/services/resize.service.js +2 -4
- package/esm2015/shared/gipi-components/month-year-picker/month-year-picker.component.js +3 -3
- package/esm2015/shared/gipi-components/radio-group/radio-group.component.js +1 -1
- package/esm2015/shared/gipi-components/select/select.component.js +1 -1
- package/esm2015/shared/gipi-components/sidebar/sidenav/sidenav.component.js +33 -10
- package/esm2015/shared/gipi-components/tabs/tab/tab.component.js +13 -1
- package/esm2015/shared/gipi-components/tabs/tab-group/tab-group.component.js +18 -4
- package/esm2015/shared/gipi-components/textarea/textarea.component.js +1 -1
- package/esm5/core/gipi-components/services/file.service.js +2 -4
- package/esm5/core/guards/auth.guard.js +13 -14
- package/esm5/core/guards/permission.guard.js +12 -13
- package/esm5/core/guards/public.guard.js +12 -13
- package/esm5/core/models/dto/confirmation.dto.js +2 -4
- package/esm5/core/models/dto/dialog.dto.js +1 -1
- package/esm5/core/models/dto/menu.dto.js +2 -1
- package/esm5/core/services/authentication.service.js +5 -6
- package/esm5/core/services/breakpoint-observer.service.js +2 -4
- package/esm5/core/services/confirmation.service.js +2 -4
- package/esm5/core/services/dialog.service.js +54 -14
- package/esm5/core/services/message.service.js +3 -5
- package/esm5/core/services/nav.service.js +2 -4
- package/esm5/core/services/svg-register.service.js +16 -5
- package/esm5/shared/components/checkbox/checkbox.component.js +15 -11
- package/esm5/shared/components/input/input.component.js +1 -1
- package/esm5/shared/components/input-currency/input-currency.component.js +1 -1
- package/esm5/shared/components/input-file/input-file.component.js +1 -1
- package/esm5/shared/components/popover/popover.service.js +6 -7
- package/esm5/shared/components/radio-group-entity/radio-group-entity.component.js +1 -1
- package/esm5/shared/components/radio-group-enum/radio-group-enum.component.js +1 -1
- package/esm5/shared/components/select-entity/select-entity.component.js +1 -1
- package/esm5/shared/components/select-entity-paged/select-entity-paged.component.js +3 -3
- package/esm5/shared/components/select-entity-paged/shared/default-options.js +1 -2
- package/esm5/shared/components/select-entity-paged/shared/select-search/select-search.component.js +2 -8
- package/esm5/shared/components/select-enum/select-enum.component.js +1 -1
- package/esm5/shared/components/select-month-period/select-month-period.component.js +1 -1
- package/esm5/shared/components/table/table.component.js +28 -9
- package/esm5/shared/components/textarea/textarea.component.js +1 -1
- package/esm5/shared/gipi-components/abstract-form/abstract-form.component.js +66 -3
- package/esm5/shared/gipi-components/confirmation-dialog/confirmation-dialog.component.js +3 -3
- package/esm5/shared/gipi-components/datepicker/date-range-picker/date-range-picker.component.js +1 -1
- package/esm5/shared/gipi-components/datepicker/datepicker/datepicker.component.js +1 -1
- package/esm5/shared/gipi-components/dropdown-menu/dropdown-menu.component.js +1 -1
- package/esm5/shared/gipi-components/form-field/form-field.component.js +1 -1
- package/esm5/shared/gipi-components/input-checkbox/input-checkbox.component.js +1 -1
- package/esm5/shared/gipi-components/input-currency/input-currency.component.js +1 -1
- package/esm5/shared/gipi-components/input-monthpicker/input-monthpicker.component.js +1 -1
- package/esm5/shared/gipi-components/input-select/input-select.component.js +1 -1
- package/esm5/shared/gipi-components/input-select-enum/input-select-enum.component.js +1 -1
- package/esm5/shared/gipi-components/input-select-listbox/input-select-listbox.component.js +1 -1
- package/esm5/shared/gipi-components/input-select-paged/input-search/input-search.component.js +2 -2
- package/esm5/shared/gipi-components/input-select-paged/input-select-paged.component.js +1 -1
- package/esm5/shared/gipi-components/input-select-radio/input-select-radio.component.js +1 -1
- package/esm5/shared/gipi-components/layout-grid/services/breakpoint.service.js +2 -4
- package/esm5/shared/gipi-components/layout-grid/services/resize.service.js +2 -4
- package/esm5/shared/gipi-components/month-year-picker/month-year-picker.component.js +3 -3
- package/esm5/shared/gipi-components/radio-group/radio-group.component.js +1 -1
- package/esm5/shared/gipi-components/select/select.component.js +1 -1
- package/esm5/shared/gipi-components/sidebar/sidenav/sidenav.component.js +38 -10
- package/esm5/shared/gipi-components/tabs/tab/tab.component.js +13 -1
- package/esm5/shared/gipi-components/tabs/tab-group/tab-group.component.js +18 -4
- package/esm5/shared/gipi-components/textarea/textarea.component.js +1 -1
- package/fesm2015/gipisistemas-ng-core.js +344 -193
- package/fesm2015/gipisistemas-ng-core.js.map +1 -1
- package/fesm5/gipisistemas-ng-core.js +355 -196
- package/fesm5/gipisistemas-ng-core.js.map +1 -1
- package/gipisistemas-ng-core.metadata.json +1 -1
- package/package.json +1 -1
- package/shared/components/checkbox/checkbox.component.d.ts +6 -4
- package/shared/components/popover/popover.service.d.ts +1 -1
- package/shared/components/select-entity-paged/shared/default-options.d.ts +2 -2
- package/shared/components/select-entity-paged/shared/select-search/select-search.component.d.ts +0 -1
- package/shared/gipi-components/abstract-form/abstract-form.component.d.ts +10 -2
- package/shared/gipi-components/sidebar/sidenav/sidenav.component.d.ts +5 -2
- package/shared/gipi-components/tabs/tab/tab.component.d.ts +3 -0
- package/shared/gipi-components/tabs/tab-group/tab-group.component.d.ts +3 -0
@@ -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';
|
@@ -303,8 +303,6 @@ var CheckboxComponent = /** @class */ (function () {
|
|
303
303
|
this.onTouch = function () { };
|
304
304
|
}
|
305
305
|
CheckboxComponent_1 = CheckboxComponent;
|
306
|
-
CheckboxComponent.prototype.ngOnInit = function () {
|
307
|
-
};
|
308
306
|
Object.defineProperty(CheckboxComponent.prototype, "value", {
|
309
307
|
get: function () {
|
310
308
|
return this.val;
|
@@ -317,6 +315,7 @@ var CheckboxComponent = /** @class */ (function () {
|
|
317
315
|
enumerable: false,
|
318
316
|
configurable: true
|
319
317
|
});
|
318
|
+
CheckboxComponent.prototype.ngOnInit = function () { };
|
320
319
|
CheckboxComponent.prototype.registerOnChange = function (fn) {
|
321
320
|
this.onChange = fn;
|
322
321
|
};
|
@@ -327,6 +326,10 @@ var CheckboxComponent = /** @class */ (function () {
|
|
327
326
|
this.value = value;
|
328
327
|
};
|
329
328
|
var CheckboxComponent_1;
|
329
|
+
__decorate([
|
330
|
+
Input(),
|
331
|
+
__metadata("design:type", String)
|
332
|
+
], CheckboxComponent.prototype, "id", void 0);
|
330
333
|
__decorate([
|
331
334
|
Input(),
|
332
335
|
__metadata("design:type", String)
|
@@ -347,6 +350,10 @@ var CheckboxComponent = /** @class */ (function () {
|
|
347
350
|
Input(),
|
348
351
|
__metadata("design:type", Boolean)
|
349
352
|
], CheckboxComponent.prototype, "indeterminate", void 0);
|
353
|
+
__decorate([
|
354
|
+
Input('value'),
|
355
|
+
__metadata("design:type", Object)
|
356
|
+
], CheckboxComponent.prototype, "val", void 0);
|
350
357
|
__decorate([
|
351
358
|
Output(),
|
352
359
|
__metadata("design:type", Object)
|
@@ -355,14 +362,10 @@ var CheckboxComponent = /** @class */ (function () {
|
|
355
362
|
Output(),
|
356
363
|
__metadata("design:type", Object)
|
357
364
|
], CheckboxComponent.prototype, "change", void 0);
|
358
|
-
__decorate([
|
359
|
-
Input('value'),
|
360
|
-
__metadata("design:type", Object)
|
361
|
-
], CheckboxComponent.prototype, "val", void 0);
|
362
365
|
CheckboxComponent = CheckboxComponent_1 = __decorate([
|
363
366
|
Component({
|
364
367
|
selector: 'itss-checkbox',
|
365
|
-
template: "<
|
368
|
+
template: "<mat-checkbox [attr.id]=\"id\"\n [name]=\"name\"\n [(ngModel)]=\"value\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [(indeterminate)]=\"indeterminate\"\n (change)=\"change.emit($event)\">\n {{ label }}\n</mat-checkbox>",
|
366
369
|
providers: [
|
367
370
|
{
|
368
371
|
provide: NG_VALUE_ACCESSOR,
|
@@ -370,8 +373,9 @@ var CheckboxComponent = /** @class */ (function () {
|
|
370
373
|
multi: true
|
371
374
|
}
|
372
375
|
],
|
373
|
-
styles: ["mat-
|
374
|
-
})
|
376
|
+
styles: [":host{display:block;min-width:0;max-width:100%}:host ::ng-deep .mat-checkbox-disabled{cursor:not-allowed;opacity:.6}"]
|
377
|
+
}),
|
378
|
+
__metadata("design:paramtypes", [])
|
375
379
|
], CheckboxComponent);
|
376
380
|
return CheckboxComponent;
|
377
381
|
}());
|
@@ -522,7 +526,7 @@ var InputCurrencyComponent = /** @class */ (function () {
|
|
522
526
|
multi: true
|
523
527
|
}
|
524
528
|
],
|
525
|
-
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}"]
|
529
|
+
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}"]
|
526
530
|
})
|
527
531
|
], InputCurrencyComponent);
|
528
532
|
return InputCurrencyComponent;
|
@@ -923,35 +927,6 @@ var Archive = /** @class */ (function () {
|
|
923
927
|
return Archive;
|
924
928
|
}());
|
925
929
|
|
926
|
-
var AbstractService = /** @class */ (function () {
|
927
|
-
function AbstractService() {
|
928
|
-
this.onDestroy = new Subject();
|
929
|
-
}
|
930
|
-
AbstractService.prototype.ngOnDestroy = function () {
|
931
|
-
this.onDestroy.next();
|
932
|
-
this.onDestroy.complete();
|
933
|
-
};
|
934
|
-
AbstractService.prototype.options = function (params, headers) {
|
935
|
-
return {
|
936
|
-
headers: headers ? headers : this.buildHeaders(),
|
937
|
-
params: params ? params : this.buildParams()
|
938
|
-
};
|
939
|
-
};
|
940
|
-
AbstractService.prototype.buildHeaders = function () {
|
941
|
-
return new HttpHeaders();
|
942
|
-
};
|
943
|
-
AbstractService.prototype.buildParams = function () {
|
944
|
-
return new HttpParams();
|
945
|
-
};
|
946
|
-
AbstractService.prototype.mapper = function (jsonObj) {
|
947
|
-
return jsonObj;
|
948
|
-
};
|
949
|
-
AbstractService.prototype.handleError = function (error) {
|
950
|
-
return throwError(error);
|
951
|
-
};
|
952
|
-
return AbstractService;
|
953
|
-
}());
|
954
|
-
|
955
930
|
var AbstractDTO = /** @class */ (function () {
|
956
931
|
function AbstractDTO() {
|
957
932
|
}
|
@@ -986,6 +961,35 @@ var AlertComponent = /** @class */ (function () {
|
|
986
961
|
return AlertComponent;
|
987
962
|
}());
|
988
963
|
|
964
|
+
var AbstractService = /** @class */ (function () {
|
965
|
+
function AbstractService() {
|
966
|
+
this.onDestroy = new Subject();
|
967
|
+
}
|
968
|
+
AbstractService.prototype.ngOnDestroy = function () {
|
969
|
+
this.onDestroy.next();
|
970
|
+
this.onDestroy.complete();
|
971
|
+
};
|
972
|
+
AbstractService.prototype.options = function (params, headers) {
|
973
|
+
return {
|
974
|
+
headers: headers ? headers : this.buildHeaders(),
|
975
|
+
params: params ? params : this.buildParams()
|
976
|
+
};
|
977
|
+
};
|
978
|
+
AbstractService.prototype.buildHeaders = function () {
|
979
|
+
return new HttpHeaders();
|
980
|
+
};
|
981
|
+
AbstractService.prototype.buildParams = function () {
|
982
|
+
return new HttpParams();
|
983
|
+
};
|
984
|
+
AbstractService.prototype.mapper = function (jsonObj) {
|
985
|
+
return jsonObj;
|
986
|
+
};
|
987
|
+
AbstractService.prototype.handleError = function (error) {
|
988
|
+
return throwError(error);
|
989
|
+
};
|
990
|
+
return AbstractService;
|
991
|
+
}());
|
992
|
+
|
989
993
|
var MessageService = /** @class */ (function (_super) {
|
990
994
|
__extends(MessageService, _super);
|
991
995
|
function MessageService(snackBar) {
|
@@ -1006,9 +1010,7 @@ var MessageService = /** @class */ (function (_super) {
|
|
1006
1010
|
]; };
|
1007
1011
|
MessageService.ngInjectableDef = ɵɵdefineInjectable({ factory: function MessageService_Factory() { return new MessageService(ɵɵinject(MatSnackBar$1)); }, token: MessageService, providedIn: "root" });
|
1008
1012
|
MessageService = __decorate([
|
1009
|
-
Injectable({
|
1010
|
-
providedIn: 'root'
|
1011
|
-
}),
|
1013
|
+
Injectable({ providedIn: 'root' }),
|
1012
1014
|
__metadata("design:paramtypes", [MatSnackBar])
|
1013
1015
|
], MessageService);
|
1014
1016
|
return MessageService;
|
@@ -1161,7 +1163,7 @@ var InputFileComponent = /** @class */ (function (_super) {
|
|
1161
1163
|
Component({
|
1162
1164
|
selector: 'itss-input-file',
|
1163
1165
|
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>",
|
1164
|
-
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}"]
|
1166
|
+
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}"]
|
1165
1167
|
}),
|
1166
1168
|
__metadata("design:paramtypes", [MessageService,
|
1167
1169
|
Router,
|
@@ -1578,7 +1580,7 @@ var InputComponent = /** @class */ (function () {
|
|
1578
1580
|
multi: true
|
1579
1581
|
}
|
1580
1582
|
],
|
1581
|
-
styles: ["mat-label span{color:#d14014!important}"]
|
1583
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#d14014!important}"]
|
1582
1584
|
}),
|
1583
1585
|
__metadata("design:paramtypes", [ElementRef,
|
1584
1586
|
ChangeDetectorRef])
|
@@ -2828,7 +2830,7 @@ var RadioGroupEntityComponent = /** @class */ (function () {
|
|
2828
2830
|
multi: true
|
2829
2831
|
}
|
2830
2832
|
],
|
2831
|
-
styles: ["mat-label span{color:#f44336!important}"]
|
2833
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#f44336!important}"]
|
2832
2834
|
})
|
2833
2835
|
], RadioGroupEntityComponent);
|
2834
2836
|
return RadioGroupEntityComponent;
|
@@ -2974,7 +2976,7 @@ var RadioGroupEnumComponent = /** @class */ (function () {
|
|
2974
2976
|
],
|
2975
2977
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
2976
2978
|
host: { 'class': 'itss-element' },
|
2977
|
-
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}"]
|
2979
|
+
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}"]
|
2978
2980
|
}),
|
2979
2981
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
2980
2982
|
], RadioGroupEnumComponent);
|
@@ -3410,7 +3412,7 @@ var SelectEntityPagedComponent = /** @class */ (function () {
|
|
3410
3412
|
SelectEntityPagedComponent = SelectEntityPagedComponent_1 = __decorate([
|
3411
3413
|
Component({
|
3412
3414
|
selector: 'itss-select-entity-paged',
|
3413
|
-
template: "<div fxLayout=\"column\"\n [attr.id]=\"id\"\n [attr.name]=\"name\">\n <mat-label *ngIf=\"label\">\n {{ label }}\n <span *ngIf=\"required && label\">*</span>\n </mat-label>\n <mat-form-field #formFieldSelect\n [appearance]=\"appearance\"\n class=\"mat-form-field-select\">\n <mat-icon *ngIf=\"iconPrefix || svgIconPrefix\"\n matPrefix\n [svgIcon]=\"svgIconPrefix ? svgIconPrefix : ''\">\n {{ !svgIconPrefix && iconPrefix ? iconPrefix : '' }}\n </mat-icon>\n\n <mat-select #matSelect\n [placeholder]=\"placeholder\"\n [compareWith]=\"compareFn\"\n [(ngModel)]=\"model\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n disableOptionCentering=\"true\"\n [panelClass]=\"'select-position ' + classSelectPanel\"\n itssInfiniteScroll\n (infiniteScroll)=\"onLoadMoreOptions(true)\"\n [complete]=\"options?.length === page?.totalElements\"\n (selectionChange)=\"onSelectionChange($event.value)\"\n (openedChange)=\"initLoaded && onLoadMoreOptions(false, $event); openedChange.emit($event)\">\n <mat-option *ngIf=\"!hideFieldSearch\">\n <itss-input-search placeholderLabel=\"Pesquisar...\"\n
|
3415
|
+
template: "<div fxLayout=\"column\"\n [attr.id]=\"id\"\n [attr.name]=\"name\">\n <mat-label *ngIf=\"label\">\n {{ label }}\n <span *ngIf=\"required && label\">*</span>\n </mat-label>\n <mat-form-field #formFieldSelect\n [appearance]=\"appearance\"\n class=\"mat-form-field-select\">\n <mat-icon *ngIf=\"iconPrefix || svgIconPrefix\"\n matPrefix\n [svgIcon]=\"svgIconPrefix ? svgIconPrefix : ''\">\n {{ !svgIconPrefix && iconPrefix ? iconPrefix : '' }}\n </mat-icon>\n\n <mat-select #matSelect\n [placeholder]=\"placeholder\"\n [compareWith]=\"compareFn\"\n [(ngModel)]=\"model\"\n [required]=\"required\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n disableOptionCentering=\"true\"\n [panelClass]=\"'select-position ' + classSelectPanel\"\n itssInfiniteScroll\n (infiniteScroll)=\"onLoadMoreOptions(true)\"\n [complete]=\"options?.length === page?.totalElements\"\n (selectionChange)=\"onSelectionChange($event.value)\"\n (openedChange)=\"initLoaded && onLoadMoreOptions(false, $event); openedChange.emit($event)\">\n <mat-option *ngIf=\"!hideFieldSearch\">\n <itss-input-search placeholderLabel=\"Pesquisar...\"\n noEntriesFoundLabel=\"Nenhum registro encontrado\"\n [enableClearOnEscapePressed]=\"true\"\n [disableScrollToActiveOnOptionsChanged]=\"true\"\n [preventHomeEndKeyPropagation]=\"true\"\n [disableScrollToActiveOnOptionsChanged]=\"true\"\n [enableClearOnEscapePressed]=\"true\"\n [clearSearchInput]=\"true\"\n [formControl]=\"valueSearchCtrl\"\n [closeIcon]=\"closeIcon\"\n [closeSvgIcon]=\"closeSvgIcon\"\n [searching]=\"searching\"\n [showToggleAllCheckbox]=\"multiple\"\n [toggleAllCheckboxChecked]=\"toggleAllCheckboxChecked\"\n [toggleAllCheckboxIndeterminate]=\"toggleAllCheckboxIndeterminate\"\n (toggleAll)=\"onToggleAllSelection($event)\">\n </itss-input-search>\n </mat-option>\n\n <mat-select-trigger *ngIf=\"multiple\">\n {{ modelValue ? getPropertyValue(modelValue[0]) : '' }}\n <span *ngIf=\"modelValue?.length > 1\"\n class=\"mat-select-additional-selection\">\n (+{{ modelValue.length - 1 }} {{ modelValue?.length === 2 ? 'outro' : 'outros' }})\n </span>\n </mat-select-trigger>\n\n <mat-option *ngIf=\"!multiple; else optionSelectedMultiple\"\n [value]=\"model\"\n [style.height.px]=\"0\">\n {{ getPropertyValue(model) }}\n </mat-option>\n\n <ng-template #optionSelectedMultiple>\n <mat-option *ngFor=\"let m of model; trackBy: trackByOption\"\n [value]=\"m\"\n [style.height.px]=\"0\">\n {{ getPropertyValue(m) }}\n </mat-option>\n </ng-template>\n\n <cdk-virtual-scroll-viewport itemSize=\"5\"\n [style.height.em]=\"scrollViewportHeight\"\n class=\"virtual-scroll-viewport\">\n <mat-option *cdkVirtualFor=\"let option of options; trackBy: trackByOption\"\n [value]=\"option\"\n (click)=\"onToggleIndeterminateAllSelection()\">\n {{ getPropertyValue(option) }}\n </mat-option>\n </cdk-virtual-scroll-viewport>\n\n <div *ngIf=\"searching\"\n class=\"mat-select-search-loading\">\n <div class=\"dot-pulse\"> </div>\n </div>\n\n <mat-option *ngIf=\"showButtonAdd && !searching\"\n class=\"mat-option-button-add\"\n [disabled]=\"true\"\n aria-hidden=\"true\">\n <gipi-button label=\"Adicionar\"\n gipi-primary\n (click)=\"onClickAdd(); $event.stopPropagation()\"\n fxFlex>\n </gipi-button>\n </mat-option>\n </mat-select>\n\n <mat-icon *ngIf=\"showClearOptionButton()\"\n matSuffix\n (click)=\"removeOption(); $event.stopPropagation()\"\n matTooltip=\"Remover selecionado\">\n close\n </mat-icon>\n </mat-form-field>\n</div>",
|
3414
3416
|
providers: [
|
3415
3417
|
{
|
3416
3418
|
provide: NG_VALUE_ACCESSOR,
|
@@ -3418,7 +3420,7 @@ var SelectEntityPagedComponent = /** @class */ (function () {
|
|
3418
3420
|
multi: true
|
3419
3421
|
}
|
3420
3422
|
],
|
3421
|
-
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}"]
|
3423
|
+
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}"]
|
3422
3424
|
}),
|
3423
3425
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
3424
3426
|
], SelectEntityPagedComponent);
|
@@ -3589,7 +3591,6 @@ var SelectSearchClearDirective = /** @class */ (function () {
|
|
3589
3591
|
|
3590
3592
|
/** Lista de entradas de ItssSelectSearchComponent que podem ser configuradas com um padrão global. */
|
3591
3593
|
var configurableDefaultOptions = [
|
3592
|
-
'ariaLabel',
|
3593
3594
|
'clearSearchInput',
|
3594
3595
|
'closeIcon',
|
3595
3596
|
'closeSvgIcon',
|
@@ -3661,8 +3662,6 @@ var SelectSearchComponent = /** @class */ (function () {
|
|
3661
3662
|
this.preventHomeEndKeyPropagation = false;
|
3662
3663
|
// Desativa a rolagem para as opções ativas quando a lista de opções é alterada. Útil para pesquisa do lado do servidor
|
3663
3664
|
this.disableScrollToActiveOnOptionsChanged = false;
|
3664
|
-
// Adiciona suporte a leitor de tela 508 para caixa de pesquisa
|
3665
|
-
this.ariaLabel = 'Pesquisa suspensa';
|
3666
3665
|
// Se deve mostrar a caixa de seleção Selecionar tudo (para mat-select[multi=true])
|
3667
3666
|
this.showToggleAllCheckbox = false;
|
3668
3667
|
// Selecione tudo caixa de seleção marcada estado
|
@@ -4114,10 +4113,6 @@ var SelectSearchComponent = /** @class */ (function () {
|
|
4114
4113
|
Input(),
|
4115
4114
|
__metadata("design:type", Boolean)
|
4116
4115
|
], SelectSearchComponent.prototype, "disableScrollToActiveOnOptionsChanged", void 0);
|
4117
|
-
__decorate([
|
4118
|
-
Input(),
|
4119
|
-
__metadata("design:type", String)
|
4120
|
-
], SelectSearchComponent.prototype, "ariaLabel", void 0);
|
4121
4116
|
__decorate([
|
4122
4117
|
Input(),
|
4123
4118
|
__metadata("design:type", Boolean)
|
@@ -4175,7 +4170,7 @@ var SelectSearchComponent = /** @class */ (function () {
|
|
4175
4170
|
SelectSearchComponent = SelectSearchComponent_1 = __decorate([
|
4176
4171
|
Component({
|
4177
4172
|
selector: 'itss-input-search',
|
4178
|
-
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\"
|
4173
|
+
template: "<!-- Espa\u00E7o reservado para ajustar o deslocamento vertical dos elementos mat-option -->\n<input matInput\n class=\"mat-select-search-input mat-select-search-hidden\" />\n\n<!-- Note: o mat-datepicker-content mat-tab-header \u00E9 necess\u00E1rio para herdar as cores do tema do material, consulte PR n\u00BA 22 -->\n<div #innerSelectSearch\n class=\"mat-select-search-inner mat-typography mat-datepicker-content mat-tab-header\"\n [ngClass]=\"{'mat-select-search-inner-multiple': matSelect.multiple, 'mat-select-search-inner-toggle-all': _isToggleAllCheckboxVisible() }\">\n\n <mat-checkbox *ngIf=\"_isToggleAllCheckboxVisible()\"\n class=\"mat-select-search-toggle-all-checkbox\"\n color=\"primary\"\n [color]=\"matFormField?.color\"\n [disabled]=\"searching\"\n [matTooltip]=\"toggleAllCheckboxTooltipMessage\"\n matTooltipClass=\"ngx-mat-select-search-toggle-all-tooltip\"\n [matTooltipPosition]=\"toggleAllCheckboxTooltipPosition\"\n [(ngModel)]=\"toggleAllCheckboxChecked\"\n [(indeterminate)]=\"toggleAllCheckboxIndeterminate\">\n </mat-checkbox>\n\n <input class=\"mat-select-search-input mat-input-element\"\n autocomplete=\"off\"\n [type]=\"type\"\n [formControl]=\"_formControl\"\n #searchSelectInput\n (keydown)=\"_handleKeydown($event)\"\n (keyup)=\"_handleKeyup($event)\"\n (blur)=\"onBlur()\"\n [placeholder]=\"placeholderLabel\">\n\n <mat-spinner *ngIf=\"searching\"\n class=\"mat-select-search-spinner\"\n diameter=\"16\">\n </mat-spinner>\n\n <button *ngIf=\"!hideClearSearchButton && value && !searching\"\n mat-icon-button\n aria-label=\"Clear\"\n (click)=\"_reset(true)\"\n class=\"mat-select-search-clear\">\n <ng-content *ngIf=\"clearIcon; else defaultIcon\"\n select=\"[itssSelectSearchClear]\">\n </ng-content>\n\n <ng-template #defaultIcon>\n <mat-icon [svgIcon]=\"closeSvgIcon\">\n {{ !closeSvgIcon ? closeIcon : null }}\n </mat-icon>\n </ng-template>\n </button>\n\n <ng-content select=\".mat-select-search-custom-header-content\"> </ng-content>\n\n <mat-divider> </mat-divider>\n</div>\n\n<div *ngIf=\"(_showNoEntriesFound$ | async) && !searching\"\n class=\"mat-select-search-no-entries-found\">\n <ng-content *ngIf=\"noEntriesFound; else defaultNoEntriesFound\"\n select=\"[itssSelectNoEntriesFound]\">\n </ng-content>\n\n <ng-template #defaultNoEntriesFound>\n {{ noEntriesFoundLabel }}\n </ng-template>\n</div>",
|
4179
4174
|
providers: [
|
4180
4175
|
{
|
4181
4176
|
provide: NG_VALUE_ACCESSOR,
|
@@ -4572,7 +4567,7 @@ var SelectEntityComponent = /** @class */ (function () {
|
|
4572
4567
|
Component({
|
4573
4568
|
selector: 'itss-select-entity',
|
4574
4569
|
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",
|
4575
|
-
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}"]
|
4570
|
+
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}"]
|
4576
4571
|
}),
|
4577
4572
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
4578
4573
|
], SelectEntityComponent);
|
@@ -4692,7 +4687,7 @@ var SelectEnumComponent = /** @class */ (function () {
|
|
4692
4687
|
multi: true
|
4693
4688
|
}
|
4694
4689
|
],
|
4695
|
-
styles: ["mat-label span{color:#f44336!important}.select-disabled{cursor:not-allowed}"]
|
4690
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#f44336!important}.select-disabled{cursor:not-allowed}"]
|
4696
4691
|
})
|
4697
4692
|
], SelectEnumComponent);
|
4698
4693
|
return SelectEnumComponent;
|
@@ -4777,7 +4772,7 @@ var SelectMonthPeriodComponent = /** @class */ (function () {
|
|
4777
4772
|
}
|
4778
4773
|
],
|
4779
4774
|
host: { 'class': 'itss-element' },
|
4780
|
-
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}"]
|
4775
|
+
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}"]
|
4781
4776
|
}),
|
4782
4777
|
__metadata("design:paramtypes", [GIPINgConfig])
|
4783
4778
|
], SelectMonthPeriodComponent);
|
@@ -5137,7 +5132,9 @@ var TableComponent = /** @class */ (function () {
|
|
5137
5132
|
enumerable: false,
|
5138
5133
|
configurable: true
|
5139
5134
|
});
|
5140
|
-
TableComponent.prototype.ngOnInit = function () {
|
5135
|
+
TableComponent.prototype.ngOnInit = function () {
|
5136
|
+
this._expandedRows = [];
|
5137
|
+
};
|
5141
5138
|
TableComponent.prototype.ngAfterViewInit = function () {
|
5142
5139
|
var _this = this;
|
5143
5140
|
setTimeout(function () {
|
@@ -5244,15 +5241,32 @@ var TableComponent = /** @class */ (function () {
|
|
5244
5241
|
};
|
5245
5242
|
TableComponent.prototype.toggleExpandRow = function (row) {
|
5246
5243
|
var index = this._expandedRows.findIndex(function (r) { return r === row; });
|
5247
|
-
if (
|
5248
|
-
this.
|
5244
|
+
if (index < 0) { // Se a linha não estiver expandida
|
5245
|
+
if (this.expandableOneRow) {
|
5246
|
+
this._expandedRows = [row];
|
5247
|
+
}
|
5248
|
+
else {
|
5249
|
+
this._expandedRows.push(row);
|
5250
|
+
}
|
5249
5251
|
this.rowExpanded.emit(row);
|
5250
|
-
return;
|
5251
5252
|
}
|
5252
|
-
|
5253
|
-
|
5254
|
-
|
5255
|
-
|
5253
|
+
else { // Se a linha já estiver expandida
|
5254
|
+
var _expandedRowsAux = __spread(this._expandedRows);
|
5255
|
+
_expandedRowsAux.splice(index, 1);
|
5256
|
+
this._expandedRows = __spread(_expandedRowsAux);
|
5257
|
+
this.rowExpanded.emit(null);
|
5258
|
+
}
|
5259
|
+
// Logica anterior, qualquer problema voltar, pois funcionava bem
|
5260
|
+
// const index: number = this._expandedRows.findIndex(r => r === row);
|
5261
|
+
// if (ArrayUtil.isEmpty(this._expandedRows) || (index < 0)) {
|
5262
|
+
// this._expandedRows = [row];
|
5263
|
+
// this.rowExpanded.emit(row);
|
5264
|
+
// return;
|
5265
|
+
// }
|
5266
|
+
// const _expandedRowsAux: T[] = ArrayUtil.clone(this._expandedRows);
|
5267
|
+
// _expandedRowsAux.splice(index, 1);
|
5268
|
+
// this._expandedRows = ArrayUtil.clone(_expandedRowsAux);
|
5269
|
+
// this.rowExpanded.emit(null);
|
5256
5270
|
};
|
5257
5271
|
TableComponent.prototype.sortData = function (sort) {
|
5258
5272
|
if (this.infiniteScroll) {
|
@@ -5820,7 +5834,7 @@ var TextareaComponent = /** @class */ (function () {
|
|
5820
5834
|
multi: true
|
5821
5835
|
}
|
5822
5836
|
],
|
5823
|
-
styles: ["mat-label span{color:#f44336!important}"]
|
5837
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}mat-label span{color:#f44336!important}"]
|
5824
5838
|
}),
|
5825
5839
|
__metadata("design:paramtypes", [])
|
5826
5840
|
], TextareaComponent);
|
@@ -6479,9 +6493,7 @@ var GIPIResizeService = /** @class */ (function () {
|
|
6479
6493
|
]; };
|
6480
6494
|
GIPIResizeService.ngInjectableDef = ɵɵdefineInjectable({ factory: function GIPIResizeService_Factory() { return new GIPIResizeService(ɵɵinject(NgZone), ɵɵinject(RendererFactory2)); }, token: GIPIResizeService, providedIn: "root" });
|
6481
6495
|
GIPIResizeService = __decorate([
|
6482
|
-
Injectable({
|
6483
|
-
providedIn: 'root'
|
6484
|
-
}),
|
6496
|
+
Injectable({ providedIn: 'root' }),
|
6485
6497
|
__metadata("design:paramtypes", [NgZone,
|
6486
6498
|
RendererFactory2])
|
6487
6499
|
], GIPIResizeService);
|
@@ -6559,9 +6571,7 @@ var GIPIBreakpointService = /** @class */ (function () {
|
|
6559
6571
|
]; };
|
6560
6572
|
GIPIBreakpointService.ngInjectableDef = ɵɵdefineInjectable({ factory: function GIPIBreakpointService_Factory() { return new GIPIBreakpointService(ɵɵinject(GIPIResizeService), ɵɵinject(MediaMatcher)); }, token: GIPIBreakpointService, providedIn: "root" });
|
6561
6573
|
GIPIBreakpointService = __decorate([
|
6562
|
-
Injectable({
|
6563
|
-
providedIn: 'root'
|
6564
|
-
}),
|
6574
|
+
Injectable({ providedIn: 'root' }),
|
6565
6575
|
__metadata("design:paramtypes", [GIPIResizeService,
|
6566
6576
|
MediaMatcher])
|
6567
6577
|
], GIPIBreakpointService);
|
@@ -7427,6 +7437,51 @@ var GIPIAbstractFormComponent = /** @class */ (function () {
|
|
7427
7437
|
configurable: true
|
7428
7438
|
});
|
7429
7439
|
GIPIAbstractFormComponent.prototype.ngOnInit = function () { };
|
7440
|
+
GIPIAbstractFormComponent.prototype.ngAfterViewInit = function () {
|
7441
|
+
var _this = this;
|
7442
|
+
if (this.dialog && !ObjectUtil.isNull(this.matDialogContent)) {
|
7443
|
+
var contentElement_1 = this.matDialogContent.nativeElement;
|
7444
|
+
if (!ObjectUtil.isNull(contentElement_1) && this._hasScroll(contentElement_1)) {
|
7445
|
+
contentElement_1.scrollTop = 0;
|
7446
|
+
this.matDialogActions.nativeElement.style.boxShadow = '0px -10px 15px -3px rgba(0,0,0,0.1)';
|
7447
|
+
contentElement_1.addEventListener('scroll', function () { return _this._onScroll(contentElement_1); });
|
7448
|
+
}
|
7449
|
+
else {
|
7450
|
+
this._removeShadows();
|
7451
|
+
}
|
7452
|
+
}
|
7453
|
+
};
|
7454
|
+
GIPIAbstractFormComponent.prototype._onScroll = function (content) {
|
7455
|
+
var scrollTop = content.scrollTop || 0;
|
7456
|
+
var scrollHeight = (content.scrollHeight - 36) || 0; // 36 é do padding
|
7457
|
+
var clientHeight = content.clientHeight || 0;
|
7458
|
+
if (scrollTop === 0) {
|
7459
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '';
|
7460
|
+
this.matDialogActions.nativeElement.style.boxShadow = '0px -10px 15px -3px rgba(0,0,0,0.1)';
|
7461
|
+
}
|
7462
|
+
else if ((scrollTop + clientHeight) >= scrollHeight) {
|
7463
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '0px 10px 15px -3px rgba(0,0,0,0.1)';
|
7464
|
+
this.matDialogActions.nativeElement.style.boxShadow = '';
|
7465
|
+
}
|
7466
|
+
else {
|
7467
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '0px 10px 15px -3px rgba(0,0,0,0.1)';
|
7468
|
+
this.matDialogActions.nativeElement.style.boxShadow = '0px -10px 15px -3px rgba(0,0,0,0.1)';
|
7469
|
+
}
|
7470
|
+
};
|
7471
|
+
GIPIAbstractFormComponent.prototype._hasScroll = function (matDialogContent) {
|
7472
|
+
if (ObjectUtil.isNull(matDialogContent)) {
|
7473
|
+
return false;
|
7474
|
+
}
|
7475
|
+
return (matDialogContent.scrollHeight > matDialogContent.clientHeight);
|
7476
|
+
};
|
7477
|
+
GIPIAbstractFormComponent.prototype._removeShadows = function () {
|
7478
|
+
if (!ObjectUtil.isNull(this.matDialogTitle)) {
|
7479
|
+
this.matDialogTitle.nativeElement.style.boxShadow = '';
|
7480
|
+
}
|
7481
|
+
if (!ObjectUtil.isNull(this.matDialogActions)) {
|
7482
|
+
this.matDialogActions.nativeElement.style.boxShadow = '';
|
7483
|
+
}
|
7484
|
+
};
|
7430
7485
|
var GIPIAbstractFormComponent_1;
|
7431
7486
|
__decorate([
|
7432
7487
|
HostBinding('attr.id'),
|
@@ -7445,6 +7500,18 @@ var GIPIAbstractFormComponent = /** @class */ (function () {
|
|
7445
7500
|
ContentChildren(GIPIActionRowComponent),
|
7446
7501
|
__metadata("design:type", GIPIActionRowComponent)
|
7447
7502
|
], GIPIAbstractFormComponent.prototype, "GIPIActionRowComponent", void 0);
|
7503
|
+
__decorate([
|
7504
|
+
ContentChild(MatDialogTitle, { static: false, read: ElementRef }),
|
7505
|
+
__metadata("design:type", ElementRef)
|
7506
|
+
], GIPIAbstractFormComponent.prototype, "matDialogTitle", void 0);
|
7507
|
+
__decorate([
|
7508
|
+
ContentChild(MatDialogContent, { static: false, read: ElementRef }),
|
7509
|
+
__metadata("design:type", ElementRef)
|
7510
|
+
], GIPIAbstractFormComponent.prototype, "matDialogContent", void 0);
|
7511
|
+
__decorate([
|
7512
|
+
ContentChild(MatDialogActions, { static: false, read: ElementRef }),
|
7513
|
+
__metadata("design:type", ElementRef)
|
7514
|
+
], GIPIAbstractFormComponent.prototype, "matDialogActions", void 0);
|
7448
7515
|
__decorate([
|
7449
7516
|
Input(),
|
7450
7517
|
__metadata("design:type", String),
|
@@ -7483,11 +7550,15 @@ var GIPIAbstractFormComponent = /** @class */ (function () {
|
|
7483
7550
|
Input(),
|
7484
7551
|
__metadata("design:type", Boolean)
|
7485
7552
|
], GIPIAbstractFormComponent.prototype, "loading", void 0);
|
7553
|
+
__decorate([
|
7554
|
+
Input(),
|
7555
|
+
__metadata("design:type", String)
|
7556
|
+
], GIPIAbstractFormComponent.prototype, "class", void 0);
|
7486
7557
|
GIPIAbstractFormComponent = GIPIAbstractFormComponent_1 = __decorate([
|
7487
7558
|
Component({
|
7488
7559
|
selector: "gipi-abstract-form",
|
7489
7560
|
exportAs: 'gipiAbstractForm',
|
7490
|
-
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>",
|
7561
|
+
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>",
|
7491
7562
|
providers: [
|
7492
7563
|
{
|
7493
7564
|
provide: NG_VALUE_ACCESSOR,
|
@@ -9324,9 +9395,7 @@ var GIPIChipsComponent = /** @class */ (function () {
|
|
9324
9395
|
var ConfirmationDTO = /** @class */ (function (_super) {
|
9325
9396
|
__extends(ConfirmationDTO, _super);
|
9326
9397
|
function ConfirmationDTO() {
|
9327
|
-
|
9328
|
-
_this.isWarningScreen = false;
|
9329
|
-
return _this;
|
9398
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
9330
9399
|
}
|
9331
9400
|
return ConfirmationDTO;
|
9332
9401
|
}(AbstractDTO));
|
@@ -9349,7 +9418,7 @@ var GIPIConfirmationDialogComponent = /** @class */ (function () {
|
|
9349
9418
|
Component({
|
9350
9419
|
selector: "gipi-confirmation-dialog",
|
9351
9420
|
exportAs: 'gipiConfirmationDialog',
|
9352
|
-
template: "<gipi-abstract-form id=\"dialogConfirmation\"\n name=\"dialogConfirmation\"\n [dialog]=\"true\">\n
|
9421
|
+
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> -->",
|
9353
9422
|
providers: [
|
9354
9423
|
{
|
9355
9424
|
provide: NG_VALUE_ACCESSOR,
|
@@ -9360,7 +9429,7 @@ var GIPIConfirmationDialogComponent = /** @class */ (function () {
|
|
9360
9429
|
host: {
|
9361
9430
|
'class': 'gipi-confirmation-dialog',
|
9362
9431
|
},
|
9363
|
-
styles: [".
|
9432
|
+
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)}"]
|
9364
9433
|
}),
|
9365
9434
|
__param(1, Inject(MAT_DIALOG_DATA)),
|
9366
9435
|
__param(2, Inject(APP_MESSAGES)),
|
@@ -9548,7 +9617,7 @@ var GIPIDropdownMenuComponent = /** @class */ (function () {
|
|
9548
9617
|
'class': 'gipi-dropdown-menu',
|
9549
9618
|
},
|
9550
9619
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
9551
|
-
styles: [".dropdown-menu-container{display:flex;flex-direction:column;gap:
|
9620
|
+
styles: [".dropdown-menu-container{display:flex;flex-direction:column;gap:1rem;width:100%}.dropdown-menu-container .dropdown-menu-label{color:#131313;font-size:1.4rem;line-height:100%}.dropdown-menu-container .dropdown-menu-label>span{color:#d14014;font-size:inherit;line-height:inherit}.dropdown-menu-container .dropdown-menu-content{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:12px;gap:1rem;width:100%;max-height:4rem;border-radius:5px;cursor:pointer;background-color:#fff;border:1px solid rgba(0,0,0,.12);color:#696969;transition:.2s}.dropdown-menu-container .dropdown-menu-content:focus-within,.dropdown-menu-container .dropdown-menu-content:has(.dropdown-menu-input:active),.dropdown-menu-container .dropdown-menu-content:has(.dropdown-menu-input:focus){box-shadow:0 0 0 .2rem #f0f0f0}.dropdown-menu-container .dropdown-menu-content:focus-within,.dropdown-menu-container .dropdown-menu-content:hover{border-color:#bfbfbf!important;background-color:#f5f5f5}.dropdown-menu-container .dropdown-menu-content:has(.dropdown-menu-input:disabled){background-color:#e0e1e2!important;border-color:#e0e1e2!important;color:#d1d2d4!important;box-shadow:none!important;cursor:not-allowed!important;pointer-events:none!important}.dropdown-menu-container .dropdown-menu-content:has(.dropdown-menu-input:disabled) .dropdown-menu-input,.dropdown-menu-container .dropdown-menu-content:has(.dropdown-menu-input:disabled) .dropdown-menu-suffix .dropdown-menu-button{cursor:not-allowed!important;pointer-events:none!important}.dropdown-menu-container .dropdown-menu-content:has(.dropdown-menu-input:disabled) .dropdown-menu-suffix .dropdown-menu-trigger{border-color:#e0e1e2!important;pointer-events:none!important}.dropdown-menu-container .dropdown-menu-content:has(.dropdown-menu-input:disabled) mat-icon{color:#d1d2d4!important;fill:#d1d2d4!important;cursor:not-allowed!important;pointer-events:none!important}.dropdown-menu-container .dropdown-menu-content .dropdown-menu-input{cursor:pointer;height:16px;outline:0;border:none;background-color:transparent;color:inherit;flex:1;max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-menu-container .dropdown-menu-content .dropdown-menu-suffix{display:flex;flex-direction:row;align-items:center;gap:16px}.dropdown-menu-container .dropdown-menu-content .dropdown-menu-suffix .dropdown-menu-trigger{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-inline:8px;border-radius:40px;border:1px solid transparent;color:#131313;background-color:#f0f0f0;font-size:1.2rem;line-height:1.4rem}.dropdown-menu-container .dropdown-menu-content .dropdown-menu-suffix .dropdown-menu-button{display:flex;align-items:center;justify-content:center;outline:0;border:none;cursor:pointer;background-color:transparent}.dropdown-menu-container .dropdown-menu-content .dropdown-menu-suffix .dropdown-menu-button:hover:not(:disabled)>mat-icon{transform:scale(1.08)}.dropdown-menu-icon{width:1.6rem;height:1.6rem;font-size:1.6rem;color:#131313;fill:#131313}.btn-popover-content{background-color:#fff;border-radius:4px;box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);padding:8px}"]
|
9552
9621
|
}),
|
9553
9622
|
__metadata("design:paramtypes", [ChangeDetectorRef,
|
9554
9623
|
ElementRef])
|
@@ -9713,9 +9782,7 @@ var ConfirmationService = /** @class */ (function (_super) {
|
|
9713
9782
|
]; };
|
9714
9783
|
ConfirmationService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ConfirmationService_Factory() { return new ConfirmationService(ɵɵinject(MatDialog$1)); }, token: ConfirmationService, providedIn: "root" });
|
9715
9784
|
ConfirmationService = __decorate([
|
9716
|
-
Injectable({
|
9717
|
-
providedIn: 'root'
|
9718
|
-
}),
|
9785
|
+
Injectable({ providedIn: 'root' }),
|
9719
9786
|
__metadata("design:paramtypes", [MatDialog])
|
9720
9787
|
], ConfirmationService);
|
9721
9788
|
return ConfirmationService;
|
@@ -10259,7 +10326,7 @@ var GIPIFormFieldComponent = /** @class */ (function () {
|
|
10259
10326
|
'class': 'gipi-form-field',
|
10260
10327
|
},
|
10261
10328
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
10262
|
-
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:
|
10329
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.form-field-container{display:flex;flex-direction:column;gap:1rem;width:100%}.form-field-container .form-field-label{color:#131313;font-size:1.4rem;line-height:100%}.form-field-container .form-field-label>span{color:#d14014;font-size:inherit;line-height:inherit}.form-field-container .form-field-content{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:1.2rem;gap:1rem;width:100%;max-height:4rem;border-radius:5px;cursor:text;background-color:#fff;border:1px solid rgba(0,0,0,.12);color:#696969;caret-color:#9a9da2;transition:.2s}.form-field-container .form-field-content:focus-within,.form-field-container .form-field-content:has(.form-field-input:active),.form-field-container .form-field-content:has(.form-field-input:focus){box-shadow:0 0 0 .2rem #f0f0f0}.form-field-container .form-field-content:focus-within,.form-field-container .form-field-content:hover{border-color:#bfbfbf!important}.form-field-container .form-field-content:has(.form-field-input:invalid){border-color:#d14014!important;color:#d14014!important;caret-color:#d14014!important}.form-field-container .form-field-content:has(.form-field-input:invalid):focus-within{box-shadow:0 0 0 .2rem #f1c4b6!important}.form-field-container .form-field-content:has(.form-field-input:disabled){border-color:#e0e1e2!important;color:#d1d2d4!important;box-shadow:none!important;cursor:not-allowed!important;caret-color:#d1d2d4!important;pointer-events:none!important}.form-field-container .form-field-content:has(.form-field-input:disabled) .form-field-input,.form-field-container .form-field-content:has(.form-field-input:disabled) .form-field-suffix .form-field-button{cursor:not-allowed!important;pointer-events:none!important}.form-field-container .form-field-content:has(.form-field-input:disabled) .form-field-suffix .form-field-trigger{border-color:#e0e1e2!important;pointer-events:none!important}.form-field-container .form-field-content:has(.form-field-input:disabled) mat-icon{color:#d1d2d4!important;fill:#d1d2d4!important;cursor:not-allowed!important;pointer-events:none!important}.form-field-container .form-field-content.form-field-select,.form-field-container .form-field-content.form-field-select .form-field-input{box-shadow:none!important;cursor:pointer!important}.form-field-container .form-field-content .form-field-input{height:16px;outline:0;border:none;background-color:transparent;color:inherit;flex:1;max-width:85%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-field-container .form-field-content .form-field-suffix{display:flex;flex-direction:row;align-items:center;gap:1.6rem}.form-field-container .form-field-content .form-field-suffix .form-field-trigger{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-inline:8px;border-radius:40px;border:1px solid transparent;color:#131313;background-color:#f0f0f0;font-size:1.2rem;line-height:1.4rem}.form-field-container .form-field-content .form-field-suffix .form-field-button{display:flex;align-items:center;justify-content:center;outline:0;border:none;cursor:pointer;background-color:transparent}.form-field-container .form-field-content .form-field-suffix .form-field-button:hover:not(:disabled)>mat-icon{transform:scale(1.08)}.form-field-icon{width:1.6rem;height:1.6rem;font-size:1.6rem;color:#131313;fill:#131313}"]
|
10263
10330
|
}),
|
10264
10331
|
__metadata("design:paramtypes", [ChangeDetectorRef,
|
10265
10332
|
ElementRef])
|
@@ -10438,7 +10505,7 @@ var GIPIInputCheckboxComponent = /** @class */ (function () {
|
|
10438
10505
|
'class': 'gipi-input-checkbox',
|
10439
10506
|
},
|
10440
10507
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
10441
|
-
styles: ["::ng-deep .mat-checkbox-disabled{cursor:not-allowed!important}"]
|
10508
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}::ng-deep .mat-checkbox-disabled{cursor:not-allowed!important}"]
|
10442
10509
|
}),
|
10443
10510
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
10444
10511
|
], GIPIInputCheckboxComponent);
|
@@ -10639,7 +10706,7 @@ var GIPIInputCurrencyComponent = /** @class */ (function () {
|
|
10639
10706
|
'class': 'gipi-input-currency',
|
10640
10707
|
},
|
10641
10708
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
10642
|
-
styles: [".input-currency-container{display:flex;flex-direction:column;gap:
|
10709
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.input-currency-container{display:flex;flex-direction:column;gap:1rem;width:100%}.input-currency-container .input-currency-label{color:#131313;font-size:1.4rem;line-height:100%}.input-currency-container .input-currency-label>span{color:#d14014;font-size:inherit;line-height:inherit}.input-currency-container .input-currency-content{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:12px;width:100%;max-height:4rem;border-radius:5px;cursor:text;background-color:#fff;border:1px solid rgba(0,0,0,.12);color:#696969;caret-color:#9a9da2;transition:.2s}.input-currency-container .input-currency-content:focus-within,.input-currency-container .input-currency-content:has(.input-currency-input:active),.input-currency-container .input-currency-content:has(.input-currency-input:focus){box-shadow:0 0 0 .2rem #f0f0f0}.input-currency-container .input-currency-content:focus-within,.input-currency-container .input-currency-content:hover{border-color:#bfbfbf!important}.input-currency-container .input-currency-content:has(.input-currency-input:invalid){border-color:#d14014!important;color:#d14014!important;caret-color:#d14014!important}.input-currency-container .input-currency-content:has(.input-currency-input:invalid):focus-within{box-shadow:0 0 0 .2rem #f1c4b6!important}.input-currency-container .input-currency-content:has(.input-currency-input:disabled){border-color:#e0e1e2!important;color:#d1d2d4!important;box-shadow:none!important;cursor:not-allowed!important;caret-color:#d1d2d4!important;pointer-events:none!important}.input-currency-container .input-currency-content .input-currency-input{height:16px;outline:0;border:none;background-color:transparent;color:inherit;flex:1}"]
|
10643
10710
|
}),
|
10644
10711
|
__metadata("design:paramtypes", [ChangeDetectorRef,
|
10645
10712
|
ElementRef])
|
@@ -11059,7 +11126,7 @@ var GIPIInputMonthPickerComponent = /** @class */ (function () {
|
|
11059
11126
|
'class': 'gipi-input-monthpicker',
|
11060
11127
|
},
|
11061
11128
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
11062
|
-
styles: [".input-monthpicker-container{display:flex;flex-direction:column;gap:
|
11129
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.input-monthpicker-container{display:flex;flex-direction:column;gap:1rem;width:100%}.input-monthpicker-container .input-monthpicker-label{color:#131313;font-size:1.4rem;line-height:100%}.input-monthpicker-container .input-monthpicker-label>span{color:#d14014;font-size:inherit;line-height:inherit}.input-monthpicker-container .input-monthpicker-content{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:12px;width:100%;max-height:4rem;border-radius:5px;cursor:text;background-color:#fff;border:1px solid rgba(0,0,0,.12);color:#696969;caret-color:#9a9da2;transition:.2s;position:relative}.input-monthpicker-container .input-monthpicker-content:focus-within,.input-monthpicker-container .input-monthpicker-content:has(.input-monthpicker-input:active),.input-monthpicker-container .input-monthpicker-content:has(.input-monthpicker-input:focus){box-shadow:0 0 0 .2rem #f0f0f0}.input-monthpicker-container .input-monthpicker-content:focus-within,.input-monthpicker-container .input-monthpicker-content:hover{border-color:#bfbfbf!important}.input-monthpicker-container .input-monthpicker-content:has(.input-monthpicker-input:disabled){border-color:#e0e1e2!important;color:#d1d2d4!important;box-shadow:none!important;cursor:not-allowed!important;caret-color:#d1d2d4!important;pointer-events:none!important}.input-monthpicker-container .input-monthpicker-content:has(.input-monthpicker-input:disabled) .input-monthpicker-input,.input-monthpicker-container .input-monthpicker-content:has(.input-monthpicker-input:disabled) .input-monthpicker-suffix .input-monthpicker-button{cursor:not-allowed!important;pointer-events:none!important}.input-monthpicker-container .input-monthpicker-content:has(.input-monthpicker-input:disabled) .input-monthpicker-suffix .input-monthpicker-trigger{border-color:#e0e1e2!important;pointer-events:none!important}.input-monthpicker-container .input-monthpicker-content:has(.input-monthpicker-input:disabled) mat-icon{color:#d1d2d4!important;fill:#d1d2d4!important;cursor:not-allowed!important;pointer-events:none!important}.input-monthpicker-container .input-monthpicker-content .input-monthpicker-input{height:16px;max-width:84%;outline:0;border:none;background-color:transparent;color:inherit;flex:1}.input-monthpicker-container .input-monthpicker-content .input-monthpicker-suffix{display:flex;flex-direction:row;align-items:center;gap:16px}.input-monthpicker-container .input-monthpicker-content .input-monthpicker-suffix .input-monthpicker-button{display:flex;align-items:center;justify-content:center;outline:0;border:none;cursor:pointer;background-color:transparent}.input-monthpicker-container .input-monthpicker-content .input-monthpicker-suffix .input-monthpicker-button:hover:not(:disabled)>mat-icon{transform:scale(1.08)}.input-monthpicker-icon{width:1.6rem;height:1.6rem;font-size:1.6rem;color:#131313;fill:#131313}::ng-deep .calendar{width:100%;display:flex;flex-direction:column}::ng-deep .calendar .calendar-header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;padding-bottom:10px;border-bottom:1px solid #aeb1b5;margin-bottom:8px}::ng-deep .calendar .calendar-header .calendar-title{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:1.6rem;line-height:1.8rem;font-weight:600;cursor:default;border-radius:8px;padding:8px;white-space:nowrap}::ng-deep .calendar .calendar-header .calendar-title>mat-icon{font-size:2rem;width:20px;height:20px}::ng-deep .calendar .calendar-header .calendar-title.month:hover{cursor:pointer;background-color:#f0f0f0}::ng-deep .calendar .calendar-header .calendar-controls{display:flex;flex-direction:row;align-items:center;gap:8px}::ng-deep .calendar .calendar-header .calendar-controls>button{display:flex;align-items:center;justify-content:center;padding:8px;border-radius:8px;background-color:#e0313e;cursor:pointer;transition:.3s;border:0;outline:0;color:#fff}::ng-deep .calendar .calendar-header .calendar-controls>button:hover{background-color:#cc2d38}::ng-deep .calendar .calendar-header .calendar-controls>button>mat-icon{font-size:1.8rem;width:18px;height:18px}::ng-deep .calendar .table-months{display:-ms-grid;display:grid;-ms-grid-columns:(1fr)[3];grid-template-columns:repeat(3,1fr);gap:4px}::ng-deep .calendar .table-months .month{display:flex;align-items:center;justify-content:center;padding:8px;border-radius:8px;font-size:1.4rem;line-height:1.7rem;color:#555659;background-color:#f0f0f0;transition:background-color .1s;cursor:pointer}::ng-deep .calendar .table-months .month.disabled{color:#bbbdc1;background-color:#e0e1e2}::ng-deep .calendar .table-months .month:not(.disabled).selected,::ng-deep .calendar .table-months .month:not(.disabled):hover{color:#fff;background-color:#e0313e}::ng-deep .calendar .table-months .month:not(.disabled).selected:hover{background-color:#cc2d38}::ng-deep .calendar .table-years{display:-ms-grid;display:grid;-ms-grid-columns:(1fr)[4];grid-template-columns:repeat(4,1fr);gap:4px}::ng-deep .calendar .table-years .year{display:flex;align-items:center;justify-content:center;padding:8px;border-radius:8px;font-size:1.4rem;line-height:1.7rem;color:#555659;background-color:#f0f0f0;transition:background-color .1s;cursor:pointer}::ng-deep .calendar .table-years .year.disabled{color:#bbbdc1;background-color:#e0e1e2}::ng-deep .calendar .table-years .year:not(.disabled).selected,::ng-deep .calendar .table-years .year:not(.disabled):hover{color:#fff;background-color:#e0313e}::ng-deep .calendar .table-years .year:not(.disabled).selected:hover{background-color:#cc2d38}"]
|
11063
11130
|
}),
|
11064
11131
|
__metadata("design:paramtypes", [ChangeDetectorRef,
|
11065
11132
|
GIPINgConfig])
|
@@ -11401,7 +11468,7 @@ var GIPIInputSelectEnumComponent = /** @class */ (function () {
|
|
11401
11468
|
'class': 'gipi-input-select-enum',
|
11402
11469
|
},
|
11403
11470
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
11404
|
-
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:
|
11471
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}::ng-deep .overlay-select{padding:0!important;overflow:hidden!important}::ng-deep .select-virtual-scroll-viewport{width:100%!important;max-height:240px;overflow:auto}::ng-deep .select-virtual-scroll-viewport .cdk-virtual-scroll-content-wrapper{width:100%!important;position:relative!important}::ng-deep .select-virtual-scroll-viewport::-webkit-scrollbar{width:15px}::ng-deep .select-virtual-scroll-viewport::-webkit-scrollbar-thumb{background-color:#e0e1e2;border-radius:10px;border:4px solid transparent;background-clip:padding-box}::ng-deep .select-row{display:flex;align-items:center;padding:0 16px;cursor:pointer;font-size:1.4rem;line-height:100%;gap:1rem}::ng-deep .select-row:hover{background:#f5f5f6}::ng-deep .select-row:active{background:#e0e1e2}.select-not-found{display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:600;font-size:1.2rem;gap:8px;color:#131313;cursor:default;padding:0 0 16px}.select-not-found>mat-icon{width:2.8rem;height:2.8rem;font-size:2.8rem;line-height:2.8rem;color:#131313}.select-loading{height:4.8rem;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:center}.select-loading .dot-pulse{position:relative;left:-9999px;width:5px;height:5px;border-radius:50%;background-color:#e0313e;color:#e0313e;box-shadow:9999px 0 0 -5px;-webkit-animation:1.5s linear .25s infinite dot-pulse;animation:1.5s linear .25s infinite dot-pulse}.select-loading .dot-pulse::after,.select-loading .dot-pulse::before{content:\"\";display:inline-block;position:absolute;top:0;width:5px;height:5px;border-radius:50%;background-color:#e0313e;color:#e0313e}.select-loading .dot-pulse::before{box-shadow:9984px 0 0 -5px;-webkit-animation:1.5s linear infinite dot-pulse-before;animation:1.5s linear infinite dot-pulse-before}.select-loading .dot-pulse::after{box-shadow:10014px 0 0 -5px;-webkit-animation:1.5s linear .5s infinite dot-pulse-after;animation:1.5s linear .5s infinite dot-pulse-after}@-webkit-keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@-webkit-keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@-webkit-keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}@keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}.select-enum-popover-content{background-color:#fff;border-radius:4px;box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);padding:8px}"]
|
11405
11472
|
}),
|
11406
11473
|
__metadata("design:paramtypes", [ElementRef,
|
11407
11474
|
ChangeDetectorRef])
|
@@ -12781,7 +12848,7 @@ var GIPIInputSelectComponent = /** @class */ (function () {
|
|
12781
12848
|
'class': 'gipi-input-select',
|
12782
12849
|
},
|
12783
12850
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
12784
|
-
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:
|
12851
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}::ng-deep .overlay-select{padding:0!important;overflow:hidden!important}::ng-deep .select-virtual-scroll-viewport{width:100%!important;max-height:240px;overflow:auto}::ng-deep .select-virtual-scroll-viewport .cdk-virtual-scroll-content-wrapper{width:100%!important;position:relative!important}::ng-deep .select-virtual-scroll-viewport::-webkit-scrollbar{width:15px}::ng-deep .select-virtual-scroll-viewport::-webkit-scrollbar-thumb{background-color:#e0e1e2;border-radius:10px;border:4px solid transparent;background-clip:padding-box}::ng-deep .select-row{display:flex;align-items:center;padding:0 16px;cursor:pointer;font-size:1.3rem;line-height:100%;gap:1rem}::ng-deep .select-row:hover{background:#f5f5f6}::ng-deep .select-row:active{background:#e0e1e2}::ng-deep .select-row.disabled{background-color:#d1d2d4!important;color:#9a9da2!important;cursor:not-allowed!important;pointer-events:none!important}::ng-deep .select-row>span{display:-webkit-box;line-clamp:2;box-orient:vertical;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-overflow:ellipsis;overflow:hidden}.select-search{display:flex;align-items:center;font-size:1.4rem;line-height:100%;gap:1rem;padding:8px 12px}.select-option-all{border-bottom:1px solid rgba(0,0,0,.12)}.select-not-found{display:flex;flex-direction:column;align-items:center;justify-content:center;font-weight:600;font-size:1.2rem;gap:8px;color:#131313;cursor:default;padding:0 0 16px}.select-not-found>mat-icon{width:2.8rem;height:2.8rem;font-size:2.8rem;line-height:2.8rem;color:#131313}.select-loading{height:4rem;width:100%;background-color:#fff;display:flex;align-items:center;justify-content:center}.select-loading .dot-pulse{position:relative;left:-9999px;width:5px;height:5px;border-radius:50%;background-color:#e0313e;color:#e0313e;box-shadow:9999px 0 0 -5px;-webkit-animation:1.5s linear .25s infinite dot-pulse;animation:1.5s linear .25s infinite dot-pulse}.select-loading .dot-pulse::after,.select-loading .dot-pulse::before{content:\"\";display:inline-block;position:absolute;top:0;width:5px;height:5px;border-radius:50%;background-color:#e0313e;color:#e0313e}.select-loading .dot-pulse::before{box-shadow:9984px 0 0 -5px;-webkit-animation:1.5s linear infinite dot-pulse-before;animation:1.5s linear infinite dot-pulse-before}.select-loading .dot-pulse::after{box-shadow:10014px 0 0 -5px;-webkit-animation:1.5s linear .5s infinite dot-pulse-after;animation:1.5s linear .5s infinite dot-pulse-after}@-webkit-keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@-webkit-keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@-webkit-keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}@keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}.select-footer{display:flex;align-items:center;gap:1rem;padding:8px 12px;border-top:1px solid #bfbfbf}::ng-deep .select-mat-option-pseudo-checkbox{margin:0!important}"]
|
12785
12852
|
}),
|
12786
12853
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
12787
12854
|
], GIPIInputSelectComponent);
|
@@ -13206,7 +13273,7 @@ var GIPIInputSelectListboxComponent = /** @class */ (function () {
|
|
13206
13273
|
'class': 'gipi-input-select-listbox',
|
13207
13274
|
},
|
13208
13275
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
13209
|
-
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:
|
13276
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}::ng-deep .overlay-select-listbox{padding:0!important}::ng-deep .listbox-radio-group{display:flex;align-items:center;justify-content:center;flex-direction:row;gap:16px}.overlay-select-listbox-content{display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding:12px;width:100%;gap:1rem;position:relative}.overlay-select-listbox-content .overlay-select-listbox-backdrop{background:rgba(0,0,0,.32);opacity:1;position:absolute;top:0;bottom:0;left:0;right:0;z-index:1;border-radius:4px;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.overlay-select-listbox-content .listbox-selected{display:flex;flex-direction:column;gap:16px;background-color:#f5f5f6;border-radius:4px;padding:8px;overflow:hidden;width:100%}.overlay-select-listbox-content .listbox-selected>span{font-size:1.4rem;font-weight:600;line-height:100%;color:#131313}.overlay-select-listbox-content .listbox-selected .list{display:flex;flex-direction:column;gap:4px;width:100%;height:9rem;overflow-x:hidden;overflow-y:auto}.overlay-select-listbox-content .listbox-selected .list::-webkit-scrollbar{width:15px}.overlay-select-listbox-content .listbox-selected .list::-webkit-scrollbar-thumb{background-color:#d1d2d4;border-radius:10px;border:4px solid transparent;background-clip:padding-box}.overlay-select-listbox-content .listbox-selected .list .option{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:4px 12px;gap:8px;font-weight:400;font-size:1.4rem;line-height:1.6rem;color:#595959;transition:.1s;border-radius:4px}.overlay-select-listbox-content .listbox-selected .list .option:hover{background-color:#e0e1e2}.overlay-select-listbox-content .listbox-selected .list .option:hover>button{visibility:visible!important}.overlay-select-listbox-content .listbox-selected .list .option>button{display:flex;align-items:center;justify-content:center;outline:0;border:none;padding:2px;border-radius:4px;cursor:pointer;background-color:transparent;visibility:hidden}.overlay-select-listbox-content .listbox-selected .list .option>button>svg{width:1.4rem;height:1.4rem;line-height:1.6rem}.overlay-select-listbox-content .listbox-selected .list .option>button:hover>svg{transform:scale(1.08)}.overlay-select-listbox-content .footer{border-top:1px solid #bfbfbf;padding-top:12px;display:flex;align-items:center;gap:1rem}"]
|
13210
13277
|
}),
|
13211
13278
|
__metadata("design:paramtypes", [ChangeDetectorRef,
|
13212
13279
|
ElementRef,
|
@@ -13577,7 +13644,7 @@ var GIPIInputSearchComponent = /** @class */ (function () {
|
|
13577
13644
|
Component({
|
13578
13645
|
selector: "gipi-input-search",
|
13579
13646
|
exportAs: 'gipiInputSearch',
|
13580
|
-
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
|
13647
|
+
template: "<!-- Espa\u00E7o reservado para ajustar o deslocamento vertical dos elementos mat-option -->\n<input matInput\n class=\"mat-select-search-input mat-select-search-hidden\" />\n\n<!-- Note: o mat-datepicker-content mat-tab-header \u00E9 necess\u00E1rio para herdar as cores do tema do material, consulte PR n\u00BA 22 -->\n<div #innerSelectSearch\n class=\"mat-select-search-inner mat-typography mat-datepicker-content mat-tab-header\">\n\n <input class=\"mat-select-search-input mat-input-element\"\n autocomplete=\"off\"\n type=\"text\"\n #searchSelectInput\n [placeholder]=\"placeholderLabel\"\n [formControl]=\"_formControl\"\n (keydown)=\"_handleKeydown($event)\"\n (keyup)=\"_handleKeyup($event)\"\n (blur)=\"onBlur()\">\n\n <mat-spinner *ngIf=\"searching\"\n class=\"mat-select-search-spinner\"\n diameter=\"16\">\n </mat-spinner>\n\n <button *ngIf=\"!hideClearSearchButton && value && !searching\"\n class=\"mat-select-search-clear\"\n aria-label=\"Limpar\"\n mat-icon-button\n (click)=\"_reset(true)\">\n <mat-icon> close </mat-icon>\n </button>\n\n <mat-divider> </mat-divider>\n</div>\n\n<div *ngIf=\"(_showNoEntriesFound$ | async) && !searching\"\n class=\"mat-select-search-no-entries-found\">\n <mat-icon>sentiment_very_dissatisfied</mat-icon>\n Nenhum registro foi encontrado\n</div>",
|
13581
13648
|
providers: [
|
13582
13649
|
{
|
13583
13650
|
provide: NG_VALUE_ACCESSOR,
|
@@ -13972,7 +14039,7 @@ var GIPIInputSelectPagedComponent = /** @class */ (function () {
|
|
13972
14039
|
'class': 'gipi-input-select-paged',
|
13973
14040
|
},
|
13974
14041
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
13975
|
-
styles: [".input-select-paged-content{display:flex;flex-direction:column;gap:
|
14042
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.input-select-paged-content{display:flex;flex-direction:column;gap:1rem}.input-select-paged-content>label{font-weight:400;font-size:1.4rem;line-height:100%;color:#131313}.input-select-paged-content>label>span{color:#d14014}.field-diasabled{cursor:not-allowed}:host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-suffix{position:absolute!important;right:35px!important;top:34%!important}:host ::ng-deep .mat-form-field-appearance-outline .mat-form-field-suffix .mat-icon{height:1.6rem!important;width:1.6rem!important;font-size:1.6rem!important;color:#131313!important}:host ::ng-deep .mat-select-value{padding-right:30px!important}::ng-deep .virtual-scroll-viewport{width:100%!important;overflow:hidden}::ng-deep .virtual-scroll-viewport .cdk-virtual-scroll-content-wrapper{width:100%!important}.mat-select-additional-selection{opacity:.75;font-size:.75em;margin-left:16px}.mat-select-search-loading{background-color:#fff;display:flex;align-items:center;justify-content:center;height:3em}.dot-pulse{position:relative;left:-9999px;width:5px;height:5px;border-radius:50%;background-color:#f3465c;color:#f3465c;box-shadow:9999px 0 0 -5px;-webkit-animation:1.5s linear .25s infinite dot-pulse;animation:1.5s linear .25s infinite dot-pulse}.dot-pulse::after,.dot-pulse::before{content:\"\";display:inline-block;position:absolute;top:0;width:5px;height:5px;border-radius:50%;background-color:#f3465c;color:#f3465c}.dot-pulse::before{box-shadow:9984px 0 0 -5px;-webkit-animation:1.5s linear infinite dot-pulse-before;animation:1.5s linear infinite dot-pulse-before}.dot-pulse::after{box-shadow:10014px 0 0 -5px;-webkit-animation:1.5s linear .5s infinite dot-pulse-after;animation:1.5s linear .5s infinite dot-pulse-after}@-webkit-keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@keyframes dot-pulse-before{0%,100%,60%{box-shadow:9984px 0 0 -5px}30%{box-shadow:9984px 0 0 2px}}@-webkit-keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@keyframes dot-pulse{0%,100%,60%{box-shadow:9999px 0 0 -5px}30%{box-shadow:9999px 0 0 2px}}@-webkit-keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}@keyframes dot-pulse-after{0%,100%,60%{box-shadow:10014px 0 0 -5px}30%{box-shadow:10014px 0 0 2px}}::ng-deep .mat-select-arrow{border:solid #131313!important;border-width:0 2px 2px 0!important;display:inline-block!important;padding:3px!important;transform:rotate(45deg)!important;margin:0 4px!important}::ng-deep .mat-option-button-add{position:absolute;bottom:0;left:0;width:100%;z-index:100;background-color:#fff;border-radius:4px}"]
|
13976
14043
|
}),
|
13977
14044
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
13978
14045
|
], GIPIInputSelectPagedComponent);
|
@@ -14249,7 +14316,7 @@ var GIPIInputSelectRadioComponent = /** @class */ (function () {
|
|
14249
14316
|
'class': 'gipi-input-select-radio',
|
14250
14317
|
},
|
14251
14318
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
14252
|
-
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}"]
|
14319
|
+
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}"]
|
14253
14320
|
}),
|
14254
14321
|
__metadata("design:paramtypes", [ElementRef,
|
14255
14322
|
ChangeDetectorRef])
|
@@ -15314,7 +15381,7 @@ var GIPIRadioGroupComponent = /** @class */ (function () {
|
|
15314
15381
|
'class': 'gipi-radio-group',
|
15315
15382
|
},
|
15316
15383
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
15317
|
-
styles: [".radiogroup-content{display:flex;flex-direction:column;gap:
|
15384
|
+
styles: [".radiogroup-content{display:flex;flex-direction:column;gap:1rem}.radiogroup-content>label,.radiogroup-content>legend{font-weight:400;font-size:1.4rem;line-height:100%;color:#131313}.radiogroup-content>label>span,.radiogroup-content>legend>span{color:#d14014}.radiogroup-content .radiogroup{display:flex;align-items:center;gap:1rem;padding:8px 0}.fieldset-radio-content{height:6.6rem;border-color:rgba(0,0,0,.12);border-radius:5px}.fieldset-radio-content .radiogroup{width:100%;height:100%;justify-content:space-around}"]
|
15318
15385
|
}),
|
15319
15386
|
__metadata("design:paramtypes", [ChangeDetectorRef])
|
15320
15387
|
], GIPIRadioGroupComponent);
|
@@ -16365,7 +16432,7 @@ var GIPISelectComponent = /** @class */ (function () {
|
|
16365
16432
|
},
|
16366
16433
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
16367
16434
|
encapsulation: ViewEncapsulation.None,
|
16368
|
-
styles: [".select-content{display:flex;flex-direction:column;gap:
|
16435
|
+
styles: [":host{display:block;min-width:0;max-width:100%;flex:1}.select-content{display:flex;flex-direction:column;gap:1rem}.select-content .label{font-weight:400;font-size:1.4rem;line-height:100%;color:#131313}.select-content .label>span{color:#d14014}.select-content .select{background-color:#fff;border:1px solid #e0e1e2;color:#6d6f73;border-radius:16px;padding:12px;gap:8px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;transition:.2s}.select-content .select>span{font-weight:600;font-size:1.4rem;line-height:100%;flex:1}.select-content .select>mat-icon{color:#6d6f73;fill:#6d6f73;max-height:16px}.select-content .select .icon-select{width:16px;height:16px;font-size:1.6rem}.select-overlay-content{list-style:none;max-height:256px;display:flex;flex-direction:column;gap:.8px}.select-overlay-content>li{height:3em;line-height:3em;border-radius:4px;padding:0 16px;text-align:left;cursor:pointer;color:#8c8f93;font-size:1.3rem}.select-overlay-content>li:hover{background-color:#e0e1e2;color:#6d6f73;font-weight:600}.active{background-color:#f3e7e7;color:#e0313e}.disabled{border:1px solid #d1d2d4!important;color:#f5f5f6!important;cursor:not-allowed!important}"]
|
16369
16436
|
}),
|
16370
16437
|
__metadata("design:paramtypes", [])
|
16371
16438
|
], GIPISelectComponent);
|
@@ -16409,9 +16476,7 @@ var BreakpointObserverService = /** @class */ (function (_super) {
|
|
16409
16476
|
};
|
16410
16477
|
BreakpointObserverService.ngInjectableDef = ɵɵdefineInjectable({ factory: function BreakpointObserverService_Factory() { return new BreakpointObserverService(); }, token: BreakpointObserverService, providedIn: "root" });
|
16411
16478
|
BreakpointObserverService = __decorate([
|
16412
|
-
Injectable({
|
16413
|
-
providedIn: 'root'
|
16414
|
-
}),
|
16479
|
+
Injectable({ providedIn: 'root' }),
|
16415
16480
|
__metadata("design:paramtypes", [])
|
16416
16481
|
], BreakpointObserverService);
|
16417
16482
|
return BreakpointObserverService;
|
@@ -16452,9 +16517,7 @@ var NavService = /** @class */ (function (_super) {
|
|
16452
16517
|
]; };
|
16453
16518
|
NavService.ngInjectableDef = ɵɵdefineInjectable({ factory: function NavService_Factory() { return new NavService(ɵɵinject(Router)); }, token: NavService, providedIn: "root" });
|
16454
16519
|
NavService = __decorate([
|
16455
|
-
Injectable({
|
16456
|
-
providedIn: 'root'
|
16457
|
-
}),
|
16520
|
+
Injectable({ providedIn: 'root' }),
|
16458
16521
|
__metadata("design:paramtypes", [Router])
|
16459
16522
|
], NavService);
|
16460
16523
|
return NavService;
|
@@ -16556,7 +16619,7 @@ var GIPISidenavComponent = /** @class */ (function () {
|
|
16556
16619
|
this._levelOneMenuCollapsableSelected = null;
|
16557
16620
|
this._levelTwoMenuCollapsableSelected = null;
|
16558
16621
|
this._mouseEnter = false;
|
16559
|
-
this.
|
16622
|
+
this._menuItems = [];
|
16560
16623
|
this.labelToggle = 'Retrair menu';
|
16561
16624
|
this.showTagNewIntegration = false;
|
16562
16625
|
this.showIntegration = false;
|
@@ -16566,6 +16629,16 @@ var GIPISidenavComponent = /** @class */ (function () {
|
|
16566
16629
|
this.onClickMenuConfiguration = new EventEmitter();
|
16567
16630
|
}
|
16568
16631
|
GIPISidenavComponent_1 = GIPISidenavComponent;
|
16632
|
+
Object.defineProperty(GIPISidenavComponent.prototype, "menuItems", {
|
16633
|
+
get: function () {
|
16634
|
+
return this._menuItems;
|
16635
|
+
},
|
16636
|
+
set: function (value) {
|
16637
|
+
this._menuItems = value;
|
16638
|
+
},
|
16639
|
+
enumerable: false,
|
16640
|
+
configurable: true
|
16641
|
+
});
|
16569
16642
|
GIPISidenavComponent.prototype.ngOnInit = function () { };
|
16570
16643
|
GIPISidenavComponent.prototype.ngAfterViewInit = function () {
|
16571
16644
|
this._navService.sidenav = this.sidenav;
|
@@ -16600,17 +16673,23 @@ var GIPISidenavComponent = /** @class */ (function () {
|
|
16600
16673
|
enumerable: false,
|
16601
16674
|
configurable: true
|
16602
16675
|
});
|
16603
|
-
Object.defineProperty(GIPISidenavComponent.prototype, "
|
16676
|
+
Object.defineProperty(GIPISidenavComponent.prototype, "levelMenuSelected", {
|
16604
16677
|
get: function () {
|
16678
|
+
var _this = this;
|
16679
|
+
var levelMenuActive = [];
|
16605
16680
|
if (ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
16606
|
-
|
16681
|
+
levelMenuActive = this.menuItems;
|
16607
16682
|
}
|
16608
16683
|
else if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
16609
|
-
|
16684
|
+
levelMenuActive = this._levelOneMenuCollapsableSelected.menuList;
|
16610
16685
|
}
|
16611
16686
|
else if (!ObjectUtil.isNull(this._levelOneMenuCollapsableSelected) && !ObjectUtil.isNull(this._levelTwoMenuCollapsableSelected)) {
|
16612
|
-
|
16687
|
+
levelMenuActive = this._levelTwoMenuCollapsableSelected.menuList;
|
16688
|
+
}
|
16689
|
+
if (!ArrayUtil.isEmpty(levelMenuActive)) {
|
16690
|
+
levelMenuActive.forEach(function (item) { return item.id = _this._toCamelCase(item.route); });
|
16613
16691
|
}
|
16692
|
+
return of(levelMenuActive);
|
16614
16693
|
},
|
16615
16694
|
enumerable: false,
|
16616
16695
|
configurable: true
|
@@ -16735,6 +16814,17 @@ var GIPISidenavComponent = /** @class */ (function () {
|
|
16735
16814
|
}
|
16736
16815
|
});
|
16737
16816
|
};
|
16817
|
+
GIPISidenavComponent.prototype._toCamelCase = function (name) {
|
16818
|
+
if (StringUtil.isEmpty(name)) {
|
16819
|
+
return '';
|
16820
|
+
}
|
16821
|
+
var normalized = StringUtil.replaceAccents(name);
|
16822
|
+
return normalized
|
16823
|
+
.split(/[/\-]/) // Divide por '/' e '-'
|
16824
|
+
.filter(Boolean) // Remove elementos vazios da lista
|
16825
|
+
.map(function (word, index) { return (index === 0) ? word.toLowerCase() : (word.charAt(0).toUpperCase() + word.slice(1).toLowerCase()); })
|
16826
|
+
.join('');
|
16827
|
+
};
|
16738
16828
|
var GIPISidenavComponent_1;
|
16739
16829
|
GIPISidenavComponent.ctorParameters = function () { return [
|
16740
16830
|
{ type: NavService },
|
@@ -16747,8 +16837,9 @@ var GIPISidenavComponent = /** @class */ (function () {
|
|
16747
16837
|
], GIPISidenavComponent.prototype, "sidenav", void 0);
|
16748
16838
|
__decorate([
|
16749
16839
|
Input(),
|
16750
|
-
__metadata("design:type", Array)
|
16751
|
-
|
16840
|
+
__metadata("design:type", Array),
|
16841
|
+
__metadata("design:paramtypes", [Array])
|
16842
|
+
], GIPISidenavComponent.prototype, "menuItems", null);
|
16752
16843
|
__decorate([
|
16753
16844
|
Input(),
|
16754
16845
|
__metadata("design:type", String)
|
@@ -16805,7 +16896,7 @@ var GIPISidenavComponent = /** @class */ (function () {
|
|
16805
16896
|
Component({
|
16806
16897
|
selector: "gipi-sidenav",
|
16807
16898
|
exportAs: 'gipiSidenav',
|
16808
|
-
template: "<mat-sidenav #sidenav\n
|
16899
|
+
template: "<mat-sidenav #sidenav\n class=\"sidenav\"\n opened=\"true\"\n [class.large-sidenav]=\"(isOpened | async)\"\n [class.small-sidenav]=\"!(isOpened | async)\"\n [disableClose]=\"(isScreenLarge | async)\"\n [mode]=\"(isScreenLarge | async) ? 'side' : 'over'\">\n\n <!-- <div [ngClass]=\"{'sidenav-content-menu': true,\n 'show-bottom': (showConfiguration || showIntegration)}\"> -->\n <div class=\"sidenav-content-menu\">\n\n <!-- Bot\u00E3o expandir e retrair o menu -->\n <button [attr.id]=\"'buttonToogleSidenav'\"\n [attr.name]=\"'buttonToogleSidenav'\"\n class=\"toggle-sidenav\"\n (click)=\"toggleSidenav(); _mouseEnter = false;\">\n <mat-icon [@indicatorRotate]=\"(isOpened | async) ? 'opened': 'closed'\">\n chevron_right\n </mat-icon>\n\n {{ ((labelToggle) && (isOpened | async)) ? labelToggle : '' }}\n </button>\n\n <!-- Bot\u00E3o voltar do submenu -->\n <div class=\"sidenav-action-menu sidenav-menu-collapsable\">\n <a [attr.id]=\"'buttonSubmenuBack'\"\n [attr.name]=\"'buttonSubmenuBack'\"\n *ngIf=\"(isOpened | async) && (_levelOneMenuCollapsableSelected || _levelTwoMenuCollapsableSelected)\"\n (click)=\"onMenuCollapsableGoBack()\"\n (mouseenter)=\"!_mouseEnter && onMouseEnter()\"\n (mouseleave)=\"_mouseEnter && onMouseLeave()\">\n <mat-icon>\n arrow_back\n </mat-icon>\n <span>\n {{ (submenuBackButtonName | async) }}\n </span>\n </a>\n </div>\n\n <!-- Se o menu item for do tipo submenu -->\n <mat-nav-list class=\"sidenav-menu-list\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\">\n <div class=\"sidenav-action-menu\"\n *ngFor=\"let menu of (levelMenuSelected | async)\">\n <a [attr.id]=\"menu.id\"\n [attr.name]=\"menu.id\"\n [class.menu-active]=\"isMenuActive(menu)\"\n [routerLink]=\"menu.route\"\n *ngIf=\"menu.type === 'ITEM'\"\n (click)=\"onMenuItemSelected(menu)\">\n <mat-icon *ngIf=\"menu.icon\">\n {{ menu.icon }}\n </mat-icon>\n <mat-icon *ngIf=\"menu.svgIcon\"\n [svgIcon]=\"menu.svgIcon\">\n </mat-icon>\n <span *ngIf=\"(isOpened | async)\">\n {{ getMenuName(menu.name) }}\n </span>\n </a>\n\n <a [attr.id]=\"menu.id\"\n [attr.name]=\"menu.id\"\n [class.menu-active]=\"isMenuCollapsableActive(menu)\"\n *ngIf=\"menu.type === 'COLLAPSABLE'\"\n (click)=\"onMenuCollapsableSelected(menu); onMenuItemSelected(menu, false)\">\n <mat-icon *ngIf=\"menu.icon\">\n {{ menu.icon }}\n </mat-icon>\n <mat-icon *ngIf=\"menu.svgIcon\"\n [svgIcon]=\"menu.svgIcon\">\n </mat-icon>\n <span *ngIf=\"(isOpened | async)\">\n {{ getMenuName(menu.name) }}\n </span>\n <mat-icon *ngIf=\"(isOpened | async)\">\n chevron_right\n </mat-icon>\n </a>\n </div>\n </mat-nav-list>\n </div>\n\n <div class=\"sidenav-action-menu sidenav-bottom-menu\">\n <a [attr.id]=\"'integracoes'\"\n [attr.name]=\"'integracoes'\"\n *ngIf=\"showIntegration\"\n (click)=\"onMenuItemSelected(null); onClickMenuIntegration.emit()\">\n <mat-icon *ngIf=\"iconIntegration\">\n {{ iconIntegration }}\n </mat-icon>\n <mat-icon *ngIf=\"svgIconIntegration\"\n [svgIcon]=\"svgIconIntegration\">\n </mat-icon>\n <span *ngIf=\"(labelIntegration) && (isOpened | async)\">\n {{ labelIntegration }}\n </span>\n <div class=\"tag-new\"\n [class.closed]=\"!(isOpened | async)\"\n *ngIf=\"showTagNewIntegration\">\n Novo\n </div>\n </a>\n\n <a [attr.id]=\"'configuracoes'\"\n [attr.name]=\"'configuracoes'\"\n *ngIf=\"showConfiguration\"\n (click)=\"onMenuItemSelected(null); onClickMenuConfiguration.emit()\">\n <mat-icon *ngIf=\"iconConfiguration\">\n {{ iconConfiguration }}\n </mat-icon>\n <mat-icon *ngIf=\"svgIconConfiguration\"\n [svgIcon]=\"svgIconConfiguration\">\n </mat-icon>\n <span *ngIf=\"(labelConfiguration) && (isOpened | async)\">\n {{ labelConfiguration }}\n </span>\n </a>\n </div>\n</mat-sidenav>",
|
16809
16900
|
encapsulation: ViewEncapsulation.None,
|
16810
16901
|
providers: [
|
16811
16902
|
{
|
@@ -16824,7 +16915,7 @@ var GIPISidenavComponent = /** @class */ (function () {
|
|
16824
16915
|
transition('expanded <=> collapsed', animate('225ms cubic-bezier(0.4,0.0,0.2,1)')),
|
16825
16916
|
])
|
16826
16917
|
],
|
16827
|
-
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
|
16918
|
+
styles: [".sidenav{padding:.8rem 1.2rem;border-radius:5px;background-color:#fff;position:fixed!important;top:66px!important;bottom:8px!important;border:0!important}.sidenav.small-sidenav{overflow-y:auto;width:76px}.sidenav.small-sidenav .sidenav-bottom-menu,.sidenav.small-sidenav .sidenav-content-menu .sidenav-menu-list .action-sidenav,.sidenav.small-sidenav .sidenav-content-menu .toggle-sidenav{text-align:center!important}.sidenav.large-sidenav{overflow-y:auto;width:248px}.sidenav .sidenav-content-menu{width:100%;background-color:#f5f5f6;border-radius:4px;display:flex;flex-direction:column;align-items:stretch;height:100%;flex:1}.sidenav .sidenav-content-menu .toggle-sidenav{all:unset;border-radius:4px;border:none;text-align:left;cursor:pointer;background-color:#e0313e;color:#fff;display:flex;align-items:center;gap:8px;padding:10px 16px}.sidenav .sidenav-content-menu .toggle-sidenav>mat-icon{width:2rem;height:2rem;font-size:2rem}.sidenav .sidenav-content-menu .toggle-sidenav:hover{background-color:#cc2d38}.sidenav .sidenav-content-menu .sidenav-menu-list{overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.sidenav .sidenav-content-menu .sidenav-menu-list::-webkit-scrollbar{display:none}.menu-active{color:#e0313e!important;background-color:#e0e1e2!important}.menu-active>mat-icon,.menu-active>mat-icon svg,.menu-active>mat-icon svg path{color:#e0313e!important;fill:#e0313e!important}.sidenav-action-menu{cursor:pointer;display:flex}.sidenav-action-menu.sidenav-bottom-menu{flex-direction:column;gap:1rem;margin-top:1rem}.sidenav-action-menu a{flex:1;padding:16px;background-color:#f5f5f6;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:1.4rem;font-weight:600;position:relative;overflow:hidden}.sidenav-action-menu a:hover{background-color:#e0e1e2}.sidenav-action-menu a>span{flex:1;line-height:2rem}.sidenav-action-menu a>mat-icon{width:2rem;height:2rem;font-size:2rem;line-height:2rem;color:#595959;fill:#595959}.sidenav-action-menu a>mat-icon svg,.sidenav-action-menu a>mat-icon svg path{color:#595959;fill:#595959}.sidenav-bottom-menu a{border-radius:4px}.sidenav-menu-collapsable a{background-color:#e0e1e2}.sidenav-menu-collapsable a:hover{background-color:#d1d2d4}.mat-list-base{padding-top:0!important}.mat-drawer-inner-container{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;overflow:hidden!important}.mat-drawer:not(.mat-drawer-side){box-shadow:none!important}.tag-new{display:flex;align-items:center;justify-content:center;background-color:#e0313e;color:#fff;padding:.2rem .6rem;font-size:1rem;line-height:1rem;border-radius:.4rem}.tag-new.closed{position:absolute;top:15px;right:20px;width:52px;z-index:1;transform:translateX(70%) translateY(-85%) rotate(45deg);transform-origin:center;overflow:hidden;font-size:.8rem!important;line-height:.8rem!important}"]
|
16828
16919
|
}),
|
16829
16920
|
__metadata("design:paramtypes", [NavService,
|
16830
16921
|
BreakpointObserverService,
|
@@ -17709,14 +17800,26 @@ var TabModel = /** @class */ (function () {
|
|
17709
17800
|
return TabModel;
|
17710
17801
|
}());
|
17711
17802
|
|
17803
|
+
var nextUniqueId$i = 0;
|
17712
17804
|
var GIPITabComponent = /** @class */ (function () {
|
17713
17805
|
function GIPITabComponent() {
|
17806
|
+
this._name = "gipi-tab-" + nextUniqueId$i++;
|
17807
|
+
this.id = this._name;
|
17808
|
+
this.name = this._name;
|
17714
17809
|
this.active = false;
|
17715
17810
|
this.closeable = false;
|
17716
17811
|
this.disabled = false;
|
17717
17812
|
this.selectionChange = new EventEmitter();
|
17718
17813
|
}
|
17719
17814
|
GIPITabComponent.prototype.ngOnInit = function () { };
|
17815
|
+
__decorate([
|
17816
|
+
Input(),
|
17817
|
+
__metadata("design:type", Object)
|
17818
|
+
], GIPITabComponent.prototype, "id", void 0);
|
17819
|
+
__decorate([
|
17820
|
+
Input(),
|
17821
|
+
__metadata("design:type", String)
|
17822
|
+
], GIPITabComponent.prototype, "name", void 0);
|
17720
17823
|
__decorate([
|
17721
17824
|
Input(),
|
17722
17825
|
__metadata("design:type", Number)
|
@@ -17773,10 +17876,14 @@ var GIPITabComponent = /** @class */ (function () {
|
|
17773
17876
|
return GIPITabComponent;
|
17774
17877
|
}());
|
17775
17878
|
|
17879
|
+
var nextUniqueId$j = 0;
|
17776
17880
|
var GIPITabGroupComponent = /** @class */ (function () {
|
17777
17881
|
function GIPITabGroupComponent(elementRef, _componentFactoryResolver) {
|
17778
17882
|
this.elementRef = elementRef;
|
17779
17883
|
this._componentFactoryResolver = _componentFactoryResolver;
|
17884
|
+
this._name = "gipi-tab-" + nextUniqueId$j++;
|
17885
|
+
this.id = this._name;
|
17886
|
+
this.name = this._name;
|
17780
17887
|
this.dynamicTabs = [];
|
17781
17888
|
}
|
17782
17889
|
GIPITabGroupComponent.prototype.ngOnInit = function () { };
|
@@ -17882,15 +17989,25 @@ var GIPITabGroupComponent = /** @class */ (function () {
|
|
17882
17989
|
ViewChild(GIPIDynamicTabDirective, { static: false }),
|
17883
17990
|
__metadata("design:type", GIPIDynamicTabDirective)
|
17884
17991
|
], GIPITabGroupComponent.prototype, "dynamicTabPlaceholder", void 0);
|
17992
|
+
__decorate([
|
17993
|
+
Input(),
|
17994
|
+
__metadata("design:type", Object)
|
17995
|
+
], GIPITabGroupComponent.prototype, "id", void 0);
|
17996
|
+
__decorate([
|
17997
|
+
Input(),
|
17998
|
+
__metadata("design:type", String)
|
17999
|
+
], GIPITabGroupComponent.prototype, "name", void 0);
|
17885
18000
|
GIPITabGroupComponent = __decorate([
|
17886
18001
|
Component({
|
17887
18002
|
selector: 'gipi-tab-group',
|
17888
18003
|
exportAs: 'gipiTabGroup',
|
17889
|
-
template: "<nav mat-tab-nav-bar>\n <a mat-tab-link\n *ngFor=\"let tab of tabQueryList\"\n
|
18004
|
+
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>",
|
17890
18005
|
host: {
|
17891
18006
|
'class': 'gipi-tab-group',
|
18007
|
+
'[attr.id]': 'id',
|
18008
|
+
'[attr.name]': 'name',
|
17892
18009
|
},
|
17893
|
-
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}"]
|
18010
|
+
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}"]
|
17894
18011
|
}),
|
17895
18012
|
__metadata("design:paramtypes", [ElementRef,
|
17896
18013
|
ComponentFactoryResolver])
|
@@ -22010,7 +22127,7 @@ var MatDatepickerInput = /** @class */ (function (_super) {
|
|
22010
22127
|
* Use of this source code is governed by an MIT-style license that can be
|
22011
22128
|
* found in the LICENSE file at https://angular.io/license
|
22012
22129
|
*/
|
22013
|
-
var nextUniqueId$
|
22130
|
+
var nextUniqueId$k = 0;
|
22014
22131
|
var MatDateRangeInput = /** @class */ (function () {
|
22015
22132
|
function MatDateRangeInput(_changeDetectorRef, _elementRef, control, _dateAdapter, _formField) {
|
22016
22133
|
this._changeDetectorRef = _changeDetectorRef;
|
@@ -22018,7 +22135,7 @@ var MatDateRangeInput = /** @class */ (function () {
|
|
22018
22135
|
this._dateAdapter = _dateAdapter;
|
22019
22136
|
this._formField = _formField;
|
22020
22137
|
/** Unique ID for the input. */
|
22021
|
-
this.id = "mat-date-range-input-" + nextUniqueId$
|
22138
|
+
this.id = "mat-date-range-input-" + nextUniqueId$k++;
|
22022
22139
|
/** Whether the control is focused. */
|
22023
22140
|
this.focused = false;
|
22024
22141
|
/** Name of the form control. */
|
@@ -22872,12 +22989,12 @@ var BrowserUtil = /** @class */ (function () {
|
|
22872
22989
|
}());
|
22873
22990
|
|
22874
22991
|
var moment$1 = moment_;
|
22875
|
-
var nextUniqueId$
|
22992
|
+
var nextUniqueId$l = 0;
|
22876
22993
|
var DateRangePickerComponent = /** @class */ (function () {
|
22877
22994
|
function DateRangePickerComponent(elementRef, _changeDetectorRef) {
|
22878
22995
|
this.elementRef = elementRef;
|
22879
22996
|
this._changeDetectorRef = _changeDetectorRef;
|
22880
|
-
this._name = "gipi-date-range-" + nextUniqueId$
|
22997
|
+
this._name = "gipi-date-range-" + nextUniqueId$l++;
|
22881
22998
|
this.idStartDate = this._name + "-start";
|
22882
22999
|
this.idEndDate = this._name + "-end";
|
22883
23000
|
this.nameStartDate = this._name + "-start";
|
@@ -23231,7 +23348,7 @@ var DateRangePickerComponent = /** @class */ (function () {
|
|
23231
23348
|
host: {
|
23232
23349
|
'class': 'gipi-date-range-picker',
|
23233
23350
|
},
|
23234
|
-
styles: [":host{display:block;width:100
|
23351
|
+
styles: [":host{display:block;width:100%;min-width:0;max-width:100%;flex:1}.input-wrapper{display:flex;flex-direction:column;gap:.8rem;font-size:1.4rem;color:#696969}.input-wrapper .input-label{display:flex;align-items:center;gap:.4rem;color:#131313;line-height:1.6rem}.input-wrapper .input-label>span{font-size:1.6rem;line-height:1.6rem;color:#d14014}.input-wrapper .input-content{display:flex;font-family:inherit;font-size:inherit;color:inherit;height:4rem;background:#fff;border:1px solid rgba(0,0,0,.12);transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.6rem}.input-wrapper .input-content .input-element{padding:.75rem .8rem;border:none;outline:0;background-color:transparent;flex:1;color:inherit;caret-color:#696969;min-width:0}.input-wrapper .input-content:not(.input-element:disabled):has(.input-element:enabled:hover),.input-wrapper .input-content:not(.input-element:disabled):has(.prefix:hover),.input-wrapper .input-content:not(.input-element:disabled):has(.suffix:hover){border-color:#6d6f73}.input-wrapper .input-content:not(.input-element:disabled):has(.input-element:enabled:focus){outline:0;outline-offset:0;box-shadow:0 0 0 .2rem #e0e1e2;border-color:#6d6f73}.input-wrapper .input-content:has(.input-element:disabled){color:#bbbdc1!important;border-color:#e0e1e2!important;background-color:#f5f5f6!important;cursor:not-allowed}.input-wrapper .input-content:has(.input-element:disabled) .suffix>mat-icon{color:#bbbdc1!important}.input-wrapper .input-content .input-element:disabled{cursor:not-allowed}.input-wrapper .input-content .suffix{display:flex;align-items:center;justify-content:center;padding-block:.75rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-right:.8rem}.input-wrapper .input-content .suffix>mat-icon{width:2rem;height:2rem;font-size:2rem;color:#696969}.input-wrapper .input-help{flex:1;font-size:1rem;font-weight:500;margin-top:-.4rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}::ng-deep .mat-date-range-input{height:4rem!important;padding-left:.8rem!important}::ng-deep .mat-date-range-input-container,::ng-deep .mat-date-range-input-end-wrapper,::ng-deep .mat-date-range-input-inner,::ng-deep .mat-date-range-input-start-wrapper{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;max-width:100%;min-height:100%;height:100%;padding-bottom:3px}::ng-deep .mat-date-range-input-end-wrapper{padding-bottom:0!important}::ng-deep .mat-date-range-input-inner{padding:0!important}::-webkit-input-placeholder{color:#bbbdc1}:-moz-placeholder{color:#bbbdc1}::-moz-placeholder{color:#bbbdc1}:-ms-input-placeholder{color:#bbbdc1}"]
|
23235
23352
|
}),
|
23236
23353
|
__metadata("design:paramtypes", [ElementRef,
|
23237
23354
|
ChangeDetectorRef])
|
@@ -23593,12 +23710,12 @@ var PresetRangeComponent = /** @class */ (function () {
|
|
23593
23710
|
}());
|
23594
23711
|
|
23595
23712
|
var moment$3 = moment_;
|
23596
|
-
var nextUniqueId$
|
23713
|
+
var nextUniqueId$m = 0;
|
23597
23714
|
var DatepickerComponent = /** @class */ (function () {
|
23598
23715
|
function DatepickerComponent(elementRef, _changeDetectorRef) {
|
23599
23716
|
this.elementRef = elementRef;
|
23600
23717
|
this._changeDetectorRef = _changeDetectorRef;
|
23601
|
-
this._name = "gipi-date-range-" + nextUniqueId$
|
23718
|
+
this._name = "gipi-date-range-" + nextUniqueId$m++;
|
23602
23719
|
this.id = this._name + "-date";
|
23603
23720
|
this.name = this._name + "-date";
|
23604
23721
|
this.label = '';
|
@@ -23831,7 +23948,7 @@ var DatepickerComponent = /** @class */ (function () {
|
|
23831
23948
|
host: {
|
23832
23949
|
'class': 'gipi-datepicker',
|
23833
23950
|
},
|
23834
|
-
styles: [":host{display:block;width:100
|
23951
|
+
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}"]
|
23835
23952
|
}),
|
23836
23953
|
__metadata("design:paramtypes", [ElementRef,
|
23837
23954
|
ChangeDetectorRef])
|
@@ -24199,7 +24316,7 @@ var MonthPickerModel = /** @class */ (function () {
|
|
24199
24316
|
};
|
24200
24317
|
return MonthPickerModel;
|
24201
24318
|
}());
|
24202
|
-
var nextUniqueId$
|
24319
|
+
var nextUniqueId$n = 0;
|
24203
24320
|
var MonthYearPickerComponent = /** @class */ (function () {
|
24204
24321
|
function MonthYearPickerComponent(elementRef, _changeDetectorRef, _overlay, _ngZone, _viewContainerRef, scrollStrategy, _dir, _document) {
|
24205
24322
|
this.elementRef = elementRef;
|
@@ -24209,7 +24326,7 @@ var MonthYearPickerComponent = /** @class */ (function () {
|
|
24209
24326
|
this._viewContainerRef = _viewContainerRef;
|
24210
24327
|
this._dir = _dir;
|
24211
24328
|
this._document = _document;
|
24212
|
-
this._name = "gipi-date-range-" + nextUniqueId$
|
24329
|
+
this._name = "gipi-date-range-" + nextUniqueId$n++;
|
24213
24330
|
this._focusedElementBeforeOpen = null;
|
24214
24331
|
this._backdropHarnessClass = this._name + "-backdrop";
|
24215
24332
|
this._stateChanges = new Subject();
|
@@ -24592,7 +24709,7 @@ var MonthYearPickerComponent = /** @class */ (function () {
|
|
24592
24709
|
MonthYearPickerComponent = MonthYearPickerComponent_1 = __decorate([
|
24593
24710
|
Component({
|
24594
24711
|
selector: 'gipi-month-year-picker',
|
24595
|
-
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
|
24712
|
+
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>",
|
24596
24713
|
providers: [
|
24597
24714
|
{
|
24598
24715
|
provide: NG_VALUE_ACCESSOR,
|
@@ -24604,7 +24721,7 @@ var MonthYearPickerComponent = /** @class */ (function () {
|
|
24604
24721
|
'class': 'gipi-month-year-picker',
|
24605
24722
|
},
|
24606
24723
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
24607
|
-
styles: [":host{display:block;width:100
|
24724
|
+
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}"]
|
24608
24725
|
}),
|
24609
24726
|
__param(5, Inject(GIPI_MONTH_YEAR_SCROLL_STRATEGY)),
|
24610
24727
|
__param(6, Optional()),
|
@@ -24654,11 +24771,11 @@ var MonthYearPickerModule = /** @class */ (function () {
|
|
24654
24771
|
return MonthYearPickerModule;
|
24655
24772
|
}());
|
24656
24773
|
|
24657
|
-
var nextUniqueId$
|
24774
|
+
var nextUniqueId$o = 0;
|
24658
24775
|
var GIPISplitButtonComponent = /** @class */ (function () {
|
24659
24776
|
function GIPISplitButtonComponent(elementRef) {
|
24660
24777
|
this.elementRef = elementRef;
|
24661
|
-
this._uniqueId = nextUniqueId$
|
24778
|
+
this._uniqueId = nextUniqueId$o++;
|
24662
24779
|
this._name = "gipi-split-button-" + this._uniqueId;
|
24663
24780
|
this.idBtnDefault = "gipi-split-button-default-" + this._uniqueId;
|
24664
24781
|
this.idBtnMenu = "gipi-split-button-menu-" + this._uniqueId;
|
@@ -24701,7 +24818,7 @@ var GIPISplitButtonComponent = /** @class */ (function () {
|
|
24701
24818
|
return attributes.some(function (attribute) { return _this.getHostElement().hasAttribute(attribute); });
|
24702
24819
|
};
|
24703
24820
|
GIPISplitButtonComponent.prototype.btnIdAndName = function () {
|
24704
|
-
var uniqueId = nextUniqueId$
|
24821
|
+
var uniqueId = nextUniqueId$o++;
|
24705
24822
|
return {
|
24706
24823
|
btnDefault: "gipi-split-button-default-" + uniqueId,
|
24707
24824
|
btnMenu: "gipi-split-button-menu-" + uniqueId,
|
@@ -24896,12 +25013,12 @@ var GIPISplitButtonComponent = /** @class */ (function () {
|
|
24896
25013
|
return GIPISplitButtonComponent;
|
24897
25014
|
}());
|
24898
25015
|
|
24899
|
-
var nextUniqueId$
|
25016
|
+
var nextUniqueId$p = 0;
|
24900
25017
|
var GIPITextareaComponent = /** @class */ (function () {
|
24901
25018
|
function GIPITextareaComponent(elementRef, _changeDetectorRef) {
|
24902
25019
|
this.elementRef = elementRef;
|
24903
25020
|
this._changeDetectorRef = _changeDetectorRef;
|
24904
|
-
this._name = "gipi-textarea-" + nextUniqueId$
|
25021
|
+
this._name = "gipi-textarea-" + nextUniqueId$p++;
|
24905
25022
|
this.id = this._name;
|
24906
25023
|
this.name = this._name;
|
24907
25024
|
this.label = '';
|
@@ -25235,7 +25352,7 @@ var GIPITextareaComponent = /** @class */ (function () {
|
|
25235
25352
|
'class': 'gipi-textarea',
|
25236
25353
|
},
|
25237
25354
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
25238
|
-
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}"]
|
25355
|
+
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}"]
|
25239
25356
|
}),
|
25240
25357
|
__metadata("design:paramtypes", [ElementRef,
|
25241
25358
|
ChangeDetectorRef])
|
@@ -25888,10 +26005,9 @@ var AuthenticationService = /** @class */ (function (_super) {
|
|
25888
26005
|
]; };
|
25889
26006
|
AuthenticationService.ngInjectableDef = ɵɵdefineInjectable({ factory: function AuthenticationService_Factory() { return new AuthenticationService(ɵɵinject(Router), ɵɵinject(HttpClient)); }, token: AuthenticationService, providedIn: "root" });
|
25890
26007
|
AuthenticationService = __decorate([
|
25891
|
-
Injectable({
|
25892
|
-
|
25893
|
-
|
25894
|
-
__metadata("design:paramtypes", [Router, HttpClient])
|
26008
|
+
Injectable({ providedIn: 'root' }),
|
26009
|
+
__metadata("design:paramtypes", [Router,
|
26010
|
+
HttpClient])
|
25895
26011
|
], AuthenticationService);
|
25896
26012
|
return AuthenticationService;
|
25897
26013
|
}(AbstractService));
|
@@ -26042,13 +26158,14 @@ var ErrorInterceptor = /** @class */ (function () {
|
|
26042
26158
|
|
26043
26159
|
var DialogService = /** @class */ (function (_super) {
|
26044
26160
|
__extends(DialogService, _super);
|
26045
|
-
function DialogService(dialog) {
|
26161
|
+
function DialogService(_breakpointObserver, dialog) {
|
26046
26162
|
var _this = _super.call(this) || this;
|
26163
|
+
_this._breakpointObserver = _breakpointObserver;
|
26047
26164
|
_this.dialog = dialog;
|
26048
26165
|
return _this;
|
26049
26166
|
}
|
26050
26167
|
DialogService.prototype.open = function (dialog) {
|
26051
|
-
|
26168
|
+
var dialogConfig = {
|
26052
26169
|
panelClass: dialog.panelClass,
|
26053
26170
|
disableClose: dialog.disableClose,
|
26054
26171
|
width: dialog.width,
|
@@ -26059,20 +26176,56 @@ var DialogService = /** @class */ (function (_super) {
|
|
26059
26176
|
maxHeight: dialog.maxHeight,
|
26060
26177
|
position: dialog.position,
|
26061
26178
|
data: dialog.data,
|
26062
|
-
autoFocus: dialog.autoFocus,
|
26063
|
-
restoreFocus: dialog.restoreFocus,
|
26064
|
-
closeOnNavigation: dialog.closeOnNavigation,
|
26065
|
-
}
|
26179
|
+
autoFocus: dialog.autoFocus || false,
|
26180
|
+
restoreFocus: dialog.restoreFocus || false,
|
26181
|
+
closeOnNavigation: dialog.closeOnNavigation || true,
|
26182
|
+
};
|
26183
|
+
// this._breakpointObserver.observe(['(max-width: 1366px)', '(min-width: 1366.1px)']).subscribe((result: BreakpointState) => {
|
26184
|
+
// if (result.matches) {
|
26185
|
+
// if (result.breakpoints['(max-width: 1366px)']) {
|
26186
|
+
// dialogConfig = {
|
26187
|
+
// ...dialogConfig,
|
26188
|
+
// width: 'auto',
|
26189
|
+
// maxWidth: '80%',
|
26190
|
+
// height: this._calcHeightByBody(),
|
26191
|
+
// maxHeight: this._calcHeightByBody(),
|
26192
|
+
// position: {
|
26193
|
+
// top: '40px',
|
26194
|
+
// right: '40px',
|
26195
|
+
// }
|
26196
|
+
// };
|
26197
|
+
// } else if (result.breakpoints['(min-width: 1366.1px)']) {
|
26198
|
+
// // Para telas maiores que 1366px, aplica o maxWidth de 1920px e centraliza o modal
|
26199
|
+
// dialogConfig = {
|
26200
|
+
// ...dialogConfig,
|
26201
|
+
// maxWidth: '1920px',
|
26202
|
+
// };
|
26203
|
+
// }
|
26204
|
+
// }
|
26205
|
+
// });
|
26206
|
+
return this.dialog.open(dialog.componentOrTemplateRef, dialogConfig);
|
26207
|
+
};
|
26208
|
+
DialogService.prototype._calcHeightByBody = function () {
|
26209
|
+
// Esse n° 80 é definido pela margem do lado direito, que no caso é 40px. Como tira 40 top e 40 bottom = 80.
|
26210
|
+
var bodyDOMRect = (document && document.body) ? document.body.getBoundingClientRect() : null;
|
26211
|
+
return bodyDOMRect.height - 80 + "px";
|
26212
|
+
};
|
26213
|
+
DialogService.prototype._coerceNumber = function (value) {
|
26214
|
+
if (StringUtil.isEmpty(value)) {
|
26215
|
+
return null;
|
26216
|
+
}
|
26217
|
+
var onlyNumber = value.match(/\d+/);
|
26218
|
+
return onlyNumber ? parseInt(onlyNumber[0], 10) : null;
|
26066
26219
|
};
|
26067
26220
|
DialogService.ctorParameters = function () { return [
|
26221
|
+
{ type: BreakpointObserver },
|
26068
26222
|
{ type: MatDialog }
|
26069
26223
|
]; };
|
26070
|
-
DialogService.ngInjectableDef = ɵɵdefineInjectable({ factory: function DialogService_Factory() { return new DialogService(ɵɵinject(MatDialog$1)); }, token: DialogService, providedIn: "root" });
|
26224
|
+
DialogService.ngInjectableDef = ɵɵdefineInjectable({ factory: function DialogService_Factory() { return new DialogService(ɵɵinject(BreakpointObserver), ɵɵinject(MatDialog$1)); }, token: DialogService, providedIn: "root" });
|
26071
26225
|
DialogService = __decorate([
|
26072
|
-
Injectable({
|
26073
|
-
|
26074
|
-
|
26075
|
-
__metadata("design:paramtypes", [MatDialog])
|
26226
|
+
Injectable({ providedIn: 'root' }),
|
26227
|
+
__metadata("design:paramtypes", [BreakpointObserver,
|
26228
|
+
MatDialog])
|
26076
26229
|
], DialogService);
|
26077
26230
|
return DialogService;
|
26078
26231
|
}(AbstractService));
|
@@ -26121,15 +26274,26 @@ var SvgRegisterService = /** @class */ (function () {
|
|
26121
26274
|
throw new Error(error);
|
26122
26275
|
}
|
26123
26276
|
};
|
26277
|
+
/**
|
26278
|
+
* Registers an icon using an HTML string in the default namespace.
|
26279
|
+
* @param svgName Svg name without the extension
|
26280
|
+
* @param literal SVG source of the icon.
|
26281
|
+
*/
|
26282
|
+
SvgRegisterService.prototype.registerSvgIconLiteral = function (svgName, literal) {
|
26283
|
+
try {
|
26284
|
+
this._matIconRegistry.addSvgIconLiteral(svgName, literal);
|
26285
|
+
}
|
26286
|
+
catch (error) {
|
26287
|
+
throw new Error(error);
|
26288
|
+
}
|
26289
|
+
};
|
26124
26290
|
SvgRegisterService.ctorParameters = function () { return [
|
26125
26291
|
{ type: MatIconRegistry },
|
26126
26292
|
{ type: DomSanitizer }
|
26127
26293
|
]; };
|
26128
26294
|
SvgRegisterService.ngInjectableDef = ɵɵdefineInjectable({ factory: function SvgRegisterService_Factory() { return new SvgRegisterService(ɵɵinject(MatIconRegistry$1), ɵɵinject(DomSanitizer)); }, token: SvgRegisterService, providedIn: "root" });
|
26129
26295
|
SvgRegisterService = __decorate([
|
26130
|
-
Injectable({
|
26131
|
-
providedIn: 'root'
|
26132
|
-
}),
|
26296
|
+
Injectable({ providedIn: 'root' }),
|
26133
26297
|
__metadata("design:paramtypes", [MatIconRegistry,
|
26134
26298
|
DomSanitizer])
|
26135
26299
|
], SvgRegisterService);
|
@@ -26406,9 +26570,7 @@ var GIPIFileService = /** @class */ (function () {
|
|
26406
26570
|
};
|
26407
26571
|
GIPIFileService.ngInjectableDef = ɵɵdefineInjectable({ factory: function GIPIFileService_Factory() { return new GIPIFileService(); }, token: GIPIFileService, providedIn: "root" });
|
26408
26572
|
GIPIFileService = __decorate([
|
26409
|
-
Injectable({
|
26410
|
-
providedIn: 'root'
|
26411
|
-
}),
|
26573
|
+
Injectable({ providedIn: 'root' }),
|
26412
26574
|
__metadata("design:paramtypes", [])
|
26413
26575
|
], GIPIFileService);
|
26414
26576
|
return GIPIFileService;
|
@@ -27429,25 +27591,25 @@ var LocalTimeEnum;
|
|
27429
27591
|
})(LocalTimeEnum || (LocalTimeEnum = {}));
|
27430
27592
|
|
27431
27593
|
var AuthGuard = /** @class */ (function () {
|
27432
|
-
function AuthGuard(
|
27433
|
-
this.
|
27434
|
-
this.
|
27594
|
+
function AuthGuard(_router, _authenticationService) {
|
27595
|
+
this._router = _router;
|
27596
|
+
this._authenticationService = _authenticationService;
|
27435
27597
|
}
|
27436
27598
|
AuthGuard.prototype.canActivate = function (route, state) {
|
27437
27599
|
var _this = this;
|
27438
|
-
if (!ObjectUtil.isNull(this.
|
27439
|
-
return this.
|
27440
|
-
if (_this.
|
27600
|
+
if (!ObjectUtil.isNull(this._authenticationService.tokenValueLocalStorage)) {
|
27601
|
+
return this._authenticationService.token.pipe(map(function (token) {
|
27602
|
+
if (_this._authenticationService.isValidToken(token)) {
|
27441
27603
|
return true;
|
27442
27604
|
}
|
27443
27605
|
else if (!ObjectUtil.isNull(token)) {
|
27444
|
-
_this.
|
27606
|
+
_this._authenticationService.removeToken();
|
27445
27607
|
}
|
27446
|
-
_this.
|
27608
|
+
_this._router.navigate(['oauth/login'], { queryParams: { returnUrl: state.url } });
|
27447
27609
|
return false;
|
27448
27610
|
}));
|
27449
27611
|
}
|
27450
|
-
this.
|
27612
|
+
this._router.navigate(['oauth/login'], { queryParams: { returnUrl: state.url } });
|
27451
27613
|
return of(false);
|
27452
27614
|
};
|
27453
27615
|
AuthGuard.prototype.canActivateChild = function (route, state) {
|
@@ -27459,32 +27621,31 @@ var AuthGuard = /** @class */ (function () {
|
|
27459
27621
|
]; };
|
27460
27622
|
AuthGuard.ngInjectableDef = ɵɵdefineInjectable({ factory: function AuthGuard_Factory() { return new AuthGuard(ɵɵinject(Router), ɵɵinject(AuthenticationService)); }, token: AuthGuard, providedIn: "root" });
|
27461
27623
|
AuthGuard = __decorate([
|
27462
|
-
Injectable({
|
27463
|
-
|
27464
|
-
|
27465
|
-
__metadata("design:paramtypes", [Router, AuthenticationService])
|
27624
|
+
Injectable({ providedIn: 'root' }),
|
27625
|
+
__metadata("design:paramtypes", [Router,
|
27626
|
+
AuthenticationService])
|
27466
27627
|
], AuthGuard);
|
27467
27628
|
return AuthGuard;
|
27468
27629
|
}());
|
27469
27630
|
|
27470
27631
|
var PermissionGuard = /** @class */ (function () {
|
27471
|
-
function PermissionGuard(
|
27472
|
-
this.
|
27473
|
-
this.
|
27632
|
+
function PermissionGuard(_router, _authenticationService) {
|
27633
|
+
this._router = _router;
|
27634
|
+
this._authenticationService = _authenticationService;
|
27474
27635
|
}
|
27475
27636
|
PermissionGuard.prototype.canActivate = function (route, state) {
|
27476
27637
|
var _this = this;
|
27477
|
-
if (!ObjectUtil.isNull(this.
|
27478
|
-
return this.
|
27479
|
-
if (_this.
|
27638
|
+
if (!ObjectUtil.isNull(this._authenticationService.tokenValueLocalStorage)) {
|
27639
|
+
return this._authenticationService.token.pipe(map(function (token) {
|
27640
|
+
if (_this._authenticationService.isValidToken(token)
|
27480
27641
|
&& (!_this.hasPermission(token.user.menuList, state.url) && !_this.hasAuthority(token.user, route.data.authority))) {
|
27481
|
-
_this.
|
27642
|
+
_this._router.navigate(['errors/403']);
|
27482
27643
|
return false;
|
27483
27644
|
}
|
27484
27645
|
return true;
|
27485
27646
|
}));
|
27486
27647
|
}
|
27487
|
-
this.
|
27648
|
+
this._router.navigate(['errors/403']);
|
27488
27649
|
return of(false);
|
27489
27650
|
};
|
27490
27651
|
PermissionGuard.prototype.hasAuthority = function (user, permission) {
|
@@ -27521,31 +27682,30 @@ var PermissionGuard = /** @class */ (function () {
|
|
27521
27682
|
]; };
|
27522
27683
|
PermissionGuard.ngInjectableDef = ɵɵdefineInjectable({ factory: function PermissionGuard_Factory() { return new PermissionGuard(ɵɵinject(Router), ɵɵinject(AuthenticationService)); }, token: PermissionGuard, providedIn: "root" });
|
27523
27684
|
PermissionGuard = __decorate([
|
27524
|
-
Injectable({
|
27525
|
-
|
27526
|
-
|
27527
|
-
__metadata("design:paramtypes", [Router, AuthenticationService])
|
27685
|
+
Injectable({ providedIn: 'root' }),
|
27686
|
+
__metadata("design:paramtypes", [Router,
|
27687
|
+
AuthenticationService])
|
27528
27688
|
], PermissionGuard);
|
27529
27689
|
return PermissionGuard;
|
27530
27690
|
}());
|
27531
27691
|
|
27532
27692
|
var PublicGuard = /** @class */ (function () {
|
27533
|
-
function PublicGuard(
|
27534
|
-
this.
|
27535
|
-
this.
|
27693
|
+
function PublicGuard(_router, _authenticationService) {
|
27694
|
+
this._router = _router;
|
27695
|
+
this._authenticationService = _authenticationService;
|
27536
27696
|
}
|
27537
27697
|
PublicGuard.prototype.canActivate = function (route, state) {
|
27538
27698
|
var _this = this;
|
27539
|
-
if (!ObjectUtil.isNull(this.
|
27540
|
-
return this.
|
27541
|
-
if (_this.
|
27542
|
-
_this.
|
27699
|
+
if (!ObjectUtil.isNull(this._authenticationService.tokenValueLocalStorage)) {
|
27700
|
+
return this._authenticationService.token.pipe(map(function (token) {
|
27701
|
+
if (_this._authenticationService.isValidToken(token)) {
|
27702
|
+
_this._router.navigate(['dashboard']);
|
27543
27703
|
return false;
|
27544
27704
|
}
|
27545
27705
|
return true;
|
27546
27706
|
}));
|
27547
27707
|
}
|
27548
|
-
this.
|
27708
|
+
this._router.navigate(['dashboard']);
|
27549
27709
|
return of(false);
|
27550
27710
|
};
|
27551
27711
|
PublicGuard.prototype.canActivateChild = function (route, state) {
|
@@ -27557,10 +27717,9 @@ var PublicGuard = /** @class */ (function () {
|
|
27557
27717
|
]; };
|
27558
27718
|
PublicGuard.ngInjectableDef = ɵɵdefineInjectable({ factory: function PublicGuard_Factory() { return new PublicGuard(ɵɵinject(Router), ɵɵinject(AuthenticationService)); }, token: PublicGuard, providedIn: "root" });
|
27559
27719
|
PublicGuard = __decorate([
|
27560
|
-
Injectable({
|
27561
|
-
|
27562
|
-
|
27563
|
-
__metadata("design:paramtypes", [Router, AuthenticationService])
|
27720
|
+
Injectable({ providedIn: 'root' }),
|
27721
|
+
__metadata("design:paramtypes", [Router,
|
27722
|
+
AuthenticationService])
|
27564
27723
|
], PublicGuard);
|
27565
27724
|
return PublicGuard;
|
27566
27725
|
}());
|
@@ -27620,6 +27779,7 @@ var MenuDTO = /** @class */ (function (_super) {
|
|
27620
27779
|
function MenuDTO() {
|
27621
27780
|
var _this = _super.call(this) || this;
|
27622
27781
|
_this.menuList = [];
|
27782
|
+
_this.id = '';
|
27623
27783
|
_this.expanded = false;
|
27624
27784
|
return _this;
|
27625
27785
|
}
|
@@ -28388,10 +28548,9 @@ var PopoverService = /** @class */ (function () {
|
|
28388
28548
|
]; };
|
28389
28549
|
PopoverService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PopoverService_Factory() { return new PopoverService(ɵɵinject(Overlay), ɵɵinject(INJECTOR$1)); }, token: PopoverService, providedIn: "root" });
|
28390
28550
|
PopoverService = __decorate([
|
28391
|
-
Injectable({
|
28392
|
-
|
28393
|
-
|
28394
|
-
__metadata("design:paramtypes", [Overlay, Injector])
|
28551
|
+
Injectable({ providedIn: 'root' }),
|
28552
|
+
__metadata("design:paramtypes", [Overlay,
|
28553
|
+
Injector])
|
28395
28554
|
], PopoverService);
|
28396
28555
|
return PopoverService;
|
28397
28556
|
}());
|
@@ -28776,5 +28935,5 @@ var MAT_NATIVE_DATE_FORMATS = {
|
|
28776
28935
|
* Generated bundle index. Do not edit.
|
28777
28936
|
*/
|
28778
28937
|
|
28779
|
-
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$
|
28938
|
+
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 };
|
28780
28939
|
//# sourceMappingURL=gipisistemas-ng-core.js.map
|