info-library 2.10.26 → 2.10.27
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 +18 -2
- 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 +13 -2
- package/esm2015/layouts/topbar/topbar.component.js +7 -2
- package/fesm2015/info-library.js +18 -2
- package/fesm2015/info-library.js.map +1 -1
- package/info-library.metadata.json +1 -1
- package/layouts/main/main.component.d.ts +2 -0
- package/layouts/topbar/topbar.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -6575,6 +6575,7 @@
|
|
|
6575
6575
|
this.setthemeonchangecompany = false;
|
|
6576
6576
|
this.shortcutapi = null;
|
|
6577
6577
|
this.ongetnotification = new i0.EventEmitter();
|
|
6578
|
+
this.onverifynotification = new i0.EventEmitter();
|
|
6578
6579
|
}
|
|
6579
6580
|
Object.defineProperty(InfoMainComponent.prototype, "themes", {
|
|
6580
6581
|
/**
|
|
@@ -6688,12 +6689,19 @@
|
|
|
6688
6689
|
InfoMainComponent.prototype.onGetNotificationsTopBar = function (event) {
|
|
6689
6690
|
this.ongetnotification.emit(event);
|
|
6690
6691
|
};
|
|
6692
|
+
/**
|
|
6693
|
+
* @param {?} event
|
|
6694
|
+
* @return {?}
|
|
6695
|
+
*/
|
|
6696
|
+
InfoMainComponent.prototype.onVerifyNotificationsTopBar = function (event) {
|
|
6697
|
+
this.onverifynotification.emit(event);
|
|
6698
|
+
};
|
|
6691
6699
|
return InfoMainComponent;
|
|
6692
6700
|
}());
|
|
6693
6701
|
InfoMainComponent.decorators = [
|
|
6694
6702
|
{ type: i0.Component, args: [{
|
|
6695
6703
|
selector: 'info-main',
|
|
6696
|
-
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 </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>",
|
|
6704
|
+
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>",
|
|
6697
6705
|
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:-webkit-sticky;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}"]
|
|
6698
6706
|
}] }
|
|
6699
6707
|
];
|
|
@@ -6731,6 +6739,7 @@
|
|
|
6731
6739
|
setthemeonchangecompany: [{ type: i0.Input }],
|
|
6732
6740
|
shortcutapi: [{ type: i0.Input }],
|
|
6733
6741
|
ongetnotification: [{ type: i0.Output }],
|
|
6742
|
+
onverifynotification: [{ type: i0.Output }],
|
|
6734
6743
|
topbar: [{ type: i0.ViewChild, args: ['topbar',] }]
|
|
6735
6744
|
};
|
|
6736
6745
|
if (false) {
|
|
@@ -6784,6 +6793,8 @@
|
|
|
6784
6793
|
/** @type {?} */
|
|
6785
6794
|
InfoMainComponent.prototype.ongetnotification;
|
|
6786
6795
|
/** @type {?} */
|
|
6796
|
+
InfoMainComponent.prototype.onverifynotification;
|
|
6797
|
+
/** @type {?} */
|
|
6787
6798
|
InfoMainComponent.prototype.topbar;
|
|
6788
6799
|
/** @type {?} */
|
|
6789
6800
|
InfoMainComponent.prototype._platform;
|
|
@@ -7097,6 +7108,7 @@
|
|
|
7097
7108
|
this.setthemeonchangecompany = false;
|
|
7098
7109
|
this.onchangestate = new i0.EventEmitter();
|
|
7099
7110
|
this.ongetnotification = new i0.EventEmitter();
|
|
7111
|
+
this.onverifynotification = new i0.EventEmitter();
|
|
7100
7112
|
this.modalRef = null;
|
|
7101
7113
|
this.loading = false;
|
|
7102
7114
|
this.prodution = false;
|
|
@@ -7283,6 +7295,7 @@
|
|
|
7283
7295
|
*/function () { _this.verifyNotifications(); }), 15000);
|
|
7284
7296
|
else
|
|
7285
7297
|
_this.getNotifications();
|
|
7298
|
+
_this.onverifynotification.emit(Object.assign(Object.assign({}, _this.notifications), { VerifyCount: r.data }));
|
|
7286
7299
|
}));
|
|
7287
7300
|
};
|
|
7288
7301
|
/**
|
|
@@ -7365,7 +7378,8 @@
|
|
|
7365
7378
|
profileurl: [{ type: i0.Input }],
|
|
7366
7379
|
setthemeonchangecompany: [{ type: i0.Input }],
|
|
7367
7380
|
onchangestate: [{ type: i0.Output }],
|
|
7368
|
-
ongetnotification: [{ type: i0.Output }]
|
|
7381
|
+
ongetnotification: [{ type: i0.Output }],
|
|
7382
|
+
onverifynotification: [{ type: i0.Output }]
|
|
7369
7383
|
};
|
|
7370
7384
|
if (false) {
|
|
7371
7385
|
/** @type {?} */
|
|
@@ -7399,6 +7413,8 @@
|
|
|
7399
7413
|
/** @type {?} */
|
|
7400
7414
|
InfoTopbarComponent.prototype.ongetnotification;
|
|
7401
7415
|
/** @type {?} */
|
|
7416
|
+
InfoTopbarComponent.prototype.onverifynotification;
|
|
7417
|
+
/** @type {?} */
|
|
7402
7418
|
InfoTopbarComponent.prototype.modalRef;
|
|
7403
7419
|
/** @type {?} */
|
|
7404
7420
|
InfoTopbarComponent.prototype.loading;
|