jstree-rails-4 3.2.1 → 3.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -8
- data/LICENSE +1 -2
- data/README.md +2 -3
- data/jstree-rails-4.gemspec +5 -4
- data/lib/jstree-rails-4/version.rb +1 -1
- data/vendor/assets/javascripts/jstree.js +740 -216
- data/vendor/assets/stylesheets/jstree-default-dark.scss +44 -3
- data/vendor/assets/stylesheets/jstree-default.scss +44 -3
- metadata +25 -11
@@ -66,7 +66,8 @@
|
|
66
66
|
.jstree-anchor > .jstree-themeicon-hidden {
|
67
67
|
display: none;
|
68
68
|
}
|
69
|
-
.jstree-hidden
|
69
|
+
.jstree-hidden,
|
70
|
+
.jstree-node.jstree-hidden {
|
70
71
|
display: none;
|
71
72
|
}
|
72
73
|
.jstree-rtl .jstree-anchor {
|
@@ -130,7 +131,6 @@
|
|
130
131
|
}
|
131
132
|
.vakata-context li {
|
132
133
|
list-style: none;
|
133
|
-
display: inline;
|
134
134
|
}
|
135
135
|
.vakata-context li > a {
|
136
136
|
display: block;
|
@@ -286,6 +286,7 @@
|
|
286
286
|
background-color: transparent;
|
287
287
|
}
|
288
288
|
.jstree-default-dark .jstree-anchor,
|
289
|
+
.jstree-default-dark .jstree-animated,
|
289
290
|
.jstree-default-dark .jstree-wholerow {
|
290
291
|
transition: background-color 0.15s, box-shadow 0.15s;
|
291
292
|
}
|
@@ -294,6 +295,11 @@
|
|
294
295
|
border-radius: 2px;
|
295
296
|
box-shadow: inset 0 0 1px #555555;
|
296
297
|
}
|
298
|
+
.jstree-default-dark .jstree-context {
|
299
|
+
background: #555555;
|
300
|
+
border-radius: 2px;
|
301
|
+
box-shadow: inset 0 0 1px #555555;
|
302
|
+
}
|
297
303
|
.jstree-default-dark .jstree-clicked {
|
298
304
|
background: #5fa2db;
|
299
305
|
border-radius: 2px;
|
@@ -534,6 +540,17 @@
|
|
534
540
|
#jstree-dnd.jstree-default-dark .jstree-er {
|
535
541
|
background-position: -36px -68px;
|
536
542
|
}
|
543
|
+
.jstree-default-dark .jstree-ellipsis {
|
544
|
+
overflow: hidden;
|
545
|
+
}
|
546
|
+
.jstree-default-dark .jstree-ellipsis .jstree-anchor {
|
547
|
+
width: calc(100% - 29px);
|
548
|
+
text-overflow: ellipsis;
|
549
|
+
overflow: hidden;
|
550
|
+
}
|
551
|
+
.jstree-default-dark .jstree-ellipsis.jstree-no-icons .jstree-anchor {
|
552
|
+
width: calc(100% - 5px);
|
553
|
+
}
|
537
554
|
.jstree-default-dark.jstree-rtl .jstree-node {
|
538
555
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==");
|
539
556
|
}
|
@@ -707,6 +724,17 @@
|
|
707
724
|
#jstree-dnd.jstree-default-dark-small .jstree-er {
|
708
725
|
background-position: -39px -71px;
|
709
726
|
}
|
727
|
+
.jstree-default-dark-small .jstree-ellipsis {
|
728
|
+
overflow: hidden;
|
729
|
+
}
|
730
|
+
.jstree-default-dark-small .jstree-ellipsis .jstree-anchor {
|
731
|
+
width: calc(100% - 23px);
|
732
|
+
text-overflow: ellipsis;
|
733
|
+
overflow: hidden;
|
734
|
+
}
|
735
|
+
.jstree-default-dark-small .jstree-ellipsis.jstree-no-icons .jstree-anchor {
|
736
|
+
width: calc(100% - 5px);
|
737
|
+
}
|
710
738
|
.jstree-default-dark-small.jstree-rtl .jstree-node {
|
711
739
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAACAQMAAABv1h6PAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMHBgAAiABBI4gz9AAAAABJRU5ErkJggg==");
|
712
740
|
}
|
@@ -880,6 +908,17 @@
|
|
880
908
|
#jstree-dnd.jstree-default-dark-large .jstree-er {
|
881
909
|
background-position: -32px -64px;
|
882
910
|
}
|
911
|
+
.jstree-default-dark-large .jstree-ellipsis {
|
912
|
+
overflow: hidden;
|
913
|
+
}
|
914
|
+
.jstree-default-dark-large .jstree-ellipsis .jstree-anchor {
|
915
|
+
width: calc(100% - 37px);
|
916
|
+
text-overflow: ellipsis;
|
917
|
+
overflow: hidden;
|
918
|
+
}
|
919
|
+
.jstree-default-dark-large .jstree-ellipsis.jstree-no-icons .jstree-anchor {
|
920
|
+
width: calc(100% - 5px);
|
921
|
+
}
|
883
922
|
.jstree-default-dark-large.jstree-rtl .jstree-node {
|
884
923
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAACAQMAAAAD0EyKAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjgIIGBgABCgCBvVLXcAAAAABJRU5ErkJggg==");
|
885
924
|
}
|
@@ -952,6 +991,7 @@
|
|
952
991
|
.jstree-default-dark-responsive.jstree-rtl .jstree-node {
|
953
992
|
margin-left: 0;
|
954
993
|
margin-right: 40px;
|
994
|
+
background: transparent;
|
955
995
|
}
|
956
996
|
.jstree-default-dark-responsive.jstree-rtl .jstree-container-ul > .jstree-node {
|
957
997
|
margin-right: 0;
|
@@ -961,7 +1001,8 @@
|
|
961
1001
|
.jstree-default-dark-responsive .jstree-checkbox {
|
962
1002
|
background-size: 120px 240px;
|
963
1003
|
}
|
964
|
-
.jstree-default-dark-responsive .jstree-leaf > .jstree-ocl
|
1004
|
+
.jstree-default-dark-responsive .jstree-leaf > .jstree-ocl,
|
1005
|
+
.jstree-default-dark-responsive.jstree-rtl .jstree-leaf > .jstree-ocl {
|
965
1006
|
background: transparent;
|
966
1007
|
}
|
967
1008
|
.jstree-default-dark-responsive .jstree-open > .jstree-ocl {
|
@@ -66,7 +66,8 @@
|
|
66
66
|
.jstree-anchor > .jstree-themeicon-hidden {
|
67
67
|
display: none;
|
68
68
|
}
|
69
|
-
.jstree-hidden
|
69
|
+
.jstree-hidden,
|
70
|
+
.jstree-node.jstree-hidden {
|
70
71
|
display: none;
|
71
72
|
}
|
72
73
|
.jstree-rtl .jstree-anchor {
|
@@ -130,7 +131,6 @@
|
|
130
131
|
}
|
131
132
|
.vakata-context li {
|
132
133
|
list-style: none;
|
133
|
-
display: inline;
|
134
134
|
}
|
135
135
|
.vakata-context li > a {
|
136
136
|
display: block;
|
@@ -286,6 +286,7 @@
|
|
286
286
|
background-color: transparent;
|
287
287
|
}
|
288
288
|
.jstree-default .jstree-anchor,
|
289
|
+
.jstree-default .jstree-animated,
|
289
290
|
.jstree-default .jstree-wholerow {
|
290
291
|
transition: background-color 0.15s, box-shadow 0.15s;
|
291
292
|
}
|
@@ -294,6 +295,11 @@
|
|
294
295
|
border-radius: 2px;
|
295
296
|
box-shadow: inset 0 0 1px #cccccc;
|
296
297
|
}
|
298
|
+
.jstree-default .jstree-context {
|
299
|
+
background: #e7f4f9;
|
300
|
+
border-radius: 2px;
|
301
|
+
box-shadow: inset 0 0 1px #cccccc;
|
302
|
+
}
|
297
303
|
.jstree-default .jstree-clicked {
|
298
304
|
background: #beebff;
|
299
305
|
border-radius: 2px;
|
@@ -534,6 +540,17 @@
|
|
534
540
|
#jstree-dnd.jstree-default .jstree-er {
|
535
541
|
background-position: -36px -68px;
|
536
542
|
}
|
543
|
+
.jstree-default .jstree-ellipsis {
|
544
|
+
overflow: hidden;
|
545
|
+
}
|
546
|
+
.jstree-default .jstree-ellipsis .jstree-anchor {
|
547
|
+
width: calc(100% - 29px);
|
548
|
+
text-overflow: ellipsis;
|
549
|
+
overflow: hidden;
|
550
|
+
}
|
551
|
+
.jstree-default .jstree-ellipsis.jstree-no-icons .jstree-anchor {
|
552
|
+
width: calc(100% - 5px);
|
553
|
+
}
|
537
554
|
.jstree-default.jstree-rtl .jstree-node {
|
538
555
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==");
|
539
556
|
}
|
@@ -707,6 +724,17 @@
|
|
707
724
|
#jstree-dnd.jstree-default-small .jstree-er {
|
708
725
|
background-position: -39px -71px;
|
709
726
|
}
|
727
|
+
.jstree-default-small .jstree-ellipsis {
|
728
|
+
overflow: hidden;
|
729
|
+
}
|
730
|
+
.jstree-default-small .jstree-ellipsis .jstree-anchor {
|
731
|
+
width: calc(100% - 23px);
|
732
|
+
text-overflow: ellipsis;
|
733
|
+
overflow: hidden;
|
734
|
+
}
|
735
|
+
.jstree-default-small .jstree-ellipsis.jstree-no-icons .jstree-anchor {
|
736
|
+
width: calc(100% - 5px);
|
737
|
+
}
|
710
738
|
.jstree-default-small.jstree-rtl .jstree-node {
|
711
739
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAACAQMAAABv1h6PAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMHBgAAiABBI4gz9AAAAABJRU5ErkJggg==");
|
712
740
|
}
|
@@ -880,6 +908,17 @@
|
|
880
908
|
#jstree-dnd.jstree-default-large .jstree-er {
|
881
909
|
background-position: -32px -64px;
|
882
910
|
}
|
911
|
+
.jstree-default-large .jstree-ellipsis {
|
912
|
+
overflow: hidden;
|
913
|
+
}
|
914
|
+
.jstree-default-large .jstree-ellipsis .jstree-anchor {
|
915
|
+
width: calc(100% - 37px);
|
916
|
+
text-overflow: ellipsis;
|
917
|
+
overflow: hidden;
|
918
|
+
}
|
919
|
+
.jstree-default-large .jstree-ellipsis.jstree-no-icons .jstree-anchor {
|
920
|
+
width: calc(100% - 5px);
|
921
|
+
}
|
883
922
|
.jstree-default-large.jstree-rtl .jstree-node {
|
884
923
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAACAQMAAAAD0EyKAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjgIIGBgABCgCBvVLXcAAAAABJRU5ErkJggg==");
|
885
924
|
}
|
@@ -952,6 +991,7 @@
|
|
952
991
|
.jstree-default-responsive.jstree-rtl .jstree-node {
|
953
992
|
margin-left: 0;
|
954
993
|
margin-right: 40px;
|
994
|
+
background: transparent;
|
955
995
|
}
|
956
996
|
.jstree-default-responsive.jstree-rtl .jstree-container-ul > .jstree-node {
|
957
997
|
margin-right: 0;
|
@@ -961,7 +1001,8 @@
|
|
961
1001
|
.jstree-default-responsive .jstree-checkbox {
|
962
1002
|
background-size: 120px 240px;
|
963
1003
|
}
|
964
|
-
.jstree-default-responsive .jstree-leaf > .jstree-ocl
|
1004
|
+
.jstree-default-responsive .jstree-leaf > .jstree-ocl,
|
1005
|
+
.jstree-default-responsive.jstree-rtl .jstree-leaf > .jstree-ocl {
|
965
1006
|
background: transparent;
|
966
1007
|
}
|
967
1008
|
.jstree-default-responsive .jstree-open > .jstree-ocl {
|
metadata
CHANGED
@@ -1,71 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jstree-rails-4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kesha Antonov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: json
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.8.6
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.8.6
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: thor
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
31
|
- - "~>"
|
18
32
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
33
|
+
version: '0.19'
|
20
34
|
type: :development
|
21
35
|
prerelease: false
|
22
36
|
version_requirements: !ruby/object:Gem::Requirement
|
23
37
|
requirements:
|
24
38
|
- - "~>"
|
25
39
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
40
|
+
version: '0.19'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: bundler
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - "~>"
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
47
|
+
version: '1.14'
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
52
|
- - "~>"
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
54
|
+
version: '1.14'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rails
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
61
|
+
version: '4.0'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
66
|
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
68
|
+
version: '4.0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: httpclient
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - "~>"
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
75
|
+
version: '2.8'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
80
|
- - "~>"
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version: '2.
|
82
|
+
version: '2.8'
|
69
83
|
description: jsTree is jquery plugin, that provides interactive trees. It is absolutely
|
70
84
|
free, open source and distributed under the MIT license.
|
71
85
|
email:
|
@@ -113,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
127
|
version: '0'
|
114
128
|
requirements: []
|
115
129
|
rubyforge_project:
|
116
|
-
rubygems_version: 2.
|
130
|
+
rubygems_version: 2.6.8
|
117
131
|
signing_key:
|
118
132
|
specification_version: 4
|
119
133
|
summary: Integrate jsTree javascript library with Rails asset pipeline
|