jrs-react 1.2.43 → 1.2.45
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/build/index.es.js
CHANGED
|
@@ -4957,8 +4957,10 @@ class Backdrop extends JRHTML {
|
|
|
4957
4957
|
this.backdrop = this.agregarHijo(this.backdropConfig);
|
|
4958
4958
|
}
|
|
4959
4959
|
hide() {
|
|
4960
|
-
|
|
4961
|
-
|
|
4960
|
+
if (this.hijos.length) {
|
|
4961
|
+
this.yo.removeChild(this.yo.children[this.yo.children.length - 1]);
|
|
4962
|
+
this.hijos = [];
|
|
4963
|
+
}
|
|
4962
4964
|
}
|
|
4963
4965
|
}
|
|
4964
4966
|
class JRWindow extends JRFrame {
|
|
@@ -5020,6 +5022,9 @@ class JRWindow extends JRFrame {
|
|
|
5020
5022
|
this.open();
|
|
5021
5023
|
}
|
|
5022
5024
|
}
|
|
5025
|
+
componentWillUnmount() {
|
|
5026
|
+
this.backdropTarget?.hide();
|
|
5027
|
+
}
|
|
5023
5028
|
open() {
|
|
5024
5029
|
this.backdropTarget?.show();
|
|
5025
5030
|
this.props.onOpen?.bind(this)();
|
package/build/index.js
CHANGED
|
@@ -4984,8 +4984,10 @@ class Backdrop extends JRHTML {
|
|
|
4984
4984
|
this.backdrop = this.agregarHijo(this.backdropConfig);
|
|
4985
4985
|
}
|
|
4986
4986
|
hide() {
|
|
4987
|
-
|
|
4988
|
-
|
|
4987
|
+
if (this.hijos.length) {
|
|
4988
|
+
this.yo.removeChild(this.yo.children[this.yo.children.length - 1]);
|
|
4989
|
+
this.hijos = [];
|
|
4990
|
+
}
|
|
4989
4991
|
}
|
|
4990
4992
|
}
|
|
4991
4993
|
class JRWindow extends JRFrame {
|
|
@@ -5047,6 +5049,9 @@ class JRWindow extends JRFrame {
|
|
|
5047
5049
|
this.open();
|
|
5048
5050
|
}
|
|
5049
5051
|
}
|
|
5052
|
+
componentWillUnmount() {
|
|
5053
|
+
this.backdropTarget?.hide();
|
|
5054
|
+
}
|
|
5050
5055
|
open() {
|
|
5051
5056
|
this.backdropTarget?.show();
|
|
5052
5057
|
this.props.onOpen?.bind(this)();
|
package/package.json
CHANGED
|
@@ -79,8 +79,10 @@ class Backdrop extends JRHTML{
|
|
|
79
79
|
this.backdrop=this.agregarHijo(this.backdropConfig)
|
|
80
80
|
}
|
|
81
81
|
hide(){
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
if(this.hijos.length){
|
|
83
|
+
this.yo.removeChild(this.yo.children[this.yo.children.length-1])
|
|
84
|
+
this.hijos=[]
|
|
85
|
+
}
|
|
84
86
|
}
|
|
85
87
|
}
|
|
86
88
|
|
|
@@ -147,6 +149,10 @@ export default class JRWindow extends JRFrame {
|
|
|
147
149
|
}
|
|
148
150
|
}
|
|
149
151
|
|
|
152
|
+
componentWillUnmount(){
|
|
153
|
+
this.backdropTarget?.hide()
|
|
154
|
+
}
|
|
155
|
+
|
|
150
156
|
open(){
|
|
151
157
|
this.backdropTarget?.show()
|
|
152
158
|
this.props.onOpen?.bind(this)()
|