mol_view_tree2_lib 1.0.6 → 1.0.8
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/node.test.js
CHANGED
|
@@ -10916,6 +10916,9 @@ var $;
|
|
|
10916
10916
|
if(next !== undefined) return next;
|
|
10917
10917
|
return null;
|
|
10918
10918
|
}
|
|
10919
|
+
activate(next){
|
|
10920
|
+
return (this.event_activate(next));
|
|
10921
|
+
}
|
|
10919
10922
|
clicks(next){
|
|
10920
10923
|
if(next !== undefined) return next;
|
|
10921
10924
|
return null;
|
|
@@ -10924,6 +10927,9 @@ var $;
|
|
|
10924
10927
|
if(next !== undefined) return next;
|
|
10925
10928
|
return null;
|
|
10926
10929
|
}
|
|
10930
|
+
key_press(next){
|
|
10931
|
+
return (this.event_key_press(next));
|
|
10932
|
+
}
|
|
10927
10933
|
disabled(){
|
|
10928
10934
|
return false;
|
|
10929
10935
|
}
|
|
@@ -10953,9 +10959,9 @@ var $;
|
|
|
10953
10959
|
event(){
|
|
10954
10960
|
return {
|
|
10955
10961
|
...(super.event()),
|
|
10956
|
-
"click": (next) => (this.
|
|
10962
|
+
"click": (next) => (this.activate(next)),
|
|
10957
10963
|
"dblclick": (next) => (this.clicks(next)),
|
|
10958
|
-
"keydown": (next) => (this.
|
|
10964
|
+
"keydown": (next) => (this.key_press(next))
|
|
10959
10965
|
};
|
|
10960
10966
|
}
|
|
10961
10967
|
attr(){
|
|
@@ -11061,7 +11067,7 @@ var $;
|
|
|
11061
11067
|
}
|
|
11062
11068
|
event_key_press(event) {
|
|
11063
11069
|
if (event.keyCode === $mol_keyboard_code.enter) {
|
|
11064
|
-
return this.
|
|
11070
|
+
return this.activate(event);
|
|
11065
11071
|
}
|
|
11066
11072
|
}
|
|
11067
11073
|
tab_index() {
|