ps-toolkit-ui 1.6.94 → 1.6.95
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 -5
- 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 +9 -6
- package/fesm2015/ps-toolkit-ui.js +8 -6
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/components/error/error.component.d.ts +3 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -6596,9 +6596,10 @@
|
|
|
6596
6596
|
]; };
|
|
6597
6597
|
|
|
6598
6598
|
var ErrorComponent = /** @class */ (function () {
|
|
6599
|
-
function ErrorComponent(config) {
|
|
6599
|
+
function ErrorComponent(config, route) {
|
|
6600
6600
|
this.config = config;
|
|
6601
|
-
this.
|
|
6601
|
+
this.route = route;
|
|
6602
|
+
this.message = this.route.snapshot.paramMap.get('message');
|
|
6602
6603
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
6603
6604
|
this.l = function (key, v) {
|
|
6604
6605
|
if (v === void 0) { v = null; }
|
|
@@ -6610,12 +6611,13 @@
|
|
|
6610
6611
|
ErrorComponent.decorators = [
|
|
6611
6612
|
{ type: core.Component, args: [{
|
|
6612
6613
|
selector: 'lib-error',
|
|
6613
|
-
template: "<div id=\"Error\">\r\n <div class=\"error-con\" *ngIf=\"message === '
|
|
6614
|
-
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-family:VazirBold;font-size:
|
|
6614
|
+
template: "<div id=\"Error\">\r\n <div class=\"error-con\" *ngIf=\"message === 'notregistered'\">\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=\"message === 'expiredregistered'\">\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>\r\n",
|
|
6615
|
+
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-family:VazirBold;font-size:30px;height:100px;line-height:120px;position:relative;text-align:center;width:100%;z-index:2}#Error .error-con .error-icon{color:var(--black-light);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%}}"]
|
|
6615
6616
|
},] }
|
|
6616
6617
|
];
|
|
6617
6618
|
ErrorComponent.ctorParameters = function () { return [
|
|
6618
|
-
{ type: PsToolkitUiConfigService }
|
|
6619
|
+
{ type: PsToolkitUiConfigService },
|
|
6620
|
+
{ type: router.ActivatedRoute }
|
|
6619
6621
|
]; };
|
|
6620
6622
|
|
|
6621
6623
|
var FormFingerComponent = /** @class */ (function () {
|