info-library 2.10.69 → 2.10.71
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 +176 -14
- 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/layouts/main/main.component.js +1 -1
- package/esm2015/layouts/pagebar/pagebar.component.js +1 -1
- package/esm2015/service/theme.service.js +21 -4
- package/fesm2015/info-library.js +22 -5
- package/fesm2015/info-library.js.map +1 -1
- package/info-library.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -933,7 +933,7 @@
|
|
|
933
933
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
934
934
|
PERFORMANCE OF THIS SOFTWARE.
|
|
935
935
|
***************************************************************************** */
|
|
936
|
-
/* global Reflect, Promise */
|
|
936
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
937
937
|
var extendStatics = function (d, b) {
|
|
938
938
|
extendStatics = Object.setPrototypeOf ||
|
|
939
939
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -986,6 +986,64 @@
|
|
|
986
986
|
function __param(paramIndex, decorator) {
|
|
987
987
|
return function (target, key) { decorator(target, key, paramIndex); };
|
|
988
988
|
}
|
|
989
|
+
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
990
|
+
function accept(f) { if (f !== void 0 && typeof f !== "function")
|
|
991
|
+
throw new TypeError("Function expected"); return f; }
|
|
992
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
993
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
994
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
995
|
+
var _, done = false;
|
|
996
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
997
|
+
var context = {};
|
|
998
|
+
for (var p in contextIn)
|
|
999
|
+
context[p] = p === "access" ? {} : contextIn[p];
|
|
1000
|
+
for (var p in contextIn.access)
|
|
1001
|
+
context.access[p] = contextIn.access[p];
|
|
1002
|
+
context.addInitializer = function (f) { if (done)
|
|
1003
|
+
throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
1004
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
1005
|
+
if (kind === "accessor") {
|
|
1006
|
+
if (result === void 0)
|
|
1007
|
+
continue;
|
|
1008
|
+
if (result === null || typeof result !== "object")
|
|
1009
|
+
throw new TypeError("Object expected");
|
|
1010
|
+
if (_ = accept(result.get))
|
|
1011
|
+
descriptor.get = _;
|
|
1012
|
+
if (_ = accept(result.set))
|
|
1013
|
+
descriptor.set = _;
|
|
1014
|
+
if (_ = accept(result.init))
|
|
1015
|
+
initializers.unshift(_);
|
|
1016
|
+
}
|
|
1017
|
+
else if (_ = accept(result)) {
|
|
1018
|
+
if (kind === "field")
|
|
1019
|
+
initializers.unshift(_);
|
|
1020
|
+
else
|
|
1021
|
+
descriptor[key] = _;
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
if (target)
|
|
1025
|
+
Object.defineProperty(target, contextIn.name, descriptor);
|
|
1026
|
+
done = true;
|
|
1027
|
+
}
|
|
1028
|
+
;
|
|
1029
|
+
function __runInitializers(thisArg, initializers, value) {
|
|
1030
|
+
var useValue = arguments.length > 2;
|
|
1031
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
1032
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
1033
|
+
}
|
|
1034
|
+
return useValue ? value : void 0;
|
|
1035
|
+
}
|
|
1036
|
+
;
|
|
1037
|
+
function __propKey(x) {
|
|
1038
|
+
return typeof x === "symbol" ? x : "".concat(x);
|
|
1039
|
+
}
|
|
1040
|
+
;
|
|
1041
|
+
function __setFunctionName(f, name, prefix) {
|
|
1042
|
+
if (typeof name === "symbol")
|
|
1043
|
+
name = name.description ? "[".concat(name.description, "]") : "";
|
|
1044
|
+
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
1045
|
+
}
|
|
1046
|
+
;
|
|
989
1047
|
function __metadata(metadataKey, metadataValue) {
|
|
990
1048
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
991
1049
|
return Reflect.metadata(metadataKey, metadataValue);
|
|
@@ -1017,7 +1075,7 @@
|
|
|
1017
1075
|
function step(op) {
|
|
1018
1076
|
if (f)
|
|
1019
1077
|
throw new TypeError("Generator is already executing.");
|
|
1020
|
-
while (_)
|
|
1078
|
+
while (g && (g = 0, op[0] && (_ = 0)), _)
|
|
1021
1079
|
try {
|
|
1022
1080
|
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)
|
|
1023
1081
|
return t;
|
|
@@ -1185,7 +1243,7 @@
|
|
|
1185
1243
|
function __asyncDelegator(o) {
|
|
1186
1244
|
var i, p;
|
|
1187
1245
|
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
1188
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done:
|
|
1246
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
|
1189
1247
|
}
|
|
1190
1248
|
function __asyncValues(o) {
|
|
1191
1249
|
if (!Symbol.asyncIterator)
|
|
@@ -1244,7 +1302,86 @@
|
|
|
1244
1302
|
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
1245
1303
|
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
1246
1304
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
1247
|
-
}
|
|
1305
|
+
}
|
|
1306
|
+
function __addDisposableResource(env, value, async) {
|
|
1307
|
+
if (value !== null && value !== void 0) {
|
|
1308
|
+
if (typeof value !== "object" && typeof value !== "function")
|
|
1309
|
+
throw new TypeError("Object expected.");
|
|
1310
|
+
var dispose;
|
|
1311
|
+
if (async) {
|
|
1312
|
+
if (!Symbol.asyncDispose)
|
|
1313
|
+
throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
1314
|
+
dispose = value[Symbol.asyncDispose];
|
|
1315
|
+
}
|
|
1316
|
+
if (dispose === void 0) {
|
|
1317
|
+
if (!Symbol.dispose)
|
|
1318
|
+
throw new TypeError("Symbol.dispose is not defined.");
|
|
1319
|
+
dispose = value[Symbol.dispose];
|
|
1320
|
+
}
|
|
1321
|
+
if (typeof dispose !== "function")
|
|
1322
|
+
throw new TypeError("Object not disposable.");
|
|
1323
|
+
env.stack.push({ value: value, dispose: dispose, async: async });
|
|
1324
|
+
}
|
|
1325
|
+
else if (async) {
|
|
1326
|
+
env.stack.push({ async: true });
|
|
1327
|
+
}
|
|
1328
|
+
return value;
|
|
1329
|
+
}
|
|
1330
|
+
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
1331
|
+
var e = new Error(message);
|
|
1332
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
1333
|
+
};
|
|
1334
|
+
function __disposeResources(env) {
|
|
1335
|
+
function fail(e) {
|
|
1336
|
+
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
1337
|
+
env.hasError = true;
|
|
1338
|
+
}
|
|
1339
|
+
function next() {
|
|
1340
|
+
while (env.stack.length) {
|
|
1341
|
+
var rec = env.stack.pop();
|
|
1342
|
+
try {
|
|
1343
|
+
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
1344
|
+
if (rec.async)
|
|
1345
|
+
return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
|
|
1346
|
+
}
|
|
1347
|
+
catch (e) {
|
|
1348
|
+
fail(e);
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
if (env.hasError)
|
|
1352
|
+
throw env.error;
|
|
1353
|
+
}
|
|
1354
|
+
return next();
|
|
1355
|
+
}
|
|
1356
|
+
var tslib_es6 = {
|
|
1357
|
+
__extends: __extends,
|
|
1358
|
+
__assign: __assign,
|
|
1359
|
+
__rest: __rest,
|
|
1360
|
+
__decorate: __decorate,
|
|
1361
|
+
__param: __param,
|
|
1362
|
+
__metadata: __metadata,
|
|
1363
|
+
__awaiter: __awaiter,
|
|
1364
|
+
__generator: __generator,
|
|
1365
|
+
__createBinding: __createBinding,
|
|
1366
|
+
__exportStar: __exportStar,
|
|
1367
|
+
__values: __values,
|
|
1368
|
+
__read: __read,
|
|
1369
|
+
__spread: __spread,
|
|
1370
|
+
__spreadArrays: __spreadArrays,
|
|
1371
|
+
__spreadArray: __spreadArray,
|
|
1372
|
+
__await: __await,
|
|
1373
|
+
__asyncGenerator: __asyncGenerator,
|
|
1374
|
+
__asyncDelegator: __asyncDelegator,
|
|
1375
|
+
__asyncValues: __asyncValues,
|
|
1376
|
+
__makeTemplateObject: __makeTemplateObject,
|
|
1377
|
+
__importStar: __importStar,
|
|
1378
|
+
__importDefault: __importDefault,
|
|
1379
|
+
__classPrivateFieldGet: __classPrivateFieldGet,
|
|
1380
|
+
__classPrivateFieldSet: __classPrivateFieldSet,
|
|
1381
|
+
__classPrivateFieldIn: __classPrivateFieldIn,
|
|
1382
|
+
__addDisposableResource: __addDisposableResource,
|
|
1383
|
+
__disposeResources: __disposeResources,
|
|
1384
|
+
};
|
|
1248
1385
|
|
|
1249
1386
|
/**
|
|
1250
1387
|
* @fileoverview added by tsickle
|
|
@@ -2210,11 +2347,6 @@
|
|
|
2210
2347
|
RefreshSessionTimeModalComponent.prototype._ref;
|
|
2211
2348
|
}
|
|
2212
2349
|
|
|
2213
|
-
/**
|
|
2214
|
-
* @fileoverview added by tsickle
|
|
2215
|
-
* Generated from: service/theme.service.ts
|
|
2216
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
2217
|
-
*/
|
|
2218
2350
|
var InfoThemeService = /** @class */ (function () {
|
|
2219
2351
|
/**
|
|
2220
2352
|
* @param {?} _overlay
|
|
@@ -2253,9 +2385,11 @@
|
|
|
2253
2385
|
if (themeClassesToRemove && themeClassesToRemove.length > 0)
|
|
2254
2386
|
_overlay.remove(themeClassesToRemove);
|
|
2255
2387
|
_overlay.remove('alternative-layout');
|
|
2256
|
-
_overlay.add(theme);
|
|
2257
2388
|
document.body.removeAttribute('class');
|
|
2258
|
-
|
|
2389
|
+
if (!this._plataform.ModoPrime) {
|
|
2390
|
+
document.body.classList.add(theme);
|
|
2391
|
+
_overlay.add(theme);
|
|
2392
|
+
}
|
|
2259
2393
|
if (this._plataform.UnificarTopbar)
|
|
2260
2394
|
document.body.classList.add('alternative-layout');
|
|
2261
2395
|
if (this._plataform.MenuMin)
|
|
@@ -2291,11 +2425,39 @@
|
|
|
2291
2425
|
* @return {?}
|
|
2292
2426
|
*/
|
|
2293
2427
|
InfoThemeService.prototype.setModePrime = function (prime) {
|
|
2428
|
+
var e_1, _a;
|
|
2294
2429
|
if (prime === void 0) { prime = null; }
|
|
2295
2430
|
this._plataform.ModoPrime = prime == null ? !this._plataform.ModoPrime : prime;
|
|
2431
|
+
/** @type {?} */
|
|
2432
|
+
var _overlay = this._overlay.getContainerElement().classList;
|
|
2433
|
+
/** @type {?} */
|
|
2434
|
+
var themesClassToRemove = Array.from(_overlay).filter(( /**
|
|
2435
|
+
* @param {?} item
|
|
2436
|
+
* @return {?}
|
|
2437
|
+
*/function (/**
|
|
2438
|
+
* @param {?} item
|
|
2439
|
+
* @return {?}
|
|
2440
|
+
*/ item) { return item.includes('-theme'); }));
|
|
2296
2441
|
document.body.classList.remove('modo-prime');
|
|
2297
|
-
if (this._plataform.ModoPrime)
|
|
2442
|
+
if (this._plataform.ModoPrime) {
|
|
2298
2443
|
document.body.classList.add('modo-prime');
|
|
2444
|
+
if (themesClassToRemove && themesClassToRemove.length > 0) {
|
|
2445
|
+
try {
|
|
2446
|
+
for (var themesClassToRemove_1 = __values(themesClassToRemove), themesClassToRemove_1_1 = themesClassToRemove_1.next(); !themesClassToRemove_1_1.done; themesClassToRemove_1_1 = themesClassToRemove_1.next()) {
|
|
2447
|
+
var themeToRemove = themesClassToRemove_1_1.value;
|
|
2448
|
+
_overlay.remove(themeToRemove);
|
|
2449
|
+
document.body.classList.remove(themeToRemove);
|
|
2450
|
+
}
|
|
2451
|
+
}
|
|
2452
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2453
|
+
finally {
|
|
2454
|
+
try {
|
|
2455
|
+
if (themesClassToRemove_1_1 && !themesClassToRemove_1_1.done && (_a = themesClassToRemove_1.return)) _a.call(themesClassToRemove_1);
|
|
2456
|
+
}
|
|
2457
|
+
finally { if (e_1) throw e_1.error; }
|
|
2458
|
+
}
|
|
2459
|
+
}
|
|
2460
|
+
}
|
|
2299
2461
|
sessionStorage.setItem('mp', this._plataform.ModoPrime.toString());
|
|
2300
2462
|
localStorage.setItem('mp', this._plataform.ModoPrime.toString());
|
|
2301
2463
|
};
|
|
@@ -7007,7 +7169,7 @@
|
|
|
7007
7169
|
{ type: i0.Component, args: [{
|
|
7008
7170
|
selector: 'info-main',
|
|
7009
7171
|
template: "<div class=\"site-container\" [ngClass]=\"{ 'open-sidebar': opened }\">\r\n \r\n <info-topbar #topbar\r\n [themes]=\"themes\" \r\n [languages]=\"languages\" \r\n [profileurl]=\"profileurl\"\r\n [notificationapi]=\"notificationapi\" \r\n [notificationgetmethod]=\"notificationgetmethod\" \r\n [notificationpostmethod]=\"notificationpostmethod\"\r\n [notificationverifymethod]=\"notificationverifymethod\"\r\n [notificationverifyenabled]=\"notificationverifyenabled\"\r\n [fastsearchform]=\"fastsearchform\"\r\n [fastsearchformwidth]=\"fastsearchformwidth\"\r\n [fastsearchtitle]=\"fastsearchtitle\"\r\n [setthemeonchangecompany]=\"setthemeonchangecompany\"\r\n (onchangestate)=\"onChangeTopBarState()\"\r\n (ongetnotification)=\"onGetNotificationsTopBar($event)\"\r\n (onverifynotification)=\"onVerifyNotificationsTopBar($event)\">\r\n </info-topbar>\r\n \r\n <info-topmenu *ngIf=\"_platform.Config.topMenu\"\r\n [api]=\"menuapi\" \r\n [method]=\"menumethod\" \r\n (onchangestate)=\"onChangeSideBarState()\">\r\n </info-topmenu>\r\n\r\n <info-sidebar *ngIf=\"!_platform.Config.topMenu\"\r\n [api]=\"menuapi\" \r\n [method]=\"menumethod\" \r\n [activemenubyurl]=\"activemenubyurl\"\r\n (onchangestate)=\"onChangeSideBarState()\">\r\n </info-sidebar>\r\n\r\n <main class=\"main-content\">\r\n <div class=\"main-content-wrap\">\r\n <ng-content></ng-content>\r\n </div>\r\n\r\n <div class=\"footer row\">\r\n <div class=\"copyright col-md-9\">{{ 'Copyright' | translate}}</div>\r\n <div class=\"version col-md-3\" *ngIf=\"version\">{{ 'Versao' | translate}} {{ version }}</div>\r\n </div>\r\n \r\n <info-alert [messages]=\"messages\"></info-alert>\r\n </main>\r\n</div>",
|
|
7010
|
-
styles: [":host.topmenu .main-content{padding:180px 0 0!important}:host.uxc3 .main-content{padding:140px 0 0 240px;transition:padding .2s ease-in-out}:host.uxc3 .main-content .bg{background:#fff}@media screen and (max-width:991px){:host.uxc3 .main-content{padding-left:0}}@media screen and (max-width:543px){:host.uxc3 .main-content{padding-top:70px}}:host.uxc3 .main-content .footer{background:#fafafa}:host.uxc3 .main-content .footer .version{text-align:right}:host.uxc3 .open-sidebar info-sidebar,:host.uxc3 .open-sidebar info-topbar{left:0}@media screen and (max-width:991px){:host.uxc3 .open-sidebar info-sidebar .sidebar-overlay{opacity:.5;transition:opacity .2s ease-in-out 0s,visibility 0s ease-in-out 0s;visibility:visible}}@media screen and (max-width:991px){:host.uxc3 .open-sidebar info-sidebar .site-sidebar:before,:host.uxc3 .open-sidebar info-sidebar .sub-menu{display:block!important}}:host.uxc2 .main-content{padding:131px 0 0 240px;transition:padding .2s ease-in-out}@media (max-width:991px){:host.uxc2 .main-content{padding-left:0}}@media (max-width:543px){:host.uxc2 .main-content{padding-top:123px}}:host.uxc2 info-topbar{transition:left .2s ease-in-out}@media (max-width:991px){:host.uxc2 info-topbar{width:100%}}:host.uxc2 .open-sidebar info-topbar{left:240px}:host.uxc2 .open-sidebar info-sidebar{left:0}@media (max-width:991px){:host.uxc2 .open-sidebar info-sidebar /deep/ .sidebar-overlay{opacity:1;transition:opacity .2s ease-in-out 0s,visibility 0s ease-in-out 0s;visibility:visible}}:host.uxc2 .footer{align-items:center;background:rgba(0,0,0,.1);bottom:0;display:flex;font-size:.8rem;height:3.14286rem;justify-content:space-between;position
|
|
7172
|
+
styles: [":host.topmenu .main-content{padding:180px 0 0!important}:host.uxc3 .main-content{padding:140px 0 0 240px;transition:padding .2s ease-in-out}:host.uxc3 .main-content .bg{background:#fff}@media screen and (max-width:991px){:host.uxc3 .main-content{padding-left:0}}@media screen and (max-width:543px){:host.uxc3 .main-content{padding-top:70px}}:host.uxc3 .main-content .footer{background:#fafafa}:host.uxc3 .main-content .footer .version{text-align:right}:host.uxc3 .open-sidebar info-sidebar,:host.uxc3 .open-sidebar info-topbar{left:0}@media screen and (max-width:991px){:host.uxc3 .open-sidebar info-sidebar .sidebar-overlay{opacity:.5;transition:opacity .2s ease-in-out 0s,visibility 0s ease-in-out 0s;visibility:visible}}@media screen and (max-width:991px){:host.uxc3 .open-sidebar info-sidebar .site-sidebar:before,:host.uxc3 .open-sidebar info-sidebar .sub-menu{display:block!important}}:host.uxc2 .main-content{padding:131px 0 0 240px;transition:padding .2s ease-in-out}@media (max-width:991px){:host.uxc2 .main-content{padding-left:0}}@media (max-width:543px){:host.uxc2 .main-content{padding-top:123px}}:host.uxc2 info-topbar{transition:left .2s ease-in-out}@media (max-width:991px){:host.uxc2 info-topbar{width:100%}}:host.uxc2 .open-sidebar info-topbar{left:240px}:host.uxc2 .open-sidebar info-sidebar{left:0}@media (max-width:991px){:host.uxc2 .open-sidebar info-sidebar /deep/ .sidebar-overlay{opacity:1;transition:opacity .2s ease-in-out 0s,visibility 0s ease-in-out 0s;visibility:visible}}:host.uxc2 .footer{align-items:center;background:rgba(0,0,0,.1);bottom:0;display:flex;font-size:.8rem;height:3.14286rem;justify-content:space-between;position:sticky;width:100%;z-index:9997}@media (max-width:543px){:host.uxc2 .footer{font-size:.7rem}}:host.uxc2 .footer .copyright,:host.uxc2 .footer .version{padding:10px 22px}@media (max-width:543px){:host.uxc2 .footer .copyright{padding-right:0}}:host.uxc2 .footer .version{color:#000;text-align:right}"]
|
|
7011
7173
|
}] }
|
|
7012
7174
|
];
|
|
7013
7175
|
/** @nocollapse */
|
|
@@ -8390,7 +8552,7 @@
|
|
|
8390
8552
|
{ type: i0.Component, args: [{
|
|
8391
8553
|
selector: 'info-pagebar',
|
|
8392
8554
|
template: "<div [ngStyle]=\"{ 'marginTop': margintop + 'px' }\" [ngClass]=\"{ 'transparent': transparent }\" >\r\n \r\n <ng-container *ngIf=\"_platform.Config.ux >= 3\" >\r\n <h2 [innerHTML]=\"pagetitle | translate\"></h2>\r\n \r\n <div class=\"link-button\">\r\n <button mat-button type=\"button\" *ngIf=\"backurl\" color=\"primary\" (click)=\"goBack()\">\r\n <mat-icon class=\"fs-20\">chevron_left</mat-icon>{{ 'Voltar' | translate}}</button>\r\n\r\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\r\n\r\n <dl *ngIf=\"(access || []).length > 0\" class=\"acesso-rapido\" (mouseenter)=\"exibirAcessos = true\" (mouseleave)=\"exibirAcessos = false\">\r\n <dt>\r\n <mat-icon class=\"fs-20\">share</mat-icon>\r\n </dt>\r\n <dd *ngIf=\"exibirAcessos\">\r\n <ul>\r\n <li *ngFor=\"let a of access\">\r\n <a target=\"_blank\" [routerLink]=\"a.Url\" ><mat-icon>chevron_right</mat-icon> {{ a.Label | translate }}</a>\r\n </li>\r\n </ul> \r\n </dd>\r\n </dl>\r\n </div>\r\n <hr>\r\n </ng-container>\r\n \r\n <div class=\"row\" *ngIf=\"_platform.Config.ux <= 2\" >\r\n <div class=\"col-md-6\">\r\n <h2>\r\n <label id=\"page-title\" *ngIf=\"_platform.PaginaAtiva\">\r\n <mat-icon>{{ _platform.PaginaAtiva.Icone }}</mat-icon>\r\n {{ _platform.PaginaAtiva.Titulo | translate }}\r\n\r\n <ng-container *ngIf=\"pagetitle != null && pagetitle != ''\"> / </ng-container>\r\n </label>\r\n <label [outerHTML]=\"pagetitle | translate\"></label>\r\n </h2>\r\n <button *ngIf=\"podeCriarAtalho\" type=\"button\" mat-icon-button class=\"shortcut-button\" [ngClass]=\"{ 'tem-atalho': !!atalhoId }\" (click)=\"toggleAtalho()\" [disabled]=\"loading\">\r\n <mat-icon inline>{{ atalhoId ? 'star' : 'star_border' }}</mat-icon>\r\n </button>\r\n \r\n <p class=\"pagebar-description\" [innerHTML]=\"description | translate\"></p>\r\n </div>\r\n\r\n <div class=\"col-md-6 align-right buttons\">\r\n <button mat-button type=\"button\" *ngIf=\"backurl\" color=\"primary\" (click)=\"goBack()\">\r\n <mat-icon class=\"fs-20\">chevron_left</mat-icon>{{ 'Voltar' | translate}}\r\n </button>\r\n \r\n <ng-container *ngTemplateOutlet=\"content\"></ng-container>\r\n\r\n <dl *ngIf=\"(access || []).length > 0\" class=\"acesso-rapido\" (mouseenter)=\"exibirAcessos = true\" (mouseleave)=\"exibirAcessos = false\">\r\n <dt>\r\n <mat-icon class=\"fs-20\">share</mat-icon>\r\n </dt>\r\n <dd *ngIf=\"exibirAcessos\">\r\n <ul>\r\n <li *ngFor=\"let a of access\">\r\n <a target=\"_blank\" [routerLink]=\"a.Url\" ><mat-icon>chevron_right</mat-icon> {{ a.Label | translate }}</a>\r\n </li>\r\n </ul> \r\n </dd>\r\n </dl>\r\n </div>\r\n </div>\r\n</div>\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\r\n<ng-template #content><ng-content></ng-content></ng-template>",
|
|
8393
|
-
styles: [":host.topmenu>div{left:0!important;top:125px!important;width:100%!important}:host.uxc3>div{background:#fff;left:240px;min-height:60px;padding:15px 20px 10px;position:fixed;top:80px;transition:left .2s ease-in-out,width .2s ease-in-out;width:calc(100% - 240px);z-index:100}:host.uxc3>div h2{background:inherit;display:inline-block;font-family:Cinzel;font-size:2em;font-weight:500;margin:0;padding-right:20px
|
|
8555
|
+
styles: [":host.topmenu>div{left:0!important;top:125px!important;width:100%!important}:host.uxc3>div{background:#fff;left:240px;min-height:60px;padding:15px 20px 10px;position:fixed;top:80px;transition:left .2s ease-in-out,width .2s ease-in-out;width:calc(100% - 240px);z-index:100}:host.uxc3>div h2{background:inherit;display:inline-block;font-family:Cinzel;font-size:2em;font-weight:500;margin:0;max-width:65%;padding-right:20px}:host.uxc3>div h2>small{font-size:70%}:host.uxc3>div .link-button{background:inherit;display:block;padding-left:20px;position:absolute;right:20px;top:18px}:host.uxc3>div hr{margin:0;position:absolute;top:50%;width:calc(100% - 40px);z-index:-1}@media (max-width:543px){:host.uxc3>div{left:0}}:host.uxc2>div{background:#fff;border-bottom:1px solid #e4e9f0;box-shadow:0 0 5px #eee;left:240px;min-height:60px;padding:10px 20px;position:fixed;right:0;top:70px;z-index:100}@media (max-width:543px){:host.uxc2>div{left:0}}:host.uxc2>div h2{display:inline;font-size:1.2em;margin:0;padding:0}:host.uxc2>div p{font-size:.9em;margin:0;padding-top:3px;width:100%}@media (max-width:543px){:host.uxc2>div p{display:none}}:host.uxc2>div .buttons{padding-top:2px}:host.uxc2>div .buttons .mat-button{margin-left:8px}:host.uxc2>div:hover .shortcut-button{opacity:1}:host.uxc2>div .shortcut-button{height:22px;line-height:22px;opacity:0;text-align:center;transition:opacity .2s;width:22px}:host.uxc2>div .shortcut-button.tem-atalho{opacity:1!important}:host.uxc2>div .shortcut-button .mat-icon{color:#b99206;font-size:14px;top:-2px}"]
|
|
8394
8556
|
}] }
|
|
8395
8557
|
];
|
|
8396
8558
|
/** @nocollapse */
|