@wibetter/json-editor 5.0.29 → 5.1.1

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/index.css CHANGED
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * @wibetter/json-editor v5.0.28
2
+ * @wibetter/json-editor v5.1.1
3
3
  * author: wibetter
4
4
  * build tool: AKFun
5
- * build time: Tue Jan 07 2025 14:49:17 GMT+0800 (中国标准时间)
5
+ * build time: Thu Jan 09 2025 11:33:48 GMT+0800 (中国标准时间)
6
6
  * build tool info: https://github.com/wibetter/akfun
7
7
  */
8
8
  /*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
@@ -633,6 +633,326 @@
633
633
  left: 15px;
634
634
  top: 85px;
635
635
  }
636
+ /*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
637
+ !*** css ../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-11.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-11.use[3]!../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-11.use[4]!../../node_modules/sass-resources-loader/lib/loader.js??clonedRuleSet-11.use[5]!./src/renderers/PaddingAndMarginSchema/index.scss ***!
638
+ \***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
639
+ @charset "UTF-8";
640
+ /* 公共的自定义函数 */
641
+ /* 头部细线 */
642
+ /* 底部细线 */
643
+ /* 统一的内边距 */
644
+ /* 统一的左内边距 */
645
+ /* 统一的右内边距 */
646
+ /* 统一的底部边框样式 */
647
+ /* 统一的上边框样式 */
648
+ /* 统一的Item高度 */
649
+ /* 设置行高样式 */
650
+ /* 统一的Item样式 */
651
+ /* 统一的弹性盒子样式 */
652
+ /* 统一的Title样式 */
653
+ /* 统一的内容样式 */
654
+ /* 底部导航盒子样式 */
655
+ .Style-PaddingAndMargin-inner {
656
+ display: -webkit-box;
657
+ display: -webkit-flex;
658
+ display: -moz-box;
659
+ display: -ms-flexbox;
660
+ display: flex;
661
+ -webkit-box-pack: justify;
662
+ -webkit-justify-content: space-between;
663
+ -moz-box-pack: justify;
664
+ -ms-flex-pack: justify;
665
+ justify-content: space-between;
666
+ }
667
+ .Style-PaddingAndMargin-inner .Style-select {
668
+ width: 100%;
669
+ }
670
+ .Style-PaddingAndMargin-input {
671
+ -webkit-box-orient: vertical;
672
+ -webkit-box-direction: normal;
673
+ -webkit-flex-direction: column;
674
+ -moz-box-orient: vertical;
675
+ -moz-box-direction: normal;
676
+ -ms-flex-direction: column;
677
+ flex-direction: column;
678
+ -webkit-box-align: center;
679
+ -webkit-align-items: center;
680
+ -moz-box-align: center;
681
+ -ms-flex-align: center;
682
+ align-items: center;
683
+ -webkit-box-flex: 1;
684
+ -webkit-flex: 1;
685
+ -moz-box-flex: 1;
686
+ -ms-flex: 1;
687
+ flex: 1;
688
+ margin-left: 4px;
689
+ min-width: 0;
690
+ }
691
+ .Style-PaddingAndMargin-input-label {
692
+ font-size: 12px;
693
+ color: #5c5f66;
694
+ text-align: center;
695
+ }
696
+ .Style-PaddingAndMargin-label {
697
+ border-radius: 4px;
698
+ overflow: hidden;
699
+ height: 32px;
700
+ width: 32px;
701
+ -webkit-flex-shrink: 0;
702
+ -ms-flex-negative: 0;
703
+ flex-shrink: 0;
704
+ -webkit-box-flex: 0;
705
+ -webkit-flex-grow: 0;
706
+ -moz-box-flex: 0;
707
+ -ms-flex-positive: 0;
708
+ flex-grow: 0;
709
+ display: -webkit-box;
710
+ display: -webkit-flex;
711
+ display: -moz-box;
712
+ display: -ms-flexbox;
713
+ display: flex;
714
+ cursor: pointer;
715
+ }
716
+ .Style-PaddingAndMargin-label-all {
717
+ background: #f7f7f9;
718
+ height: 32px;
719
+ display: -webkit-inline-box;
720
+ display: -webkit-inline-flex;
721
+ display: -moz-inline-box;
722
+ display: -ms-inline-flexbox;
723
+ display: inline-flex;
724
+ -webkit-box-align: center;
725
+ -webkit-align-items: center;
726
+ -moz-box-align: center;
727
+ -ms-flex-align: center;
728
+ align-items: center;
729
+ -webkit-box-pack: center;
730
+ -webkit-justify-content: center;
731
+ -moz-box-pack: center;
732
+ -ms-flex-pack: center;
733
+ justify-content: center;
734
+ width: 32px;
735
+ }
736
+ .Style-PaddingAndMargin-label-all:before {
737
+ content: "";
738
+ height: 11px;
739
+ width: 11px;
740
+ display: block;
741
+ border: 2px solid #5c5f66;
742
+ border-radius: 2px;
743
+ }
744
+ .Style-PaddingAndMargin-label-custom {
745
+ background: #f7f7f9;
746
+ height: 32px;
747
+ width: 32px;
748
+ position: relative;
749
+ border-left: 1px solid #e8e9eb;
750
+ }
751
+ .Style-PaddingAndMargin-label-custom > div {
752
+ height: 14px;
753
+ width: 14px;
754
+ position: absolute;
755
+ top: 50%;
756
+ left: 50%;
757
+ -webkit-transform: translate(-50%, -50%);
758
+ transform: translate(-50%, -50%);
759
+ }
760
+ .Style-PaddingAndMargin-label-custom > div:before, .Style-PaddingAndMargin-label-custom > div:after {
761
+ position: absolute;
762
+ content: "";
763
+ display: block;
764
+ background: #5c5f66;
765
+ height: 2px;
766
+ width: 2px;
767
+ border-radius: 1px;
768
+ }
769
+ .Style-PaddingAndMargin-label-custom > div:first-child:before {
770
+ width: 8px;
771
+ top: 0;
772
+ left: 3px;
773
+ }
774
+ .Style-PaddingAndMargin-label-custom > div:first-child:after {
775
+ height: 8px;
776
+ top: 3px;
777
+ left: 0;
778
+ }
779
+ .Style-PaddingAndMargin-label-custom > div:last-child:before {
780
+ width: 8px;
781
+ bottom: 0;
782
+ left: 3px;
783
+ }
784
+ .Style-PaddingAndMargin-label-custom > div:last-child:after {
785
+ height: 8px;
786
+ bottom: 3px;
787
+ right: 0;
788
+ }
789
+ .Style-PaddingAndMargin-label-all--active:before {
790
+ border-color: #2468f2;
791
+ }
792
+ .Style-PaddingAndMargin-label-custom--active > div:before, .Style-PaddingAndMargin-label-custom--active > div:after {
793
+ background-color: #2468f2;
794
+ }
795
+ .Style-PaddingAndMargin-label--custom {
796
+ width: 64px;
797
+ }
798
+ .Style-PaddingAndMargin-custom {
799
+ height: 132px;
800
+ width: 256px;
801
+ margin: 0 auto;
802
+ margin-top: 8px;
803
+ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjU2IiBoZWlnaHQ9IjEzMiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxyZWN0IGZpbGw9IiNFRUYzRkUiIHdpZHRoPSIyNTYiIGhlaWdodD0iMTMyIiByeD0iNCIvPjxwYXRoIGQ9Ik0xLjU4LjgxNCAxMjggNjYgMS41OCAxMzEuMTg2QTMuOTk0IDMuOTk0IDAgMCAxIDAgMTI4VjRDMCAyLjcuNjIgMS41NDUgMS41OC44MTRaTTI1NiA0djEyNGMwIDEuMy0uNjIgMi40NTQtMS41OCAzLjE4NUwxMjggNjYgMjU0LjQyLjgxNEMyNTUuMzggMS41NDQgMjU2IDIuNyAyNTYgNFoiIGZpbGw9IiNFM0VFRkYiLz48cGF0aCBkPSJNMjExIDIzdjg2SDQ0VjIzaDE2N1ptLTEyIDZINTZ2NzRoMTQzVjI5WiIgZmlsbD0iI0ZGRiIvPjxwYXRoIGZpbGw9IiNGRkYiIGQ9Ik0xMTEgNTdoMzR2MThoLTM0eiIvPjwvZz48L3N2Zz4=);
804
+ position: relative;
805
+ }
806
+ .Style-PaddingAndMargin-custom::before, .Style-PaddingAndMargin-custom::after {
807
+ font-size: 12px;
808
+ color: #151b26;
809
+ font-weight: 400;
810
+ position: absolute;
811
+ -webkit-transform: scale(0.8);
812
+ transform: scale(0.8);
813
+ }
814
+ .Style-PaddingAndMargin-custom > div {
815
+ font-size: 12px;
816
+ color: #5c5f66;
817
+ position: absolute;
818
+ display: -webkit-box;
819
+ display: -webkit-flex;
820
+ display: -moz-box;
821
+ display: -ms-flexbox;
822
+ display: flex;
823
+ -webkit-box-align: center;
824
+ -webkit-align-items: center;
825
+ -moz-box-align: center;
826
+ -ms-flex-align: center;
827
+ align-items: center;
828
+ -webkit-box-pack: center;
829
+ -webkit-justify-content: center;
830
+ -moz-box-pack: center;
831
+ -ms-flex-pack: center;
832
+ justify-content: center;
833
+ padding: 2px;
834
+ cursor: pointer;
835
+ word-wrap: break-word;
836
+ line-height: 0.8;
837
+ min-width: 40px;
838
+ min-height: 14px;
839
+ border: 1px solid transparent;
840
+ }
841
+ .Style-PaddingAndMargin-custom > div div {
842
+ -webkit-transform: scale(0.8);
843
+ transform: scale(0.8);
844
+ -webkit-transform-origin: left;
845
+ transform-origin: left;
846
+ }
847
+ .Style-PaddingAndMargin-custom > div:hover {
848
+ color: #2468f2;
849
+ border-color: #2468f2;
850
+ border-radius: 2px;
851
+ }
852
+ .Style-PaddingAndMargin-custom-marginTop {
853
+ top: 4px;
854
+ left: 50%;
855
+ -webkit-transform: translateX(-50%);
856
+ transform: translateX(-50%);
857
+ }
858
+ .Style-PaddingAndMargin-custom-marginBottom {
859
+ bottom: 4px;
860
+ left: 50%;
861
+ -webkit-transform: translateX(-50%);
862
+ transform: translateX(-50%);
863
+ }
864
+ .Style-PaddingAndMargin-custom-marginLeft {
865
+ left: 4px;
866
+ top: 50%;
867
+ -webkit-transform: translateY(-50%);
868
+ transform: translateY(-50%);
869
+ width: 40px;
870
+ }
871
+ .Style-PaddingAndMargin-custom-marginRight {
872
+ right: 4px;
873
+ top: 50%;
874
+ -webkit-transform: translateY(-50%);
875
+ transform: translateY(-50%);
876
+ width: 40px;
877
+ }
878
+ .Style-PaddingAndMargin-custom-paddingTop {
879
+ top: 34px;
880
+ left: 50%;
881
+ -webkit-transform: translateX(-50%);
882
+ transform: translateX(-50%);
883
+ }
884
+ .Style-PaddingAndMargin-custom-paddingBottom {
885
+ bottom: 34px;
886
+ left: 50%;
887
+ -webkit-transform: translateX(-50%);
888
+ transform: translateX(-50%);
889
+ }
890
+ .Style-PaddingAndMargin-custom-paddingLeft {
891
+ left: 60px;
892
+ top: 50%;
893
+ -webkit-transform: translateY(-50%);
894
+ transform: translateY(-50%);
895
+ width: 40px;
896
+ }
897
+ .Style-PaddingAndMargin-custom-paddingRight {
898
+ right: 60px;
899
+ top: 50%;
900
+ -webkit-transform: translateY(-50%);
901
+ transform: translateY(-50%);
902
+ width: 40px;
903
+ }
904
+ .Style-PaddingAndMargin-custom-popover {
905
+ padding: 16px 12px;
906
+ width: 200px;
907
+ }
908
+ .Style-PaddingAndMargin-custom-popover .cxd-Form-item {
909
+ margin-bottom: 0;
910
+ }
911
+ .Style-PaddingAndMargin-custom--padding::after {
912
+ content: "内边距";
913
+ top: 28px;
914
+ left: 56px;
915
+ }
916
+ .Style-PaddingAndMargin-custom--margin::before {
917
+ content: "外边距";
918
+ top: 0;
919
+ left: 2px;
920
+ }
921
+
922
+ .layout-item-padding .ant-input-wrapper,
923
+ .layout-item-margin .ant-input-wrapper {
924
+ position: relative;
925
+ height: 32px;
926
+ display: -webkit-box;
927
+ display: -webkit-flex;
928
+ display: -moz-box;
929
+ display: -ms-flexbox;
930
+ display: flex;
931
+ -webkit-box-align: stretch;
932
+ -webkit-align-items: stretch;
933
+ -moz-box-align: stretch;
934
+ -ms-flex-align: stretch;
935
+ align-items: stretch;
936
+ background-color: #fff;
937
+ }
938
+ .layout-item-padding .ant-select-selector,
939
+ .layout-item-margin .ant-select-selector {
940
+ padding: 0 8px !important;
941
+ }
942
+ .layout-item-padding .ant-input-group-addon,
943
+ .layout-item-margin .ant-input-group-addon {
944
+ display: -webkit-box;
945
+ display: -webkit-flex;
946
+ display: -moz-box;
947
+ display: -ms-flexbox;
948
+ display: flex;
949
+ -webkit-box-align: center;
950
+ -webkit-align-items: center;
951
+ -moz-box-align: center;
952
+ -ms-flex-align: center;
953
+ align-items: center;
954
+ width: 55px;
955
+ }
636
956
  /*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
637
957
  !*** css ../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-11.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-11.use[3]!../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-11.use[4]!../../node_modules/sass-resources-loader/lib/loader.js??clonedRuleSet-11.use[5]!./src/renderers/TextEditorSchema/index.scss ***!
638
958
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************/