@cloudtower/eagle 0.25.14-alpha.4 → 0.25.15
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/components/Button/index.d.ts +1 -1
- package/dist/components/Empty/index.d.ts +6 -2
- package/dist/components/KitStoreProvider/index.d.ts +1 -4
- package/dist/components/TableForm/Columns/index.d.ts +3 -3
- package/dist/components.css +167 -167
- package/dist/esm/index.js +676 -549
- package/dist/esm/stats1.html +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/spec/base.d.ts +4 -1
- package/dist/store/index.d.ts +3 -21
- package/dist/style.css +149 -149
- package/dist/umd/index.js +673 -547
- package/dist/umd/stats1.html +1 -1
- package/package.json +5 -5
- package/dist/components/KitStoreProvider/ReduxContextProvider.d.ts +0 -9
|
@@ -4,7 +4,7 @@ declare const Button: React.ForwardRefExoticComponent<{
|
|
|
4
4
|
hoverPrefixIcon?: JSX.Element | undefined;
|
|
5
5
|
suffixIcon?: JSX.Element | undefined;
|
|
6
6
|
hoverSuffixIcon?: JSX.Element | undefined;
|
|
7
|
-
type?: "
|
|
7
|
+
type?: "link" | "text" | "default" | "dashed" | "primary" | "ghost" | "secondary" | "tertiary" | "ordinary" | "ordinary-onTint" | "quiet" | undefined;
|
|
8
8
|
} & Omit<Partial<{
|
|
9
9
|
href: string;
|
|
10
10
|
target?: string | undefined;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { CSSProperties } from "react";
|
|
2
|
+
export interface IEmptyProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
style?: CSSProperties;
|
|
5
|
+
}
|
|
6
|
+
declare const Empty: (props: IEmptyProps) => JSX.Element;
|
|
3
7
|
export default Empty;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
-
import
|
|
2
|
+
import { Actions, KitRootState } from "../../store";
|
|
3
3
|
interface IProps {
|
|
4
4
|
}
|
|
5
5
|
declare const KitStoreProvider: (props: PropsWithChildren<IProps>) => JSX.Element;
|
|
6
6
|
export default KitStoreProvider;
|
|
7
7
|
export declare const useKitDispatch: () => import("redux").Dispatch<Actions>;
|
|
8
8
|
export declare const useKitSelector: <Selected extends unknown>(selector: (state: KitRootState) => Selected, equalityFn?: ((previous: Selected, next: Selected) => boolean) | undefined) => Selected;
|
|
9
|
-
export declare const usePopMoal: () => () => void;
|
|
10
|
-
export declare const useCloseModal: () => (id: number) => void;
|
|
11
|
-
export declare const usePushModal: () => <K extends string | number>(modal: ModalType<IModalProps[K]>) => void;
|
|
@@ -19,15 +19,15 @@ export declare const ColumnHeaderImpls: {
|
|
|
19
19
|
};
|
|
20
20
|
export declare const ColumnBodyImpls: {
|
|
21
21
|
text: import("react").FC<Pick<import("../types").ColumnBodyCellProps, "data" | "column" | "index">>;
|
|
22
|
-
input: import("react").FC<Pick<import("../types").ColumnBodyCellProps, "
|
|
22
|
+
input: import("react").FC<Pick<import("../types").ColumnBodyCellProps, "data" | "disabled" | "visible" | "column" | "latestData" | "index"> & {
|
|
23
23
|
onChange: (value: any) => void;
|
|
24
24
|
onBlur: () => void;
|
|
25
25
|
}>;
|
|
26
|
-
password: import("react").FC<Pick<import("../types").ColumnBodyCellProps, "
|
|
26
|
+
password: import("react").FC<Pick<import("../types").ColumnBodyCellProps, "data" | "disabled" | "visible" | "column" | "latestData" | "index"> & {
|
|
27
27
|
onChange: (value: any) => void;
|
|
28
28
|
onBlur: () => void;
|
|
29
29
|
}>;
|
|
30
|
-
affix: import("react").FC<Pick<import("../types").ColumnBodyCellProps, "
|
|
30
|
+
affix: import("react").FC<Pick<import("../types").ColumnBodyCellProps, "data" | "disabled" | "visible" | "column" | "latestData" | "index"> & {
|
|
31
31
|
onChange: (value: any) => void;
|
|
32
32
|
onBlur: () => void;
|
|
33
33
|
}>;
|
package/dist/components.css
CHANGED
|
@@ -1826,118 +1826,6 @@ html body {
|
|
|
1826
1826
|
padding: 0;
|
|
1827
1827
|
}
|
|
1828
1828
|
|
|
1829
|
-
.obf05yr {
|
|
1830
|
-
display: inline-block;
|
|
1831
|
-
}
|
|
1832
|
-
|
|
1833
|
-
.hsms1n6 {
|
|
1834
|
-
visibility: hidden;
|
|
1835
|
-
position: absolute;
|
|
1836
|
-
}
|
|
1837
|
-
|
|
1838
|
-
.p12gwtiw {
|
|
1839
|
-
display: flex;
|
|
1840
|
-
justify-content: space-between;
|
|
1841
|
-
align-items: center;
|
|
1842
|
-
padding: 10px 0;
|
|
1843
|
-
color: rgba(44, 56, 82, 0.6);
|
|
1844
|
-
font-size: 12px;
|
|
1845
|
-
line-height: 24px;
|
|
1846
|
-
}
|
|
1847
|
-
.p12gwtiw .pagination-left {
|
|
1848
|
-
padding: 2px 8px;
|
|
1849
|
-
}
|
|
1850
|
-
.p12gwtiw .dropdown-trigger {
|
|
1851
|
-
display: flex;
|
|
1852
|
-
align-items: center;
|
|
1853
|
-
border-radius: 6px;
|
|
1854
|
-
cursor: pointer;
|
|
1855
|
-
transition: all 0.3s ease;
|
|
1856
|
-
}
|
|
1857
|
-
.p12gwtiw .dropdown-trigger:hover {
|
|
1858
|
-
background: rgba(211, 218, 235, 0.6);
|
|
1859
|
-
color: #0080ff;
|
|
1860
|
-
}
|
|
1861
|
-
.p12gwtiw .dropdown-trigger .icon-inner {
|
|
1862
|
-
margin-left: 4px;
|
|
1863
|
-
}
|
|
1864
|
-
.p12gwtiw .pagination-right {
|
|
1865
|
-
display: flex;
|
|
1866
|
-
align-items: center;
|
|
1867
|
-
color: #0080ff;
|
|
1868
|
-
font-weight: bold;
|
|
1869
|
-
}
|
|
1870
|
-
.p12gwtiw .pagination-right .icon-inner {
|
|
1871
|
-
margin-left: 4px;
|
|
1872
|
-
}
|
|
1873
|
-
.p12gwtiw .pagination-right .prev-btn,
|
|
1874
|
-
.p12gwtiw .pagination-right .next-btn {
|
|
1875
|
-
padding: 0 8px;
|
|
1876
|
-
}
|
|
1877
|
-
.p12gwtiw .pagination-right .prev-btn > span,
|
|
1878
|
-
.p12gwtiw .pagination-right .next-btn > span {
|
|
1879
|
-
color: #0080ff;
|
|
1880
|
-
}
|
|
1881
|
-
.p12gwtiw .pagination-right .next-btn .icon-inner {
|
|
1882
|
-
transform: rotate(180deg);
|
|
1883
|
-
}
|
|
1884
|
-
|
|
1885
|
-
.d1bnu0in.ant-dropdown .ant-dropdown-menu {
|
|
1886
|
-
max-height: calc(100vh - 128px);
|
|
1887
|
-
overflow-y: auto;
|
|
1888
|
-
}
|
|
1889
|
-
.d1bnu0in.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item {
|
|
1890
|
-
padding: 4px 20px;
|
|
1891
|
-
font-size: 12px;
|
|
1892
|
-
line-height: 18px;
|
|
1893
|
-
}
|
|
1894
|
-
|
|
1895
|
-
.fde5mpd {
|
|
1896
|
-
width: 100%;
|
|
1897
|
-
height: 100%;
|
|
1898
|
-
min-height: 124px;
|
|
1899
|
-
display: flex;
|
|
1900
|
-
flex-direction: column;
|
|
1901
|
-
justify-content: center;
|
|
1902
|
-
align-items: center;
|
|
1903
|
-
}
|
|
1904
|
-
.fde5mpd .error-text {
|
|
1905
|
-
color: rgba(10, 37, 85, 0.6);
|
|
1906
|
-
margin-bottom: 16px;
|
|
1907
|
-
font-size: 18px;
|
|
1908
|
-
}
|
|
1909
|
-
|
|
1910
|
-
.iap75of {
|
|
1911
|
-
height: 18px;
|
|
1912
|
-
line-height: 18px;
|
|
1913
|
-
padding: 0 4px;
|
|
1914
|
-
border-radius: 4px;
|
|
1915
|
-
background: rgba(235, 239, 245, 0.6);
|
|
1916
|
-
border: 1px solid rgba(223, 228, 235, 0.6);
|
|
1917
|
-
display: flex;
|
|
1918
|
-
align-items: center;
|
|
1919
|
-
white-space: nowrap;
|
|
1920
|
-
margin-right: 4px;
|
|
1921
|
-
}
|
|
1922
|
-
|
|
1923
|
-
.i1mrf09m {
|
|
1924
|
-
display: inline-flex;
|
|
1925
|
-
align-items: center;
|
|
1926
|
-
}
|
|
1927
|
-
.i1mrf09m .icon-inner {
|
|
1928
|
-
display: inline-flex;
|
|
1929
|
-
align-items: center;
|
|
1930
|
-
justify-content: center;
|
|
1931
|
-
}
|
|
1932
|
-
.i1mrf09m .icon-inner + span,
|
|
1933
|
-
.i1mrf09m span + .icon-inner.suffix {
|
|
1934
|
-
margin-left: 4px;
|
|
1935
|
-
}
|
|
1936
|
-
.i1mrf09m.is-rotate img,
|
|
1937
|
-
.i1mrf09m.is-rotate svg {
|
|
1938
|
-
animation: rotate 680ms linear infinite;
|
|
1939
|
-
}
|
|
1940
|
-
|
|
1941
1829
|
.cz04yix {
|
|
1942
1830
|
display: flex;
|
|
1943
1831
|
flex-direction: column;
|
|
@@ -2603,6 +2491,79 @@ input.rrg1fkn.ant-input {
|
|
|
2603
2491
|
border-bottom-left-radius: 0;
|
|
2604
2492
|
}
|
|
2605
2493
|
|
|
2494
|
+
.s34f1qb.ant-switch {
|
|
2495
|
+
min-width: 40px;
|
|
2496
|
+
height: 24px;
|
|
2497
|
+
background: rgba(172, 186, 211, 0.6);
|
|
2498
|
+
overflow: hidden;
|
|
2499
|
+
}
|
|
2500
|
+
.s34f1qb.ant-switch:focus {
|
|
2501
|
+
box-shadow: 0 0 0 2px rgba(225, 230, 241, 0.6);
|
|
2502
|
+
}
|
|
2503
|
+
.s34f1qb.ant-switch-small {
|
|
2504
|
+
min-width: 26px;
|
|
2505
|
+
height: 16px;
|
|
2506
|
+
}
|
|
2507
|
+
.s34f1qb.ant-switch-large {
|
|
2508
|
+
min-width: 52px;
|
|
2509
|
+
height: 32px;
|
|
2510
|
+
}
|
|
2511
|
+
.s34f1qb.ant-switch .ant-switch-handle {
|
|
2512
|
+
height: 20px;
|
|
2513
|
+
width: 20px;
|
|
2514
|
+
}
|
|
2515
|
+
.s34f1qb.ant-switch .ant-switch-handle::before {
|
|
2516
|
+
border-radius: 10px;
|
|
2517
|
+
transition-delay: 120ms;
|
|
2518
|
+
}
|
|
2519
|
+
.s34f1qb.ant-switch-small .ant-switch-handle {
|
|
2520
|
+
height: 14px;
|
|
2521
|
+
width: 14px;
|
|
2522
|
+
top: 1px;
|
|
2523
|
+
left: 1px;
|
|
2524
|
+
}
|
|
2525
|
+
.s34f1qb.ant-switch-large .ant-switch-handle {
|
|
2526
|
+
height: 28px;
|
|
2527
|
+
width: 28px;
|
|
2528
|
+
}
|
|
2529
|
+
.s34f1qb.ant-switch-large .ant-switch-handle::before {
|
|
2530
|
+
border-radius: 14px;
|
|
2531
|
+
}
|
|
2532
|
+
.s34f1qb.ant-switch-checked {
|
|
2533
|
+
background-color: #00ba5d;
|
|
2534
|
+
}
|
|
2535
|
+
.s34f1qb.ant-switch-checked .ant-switch-handle {
|
|
2536
|
+
left: calc(100% - 20px - 2px);
|
|
2537
|
+
}
|
|
2538
|
+
.s34f1qb.ant-switch-small.ant-switch-checked .ant-switch-handle {
|
|
2539
|
+
left: calc(100% - 14px - 1px);
|
|
2540
|
+
}
|
|
2541
|
+
.s34f1qb.ant-switch-large.ant-switch-checked .ant-switch-handle {
|
|
2542
|
+
left: calc(100% - 28px - 2px);
|
|
2543
|
+
}
|
|
2544
|
+
|
|
2545
|
+
.c1to9vb9 {
|
|
2546
|
+
margin-left: 5px;
|
|
2547
|
+
}
|
|
2548
|
+
|
|
2549
|
+
.i1mrf09m {
|
|
2550
|
+
display: inline-flex;
|
|
2551
|
+
align-items: center;
|
|
2552
|
+
}
|
|
2553
|
+
.i1mrf09m .icon-inner {
|
|
2554
|
+
display: inline-flex;
|
|
2555
|
+
align-items: center;
|
|
2556
|
+
justify-content: center;
|
|
2557
|
+
}
|
|
2558
|
+
.i1mrf09m .icon-inner + span,
|
|
2559
|
+
.i1mrf09m span + .icon-inner.suffix {
|
|
2560
|
+
margin-left: 4px;
|
|
2561
|
+
}
|
|
2562
|
+
.i1mrf09m.is-rotate img,
|
|
2563
|
+
.i1mrf09m.is-rotate svg {
|
|
2564
|
+
animation: rotate 680ms linear infinite;
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2606
2567
|
.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal {
|
|
2607
2568
|
flex-direction: row;
|
|
2608
2569
|
justify-content: stretch;
|
|
@@ -2686,6 +2647,100 @@ input.rrg1fkn.ant-input {
|
|
|
2686
2647
|
padding: 0;
|
|
2687
2648
|
}
|
|
2688
2649
|
|
|
2650
|
+
.iap75of {
|
|
2651
|
+
height: 18px;
|
|
2652
|
+
line-height: 18px;
|
|
2653
|
+
padding: 0 4px;
|
|
2654
|
+
border-radius: 4px;
|
|
2655
|
+
background: rgba(235, 239, 245, 0.6);
|
|
2656
|
+
border: 1px solid rgba(223, 228, 235, 0.6);
|
|
2657
|
+
display: flex;
|
|
2658
|
+
align-items: center;
|
|
2659
|
+
white-space: nowrap;
|
|
2660
|
+
margin-right: 4px;
|
|
2661
|
+
}
|
|
2662
|
+
|
|
2663
|
+
.fde5mpd {
|
|
2664
|
+
width: 100%;
|
|
2665
|
+
height: 100%;
|
|
2666
|
+
min-height: 124px;
|
|
2667
|
+
display: flex;
|
|
2668
|
+
flex-direction: column;
|
|
2669
|
+
justify-content: center;
|
|
2670
|
+
align-items: center;
|
|
2671
|
+
}
|
|
2672
|
+
.fde5mpd .error-text {
|
|
2673
|
+
color: rgba(10, 37, 85, 0.6);
|
|
2674
|
+
margin-bottom: 16px;
|
|
2675
|
+
font-size: 18px;
|
|
2676
|
+
}
|
|
2677
|
+
|
|
2678
|
+
.obf05yr {
|
|
2679
|
+
display: inline-block;
|
|
2680
|
+
}
|
|
2681
|
+
|
|
2682
|
+
.hsms1n6 {
|
|
2683
|
+
visibility: hidden;
|
|
2684
|
+
position: absolute;
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2687
|
+
.p12gwtiw {
|
|
2688
|
+
display: flex;
|
|
2689
|
+
justify-content: space-between;
|
|
2690
|
+
align-items: center;
|
|
2691
|
+
padding: 10px 0;
|
|
2692
|
+
color: rgba(44, 56, 82, 0.6);
|
|
2693
|
+
font-size: 12px;
|
|
2694
|
+
line-height: 24px;
|
|
2695
|
+
}
|
|
2696
|
+
.p12gwtiw .pagination-left {
|
|
2697
|
+
padding: 2px 8px;
|
|
2698
|
+
}
|
|
2699
|
+
.p12gwtiw .dropdown-trigger {
|
|
2700
|
+
display: flex;
|
|
2701
|
+
align-items: center;
|
|
2702
|
+
border-radius: 6px;
|
|
2703
|
+
cursor: pointer;
|
|
2704
|
+
transition: all 0.3s ease;
|
|
2705
|
+
}
|
|
2706
|
+
.p12gwtiw .dropdown-trigger:hover {
|
|
2707
|
+
background: rgba(211, 218, 235, 0.6);
|
|
2708
|
+
color: #0080ff;
|
|
2709
|
+
}
|
|
2710
|
+
.p12gwtiw .dropdown-trigger .icon-inner {
|
|
2711
|
+
margin-left: 4px;
|
|
2712
|
+
}
|
|
2713
|
+
.p12gwtiw .pagination-right {
|
|
2714
|
+
display: flex;
|
|
2715
|
+
align-items: center;
|
|
2716
|
+
color: #0080ff;
|
|
2717
|
+
font-weight: bold;
|
|
2718
|
+
}
|
|
2719
|
+
.p12gwtiw .pagination-right .icon-inner {
|
|
2720
|
+
margin-left: 4px;
|
|
2721
|
+
}
|
|
2722
|
+
.p12gwtiw .pagination-right .prev-btn,
|
|
2723
|
+
.p12gwtiw .pagination-right .next-btn {
|
|
2724
|
+
padding: 0 8px;
|
|
2725
|
+
}
|
|
2726
|
+
.p12gwtiw .pagination-right .prev-btn > span,
|
|
2727
|
+
.p12gwtiw .pagination-right .next-btn > span {
|
|
2728
|
+
color: #0080ff;
|
|
2729
|
+
}
|
|
2730
|
+
.p12gwtiw .pagination-right .next-btn .icon-inner {
|
|
2731
|
+
transform: rotate(180deg);
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2734
|
+
.d1bnu0in.ant-dropdown .ant-dropdown-menu {
|
|
2735
|
+
max-height: calc(100vh - 128px);
|
|
2736
|
+
overflow-y: auto;
|
|
2737
|
+
}
|
|
2738
|
+
.d1bnu0in.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item {
|
|
2739
|
+
padding: 4px 20px;
|
|
2740
|
+
font-size: 12px;
|
|
2741
|
+
line-height: 18px;
|
|
2742
|
+
}
|
|
2743
|
+
|
|
2689
2744
|
.rxbeqvl.ant-radio-wrapper {
|
|
2690
2745
|
display: inline-flex;
|
|
2691
2746
|
align-items: baseline;
|
|
@@ -2827,61 +2882,6 @@ input.rrg1fkn.ant-input {
|
|
|
2827
2882
|
width: 36px;
|
|
2828
2883
|
}
|
|
2829
2884
|
|
|
2830
|
-
.s34f1qb.ant-switch {
|
|
2831
|
-
min-width: 40px;
|
|
2832
|
-
height: 24px;
|
|
2833
|
-
background: rgba(172, 186, 211, 0.6);
|
|
2834
|
-
overflow: hidden;
|
|
2835
|
-
}
|
|
2836
|
-
.s34f1qb.ant-switch:focus {
|
|
2837
|
-
box-shadow: 0 0 0 2px rgba(225, 230, 241, 0.6);
|
|
2838
|
-
}
|
|
2839
|
-
.s34f1qb.ant-switch-small {
|
|
2840
|
-
min-width: 26px;
|
|
2841
|
-
height: 16px;
|
|
2842
|
-
}
|
|
2843
|
-
.s34f1qb.ant-switch-large {
|
|
2844
|
-
min-width: 52px;
|
|
2845
|
-
height: 32px;
|
|
2846
|
-
}
|
|
2847
|
-
.s34f1qb.ant-switch .ant-switch-handle {
|
|
2848
|
-
height: 20px;
|
|
2849
|
-
width: 20px;
|
|
2850
|
-
}
|
|
2851
|
-
.s34f1qb.ant-switch .ant-switch-handle::before {
|
|
2852
|
-
border-radius: 10px;
|
|
2853
|
-
transition-delay: 120ms;
|
|
2854
|
-
}
|
|
2855
|
-
.s34f1qb.ant-switch-small .ant-switch-handle {
|
|
2856
|
-
height: 14px;
|
|
2857
|
-
width: 14px;
|
|
2858
|
-
top: 1px;
|
|
2859
|
-
left: 1px;
|
|
2860
|
-
}
|
|
2861
|
-
.s34f1qb.ant-switch-large .ant-switch-handle {
|
|
2862
|
-
height: 28px;
|
|
2863
|
-
width: 28px;
|
|
2864
|
-
}
|
|
2865
|
-
.s34f1qb.ant-switch-large .ant-switch-handle::before {
|
|
2866
|
-
border-radius: 14px;
|
|
2867
|
-
}
|
|
2868
|
-
.s34f1qb.ant-switch-checked {
|
|
2869
|
-
background-color: #00ba5d;
|
|
2870
|
-
}
|
|
2871
|
-
.s34f1qb.ant-switch-checked .ant-switch-handle {
|
|
2872
|
-
left: calc(100% - 20px - 2px);
|
|
2873
|
-
}
|
|
2874
|
-
.s34f1qb.ant-switch-small.ant-switch-checked .ant-switch-handle {
|
|
2875
|
-
left: calc(100% - 14px - 1px);
|
|
2876
|
-
}
|
|
2877
|
-
.s34f1qb.ant-switch-large.ant-switch-checked .ant-switch-handle {
|
|
2878
|
-
left: calc(100% - 28px - 2px);
|
|
2879
|
-
}
|
|
2880
|
-
|
|
2881
|
-
.c1to9vb9 {
|
|
2882
|
-
margin-left: 5px;
|
|
2883
|
-
}
|
|
2884
|
-
|
|
2885
2885
|
.t1upn1sz {
|
|
2886
2886
|
height: 100%;
|
|
2887
2887
|
}
|