jstree-rails-4 3.1.1 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +43 -40
- data/README.md +9 -0
- data/lib/jstree-rails-4/source_file.rb +20 -20
- data/lib/jstree-rails-4/version.rb +1 -1
- data/vendor/assets/javascripts/jstree.js +554 -190
- data/vendor/assets/stylesheets/jstree-default-dark.scss +51 -21
- data/vendor/assets/stylesheets/jstree-default.scss +51 -21
- metadata +2 -2
@@ -66,6 +66,9 @@
|
|
66
66
|
.jstree-anchor > .jstree-themeicon-hidden {
|
67
67
|
display: none;
|
68
68
|
}
|
69
|
+
.jstree-hidden {
|
70
|
+
display: none;
|
71
|
+
}
|
69
72
|
.jstree-rtl .jstree-anchor {
|
70
73
|
padding: 0 1px 0 4px;
|
71
74
|
}
|
@@ -392,7 +395,7 @@
|
|
392
395
|
}
|
393
396
|
.jstree-default-dark .jstree-node,
|
394
397
|
.jstree-default-dark .jstree-icon {
|
395
|
-
background-image:
|
398
|
+
background-image: url("32px.png");
|
396
399
|
}
|
397
400
|
.jstree-default-dark .jstree-node {
|
398
401
|
background-position: -292px -4px;
|
@@ -452,6 +455,15 @@
|
|
452
455
|
.jstree-default-dark .jstree-anchor > .jstree-undetermined:hover {
|
453
456
|
background-position: -196px -36px;
|
454
457
|
}
|
458
|
+
.jstree-default-dark .jstree-checkbox-disabled {
|
459
|
+
opacity: 0.8;
|
460
|
+
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");
|
461
|
+
/* Firefox 10+ */
|
462
|
+
filter: gray;
|
463
|
+
/* IE6-9 */
|
464
|
+
-webkit-filter: grayscale(100%);
|
465
|
+
/* Chrome 19+ & Safari 6+ */
|
466
|
+
}
|
455
467
|
.jstree-default-dark > .jstree-striped {
|
456
468
|
background-size: auto 48px;
|
457
469
|
}
|
@@ -488,13 +500,13 @@
|
|
488
500
|
background-position: 0 0;
|
489
501
|
}
|
490
502
|
.jstree-default-dark > .jstree-container-ul .jstree-loading > .jstree-ocl {
|
491
|
-
background:
|
503
|
+
background: url("throbber.gif") center center no-repeat;
|
492
504
|
}
|
493
505
|
.jstree-default-dark .jstree-file {
|
494
|
-
background:
|
506
|
+
background: url("32px.png") -100px -68px no-repeat;
|
495
507
|
}
|
496
508
|
.jstree-default-dark .jstree-folder {
|
497
|
-
background:
|
509
|
+
background: url("32px.png") -260px -4px no-repeat;
|
498
510
|
}
|
499
511
|
.jstree-default-dark > .jstree-container-ul > .jstree-node {
|
500
512
|
margin-left: 0;
|
@@ -506,7 +518,7 @@
|
|
506
518
|
}
|
507
519
|
#jstree-dnd.jstree-default-dark .jstree-ok,
|
508
520
|
#jstree-dnd.jstree-default-dark .jstree-er {
|
509
|
-
background-image:
|
521
|
+
background-image: url("32px.png");
|
510
522
|
background-repeat: no-repeat;
|
511
523
|
background-color: transparent;
|
512
524
|
}
|
@@ -556,7 +568,7 @@
|
|
556
568
|
}
|
557
569
|
.jstree-default-dark-small .jstree-node,
|
558
570
|
.jstree-default-dark-small .jstree-icon {
|
559
|
-
background-image:
|
571
|
+
background-image: url("32px.png");
|
560
572
|
}
|
561
573
|
.jstree-default-dark-small .jstree-node {
|
562
574
|
background-position: -295px -7px;
|
@@ -616,6 +628,15 @@
|
|
616
628
|
.jstree-default-dark-small .jstree-anchor > .jstree-undetermined:hover {
|
617
629
|
background-position: -199px -39px;
|
618
630
|
}
|
631
|
+
.jstree-default-dark-small .jstree-checkbox-disabled {
|
632
|
+
opacity: 0.8;
|
633
|
+
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");
|
634
|
+
/* Firefox 10+ */
|
635
|
+
filter: gray;
|
636
|
+
/* IE6-9 */
|
637
|
+
-webkit-filter: grayscale(100%);
|
638
|
+
/* Chrome 19+ & Safari 6+ */
|
639
|
+
}
|
619
640
|
.jstree-default-dark-small > .jstree-striped {
|
620
641
|
background-size: auto 36px;
|
621
642
|
}
|
@@ -652,13 +673,13 @@
|
|
652
673
|
background-position: 0 0;
|
653
674
|
}
|
654
675
|
.jstree-default-dark-small > .jstree-container-ul .jstree-loading > .jstree-ocl {
|
655
|
-
background:
|
676
|
+
background: url("throbber.gif") center center no-repeat;
|
656
677
|
}
|
657
678
|
.jstree-default-dark-small .jstree-file {
|
658
|
-
background:
|
679
|
+
background: url("32px.png") -103px -71px no-repeat;
|
659
680
|
}
|
660
681
|
.jstree-default-dark-small .jstree-folder {
|
661
|
-
background:
|
682
|
+
background: url("32px.png") -263px -7px no-repeat;
|
662
683
|
}
|
663
684
|
.jstree-default-dark-small > .jstree-container-ul > .jstree-node {
|
664
685
|
margin-left: 0;
|
@@ -670,7 +691,7 @@
|
|
670
691
|
}
|
671
692
|
#jstree-dnd.jstree-default-dark-small .jstree-ok,
|
672
693
|
#jstree-dnd.jstree-default-dark-small .jstree-er {
|
673
|
-
background-image:
|
694
|
+
background-image: url("32px.png");
|
674
695
|
background-repeat: no-repeat;
|
675
696
|
background-color: transparent;
|
676
697
|
}
|
@@ -720,7 +741,7 @@
|
|
720
741
|
}
|
721
742
|
.jstree-default-dark-large .jstree-node,
|
722
743
|
.jstree-default-dark-large .jstree-icon {
|
723
|
-
background-image:
|
744
|
+
background-image: url("32px.png");
|
724
745
|
}
|
725
746
|
.jstree-default-dark-large .jstree-node {
|
726
747
|
background-position: -288px 0px;
|
@@ -780,6 +801,15 @@
|
|
780
801
|
.jstree-default-dark-large .jstree-anchor > .jstree-undetermined:hover {
|
781
802
|
background-position: -192px -32px;
|
782
803
|
}
|
804
|
+
.jstree-default-dark-large .jstree-checkbox-disabled {
|
805
|
+
opacity: 0.8;
|
806
|
+
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");
|
807
|
+
/* Firefox 10+ */
|
808
|
+
filter: gray;
|
809
|
+
/* IE6-9 */
|
810
|
+
-webkit-filter: grayscale(100%);
|
811
|
+
/* Chrome 19+ & Safari 6+ */
|
812
|
+
}
|
783
813
|
.jstree-default-dark-large > .jstree-striped {
|
784
814
|
background-size: auto 64px;
|
785
815
|
}
|
@@ -816,13 +846,13 @@
|
|
816
846
|
background-position: 0 0;
|
817
847
|
}
|
818
848
|
.jstree-default-dark-large > .jstree-container-ul .jstree-loading > .jstree-ocl {
|
819
|
-
background:
|
849
|
+
background: url("throbber.gif") center center no-repeat;
|
820
850
|
}
|
821
851
|
.jstree-default-dark-large .jstree-file {
|
822
|
-
background:
|
852
|
+
background: url("32px.png") -96px -64px no-repeat;
|
823
853
|
}
|
824
854
|
.jstree-default-dark-large .jstree-folder {
|
825
|
-
background:
|
855
|
+
background: url("32px.png") -256px 0px no-repeat;
|
826
856
|
}
|
827
857
|
.jstree-default-dark-large > .jstree-container-ul > .jstree-node {
|
828
858
|
margin-left: 0;
|
@@ -834,7 +864,7 @@
|
|
834
864
|
}
|
835
865
|
#jstree-dnd.jstree-default-dark-large .jstree-ok,
|
836
866
|
#jstree-dnd.jstree-default-dark-large .jstree-er {
|
837
|
-
background-image:
|
867
|
+
background-image: url("32px.png");
|
838
868
|
background-repeat: no-repeat;
|
839
869
|
background-color: transparent;
|
840
870
|
}
|
@@ -869,12 +899,12 @@
|
|
869
899
|
height: 40px;
|
870
900
|
}
|
871
901
|
#jstree-dnd.jstree-dnd-responsive > .jstree-ok {
|
872
|
-
background-image:
|
902
|
+
background-image: url("40px.png");
|
873
903
|
background-position: 0 -200px;
|
874
904
|
background-size: 120px 240px;
|
875
905
|
}
|
876
906
|
#jstree-dnd.jstree-dnd-responsive > .jstree-er {
|
877
|
-
background-image:
|
907
|
+
background-image: url("40px.png");
|
878
908
|
background-position: -40px -200px;
|
879
909
|
background-size: 120px 240px;
|
880
910
|
}
|
@@ -893,7 +923,7 @@
|
|
893
923
|
*/
|
894
924
|
}
|
895
925
|
.jstree-default-dark-responsive .jstree-icon {
|
896
|
-
background-image:
|
926
|
+
background-image: url("40px.png");
|
897
927
|
}
|
898
928
|
.jstree-default-dark-responsive .jstree-node,
|
899
929
|
.jstree-default-dark-responsive .jstree-leaf > .jstree-ocl {
|
@@ -995,7 +1025,7 @@
|
|
995
1025
|
.jstree-default-dark-responsive .jstree-node > .jstree-ocl,
|
996
1026
|
.jstree-default-dark-responsive .jstree-themeicon,
|
997
1027
|
.jstree-default-dark-responsive .jstree-checkbox {
|
998
|
-
background-image:
|
1028
|
+
background-image: url("40px.png");
|
999
1029
|
background-size: 120px 240px;
|
1000
1030
|
}
|
1001
1031
|
.jstree-default-dark-responsive .jstree-node {
|
@@ -1017,11 +1047,11 @@
|
|
1017
1047
|
background-position: 0 0;
|
1018
1048
|
}
|
1019
1049
|
.jstree-default-dark-responsive .jstree-file {
|
1020
|
-
background:
|
1050
|
+
background: url("40px.png") 0 -160px no-repeat;
|
1021
1051
|
background-size: 120px 240px;
|
1022
1052
|
}
|
1023
1053
|
.jstree-default-dark-responsive .jstree-folder {
|
1024
|
-
background:
|
1054
|
+
background: url("40px.png") -40px -40px no-repeat;
|
1025
1055
|
background-size: 120px 240px;
|
1026
1056
|
}
|
1027
1057
|
.jstree-default-dark-responsive > .jstree-container-ul > .jstree-node {
|
@@ -66,6 +66,9 @@
|
|
66
66
|
.jstree-anchor > .jstree-themeicon-hidden {
|
67
67
|
display: none;
|
68
68
|
}
|
69
|
+
.jstree-hidden {
|
70
|
+
display: none;
|
71
|
+
}
|
69
72
|
.jstree-rtl .jstree-anchor {
|
70
73
|
padding: 0 1px 0 4px;
|
71
74
|
}
|
@@ -392,7 +395,7 @@
|
|
392
395
|
}
|
393
396
|
.jstree-default .jstree-node,
|
394
397
|
.jstree-default .jstree-icon {
|
395
|
-
background-image:
|
398
|
+
background-image: url("32px.png");
|
396
399
|
}
|
397
400
|
.jstree-default .jstree-node {
|
398
401
|
background-position: -292px -4px;
|
@@ -452,6 +455,15 @@
|
|
452
455
|
.jstree-default .jstree-anchor > .jstree-undetermined:hover {
|
453
456
|
background-position: -196px -36px;
|
454
457
|
}
|
458
|
+
.jstree-default .jstree-checkbox-disabled {
|
459
|
+
opacity: 0.8;
|
460
|
+
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");
|
461
|
+
/* Firefox 10+ */
|
462
|
+
filter: gray;
|
463
|
+
/* IE6-9 */
|
464
|
+
-webkit-filter: grayscale(100%);
|
465
|
+
/* Chrome 19+ & Safari 6+ */
|
466
|
+
}
|
455
467
|
.jstree-default > .jstree-striped {
|
456
468
|
background-size: auto 48px;
|
457
469
|
}
|
@@ -488,13 +500,13 @@
|
|
488
500
|
background-position: 0 0;
|
489
501
|
}
|
490
502
|
.jstree-default > .jstree-container-ul .jstree-loading > .jstree-ocl {
|
491
|
-
background:
|
503
|
+
background: url("throbber.gif") center center no-repeat;
|
492
504
|
}
|
493
505
|
.jstree-default .jstree-file {
|
494
|
-
background:
|
506
|
+
background: url("32px.png") -100px -68px no-repeat;
|
495
507
|
}
|
496
508
|
.jstree-default .jstree-folder {
|
497
|
-
background:
|
509
|
+
background: url("32px.png") -260px -4px no-repeat;
|
498
510
|
}
|
499
511
|
.jstree-default > .jstree-container-ul > .jstree-node {
|
500
512
|
margin-left: 0;
|
@@ -506,7 +518,7 @@
|
|
506
518
|
}
|
507
519
|
#jstree-dnd.jstree-default .jstree-ok,
|
508
520
|
#jstree-dnd.jstree-default .jstree-er {
|
509
|
-
background-image:
|
521
|
+
background-image: url("32px.png");
|
510
522
|
background-repeat: no-repeat;
|
511
523
|
background-color: transparent;
|
512
524
|
}
|
@@ -556,7 +568,7 @@
|
|
556
568
|
}
|
557
569
|
.jstree-default-small .jstree-node,
|
558
570
|
.jstree-default-small .jstree-icon {
|
559
|
-
background-image:
|
571
|
+
background-image: url("32px.png");
|
560
572
|
}
|
561
573
|
.jstree-default-small .jstree-node {
|
562
574
|
background-position: -295px -7px;
|
@@ -616,6 +628,15 @@
|
|
616
628
|
.jstree-default-small .jstree-anchor > .jstree-undetermined:hover {
|
617
629
|
background-position: -199px -39px;
|
618
630
|
}
|
631
|
+
.jstree-default-small .jstree-checkbox-disabled {
|
632
|
+
opacity: 0.8;
|
633
|
+
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");
|
634
|
+
/* Firefox 10+ */
|
635
|
+
filter: gray;
|
636
|
+
/* IE6-9 */
|
637
|
+
-webkit-filter: grayscale(100%);
|
638
|
+
/* Chrome 19+ & Safari 6+ */
|
639
|
+
}
|
619
640
|
.jstree-default-small > .jstree-striped {
|
620
641
|
background-size: auto 36px;
|
621
642
|
}
|
@@ -652,13 +673,13 @@
|
|
652
673
|
background-position: 0 0;
|
653
674
|
}
|
654
675
|
.jstree-default-small > .jstree-container-ul .jstree-loading > .jstree-ocl {
|
655
|
-
background:
|
676
|
+
background: url("throbber.gif") center center no-repeat;
|
656
677
|
}
|
657
678
|
.jstree-default-small .jstree-file {
|
658
|
-
background:
|
679
|
+
background: url("32px.png") -103px -71px no-repeat;
|
659
680
|
}
|
660
681
|
.jstree-default-small .jstree-folder {
|
661
|
-
background:
|
682
|
+
background: url("32px.png") -263px -7px no-repeat;
|
662
683
|
}
|
663
684
|
.jstree-default-small > .jstree-container-ul > .jstree-node {
|
664
685
|
margin-left: 0;
|
@@ -670,7 +691,7 @@
|
|
670
691
|
}
|
671
692
|
#jstree-dnd.jstree-default-small .jstree-ok,
|
672
693
|
#jstree-dnd.jstree-default-small .jstree-er {
|
673
|
-
background-image:
|
694
|
+
background-image: url("32px.png");
|
674
695
|
background-repeat: no-repeat;
|
675
696
|
background-color: transparent;
|
676
697
|
}
|
@@ -720,7 +741,7 @@
|
|
720
741
|
}
|
721
742
|
.jstree-default-large .jstree-node,
|
722
743
|
.jstree-default-large .jstree-icon {
|
723
|
-
background-image:
|
744
|
+
background-image: url("32px.png");
|
724
745
|
}
|
725
746
|
.jstree-default-large .jstree-node {
|
726
747
|
background-position: -288px 0px;
|
@@ -780,6 +801,15 @@
|
|
780
801
|
.jstree-default-large .jstree-anchor > .jstree-undetermined:hover {
|
781
802
|
background-position: -192px -32px;
|
782
803
|
}
|
804
|
+
.jstree-default-large .jstree-checkbox-disabled {
|
805
|
+
opacity: 0.8;
|
806
|
+
filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");
|
807
|
+
/* Firefox 10+ */
|
808
|
+
filter: gray;
|
809
|
+
/* IE6-9 */
|
810
|
+
-webkit-filter: grayscale(100%);
|
811
|
+
/* Chrome 19+ & Safari 6+ */
|
812
|
+
}
|
783
813
|
.jstree-default-large > .jstree-striped {
|
784
814
|
background-size: auto 64px;
|
785
815
|
}
|
@@ -816,13 +846,13 @@
|
|
816
846
|
background-position: 0 0;
|
817
847
|
}
|
818
848
|
.jstree-default-large > .jstree-container-ul .jstree-loading > .jstree-ocl {
|
819
|
-
background:
|
849
|
+
background: url("throbber.gif") center center no-repeat;
|
820
850
|
}
|
821
851
|
.jstree-default-large .jstree-file {
|
822
|
-
background:
|
852
|
+
background: url("32px.png") -96px -64px no-repeat;
|
823
853
|
}
|
824
854
|
.jstree-default-large .jstree-folder {
|
825
|
-
background:
|
855
|
+
background: url("32px.png") -256px 0px no-repeat;
|
826
856
|
}
|
827
857
|
.jstree-default-large > .jstree-container-ul > .jstree-node {
|
828
858
|
margin-left: 0;
|
@@ -834,7 +864,7 @@
|
|
834
864
|
}
|
835
865
|
#jstree-dnd.jstree-default-large .jstree-ok,
|
836
866
|
#jstree-dnd.jstree-default-large .jstree-er {
|
837
|
-
background-image:
|
867
|
+
background-image: url("32px.png");
|
838
868
|
background-repeat: no-repeat;
|
839
869
|
background-color: transparent;
|
840
870
|
}
|
@@ -869,12 +899,12 @@
|
|
869
899
|
height: 40px;
|
870
900
|
}
|
871
901
|
#jstree-dnd.jstree-dnd-responsive > .jstree-ok {
|
872
|
-
background-image:
|
902
|
+
background-image: url("40px.png");
|
873
903
|
background-position: 0 -200px;
|
874
904
|
background-size: 120px 240px;
|
875
905
|
}
|
876
906
|
#jstree-dnd.jstree-dnd-responsive > .jstree-er {
|
877
|
-
background-image:
|
907
|
+
background-image: url("40px.png");
|
878
908
|
background-position: -40px -200px;
|
879
909
|
background-size: 120px 240px;
|
880
910
|
}
|
@@ -893,7 +923,7 @@
|
|
893
923
|
*/
|
894
924
|
}
|
895
925
|
.jstree-default-responsive .jstree-icon {
|
896
|
-
background-image:
|
926
|
+
background-image: url("40px.png");
|
897
927
|
}
|
898
928
|
.jstree-default-responsive .jstree-node,
|
899
929
|
.jstree-default-responsive .jstree-leaf > .jstree-ocl {
|
@@ -995,7 +1025,7 @@
|
|
995
1025
|
.jstree-default-responsive .jstree-node > .jstree-ocl,
|
996
1026
|
.jstree-default-responsive .jstree-themeicon,
|
997
1027
|
.jstree-default-responsive .jstree-checkbox {
|
998
|
-
background-image:
|
1028
|
+
background-image: url("40px.png");
|
999
1029
|
background-size: 120px 240px;
|
1000
1030
|
}
|
1001
1031
|
.jstree-default-responsive .jstree-node {
|
@@ -1017,11 +1047,11 @@
|
|
1017
1047
|
background-position: 0 0;
|
1018
1048
|
}
|
1019
1049
|
.jstree-default-responsive .jstree-file {
|
1020
|
-
background:
|
1050
|
+
background: url("40px.png") 0 -160px no-repeat;
|
1021
1051
|
background-size: 120px 240px;
|
1022
1052
|
}
|
1023
1053
|
.jstree-default-responsive .jstree-folder {
|
1024
|
-
background:
|
1054
|
+
background: url("40px.png") -40px -40px no-repeat;
|
1025
1055
|
background-size: 120px 240px;
|
1026
1056
|
}
|
1027
1057
|
.jstree-default-responsive > .jstree-container-ul > .jstree-node {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kesha Antonov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|