raise-common-lib-new 0.0.26 → 0.0.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "raise-common-lib-new",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.0.0",
6
6
  "@angular/core": "^16.0.0"
@@ -5,7 +5,7 @@
5
5
  display: flex;
6
6
  flex-direction: column;
7
7
  border: 0;
8
- .e-spinner-pane{
8
+ .e-spinner-pane {
9
9
  display: none !important; // 隐藏默认的loading spinner
10
10
  }
11
11
  .e-gridheader {
@@ -437,46 +437,89 @@
437
437
  }
438
438
  }
439
439
  }
440
- .e-gridpager {
441
- padding: 12px 0 0;
442
- }
440
+
443
441
  .e-pager {
444
- position: relative;
442
+ padding: 12px 0 0 !important;
443
+ div {
444
+ vertical-align: middle;
445
+ }
446
+ .e-icons {
447
+ border: none;
448
+ border-radius: 6px;
449
+ padding: 4px !important;
450
+
451
+ margin-right: 6px;
452
+ &:hover,
453
+ &.e-focused {
454
+ background-color: #1f7bff0a;
455
+ }
456
+ &.e-disable {
457
+ opacity: 0.3;
458
+ cursor: not-allowed;
459
+ }
460
+ &::before {
461
+ display: block;
462
+ width: 16px;
463
+ height: 16px;
464
+ }
465
+ &.e-first,
466
+ &.e-mfirst {
467
+ @media (max-width: 769px) {
468
+ width: auto;
469
+ min-width: 26px;
470
+ }
471
+ &::before {
472
+ content: url("/assets/img/grid-pager-arrows-left.svg");
473
+ }
474
+ }
445
475
 
446
- display: flex;
447
- flex-flow: row nowrap;
448
- align-items: center;
449
- gap: 16px;
450
- border: 0;
476
+ &.e-prev,
477
+ &.e-mprev {
478
+ margin: 0 16px 0 6px;
479
+ @media (max-width: 769px) {
480
+ width: auto;
481
+ min-width: 26px;
482
+ }
483
+ &::before {
484
+ content: url("/assets/img/grid-pager-arrow-left.svg");
485
+ }
486
+ }
487
+
488
+ &.e-next,
489
+ &.e-mnext {
490
+ margin: 0 12px 0 10px !important;
491
+ @media (max-width: 769px) {
492
+ width: auto;
493
+ min-width: 26px;
494
+ }
495
+ &::before {
496
+ content: url("/assets/img/grid-pager-arrow-left.svg");
497
+ transform: rotate(180deg);
498
+ }
499
+ }
500
+ &.e-last,
501
+ &.e-mlast {
502
+ @media (max-width: 769px) {
503
+ width: auto;
504
+ min-width: 26px;
505
+ }
506
+ &::before {
507
+ content: url("/assets/img/grid-pager-arrows-left.svg");
508
+ transform: rotate(180deg);
509
+ }
510
+ }
511
+ }
451
512
 
452
513
  .e-pagercontainer {
453
- margin: 0;
454
514
  border: 0;
455
-
456
- display: flex;
457
- flex-flow: row nowrap;
458
- align-items: center;
515
+ vertical-align: middle;
459
516
 
460
517
  .e-icons,
461
518
  .e-spacing {
462
- min-width: 24px;
463
- height: 24px;
464
-
465
519
  border: none;
466
520
  border-radius: 6px;
467
-
468
- display: flex;
469
- flex-flow: row nowrap;
470
- justify-content: center;
471
- align-items: center;
472
-
473
- color: #6c7c90;
474
- font-family: Arial;
475
- font-size: 11px;
476
- font-style: normal;
477
- font-weight: 400;
478
- line-height: 14px;
479
-
521
+ padding: 4px;
522
+ margin-right: 6px;
480
523
  &:hover,
481
524
  &.e-focused {
482
525
  background-color: #1f7bff0a;
@@ -488,40 +531,6 @@
488
531
  }
489
532
  }
490
533
 
491
- .e-icons {
492
- &::before {
493
- display: block;
494
- width: 16px;
495
- height: 16px;
496
- }
497
-
498
- &.e-first::before {
499
- content: url("/assets/img/grid-pager-arrows-left.svg");
500
- }
501
-
502
- &.e-prev {
503
- margin: 0 16px 0 12px;
504
-
505
- &::before {
506
- content: url("/assets/img/grid-pager-arrow-left.svg");
507
- }
508
- }
509
-
510
- &.e-next {
511
- margin: 0 12px 0 16px;
512
-
513
- &::before {
514
- content: url("/assets/img/grid-pager-arrow-left.svg");
515
- transform: rotate(180deg);
516
- }
517
- }
518
-
519
- &.e-last::before {
520
- content: url("/assets/img/grid-pager-arrows-left.svg");
521
- transform: rotate(180deg);
522
- }
523
- }
524
-
525
534
  .e-spacing {
526
535
  &.e-pp {
527
536
  margin-right: 12px;
@@ -538,56 +547,31 @@
538
547
  }
539
548
 
540
549
  .e-numericcontainer {
541
- display: flex;
542
- flex-flow: row nowrap;
543
- justify-content: center;
544
- align-items: center;
550
+ vertical-align: middle;
545
551
 
546
552
  .e-numericitem {
547
553
  border: 1px solid transparent;
554
+ padding: 4px;
555
+ min-width: 24px;
556
+ color: #44566c;
548
557
 
558
+ font-family: Arial;
559
+ font-size: 11px;
560
+ font-style: normal;
561
+ font-weight: 400;
562
+ line-height: 14px;
549
563
  &.e-currentitem {
550
564
  border-color: #1f7bff66;
551
565
  background-color: #fff;
552
566
  }
553
567
  }
554
-
555
- div:not(:first-child) > .e-numericitem {
556
- margin-left: 12px;
557
- }
558
568
  }
559
569
  }
560
-
561
- .e-parentmsgbar {
562
- float: none;
563
- clear: both;
564
-
565
- height: auto;
566
- padding: 0;
567
-
568
- position: absolute;
569
- top: 50%;
570
- right: 0;
571
- transform: translateY(-50%);
572
-
573
- color: #929dab;
574
- font-family: Arial;
575
- font-size: 11px;
576
- font-style: normal;
577
- font-weight: 400;
578
- line-height: 14px;
579
- }
580
-
581
570
  .e-pagesizes {
582
- height: 24px;
583
-
584
- display: flex;
585
- flex-flow: row nowrap;
586
- align-items: center;
587
- gap: 8px;
588
-
571
+ display: inline-block;
572
+ vertical-align: middle;
589
573
  .e-pagerdropdown {
590
- margin: 0;
574
+ margin: 0 8px 0 6px;
591
575
  width: 60px;
592
576
  height: 24px;
593
577
 
@@ -632,19 +616,240 @@
632
616
  }
633
617
  }
634
618
  }
619
+ }
635
620
 
