ps-toolkit-ui 1.8.25 → 1.8.26
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 +2 -4
- 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 +4 -6
- package/fesm2015/ps-toolkit-ui.js +2 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/components/error/error.component.d.ts +0 -3
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { Component,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
2
|
import { PsToolkitUiConfigService } from '../../services/config.service';
|
|
3
3
|
import { LangClass } from '../../classes/lang.class';
|
|
4
4
|
export class ErrorComponent {
|
|
5
5
|
constructor(config) {
|
|
6
6
|
this.config = config;
|
|
7
|
-
this.logout = new EventEmitter();
|
|
8
7
|
const lang = new LangClass(config.currentLang, config.strings);
|
|
9
8
|
this.l = (key, v = null) => {
|
|
10
9
|
return lang.get('Public', 'Error', key, v);
|
|
@@ -14,7 +13,7 @@ export class ErrorComponent {
|
|
|
14
13
|
ErrorComponent.decorators = [
|
|
15
14
|
{ type: Component, args: [{
|
|
16
15
|
selector: 'lib-error',
|
|
17
|
-
template: "<
|
|
16
|
+
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",
|
|
18
17
|
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%}}"]
|
|
19
18
|
},] }
|
|
20
19
|
];
|
|
@@ -22,7 +21,6 @@ ErrorComponent.ctorParameters = () => [
|
|
|
22
21
|
{ type: PsToolkitUiConfigService }
|
|
23
22
|
];
|
|
24
23
|
ErrorComponent.propDecorators = {
|
|
25
|
-
error: [{ type: Input }]
|
|
26
|
-
logout: [{ type: Output }]
|
|
24
|
+
error: [{ type: Input }]
|
|
27
25
|
};
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3IuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IkQ6L1BzVG9vbGtpdC9VSS9wcm9qZWN0cy9wcy10b29sa2l0LXVp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1xyXG5pbXBvcnQge0xhbmdDbGFzc30gZnJvbSAnLi4vLi4vY2xhc3Nlcy9sYW5nLmNsYXNzJztcclxuaW1wb3J0IHtJbnB1dENsYXNzfSBmcm9tICcuLi8uLi9jbGFzc2VzL2Zvcm0uY2xhc3MnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgICBzZWxlY3RvcjogJ2xpYi1lcnJvcicsXHJcbiAgICB0ZW1wbGF0ZVVybDogJy4vZXJyb3IuY29tcG9uZW50Lmh0bWwnLFxyXG4gICAgc3R5bGVVcmxzOiBbJy4vZXJyb3IuY29tcG9uZW50LmNzcyddXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBFcnJvckNvbXBvbmVudCB7XHJcbiAgQElucHV0KClcclxuICBlcnJvcjogc3RyaW5nO1xyXG4gIGw6IChrLCB2PykgPT4gc3RyaW5nO1xyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBjb25maWc6IFBzVG9vbGtpdFVpQ29uZmlnU2VydmljZSl7XHJcbiAgICBjb25zdCBsYW5nID0gbmV3IExhbmdDbGFzcyhjb25maWcuY3VycmVudExhbmcsIGNvbmZpZy5zdHJpbmdzKTtcclxuICAgIHRoaXMubCA9IChrZXk6IHN0cmluZywgdiA9IG51bGwpOiBzdHJpbmcgPT4ge1xyXG4gICAgICByZXR1cm4gbGFuZy5nZXQoJ1B1YmxpYycsICdFcnJvcicsIGtleSwgdik7XHJcbiAgICB9O1xyXG4gIH1cclxufVxyXG4iXX0=
|
|
@@ -5718,7 +5718,6 @@ NotfoundComponent.ctorParameters = () => [
|
|
|
5718
5718
|
class ErrorComponent {
|
|
5719
5719
|
constructor(config) {
|
|
5720
5720
|
this.config = config;
|
|
5721
|
-
this.logout = new EventEmitter();
|
|
5722
5721
|
const lang = new LangClass(config.currentLang, config.strings);
|
|
5723
5722
|
this.l = (key, v = null) => {
|
|
5724
5723
|
return lang.get('Public', 'Error', key, v);
|
|
@@ -5728,7 +5727,7 @@ class ErrorComponent {
|
|
|
5728
5727
|
ErrorComponent.decorators = [
|
|
5729
5728
|
{ type: Component, args: [{
|
|
5730
5729
|
selector: 'lib-error',
|
|
5731
|
-
template: "<
|
|
5730
|
+
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",
|
|
5732
5731
|
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%}}"]
|
|
5733
5732
|
},] }
|
|
5734
5733
|
];
|
|
@@ -5736,8 +5735,7 @@ ErrorComponent.ctorParameters = () => [
|
|
|
5736
5735
|
{ type: PsToolkitUiConfigService }
|
|
5737
5736
|
];
|
|
5738
5737
|
ErrorComponent.propDecorators = {
|
|
5739
|
-
error: [{ type: Input }]
|
|
5740
|
-
logout: [{ type: Output }]
|
|
5738
|
+
error: [{ type: Input }]
|
|
5741
5739
|
};
|
|
5742
5740
|
|
|
5743
5741
|
class FormFingerComponent {
|