info-library 2.10.18 → 2.10.22

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.
@@ -834,6 +834,307 @@
834
834
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
835
835
  */
836
836
 
837
+ /*! *****************************************************************************
838
+ Copyright (c) Microsoft Corporation.
839
+
840
+ Permission to use, copy, modify, and/or distribute this software for any
841
+ purpose with or without fee is hereby granted.
842
+
843
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
844
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
845
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
846
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
847
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
848
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
849
+ PERFORMANCE OF THIS SOFTWARE.
850
+ ***************************************************************************** */
851
+ /* global Reflect, Promise */
852
+ var extendStatics = function (d, b) {
853
+ extendStatics = Object.setPrototypeOf ||
854
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
855
+ function (d, b) { for (var p in b)
856
+ if (Object.prototype.hasOwnProperty.call(b, p))
857
+ d[p] = b[p]; };
858
+ return extendStatics(d, b);
859
+ };
860
+ function __extends(d, b) {
861
+ extendStatics(d, b);
862
+ function __() { this.constructor = d; }
863
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
864
+ }
865
+ var __assign = function () {
866
+ __assign = Object.assign || function __assign(t) {
867
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
868
+ s = arguments[i];
869
+ for (var p in s)
870
+ if (Object.prototype.hasOwnProperty.call(s, p))
871
+ t[p] = s[p];
872
+ }
873
+ return t;
874
+ };
875
+ return __assign.apply(this, arguments);
876
+ };
877
+ function __rest(s, e) {
878
+ var t = {};
879
+ for (var p in s)
880
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
881
+ t[p] = s[p];
882
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
883
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
884
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
885
+ t[p[i]] = s[p[i]];
886
+ }
887
+ return t;
888
+ }
889
+ function __decorate(decorators, target, key, desc) {
890
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
891
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
892
+ r = Reflect.decorate(decorators, target, key, desc);
893
+ else
894
+ for (var i = decorators.length - 1; i >= 0; i--)
895
+ if (d = decorators[i])
896
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
897
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
898
+ }
899
+ function __param(paramIndex, decorator) {
900
+ return function (target, key) { decorator(target, key, paramIndex); };
901
+ }
902
+ function __metadata(metadataKey, metadataValue) {
903
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
904
+ return Reflect.metadata(metadataKey, metadataValue);
905
+ }
906
+ function __awaiter(thisArg, _arguments, P, generator) {
907
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
908
+ return new (P || (P = Promise))(function (resolve, reject) {
909
+ function fulfilled(value) { try {
910
+ step(generator.next(value));
911
+ }
912
+ catch (e) {
913
+ reject(e);
914
+ } }
915
+ function rejected(value) { try {
916
+ step(generator["throw"](value));
917
+ }
918
+ catch (e) {
919
+ reject(e);
920
+ } }
921
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
922
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
923
+ });
924
+ }
925
+ function __generator(thisArg, body) {
926
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
927
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
928
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
929
+ function verb(n) { return function (v) { return step([n, v]); }; }
930
+ function step(op) {
931
+ if (f)
932
+ throw new TypeError("Generator is already executing.");
933
+ while (_)
934
+ try {
935
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
936
+ return t;
937
+ if (y = 0, t)
938
+ op = [op[0] & 2, t.value];
939
+ switch (op[0]) {
940
+ case 0:
941
+ case 1:
942
+ t = op;
943
+ break;
944
+ case 4:
945
+ _.label++;
946
+ return { value: op[1], done: false };
947
+ case 5:
948
+ _.label++;
949
+ y = op[1];
950
+ op = [0];
951
+ continue;
952
+ case 7:
953
+ op = _.ops.pop();
954
+ _.trys.pop();
955
+ continue;
956
+ default:
957
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
958
+ _ = 0;
959
+ continue;
960
+ }
961
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
962
+ _.label = op[1];
963
+ break;
964
+ }
965
+ if (op[0] === 6 && _.label < t[1]) {
966
+ _.label = t[1];
967
+ t = op;
968
+ break;
969
+ }
970
+ if (t && _.label < t[2]) {
971
+ _.label = t[2];
972
+ _.ops.push(op);
973
+ break;
974
+ }
975
+ if (t[2])
976
+ _.ops.pop();
977
+ _.trys.pop();
978
+ continue;
979
+ }
980
+ op = body.call(thisArg, _);
981
+ }
982
+ catch (e) {
983
+ op = [6, e];
984
+ y = 0;
985
+ }
986
+ finally {
987
+ f = t = 0;
988
+ }
989
+ if (op[0] & 5)
990
+ throw op[1];
991
+ return { value: op[0] ? op[1] : void 0, done: true };
992
+ }
993
+ }
994
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
995
+ if (k2 === undefined)
996
+ k2 = k;
997
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
998
+ }) : (function (o, m, k, k2) {
999
+ if (k2 === undefined)
1000
+ k2 = k;
1001
+ o[k2] = m[k];
1002
+ });
1003
+ function __exportStar(m, o) {
1004
+ for (var p in m)
1005
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
1006
+ __createBinding(o, m, p);
1007
+ }
1008
+ function __values(o) {
1009
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
1010
+ if (m)
1011
+ return m.call(o);
1012
+ if (o && typeof o.length === "number")
1013
+ return {
1014
+ next: function () {
1015
+ if (o && i >= o.length)
1016
+ o = void 0;
1017
+ return { value: o && o[i++], done: !o };
1018
+ }
1019
+ };
1020
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
1021
+ }
1022
+ function __read(o, n) {
1023
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
1024
+ if (!m)
1025
+ return o;
1026
+ var i = m.call(o), r, ar = [], e;
1027
+ try {
1028
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
1029
+ ar.push(r.value);
1030
+ }
1031
+ catch (error) {
1032
+ e = { error: error };
1033
+ }
1034
+ finally {
1035
+ try {
1036
+ if (r && !r.done && (m = i["return"]))
1037
+ m.call(i);
1038
+ }
1039
+ finally {
1040
+ if (e)
1041
+ throw e.error;
1042
+ }
1043
+ }
1044
+ return ar;
1045
+ }
1046
+ function __spread() {
1047
+ for (var ar = [], i = 0; i < arguments.length; i++)
1048
+ ar = ar.concat(__read(arguments[i]));
1049
+ return ar;
1050
+ }
1051
+ function __spreadArrays() {
1052
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
1053
+ s += arguments[i].length;
1054
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
1055
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
1056
+ r[k] = a[j];
1057
+ return r;
1058
+ }
1059
+ ;
1060
+ function __await(v) {
1061
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
1062
+ }
1063
+ function __asyncGenerator(thisArg, _arguments, generator) {
1064
+ if (!Symbol.asyncIterator)
1065
+ throw new TypeError("Symbol.asyncIterator is not defined.");
1066
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
1067
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
1068
+ function verb(n) { if (g[n])
1069
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
1070
+ function resume(n, v) { try {
1071
+ step(g[n](v));
1072
+ }
1073
+ catch (e) {
1074
+ settle(q[0][3], e);
1075
+ } }
1076
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
1077
+ function fulfill(value) { resume("next", value); }
1078
+ function reject(value) { resume("throw", value); }
1079
+ function settle(f, v) { if (f(v), q.shift(), q.length)
1080
+ resume(q[0][0], q[0][1]); }
1081
+ }
1082
+ function __asyncDelegator(o) {
1083
+ var i, p;
1084
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
1085
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
1086
+ }
1087
+ function __asyncValues(o) {
1088
+ if (!Symbol.asyncIterator)
1089
+ throw new TypeError("Symbol.asyncIterator is not defined.");
1090
+ var m = o[Symbol.asyncIterator], i;
1091
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
1092
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
1093
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
1094
+ }
1095
+ function __makeTemplateObject(cooked, raw) {
1096
+ if (Object.defineProperty) {
1097
+ Object.defineProperty(cooked, "raw", { value: raw });
1098
+ }
1099
+ else {
1100
+ cooked.raw = raw;
1101
+ }
1102
+ return cooked;
1103
+ }
1104
+ ;
1105
+ var __setModuleDefault = Object.create ? (function (o, v) {
1106
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
1107
+ }) : function (o, v) {
1108
+ o["default"] = v;
1109
+ };
1110
+ function __importStar(mod) {
1111
+ if (mod && mod.__esModule)
1112
+ return mod;
1113
+ var result = {};
1114
+ if (mod != null)
1115
+ for (var k in mod)
1116
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
1117
+ __createBinding(result, mod, k);
1118
+ __setModuleDefault(result, mod);
1119
+ return result;
1120
+ }
1121
+ function __importDefault(mod) {
1122
+ return (mod && mod.__esModule) ? mod : { default: mod };
1123
+ }
1124
+ function __classPrivateFieldGet(receiver, privateMap) {
1125
+ if (!privateMap.has(receiver)) {
1126
+ throw new TypeError("attempted to get private field on non-instance");
1127
+ }
1128
+ return privateMap.get(receiver);
1129
+ }
1130
+ function __classPrivateFieldSet(receiver, privateMap, value) {
1131
+ if (!privateMap.has(receiver)) {
1132
+ throw new TypeError("attempted to set private field on non-instance");
1133
+ }
1134
+ privateMap.set(receiver, value);
1135
+ return value;
1136
+ }
1137
+
837
1138
  /**
838
1139
  * @fileoverview added by tsickle
839
1140
  * Generated from: service/data.service.ts
@@ -1127,11 +1428,6 @@
1127
1428
  InfoDataService.prototype._plataforma;
1128
1429
  }
1129
1430
 
1130
- /**
1131
- * @fileoverview added by tsickle
1132
- * Generated from: service/authentication.service.ts
1133
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1134
- */
1135
1431
  var InfoAuthenticationService = /** @class */ (function () {
1136
1432
  /**
1137
1433
  * @param {?} _router
@@ -1175,19 +1471,21 @@
1175
1471
  this.logout();
1176
1472
  return true;
1177
1473
  }
1474
+ /** @type {?} */
1475
+ var url = activatedRouteSnapshot.data['URL'] || routerStateSnapshot.url;
1178
1476
  this.refreshSessionTime();
1179
- this.definePaginaAtiva(routerStateSnapshot.url);
1180
- return this.getPermission(routerStateSnapshot.url, true)
1477
+ this.definePaginaAtiva(url);
1478
+ return this.getPermission(url, true)
1181
1479
  .pipe(operators.map(( /**
1182
1480
  * @return {?}
1183
1481
  */function () {
1184
- if (routerStateSnapshot.url == '/')
1482
+ if (url == '/')
1185
1483
  return true;
1186
- if (!_this.hasPermission(routerStateSnapshot.url))
1484
+ if (!_this.hasPermission(url))
1187
1485
  _this._router.navigateByUrl('permission');
1188
- if (routerStateSnapshot.url.indexOf('novo') > -1 && !_this.hasPermission(routerStateSnapshot.url, 'new'))
1486
+ if (url.indexOf('novo') > -1 && !_this.hasPermission(url, 'new'))
1189
1487
  _this._router.navigateByUrl('permission');
1190
- if (routerStateSnapshot.url.indexOf('visualizar') < -1 && activatedRouteSnapshot.paramMap.get('id') != null && !_this.hasPermission(routerStateSnapshot.url, 'edit'))
1488
+ if (url.indexOf('visualizar') < -1 && activatedRouteSnapshot.paramMap.get('id') != null && !_this.hasPermission(url, 'edit'))
1191
1489
  _this._router.navigateByUrl('permission');
1192
1490
  return true;
1193
1491
  }), operators.catchError(( /**
@@ -1200,7 +1498,31 @@
1200
1498
  if (error.status == 401)
1201
1499
  _this.logout();
1202
1500
  return rxjs.of(true);
1203
- }))));
1501
+ })))).pipe(operators.switchMap(( /**
1502
+ * @param {?} res
1503
+ * @return {?}
1504
+ */function (res) { return __awaiter(_this, void 0, void 0, function () {
1505
+ var permissao, params, r;
1506
+ return __generator(this, function (_a) {
1507
+ switch (_a.label) {
1508
+ case 0:
1509
+ permissao = activatedRouteSnapshot.data['Permissao'];
1510
+ if (!permissao)
1511
+ return [2 /*return*/, true];
1512
+ params = (permissao[2] || '').replace(RegExp(/\{(.*?)\}/, 'g'), ( /**
1513
+ * @param {?} _
1514
+ * @param {?} p
1515
+ * @return {?}
1516
+ */function (_, p) { return activatedRouteSnapshot.params[p]; }));
1517
+ return [4 /*yield*/, this._dataService.get(permissao[0], permissao[1], params).toPromise()];
1518
+ case 1:
1519
+ r = _a.sent();
1520
+ if (!r.success || r.data != true)
1521
+ this._router.navigateByUrl('permission');
1522
+ return [2 /*return*/, true];
1523
+ }
1524
+ });
1525
+ }); })));
1204
1526
  };
1205
1527
  /**
1206
1528
  * @return {?}
@@ -1495,6 +1817,8 @@
1495
1817
  * @param {?} ret
1496
1818
  * @return {?}
1497
1819
  */ ret) {
1820
+ /** @type {?} */
1821
+ var permissao = true;
1498
1822
  if (ret.success) {
1499
1823
  if (ret.data == null) {
1500
1824
  _this.logout();
@@ -1516,9 +1840,16 @@
1516
1840
  */ s) { return s.URL == item.URL && s.ChaveFuncionalidade == item.ChaveFuncionalidade; })).length == 0)
1517
1841
  _this._sessao.Permissoes.push(item);
1518
1842
  }));