636
- .e-pagerconstant {
637
- margin: 0;
621
+ .e-pagerconstant {
622
+ vertical-align: middle;
623
+ margin: 0;
638
624
 
639
- color: #929dab;
640
- font-family: Arial;
641
- font-size: 11px;
642
- font-style: normal;
643
- font-weight: 400;
644
- line-height: 12px;
625
+ color: #929dab;
626
+ font-family: Arial;
627
+ font-size: 11px;
628
+ font-style: normal;
629
+ font-weight: 400;
630
+ line-height: 12px;
631
+ }
632
+ .e-parentmsgbar {
633
+ color: #929dab;
634
+ font-family: Arial;
635
+ font-size: 11px;
636
+ font-style: normal;
637
+ font-weight: 400;
638
+ line-height: 14px;
639
+ padding-top: 4px !important;
640
+ padding-bottom: 0 !important;
641
+ @media (max-width: 769px) {
642
+ width: auto !important;
645
643
  }
646
644
  }
647
645
  }
646
+ // .e-pager {
647
+ // position: relative;
648
+
649
+ // display: flex;
650
+ // flex-flow: row nowrap;
651
+ // align-items: center;
652
+ // gap: 16px;
653
+ // border: 0;
654
+
655
+ // .e-pagercontainer {
656
+ // margin: 0;
657
+ // border: 0;
658
+
659
+ // display: flex;
660
+ // flex-flow: row nowrap;
661
+ // align-items: center;
662
+ // @media ((max-width: 769px)) {
663
+ // display: none;
664
+ // }
665
+ // .e-icons,
666
+ // .e-spacing {
667
+ // min-width: 24px;
668
+ // height: 24px;
669
+
670
+ // border: none;
671
+ // border-radius: 6px;
672
+
673
+ // display: flex;
674
+ // flex-flow: row nowrap;
675
+ // justify-content: center;
676
+ // align-items: center;
677
+
678
+ // color: #6c7c90;
679
+ // font-family: Arial;
680
+ // font-size: 11px;
681
+ // font-style: normal;
682
+ // font-weight: 400;
683
+ // line-height: 14px;
684
+
685
+ // &:hover,
686
+ // &.e-focused {
687
+ // background-color: #1f7bff0a;
688
+ // }
689
+
690
+ // &.e-disable {
691
+ // opacity: 0.3;
692
+ // cursor: not-allowed;
693
+ // }
694
+ // }
695
+
696
+ // .e-icons {
697
+ // &::before {
698
+ // display: block;
699
+ // width: 16px;
700
+ // height: 16px;
701
+ // }
702
+
703
+ // &.e-first::before {
704
+ // content: url("/assets/img/grid-pager-arrows-left.svg");
705
+ // }
706
+
707
+ // &.e-prev {
708
+ // margin: 0 16px 0 12px;
709
+
710
+ // &::before {
711
+ // content: url("/assets/img/grid-pager-arrow-left.svg");
712
+ // }
713
+ // }
714
+
715
+ // &.e-next {
716
+ // margin: 0 12px 0 16px;
717
+
718
+ // &::before {
719
+ // content: url("/assets/img/grid-pager-arrow-left.svg");
720
+ // transform: rotate(180deg);
721
+ // }
722
+ // }
723
+
724
+ // &.e-last::before {
725
+ // content: url("/assets/img/grid-pager-arrows-left.svg");
726
+ // transform: rotate(180deg);
727
+ // }
728
+ // }
729
+
730
+ // .e-spacing {
731
+ // &.e-pp {
732
+ // margin-right: 12px;
733
+ // }
734
+
735
+ // &.e-np {
736
+ // margin-left: 12px;
737
+ // }
738
+
739
+ // &.e-pp.e-disable,
740
+ // &.e-np.e-disable {
741
+ // display: none;
742
+ // }
743
+ // }
744
+
745
+ // .e-numericcontainer {
746
+ // display: flex;
747
+ // flex-flow: row nowrap;
748
+ // justify-content: center;
749
+ // align-items: center;
750
+
751
+ // .e-numericitem {
752
+ // border: 1px solid transparent;
753
+
754
+ // &.e-currentitem {
755
+ // border-color: #1f7bff66;
756
+ // background-color: #fff;
757
+ // }
758
+ // }
759
+
760
+ // div:not(:first-child) > .e-numericitem {
761
+ // margin-left: 12px;
762
+ // }
763
+ // }
764
+ // }
765
+
766
+ // .e-parentmsgbar {
767
+ // float: none;
768
+ // clear: both;
769
+
770
+ // height: auto;
771
+ // padding: 0;
772
+
773
+ // position: absolute;
774
+ // top: 50%;
775
+ // right: 0;
776
+ // transform: translateY(-50%);
777
+
778
+ // color: #929dab;
779
+ // font-family: Arial;
780
+ // font-size: 11px;
781
+ // font-style: normal;
782
+ // font-weight: 400;
783
+ // line-height: 14px;
784
+ // }
785
+
786
+ // .e-pagesizes {
787
+ // height: 24px;
788
+
789
+ // display: flex;
790
+ // flex-flow: row nowrap;
791
+ // align-items: center;
792
+ // gap: 8px;
793
+
794
+ // .e-pagerdropdown {
795
+ // margin: 0;
796
+ // width: 60px;
797
+ // height: 24px;
798
+
799
+ // .e-input-group {
800
+ // height: 24px;
801
+ // padding: 0 0 0 8px;
802
+
803
+ // border-radius: 4px;
804
+ // border: 1px solid #eaedf0;
805
+ // background-color: #fff;
806
+
807
+ // display: flex;
808
+ // flex-flow: row nowrap;
809
+ // align-items: center;
810
+
811
+ // &.e-icon-anim,
812
+ // &:focus-within {
813
+ // border-color: #1f7bffb8;
814
+ // box-shadow: none;
815
+ // }
816
+
817
+ // &:hover {
818
+ // border-color: #1f7bff80;
819
+ // box-shadow: 0px 0px 3px 0px #1f7bff66;
820
+ // }
821
+
822
+ // &.e-icon-anim:hover,
823
+ // &:not(.e-disabled):focus-within:hover {
824
+ // border-color: #1f7bffb8;
825
+ // }
826
+
827
+ // .e-input {
828
+ // height: 100%;
829
+ // padding: 0 !important;
830
+
831
+ // color: #062c4f !important;
832
+ // font-family: Arial;
833
+ // font-size: 11px !important;
834
+ // font-style: normal;
835
+ // font-weight: 400;
836
+ // line-height: 12px;
837
+ // }
838
+ // }
839
+ // }
840
+
841
+ // .e-pagerconstant {
842
+ // margin: 0;
843
+
844
+ // color: #929dab;
845
+ // font-family: Arial;
846
+ // font-size: 11px;
847
+ // font-style: normal;
848
+ // font-weight: 400;
849
+ // line-height: 12px;
850
+ // }
851
+ // }
852
+ // }
648
853
  .e-grid-menu {
649
854
  .e-menu-parent {
650
855
  .e-menu-item {