@cloudtower/eagle 0.25.22 → 0.25.23

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/dist/style.css CHANGED
@@ -1636,6 +1636,63 @@ html body {
1636
1636
  font-family: "Inter var", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
1637
1637
  }
1638
1638
  }
1639
+ .iap75of {
1640
+ height: 18px;
1641
+ line-height: 18px;
1642
+ padding: 0 4px;
1643
+ border-radius: 4px;
1644
+ background: rgba(235, 239, 245, 0.6);
1645
+ border: 1px solid rgba(223, 228, 235, 0.6);
1646
+ display: flex;
1647
+ align-items: center;
1648
+ white-space: nowrap;
1649
+ margin-right: 4px;
1650
+ }
1651
+
1652
+ .bpq0js6 {
1653
+ padding: 4px 11px;
1654
+ }
1655
+
1656
+ .b15sn34c {
1657
+ white-space: nowrap;
1658
+ filter: drop-shadow(0px 2px 8px rgba(0, 136, 255, 0.1));
1659
+ }
1660
+ .b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous) {
1661
+ --color: #0080ff;
1662
+ }
1663
+ .b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous)[disabled], .b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous):hover[disabled] {
1664
+ --color: #0080ff;
1665
+ }
1666
+ .b15sn34c > .ant-btn:not(:only-child) + .ant-btn {
1667
+ margin-left: 1px;
1668
+ }
1669
+ .b15sn34c > .ant-btn:not(:only-child):first-child {
1670
+ border-top-right-radius: 0;
1671
+ border-bottom-right-radius: 0;
1672
+ }
1673
+ .b15sn34c > .ant-btn:not(:only-child):last-child {
1674
+ border-top-left-radius: 0;
1675
+ border-bottom-left-radius: 0;
1676
+ }
1677
+ .b15sn34c > .ant-btn:not(:only-child):not(:first-child, :last-child) {
1678
+ border-radius: unset;
1679
+ }
1680
+
1681
+ .fde5mpd {
1682
+ width: 100%;
1683
+ height: 100%;
1684
+ min-height: 124px;
1685
+ display: flex;
1686
+ flex-direction: column;
1687
+ justify-content: center;
1688
+ align-items: center;
1689
+ }
1690
+ .fde5mpd .error-text {
1691
+ color: rgba(10, 37, 85, 0.6);
1692
+ margin-bottom: 16px;
1693
+ font-size: 18px;
1694
+ }
1695
+
1639
1696
  .buj61ew.ant-btn {
1640
1697
  height: 32px;
1641
1698
  border-radius: 6px;
@@ -1884,50 +1941,6 @@ html body {
1884
1941
  padding: 0;
1885
1942
  }
1886
1943
 
1887
- .bpq0js6 {
1888
- padding: 4px 11px;
1889
- }
1890
-
1891
- .b15sn34c {
1892
- white-space: nowrap;
1893
- filter: drop-shadow(0px 2px 8px rgba(0, 136, 255, 0.1));
1894
- }
1895
- .b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous) {
1896
- --color: #0080ff;
1897
- }
1898
- .b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous)[disabled], .b15sn34c > .ant-btn.ant-btn-ordinary-onTint:not(.ant-btn-dangerous):hover[disabled] {
1899
- --color: #0080ff;
1900
- }
1901
- .b15sn34c > .ant-btn:not(:only-child) + .ant-btn {
1902
- margin-left: 1px;
1903
- }
1904
- .b15sn34c > .ant-btn:not(:only-child):first-child {
1905
- border-top-right-radius: 0;
1906
- border-bottom-right-radius: 0;
1907
- }
1908
- .b15sn34c > .ant-btn:not(:only-child):last-child {
1909
- border-top-left-radius: 0;
1910
- border-bottom-left-radius: 0;
1911
- }
1912
- .b15sn34c > .ant-btn:not(:only-child):not(:first-child, :last-child) {
1913
- border-radius: unset;
1914
- }
1915
-
1916
- .fde5mpd {
1917
- width: 100%;
1918
- height: 100%;
1919
- min-height: 124px;
1920
- display: flex;
1921
- flex-direction: column;
1922
- justify-content: center;
1923
- align-items: center;
1924
- }
1925
- .fde5mpd .error-text {
1926
- color: rgba(10, 37, 85, 0.6);
1927
- margin-bottom: 16px;
1928
- font-size: 18px;
1929
- }
1930
-
1931
1944
  .i1mrf09m {
1932
1945
  display: inline-flex;
1933
1946
  align-items: center;
@@ -1946,19 +1959,6 @@ html body {
1946
1959
  animation: rotate 680ms linear infinite;
1947
1960
  }
1948
1961
 
1949
- .iap75of {
1950
- height: 18px;
1951
- line-height: 18px;
1952
- padding: 0 4px;
1953
- border-radius: 4px;
1954
- background: rgba(235, 239, 245, 0.6);
1955
- border: 1px solid rgba(223, 228, 235, 0.6);
1956
- display: flex;
1957
- align-items: center;
1958
- white-space: nowrap;
1959
- margin-right: 4px;
1960
- }
1961
-
1962
1962
  .obf05yr {
1963
1963
  display: inline-block;
1964
1964
  }
@@ -1968,6 +1968,63 @@ html body {
1968
1968
  position: absolute;
1969
1969
  }
1970
1970
 
1971
+ .p12gwtiw {
1972
+ display: flex;
1973
+ justify-content: space-between;
1974
+ align-items: center;
1975
+ padding: 10px 0;
1976
+ color: rgba(44, 56, 82, 0.6);
1977
+ font-size: 12px;
1978
+ line-height: 24px;
1979
+ }
1980
+ .p12gwtiw .pagination-left {
1981
+ padding: 2px 8px;
1982
+ }
1983
+ .p12gwtiw .dropdown-trigger {
1984
+ display: flex;
1985
+ align-items: center;
1986
+ border-radius: 6px;
1987
+ cursor: pointer;
1988
+ transition: all 0.3s ease;
1989
+ }
1990
+ .p12gwtiw .dropdown-trigger:hover {
1991
+ background: rgba(211, 218, 235, 0.6);
1992
+ color: #0080ff;
1993
+ }
1994
+ .p12gwtiw .dropdown-trigger .icon-inner {
1995
+ margin-left: 4px;
1996
+ }
1997
+ .p12gwtiw .pagination-right {
1998
+ display: flex;
1999
+ align-items: center;
2000
+ color: #0080ff;
2001
+ font-weight: bold;
2002
+ }
2003
+ .p12gwtiw .pagination-right .icon-inner {
2004
+ margin-left: 4px;
2005
+ }
2006
+ .p12gwtiw .pagination-right .prev-btn,
2007
+ .p12gwtiw .pagination-right .next-btn {
2008
+ padding: 0 8px;
2009
+ }
2010
+ .p12gwtiw .pagination-right .prev-btn > span,
2011
+ .p12gwtiw .pagination-right .next-btn > span {
2012
+ color: #0080ff;
2013
+ }
2014
+ .p12gwtiw .pagination-right .next-btn .icon-inner {
2015
+ transform: rotate(180deg);
2016
+ }
2017
+
2018
+ .d1bnu0in.ant-dropdown .ant-dropdown-menu {
2019
+ max-height: calc(100vh - 128px);
2020
+ overflow-y: auto;
2021
+ }
2022
+ .d1bnu0in.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item {
2023
+ padding: 4px 20px;
2024
+ font-size: 12px;
2025
+ line-height: 18px;
2026
+ }
2027
+
1971
2028
  .cz04yix {
1972
2029
  display: flex;
1973
2030
  flex-direction: column;
@@ -2633,61 +2690,59 @@ input.rrg1fkn.ant-input {
2633
2690
  border-bottom-left-radius: 0;
2634
2691
  }
2635
2692
 
2636
- .p12gwtiw {
2637
- display: flex;
2638
- justify-content: space-between;
2639
- align-items: center;
2640
- padding: 10px 0;
2641
- color: rgba(44, 56, 82, 0.6);
2642
- font-size: 12px;
2643
- line-height: 24px;
2693
+ .s34f1qb.ant-switch {
2694
+ min-width: 40px;
2695
+ height: 24px;
2696
+ background: rgba(172, 186, 211, 0.6);
2697
+ overflow: hidden;
2644
2698
  }
2645
- .p12gwtiw .pagination-left {
2646
- padding: 2px 8px;
2699
+ .s34f1qb.ant-switch:focus {
2700
+ box-shadow: 0 0 0 2px rgba(225, 230, 241, 0.6);
2647
2701
  }
2648
- .p12gwtiw .dropdown-trigger {
2649
- display: flex;
2650
- align-items: center;
2651
- border-radius: 6px;
2652
- cursor: pointer;
2653
- transition: all 0.3s ease;
2702
+ .s34f1qb.ant-switch-small {
2703
+ min-width: 26px;
2704
+ height: 16px;
2654
2705
  }
2655
- .p12gwtiw .dropdown-trigger:hover {
2656
- background: rgba(211, 218, 235, 0.6);
2657
- color: #0080ff;
2706
+ .s34f1qb.ant-switch-large {
2707
+ min-width: 52px;
2708
+ height: 32px;
2658
2709
  }
2659
- .p12gwtiw .dropdown-trigger .icon-inner {
2660
- margin-left: 4px;
2710
+ .s34f1qb.ant-switch .ant-switch-handle {
2711
+ height: 20px;
2712
+ width: 20px;
2661
2713
  }
2662
- .p12gwtiw .pagination-right {
2663
- display: flex;
2664
- align-items: center;
2665
- color: #0080ff;
2666
- font-weight: bold;
2714
+ .s34f1qb.ant-switch .ant-switch-handle::before {
2715
+ border-radius: 10px;
2716
+ transition-delay: 120ms;
2667
2717
  }
2668
- .p12gwtiw .pagination-right .icon-inner {
2669
- margin-left: 4px;
2718
+ .s34f1qb.ant-switch-small .ant-switch-handle {
2719
+ height: 14px;
2720
+ width: 14px;
2721
+ top: 1px;
2722
+ left: 1px;
2670
2723
  }
2671
- .p12gwtiw .pagination-right .prev-btn,
2672
- .p12gwtiw .pagination-right .next-btn {
2673
- padding: 0 8px;
2724
+ .s34f1qb.ant-switch-large .ant-switch-handle {
2725
+ height: 28px;
2726
+ width: 28px;
2674
2727
  }
2675
- .p12gwtiw .pagination-right .prev-btn > span,
2676
- .p12gwtiw .pagination-right .next-btn > span {
2677
- color: #0080ff;
2728
+ .s34f1qb.ant-switch-large .ant-switch-handle::before {
2729
+ border-radius: 14px;
2678
2730
  }
2679
- .p12gwtiw .pagination-right .next-btn .icon-inner {
2680
- transform: rotate(180deg);
2731
+ .s34f1qb.ant-switch-checked {
2732
+ background-color: #00ba5d;
2681
2733
  }
2682
-
2683
- .d1bnu0in.ant-dropdown .ant-dropdown-menu {
2684
- max-height: calc(100vh - 128px);
2685
- overflow-y: auto;
2734
+ .s34f1qb.ant-switch-checked .ant-switch-handle {
2735
+ left: calc(100% - 20px - 2px);
2686
2736
  }
2687
- .d1bnu0in.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item {
2688
- padding: 4px 20px;
2689
- font-size: 12px;
2690
- line-height: 18px;
2737
+ .s34f1qb.ant-switch-small.ant-switch-checked .ant-switch-handle {
2738
+ left: calc(100% - 14px - 1px);
2739
+ }
2740
+ .s34f1qb.ant-switch-large.ant-switch-checked .ant-switch-handle {
2741
+ left: calc(100% - 28px - 2px);
2742
+ }
2743
+
2744
+ .c1to9vb9 {
2745
+ margin-left: 5px;
2691
2746
  }
2692
2747
 
2693
2748
  .rxbeqvl.ant-radio-wrapper {
@@ -2831,61 +2886,6 @@ input.rrg1fkn.ant-input {
2831
2886
  width: 36px;
2832
2887
  }
2833
2888
 
2834
- .s34f1qb.ant-switch {
2835
- min-width: 40px;
2836
- height: 24px;
2837
- background: rgba(172, 186, 211, 0.6);
2838
- overflow: hidden;
2839
- }
2840
- .s34f1qb.ant-switch:focus {
2841
- box-shadow: 0 0 0 2px rgba(225, 230, 241, 0.6);
2842
- }
2843
- .s34f1qb.ant-switch-small {
2844
- min-width: 26px;
2845
- height: 16px;
2846
- }
2847
- .s34f1qb.ant-switch-large {
2848
- min-width: 52px;
2849
- height: 32px;
2850
- }
2851
- .s34f1qb.ant-switch .ant-switch-handle {
2852
- height: 20px;
2853
- width: 20px;
2854
- }
2855
- .s34f1qb.ant-switch .ant-switch-handle::before {
2856
- border-radius: 10px;
2857
- transition-delay: 120ms;
2858
- }
2859
- .s34f1qb.ant-switch-small .ant-switch-handle {
2860
- height: 14px;
2861
- width: 14px;
2862
- top: 1px;
2863
- left: 1px;
2864
- }
2865
- .s34f1qb.ant-switch-large .ant-switch-handle {
2866
- height: 28px;
2867
- width: 28px;
2868
- }
2869
- .s34f1qb.ant-switch-large .ant-switch-handle::before {
2870
- border-radius: 14px;
2871
- }
2872
- .s34f1qb.ant-switch-checked {
2873
- background-color: #00ba5d;
2874
- }
2875
- .s34f1qb.ant-switch-checked .ant-switch-handle {
2876
- left: calc(100% - 20px - 2px);
2877
- }
2878
- .s34f1qb.ant-switch-small.ant-switch-checked .ant-switch-handle {
2879
- left: calc(100% - 14px - 1px);
2880
- }
2881
- .s34f1qb.ant-switch-large.ant-switch-checked .ant-switch-handle {
2882
- left: calc(100% - 28px - 2px);
2883
- }
2884
-
2885
- .c1to9vb9 {
2886
- margin-left: 5px;
2887
- }
2888
-
2889
2889
  .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal {
2890
2890
  flex-direction: row;
2891
2891
  justify-content: stretch;
@@ -2969,87 +2969,6 @@ input.rrg1fkn.ant-input {
2969
2969
  padding: 0;
2970
2970
  }
2971
2971
 
2972
- .s1fc623g {
2973
- width: 430px !important;
2974
- }
2975
-
2976
- .da3mx0o .ant-select-item-group {
2977
- padding: 8px 16px;
2978
- line-height: 18px;
2979
- border-top: 1px solid rgba(211, 218, 235, 0.6);
2980
- height: 34px;
2981
- min-height: 34px;
2982
- box-sizing: border-box;
2983
- margin-top: 8px;
2984
- }
2985
-
2986
- .onr9gzt {
2987
- display: flex;
2988
- flex-direction: column;
2989
- margin: 1px 8px;
2990
- padding: 8px;
2991
- border-radius: 4px;
2992
- }
2993
- .onr9gzt .selected-icon {
2994
- display: none;
2995
- }
2996
- .onr9gzt.ant-select-item-option-grouped {
2997
- padding-left: 8px;
2998
- }
2999
- .onr9gzt.ant-select-item-option-selected {
3000
- background-color: white;
3001
- }
3002
- .onr9gzt.ant-select-item-option-selected .timezone-title {
3003
- color: #0080ff;
3004
- }
3005
- .onr9gzt.ant-select-item-option-selected .selected-icon {
3006
- display: block;
3007
- }
3008
- .onr9gzt.ant-select-item-option-active {
3009
- background: rgba(0, 136, 255, 0.16);
3010
- }
3011
- .onr9gzt.ant-select-item-option-active .timezone-title {
3012
- color: #0080ff;
3013
- }
3014
- .onr9gzt.ant-select-item-option-active .timezone-tag {
3015
- background: rgba(0, 136, 255, 0.1);
3016
- color: #0080ff;
3017
- }
3018
-
3019
- .oiy0apc {
3020
- display: flex;
3021
- justify-content: space-between;
3022
- height: 20px;
3023
- line-height: 20px;
3024
- }
3025
- .oiy0apc .timezone-title {
3026
- color: #2d3a56;
3027
- overflow: hidden;
3028
- text-overflow: ellipsis;
3029
- }
3030
-
3031
- .of4y382 {
3032
- display: flex;
3033
- justify-content: space-between;
3034
- color: rgba(44, 56, 82, 0.6);
3035
- height: 18px;
3036
- line-height: 18px;
3037
- margin-top: 2px;
3038
- }
3039
-
3040
- .t19903l9 {
3041
- border: none;
3042
- margin-right: 0;
3043
- background: rgba(225, 230, 241, 0.6);
3044
- }
3045
-
3046
- .ohwbvxu {
3047
- pointer-events: none;
3048
- height: 32px;
3049
- width: 100%;
3050
- opacity: 0;
3051
- }
3052
-
3053
2972
  .t1upn1sz {
3054
2973
  height: 100%;
3055
2974
  }
@@ -3417,6 +3336,87 @@ input.rrg1fkn.ant-input {
3417
3336
  display: inline-block;
3418
3337
  }
3419
3338
 
3339
+ .s1fc623g {
3340
+ width: 430px !important;
3341
+ }
3342
+
3343
+ .da3mx0o .ant-select-item-group {
3344
+ padding: 8px 16px;
3345
+ line-height: 18px;
3346
+ border-top: 1px solid rgba(211, 218, 235, 0.6);
3347
+ height: 34px;
3348
+ min-height: 34px;
3349
+ box-sizing: border-box;
3350
+ margin-top: 8px;
3351
+ }
3352
+
3353
+ .onr9gzt {
3354
+ display: flex;
3355
+ flex-direction: column;
3356
+ margin: 1px 8px;
3357
+ padding: 8px;
3358
+ border-radius: 4px;
3359
+ }
3360
+ .onr9gzt .selected-icon {
3361
+ display: none;
3362
+ }
3363
+ .onr9gzt.ant-select-item-option-grouped {
3364
+ padding-left: 8px;
3365
+ }
3366
+ .onr9gzt.ant-select-item-option-selected {
3367
+ background-color: white;
3368
+ }
3369
+ .onr9gzt.ant-select-item-option-selected .timezone-title {
3370
+ color: #0080ff;
3371
+ }
3372
+ .onr9gzt.ant-select-item-option-selected .selected-icon {
3373
+ display: block;
3374
+ }
3375
+ .onr9gzt.ant-select-item-option-active {
3376
+ background: rgba(0, 136, 255, 0.16);
3377
+ }
3378
+ .onr9gzt.ant-select-item-option-active .timezone-title {
3379
+ color: #0080ff;
3380
+ }
3381
+ .onr9gzt.ant-select-item-option-active .timezone-tag {
3382
+ background: rgba(0, 136, 255, 0.1);
3383
+ color: #0080ff;
3384
+ }
3385
+
3386
+ .oiy0apc {
3387
+ display: flex;
3388
+ justify-content: space-between;
3389
+ height: 20px;
3390
+ line-height: 20px;
3391
+ }
3392
+ .oiy0apc .timezone-title {
3393
+ color: #2d3a56;
3394
+ overflow: hidden;
3395
+ text-overflow: ellipsis;
3396
+ }
3397
+
3398
+ .of4y382 {
3399
+ display: flex;
3400
+ justify-content: space-between;
3401
+ color: rgba(44, 56, 82, 0.6);
3402
+ height: 18px;
3403
+ line-height: 18px;
3404
+ margin-top: 2px;
3405
+ }
3406
+
3407
+ .t19903l9 {
3408
+ border: none;
3409
+ margin-right: 0;
3410
+ background: rgba(225, 230, 241, 0.6);
3411
+ }
3412
+
3413
+ .ohwbvxu {
3414
+ pointer-events: none;
3415
+ height: 32px;
3416
+ width: 100%;
3417
+ opacity: 0;
3418
+ }
3419
+
3420
3420
  .d6j0lbj {
3421
3421
  font-family: Inter;
3422
3422
  font-style: normal;
@@ -4018,6 +4018,16 @@ input.rrg1fkn.ant-input {
4018
4018
  transform: rotate(180deg);
4019
4019
  }
4020
4020
 
4021
+ .igz4le8 {
4022
+ height: 24px;
4023
+ width: 56px !important;
4024
+ margin-right: 4px;
4025
+ }
4026
+
4027
+ .c1riexje {
4028
+ color: rgba(44, 56, 82, 0.6);
4029
+ }
4030
+
4021
4031
  .iiqau4c.ant-input-group.ant-input-group-compact {
4022
4032
  display: flex;
4023
4033
  }
@@ -4183,16 +4193,6 @@ input.rrg1fkn.ant-input {
4183
4193
  margin-left: 8px;
4184
4194
  }
4185
4195
 
4186
- .igz4le8 {
4187
- height: 24px;
4188
- width: 56px !important;
4189
- margin-right: 4px;
4190
- }
4191
-
4192
- .c1riexje {
4193
- color: rgba(44, 56, 82, 0.6);
4194
- }
4195
-
4196
4196
  .t1gz6wqf {
4197
4197
  height: 100%;
4198
4198
  }
package/dist/umd/index.js CHANGED
@@ -3641,7 +3641,8 @@
3641
3641
  initLoading,
3642
3642
  rowKey,
3643
3643
  wrapper,
3644
- pagination
3644
+ pagination,
3645
+ onRow
3645
3646
  } = props;
3646
3647
  const orderRef = React.useRef(null);
3647
3648
  const hasScrollBard = useTableBodyHasScrollBar(wrapper, dataSource);
@@ -3683,9 +3684,9 @@
3683
3684
  onSorterChange == null ? void 0 : onSorterChange(orderRef.current, sorter.columnKey);
3684
3685
  }
3685
3686
  },
3686
- onRow: (record, index) => ({
3687
+ onRow: (record, index) => __spreadValues$9({
3687
3688
  onClick: evt => onRowClick == null ? void 0 : onRowClick(record, index, evt)
3688
- }),
3689
+ }, onRow == null ? void 0 : onRow(record, index)),
3689
3690
  rowClassName,
3690
3691
  scroll,
3691
3692
  rowSelection: rowSelection && __spreadProps$9(__spreadValues$9({}, rowSelection), {