raise-common-lib-new 0.0.26 → 0.0.28

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.28",
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,90 @@
437
437
  }
438
438
  }
439
439
  }
440
- .e-gridpager {
441
- padding: 12px 0 0;
442
- }
443
- .e-pager {
444
- position: relative;
445
440
 
446
- display: flex;
447
- flex-flow: row nowrap;
448
- align-items: center;
449
- gap: 16px;
441
+ .e-pager {
442
+ padding: 12px 0 0 !important;
450
443
  border: 0;
444
+ div {
445
+ vertical-align: middle;
446
+ }
447
+ .e-icons {
448
+ border: none;
449
+ border-radius: 6px;
450
+ padding: 4px !important;
451
+
452
+ margin-right: 6px;
453
+ &:hover,
454
+ &.e-focused {
455
+ background-color: #1f7bff0a;
456
+ }
457
+ &.e-disable {
458
+ opacity: 0.3;
459
+ cursor: not-allowed;
460
+ }
461
+ &::before {
462
+ display: block;
463
+ width: 16px;
464
+ height: 16px;
465
+ }
466
+ &.e-first,
467
+ &.e-mfirst {
468
+ @media (max-width: 769px) {
469
+ width: auto;
470
+ min-width: 26px;
471
+ }
472
+ &::before {
473
+ content: url("/assets/img/grid-pager-arrows-left.svg");
474
+ }
475
+ }
476
+
477
+ &.e-prev,
478
+ &.e-mprev {
479
+ margin: 0 16px 0 6px;
480
+ @media (max-width: 769px) {
481
+ width: auto;
482
+ min-width: 26px;
483
+ }
484
+ &::before {
485
+ content: url("/assets/img/grid-pager-arrow-left.svg");
486
+ }
487
+ }
488
+
489
+ &.e-next,
490
+ &.e-mnext {
491
+ margin: 0 12px 0 10px !important;
492
+ @media (max-width: 769px) {
493
+ width: auto;
494
+ min-width: 26px;
495
+ }
496
+ &::before {
497
+ content: url("/assets/img/grid-pager-arrow-left.svg");
498
+ transform: rotate(180deg);
499
+ }
500
+ }
501
+ &.e-last,
502
+ &.e-mlast {
503
+ @media (max-width: 769px) {
504
+ width: auto;
505
+ min-width: 26px;
506
+ }
507
+ &::before {
508
+ content: url("/assets/img/grid-pager-arrows-left.svg");
509
+ transform: rotate(180deg);
510
+ }
511
+ }
512
+ }
451
513
 
452
514
  .e-pagercontainer {
453
- margin: 0;
454
515
  border: 0;
455
-
456
- display: flex;
457
- flex-flow: row nowrap;
458
- align-items: center;
516
+ vertical-align: middle;
459
517
 
460
518
  .e-icons,
461
519
  .e-spacing {
462
- min-width: 24px;
463
- height: 24px;
464
-
465
520
  border: none;
466
521
  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
-
522
+ padding: 4px;
523
+ margin-right: 6px;
480
524
  &:hover,
481
525
  &.e-focused {
482
526
  background-color: #1f7bff0a;
@@ -488,40 +532,6 @@
488
532
  }
489
533
  }
490
534
 
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
535
  .e-spacing {
526
536
  &.e-pp {
527
537
  margin-right: 12px;
@@ -538,56 +548,31 @@
538
548
  }
539
549
 
540
550
  .e-numericcontainer {
541
- display: flex;
542
- flex-flow: row nowrap;
543
- justify-content: center;
544
- align-items: center;
551
+ vertical-align: middle;
545
552
 
546
553
  .e-numericitem {
547
554
  border: 1px solid transparent;
555
+ padding: 4px;
556
+ min-width: 24px;
557
+ color: #44566c;
548
558
 
559
+ font-family: Arial;
560
+ font-size: 11px;
561
+ font-style: normal;
562
+ font-weight: 400;
563
+ line-height: 14px;
549
564
  &.e-currentitem {
550
565
  border-color: #1f7bff66;
551
566
  background-color: #fff;
552
567
  }
553
568
  }
554
-
555
- div:not(:first-child) > .e-numericitem {
556
- margin-left: 12px;
557
- }
558
569
  }
559
570
  }
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
571
  .e-pagesizes {
582
- height: 24px;
583
-
584
- display: flex;
585
- flex-flow: row nowrap;
586
- align-items: center;
587
- gap: 8px;
588
-
572
+ display: inline-block;
573
+ vertical-align: middle;
589
574
  .e-pagerdropdown {
590
- margin: 0;
575
+ margin: 0 8px 0 6px;
591
576
  width: 60px;
592
577
  height: 24px;
593
578
 
@@ -632,16 +617,30 @@
632
617
  }
633
618
  }
634
619
  }
620
+ }
635
621
 
636
- .e-pagerconstant {
637
- margin: 0;
622
+ .e-pagerconstant {
623
+ vertical-align: middle;
624
+ margin: 0;
638
625
 
639
- color: #929dab;
640
- font-family: Arial;
641
- font-size: 11px;
642
- font-style: normal;
643
- font-weight: 400;
644
- line-height: 12px;
626
+ color: #929dab;
627
+ font-family: Arial;
628
+ font-size: 11px;
629
+ font-style: normal;
630
+ font-weight: 400;
631
+ line-height: 12px;
632
+ }
633
+ .e-parentmsgbar {
634
+ color: #929dab;
635
+ font-family: Arial;
636
+ font-size: 11px;
637
+ font-style: normal;
638
+ font-weight: 400;
639
+ line-height: 14px;
640
+ padding-top: 4px !important;
641
+ padding-bottom: 0 !important;
642
+ @media (max-width: 769px) {
643
+ width: auto !important;
645
644
  }
646
645
  }
647
646
  }