Refactor #3965, Improve build and Added *Base models

This commit is contained in:
mertsincan 2023-07-03 23:20:35 +01:00
parent f4ba20b222
commit 9247620421
134 changed files with 4230 additions and 1729 deletions

View file

@ -38,7 +38,7 @@ export default {
this.mask = document.createElement('div');
!this.isUnstyled && this.mask.setAttribute('class', styleClass);
document.body.appendChild(this.mask);
!this.isUnstyled && DomHandler.addClass(document.body, 'p-overflow-hidden');
DomHandler.addClass(document.body, 'p-overflow-hidden');
document.activeElement.blur();
} else {
this.mask = document.createElement('div');
@ -65,7 +65,7 @@ export default {
if (this.fullScreen) {
if (!this.isUnstyled) {
document.body.removeChild(this.mask);
!this.isUnstyled && DomHandler.removeClass(document.body, 'p-overflow-hidden');
DomHandler.removeClass(document.body, 'p-overflow-hidden');
}
} else {
this.$refs.container.removeChild(this.mask);