Skip to content

Commit

Permalink
Recompiled JS
Browse files Browse the repository at this point in the history
  • Loading branch information
vitmalina committed Feb 29, 2024
1 parent 5f4d2b5 commit 5ba346b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
9 changes: 5 additions & 4 deletions dist/w2ui.es6.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* w2ui 2.0.x (nightly) (2/19/2024, 12:04:48 PM) (c) http://w2ui.com, [email protected] */
/* w2ui 2.0.x (nightly) (2/29/2024, 8:15:52 AM) (c) http://w2ui.com, [email protected] */
/**
* Part of w2ui 2.0 library
* - Dependencies: w2utils
Expand Down Expand Up @@ -2414,9 +2414,9 @@ class Utils {
let div = query('body > #_tmp_width')
if (div.length === 0) {
query('body').append('<div id="_tmp_width" style="position: absolute; top: -9000px;"></div>')
div = query('body > #_tmp_width')
}
div.html(raw ? str : this.encodeTags(str))
.attr('style', `position: absolute; top: -9000px; ${styles || ''}`)
div.html(raw ? str : this.encodeTags(str)).attr('style', `position: absolute; top: -9000px; ${styles || ''}`)
return div[0].clientWidth
}
execTemplate(str, replace_obj) {
Expand Down Expand Up @@ -7073,6 +7073,7 @@ class w2toolbar extends w2base {
* extends it. If events are not cleared, it would trigger old listeners too.
*/
let overlay = w2tooltip.get(this.name + '-drop')
if (overlay?.displayed) overlay.hide()
overlay?.listeners?.splice(0)
// timeout is needed to make sure previous overlay hides
setTimeout(() => {
Expand Down Expand Up @@ -16589,7 +16590,7 @@ class w2grid extends w2base {
' <div id="grid_'+ this.name +'_footer" class="w2ui-grid-footer"></div>'+
' <textarea id="grid_'+ this.name +'_focus" class="w2ui-grid-focus-input" '+
(this.tabIndex ? 'tabindex="' + this.tabIndex + '"' : '')+
(w2utils.isIOS ? 'readonly' : '') +'></textarea>'+ // readonly needed on android not to open keyboard
(w2utils.isMobile ? 'readonly' : '') +'></textarea>'+ // readonly needed on android not to open keyboard
'</div>')
if (this.selectType != 'row') query(this.box).addClass('w2ui-ss')
if (query(this.box).length > 0) query(this.box)[0].style.cssText += this.style
Expand Down
8 changes: 4 additions & 4 deletions dist/w2ui.es6.min.js

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions dist/w2ui.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* w2ui 2.0.x (nightly) (2/19/2024, 12:04:48 PM) (c) http://w2ui.com, [email protected] */
/* w2ui 2.0.x (nightly) (2/29/2024, 8:15:52 AM) (c) http://w2ui.com, [email protected] */
/**
* Part of w2ui 2.0 library
* - Dependencies: w2utils
Expand Down Expand Up @@ -2414,9 +2414,9 @@ class Utils {
let div = query('body > #_tmp_width')
if (div.length === 0) {
query('body').append('<div id="_tmp_width" style="position: absolute; top: -9000px;"></div>')
div = query('body > #_tmp_width')
}
div.html(raw ? str : this.encodeTags(str))
.attr('style', `position: absolute; top: -9000px; ${styles || ''}`)
div.html(raw ? str : this.encodeTags(str)).attr('style', `position: absolute; top: -9000px; ${styles || ''}`)
return div[0].clientWidth
}
execTemplate(str, replace_obj) {
Expand Down Expand Up @@ -7073,6 +7073,7 @@ class w2toolbar extends w2base {
* extends it. If events are not cleared, it would trigger old listeners too.
*/
let overlay = w2tooltip.get(this.name + '-drop')
if (overlay?.displayed) overlay.hide()
overlay?.listeners?.splice(0)
// timeout is needed to make sure previous overlay hides
setTimeout(() => {
Expand Down Expand Up @@ -16589,7 +16590,7 @@ class w2grid extends w2base {
' <div id="grid_'+ this.name +'_footer" class="w2ui-grid-footer"></div>'+
' <textarea id="grid_'+ this.name +'_focus" class="w2ui-grid-focus-input" '+
(this.tabIndex ? 'tabindex="' + this.tabIndex + '"' : '')+
(w2utils.isIOS ? 'readonly' : '') +'></textarea>'+ // readonly needed on android not to open keyboard
(w2utils.isMobile ? 'readonly' : '') +'></textarea>'+ // readonly needed on android not to open keyboard
'</div>')
if (this.selectType != 'row') query(this.box).addClass('w2ui-ss')
if (query(this.box).length > 0) query(this.box)[0].style.cssText += this.style
Expand Down
8 changes: 4 additions & 4 deletions dist/w2ui.min.js

Large diffs are not rendered by default.

0 comments on commit 5ba346b

Please sign in to comment.