ps-toolkit-ui 1.8.24 → 1.8.25
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/ps-toolkit-ui.umd.js +4 -2
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/error/error.component.js +6 -4
- package/fesm2015/ps-toolkit-ui.js +4 -2
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/components/error/error.component.d.ts +3 -0
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -6568,6 +6568,7 @@
|
|
|
6568
6568
|
var ErrorComponent = /** @class */ (function () {
|
|
6569
6569
|
function ErrorComponent(config) {
|
|
6570
6570
|
this.config = config;
|
|
6571
|
+
this.logout = new core.EventEmitter();
|
|
6571
6572
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
6572
6573
|
this.l = function (key, v) {
|
|
6573
6574
|
if (v === void 0) { v = null; }
|
|
@@ -6579,7 +6580,7 @@
|
|
|
6579
6580
|
ErrorComponent.decorators = [
|
|
6580
6581
|
{ type: core.Component, args: [{
|
|
6581
6582
|
selector: 'lib-error',
|
|
6582
|
-
template: "<lib-header></lib-header>\r\n<div id=\"Error\">\r\n <div class=\"error-con\" *ngIf=\"error === 'FormBaseErrorNotRegistered'\">\r\n <i class=\"fa-duotone fa-registered error-icon\"></i>\r\n <div class=\"error-text\">{{l(\"FormBaseErrorNotRegistered\")}}</div>\r\n </div>\r\n <div class=\"error-con\" *ngIf=\"error === 'FormBaseErrorExpiredRegistered'\">\r\n <i class=\"fa-duotone fa-hourglass-end error-icon\"></i>\r\n <div class=\"error-text\">{{l(\"FormBaseErrorExpiredRegistered\")}}</div>\r\n </div>\r\n <div class=\"error-con\" *ngIf=\"error === 'FormBaseErrorInvalidIp'\">\r\n <i class=\"fa-duotone fa-laptop-mobile error-icon\"></i>\r\n <div class=\"error-text\">{{l(\"FormBaseErrorInvalidIp\")}}</div>\r\n </div>\r\n</div>\r\n",
|
|
6583
|
+
template: "<lib-header (logout)=\"logout.emit()\"></lib-header>\r\n<div id=\"Error\">\r\n <div class=\"error-con\" *ngIf=\"error === 'FormBaseErrorNotRegistered'\">\r\n <i class=\"fa-duotone fa-registered error-icon\"></i>\r\n <div class=\"error-text\">{{l(\"FormBaseErrorNotRegistered\")}}</div>\r\n </div>\r\n <div class=\"error-con\" *ngIf=\"error === 'FormBaseErrorExpiredRegistered'\">\r\n <i class=\"fa-duotone fa-hourglass-end error-icon\"></i>\r\n <div class=\"error-text\">{{l(\"FormBaseErrorExpiredRegistered\")}}</div>\r\n </div>\r\n <div class=\"error-con\" *ngIf=\"error === 'FormBaseErrorInvalidIp'\">\r\n <i class=\"fa-duotone fa-laptop-mobile error-icon\"></i>\r\n <div class=\"error-text\">{{l(\"FormBaseErrorInvalidIp\")}}</div>\r\n </div>\r\n</div>\r\n",
|
|
6583
6584
|
styles: ["#Error{align-items:center;background-color:#fff;display:flex;float:right;justify-content:center;min-height:calc(100vh - 125px);position:relative;width:100%}#Error .error-con{border-radius:var(--border-radius-base);float:right;height:100%;width:100%}#Error .error-con .error-text{float:right;font-size:30px;font-weight:700;height:100px;line-height:120px;position:relative;text-align:center;width:100%;z-index:2}#Error .error-con .error-icon{color:var(--base-white);float:right;font-size:150px;text-align:center;width:100%}@media (max-width:399.99px){#Error .error-con{right:5%;width:90%}#Error .error-con .error-text{font-size:25px}#Error .error-con .error-icon{font-size:170px}}@media (min-width:400px) and (max-width:499.99px){#Error .error-con{right:5%;width:90%}#Error .error-con .error-text{font-size:25px}#Error .error-con .error-icon{font-size:170px}}@media (min-width:500px) and (max-width:599.99px){#Error .error-con{right:5%;width:90%}#Error .error-con .error-icon{font-size:200px}}@media (min-width:600px) and (max-width:699.99px){#Error .error-con{right:10%;width:80%}}"]
|
|
6584
6585
|
},] }
|
|
6585
6586
|
];
|
|
@@ -6587,7 +6588,8 @@
|
|
|
6587
6588
|
{ type: PsToolkitUiConfigService }
|
|
6588
6589
|
]; };
|
|
6589
6590
|
ErrorComponent.propDecorators = {
|
|
6590
|
-
error: [{ type: core.Input }]
|
|
6591
|
+
error: [{ type: core.Input }],
|
|
6592
|
+
logout: [{ type: core.Output }]
|
|
6591
6593
|
};
|
|
6592
6594
|
|
|
6593
6595
|
var FormFingerComponent = /** @class */ (function () {
|