1843
+ ret.data.some(( /**
1844
+ * @param {?} s
1845
+ * @return {?}
1846
+ */function (/**
1847
+ * @param {?} s
1848
+ * @return {?}
1849
+ */ s) { return s.URL == urlGenerica; }));
1519
1850
  localStorage.setItem(_this._keySessao, JSON.stringify(_this._sessao));
1520
1851
  }
1521
- return true;
1852
+ return permissao;
1522
1853
  })), operators.catchError(( /**
1523
1854
  * @param {?} error
1524
1855
  * @return {?}
@@ -3484,6 +3815,7 @@
3484
3815
  * @param {?} _prop
3485
3816
  * @param {?} _dataAccessService
3486
3817
  * @param {?} _router
3818
+ * @param {?} _activatedRoute
3487
3819
  * @param {?} _authenticationService
3488
3820
  * @param {?} _changeDetectorRef
3489
3821
  * @param {?} _translate
@@ -3491,13 +3823,14 @@
3491
3823
  * @param {?} _renderer
3492
3824
  * @param {?} _element
3493
3825
  */
3494
- function InfoGridComponent(_dialog, _platform, modal, _prop, _dataAccessService, _router, _authenticationService, _changeDetectorRef, _translate, _lastSearch, _renderer, _element) {
3826
+ function InfoGridComponent(_dialog, _platform, modal, _prop, _dataAccessService, _router, _activatedRoute, _authenticationService, _changeDetectorRef, _translate, _lastSearch, _renderer, _element) {
3495
3827
  this._dialog = _dialog;
3496
3828
  this._platform = _platform;
3497
3829
  this.modal = modal;
3498
3830
  this._prop = _prop;
3499
3831
  this._dataAccessService = _dataAccessService;
3500
3832
  this._router = _router;
3833
+ this._activatedRoute = _activatedRoute;
3501
3834
  this._authenticationService = _authenticationService;
3502
3835
  this._changeDetectorRef = _changeDetectorRef;
3503
3836
  this._translate = _translate;
@@ -3571,6 +3904,7 @@
3571
3904
  this.colunasType = [];
3572
3905
  this.colunasWidth = [];
3573
3906
  this.currentUrl = null;
3907
+ this.url = null;
3574
3908
  this.parentIdUrlChange = new i0.EventEmitter();
3575
3909
  this.parentIdUrlValue = null;
3576
3910
  this._cols = '';
@@ -3615,6 +3949,7 @@
3615
3949
  * @return {?}
3616
3950
  */
3617
3951
  InfoGridComponent.prototype.ngOnInit = function () {
3952
+ this.url = (this._activatedRoute.snapshot.data['URL'] || this._router.url).toLowerCase();
3618
3953
  this._renderer.addClass(this._element.nativeElement, 'uxc' + this._platform.Config.ux);
3619
3954
  this.setPagebarTitle();
3620
3955
  if (this.searchmodel != null) {
@@ -3624,7 +3959,7 @@
3624
3959
  }
3625
3960
  else if (this.parent != null && (this.method == null || this.method == ''))
3626
3961
  this.method = 'GetByParentId';
3627
- if (!this.disablesearchlast && this._authenticationService.getUrlGenerica(this._lastSearch.url) == this._authenticationService.getUrlGenerica(this._router.url)) {
3962
+ if (!this.disablesearchlast && this._authenticationService.getUrlGenerica(this._lastSearch.url) == this._authenticationService.getUrlGenerica(this.url)) {
3628
3963
  this.enabledSearch = this._lastSearch.enabledSearch;
3629
3964
  if (this.searchmodel != null && this._lastSearch.model != null)
3630
3965
  Object.assign(this.searchmodel, this._lastSearch.model);
@@ -3652,7 +3987,7 @@
3652
3987
  * @param {?} model
3653
3988
  * @return {?}
3654
3989
  */ model) { return _this.formSearch.addControl(model); }));
3655
- if (!this.disablesearchlast && this.paged && this._authenticationService.getUrlGenerica(this._lastSearch.url) == this._authenticationService.getUrlGenerica(this._router.url))
3990
+ if (!this.disablesearchlast && this.paged && this._authenticationService.getUrlGenerica(this._lastSearch.url) == this._authenticationService.getUrlGenerica(this.url))
3656
3991
  this.paginator.index = this._lastSearch.index;
3657
3992
  if (this.dynamiccols == null) {
3658
3993
  this.setColumns();
@@ -3894,7 +4229,7 @@
3894
4229
  var _this = this;
3895
4230
  if (refreshPaginator === void 0) { refreshPaginator = false; }
3896
4231
  if (!this.disablesearchlast) {
3897
- this._lastSearch.url = this._authenticationService.getUrlGenerica(this._router.url);
4232
+ this._lastSearch.url = this._authenticationService.getUrlGenerica(this.url);
3898
4233
  this._lastSearch.enabledSearch = this.enabledSearch;
3899
4234
  this._lastSearch.model = Object.assign({}, this.searchmodel);
3900
4235
  if (this.paged)
@@ -3964,7 +4299,7 @@
3964
4299
  }
3965
4300
  else {
3966
4301
  if (this.newurl == null || this.newurl == '')
3967
- this.newurl = this._router.url;
4302
+ this.newurl = this.url;
3968
4303
  this.newurl += '/novo';
3969
4304
  this.newurl = this.newurl.replace('//', '/');
3970
4305
  this._router.navigateByUrl(this.newurl);
@@ -4002,7 +4337,7 @@
4002
4337
  }
4003
4338
  else {
4004
4339
  if (this.viewurl == null || this.viewurl == '')
4005
- this.viewurl = this._router.url;
4340
+ this.viewurl = this.url;
4006
4341
  this.viewurl += '/' + model.Id + (this.enabledclickaccess ? '' : '/visualizar');
4007
4342
  this.viewurl = this.viewurl.replace('//', '/');
4008
4343
  this._router.navigateByUrl(this.viewurl);
@@ -4021,7 +4356,7 @@
4021
4356
  }
4022
4357
  else {
4023
4358
  if (this.editurl == null || this.editurl == '')
4024
- this.editurl = this._router.url;
4359
+ this.editurl = this.url;
4025
4360
  this.editurl = this.editurl.replace('//', '/');
4026
4361
  this._router.navigate([this.editurl, model.Id]);
4027
4362
  }
@@ -4034,7 +4369,7 @@
4034
4369
  }
4035
4370
  else {
4036
4371
  if (this.viewurl == null || this.viewurl == '')
4037
- this.viewurl = this._router.url;
4372
+ this.viewurl = this.url;
4038
4373
  this.viewurl += '/' + model.Id + (this.enabledclickaccess ? '' : '/visualizar');
4039
4374
  this.viewurl = this.viewurl.replace('//', '/');
4040
4375
  this._router.navigateByUrl(this.viewurl);
@@ -4221,11 +4556,9 @@
4221
4556
  * @return {?}
4222
4557
  */
4223
4558
  InfoGridComponent.prototype.getPermission = function () {
4224
- /** @type {?} */
4225
- var url = this._router.url.toLowerCase();
4226
- this.hasPermissionNew = this._authenticationService.hasPermission(url, 'new');
4227
- this.hasPermissionEdit = this._authenticationService.hasPermission(url, 'edit');
4228
- this.hasPermissionDelete = this._authenticationService.hasPermission(url, 'remove');
4559
+ this.hasPermissionNew = this._authenticationService.hasPermission(this.url, 'new');
4560
+ this.hasPermissionEdit = this._authenticationService.hasPermission(this.url, 'edit');
4561
+ this.hasPermissionDelete = this._authenticationService.hasPermission(this.url, 'remove');
4229
4562
  this._changeDetectorRef.detectChanges();
4230
4563
  };
4231
4564
  /**
@@ -4307,6 +4640,7 @@
4307
4640
  { type: InfoFormPropModel },
4308
4641
  { type: InfoDataService },
4309
4642
  { type: i3.Router },
4643
+ { type: i3.ActivatedRoute },
4310
4644
  { type: InfoAuthenticationService },
4311
4645
  { type: i0.ChangeDetectorRef },
4312
4646
  { type: InfoTranslateService },
@@ -4515,6 +4849,8 @@
4515
4849
  /** @type {?} */
4516
4850
  InfoGridComponent.prototype.currentUrl;
4517
4851
  /** @type {?} */
4852
+ InfoGridComponent.prototype.url;
4853
+ /** @type {?} */
4518
4854
  InfoGridComponent.prototype.paginator;
4519
4855
  /** @type {?} */
4520
4856
  InfoGridComponent.prototype.parentIdUrlChange;
@@ -4546,6 +4882,11 @@
4546
4882
  * @private
4547
4883
  */
4548
4884
  InfoGridComponent.prototype._router;
4885
+ /**
4886
+ * @type {?}
4887
+ * @private
4888
+ */
4889
+ InfoGridComponent.prototype._activatedRoute;
4549
4890
  /**
4550
4891
  * @type {?}
4551
4892
  * @private
@@ -6876,15 +7217,16 @@
6876
7217
  }));
6877
7218
  };
6878
7219
  /**
6879
- * @param {?} id
6880
7220
  * @param {?} read
6881
7221
  * @param {?} access
6882
7222
  * @param {?} remove
6883
7223
  * @return {?}
6884
7224
  */
6885
- InfoTopbarComponent.prototype.setNotificationStatus = function (id, read, access, remove) {
7225
+ InfoTopbarComponent.prototype.setNotificationStatus = function (read, access, remove) {
6886
7226
  var _this = this;
6887
- this._dataService.post(this.notificationapi, { Id: id, Acesso: access, Leitura: read, Exclusao: remove }, this.notificationpostmethod)
7227
+ if (this.notifications.Count == 0)
7228
+ return;
7229
+ this._dataService.post(this.notificationapi, { Id: '00000000-0000-0000-0000-000000000000', Acesso: access, Leitura: read, Exclusao: remove }, this.notificationpostmethod)
6888
7230
  .subscribe(( /**
6889
7231
  * @param {?} r
6890
7232
  * @return {?}
@@ -6921,7 +7263,7 @@
6921
7263
  InfoTopbarComponent.decorators = [
6922
7264
  { type: i0.Component, args: [{
6923
7265
  selector: 'info-topbar',
6924
- template: "<ng-container *ngIf=\"_platform.Config.ux >= 3\">\r\n <div class=\"site-navbar\">\r\n <a class=\"logo\" >\r\n <i class=\"logo-img\"></i>\r\n <i class=\"logo-img-resp\"></i>\r\n </a>\r\n \r\n <div class=\"nav-items\">\r\n <div class=\"nav-item usuario-logado\">\r\n <dl (click)=\"navigate(profileurl)\">\r\n <dt>{{ _session.Perfil }}</dt>\r\n <dd>{{ _session.Usuario }}</dd>\r\n <mat-icon class=\"icon-out\">verified</mat-icon>\r\n </dl>\r\n </div>\r\n \r\n <div class=\"nav-item selecao-empresa\" [ngClass]=\"{ 'opened' : topMenu.empresa }\">\r\n <dl (click)=\"open('empresa')\">\r\n <dt>{{ 'Empresa' | translate }}</dt>\r\n <dd>{{ _session.Empresa }}</dd>\r\n <mat-icon class=\"icon-out\">shield</mat-icon>\r\n </dl>\r\n \r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Empresas' | translate }}</h4>\r\n \r\n <ul class=\"empresas\">\r\n <li *ngFor=\"let company of _session.Empresas\" >\r\n <a (click)=\"setCompany(company); divModal.click();\">{{ company.Nome }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\" *ngIf=\"fastsearchform\">\r\n <button mat-icon-button (click)=\"openFastSearch()\" [matTooltip]=\"fastsearchtitle | translate\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n \r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened' : topMenu.notificacao }\" *ngIf=\"notificationapi\">\r\n <button mat-icon-button (click)=\"setNotificationStatus(-1, true, false, false);open('notificacao')\" [matTooltip]=\"'Notificacoes' | translate\"><mat-icon>notifications_none</mat-icon>\r\n <span class=\"badge\" *ngIf=\"notifications.Count > 0\">{{ notifications.Count }}</span>\r\n </button>\r\n \r\n <div class=\"menu-lateral-direita\" >\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Notificacoes' | translate }}</h4>\r\n \r\n <ul>\r\n <li *ngIf=\"notifications.Itens.length == 0\">\r\n <a style=\"cursor: default;\">\r\n <mat-icon>notifications</mat-icon>\r\n <div class=\"content\">\r\n <span>{{ 'TNotificacoesNenhuma' | translate }}</span>\r\n </div>\r\n </a>\r\n </li>\r\n \r\n <ng-container *ngIf=\"notifications.Itens.length > 0\">\r\n <li *ngFor=\"let item of notifications.Itens\">\r\n <a (click)=\"navigate(item.Url);close()\">\r\n <dl>\r\n <dt>{{ 'Dia' | translate }} {{ item.Date }}</dt>\r\n <dd [innerHtml]=\"item.Description | translate\"></dd>\r\n </dl>\r\n </a>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <!-- <div class=\"nav-item\">\r\n <button mat-icon-button (click)=\"alternarModo()\" [matTooltip]=\"'AlternarModo' | translate\"><mat-icon>brightness_6</mat-icon></button>\r\n </div> -->\r\n \r\n <div class=\"nav-item selecao-tema\" [ngClass]=\"{ 'opened': topMenu.tema }\" *ngIf=\"!prodution && themes.length > 0\">\r\n <button mat-icon-button (click)=\"open('tema')\" [matTooltip]=\"'Tema' | translate\"><mat-icon>invert_colors</mat-icon></button>\r\n \r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Temas' | translate }}</h4>\r\n \r\n <ul class=\"temas\">\r\n <li *ngFor=\"let theme of themes\">\r\n <a (click)=\"setTheme(theme.name); divModal.click();\"> {{ theme.description | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\" *ngIf=\"_platform.Config.enabledPrime\">\r\n <button mat-icon-button [matTooltip]=\"(_platform.ModoPrime ? 'ModoPadrao' : 'Prime') | translate\" (click)=\"toggleMode()\"><mat-icon>brightness_6</mat-icon></button>\r\n </div>\r\n \r\n <div class=\"nav-item selecao-idioma\" [ngClass]=\"{ 'opened': topMenu.idioma }\" *ngIf=\"languages.length > 0\">\r\n <button mat-icon-button (click)=\"open('idioma')\" [matTooltip]=\"'Idioma' | translate\"><mat-icon>public</mat-icon></button>\r\n \r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Idiomas' | translate }}</h4>\r\n \r\n <ul class=\"idiomas\">\r\n <li *ngFor=\"let lang of languages\">\r\n <a (click)=\"setLanguage(lang.lang); divModal.click();\">{{ lang.name | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\">\r\n <button mat-icon-button [matTooltip]=\"'Sair' | translate\" (click)=\"logout()\"><mat-icon>power_settings_new</mat-icon></button>\r\n </div>\r\n \r\n <div class=\"items-overlay\" (click)=\"close()\" #divModal></div>\r\n </div>\r\n \r\n <div class=\"navbar-button\" [ngClass]=\"{ 'open' : opened }\" (click)=\"openSidebar()\">\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <sub>{{ 'Menu' | translate }}</sub>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"_platform.Config.ux <= 2\">\r\n <div class=\"site-navbar\">\r\n <div class=\"sessao-clone text-lightgray\" *ngIf=\"_session.Clone\">\r\n <div><label>({{ 'ModoClone' | translate }})</label></div>\r\n </div>\r\n\r\n <div class=\"navbar-button\" [ngClass]=\"{ 'open' : opened }\" (click)=\"openSidebar()\">\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n </div>\r\n\r\n <h1 id=\"page-title\" class=\"page-title\" *ngIf=\"_platform.PaginaAtiva\">\r\n <mat-icon>{{ _platform.PaginaAtiva.Icone }}</mat-icon> {{ _platform.PaginaAtiva.Titulo | translate }}\r\n </h1>\r\n\r\n <div class=\"nav-items\">\r\n <div class=\"nav-item user-profile\" [ngClass]=\"{ 'opened' : topMenu.empresa }\">\r\n <button mat-button (click)=\"open('empresa')\">\r\n <mat-icon>fingerprint</mat-icon>\r\n <div class=\"name\">\r\n <label>{{ \"Empresa\" | translate }}</label>\r\n <span>{{ _session.Empresa }}</span>\r\n </div>\r\n </button>\r\n\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Empresa' | translate }}</h4>\r\n\r\n <ul class=\"company\">\r\n <li *ngFor=\"let company of _session.Empresas\" >\r\n <a (click)=\"setCompany(company); divModal.click();\">{{ company.Nome }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened' : topMenu.notificacao }\" *ngIf=\"notificationapi\">\r\n <button mat-icon-button (click)=\"setNotificationStatus(-1, true, false, false);open('notificacao')\" [matTooltip]=\"'Notificacoes' | translate\"><mat-icon>notifications_none</mat-icon>\r\n <span class=\"badge\" *ngIf=\"notifications.Count > 0\">{{ notifications.Count }}</span>\r\n </button>\r\n\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Notificacoes' | translate }}</h4>\r\n\r\n <ul>\r\n <li *ngIf=\"notifications.Itens.length == 0\">\r\n <a style=\"cursor: default;\">\r\n <mat-icon>notifications_off</mat-icon>\r\n <div class=\"content\">\r\n <span>{{ 'TNotificacoesNenhuma' | translate }}</span>\r\n </div>\r\n </a>\r\n </li>\r\n\r\n <ng-container *ngIf=\"notifications.Itens.length > 0\">\r\n <li *ngFor=\"let item of notifications.Itens\">\r\n <a (click)=\"navigate(item.Url);close()\">\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <div class=\"content\">\r\n <span class=\"desc\" [innerHtml]=\"item.Description | translate\"></span>\r\n <span class=\"date\">{{ item.Date }}</span>\r\n </div>\r\n </a>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened': topMenu.idioma }\" *ngIf=\"languages.length > 0\">\r\n <button mat-icon-button (click)=\"open('idioma')\" [matTooltip]=\"'Idioma' | translate\"><mat-icon>public</mat-icon></button>\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Idioma' | translate }}</h4>\r\n <ul class=\"languages\">\r\n <li *ngFor=\"let lang of languages\">\r\n <a (click)=\"setLanguage(lang.lang); divModal.click();\">{{ lang.name | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened': topMenu.tema }\" *ngIf=\"!prodution && themes.length > 0\">\r\n <button mat-icon-button (click)=\"open('tema')\" [matTooltip]=\"'Tema' | translate\"><mat-icon>invert_colors</mat-icon></button>\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Temas' | translate }}</h4>\r\n <ul class=\"themes\">\r\n <li *ngFor=\"let theme of themes\">\r\n <a (click)=\"setTheme(theme.name); divModal.click();\"> {{ theme.description | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\" *ngIf=\"fastsearchform\">\r\n <button mat-icon-button (click)=\"openFastSearch()\" [matTooltip]=\"fastsearchtitle | translate\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <div class=\"nav-item\" *ngIf=\"profileurl != ''\">\r\n <button mat-icon-button [matTooltip]=\"'MeuPerfil' | translate\" [routerLink]=\"profileurl\"><mat-icon>person</mat-icon></button>\r\n </div>\r\n\r\n <div class=\"nav-item\">\r\n <button mat-icon-button [matTooltip]=\"'Sair' | translate\" (click)=\"logout()\"><mat-icon>power_settings_new</mat-icon></button>\r\n </div>\r\n\r\n <div class=\"items-overlay\" (click)=\"close()\" #divModal></div>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<section class=\"loading-bar\" *ngIf=\"loading\"><mat-progress-bar color=\"primary\" mode=\"indeterminate\"></mat-progress-bar></section>\r\n<div class=\"block\" *ngIf=\"loading\"></div>",
7266
+ template: "<ng-container *ngIf=\"_platform.Config.ux >= 3\">\r\n <div class=\"site-navbar\">\r\n <a class=\"logo\" >\r\n <i class=\"logo-img\"></i>\r\n <i class=\"logo-img-resp\"></i>\r\n </a>\r\n \r\n <div class=\"nav-items\">\r\n <div class=\"nav-item usuario-logado\">\r\n <dl (click)=\"navigate(profileurl)\">\r\n <dt>{{ _session.Perfil }}</dt>\r\n <dd>{{ _session.Usuario }}</dd>\r\n <mat-icon class=\"icon-out\">verified</mat-icon>\r\n </dl>\r\n </div>\r\n \r\n <div class=\"nav-item selecao-empresa\" [ngClass]=\"{ 'opened' : topMenu.empresa }\">\r\n <dl (click)=\"open('empresa')\">\r\n <dt>{{ 'Empresa' | translate }}</dt>\r\n <dd>{{ _session.Empresa }}</dd>\r\n <mat-icon class=\"icon-out\">shield</mat-icon>\r\n </dl>\r\n \r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Empresas' | translate }}</h4>\r\n \r\n <ul class=\"empresas\">\r\n <li *ngFor=\"let company of _session.Empresas\" >\r\n <a (click)=\"setCompany(company); divModal.click();\">{{ company.Nome }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\" *ngIf=\"fastsearchform\">\r\n <button mat-icon-button (click)=\"openFastSearch()\" [matTooltip]=\"fastsearchtitle | translate\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n \r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened' : topMenu.notificacao }\" *ngIf=\"notificationapi\">\r\n <button mat-icon-button (click)=\"setNotificationStatus(true, false, false);open('notificacao')\" [matTooltip]=\"'Notificacoes' | translate\"><mat-icon>notifications_none</mat-icon>\r\n <span class=\"badge\" *ngIf=\"notifications.Count > 0\">{{ notifications.Count }}</span>\r\n </button>\r\n \r\n <div class=\"menu-lateral-direita\" >\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Notificacoes' | translate }}</h4>\r\n \r\n <ul>\r\n <li *ngIf=\"notifications.Itens.length == 0\">\r\n <a style=\"cursor: default;\">\r\n <mat-icon>notifications</mat-icon>\r\n <div class=\"content\">\r\n <span>{{ 'TNotificacoesNenhuma' | translate }}</span>\r\n </div>\r\n </a>\r\n </li>\r\n \r\n <ng-container *ngIf=\"notifications.Itens.length > 0\">\r\n <li *ngFor=\"let item of notifications.Itens\">\r\n <a (click)=\"navigate(item.Url);close()\">\r\n <dl>\r\n <dt>{{ 'Dia' | translate }} {{ item.Date }}</dt>\r\n <dd [innerHtml]=\"item.Description | translate\"></dd>\r\n </dl>\r\n </a>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <!-- <div class=\"nav-item\">\r\n <button mat-icon-button (click)=\"alternarModo()\" [matTooltip]=\"'AlternarModo' | translate\"><mat-icon>brightness_6</mat-icon></button>\r\n </div> -->\r\n \r\n <div class=\"nav-item selecao-tema\" [ngClass]=\"{ 'opened': topMenu.tema }\" *ngIf=\"!prodution && themes.length > 0\">\r\n <button mat-icon-button (click)=\"open('tema')\" [matTooltip]=\"'Tema' | translate\"><mat-icon>invert_colors</mat-icon></button>\r\n \r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Temas' | translate }}</h4>\r\n \r\n <ul class=\"temas\">\r\n <li *ngFor=\"let theme of themes\">\r\n <a (click)=\"setTheme(theme.name); divModal.click();\"> {{ theme.description | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\" *ngIf=\"_platform.Config.enabledPrime\">\r\n <button mat-icon-button [matTooltip]=\"(_platform.ModoPrime ? 'ModoPadrao' : 'Prime') | translate\" (click)=\"toggleMode()\"><mat-icon>brightness_6</mat-icon></button>\r\n </div>\r\n \r\n <div class=\"nav-item selecao-idioma\" [ngClass]=\"{ 'opened': topMenu.idioma }\" *ngIf=\"languages.length > 0\">\r\n <button mat-icon-button (click)=\"open('idioma')\" [matTooltip]=\"'Idioma' | translate\"><mat-icon>public</mat-icon></button>\r\n \r\n <div class=\"menu-lateral-direita\">\r\n <mat-icon class=\"fechar\" (click)=\"close()\">close</mat-icon>\r\n <h4>{{ 'Idiomas' | translate }}</h4>\r\n \r\n <ul class=\"idiomas\">\r\n <li *ngFor=\"let lang of languages\">\r\n <a (click)=\"setLanguage(lang.lang); divModal.click();\">{{ lang.name | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\">\r\n <button mat-icon-button [matTooltip]=\"'Sair' | translate\" (click)=\"logout()\"><mat-icon>power_settings_new</mat-icon></button>\r\n </div>\r\n \r\n <div class=\"items-overlay\" (click)=\"close()\" #divModal></div>\r\n </div>\r\n \r\n <div class=\"navbar-button\" [ngClass]=\"{ 'open' : opened }\" (click)=\"openSidebar()\">\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <sub>{{ 'Menu' | translate }}</sub>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"_platform.Config.ux <= 2\">\r\n <div class=\"site-navbar\">\r\n <div class=\"sessao-clone text-lightgray\" *ngIf=\"_session.Clone\">\r\n <div><label>({{ 'ModoClone' | translate }})</label></div>\r\n </div>\r\n\r\n <div class=\"navbar-button\" [ngClass]=\"{ 'open' : opened }\" (click)=\"openSidebar()\">\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n <span></span>\r\n </div>\r\n\r\n <h1 id=\"page-title\" class=\"page-title\" *ngIf=\"_platform.PaginaAtiva\">\r\n <mat-icon>{{ _platform.PaginaAtiva.Icone }}</mat-icon> {{ _platform.PaginaAtiva.Titulo | translate }}\r\n </h1>\r\n\r\n <div class=\"nav-items\">\r\n <div class=\"nav-item user-profile\" [ngClass]=\"{ 'opened' : topMenu.empresa }\">\r\n <button mat-button (click)=\"open('empresa')\">\r\n <mat-icon>fingerprint</mat-icon>\r\n <div class=\"name\">\r\n <label>{{ \"Empresa\" | translate }}</label>\r\n <span>{{ _session.Empresa }}</span>\r\n </div>\r\n </button>\r\n\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Empresa' | translate }}</h4>\r\n\r\n <ul class=\"company\">\r\n <li *ngFor=\"let company of _session.Empresas\" >\r\n <a (click)=\"setCompany(company); divModal.click();\">{{ company.Nome }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened' : topMenu.notificacao }\" *ngIf=\"notificationapi\">\r\n <button mat-icon-button (click)=\"setNotificationStatus(true, false, false);open('notificacao')\" [matTooltip]=\"'Notificacoes' | translate\"><mat-icon>notifications_none</mat-icon>\r\n <span class=\"badge\" *ngIf=\"notifications.Count > 0\">{{ notifications.Count }}</span>\r\n </button>\r\n\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Notificacoes' | translate }}</h4>\r\n\r\n <ul>\r\n <li *ngIf=\"notifications.Itens.length == 0\">\r\n <a style=\"cursor: default;\">\r\n <mat-icon>notifications_off</mat-icon>\r\n <div class=\"content\">\r\n <span>{{ 'TNotificacoesNenhuma' | translate }}</span>\r\n </div>\r\n </a>\r\n </li>\r\n\r\n <ng-container *ngIf=\"notifications.Itens.length > 0\">\r\n <li *ngFor=\"let item of notifications.Itens\">\r\n <a (click)=\"navigate(item.Url);close()\">\r\n <mat-icon>{{ item.Icon }}</mat-icon>\r\n <div class=\"content\">\r\n <span class=\"desc\" [innerHtml]=\"item.Description | translate\"></span>\r\n <span class=\"date\">{{ item.Date }}</span>\r\n </div>\r\n </a>\r\n </li>\r\n </ng-container>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened': topMenu.idioma }\" *ngIf=\"languages.length > 0\">\r\n <button mat-icon-button (click)=\"open('idioma')\" [matTooltip]=\"'Idioma' | translate\"><mat-icon>public</mat-icon></button>\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Idioma' | translate }}</h4>\r\n <ul class=\"languages\">\r\n <li *ngFor=\"let lang of languages\">\r\n <a (click)=\"setLanguage(lang.lang); divModal.click();\">{{ lang.name | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n\r\n <div class=\"nav-item\" [ngClass]=\"{ 'opened': topMenu.tema }\" *ngIf=\"!prodution && themes.length > 0\">\r\n <button mat-icon-button (click)=\"open('tema')\" [matTooltip]=\"'Tema' | translate\"><mat-icon>invert_colors</mat-icon></button>\r\n <div class=\"dropdown-menu\">\r\n <h4 class=\"menu-title\">{{ 'Temas' | translate }}</h4>\r\n <ul class=\"themes\">\r\n <li *ngFor=\"let theme of themes\">\r\n <a (click)=\"setTheme(theme.name); divModal.click();\"> {{ theme.description | translate }}</a>\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n \r\n <div class=\"nav-item\" *ngIf=\"fastsearchform\">\r\n <button mat-icon-button (click)=\"openFastSearch()\" [matTooltip]=\"fastsearchtitle | translate\">\r\n <mat-icon>search</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <div class=\"nav-item\" *ngIf=\"profileurl != ''\">\r\n <button mat-icon-button [matTooltip]=\"'MeuPerfil' | translate\" [routerLink]=\"profileurl\"><mat-icon>person</mat-icon></button>\r\n </div>\r\n\r\n <div class=\"nav-item\">\r\n <button mat-icon-button [matTooltip]=\"'Sair' | translate\" (click)=\"logout()\"><mat-icon>power_settings_new</mat-icon></button>\r\n </div>\r\n\r\n <div class=\"items-overlay\" (click)=\"close()\" #divModal></div>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<section class=\"loading-bar\" *ngIf=\"loading\"><mat-progress-bar color=\"primary\" mode=\"indeterminate\"></mat-progress-bar></section>\r\n<div class=\"block\" *ngIf=\"loading\"></div>",
6925
7267
  styles: [":host.topmenu{border-bottom-width:0!important;box-shadow:none!important}:host.uxc3{display:block;height:80px;left:0;position:fixed;right:0;top:0;transition:left .2s ease-in-out;z-index:9998}@media screen and (max-width:991px){:host.uxc3{left:0}:host.uxc3 .nav-items{width:100%}:host.uxc3 .logo{position:absolute;top:17px}:host.uxc3 .logo .logo-img{display:none!important}:host.uxc3 .logo .logo-img-resp{display:block!important;height:45px!important}:host.uxc3 .usuario-logado{border-right:none!important;left:-100%;margin:0!important;padding-left:25px!important;padding-top:15px!important;position:absolute;top:70px!important;transition:left .2s ease-in-out;width:calc(100% + 6px)}:host.uxc3 .usuario-logado.menu-aberto{left:0}:host.uxc3 .usuario-logado dl{text-align:left!important}:host.uxc3 .usuario-logado dl dt{display:inline-block;font-size:14px}:host.uxc3 .usuario-logado dl dd{display:inline-block;margin-right:5px;padding-right:20px;position:relative}:host.uxc3 .usuario-logado dl dd:after{content:\"-\";height:10px;position:absolute;right:0;top:2px;width:10px}:host.uxc3 .selecao-empresa{left:-100%;margin:0!important;padding:5px 15px 6px 25px;position:absolute;top:115px!important;transition:left .2s ease-in-out;width:calc(100% + 6px)}:host.uxc3 .selecao-empresa.menu-aberto{left:0}:host.uxc3 .selecao-empresa button,:host.uxc3 .selecao-empresa dl{width:100%!important}}:host.uxc3 .site-navbar{align-items:center;display:flex;flex-wrap:nowrap;height:100%;justify-content:space-between;padding:0 22px}@media screen and (max-width:991px){:host.uxc3 .site-navbar{flex-wrap:wrap}}:host.uxc3 .site-navbar .logo{display:block;height:60px;width:500px}:host.uxc3 .site-navbar .logo .logo-img{display:block;height:100%;width:100%}:host.uxc3 .site-navbar .logo .logo-img-resp{display:none;height:100%;width:100%}:host.uxc3 .site-navbar .navbar-button{cursor:pointer;display:none;height:24px;left:70px;margin:0;position:absolute;top:20px;transform:rotate(0deg);width:35px}@media screen and (max-width:991px){:host.uxc3 .site-navbar .navbar-button{display:block}}:host.uxc3 .site-navbar .navbar-button sub{bottom:-10px;position:absolute;text-transform:uppercase}:host.uxc3 .site-navbar .navbar-button span{display:block;height:3px;opacity:1;position:absolute;top:10px;transform:rotate(0deg);transition:.25s ease-in-out;width:50%}:host.uxc3 .site-navbar .navbar-button span:nth-child(2n){left:50%}:host.uxc3 .site-navbar .navbar-button span:nth-child(odd){left:0}:host.uxc3 .site-navbar .navbar-button span:first-child,:host.uxc3 .site-navbar .navbar-button span:nth-child(2){top:0}:host.uxc3 .site-navbar .navbar-button span:nth-child(3),:host.uxc3 .site-navbar .navbar-button span:nth-child(4){top:10px}:host.uxc3 .site-navbar .navbar-button span:nth-child(5),:host.uxc3 .site-navbar .navbar-button span:nth-child(6){top:20px}:host.uxc3 .site-navbar .navbar-button.open span:first-child,:host.uxc3 .site-navbar .navbar-button.open span:nth-child(6){transform:rotate(45deg)}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(2),:host.uxc3 .site-navbar .navbar-button.open span:nth-child(5){transform:rotate(-45deg)}:host.uxc3 .site-navbar .navbar-button.open span:first-child{left:2px;top:6px}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(2){left:calc(50% - 7px);top:6px}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(3){left:-50%;opacity:0}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(4){left:100%;opacity:0}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(5){left:2px;top:15px}:host.uxc3 .site-navbar .navbar-button.open span:nth-child(6){left:calc(50% - 7px);top:15px}:host.uxc3 dl{line-height:20px;text-transform:none;transition:border .2s ease-in-out}:host.uxc3 dl dt{font-size:10px;font-weight:500;transition:color .2s ease-in-out}:host.uxc3 dl dd{font-size:14px;font-weight:600;margin-bottom:0;position:relative;top:0;transition:color .2s ease-in-out}:host.uxc3 .selecao-empresa,:host.uxc3 .usuario-logado{cursor:pointer;padding:5px 20px 5px 0;top:-1px}:host.uxc3 .selecao-empresa dl,:host.uxc3 .usuario-logado dl{margin:0;top:5px}:host.uxc3 .selecao-empresa dl mat-icon,:host.uxc3 .usuario-logado dl mat-icon{font-size:22px;position:absolute;right:0;text-align:center;top:17px}:host.uxc3 .usuario-logado{margin:0!important;padding-left:40px}:host.uxc3 .usuario-logado dl{text-align:right}:host.uxc3 .usuario-logado dl mat-icon{left:0}:host.uxc3 .selecao-empresa{margin-right:40px!important;padding-left:20px;padding-right:40px}:host.uxc3 .nav-items{display:block;height:100%;margin:0 -5px;text-align:right}@media screen and (min-width:544px){:host.uxc3 .nav-items{width:100%}}@media screen and (max-width:991px){:host.uxc3 .nav-items{display:block;position:absolute;right:10px;top:0}}:host.uxc3 .nav-items .nav-item{align-items:center;display:inline-block;margin:15px 3px 0 0;text-align:left}@media screen and (min-width:544px){:host.uxc3 .nav-items .nav-item{position:relative}}:host.uxc3 .nav-items .nav-item .mat-button,:host.uxc3 .nav-items .nav-item .mat-icon-button{cursor:pointer;min-width:40px;padding:0;position:relative;transition:color .2s ease-in-out}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-wrapper,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-wrapper{display:flex;height:100%;padding:5px;width:100%}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-wrapper .mat-icon,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-wrapper .mat-icon{font-size:24px;height:30px;line-height:30px;vertical-align:top;width:30px}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-wrapper .mat-icon .marker,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-wrapper .mat-icon .marker{border-radius:50%;height:6px;position:absolute;right:0;top:0;width:6px}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-wrapper .badge,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-wrapper .badge{background:#af1b11;border-radius:8px;color:#fff;font-size:10px;line-height:16px;padding:0 5px;position:absolute;right:0;top:0}:host.uxc3 .nav-items .nav-item .mat-button .mat-button-focus-overlay,:host.uxc3 .nav-items .nav-item .mat-button .mat-button-ripple,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-focus-overlay,:host.uxc3 .nav-items .nav-item .mat-icon-button .mat-button-ripple{display:none}:host.uxc3 .nav-items .nav-item .menu-lateral-direita{display:none;height:100%;padding:0;position:fixed;right:0;top:0;width:420px;z-index:9999}@media screen and (max-width:991px){:host.uxc3 .nav-items .nav-item .menu-lateral-direita{left:auto;margin-left:0;right:0}}@media screen and (max-width:543px){:host.uxc3 .nav-items .nav-item .menu-lateral-direita{left:0;margin-left:0;width:100%}}:host.uxc3 .nav-items .nav-item .menu-lateral-direita:before{border:10px solid transparent;bottom:100%;content:\"\";left:50%;margin:0 0 0 -10px;position:absolute}@media screen and (max-width:991px){:host.uxc3 .nav-items .nav-item .menu-lateral-direita:before{left:100%;margin-left:-34px}}@media screen and (max-width:543px){:host.uxc3 .nav-items .nav-item .menu-lateral-direita:before{display:none}}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>.fechar{cursor:pointer;font-size:28px;opacity:.8;position:absolute;right:30px;top:30px}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>.fechar:hover{opacity:1}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>h4{font-size:24px;font-weight:500;margin:30px 0 30px 38px}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul{border-radius:0 0 4px 4px;height:calc(100% - 170px);list-style-type:none;margin:0;overflow-y:auto;padding:0}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li:hover{background:rgba(0,0,0,.05)}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li.disabled>a{cursor:default!important;opacity:.4}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li:last-child{border-bottom:0}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li dl{line-height:20px;margin-bottom:0;padding:5px 0}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li dl dt{font-size:13px;font-weight:600;margin-bottom:5px}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li dl dd{font-size:14px;font-weight:500}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li>a{align-items:center;cursor:pointer;display:flex;font-size:14px;font-weight:500;padding:10px 40px!important;padding:11px;transition:background .2s ease-in-out}:host.uxc3 .nav-items .nav-item .menu-lateral-direita>ul>li>a .mat-icon{background:hsla(0,0%,100%,.1);border-radius:50%;font-size:22px;height:auto;margin-right:11px;padding:7px;width:auto}:host.uxc3 .nav-items .nav-item.opened .lista-empresas,:host.uxc3 .nav-items .nav-item.opened .menu-lateral-direita{display:block}:host.uxc3 .nav-items .nav-item.opened~.items-overlay{opacity:.5;transition:opacity .2s ease-in-out 0s,visibility 0s ease-in-out 0s;visibility:visible}:host.uxc3 .nav-items .items-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}@media screen and (max-width:991px){:host.uxc3{width:100%}}:host.uxc2{background:#fff;border-bottom:1px solid #e4e9f0;display:block;height:70px;left:240px;position:fixed;right:0;top:0;z-index:9998}@media (max-width:991px){:host.uxc2{left:0}}:host.uxc2 .sessao-clone{background-color:#a80707;padding:8px;position:absolute;top:0;z-index:1}:host.uxc2 .sessao-clone .mat-icon-button{font-size:10px}:host.uxc2 .site-navbar{align-items:center;display:flex;flex-wrap:nowrap;height:100%;justify-content:space-between;padding:0 22px}@media (max-width:991px){:host.uxc2 .site-navbar{flex-wrap:wrap}}:host.uxc2 .site-navbar .navbar-button{cursor:pointer;display:none;height:24px;margin:0;position:relative;transform:rotate(0deg);width:30px}@media (max-width:991px){:host.uxc2 .site-navbar .navbar-button{display:block}}:host.uxc2 .site-navbar .navbar-button span{display:block;height:3px;opacity:1;position:absolute;transform:rotate(0deg);transition:.25s ease-in-out;width:50%}:host.uxc2 .site-navbar .navbar-button span:nth-child(2n){left:50%}:host.uxc2 .site-navbar .navbar-button span:nth-child(odd){left:0}:host.uxc2 .site-navbar .navbar-button span:first-child,:host.uxc2 .site-navbar .navbar-button span:nth-child(2){top:0}:host.uxc2 .site-navbar .navbar-button span:nth-child(3),:host.uxc2 .site-navbar .navbar-button span:nth-child(4){top:10px}:host.uxc2 .site-navbar .navbar-button span:nth-child(5),:host.uxc2 .site-navbar .navbar-button span:nth-child(6){top:20px}:host.uxc2 .site-navbar .navbar-button.open span:first-child,:host.uxc2 .site-navbar .navbar-button.open span:nth-child(6){transform:rotate(45deg)}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(2),:host.uxc2 .site-navbar .navbar-button.open span:nth-child(5){transform:rotate(-45deg)}:host.uxc2 .site-navbar .navbar-button.open span:first-child{left:3px;top:6px}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(2){left:calc(50% - 3px);top:6px}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(3){left:-50%;opacity:0}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(4){left:100%;opacity:0}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(5){left:3px;top:15px}:host.uxc2 .site-navbar .navbar-button.open span:nth-child(6){left:calc(50% - 3px);top:15px}:host.uxc2 .page-title{font-size:1.4rem;font-weight:400;line-height:1;margin:0;width:100%}:host.uxc2 .page-title mat-icon{font-size:1.1em;left:0;top:4px}@media (max-width:991px){:host.uxc2 .page-title{display:none}}:host.uxc2 .nav-items{display:block;height:100%;margin:0 -5px;text-align:right}@media (min-width:544px){:host.uxc2 .nav-items{width:100%}}:host.uxc2 .nav-items .nav-item{align-items:center;display:inline-block;margin:15px 3px 0 0;text-align:left}@media (min-width:544px){:host.uxc2 .nav-items .nav-item{position:relative}}:host.uxc2 .nav-items .nav-item /deep/ .mat-button,:host.uxc2 .nav-items .nav-item /deep/ .mat-icon-button{cursor:pointer;min-width:40px;padding:0;position:relative;transition:color .2s ease-in-out}:host.uxc2 .nav-items .nav-item /deep/ .mat-button .mat-button-wrapper,:host.uxc2 .nav-items .nav-item /deep/ .mat-icon-button .mat-button-wrapper{display:flex;height:100%;padding:5px;width:100%}:host.uxc2 .nav-items .nav-item /deep/ .mat-button .mat-button-wrapper .mat-icon,:host.uxc2 .nav-items .nav-item /deep/ .mat-icon-button .mat-button-wrapper .mat-icon{font-size:22px;height:30px;line-height:30px;vertical-align:top;width:30px}:host.uxc2 .nav-items .nav-item /deep/ .mat-button .mat-button-wrapper .mat-icon .marker,:host.uxc2 .nav-items .nav-item /deep/ .mat-icon-button .mat-button-wrapper .mat-icon .marker{border-radius:50%;height:6px;position:absolute;right:0;top:0;width:6px}:host.uxc2 .nav-items .nav-item /deep/ .mat-button .mat-button-wrapper .badge,:host.uxc2 .nav-items .nav-item /deep/ .mat-icon-button .mat-button-wrapper .badge{background:#af1b11;border-radius:8px;color:#fff;font-size:10px;line-height:16px;padding:0 5px;position:absolute;right:0;top:0}:host.uxc2 .nav-items .nav-item /deep/ .mat-button .mat-button-wrapper .avatar,:host.uxc2 .nav-items .nav-item /deep/ .mat-icon-button .mat-button-wrapper .avatar{border-radius:50%;height:40px;overflow:hidden;width:40px}:host.uxc2 .nav-items .nav-item /deep/ .mat-button .mat-button-wrapper .name,:host.uxc2 .nav-items .nav-item /deep/ .mat-icon-button .mat-button-wrapper .name{font-size:12px;line-height:19px;margin-top:-3px;padding-left:10px;text-align:left;top:10px;white-space:nowrap}:host.uxc2 .nav-items .nav-item /deep/ .mat-button .mat-button-wrapper .name label,:host.uxc2 .nav-items .nav-item /deep/ .mat-icon-button .mat-button-wrapper .name label{display:block;font-size:10px;line-height:12px;margin:0}:host.uxc2 .nav-items .nav-item /deep/ .mat-button .mat-button-wrapper .name span,:host.uxc2 .nav-items .nav-item /deep/ .mat-icon-button .mat-button-wrapper .name span{top:-3px}@media (max-width:991px){:host.uxc2 .nav-items .nav-item /deep/ .mat-button .mat-button-wrapper .name,:host.uxc2 .nav-items .nav-item /deep/ .mat-icon-button .mat-button-wrapper .name{display:none}}:host.uxc2 .nav-items .nav-item /deep/ .mat-button .mat-button-focus-overlay,:host.uxc2 .nav-items .nav-item /deep/ .mat-button .mat-button-ripple,:host.uxc2 .nav-items .nav-item /deep/ .mat-icon-button .mat-button-focus-overlay,:host.uxc2 .nav-items .nav-item /deep/ .mat-icon-button .mat-button-ripple{display:none}:host.uxc2 .nav-items .nav-item .dropdown-menu{box-shadow:0 5px 10px 2px rgba(0,0,0,.25);display:none;left:50%;margin:0 0 0 -150px;padding:0;position:absolute;top:100%;width:300px;z-index:9999}@media (max-width:991px){:host.uxc2 .nav-items .nav-item .dropdown-menu{left:auto;margin-left:0;right:0}}@media (max-width:543px){:host.uxc2 .nav-items .nav-item .dropdown-menu{left:0;margin-left:0;width:100%}}:host.uxc2 .nav-items .nav-item .dropdown-menu.calendar{left:-34%}:host.uxc2 .nav-items .nav-item .dropdown-menu.calendar:before{left:60%}:host.uxc2 .nav-items .nav-item .dropdown-menu:before{border:10px solid transparent;bottom:100%;content:\"\";left:50%;margin:0 0 0 -10px;position:absolute}@media (max-width:991px){:host.uxc2 .nav-items .nav-item .dropdown-menu:before{left:100%;margin-left:-34px}}@media (max-width:543px){:host.uxc2 .nav-items .nav-item .dropdown-menu:before{display:none}}:host.uxc2 .nav-items .nav-item .dropdown-menu .company a,:host.uxc2 .nav-items .nav-item .dropdown-menu .languages a,:host.uxc2 .nav-items .nav-item .dropdown-menu .themesa a{cursor:pointer!important}:host.uxc2 .nav-items .nav-item .dropdown-menu .themes{max-height:500px}:host.uxc2 .nav-items .nav-item .dropdown-menu .pesquisa-rapida input{color:#fff}:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-footer,:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-title{margin:0;padding:11px;text-align:center}:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-title{border-bottom:1px solid hsla(0,0%,100%,.1);color:#fff;font-size:16px;line-height:1.3}:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-footer a{color:#fff}:host.uxc2 .nav-items .nav-item .dropdown-menu .menu-footer a:hover{color:hsla(0,0%,100%,.8)}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul{list-style-type:none;margin:0;max-height:241px;overflow:auto;padding:0}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li{border-bottom:1px solid hsla(0,0%,100%,.05)}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li.disabled>a{cursor:default!important;opacity:.4}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li.disabled>a:hover{background:inherit!important}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li:last-child{border-bottom:0}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a{align-items:center;color:#fff;cursor:pointer;display:flex;padding:11px;transition:background .2s ease-in-out}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .mat-icon{background:hsla(0,0%,100%,.1);border-radius:50%;font-size:22px;height:auto;margin-right:11px;padding:7px;width:auto}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .avatar{border-radius:50%;height:40px;margin-right:11px;width:40px}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content{font-size:.85rem}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content .desc{display:block}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content .date{display:block;font-size:.75rem;font-style:italic;margin-top:4px;opacity:.6}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content .meta{align-items:flex-end;display:flex;justify-content:space-between;line-height:1.3;margin-bottom:4px}:host.uxc2 .nav-items .nav-item .dropdown-menu>ul>li>a .content .meta .date{margin:0 0 0 11px}:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu{left:auto;right:0;width:220px}@media (max-width:543px){:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu{width:100%}}:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu:before{display:none}:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu>ul>li>a{cursor:pointer;padding-bottom:8px;padding-top:8px}:host.uxc2 .nav-items .nav-item .dropdown-menu.mini-menu>ul>li>a .fa{margin-right:11px;min-width:15px}:host.uxc2 .nav-items .nav-item.opened .dropdown-menu{display:block}:host.uxc2 .nav-items .nav-item.opened~.items-overlay{opacity:1;transition:opacity .2s ease-in-out 0s,visibility 0s ease-in-out 0s;visibility:visible}:host.uxc2 .nav-items .items-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}"]
6926
7268
  }] }
6927
7269
  ];