ps-toolkit-ui 1.8.20 → 1.8.23
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 +8 -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/classes/string.class.js +2 -1
- package/esm2015/lib/components/error/error.component.js +8 -9
- package/fesm2015/ps-toolkit-ui.js +9 -8
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/lib/classes/string.class.d.ts +1 -0
- package/lib/components/error/error.component.d.ts +2 -4
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -276,6 +276,7 @@
|
|
|
276
276
|
UsernamePasswordInvalid: 'نام کاربری یا کلمه عبور اشتباه است',
|
|
277
277
|
DbUpdateException: 'امکان حذف رکورد مورد نظر به دلیل استفاده شدن در سامانه وجود ندارد',
|
|
278
278
|
UserMaxSessionCount: 'تعداد لاگین انجام شده بیش از سقف مجاز است.',
|
|
279
|
+
UserInvalidIp: 'آیپی شما نامعتبر است.',
|
|
279
280
|
// tslint:disable-next-line
|
|
280
281
|
LoadingDot: '<span class="dot-spinner black"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
|
|
281
282
|
LoadingDotWhite: '<span class="dot-spinner white"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></span>',
|
|
@@ -6564,10 +6565,8 @@
|
|
|
6564
6565
|
]; };
|
|
6565
6566
|
|
|
6566
6567
|
var ErrorComponent = /** @class */ (function () {
|
|
6567
|
-
function ErrorComponent(config
|
|
6568
|
+
function ErrorComponent(config) {
|
|
6568
6569
|
this.config = config;
|
|
6569
|
-
this.route = route;
|
|
6570
|
-
this.message = this.route.snapshot.paramMap.get('message');
|
|
6571
6570
|
var lang = new LangClass(config.currentLang, config.strings);
|
|
6572
6571
|
this.l = function (key, v) {
|
|
6573
6572
|
if (v === void 0) { v = null; }
|
|
@@ -6579,14 +6578,16 @@
|
|
|
6579
6578
|
ErrorComponent.decorators = [
|
|
6580
6579
|
{ type: core.Component, args: [{
|
|
6581
6580
|
selector: 'lib-error',
|
|
6582
|
-
template: "<div id=\"Error\">\r\n <div class=\"error-con\" *ngIf=\"
|
|
6581
|
+
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
6582
|
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
6583
|
},] }
|
|
6585
6584
|
];
|
|
6586
6585
|
ErrorComponent.ctorParameters = function () { return [
|
|
6587
|
-
{ type: PsToolkitUiConfigService }
|
|
6588
|
-
|
|
6589
|
-
|
|
6586
|
+
{ type: PsToolkitUiConfigService }
|
|
6587
|
+
]; };
|
|
6588
|
+
ErrorComponent.propDecorators = {
|
|
6589
|
+
error: [{ type: core.Input }]
|
|
6590
|
+
};
|
|
6590
6591
|
|
|
6591
6592
|
var FormFingerComponent = /** @class */ (function () {
|
|
6592
6593
|
function FormFingerComponent() {
|