ps-toolkit-ui 1.9.69 → 1.9.72
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/form/textbox/form.textbox.component.js +2 -4
- package/esm2015/lib/components/modal/modal.component.js +1 -1
- package/fesm2015/ps-toolkit-ui.js +2 -4
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/ps-toolkit-ui.metadata.json +1 -1
|
@@ -2242,7 +2242,7 @@
|
|
|
2242
2242
|
{ type: core.Component, args: [{
|
|
2243
2243
|
selector: 'lib-modal',
|
|
2244
2244
|
template: "<div [id]=\"modal.id + 'Modal'\" class=\"modal\">\r\n <div [className]=\"(modal.class ? modal.class : '') + (modal.class.includes('xlg') ? '' : modal.class.includes('lg') ? ' w-1000-60 m-r-1000-20 w-700-70 m-r-700-15' : modal.class.includes('sm') ? ' w-1300-20 m-r-1300-40 w-1100-30 m-r-1100-35 w-600-60 m-r-600-20 w-500-70 m-r-500-15 w-400-80 m-r-400-10' : ' w-1300-40 m-r-1300-30 w-1100-50 m-r-1100-25 w-600-60 m-r-600-20 w-500-70 m-r-500-15 w-400-80 m-r-400-10') + ' content w-90 m-r-5'\">\r\n <lib-form-button [inp]=\"close\"></lib-form-button>\r\n <div class=\"body\">\r\n <ng-content></ng-content>\r\n <lib-form *ngIf=\"modal.form != null && modal.firstForm\" [form]=\"modal.form\"></lib-form>\r\n <lib-table *ngIf=\"modal.table != null\" [table]=\"modal.table\"></lib-table>\r\n <lib-form *ngIf=\"modal.form != null && !modal.firstForm\" [form]=\"modal.form\"></lib-form>\r\n <lib-accordion *ngIf=\"modal.accordion != null\" [accordion]=\"modal.accordion\"></lib-accordion>\r\n </div>\r\n </div>\r\n</div>\r\n",
|
|
2245
|
-
styles: [".modal{background-color:rgba(51,51,51,.8);display:none;height:100%;overflow-y:auto;position:fixed;right:0;top:0;width:100%;z-index:999}.modal .content{background-color:#fff;border-radius:var(--border-radius-base);box-shadow:var(--box-shadow-modal);margin-bottom:50px;margin-top:50px;position:relative;z-index:2}.modal .content .header{float:right;position:relative;text-align:center;width:100%}.modal .content .header .title{float:left;font-size:18px;font-weight:700;height:40px;line-height:40px;width:100%}::ng-deep .modal .content>lib-form-button .form-input-con.button{left:-25px;position:absolute;top:-10px;z-index:5}.modal .content .body{float:right;position:relative;width:100%}@media (max-width:399.98px){::ng-deep .modal .content>lib-form-button .form-input-con.button{left:-10px;padding:0}}"]
|
|
2245
|
+
styles: [".modal{background-color:rgba(51,51,51,.8);display:none;height:100%;overflow-y:auto;position:fixed;right:0;top:0;width:100%;z-index:999}.modal .content{background-color:#fff;border-radius:var(--border-radius-base);box-shadow:var(--box-shadow-modal);margin-bottom:50px;margin-top:50px;position:relative;z-index:2}.modal .content .header{float:right;position:relative;text-align:center;width:100%}.modal .content .header .title{float:left;font-size:18px;font-weight:700;height:40px;line-height:40px;width:100%}::ng-deep .modal .content>lib-form-button .form-input-con.button{left:-25px;position:absolute;top:-10px;z-index:5}::ng-deep .modal .content .body .table-con{box-shadow:unset!important}.modal .content .body{float:right;position:relative;width:100%}@media (max-width:399.98px){::ng-deep .modal .content>lib-form-button .form-input-con.button{left:-10px;padding:0}}"]
|
|
2246
2246
|
},] }
|
|
2247
2247
|
];
|
|
2248
2248
|
ModalComponent.ctorParameters = function () { return []; };
|
|
@@ -5986,7 +5986,6 @@
|
|
|
5986
5986
|
_this.inp.value = v != null ? v.toString() : '';
|
|
5987
5987
|
_this.cValue = _this.inp.value;
|
|
5988
5988
|
};
|
|
5989
|
-
console.log(this.inp.focus, this.inp.name);
|
|
5990
5989
|
this.inp.focus = function (changeIndex) {
|
|
5991
5990
|
if (changeIndex === void 0) { changeIndex = false; }
|
|
5992
5991
|
_this.onFocusIn(changeIndex);
|
|
@@ -6097,14 +6096,13 @@
|
|
|
6097
6096
|
var _this = this;
|
|
6098
6097
|
if (changeIndex === void 0) { changeIndex = false; }
|
|
6099
6098
|
setTimeout(function () {
|
|
6100
|
-
console.log(_this.inputBase);
|
|
6101
6099
|
if (changeIndex) {
|
|
6102
6100
|
_this.inputBase.nativeElement.select();
|
|
6103
6101
|
}
|
|
6104
6102
|
else {
|
|
6105
6103
|
_this.inputBase.nativeElement.focus();
|
|
6106
6104
|
}
|
|
6107
|
-
}
|
|
6105
|
+
});
|
|
6108
6106
|
};
|
|
6109
6107
|
FormTextboxComponent.prototype.onFocusOut = function (e) {
|
|
6110
6108
|
if (this.inp.onFocusOut !== null) {
|