mol_view_tree2_lib 1.0.6 → 1.0.7
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/node.test.js +9 -3
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +9 -3
- package/web.test.js.map +1 -1
package/package.json
CHANGED
package/web.test.js
CHANGED
|
@@ -5596,6 +5596,9 @@ var $;
|
|
|
5596
5596
|
if(next !== undefined) return next;
|
|
5597
5597
|
return null;
|
|
5598
5598
|
}
|
|
5599
|
+
activate(next){
|
|
5600
|
+
return (this.event_activate(next));
|
|
5601
|
+
}
|
|
5599
5602
|
clicks(next){
|
|
5600
5603
|
if(next !== undefined) return next;
|
|
5601
5604
|
return null;
|
|
@@ -5604,6 +5607,9 @@ var $;
|
|
|
5604
5607
|
if(next !== undefined) return next;
|
|
5605
5608
|
return null;
|
|
5606
5609
|
}
|
|
5610
|
+
key_press(next){
|
|
5611
|
+
return (this.event_key_press(next));
|
|
5612
|
+
}
|
|
5607
5613
|
disabled(){
|
|
5608
5614
|
return false;
|
|
5609
5615
|
}
|
|
@@ -5633,9 +5639,9 @@ var $;
|
|
|
5633
5639
|
event(){
|
|
5634
5640
|
return {
|
|
5635
5641
|
...(super.event()),
|
|
5636
|
-
"click": (next) => (this.
|
|
5642
|
+
"click": (next) => (this.activate(next)),
|
|
5637
5643
|
"dblclick": (next) => (this.clicks(next)),
|
|
5638
|
-
"keydown": (next) => (this.
|
|
5644
|
+
"keydown": (next) => (this.key_press(next))
|
|
5639
5645
|
};
|
|
5640
5646
|
}
|
|
5641
5647
|
attr(){
|
|
@@ -5741,7 +5747,7 @@ var $;
|
|
|
5741
5747
|
}
|
|
5742
5748
|
event_key_press(event) {
|
|
5743
5749
|
if (event.keyCode === $mol_keyboard_code.enter) {
|
|
5744
|
-
return this.
|
|
5750
|
+
return this.activate(event);
|
|
5745
5751
|
}
|
|
5746
5752
|
}
|
|
5747
5753
|
tab_index() {
|