ps-toolkit-ui 1.8.20 → 1.8.21
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 +7 -7
- 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 +8 -9
- package/fesm2015/ps-toolkit-ui.js +8 -8
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/components/error/error.component.d.ts +2 -4
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -6564,10 +6564,8 @@
|
|
|
6564
6564
|
]; };
|
|
6565
6565
|
|
|
6566
6566
|
var ErrorComponent = /** @class */ (function () {
|
|
6567
|
-
function ErrorComponent(config
|
|
6567
|
+
function ErrorComponent(config) {
|
|
6568
6568
|
this.config = config;
|
|
6569
|
-
this.route = route;
|
|
6570
|
-
this.message = this.route.snapshot.paramMap.get('message');
|
|
6571
6569
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
6572
6570
|
this.l = function (key, v) {
|
|
6573
6571
|
if (v === void 0) { v = null; }
|
|
@@ -6579,14 +6577,16 @@
|
|
|
6579
6577
|
ErrorComponent.decorators = [
|
|
6580
6578
|
{ type: core.Component, args: [{
|
|
6581
6579
|
selector: 'lib-error',
|
|
6582
|
-
template: "<div id=\"Error\">\r\n <div class=\"error-con\" *ngIf=\"
|
|
6580
|
+
template: "<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
6581
|
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
6582
|
},] }
|
|
6585
6583
|
];
|
|
6586
6584
|
ErrorComponent.ctorParameters = function () { return [
|
|
6587
|
-
{ type: PsToolkitUiConfigService }
|
|
6588
|
-
|
|
6589
|
-
|
|
6585
|
+
{ type: PsToolkitUiConfigService }
|
|
6586
|
+
]; };
|
|
6587
|
+
ErrorComponent.propDecorators = {
|
|
6588
|
+
error: [{ type: core.Input }]
|
|
6589
|
+
};
|
|
6590
6590
|
|
|
6591
6591
|
var FormFingerComponent = /** @class */ (function () {
|
|
6592
6592
|
function FormFingerComponent() {
|