jsl-ui 9.28.0 → 9.28.2
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/lib/components/number/NumberComponent.js +1 -0
- package/lib/index.css +0 -409
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -70,6 +70,7 @@ var NumberComponent = /** @class */ (function () {
|
|
|
70
70
|
};
|
|
71
71
|
NumberComponent.prototype.setValue = function (value) {
|
|
72
72
|
var _a;
|
|
73
|
+
this.options.value = value;
|
|
73
74
|
if (this.currentDom != null) {
|
|
74
75
|
this.currentDom.value = numeric.format(value, this.options.format);
|
|
75
76
|
}
|
package/lib/index.css
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Selectr 2.4.12
|
|
3
|
-
* http://mobius.ovh/docs/selectr
|
|
4
|
-
*
|
|
5
|
-
* Released under the MIT license
|
|
6
|
-
*/
|
|
7
1
|
html {
|
|
8
2
|
-webkit-text-size-adjust: 100%;
|
|
9
3
|
-ms-text-size-adjust: 100%;
|
|
@@ -547,409 +541,6 @@ div.jsl-fill {
|
|
|
547
541
|
border-radius: 0;
|
|
548
542
|
}
|
|
549
543
|
|
|
550
|
-
.jsl-container {
|
|
551
|
-
position: relative;
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
.jsl-container li {
|
|
555
|
-
list-style: none;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
.jsl-hidden {
|
|
559
|
-
clip: rect(0px, 0px, 0px, 0px);
|
|
560
|
-
border: 0;
|
|
561
|
-
width: 1px;
|
|
562
|
-
height: 1px;
|
|
563
|
-
margin: -1px;
|
|
564
|
-
padding: 0;
|
|
565
|
-
position: absolute;
|
|
566
|
-
overflow: hidden;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
.jsl-visible {
|
|
570
|
-
opacity: 0;
|
|
571
|
-
z-index: 11;
|
|
572
|
-
width: 100%;
|
|
573
|
-
height: 100%;
|
|
574
|
-
position: absolute;
|
|
575
|
-
top: 0;
|
|
576
|
-
left: 0;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
.jsl-desktop.multiple .jsl-visible {
|
|
580
|
-
display: none;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
.jsl-desktop.multiple.native-open .jsl-visible {
|
|
584
|
-
opacity: 1;
|
|
585
|
-
height: auto;
|
|
586
|
-
display: block;
|
|
587
|
-
top: 100%;
|
|
588
|
-
min-height: 200px !important;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
.jsl-container.multiple.jsl-mobile .jsl-selected {
|
|
592
|
-
z-index: 0;
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
.jsl-selected {
|
|
596
|
-
z-index: 1;
|
|
597
|
-
box-sizing: border-box;
|
|
598
|
-
cursor: pointer;
|
|
599
|
-
background-color: #fff;
|
|
600
|
-
border: 1px solid #999;
|
|
601
|
-
border-radius: 2px;
|
|
602
|
-
width: 100%;
|
|
603
|
-
padding: 4px 22px 4px 4px;
|
|
604
|
-
position: relative;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
.jsl-selected:before {
|
|
608
|
-
content: "";
|
|
609
|
-
border: 4px solid #0000;
|
|
610
|
-
border-top-color: #6c7a86;
|
|
611
|
-
border-bottom-width: 0;
|
|
612
|
-
width: 0;
|
|
613
|
-
height: 0;
|
|
614
|
-
position: absolute;
|
|
615
|
-
top: 50%;
|
|
616
|
-
right: 10px;
|
|
617
|
-
transform: rotate(0)translate3d(0, -50%, 0);
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
.jsl-container.open .jsl-selected:before, .jsl-container.native-open .jsl-selected:before {
|
|
621
|
-
border: 4px solid #0000;
|
|
622
|
-
border-top-width: 0;
|
|
623
|
-
border-bottom-color: #6c7a86;
|
|
624
|
-
}
|
|
625
|
-
|
|
626
|
-
.jsl-label {
|
|
627
|
-
white-space: nowrap;
|
|
628
|
-
text-overflow: ellipsis;
|
|
629
|
-
width: 100%;
|
|
630
|
-
display: none;
|
|
631
|
-
overflow: hidden;
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
.jsl-placeholder {
|
|
635
|
-
color: #6c7a86;
|
|
636
|
-
}
|
|
637
|
-
|
|
638
|
-
.jsl-tags {
|
|
639
|
-
white-space: normal;
|
|
640
|
-
margin: 0;
|
|
641
|
-
padding: 0;
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
.has-selected .jsl-tags {
|
|
645
|
-
margin: 0 0 -2px;
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
.jsl-tag {
|
|
649
|
-
float: left;
|
|
650
|
-
cursor: default;
|
|
651
|
-
color: #fff;
|
|
652
|
-
background: #acb7bf;
|
|
653
|
-
border: none;
|
|
654
|
-
border-radius: 10px;
|
|
655
|
-
margin: 0 2px 2px 0;
|
|
656
|
-
padding: 0 25px 0 8px;
|
|
657
|
-
list-style: none;
|
|
658
|
-
position: relative;
|
|
659
|
-
}
|
|
660
|
-
|
|
661
|
-
.jsl-container.multiple.has-selected .jsl-selected {
|
|
662
|
-
padding: 2px 28px 2px 2px;
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
.jsl-options-container {
|
|
666
|
-
z-index: 10000;
|
|
667
|
-
box-sizing: border-box;
|
|
668
|
-
background-color: #fff;
|
|
669
|
-
border: 1px solid #999;
|
|
670
|
-
border-top: 0 solid #0000;
|
|
671
|
-
border-radius: 0 0 3px 3px;
|
|
672
|
-
width: 100%;
|
|
673
|
-
display: none;
|
|
674
|
-
position: absolute;
|
|
675
|
-
top: calc(100% - 1px);
|
|
676
|
-
left: 0;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
.jsl-container.open .jsl-options-container {
|
|
680
|
-
display: block;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
.jsl-input-container {
|
|
684
|
-
display: none;
|
|
685
|
-
position: relative;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
.jsl-clear, .jsl-input-clear, .jsl-tag-remove {
|
|
689
|
-
cursor: pointer;
|
|
690
|
-
z-index: 11;
|
|
691
|
-
background-color: #0000;
|
|
692
|
-
border: none;
|
|
693
|
-
width: 20px;
|
|
694
|
-
height: 20px;
|
|
695
|
-
padding: 0;
|
|
696
|
-
position: absolute;
|
|
697
|
-
top: 50%;
|
|
698
|
-
right: 22px;
|
|
699
|
-
transform: translate3d(0, -50%, 0);
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
.jsl-clear, .jsl-input-clear {
|
|
703
|
-
display: none;
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
.jsl-container.has-selected .jsl-clear, .jsl-input-container.active .jsl-input-clear {
|
|
707
|
-
display: block;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
.jsl-selected .jsl-tag-remove {
|
|
711
|
-
right: 2px;
|
|
712
|
-
}
|
|
713
|
-
|
|
714
|
-
.jsl-clear:before, .jsl-clear:after, .jsl-input-clear:before, .jsl-input-clear:after, .jsl-tag-remove:before, .jsl-tag-remove:after {
|
|
715
|
-
content: " ";
|
|
716
|
-
background-color: #6c7a86;
|
|
717
|
-
width: 2px;
|
|
718
|
-
height: 10px;
|
|
719
|
-
position: absolute;
|
|
720
|
-
top: 5px;
|
|
721
|
-
left: 9px;
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
.jsl-tag-remove:before, .jsl-tag-remove:after {
|
|
725
|
-
background-color: #fff;
|
|
726
|
-
width: 3px;
|
|
727
|
-
height: 12px;
|
|
728
|
-
top: 4px;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
.jsl-clear:before, .jsl-input-clear:before, .jsl-tag-remove:before {
|
|
732
|
-
transform: rotate(45deg);
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
.jsl-clear:after, .jsl-input-clear:after, .jsl-tag-remove:after {
|
|
736
|
-
transform: rotate(-45deg);
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
.jsl-input-container.active, .jsl-input-container.active .jsl-clear {
|
|
740
|
-
display: block;
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
.jsl-input {
|
|
744
|
-
box-sizing: border-box;
|
|
745
|
-
border: 1px solid #999;
|
|
746
|
-
border-radius: 3px;
|
|
747
|
-
width: calc(100% - 30px);
|
|
748
|
-
margin: 4px 5px;
|
|
749
|
-
padding: 7px 30px 7px 9px;
|
|
750
|
-
top: 5px;
|
|
751
|
-
left: 5px;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
.jsl-notice {
|
|
755
|
-
box-sizing: border-box;
|
|
756
|
-
background-color: #fff;
|
|
757
|
-
border-top: 1px solid #999;
|
|
758
|
-
border-radius: 0 0 3px 3px;
|
|
759
|
-
width: 100%;
|
|
760
|
-
padding: 8px 16px;
|
|
761
|
-
display: none;
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
.jsl-container.notice .jsl-notice {
|
|
765
|
-
display: block;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
.jsl-container.notice .jsl-selected {
|
|
769
|
-
border-radius: 3px 3px 0 0;
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
.jsl-options {
|
|
773
|
-
max-height: 200px;
|
|
774
|
-
margin: 0;
|
|
775
|
-
padding: 0;
|
|
776
|
-
display: none;
|
|
777
|
-
position: relative;
|
|
778
|
-
top: calc(100% + 2px);
|
|
779
|
-
overflow: auto;
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
.jsl-container.open .jsl-options, .jsl-container.open .jsl-input-container, .jsl-container.notice .jsl-options-container {
|
|
783
|
-
display: block;
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
.jsl-option {
|
|
787
|
-
cursor: pointer;
|
|
788
|
-
padding: 3px 4px 4px 2px;
|
|
789
|
-
font-weight: normal;
|
|
790
|
-
list-style: none;
|
|
791
|
-
display: block;
|
|
792
|
-
position: relative;
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
.jsl-options.optgroups > .jsl-option {
|
|
796
|
-
padding-left: 25px;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
.jsl-optgroup {
|
|
800
|
-
padding: 0;
|
|
801
|
-
font-weight: bold;
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
.jsl-optgroup--label {
|
|
805
|
-
margin-top: 10px;
|
|
806
|
-
padding: 5px 15px;
|
|
807
|
-
font-weight: bold;
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
.jsl-match {
|
|
811
|
-
text-decoration: underline;
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
.jsl-option.selected {
|
|
815
|
-
background-color: #ddd;
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
.jsl-option.active {
|
|
819
|
-
color: #fff;
|
|
820
|
-
background-color: #5897fb;
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
.jsl-option.disabled {
|
|
824
|
-
opacity: .4;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
.jsl-option.excluded {
|
|
828
|
-
display: none;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
.jsl-container.open .jsl-selected {
|
|
832
|
-
border-color: #999 #999 #0000;
|
|
833
|
-
border-radius: 3px 3px 0 0;
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
.jsl-container.open .jsl-selected:after {
|
|
837
|
-
transform: rotate(180deg)translate3d(0, 50%, 0);
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
.jsl-disabled {
|
|
841
|
-
opacity: .6;
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
.jsl-empty, .has-selected .jsl-placeholder {
|
|
845
|
-
display: none;
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
.has-selected .jsl-label {
|
|
849
|
-
display: block;
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
.taggable .jsl-selected {
|
|
853
|
-
padding: 4px 28px 4px 4px;
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
.taggable .jsl-selected:after {
|
|
857
|
-
content: " ";
|
|
858
|
-
clear: both;
|
|
859
|
-
display: table;
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
.taggable .jsl-label {
|
|
863
|
-
width: auto;
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
.taggable .jsl-tags {
|
|
867
|
-
float: left;
|
|
868
|
-
display: block;
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
.taggable .jsl-placeholder {
|
|
872
|
-
display: none;
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
.input-tag {
|
|
876
|
-
float: left;
|
|
877
|
-
width: auto;
|
|
878
|
-
min-width: 90px;
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
.jsl-tag-input {
|
|
882
|
-
width: 100%;
|
|
883
|
-
font-family: inherit;
|
|
884
|
-
font-weight: inherit;
|
|
885
|
-
font-size: inherit;
|
|
886
|
-
border: none;
|
|
887
|
-
padding: 3px 10px;
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
.jsl-input-container.loading:after {
|
|
891
|
-
content: "";
|
|
892
|
-
width: 20px;
|
|
893
|
-
height: 20px;
|
|
894
|
-
-o-transform-origin: 50% 0 0;
|
|
895
|
-
-ms-transform-origin: 50% 0 0;
|
|
896
|
-
-moz-transform-origin: 50% 0 0;
|
|
897
|
-
-webkit-transform-origin: 50% 0 0;
|
|
898
|
-
transform-origin: 50% 0 0;
|
|
899
|
-
border: 3px solid #ddd;
|
|
900
|
-
border-top-color: #aaa;
|
|
901
|
-
border-radius: 50%;
|
|
902
|
-
animation: .5s linear infinite forwards spin;
|
|
903
|
-
position: absolute;
|
|
904
|
-
top: 50%;
|
|
905
|
-
right: 20px;
|
|
906
|
-
transform: translate3d(0, -50%, 0);
|
|
907
|
-
}
|
|
908
|
-
|
|
909
|
-
@keyframes spin {
|
|
910
|
-
0% {
|
|
911
|
-
transform: rotate(0)translate3d(0, -50%, 0);
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
100% {
|
|
915
|
-
transform: rotate(360deg)translate3d(0, -50%, 0);
|
|
916
|
-
}
|
|
917
|
-
}
|
|
918
|
-
|
|
919
|
-
.jsl-container.open.inverted .jsl-selected {
|
|
920
|
-
border-color: #0000 #999 #999;
|
|
921
|
-
border-radius: 0 0 3px 3px;
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
.jsl-container.inverted .jsl-options-container {
|
|
925
|
-
background-color: #fff;
|
|
926
|
-
border-width: 1px 1px 0;
|
|
927
|
-
border-color: #999 #999 #0000;
|
|
928
|
-
border-radius: 3px 3px 0 0;
|
|
929
|
-
top: auto;
|
|
930
|
-
bottom: calc(100% - 1px);
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
.jsl-container ::-webkit-input-placeholder {
|
|
934
|
-
color: #6c7a86;
|
|
935
|
-
opacity: 1;
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
.jsl-container ::placeholder {
|
|
939
|
-
color: #6c7a86;
|
|
940
|
-
opacity: 1;
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
.jsl-container :-ms-input-placeholder {
|
|
944
|
-
color: #6c7a86;
|
|
945
|
-
opacity: 1;
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
.jsl-container ::placeholder {
|
|
949
|
-
color: #6c7a86;
|
|
950
|
-
opacity: 1;
|
|
951
|
-
}
|
|
952
|
-
|
|
953
544
|
.jsl-number {
|
|
954
545
|
text-align: right;
|
|
955
546
|
}
|