info-library 2.10.63 → 2.10.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/info-library.umd.js +76 -15
- package/bundles/info-library.umd.js.map +1 -1
- package/bundles/info-library.umd.min.js +1 -1
- package/bundles/info-library.umd.min.js.map +1 -1
- package/esm2015/controls/alert/alert.component.js +1 -1
- package/esm2015/controls/autocomplete/autocomplete.component.js +1 -1
- package/esm2015/controls/big-checkbox/big-checkbox.component.js +1 -1
- package/esm2015/controls/card/card.component.js +1 -1
- package/esm2015/controls/card-menu/card-menu.component.js +1 -1
- package/esm2015/controls/checkbox/checkbox.component.js +1 -1
- package/esm2015/controls/chips/chips.component.js +1 -1
- package/esm2015/controls/date/date.component.js +1 -1
- package/esm2015/controls/date-month/date-month.component.js +1 -1
- package/esm2015/controls/editor/editor.component.js +1 -1
- package/esm2015/controls/grid/grid.component.js +20 -1
- package/esm2015/controls/input/input.component.js +1 -1
- package/esm2015/controls/input-list/input-list.component.js +1 -1
- package/esm2015/controls/list-checkbox/list-checkbox.component.js +1 -1
- package/esm2015/controls/message/message.component.js +1 -1
- package/esm2015/controls/multi-select/multi-select.component.js +1 -1
- package/esm2015/controls/paginator/paginator.component.js +1 -1
- package/esm2015/controls/select/select.component.js +1 -1
- package/esm2015/controls/timeline/timeline.component.js +1 -1
- package/esm2015/directives/mask.directive.js +1 -1
- package/esm2015/directives/unmask.directive.js +1 -1
- package/esm2015/enum/dialog-buttons.enum.js +1 -1
- package/esm2015/enum/index.js +1 -1
- package/esm2015/enum/modal-action.enum.js +1 -1
- package/esm2015/enum/page-action.enum.js +1 -1
- package/esm2015/global-config.js +1 -1
- package/esm2015/info-library.js +1 -1
- package/esm2015/info-library.module.js +1 -1
- package/esm2015/layouts/dialog/dialog.component.js +1 -1
- package/esm2015/layouts/loading/loading.component.js +1 -1
- package/esm2015/layouts/main/main.component.js +1 -1
- package/esm2015/layouts/modal/modal.component.js +17 -1
- package/esm2015/layouts/pagebar/pagebar.component.js +1 -1
- package/esm2015/layouts/sidebar/sidebar.component.js +2 -2
- package/esm2015/layouts/topbar/topbar.component.js +1 -1
- package/esm2015/layouts/topmenu/topmenu.component.js +1 -1
- package/esm2015/model/app-config.model.js +1 -1
- package/esm2015/model/data-access.model.js +1 -1
- package/esm2015/model/dialog-result.model.js +1 -1
- package/esm2015/model/dialog.model.js +1 -1
- package/esm2015/model/form-prop.model.js +1 -1
- package/esm2015/model/grid-button.model.js +1 -1
- package/esm2015/model/index.js +1 -1
- package/esm2015/model/last-search.model.js +1 -1
- package/esm2015/model/login.model.js +1 -1
- package/esm2015/model/method-grid-button.model.js +1 -1
- package/esm2015/model/notification.model.js +1 -1
- package/esm2015/model/pagebar-buttons.model.js +1 -1
- package/esm2015/model/permission.model.js +1 -1
- package/esm2015/model/platform.model.js +1 -1
- package/esm2015/model/session.model.js +1 -1
- package/esm2015/pipe/index.js +1 -1
- package/esm2015/pipe/mask.pipe.js +1 -1
- package/esm2015/pipe/translate.pipe.js +1 -1
- package/esm2015/public_api.js +1 -1
- package/esm2015/service/authentication.service.js +1 -1
- package/esm2015/service/configuration.service.js +1 -1
- package/esm2015/service/data.service.js +1 -1
- package/esm2015/service/index.js +1 -1
- package/esm2015/service/theme.service.js +1 -1
- package/esm2015/service/translate.service.js +1 -1
- package/fesm2015/info-library.js +36 -1
- package/fesm2015/info-library.js.map +1 -1
- package/info-library.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -917,7 +917,7 @@
|
|
|
917
917
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
918
918
|
*/
|
|
919
919
|
|
|
920
|
-
|
|
920
|
+
/******************************************************************************
|
|
921
921
|
Copyright (c) Microsoft Corporation.
|
|
922
922
|
|
|
923
923
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -941,6 +941,8 @@
|
|
|
941
941
|
return extendStatics(d, b);
|
|
942
942
|
};
|
|
943
943
|
function __extends(d, b) {
|
|
944
|
+
if (typeof b !== "function" && b !== null)
|
|
945
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
944
946
|
extendStatics(d, b);
|
|
945
947
|
function __() { this.constructor = d; }
|
|
946
948
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -1077,7 +1079,11 @@
|
|
|
1077
1079
|
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
1078
1080
|
if (k2 === undefined)
|
|
1079
1081
|
k2 = k;
|
|
1080
|
-
Object.
|
|
1082
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1083
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1084
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
1085
|
+
}
|
|
1086
|
+
Object.defineProperty(o, k2, desc);
|
|
1081
1087
|
}) : (function (o, m, k, k2) {
|
|
1082
1088
|
if (k2 === undefined)
|
|
1083
1089
|
k2 = k;
|
|
@@ -1126,11 +1132,13 @@
|
|
|
1126
1132
|
}
|
|
1127
1133
|
return ar;
|
|
1128
1134
|
}
|
|
1135
|
+
/** @deprecated */
|
|
1129
1136
|
function __spread() {
|
|
1130
1137
|
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
1131
1138
|
ar = ar.concat(__read(arguments[i]));
|
|
1132
1139
|
return ar;
|
|
1133
1140
|
}
|
|
1141
|
+
/** @deprecated */
|
|
1134
1142
|
function __spreadArrays() {
|
|
1135
1143
|
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
1136
1144
|
s += arguments[i].length;
|
|
@@ -1139,7 +1147,17 @@
|
|
|
1139
1147
|
r[k] = a[j];
|
|
1140
1148
|
return r;
|
|
1141
1149
|
}
|
|
1142
|
-
|
|
1150
|
+
function __spreadArray(to, from, pack) {
|
|
1151
|
+
if (pack || arguments.length === 2)
|
|
1152
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
1153
|
+
if (ar || !(i in from)) {
|
|
1154
|
+
if (!ar)
|
|
1155
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
1156
|
+
ar[i] = from[i];
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
1160
|
+
}
|
|
1143
1161
|
function __await(v) {
|
|
1144
1162
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
1145
1163
|
}
|
|
@@ -1204,18 +1222,26 @@
|
|
|
1204
1222
|
function __importDefault(mod) {
|
|
1205
1223
|
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
1206
1224
|
}
|
|
1207
|
-
function __classPrivateFieldGet(receiver,
|
|
1208
|
-
if (!
|
|
1209
|
-
throw new TypeError("
|
|
1210
|
-
|
|
1211
|
-
|
|
1225
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
1226
|
+
if (kind === "a" && !f)
|
|
1227
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
1228
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
1229
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
1230
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
1212
1231
|
}
|
|
1213
|
-
function __classPrivateFieldSet(receiver,
|
|
1214
|
-
if (
|
|
1215
|
-
throw new TypeError("
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1232
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
1233
|
+
if (kind === "m")
|
|
1234
|
+
throw new TypeError("Private method is not writable");
|
|
1235
|
+
if (kind === "a" && !f)
|
|
1236
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
1237
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
1238
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
1239
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
1240
|
+
}
|
|
1241
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
1242
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
1243
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
1244
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
1219
1245
|
}
|
|
1220
1246
|
|
|
1221
1247
|
/**
|
|
@@ -4354,10 +4380,29 @@
|
|
|
4354
4380
|
InfoGridComponent.prototype.getSearch = function () {
|
|
4355
4381
|
var _this = this;
|
|
4356
4382
|
this.onbeforesearch.emit();
|
|
4383
|
+
this.messages = [];
|
|
4357
4384
|
if (this.paged) {
|
|
4358
4385
|
this.searchmodel.Index = this.paginator.index;
|
|
4359
4386
|
this.searchmodel.Size = this.size;
|
|
4360
4387
|
}
|
|
4388
|
+
/** @type {?} */
|
|
4389
|
+
var dataInicial = this.searchmodel["DataInicial"];
|
|
4390
|
+
/** @type {?} */
|
|
4391
|
+
var dataFinal = this.searchmodel["DataFinal"];
|
|
4392
|
+
if (dataInicial != null && dataFinal != null && new Date(dataInicial) > new Date(dataFinal)) {
|
|
4393
|
+
this.messages.push('DataInicialMaiorFinal');
|
|
4394
|
+
this.hideLoad();
|
|
4395
|
+
return;
|
|
4396
|
+
}
|
|
4397
|
+
/** @type {?} */
|
|
4398
|
+
var dataInicio = this.searchmodel["DataInicio"];
|
|
4399
|
+
/** @type {?} */
|
|
4400
|
+
var dataFim = this.searchmodel["DataFim"];
|
|
4401
|
+
if (dataInicio != null && dataFim != null && new Date(dataInicio) > new Date(dataFim)) {
|
|
4402
|
+
this.messages.push('DataInicioMaiorFim');
|
|
4403
|
+
this.hideLoad();
|
|
4404
|
+
return;
|
|
4405
|
+
}
|
|
4361
4406
|
this._dataAccessService
|
|
4362
4407
|
.post(this.api, this.searchmodel, this.method)
|
|
4363
4408
|
.subscribe(( /**
|
|
@@ -7241,7 +7286,7 @@
|
|
|
7241
7286
|
{ type: i0.Component, args: [{
|
|
7242
7287
|
selector: 'info-sidebar',
|
|
7243
7288
|
template: "<ng-container *ngIf=\"_platform.Config.ux >= 3\">\r\n <div class=\"site-sidebar\" [ngClass]=\"{ 'opened': openSubmenu }\" >\r\n <nav>\r\n <div class=\"main-menu\">\r\n <a id=\"menu-min-icon\" (click)=\"toggleSidebar()\">\r\n <mat-icon [ngClass]=\"{ 'min': _platform.MenuMin }\">chevron_right</mat-icon>\r\n </a>\r\n\r\n <ul *ngIf=\"menu\">\r\n \r\n <li class=\"menu-item\" *ngFor=\"let m of menu\" [ngClass]=\"{ 'active': menuAtivo == m.Title, 'disabled': !m.Enabled, 'opened': openSubmenu == m.Title }\">\r\n \r\n <a *ngIf=\"m.Sub == null\" [routerLink]=\"m.Routing\" class=\"item-link\" (click)=\"access(m.Title);tooltip.hide();\" >\r\n <mat-icon #tooltip=\"matTooltip\" [matTooltip]=\"m.Title | translate\" [matTooltipDisabled]=\"!_platform.MenuMin\" matTooltipPosition=\"right\" [matTooltipShowDelay]=\"600\" matTooltipClass=\"mat-tooltip\">{{ m.Icon }}</mat-icon>\r\n <label class=\"title\">{{ m.Title | translate }}</label>\r\n </a>\r\n \r\n <ng-container *ngIf=\"m.Sub != null\">\r\n <a class=\"item-link\" (click)=\"toggleSubmenu(m.Title);tooltip.hide();\" >\r\n <mat-icon #tooltip=\"matTooltip\" [matTooltip]=\"m.Title | translate\" [matTooltipDisabled]=\"!_platform.MenuMin\" matTooltipPosition=\"right\" [matTooltipShowDelay]=\"600\" matTooltipClass=\"mat-tooltip\" >{{ m.Icon }}</mat-icon>\r\n <label class=\"title\">{{ m.Title | translate }}</label>\r\n </a>\r\n \r\n <div class=\"sub-menu\">\r\n <h4>{{ m.Title | translate }}</h4>\r\n \r\n <ul>\r\n <li *ngFor=\"let s of m.Sub\">\r\n <a [routerLink]=\"s.Routing\" class=\"item-link\" (click)=\"changeSidebar();access(m.Title);\" >{{ s.Title | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </ng-container>\r\n </li>\r\n </ul>\r\n </div>\r\n </nav>\r\n <div class=\"sub-menu-overlay\" (click)=\"openSubmenu = ''\"></div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"_platform.Config.ux <= 2\">\r\n <div class=\"site-sidebar\">\r\n\r\n <div class=\"logo\">\r\n <a href=\"/\" >\r\n <i class=\"logo-img\"></i>\r\n </a>\r\n </div>\r\n\r\n <div class=\"info\">\r\n <span>{{ _session.Usuario }}</span>\r\n <small>{{ _session.Perfil }}</small>\r\n </div>\r\n\r\n <nav>\r\n <div class=\"main-menu\">\r\n <section class=\"loading-bar\" *ngIf=\"loading\">\r\n <mat-progress-bar color=\"primary\" mode=\"indeterminate\"></mat-progress-bar>\r\n </section>\r\n <ul *ngIf=\"menu\">\r\n <li class=\"menu-item\" *ngFor=\"let m of menu\" [ngClass]=\"{ 'has-sub': m.Sub != null, 'active': m.Active, 'menu-item-group': m.Group, 'disabled': !m.Enabled }\">\r\n \r\n <!-- Grupos -->\r\n <span class=\"group-title\" *ngIf=\"m.Group\">{{ m.Title }} </span>\r\n \r\n <!-- Itens -->\r\n <a href=\"#\" [routerLink]=\"m.Routing\" class=\"item-link\" *ngIf=\"!m.Group && m.Sub == null && m.Enabled\" (click)=\"toggle($event, m);resetLastSearch();\">\r\n <mat-icon>{{ m.Icon }}</mat-icon>{{ m.Title | translate }}\r\n </a>\r\n \r\n <a class=\"item-link\" *ngIf=\"!m.Group && m.Sub == null && !m.Enabled\">\r\n <mat-icon>{{ m.Icon }}</mat-icon>{{ m.Title | translate }} \r\n </a>\r\n \r\n <!-- Item com submenu -->\r\n <a href=\"#\" class=\"item-link\" *ngIf=\"!m.Group && m.Sub != null\" (click)=\"toggle($event, m)\">\r\n <mat-icon class=\"icon\">{{ m.Icon }}</mat-icon>{{ m.Title | translate }}\r\n <i class=\"caret fa fa-angle-right\" *ngIf=\"m.Sub\"></i>\r\n </a>\r\n \r\n <!-- Sub Menu -->\r\n <ul class=\"sub\" *ngIf=\"!m.Group && m.Sub != null\">\r\n <li class=\"menu-item\" *ngFor=\"let s of m.Sub\">\r\n <a [routerLink]=\"s.Routing\" (click)=\"resetLastSearch()\" class=\"item-link\" >{{ s.Title | translate }}</a>\r\n </li>\r\n </ul>\r\n </li>\r\n </ul>\r\n </div>\r\n </nav>\r\n </div>\r\n</ng-container>\r\n\r\n<div class=\"sidebar-overlay\"></div>",
|
|
7244
|
-
styles: [":host.uxc3{display:block;height:100%;left:0;position:fixed;top:80px;transition:left .2s ease-in-out,width .2s ease-in-out;width:240px;z-index:9997}@media screen and (max-width:991px){:host.uxc3{left:-240px;top:180px}}:host.uxc3 .site-sidebar{display:flex;flex-direction:column;height:100%;min-height:60px;width:100%}@media screen and (max-width:991px){:host.uxc3 .site-sidebar{position:relative}:host.uxc3 .site-sidebar:before{top:180px}}:host.uxc3 .site-sidebar:before{content:\" \";height:100%;left:240px;position:fixed;top:0;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;visibility:hidden;width:370px;z-index:-1}@media screen and (max-width:991px){:host.uxc3 .site-sidebar:before{display:none}}:host.uxc3 .site-sidebar.opened:before{opacity:1;visibility:visible}:host.uxc3 .site-sidebar.opened .sub-menu-overlay{opacity:.5;visibility:visible}@media screen and (max-width:991px){:host.uxc3 .site-sidebar.opened .sub-menu-overlay{opacity:0!important}}:host.uxc3 .site-sidebar .sub-menu-overlay{height:100%;left:0;opacity:0;position:fixed;top:0;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;visibility:hidden;width:100%;z-index:-2}:host.uxc3 nav{-webkit-overflow-scrolling:touch;display:block;overflow-x:hidden;overflow-y:auto;padding-top:5px}:host.uxc3 nav #menu-min-icon{cursor:pointer;height:20px;position:absolute;right:20px;top:20px;transition:right .2s ease-in-out;width:20px}:host.uxc3 nav #menu-min-icon mat-icon{font-size:20px;height:inherit;transform:rotate(180deg);transition:transform .2s ease-in-out;width:inherit}:host.uxc3 nav #menu-min-icon mat-icon.min{transform:rotate(0deg)}:host.uxc3 nav .main-menu{overflow-y:auto;width:240px}:host.uxc3 nav .main-menu>ul{list-style-type:none;margin:30px 0 0;padding:10px 0 90px}:host.uxc3 nav .main-menu>ul .menu-item{margin-bottom:3px;position:relative}:host.uxc3 nav .main-menu>ul .menu-item:after{bottom:0;content:\"\";left:-5px;position:absolute;top:0;transition:transform .2s ease-in-out;width:5px}:host.uxc3 nav .main-menu>ul .menu-item>.item-link{-moz-user-select:none;-
|
|
7289
|
+
styles: [":host.uxc3{display:block;height:100%;left:0;position:fixed;top:80px;transition:left .2s ease-in-out,width .2s ease-in-out;width:240px;z-index:9997}@media screen and (max-width:991px){:host.uxc3{left:-240px;top:180px}}:host.uxc3 .site-sidebar{display:flex;flex-direction:column;height:100%;min-height:60px;width:100%}@media screen and (max-width:991px){:host.uxc3 .site-sidebar{position:relative}:host.uxc3 .site-sidebar:before{top:180px}}:host.uxc3 .site-sidebar:before{content:\" \";height:100%;left:240px;position:fixed;top:0;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;visibility:hidden;width:370px;z-index:-1}@media screen and (max-width:991px){:host.uxc3 .site-sidebar:before{display:none}}:host.uxc3 .site-sidebar.opened:before{opacity:1;visibility:visible}:host.uxc3 .site-sidebar.opened .sub-menu-overlay{opacity:.5;visibility:visible}@media screen and (max-width:991px){:host.uxc3 .site-sidebar.opened .sub-menu-overlay{opacity:0!important}}:host.uxc3 .site-sidebar .sub-menu-overlay{height:100%;left:0;opacity:0;position:fixed;top:0;transition:opacity .2s ease-in-out,visibility .2s ease-in-out;visibility:hidden;width:100%;z-index:-2}:host.uxc3 nav{-webkit-overflow-scrolling:touch;display:block;overflow-x:hidden;overflow-y:auto;padding-top:5px}:host.uxc3 nav #menu-min-icon{cursor:pointer;height:20px;position:absolute;right:20px;top:20px;transition:right .2s ease-in-out;width:20px}:host.uxc3 nav #menu-min-icon mat-icon{font-size:20px;height:inherit;transform:rotate(180deg);transition:transform .2s ease-in-out;width:inherit}:host.uxc3 nav #menu-min-icon mat-icon.min{transform:rotate(0deg)}:host.uxc3 nav .main-menu{overflow-y:auto;width:240px}:host.uxc3 nav .main-menu>ul{list-style-type:none;margin:30px 0 0;padding:10px 0 90px}:host.uxc3 nav .main-menu>ul .menu-item{margin-bottom:3px;position:relative}:host.uxc3 nav .main-menu>ul .menu-item:after{bottom:0;content:\"\";left:-5px;position:absolute;top:0;transition:transform .2s ease-in-out;width:5px}:host.uxc3 nav .main-menu>ul .menu-item>.item-link{-moz-user-select:none;-webkit-touch-callout:none;-webkit-user-select:none;cursor:pointer;display:block;font-size:14px;font-weight:500;padding:5px 5px 10px 20px;position:relative;text-decoration:none;transition:background .2s ease-in-out,color .2s ease-in-out;user-select:none}:host.uxc3 nav .main-menu>ul .menu-item>.item-link .mat-icon{height:auto;margin-right:15px;top:6px}:host.uxc3 nav .main-menu>ul .menu-item>.item-link .title{margin-bottom:0;transition:opacity .2s ease-in-out}:host.uxc3 nav .main-menu>ul .menu-item:hover>.item-link{font-weight:600}:host.uxc3 nav .main-menu>ul .menu-item:hover:after{transform:translateX(4px)}:host.uxc3 nav .main-menu>ul .menu-item.active>.item-link,:host.uxc3 nav .main-menu>ul .menu-item.opened>.item-link{background:transparent;font-weight:600}:host.uxc3 nav .main-menu>ul .menu-item.active:after,:host.uxc3 nav .main-menu>ul .menu-item.opened:after{transform:translateX(4px)}:host.uxc3 nav .main-menu>ul .menu-item.disabled>.item-link{cursor:default;opacity:.5}:host.uxc3 nav .main-menu>ul .menu-item .sub-menu{font-family:Open Sans,sans-serif;left:240px;opacity:0;padding:0 40px;position:fixed;top:100px;transition:opacity .2s ease-in-out 0s,visibility 0s ease-in-out .2s;visibility:hidden;width:370px}@media screen and (max-width:991px){:host.uxc3 nav .main-menu>ul .menu-item .sub-menu{display:none}}:host.uxc3 nav .main-menu>ul .menu-item .sub-menu h4{font-size:24px;font-weight:500}:host.uxc3 nav .main-menu>ul .menu-item .sub-menu ul{list-style:none;margin:0;padding:0}:host.uxc3 nav .main-menu>ul .menu-item .sub-menu ul li{margin:10px 3px}:host.uxc3 nav .main-menu>ul .menu-item .sub-menu ul li a{cursor:pointer;font-size:14px;font-weight:500;margin:0;padding:5px 0;transition:color .2s ease-in-out}:host.uxc3 nav .main-menu>ul .menu-item .sub-menu ul li a:hover{font-weight:600!important;text-decoration:none!important}:host.uxc3 nav .main-menu>ul .menu-item.opened .sub-menu{opacity:1;visibility:visible}:host.uxc3 .sidebar-overlay{opacity:0;transition:opacity .2s ease-in-out 0s,visibility 0s ease-in-out .2s;visibility:hidden;width:100%;z-index:-3}:host.uxc2,:host.uxc3 .sidebar-overlay{height:100%;left:0;position:fixed;top:0}:host.uxc2{display:block;transition:left .2s ease-in-out;width:240px;z-index:997}@media (max-width:991px){:host.uxc2{left:-240px}}:host.uxc2 .logo{background:main-color(600);display:block;height:70px}:host.uxc2 .logo a{align-items:flex-end;display:flex;font-family:Open Sans,sans-serif;height:inherit;padding:5px 15px;text-decoration:none}:host.uxc2 .logo a i.logo-img{height:50px;margin:auto;vertical-align:top;width:210px}:host.uxc2 .site-sidebar{display:flex;flex-direction:column;height:100%;min-height:60px;width:100%}@media (max-width:991px){:host.uxc2 .site-sidebar{position:relative;z-index:9999}}:host.uxc2 .site-sidebar .info{background-size:cover;padding:8px 20px}:host.uxc2 .site-sidebar .info span{font-size:1.2em;margin:0}:host.uxc2 .site-sidebar .info label,:host.uxc2 .site-sidebar .info small{display:block}:host.uxc2 .site-sidebar .info p{margin-top:5px}:host.uxc2 .site-sidebar .info p a{cursor:pointer;font-size:.9em}:host.uxc2 .site-sidebar .info p a:hover{text-decoration:underline}:host.uxc2 .sidebar-overlay{height:100%;left:0;opacity:0;position:fixed;top:0;transition:opacity .2s ease-in-out 0s,visibility 0s ease-in-out .2s;visibility:hidden;width:100%;z-index:9998}:host.uxc2 nav{-webkit-overflow-scrolling:touch;display:block;overflow-x:hidden;overflow-y:auto}:host.uxc2 nav .main-menu{width:240px}:host.uxc2 nav .main-menu>ul{list-style-type:none;margin:0;padding:10px 0 22px}:host.uxc2 nav .main-menu>ul .menu-item{margin-bottom:3px;position:relative}:host.uxc2 nav .main-menu>ul .menu-item:after{bottom:0;content:\"\";position:absolute;right:100%;top:0;transition:transform .2s ease-in-out;width:4px}:host.uxc2 nav .main-menu>ul .menu-item .item-link{display:block;font-size:1rem;font-weight:400;padding:11px 22px;position:relative;text-decoration:none;transition:background .2s ease-in-out,color .2s ease-in-out}:host.uxc2 nav .main-menu>ul .menu-item .item-link .item-badge{border-radius:8px;float:right;font-size:10px;line-height:1;margin-top:2px;padding:2px 6px 4px}:host.uxc2 nav .main-menu>ul .menu-item .item-link .icon{transition:color .2s ease-in-out;width:22px}:host.uxc2 nav .main-menu>ul .menu-item .item-link .mat-icon{font-size:18px;height:auto;top:4px;width:25px}:host.uxc2 nav .main-menu>ul .menu-item.menu-item-group:after{display:none}:host.uxc2 nav .main-menu>ul .menu-item .group-title{color:rgba(0,0,0,.6);display:block;font-size:.8rem;font-weight:600;padding:6px 22px 5px;text-transform:uppercase}:host.uxc2 nav .main-menu>ul .menu-item .sub{list-style-type:none;margin:0;max-height:0;overflow:hidden;padding:0;transition:max-height .1s ease-in-out}:host.uxc2 nav .main-menu>ul .menu-item .sub .menu-item .item-link{font-size:.9em;padding:5px 22px 6px 48px}:host.uxc2 nav .main-menu>ul .menu-item .sub .menu-item:first-child>.item-link:before{border-top:1px solid transparent;content:\"\";left:0;position:absolute;right:0;top:0;transition:border .2s ease-in-out}:host.uxc2 nav .main-menu>ul .menu-item.active:after,:host.uxc2 nav .main-menu>ul .menu-item:hover:not(.disabled):after{transform:translateX(4px)}:host.uxc2 nav .main-menu>ul .menu-item.disabled>.item-link{cursor:default;opacity:.5}:host.uxc2 nav .main-menu>ul .menu-item.has-sub,:host.uxc2 nav .main-menu>ul .menu-item.has-sub>.item-link{position:relative}:host.uxc2 nav .main-menu>ul .menu-item.has-sub>.item-link .caret{margin-top:.55rem;position:absolute;right:13px;top:6px;transition:transform .1s ease-in-out}:host.uxc2 nav .main-menu>ul .menu-item.has-sub.active>.item-link .caret{transform:rotate(90deg)}:host.uxc2 nav .main-menu>ul .menu-item.has-sub.active>.sub{max-height:1000px}"]
|
|
7245
7290
|
}] }
|
|
7246
7291
|
];
|
|
7247
7292
|
/** @nocollapse */
|
|
@@ -7998,6 +8043,22 @@
|
|
|
7998
8043
|
this.messages = [];
|
|
7999
8044
|
if (this.api == null || this.api.toString() == '')
|
|
8000
8045
|
this.messages.push('API não informado');
|
|
8046
|
+
/** @type {?} */
|
|
8047
|
+
var dataInicial = this.model["DataInicial"];
|
|
8048
|
+
/** @type {?} */
|
|
8049
|
+
var dataFinal = this.model["DataFinal"];
|
|
8050
|
+
if (dataInicial != null && dataFinal != null && new Date(dataInicial) > new Date(dataFinal)) {
|
|
8051
|
+
this.messages.push('DataInicialMaiorFinal');
|
|
8052
|
+
return;
|
|
8053
|
+
}
|
|
8054
|
+
/** @type {?} */
|
|
8055
|
+
var dataInicio = this.model["DataInicio"];
|
|
8056
|
+
/** @type {?} */
|
|
8057
|
+
var dataFim = this.model["DataFim"];
|
|
8058
|
+
if (dataInicio != null && dataFim != null && new Date(dataInicio) > new Date(dataFim)) {
|
|
8059
|
+
this.messages.push('DataInicioMaiorFim');
|
|
8060
|
+
return;
|
|
8061
|
+
}
|
|
8001
8062
|
if (this.messages.length > 0)
|
|
8002
8063
|
return;
|
|
8003
8064
|
this.loading = true;
|