@cloudtower/eagle 0.24.8 → 0.24.13

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.
@@ -1758,6 +1758,21 @@ body {
1758
1758
  padding: 0;
1759
1759
  }
1760
1760
 
1761
+ .fde5mpd {
1762
+ width: 100%;
1763
+ height: 100%;
1764
+ min-height: 124px;
1765
+ display: flex;
1766
+ flex-direction: column;
1767
+ justify-content: center;
1768
+ align-items: center;
1769
+ }
1770
+ .fde5mpd .error-text {
1771
+ color: rgba(10, 37, 85, 0.6);
1772
+ margin-bottom: 16px;
1773
+ font-size: 18px;
1774
+ }
1775
+
1761
1776
  .bpq0js6 {
1762
1777
  padding: 4px 11px;
1763
1778
  }
@@ -1787,21 +1802,6 @@ body {
1787
1802
  border-radius: unset;
1788
1803
  }
1789
1804
 
1790
- .fde5mpd {
1791
- width: 100%;
1792
- height: 100%;
1793
- min-height: 124px;
1794
- display: flex;
1795
- flex-direction: column;
1796
- justify-content: center;
1797
- align-items: center;
1798
- }
1799
- .fde5mpd .error-text {
1800
- color: rgba(10, 37, 85, 0.6);
1801
- margin-bottom: 16px;
1802
- font-size: 18px;
1803
- }
1804
-
1805
1805
  .i1mrf09m {
1806
1806
  display: inline-flex;
1807
1807
  align-items: center;
@@ -1833,15 +1833,6 @@ body {
1833
1833
  margin-right: 4px;
1834
1834
  }
1835
1835
 
1836
- .obf05yr {
1837
- display: inline-block;
1838
- }
1839
-
1840
- .hsms1n6 {
1841
- visibility: hidden;
1842
- position: absolute;
1843
- }
1844
-
1845
1836
  .p12gwtiw {
1846
1837
  display: flex;
1847
1838
  justify-content: space-between;
@@ -1899,6 +1890,89 @@ body {
1899
1890
  line-height: 18px;
1900
1891
  }
1901
1892
 
1893
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal {
1894
+ flex-direction: row;
1895
+ justify-content: stretch;
1896
+ }
1897
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item {
1898
+ padding: 0;
1899
+ margin-right: 4px;
1900
+ flex: 1;
1901
+ overflow: visible;
1902
+ }
1903
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-tail, .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-icon {
1904
+ display: none;
1905
+ }
1906
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content {
1907
+ width: 100%;
1908
+ min-height: unset;
1909
+ }
1910
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title {
1911
+ height: 26px;
1912
+ line-height: 26px;
1913
+ width: 100%;
1914
+ text-align: center;
1915
+ padding: 0;
1916
+ font-size: 12px;
1917
+ font-weight: normal;
1918
+ }
1919
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title .step-count {
1920
+ margin-right: 10px;
1921
+ }
1922
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title::after {
1923
+ display: none;
1924
+ }
1925
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child .ant-steps-item-container {
1926
+ border-radius: 4px 0 0 4px;
1927
+ }
1928
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child {
1929
+ margin-right: 0;
1930
+ }
1931
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child .ant-steps-item-container {
1932
+ border-radius: 0 4px 4px 0;
1933
+ }
1934
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:not(.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child)::after {
1935
+ content: "";
1936
+ width: 0;
1937
+ height: 0;
1938
+ border: 13px solid transparent;
1939
+ position: absolute;
1940
+ top: 0;
1941
+ border-left: 8px solid rgba(237, 241, 250, 0.6);
1942
+ right: -21px;
1943
+ z-index: 2;
1944
+ }
1945
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:not(.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child)::before {
1946
+ content: "";
1947
+ width: 0;
1948
+ height: 0;
1949
+ border: 13px solid transparent;
1950
+ position: absolute;
1951
+ top: 0;
1952
+ border-left: 8px solid #fff;
1953
+ left: 0;
1954
+ }
1955
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active .ant-steps-item-container {
1956
+ background-color: rgba(0, 136, 255, 0.1);
1957
+ }
1958
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active::after {
1959
+ border-left-color: rgba(0, 136, 255, 0.1) !important;
1960
+ }
1961
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active .ant-steps-item-title {
1962
+ color: #005ed1;
1963
+ }
1964
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-wait .ant-steps-item-container,
1965
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-finish .ant-steps-item-container {
1966
+ background-color: rgba(237, 241, 250, 0.6);
1967
+ }
1968
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-wait .ant-steps-item-title,
1969
+ .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-finish .ant-steps-item-title {
1970
+ color: rgba(44, 56, 82, 0.6);
1971
+ }
1972
+ .s3mgie3 .ant-steps:not(.ant-steps-dot):not(.ant-steps-navigation):not(.ant-steps-vertical) .ant-steps-item {
1973
+ padding: 0;
1974
+ }
1975
+
1902
1976
  .rxbeqvl.ant-radio-wrapper {
1903
1977
  display: inline-flex;
1904
1978
  align-items: baseline;
@@ -2041,87 +2115,13 @@ body {
2041
2115
  width: 36px;
2042
2116
  }
2043
2117
 
2044
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal {
2045
- flex-direction: row;
2046
- justify-content: stretch;
2047
- }
2048
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item {
2049
- padding: 0;
2050
- margin-right: 4px;
2051
- flex: 1;
2052
- overflow: visible;
2053
- }
2054
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-tail, .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-icon {
2055
- display: none;
2056
- }
2057
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content {
2058
- width: 100%;
2059
- min-height: unset;
2060
- }
2061
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title {
2062
- height: 26px;
2063
- line-height: 26px;
2064
- width: 100%;
2065
- text-align: center;
2066
- padding: 0;
2067
- font-size: 12px;
2068
- font-weight: normal;
2069
- }
2070
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title .step-count {
2071
- margin-right: 10px;
2072
- }
2073
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item .ant-steps-item-content .ant-steps-item-title::after {
2074
- display: none;
2075
- }
2076
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child .ant-steps-item-container {
2077
- border-radius: 4px 0 0 4px;
2078
- }
2079
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child {
2080
- margin-right: 0;
2081
- }
2082
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child .ant-steps-item-container {
2083
- border-radius: 0 4px 4px 0;
2084
- }
2085
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:not(.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:last-child)::after {
2086
- content: "";
2087
- width: 0;
2088
- height: 0;
2089
- border: 13px solid transparent;
2090
- position: absolute;
2091
- top: 0;
2092
- border-left: 8px solid rgba(237, 241, 250, 0.6);
2093
- right: -21px;
2094
- z-index: 2;
2118
+ .obf05yr {
2119
+ display: inline-block;
2095
2120
  }
2096
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:not(.s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child)::before {
2097
- content: "";
2098
- width: 0;
2099
- height: 0;
2100
- border: 13px solid transparent;
2121
+
2122
+ .hsms1n6 {
2123
+ visibility: hidden;
2101
2124
  position: absolute;
2102
- top: 0;
2103
- border-left: 8px solid #fff;
2104
- left: 0;
2105
- }
2106
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active .ant-steps-item-container {
2107
- background-color: rgba(0, 136, 255, 0.1);
2108
- }
2109
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active::after {
2110
- border-left-color: rgba(0, 136, 255, 0.1) !important;
2111
- }
2112
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-active .ant-steps-item-title {
2113
- color: #005ed1;
2114
- }
2115
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-wait .ant-steps-item-container,
2116
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-finish .ant-steps-item-container {
2117
- background-color: rgba(237, 241, 250, 0.6);
2118
- }
2119
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-wait .ant-steps-item-title,
2120
- .s3mgie3 .ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item-finish .ant-steps-item-title {
2121
- color: rgba(44, 56, 82, 0.6);
2122
- }
2123
- .s3mgie3 .ant-steps:not(.ant-steps-dot):not(.ant-steps-navigation):not(.ant-steps-vertical) .ant-steps-item {
2124
- padding: 0;
2125
2125
  }
2126
2126
 
2127
2127
  .cz04yix {
@@ -3288,10 +3288,6 @@ input.rrg1fkn.ant-input {
3288
3288
  opacity: 0;
3289
3289
  }
3290
3290
 
3291
- .i1e4sgug {
3292
- display: inline-block;
3293
- }
3294
-
3295
3291
  .d6j0lbj {
3296
3292
  font-family: Inter;
3297
3293
  font-style: normal;
@@ -3767,6 +3763,10 @@ input.rrg1fkn.ant-input {
3767
3763
  line-height: 12px;
3768
3764
  }
3769
3765
 
3766
+ .i1e4sgug {
3767
+ display: inline-block;
3768
+ }
3769
+
3770
3770
  .c198s9j3 {
3771
3771
  color: #2d3a56;
3772
3772
  line-height: 22px;
@@ -4340,25 +4340,6 @@ input.rrg1fkn.ant-input {
4340
4340
  margin-right: 8px;
4341
4341
  }
4342
4342
 
4343
- .feau332.ant-form-item {
4344
- margin-bottom: 0;
4345
- }
4346
- .feau332 .ant-form-item-explain {
4347
- display: none;
4348
- min-height: 18px;
4349
- margin-top: 5px;
4350
- font-family: "Inter";
4351
- font-weight: 400;
4352
- font-size: 12px;
4353
- line-height: 18px;
4354
- }
4355
- .feau332.ant-form-item[class*=ant-form-item-has]:not(.ant-form-item-has-error-leave) {
4356
- white-space: pre-wrap;
4357
- }
4358
- .feau332.ant-form-item[class*=ant-form-item-has]:not(.ant-form-item-has-error-leave) .ant-form-item-explain {
4359
- display: block;
4360
- }
4361
-
4362
4343
  .a6dbbkm .ant-input-number-handler-wrap {
4363
4344
  display: var(--a6dbbkm-0);
4364
4345
  }
@@ -4388,4 +4369,23 @@ input.rrg1fkn.ant-input {
4388
4369
  margin: 0;
4389
4370
  height: auto;
4390
4371
  font-size: inherit;
4372
+ }
4373
+
4374
+ .feau332.ant-form-item {
4375
+ margin-bottom: 0;
4376
+ }
4377
+ .feau332 .ant-form-item-explain {
4378
+ display: none;
4379
+ min-height: 18px;
4380
+ margin-top: 5px;
4381
+ font-family: "Inter";
4382
+ font-weight: 400;
4383
+ font-size: 12px;
4384
+ line-height: 18px;
4385
+ }
4386
+ .feau332.ant-form-item[class*=ant-form-item-has]:not(.ant-form-item-has-error-leave) {
4387
+ white-space: pre-wrap;
4388
+ }
4389
+ .feau332.ant-form-item[class*=ant-form-item-has]:not(.ant-form-item-has-error-leave) .ant-form-item-explain {
4390
+ display: block;
4391
4391
  }
package/dist/esm/index.js CHANGED
@@ -1,8 +1,9 @@
1
- import { Alert as Alert$1, Badge as Badge$1, Button as Button$1, Tooltip as Tooltip$1, Checkbox as Checkbox$1, DatePicker, Select as Select$1, InputNumber as InputNumber$1, Input as Input$1, TimePicker as TimePicker$1, message, Modal as Modal$1, Steps as Steps$1, Dropdown, Menu, Progress as Progress$1, Radio as Radio$1, Switch as Switch$1, Table as Table$1, Space, Form, List, Tag, Row, Col, Tree, Divider, Skeleton, Layout, AutoComplete, Popover, Timeline, Typography, Cascader, Upload, Calendar, Tabs, ConfigProvider } from 'antd';
1
+ import { Alert as Alert$1, Badge as Badge$1, Button as Button$1, Tooltip as Tooltip$1, Checkbox as Checkbox$1, DatePicker, Select as Select$1, InputNumber as InputNumber$1, Input as Input$1, TimePicker as TimePicker$1, message, Modal as Modal$1, Steps as Steps$1, Dropdown, Menu, Progress as Progress$1, Radio as Radio$1, Switch as Switch$1, Table as Table$1, Space, Form, List, Tag, Row, Col, Tree, Divider, Skeleton, Layout, AutoComplete, Popover, Timeline, Typography, Cascader, Upload, Calendar, Tabs, Empty as Empty$1, Collapse, TreeSelect, Drawer, ConfigProvider } from 'antd';
2
2
  export { Col, Row } from 'antd';
3
3
  import React, { useState, useMemo, useRef, useCallback, useEffect, Fragment, useLayoutEffect, createContext, memo, useImperativeHandle, useContext } from 'react';
4
4
  import cs from 'classnames';
5
5
  import _, { uniqBy, groupBy, sortBy, toPairs } from 'lodash';
6
+ import { SVGUniqueID } from 'react-svg-unique-id';
6
7
  import { parrotI18n } from '@cloudtower/parrot';
7
8
  export * from '@cloudtower/parrot';
8
9
  import { useTranslation, withTranslation } from 'react-i18next';
@@ -298,9 +299,9 @@ const BaseIcon = React.forwardRef(
298
299
  style: _.pickBy(__spreadValues$E({ cursor }, style))
299
300
  }, HTMLSpanElementProps),
300
301
  prefixNode,
301
- /* @__PURE__ */ React.createElement("span", { className: "icon-inner" }, typeof Src === "string" ? /* @__PURE__ */ React.createElement("img", { alt, src: Src, width, height }) : /* @__PURE__ */ React.createElement(Src, { width, height })),
302
+ /* @__PURE__ */ React.createElement("span", { className: "icon-inner" }, typeof Src === "string" ? /* @__PURE__ */ React.createElement("img", { alt, src: Src, width, height }) : /* @__PURE__ */ React.createElement(SVGUniqueID, null, Src({ width, height }))),
302
303
  children && /* @__PURE__ */ React.createElement("span", { className: "icon-children" }, children),
303
- SuffixSrc && /* @__PURE__ */ React.createElement("span", { className: "icon-inner suffix" }, typeof SuffixSrc === "string" ? /* @__PURE__ */ React.createElement("img", { alt, src: SuffixSrc, width, height }) : /* @__PURE__ */ React.createElement(SuffixSrc, { width, height }))
304
+ SuffixSrc && /* @__PURE__ */ React.createElement("span", { className: "icon-inner suffix" }, typeof SuffixSrc === "string" ? /* @__PURE__ */ React.createElement("img", { alt, src: SuffixSrc, width, height }) : /* @__PURE__ */ React.createElement(SVGUniqueID, null, SuffixSrc({ width, height })))
304
305
  );
305
306
  }
306
307
  );
@@ -4649,7 +4650,15 @@ function getAntdKit() {
4649
4650
  antdButton: Button$1,
4650
4651
  antdSelect: Select$1,
4651
4652
  antdTooltip: Tooltip$1,
4652
- antdModal: Modal$1
4653
+ antdModal: Modal$1,
4654
+ antdInput: Input$1,
4655
+ antdTable: Table$1,
4656
+ antdEmpty: Empty$1,
4657
+ antdCheckbox: Checkbox$1,
4658
+ antdSwitch: Switch$1,
4659
+ antdCollapse: Collapse,
4660
+ antdTreeSelect: TreeSelect,
4661
+ antdDrawer: Drawer
4653
4662
  };
4654
4663
  kit.option.isSelectOption = true;
4655
4664
  kit.button.__ANT_BUTTON = true;