@zat-design/sisyphus-react 3.4.0-beta.2 → 3.4.0-beta.4
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/index.esm.css +43 -61
- package/es/ProEditTable/components/DndWrapper/index.d.ts +1 -1
- package/es/ProEditTable/components/DndWrapper/index.js +5 -5
- package/es/ProEditTable/index.js +15 -9
- package/es/ProEditTable/style/index.less +36 -55
- package/es/ProEditTable/utils/index.js +2 -2
- package/es/ProEnum/components/Group.d.ts +7 -0
- package/es/ProEnum/components/Group.js +42 -0
- package/es/ProEnum/index.js +9 -0
- package/es/ProEnum/propsType.d.ts +2 -2
- package/es/ProEnum/style/index.less +49 -0
- package/es/ProForm/components/base/InputNumber/index.js +2 -2
- package/es/ProForm/components/combination/FormList/components/LineFields.js +1 -0
- package/es/ProForm/components/render/ConfirmWrapper.d.ts +10 -0
- package/es/ProForm/components/render/ConfirmWrapper.js +53 -0
- package/es/ProForm/components/render/Render.js +10 -1
- package/es/ProForm/components/render/RenderFields.js +3 -1
- package/es/ProForm/components/render/propsType.d.ts +6 -2
- package/es/ProForm/utils/valueType.js +37 -3
- package/es/ProIcon/index.d.ts +0 -1
- package/es/ProIcon/index.js +6 -4
- package/es/ProIcon/style/index.less +4 -6
- package/es/ProIcon/symbolIcon.js +20 -20
- package/es/ProTable/components/RenderColumn/index.js +1 -2
- package/es/ProTable/propsType.d.ts +1 -1
- package/es/ProTable/style/index.less +196 -99
- package/es/ProTable/utils.js +1 -1
- package/es/ProTreeModal/components/SortableItem.js +5 -7
- package/es/ProTreeModal/style/index.less +0 -6
- package/es/style/core/mixins.less +12 -5
- package/lib/ProEditTable/components/DndWrapper/index.d.ts +1 -1
- package/lib/ProEditTable/components/DndWrapper/index.js +5 -5
- package/lib/ProEditTable/index.js +13 -7
- package/lib/ProEditTable/style/index.less +36 -55
- package/lib/ProEditTable/utils/index.js +2 -2
- package/lib/ProEnum/components/Group.d.ts +7 -0
- package/lib/ProEnum/components/Group.js +49 -0
- package/lib/ProEnum/index.js +9 -0
- package/lib/ProEnum/propsType.d.ts +2 -2
- package/lib/ProEnum/style/index.less +49 -0
- package/lib/ProForm/components/base/InputNumber/index.js +2 -2
- package/lib/ProForm/components/combination/FormList/components/LineFields.js +1 -0
- package/lib/ProForm/components/render/ConfirmWrapper.d.ts +10 -0
- package/lib/ProForm/components/render/ConfirmWrapper.js +59 -0
- package/lib/ProForm/components/render/Render.js +10 -1
- package/lib/ProForm/components/render/RenderFields.js +3 -1
- package/lib/ProForm/components/render/propsType.d.ts +6 -2
- package/lib/ProForm/utils/valueType.js +37 -3
- package/lib/ProIcon/index.d.ts +0 -1
- package/lib/ProIcon/index.js +6 -4
- package/lib/ProIcon/style/index.less +4 -6
- package/lib/ProIcon/symbolIcon.js +20 -20
- package/lib/ProTable/components/RenderColumn/index.js +1 -2
- package/lib/ProTable/propsType.d.ts +1 -1
- package/lib/ProTable/style/index.less +196 -99
- package/lib/ProTable/utils.js +1 -1
- package/lib/ProTreeModal/components/SortableItem.js +5 -7
- package/lib/ProTreeModal/style/index.less +0 -6
- package/lib/style/core/mixins.less +12 -5
- package/package.json +1 -1
|
@@ -4,15 +4,13 @@
|
|
|
4
4
|
.pro-icon {
|
|
5
5
|
cursor: pointer;
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
&.pro-icon-with-theme {
|
|
9
|
-
fill: var(--zaui-brand, #
|
|
8
|
+
fill: var(--zaui-brand, #006aff);
|
|
10
9
|
}
|
|
11
10
|
|
|
12
11
|
&.pro-icon-spin {
|
|
13
12
|
animation: loadingCircle 1s infinite linear;
|
|
14
13
|
}
|
|
15
|
-
|
|
16
14
|
}
|
|
17
15
|
|
|
18
16
|
.pro-icon-btn {
|
|
@@ -21,10 +19,10 @@
|
|
|
21
19
|
}
|
|
22
20
|
|
|
23
21
|
&.@{ant-prefix}-btn-icon-only {
|
|
24
|
-
width
|
|
25
|
-
height
|
|
22
|
+
width: auto;
|
|
23
|
+
height: auto;
|
|
26
24
|
padding: 0;
|
|
27
|
-
border: 0;
|
|
28
25
|
vertical-align: 0;
|
|
26
|
+
border: 0;
|
|
29
27
|
}
|
|
30
28
|
}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
window._iconfont_svg_string_4063056 = '<svg><symbol id="icon-dot" viewBox="0 0 1024 1024"><path d="M512 624a112 112 0 1 0 0-224 112 112 0 0 0 0 224z" ></path></symbol><symbol id="icon-solid-close" viewBox="0 0 1024 1024"><path d="M516.707 66.513C272.86 66.513 75.16 264.212 75.16 508.06S272.86 949.607 516.707 949.607 958.254 751.91 958.254 508.06 760.556 66.513 516.707 66.513z m227.067 601.691c18.419 18.42 18.419 48.504 0 66.923s-48.504 18.42-66.923 0L516.707 574.983 356.563 735.127c-18.419 18.42-48.503 18.42-66.923 0s-18.419-48.504 0-66.923L449.784 508.06 289.64 347.916c-18.419-18.419-18.419-48.503 0-66.922 18.42-18.42 48.504-18.42 66.923 0l160.144 160.144 160.144-160.144c18.42-18.42 48.504-18.42 66.923 0 18.419 18.419 18.419 48.503 0 66.922L583.63 508.06l160.144 160.144z" ></path></symbol><symbol id="icon-arrow" viewBox="0 0 1024 1024"><path d="M832 0a192 192 0 0 1 192 192v640a192 192 0 0 1-192 192H192A192 192 0 0 1 0 832V192A192 192 0 0 1 192 0z m0 42.667H192A149.333 149.333 0 0 0 42.667 192v640A149.333 149.333 0 0 0 192 981.333h640A149.333 149.333 0 0 0 981.333 832V192A149.333 149.333 0 0 0 832 42.667z m-94.165 329.386l60.33 60.331L512 718.592 225.835 432.384l60.33-60.33L512 597.887l225.835-225.835z" ></path></symbol><symbol id="icon-delete" viewBox="0 0 1024 1024"><path d="M662.08 121.472v64H361.92v-64z m206.4 159.488v64H155.52v-64z" ></path><path d="M280.512 303.232l-0.064 530.816h460.096V303.232h64v594.88H216.512v-594.88z" ></path><path d="M431.424 440.704v337.728h-64V440.704z m225.152 0v337.728h-64V440.704z" ></path></symbol><symbol id="icon-catalog" viewBox="0 0 1075 1024"><path d="M1044.429 758.323v128.973H313.702V758.272h730.727z m-833.127 0v128.973H71.732V758.272h139.57zM1044.43 447.54v128.922H313.702V447.539h730.727z m-833.127 0v128.922H71.732V447.539h139.57z m833.127-310.784v128.922H313.702V136.704h730.727z m-833.127 0v128.922H71.732V136.704h139.57z" ></path></symbol><symbol id="icon-customColumn" viewBox="0 0 1024 1024"><path d="M170.368 128h0.576c28.288 0 42.368 14.848 42.368 44.608v678.784c0 29.76-14.08 44.608-42.368 44.608h-0.576C142.144 896 128 881.152 128 851.392V172.608c0-29.76 14.08-44.608 42.368-44.608z m682.752 0h0.576c28.224 0 42.368 14.848 42.368 44.608v678.784c0 29.76-14.08 44.608-42.368 44.608h-0.576c-28.288 0-42.368-14.848-42.368-44.608V172.608c0-29.76 14.08-44.608 42.368-44.608z m-453.632 0h225.024c38.784 0 58.176 20.16 58.176 60.416v647.168c0 40.32-19.392 60.416-58.176 60.416H399.488c-38.784 0-58.176-20.16-58.176-60.416V188.416c0-40.32 19.392-60.416 58.176-60.416z" ></path></symbol><symbol id="icon-copy" viewBox="0 0 1024 1024"><path d="M363.746 0h565.883c52.05 0 94.286 42.236 94.286 94.285V660.17c0 52.049-42.237 94.285-94.286 94.285H363.746c-52.05 0-94.286-42.236-94.286-94.285V94.285C269.46 42.236 311.697 0 363.746 0z m0 80.804a13.482 13.482 0 0 0-13.482 13.481V660.17c0 7.423 6.058 13.482 13.482 13.482h565.883c7.424 0 13.482-6.059 13.482-13.482V94.285a13.482 13.482 0 0 0-13.482-13.481H363.746z m309.905 754.54a40.445 40.445 0 1 1 80.803 0v94.37c0 52.05-42.236 94.286-94.285 94.286H94.285C42.236 1023.915 0 981.678 0 929.63V363.745c0-52.05 42.236-94.286 94.285-94.286h94.371a40.445 40.445 0 0 1 0 80.804h-94.37a13.482 13.482 0 0 0-13.482 13.482v565.883c0 7.424 6.058 13.482 13.481 13.482H660.17c7.423 0 13.482-6.058 13.482-13.482v-94.37z" ></path></symbol><symbol id="icon-drag" viewBox="0 0 1024 1024"><path d="M358.4 204.8m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 204.8m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 409.6m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M358.4 614.4m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M358.4 819.2m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 819.2m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M358.4 409.6m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 614.4m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path></symbol><symbol id="icon-disabled" viewBox="0 0 1024 1024"><path d="M752.384 412.1088h-55.6544V300.3904C696.7296 183.6544 608.512 102.4 501.76 102.4 395.0592 102.4 306.8928 183.6544 306.8928 300.3904V407.04H251.1872c-27.8016 0-46.3872 25.344-46.3872 50.7392v385.8432c0 30.464 23.1936 50.7904 46.3872 50.7904h501.248c27.8016 0 46.3872-25.3952 46.3872-50.7904V462.848c0-30.464-18.5856-50.7392-46.4384-50.7392z m-222.72 253.8496v86.272c0 5.12-4.6592 5.12-4.6592 5.12h-41.7792c-4.608 0-4.608-5.12-4.608-5.12v-86.272c-23.2448-10.1888-37.12-30.464-37.12-55.8592 0-35.5328 27.8016-66.048 60.3136-66.048 32.4608 0 60.3136 30.5152 60.3136 66.048 0 25.3952-13.9264 45.6704-32.4608 55.808z m92.7744-253.8496H381.1328V295.3216c0-60.928 55.7056-111.6672 120.6784-111.6672 64.9728 0 120.6272 50.7392 120.6272 111.6672v116.736z" ></path></symbol><symbol id="icon-tip" viewBox="0 0 1024 1024"><path d="M512 19.017a492.983 492.983 0 1 1-0.073 986.039A492.983 492.983 0 0 1 512 19.09z m0 48.786a444.27 444.27 0 1 0 0.073 888.467A444.27 444.27 0 0 0 512 67.803z m22.016 317.367c37.45 3.877 55.15 33.792 48.64 66.707l-78.41 259.072c-1.023 5.924 2.049 11.849 7.315 13.677 5.852 2.048 17.92-5.412 27.648-16.091l47.104-56.613c1.244 9.509-0.878 26.185-0.878 32.549-35.328 53.028-71.314 93.988-131.876 93.988-41.326-6.729-58.222-36.352-49.298-66.56l77.897-257.828c1.901-6.364-1.244-13.02-7.022-15.068-5.778-2.048-17.042 5.413-26.77 16.092l-47.031 56.612c-1.317-9.508-0.146-25.234-0.146-31.597 35.328-53.029 93.403-94.94 132.827-94.94z m40.96-144.823c29.77 0 53.906 21.724 53.906 53.614 0 31.964-24.137 53.614-53.906 53.614a52.297 52.297 0 0 1-53.906-53.614c0-31.89 24.137-53.614 53.906-53.614z" ></path></symbol><symbol id="icon-reset" viewBox="0 0 1024 1024"><path d="M482.464768 117.691733L364.363435 66.696533A49.288533 49.288533 0 0 0 325.314901 157.013333a417.9968 417.9968 0 0 0 53.8624 789.845334 49.288533 49.288533 0 0 0 25.668267-95.163734 319.624533 319.624533 0 0 1-29.559467-608.324266l-7.850666 18.158933a49.152 49.152 0 0 0 26.0096 64.580267 49.288533 49.288533 0 0 0 64.580266-24.9856l50.107734-118.9888a49.425067 49.425067 0 0 0-25.668267-64.512z m429.602133 421.410134A418.884267 418.884267 0 0 0 614.424235 126.839467a49.288533 49.288533 0 1 0-28.398934 94.344533 319.829333 319.829333 0 0 1 56.9344 589.824 49.152 49.152 0 0 0-86.152533-47.240533l-67.106133 109.431466a48.9472 48.9472 0 0 0 16.110933 67.925334l109.294933 67.9936a49.288533 49.288533 0 1 0 50.9952-83.7632l-15.018666-9.352534a418.679467 418.679467 0 0 0 261.051733-376.900266z" ></path></symbol><symbol id="icon-view" viewBox="0 0 1024 1024"><path d="M801.606 104.727a117.667 117.667 0 0 1 117.434 109.94l0.233 7.727v246.598a34.91 34.91 0 0 1-69.493 4.748l-0.325-4.748V222.394c0-24.669-18.619-44.963-42.636-47.57l-5.213-0.279H222.394c-24.669 0-44.963 18.619-47.57 42.636l-0.279 5.213v579.212c0 24.669 18.619 44.963 42.636 47.57l5.213 0.279h243.247a34.91 34.91 0 0 1 4.747 69.492l-4.747 0.326H222.394a117.667 117.667 0 0 1-117.434-109.94l-0.233-7.727V222.394a117.667 117.667 0 0 1 109.94-117.434l7.727-0.233h579.212zM448.559 585.728a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h116.364z m232.727-232.727a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h349.09z" ></path><path d="M699.764 490.356a186.182 186.182 0 1 1 0 372.364 186.182 186.182 0 0 1 0-372.364z m0 69.819a116.364 116.364 0 1 0 0 232.727 116.364 116.364 0 0 0 0-232.727z" ></path><path d="M798.673 769.35a34.91 34.91 0 0 1 49.339 0l82.292 82.246a34.91 34.91 0 1 1-49.338 49.384l-82.293-82.292a34.91 34.91 0 0 1 0-49.338z" ></path></symbol><symbol id="icon-search" viewBox="0 0 1024 1024"><path d="M801.606 104.727a117.667 117.667 0 0 1 117.434 109.94l0.233 7.727v246.598a34.91 34.91 0 0 1-69.493 4.748l-0.325-4.748V222.394c0-24.669-18.619-44.963-42.636-47.57l-5.213-0.279H222.394c-24.669 0-44.963 18.619-47.57 42.636l-0.279 5.213v579.212c0 24.669 18.619 44.963 42.636 47.57l5.213 0.279h243.247a34.91 34.91 0 0 1 4.747 69.492l-4.747 0.326H222.394a117.667 117.667 0 0 1-117.434-109.94l-0.233-7.727V222.394a117.667 117.667 0 0 1 109.94-117.434l7.727-0.233h579.212zM448.559 585.728a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h116.364z m232.727-232.727a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h349.09z" ></path><path d="M699.764 490.356a186.182 186.182 0 1 1 0 372.364 186.182 186.182 0 0 1 0-372.364z m0 69.819a116.364 116.364 0 1 0 0 232.727 116.364 116.364 0 0 0 0-232.727z" ></path><path d="M798.673 769.35a34.91 34.91 0 0 1 49.339 0l82.292 82.246a34.91 34.91 0 1 1-49.338 49.384l-82.293-82.292a34.91 34.91 0 0 1 0-49.338z" ></path></symbol></svg>', function (e) {
|
|
3
|
+
window._iconfont_svg_string_4063056 = '<svg><symbol id="icon-disabled1" viewBox="0 0 1024 1024"><path d="M752.384 412.1088h-55.6544V300.3904C696.7296 183.6544 608.512 102.4 501.76 102.4 395.0592 102.4 306.8928 183.6544 306.8928 300.3904V407.04H251.1872c-27.8016 0-46.3872 25.344-46.3872 50.7392v385.8432c0 30.464 23.1936 50.7904 46.3872 50.7904h501.248c27.8016 0 46.3872-25.3952 46.3872-50.7904V462.848c0-30.464-18.5856-50.7392-46.4384-50.7392z m-222.72 253.8496v86.272c0 5.12-4.6592 5.12-4.6592 5.12h-41.7792c-4.608 0-4.608-5.12-4.608-5.12v-86.272c-23.2448-10.1888-37.12-30.464-37.12-55.8592 0-35.5328 27.8016-66.048 60.3136-66.048 32.4608 0 60.3136 30.5152 60.3136 66.048 0 25.3952-13.9264 45.6704-32.4608 55.808z m92.7744-253.8496H381.1328V295.3216c0-60.928 55.7056-111.6672 120.6784-111.6672 64.9728 0 120.6272 50.7392 120.6272 111.6672v116.736z" fill="#BCBCBC" ></path></symbol><symbol id="icon-drag" viewBox="0 0 1024 1024"><path d="M670.72 179.2m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z" fill="#939599" ></path><path d="M670.72 506.88m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z" fill="#939599" ></path><path d="M670.72 834.56m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z" fill="#939599" ></path><path d="M343.04 179.2m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z" fill="#939599" ></path><path d="M343.04 506.88m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z" fill="#939599" ></path><path d="M343.04 834.56m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z" fill="#939599" ></path></symbol><symbol id="icon-plus" viewBox="0 0 1024 1024"><path d="M576 64H448v384H64v128h384v384h128V576h384V448H576z" ></path></symbol><symbol id="icon-zengjia" viewBox="0 0 1024 1024"><path d="M939.94 459.073h-377.6V83.519H462.055v375.554h-377.6v100.284h377.6v379.646H562.34V559.357h377.6z" fill="#272636" ></path></symbol><symbol id="icon-dot" viewBox="0 0 1024 1024"><path d="M512 624a112 112 0 1 0 0-224 112 112 0 0 0 0 224z" ></path></symbol><symbol id="icon-solid-close" viewBox="0 0 1024 1024"><path d="M516.707 66.513C272.86 66.513 75.16 264.212 75.16 508.06S272.86 949.607 516.707 949.607 958.254 751.91 958.254 508.06 760.556 66.513 516.707 66.513z m227.067 601.691c18.419 18.42 18.419 48.504 0 66.923s-48.504 18.42-66.923 0L516.707 574.983 356.563 735.127c-18.419 18.42-48.503 18.42-66.923 0s-18.419-48.504 0-66.923L449.784 508.06 289.64 347.916c-18.419-18.419-18.419-48.503 0-66.922 18.42-18.42 48.504-18.42 66.923 0l160.144 160.144 160.144-160.144c18.42-18.42 48.504-18.42 66.923 0 18.419 18.419 18.419 48.503 0 66.922L583.63 508.06l160.144 160.144z" ></path></symbol><symbol id="icon-arrow" viewBox="0 0 1024 1024"><path d="M832 0a192 192 0 0 1 192 192v640a192 192 0 0 1-192 192H192A192 192 0 0 1 0 832V192A192 192 0 0 1 192 0z m0 42.667H192A149.333 149.333 0 0 0 42.667 192v640A149.333 149.333 0 0 0 192 981.333h640A149.333 149.333 0 0 0 981.333 832V192A149.333 149.333 0 0 0 832 42.667z m-94.165 329.386l60.33 60.331L512 718.592 225.835 432.384l60.33-60.33L512 597.887l225.835-225.835z" ></path></symbol><symbol id="icon-delete" viewBox="0 0 1024 1024"><path d="M662.08 121.472v64H361.92v-64z m206.4 159.488v64H155.52v-64z" ></path><path d="M280.512 303.232l-0.064 530.816h460.096V303.232h64v594.88H216.512v-594.88z" ></path><path d="M431.424 440.704v337.728h-64V440.704z m225.152 0v337.728h-64V440.704z" ></path></symbol><symbol id="icon-catalog" viewBox="0 0 1075 1024"><path d="M1044.429 758.323v128.973H313.702V758.272h730.727z m-833.127 0v128.973H71.732V758.272h139.57zM1044.43 447.54v128.922H313.702V447.539h730.727z m-833.127 0v128.922H71.732V447.539h139.57z m833.127-310.784v128.922H313.702V136.704h730.727z m-833.127 0v128.922H71.732V136.704h139.57z" ></path></symbol><symbol id="icon-customColumn" viewBox="0 0 1024 1024"><path d="M170.368 128h0.576c28.288 0 42.368 14.848 42.368 44.608v678.784c0 29.76-14.08 44.608-42.368 44.608h-0.576C142.144 896 128 881.152 128 851.392V172.608c0-29.76 14.08-44.608 42.368-44.608z m682.752 0h0.576c28.224 0 42.368 14.848 42.368 44.608v678.784c0 29.76-14.08 44.608-42.368 44.608h-0.576c-28.288 0-42.368-14.848-42.368-44.608V172.608c0-29.76 14.08-44.608 42.368-44.608z m-453.632 0h225.024c38.784 0 58.176 20.16 58.176 60.416v647.168c0 40.32-19.392 60.416-58.176 60.416H399.488c-38.784 0-58.176-20.16-58.176-60.416V188.416c0-40.32 19.392-60.416 58.176-60.416z" ></path></symbol><symbol id="icon-copy" viewBox="0 0 1024 1024"><path d="M363.746 0h565.883c52.05 0 94.286 42.236 94.286 94.285V660.17c0 52.049-42.237 94.285-94.286 94.285H363.746c-52.05 0-94.286-42.236-94.286-94.285V94.285C269.46 42.236 311.697 0 363.746 0z m0 80.804a13.482 13.482 0 0 0-13.482 13.481V660.17c0 7.423 6.058 13.482 13.482 13.482h565.883c7.424 0 13.482-6.059 13.482-13.482V94.285a13.482 13.482 0 0 0-13.482-13.481H363.746z m309.905 754.54a40.445 40.445 0 1 1 80.803 0v94.37c0 52.05-42.236 94.286-94.285 94.286H94.285C42.236 1023.915 0 981.678 0 929.63V363.745c0-52.05 42.236-94.286 94.285-94.286h94.371a40.445 40.445 0 0 1 0 80.804h-94.37a13.482 13.482 0 0 0-13.482 13.482v565.883c0 7.424 6.058 13.482 13.481 13.482H660.17c7.423 0 13.482-6.058 13.482-13.482v-94.37z" ></path></symbol><symbol id="icon-drag-old" viewBox="0 0 1024 1024"><path d="M358.4 204.8m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 204.8m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 409.6m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M358.4 614.4m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M358.4 819.2m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 819.2m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M358.4 409.6m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path><path d="M665.6 614.4m-51.2 0a51.2 51.2 0 1 0 102.4 0 51.2 51.2 0 1 0-102.4 0Z" ></path></symbol><symbol id="icon-disabled" viewBox="0 0 1024 1024"><path d="M752.384 412.1088h-55.6544V300.3904C696.7296 183.6544 608.512 102.4 501.76 102.4 395.0592 102.4 306.8928 183.6544 306.8928 300.3904V407.04H251.1872c-27.8016 0-46.3872 25.344-46.3872 50.7392v385.8432c0 30.464 23.1936 50.7904 46.3872 50.7904h501.248c27.8016 0 46.3872-25.3952 46.3872-50.7904V462.848c0-30.464-18.5856-50.7392-46.4384-50.7392z m-222.72 253.8496v86.272c0 5.12-4.6592 5.12-4.6592 5.12h-41.7792c-4.608 0-4.608-5.12-4.608-5.12v-86.272c-23.2448-10.1888-37.12-30.464-37.12-55.8592 0-35.5328 27.8016-66.048 60.3136-66.048 32.4608 0 60.3136 30.5152 60.3136 66.048 0 25.3952-13.9264 45.6704-32.4608 55.808z m92.7744-253.8496H381.1328V295.3216c0-60.928 55.7056-111.6672 120.6784-111.6672 64.9728 0 120.6272 50.7392 120.6272 111.6672v116.736z" ></path></symbol><symbol id="icon-tip" viewBox="0 0 1024 1024"><path d="M512 19.017a492.983 492.983 0 1 1-0.073 986.039A492.983 492.983 0 0 1 512 19.09z m0 48.786a444.27 444.27 0 1 0 0.073 888.467A444.27 444.27 0 0 0 512 67.803z m22.016 317.367c37.45 3.877 55.15 33.792 48.64 66.707l-78.41 259.072c-1.023 5.924 2.049 11.849 7.315 13.677 5.852 2.048 17.92-5.412 27.648-16.091l47.104-56.613c1.244 9.509-0.878 26.185-0.878 32.549-35.328 53.028-71.314 93.988-131.876 93.988-41.326-6.729-58.222-36.352-49.298-66.56l77.897-257.828c1.901-6.364-1.244-13.02-7.022-15.068-5.778-2.048-17.042 5.413-26.77 16.092l-47.031 56.612c-1.317-9.508-0.146-25.234-0.146-31.597 35.328-53.029 93.403-94.94 132.827-94.94z m40.96-144.823c29.77 0 53.906 21.724 53.906 53.614 0 31.964-24.137 53.614-53.906 53.614a52.297 52.297 0 0 1-53.906-53.614c0-31.89 24.137-53.614 53.906-53.614z" ></path></symbol><symbol id="icon-reset" viewBox="0 0 1024 1024"><path d="M482.464768 117.691733L364.363435 66.696533A49.288533 49.288533 0 0 0 325.314901 157.013333a417.9968 417.9968 0 0 0 53.8624 789.845334 49.288533 49.288533 0 0 0 25.668267-95.163734 319.624533 319.624533 0 0 1-29.559467-608.324266l-7.850666 18.158933a49.152 49.152 0 0 0 26.0096 64.580267 49.288533 49.288533 0 0 0 64.580266-24.9856l50.107734-118.9888a49.425067 49.425067 0 0 0-25.668267-64.512z m429.602133 421.410134A418.884267 418.884267 0 0 0 614.424235 126.839467a49.288533 49.288533 0 1 0-28.398934 94.344533 319.829333 319.829333 0 0 1 56.9344 589.824 49.152 49.152 0 0 0-86.152533-47.240533l-67.106133 109.431466a48.9472 48.9472 0 0 0 16.110933 67.925334l109.294933 67.9936a49.288533 49.288533 0 1 0 50.9952-83.7632l-15.018666-9.352534a418.679467 418.679467 0 0 0 261.051733-376.900266z" ></path></symbol><symbol id="icon-view" viewBox="0 0 1024 1024"><path d="M801.606 104.727a117.667 117.667 0 0 1 117.434 109.94l0.233 7.727v246.598a34.91 34.91 0 0 1-69.493 4.748l-0.325-4.748V222.394c0-24.669-18.619-44.963-42.636-47.57l-5.213-0.279H222.394c-24.669 0-44.963 18.619-47.57 42.636l-0.279 5.213v579.212c0 24.669 18.619 44.963 42.636 47.57l5.213 0.279h243.247a34.91 34.91 0 0 1 4.747 69.492l-4.747 0.326H222.394a117.667 117.667 0 0 1-117.434-109.94l-0.233-7.727V222.394a117.667 117.667 0 0 1 109.94-117.434l7.727-0.233h579.212zM448.559 585.728a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h116.364z m232.727-232.727a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h349.09z" ></path><path d="M699.764 490.356a186.182 186.182 0 1 1 0 372.364 186.182 186.182 0 0 1 0-372.364z m0 69.819a116.364 116.364 0 1 0 0 232.727 116.364 116.364 0 0 0 0-232.727z" ></path><path d="M798.673 769.35a34.91 34.91 0 0 1 49.339 0l82.292 82.246a34.91 34.91 0 1 1-49.338 49.384l-82.293-82.292a34.91 34.91 0 0 1 0-49.338z" ></path></symbol><symbol id="icon-search" viewBox="0 0 1024 1024"><path d="M801.606 104.727a117.667 117.667 0 0 1 117.434 109.94l0.233 7.727v246.598a34.91 34.91 0 0 1-69.493 4.748l-0.325-4.748V222.394c0-24.669-18.619-44.963-42.636-47.57l-5.213-0.279H222.394c-24.669 0-44.963 18.619-47.57 42.636l-0.279 5.213v579.212c0 24.669 18.619 44.963 42.636 47.57l5.213 0.279h243.247a34.91 34.91 0 0 1 4.747 69.492l-4.747 0.326H222.394a117.667 117.667 0 0 1-117.434-109.94l-0.233-7.727V222.394a117.667 117.667 0 0 1 109.94-117.434l7.727-0.233h579.212zM448.559 585.728a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h116.364z m232.727-232.727a34.91 34.91 0 1 1 0 69.818H332.195a34.91 34.91 0 1 1 0-69.818h349.09z" ></path><path d="M699.764 490.356a186.182 186.182 0 1 1 0 372.364 186.182 186.182 0 0 1 0-372.364z m0 69.819a116.364 116.364 0 1 0 0 232.727 116.364 116.364 0 0 0 0-232.727z" ></path><path d="M798.673 769.35a34.91 34.91 0 0 1 49.339 0l82.292 82.246a34.91 34.91 0 1 1-49.338 49.384l-82.293-82.292a34.91 34.91 0 0 1 0-49.338z" ></path></symbol></svg>', function (o) {
|
|
4
4
|
var t = (t = document.getElementsByTagName("script"))[t.length - 1],
|
|
5
5
|
a = t.getAttribute("data-injectcss"),
|
|
6
6
|
t = t.getAttribute("data-disable-injectsvg");
|
|
7
7
|
if (!t) {
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
i,
|
|
11
|
-
l,
|
|
8
|
+
var e,
|
|
9
|
+
_l,
|
|
12
10
|
h,
|
|
13
|
-
|
|
11
|
+
i,
|
|
12
|
+
c,
|
|
13
|
+
d = function d(t, a) {
|
|
14
14
|
a.parentNode.insertBefore(t, a);
|
|
15
15
|
};
|
|
16
|
-
if (a && !
|
|
17
|
-
|
|
16
|
+
if (a && !o.__iconfont__svg__cssinject__) {
|
|
17
|
+
o.__iconfont__svg__cssinject__ = !0;
|
|
18
18
|
try {
|
|
19
19
|
document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
|
|
20
20
|
} catch (t) {
|
|
21
21
|
console && console.log(t);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
e = function e() {
|
|
25
25
|
var t,
|
|
26
26
|
a = document.createElement("div");
|
|
27
|
-
a.innerHTML =
|
|
28
|
-
}, document.addEventListener ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) ? setTimeout(
|
|
29
|
-
document.removeEventListener("DOMContentLoaded",
|
|
30
|
-
}, document.addEventListener("DOMContentLoaded",
|
|
31
|
-
"complete" ==
|
|
27
|
+
a.innerHTML = o._iconfont_svg_string_4063056, (a = a.getElementsByTagName("svg")[0]) && (a.setAttribute("aria-hidden", "true"), a.style.position = "absolute", a.style.width = 0, a.style.height = 0, a.style.overflow = "hidden", a = a, (t = document.body).firstChild ? d(a, t.firstChild) : t.appendChild(a));
|
|
28
|
+
}, document.addEventListener ? ~["complete", "loaded", "interactive"].indexOf(document.readyState) ? setTimeout(e, 0) : (_l = function l() {
|
|
29
|
+
document.removeEventListener("DOMContentLoaded", _l, !1), e();
|
|
30
|
+
}, document.addEventListener("DOMContentLoaded", _l, !1)) : document.attachEvent && (h = e, i = o.document, c = !1, n(), i.onreadystatechange = function () {
|
|
31
|
+
"complete" == i.readyState && (i.onreadystatechange = null, m());
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
function d() {
|
|
35
|
-
h || (h = !0, i());
|
|
36
|
-
}
|
|
37
34
|
function m() {
|
|
35
|
+
c || (c = !0, h());
|
|
36
|
+
}
|
|
37
|
+
function n() {
|
|
38
38
|
try {
|
|
39
|
-
|
|
39
|
+
i.documentElement.doScroll("left");
|
|
40
40
|
} catch (t) {
|
|
41
|
-
return void setTimeout(
|
|
41
|
+
return void setTimeout(n, 50);
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
m();
|
|
44
44
|
}
|
|
45
45
|
}(window);
|
|
@@ -24,7 +24,7 @@ export interface ProTableColumn extends Omit<ColumnType<any>, 'dataIndex'> {
|
|
|
24
24
|
valueType?: ProTableValueType;
|
|
25
25
|
format?: string;
|
|
26
26
|
precision?: number;
|
|
27
|
-
code?: string | string[] | (() => string);
|
|
27
|
+
code?: string | string[] | ((text: any, record: any) => string);
|
|
28
28
|
copyable?: boolean;
|
|
29
29
|
originalTip?: boolean;
|
|
30
30
|
prefix?: string | ReactNode | ((value: any, record?: any, index?: number) => any);
|
|
@@ -3,53 +3,152 @@
|
|
|
3
3
|
|
|
4
4
|
.pro-table {
|
|
5
5
|
&.pro-table-bordered {
|
|
6
|
-
.@{ant-prefix}-table .@{ant-prefix}-table-thead>tr>th {
|
|
7
|
-
border-bottom: 1px solid #f0f0f0
|
|
6
|
+
.@{ant-prefix}-table .@{ant-prefix}-table-thead > tr > th {
|
|
7
|
+
border-bottom: 1px solid #f0f0f0;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.@{ant-prefix}-table
|
|
11
|
-
.@{ant-prefix}-table
|
|
10
|
+
.@{ant-prefix}-table > .@{ant-prefix}-table-container > .@{ant-prefix}-table-content > table,
|
|
11
|
+
.@{ant-prefix}-table > .@{ant-prefix}-table-container > .@{ant-prefix}-table-header > table {
|
|
12
12
|
border-top: 1px solid rgba(0, 0, 0, 0.06);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.@{ant-prefix}-table
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
.@{ant-prefix}-table
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
.@{ant-prefix}-table
|
|
30
|
-
|
|
15
|
+
.@{ant-prefix}-table
|
|
16
|
+
> .@{ant-prefix}-table-container
|
|
17
|
+
> .@{ant-prefix}-table-content
|
|
18
|
+
> table
|
|
19
|
+
> thead
|
|
20
|
+
> tr
|
|
21
|
+
> th,
|
|
22
|
+
.@{ant-prefix}-table
|
|
23
|
+
> .@{ant-prefix}-table-container
|
|
24
|
+
> .@{ant-prefix}-table-header
|
|
25
|
+
> table
|
|
26
|
+
> thead
|
|
27
|
+
> tr
|
|
28
|
+
> th,
|
|
29
|
+
.@{ant-prefix}-table
|
|
30
|
+
> .@{ant-prefix}-table-container
|
|
31
|
+
> .@{ant-prefix}-table-body
|
|
32
|
+
> table
|
|
33
|
+
> thead
|
|
34
|
+
> tr
|
|
35
|
+
> th,
|
|
36
|
+
.@{ant-prefix}-table
|
|
37
|
+
> .@{ant-prefix}-table-container
|
|
38
|
+
> .@{ant-prefix}-table-summary
|
|
39
|
+
> table
|
|
40
|
+
> thead
|
|
41
|
+
> tr
|
|
42
|
+
> th,
|
|
43
|
+
.@{ant-prefix}-table
|
|
44
|
+
> .@{ant-prefix}-table-container
|
|
45
|
+
> .@{ant-prefix}-table-content
|
|
46
|
+
> table
|
|
47
|
+
> tbody
|
|
48
|
+
> tr
|
|
49
|
+
> td,
|
|
50
|
+
.@{ant-prefix}-table
|
|
51
|
+
> .@{ant-prefix}-table-container
|
|
52
|
+
> .@{ant-prefix}-table-header
|
|
53
|
+
> table
|
|
54
|
+
> tbody
|
|
55
|
+
> tr
|
|
56
|
+
> td,
|
|
57
|
+
.@{ant-prefix}-table
|
|
58
|
+
> .@{ant-prefix}-table-container
|
|
59
|
+
> .@{ant-prefix}-table-body
|
|
60
|
+
> table
|
|
61
|
+
> tbody
|
|
62
|
+
> tr
|
|
63
|
+
> td,
|
|
64
|
+
.@{ant-prefix}-table
|
|
65
|
+
> .@{ant-prefix}-table-container
|
|
66
|
+
> .@{ant-prefix}-table-summary
|
|
67
|
+
> table
|
|
68
|
+
> tbody
|
|
69
|
+
> tr
|
|
70
|
+
> td,
|
|
71
|
+
.@{ant-prefix}-table
|
|
72
|
+
> .@{ant-prefix}-table-container
|
|
73
|
+
> .@{ant-prefix}-table-content
|
|
74
|
+
> table
|
|
75
|
+
> tfoot
|
|
76
|
+
> tr
|
|
77
|
+
> th,
|
|
78
|
+
.@{ant-prefix}-table
|
|
79
|
+
> .@{ant-prefix}-table-container
|
|
80
|
+
> .@{ant-prefix}-table-header
|
|
81
|
+
> table
|
|
82
|
+
> tfoot
|
|
83
|
+
> tr
|
|
84
|
+
> th,
|
|
85
|
+
.@{ant-prefix}-table
|
|
86
|
+
> .@{ant-prefix}-table-container
|
|
87
|
+
> .@{ant-prefix}-table-body
|
|
88
|
+
> table
|
|
89
|
+
> tfoot
|
|
90
|
+
> tr
|
|
91
|
+
> th,
|
|
92
|
+
.@{ant-prefix}-table
|
|
93
|
+
> .@{ant-prefix}-table-container
|
|
94
|
+
> .@{ant-prefix}-table-summary
|
|
95
|
+
> table
|
|
96
|
+
> tfoot
|
|
97
|
+
> tr
|
|
98
|
+
> th,
|
|
99
|
+
.@{ant-prefix}-table
|
|
100
|
+
> .@{ant-prefix}-table-container
|
|
101
|
+
> .@{ant-prefix}-table-content
|
|
102
|
+
> table
|
|
103
|
+
> tfoot
|
|
104
|
+
> tr
|
|
105
|
+
> td,
|
|
106
|
+
.@{ant-prefix}-table
|
|
107
|
+
> .@{ant-prefix}-table-container
|
|
108
|
+
> .@{ant-prefix}-table-header
|
|
109
|
+
> table
|
|
110
|
+
> tfoot
|
|
111
|
+
> tr
|
|
112
|
+
> td,
|
|
113
|
+
.@{ant-prefix}-table
|
|
114
|
+
> .@{ant-prefix}-table-container
|
|
115
|
+
> .@{ant-prefix}-table-body
|
|
116
|
+
> table
|
|
117
|
+
> tfoot
|
|
118
|
+
> tr
|
|
119
|
+
> td,
|
|
120
|
+
.@{ant-prefix}-table
|
|
121
|
+
> .@{ant-prefix}-table-container
|
|
122
|
+
> .@{ant-prefix}-table-summary
|
|
123
|
+
> table
|
|
124
|
+
> tfoot
|
|
125
|
+
> tr
|
|
126
|
+
> td {
|
|
31
127
|
border-right: 1px solid rgba(0, 0, 0, 0.06);
|
|
32
128
|
}
|
|
33
129
|
|
|
34
|
-
.@{ant-prefix}-table
|
|
130
|
+
.@{ant-prefix}-table
|
|
131
|
+
.@{ant-prefix}-table-tbody
|
|
132
|
+
> tr:not(.@{ant-prefix}-table-measure-row)
|
|
133
|
+
> td {
|
|
35
134
|
border-bottom: 1px solid #f0f0f0;
|
|
36
135
|
}
|
|
37
136
|
|
|
38
|
-
.@{ant-prefix}-table
|
|
137
|
+
.@{ant-prefix}-table > .@{ant-prefix}-table-container {
|
|
39
138
|
border-left: 1px solid rgba(0, 0, 0, 0.06);
|
|
40
139
|
}
|
|
41
140
|
}
|
|
42
141
|
|
|
43
142
|
.custom-column-btn {
|
|
44
|
-
display
|
|
143
|
+
display: inline-flex;
|
|
45
144
|
align-items: center;
|
|
46
145
|
|
|
47
146
|
&:hover,
|
|
48
147
|
&:visited,
|
|
49
148
|
&:focus {
|
|
50
|
-
color
|
|
51
|
-
border : 1px solid #d9d9d9;
|
|
149
|
+
color: unset;
|
|
52
150
|
background: unset;
|
|
151
|
+
border: 1px solid #d9d9d9;
|
|
53
152
|
}
|
|
54
153
|
|
|
55
154
|
.anticon {
|
|
@@ -58,7 +157,8 @@
|
|
|
58
157
|
}
|
|
59
158
|
|
|
60
159
|
.@{ant-prefix}-table-tbody {
|
|
61
|
-
.@{ant-prefix}-table-cell-fix-left,
|
|
160
|
+
.@{ant-prefix}-table-cell-fix-left,
|
|
161
|
+
.@{ant-prefix}-table-cell-fix-right {
|
|
62
162
|
background: unset !important;
|
|
63
163
|
}
|
|
64
164
|
}
|
|
@@ -75,8 +175,8 @@
|
|
|
75
175
|
|
|
76
176
|
.@{ant-prefix}-table-cell .varied-cell {
|
|
77
177
|
margin-left: -8px;
|
|
78
|
-
background: var(--zaui-contract-bg, #fffaa1);
|
|
79
178
|
padding: var(--zaui-space-size-xs, 4px) var(--zaui-space-size-sm, 8px);
|
|
179
|
+
background: var(--zaui-contract-bg, #fffaa1);
|
|
80
180
|
border-radius: var(--zaui-border-radius, 4px);
|
|
81
181
|
}
|
|
82
182
|
|
|
@@ -86,17 +186,15 @@
|
|
|
86
186
|
}
|
|
87
187
|
|
|
88
188
|
.copyable-table-cell {
|
|
89
|
-
|
|
90
|
-
|
|
91
189
|
.@{ant-prefix}-typography {
|
|
190
|
+
display: flex;
|
|
191
|
+
align-items: center;
|
|
92
192
|
margin-bottom: 0;
|
|
93
|
-
display : flex;
|
|
94
|
-
align-items : center;
|
|
95
193
|
}
|
|
96
194
|
|
|
97
195
|
.drag-icon {
|
|
98
|
-
|
|
99
|
-
display
|
|
196
|
+
& > div {
|
|
197
|
+
display: flex;
|
|
100
198
|
align-items: center;
|
|
101
199
|
}
|
|
102
200
|
}
|
|
@@ -108,15 +206,18 @@
|
|
|
108
206
|
}
|
|
109
207
|
|
|
110
208
|
svg {
|
|
111
|
-
width : 14px;
|
|
112
|
-
height : 14px;
|
|
113
|
-
fill : #3f3f3f;
|
|
114
209
|
display: inline-block;
|
|
210
|
+
width: 16px;
|
|
211
|
+
height: 16px;
|
|
212
|
+
fill: var(--zaui-brand, #006aff);
|
|
115
213
|
}
|
|
116
214
|
}
|
|
117
215
|
|
|
118
216
|
&.pro-table-no-stripe {
|
|
119
|
-
.@{ant-prefix}-table.@{ant-prefix}-table-scroll-horizontal
|
|
217
|
+
.@{ant-prefix}-table.@{ant-prefix}-table-scroll-horizontal
|
|
218
|
+
.@{ant-prefix}-table-tbody
|
|
219
|
+
.@{ant-prefix}-table-row:nth-child(n)
|
|
220
|
+
> td {
|
|
120
221
|
background: var(--zaui-base-bg, #ffffff);
|
|
121
222
|
}
|
|
122
223
|
}
|
|
@@ -124,10 +225,9 @@
|
|
|
124
225
|
.@{ant-prefix}-table-thead {
|
|
125
226
|
.@{ant-prefix}-dropdown-trigger {
|
|
126
227
|
&.@{ant-prefix}-dropdown-open {
|
|
127
|
-
|
|
128
228
|
.anticon-down {
|
|
229
|
+
transform: rotateZ(180deg);
|
|
129
230
|
transition: transform 0.3s;
|
|
130
|
-
transform : rotateZ(180deg);
|
|
131
231
|
}
|
|
132
232
|
}
|
|
133
233
|
}
|
|
@@ -137,12 +237,12 @@
|
|
|
137
237
|
position: relative;
|
|
138
238
|
|
|
139
239
|
.pro-table-resizable-line {
|
|
140
|
-
position
|
|
141
|
-
|
|
142
|
-
|
|
240
|
+
position: absolute;
|
|
241
|
+
top: 0;
|
|
242
|
+
left: 100px;
|
|
243
|
+
width: 0;
|
|
244
|
+
height: 100%;
|
|
143
245
|
border-left: 1px solid var(--zaui-brand, #006aff);
|
|
144
|
-
height : 100%;
|
|
145
|
-
left : 100px;
|
|
146
246
|
}
|
|
147
247
|
}
|
|
148
248
|
|
|
@@ -169,22 +269,21 @@
|
|
|
169
269
|
}
|
|
170
270
|
|
|
171
271
|
.column-config {
|
|
172
|
-
display
|
|
272
|
+
display: flex;
|
|
173
273
|
justify-content: space-between;
|
|
174
|
-
margin-bottom
|
|
274
|
+
margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
|
|
175
275
|
|
|
176
276
|
.right-actions {
|
|
177
|
-
display
|
|
277
|
+
display: flex;
|
|
178
278
|
align-items: center;
|
|
179
279
|
|
|
180
|
-
|
|
181
|
-
|
|
280
|
+
> .@{ant-prefix}-btn {
|
|
182
281
|
&:hover,
|
|
183
282
|
&:visited,
|
|
184
283
|
&:focus {
|
|
185
|
-
color
|
|
186
|
-
border : 1px solid #d9d9d9;
|
|
284
|
+
color: unset;
|
|
187
285
|
background: unset;
|
|
286
|
+
border: 1px solid #d9d9d9;
|
|
188
287
|
}
|
|
189
288
|
}
|
|
190
289
|
|
|
@@ -209,15 +308,15 @@
|
|
|
209
308
|
}
|
|
210
309
|
}
|
|
211
310
|
|
|
212
|
-
.@{ant-prefix}-table .@{ant-prefix}-table-thead>tr>th {
|
|
311
|
+
.@{ant-prefix}-table .@{ant-prefix}-table-thead > tr > th {
|
|
312
|
+
white-space: nowrap;
|
|
313
|
+
background: var(--zaui-table-header-bg, #f2f3f5);
|
|
213
314
|
border-bottom: 0;
|
|
214
|
-
white-space : nowrap;
|
|
215
|
-
background : var(--zaui-table-header-bg, #f2f3f5);
|
|
216
315
|
|
|
217
316
|
.pro-table-th-cell {
|
|
218
|
-
width
|
|
219
|
-
overflow
|
|
220
|
-
white-space
|
|
317
|
+
width: 100%;
|
|
318
|
+
overflow: hidden;
|
|
319
|
+
white-space: nowrap;
|
|
221
320
|
text-overflow: ellipsis;
|
|
222
321
|
}
|
|
223
322
|
|
|
@@ -232,20 +331,19 @@
|
|
|
232
331
|
}
|
|
233
332
|
|
|
234
333
|
.pro-table-tooltip {
|
|
235
|
-
display
|
|
334
|
+
display: inline-flex;
|
|
236
335
|
align-items: center;
|
|
237
336
|
|
|
238
337
|
.icon-tip {
|
|
239
|
-
|
|
240
338
|
div {
|
|
241
|
-
width
|
|
339
|
+
width: 14px;
|
|
242
340
|
height: 14px;
|
|
243
341
|
|
|
244
342
|
svg {
|
|
343
|
+
width: 14px;
|
|
344
|
+
height: 14px;
|
|
245
345
|
margin-left: 8px;
|
|
246
|
-
|
|
247
|
-
height : 14px;
|
|
248
|
-
fill : #909090;
|
|
346
|
+
fill: #909090;
|
|
249
347
|
}
|
|
250
348
|
}
|
|
251
349
|
}
|
|
@@ -253,15 +351,15 @@
|
|
|
253
351
|
}
|
|
254
352
|
|
|
255
353
|
.@{ant-prefix}-table.@{ant-prefix}-table-bordered {
|
|
256
|
-
.@{ant-prefix}-table-thead>tr>th {
|
|
354
|
+
.@{ant-prefix}-table-thead > tr > th {
|
|
257
355
|
border-bottom: 1px solid #f0f0f0;
|
|
258
356
|
}
|
|
259
357
|
|
|
260
|
-
.@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-placeholder)>td {
|
|
358
|
+
.@{ant-prefix}-table-tbody > tr:not(.@{ant-prefix}-table-placeholder) > td {
|
|
261
359
|
border-bottom: 1px solid #f0f0f0;
|
|
262
360
|
}
|
|
263
361
|
|
|
264
|
-
.@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-measure-row)>td {
|
|
362
|
+
.@{ant-prefix}-table-tbody > tr:not(.@{ant-prefix}-table-measure-row) > td {
|
|
265
363
|
border-bottom: 1px solid #f0f0f0;
|
|
266
364
|
}
|
|
267
365
|
}
|
|
@@ -270,16 +368,16 @@
|
|
|
270
368
|
background: var(--zaui-base-bg, #ffffff) !important;
|
|
271
369
|
}
|
|
272
370
|
|
|
273
|
-
.@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-placeholder)>td {
|
|
371
|
+
.@{ant-prefix}-table-tbody > tr:not(.@{ant-prefix}-table-placeholder) > td {
|
|
274
372
|
border-bottom: 0;
|
|
275
373
|
}
|
|
276
374
|
|
|
277
|
-
.@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-measure-row)>td {
|
|
375
|
+
.@{ant-prefix}-table-tbody > tr:not(.@{ant-prefix}-table-measure-row) > td {
|
|
278
376
|
border-bottom: 0;
|
|
279
377
|
}
|
|
280
378
|
|
|
281
379
|
.react-resizable {
|
|
282
|
-
position
|
|
380
|
+
position: relative;
|
|
283
381
|
background-clip: padding-box;
|
|
284
382
|
|
|
285
383
|
.@{ant-prefix}-table-filter-trigger {
|
|
@@ -289,51 +387,51 @@
|
|
|
289
387
|
|
|
290
388
|
.react-resizable-handle {
|
|
291
389
|
position: absolute;
|
|
292
|
-
right
|
|
293
|
-
bottom
|
|
294
|
-
z-index
|
|
295
|
-
width
|
|
296
|
-
height
|
|
297
|
-
cursor
|
|
390
|
+
right: -5px;
|
|
391
|
+
bottom: 0;
|
|
392
|
+
z-index: 1;
|
|
393
|
+
width: 10px;
|
|
394
|
+
height: 100%;
|
|
395
|
+
cursor: col-resize;
|
|
298
396
|
|
|
299
397
|
&::before {
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
left
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
398
|
+
position: absolute;
|
|
399
|
+
top: 50%;
|
|
400
|
+
left: 50%;
|
|
401
|
+
width: 1px;
|
|
402
|
+
height: 18px;
|
|
403
|
+
background: #dcdcdc;
|
|
404
|
+
transform: translateY(-50%);
|
|
405
|
+
content: '';
|
|
308
406
|
}
|
|
309
407
|
|
|
310
408
|
&.active::before,
|
|
311
409
|
&:hover::before {
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
left
|
|
315
|
-
height
|
|
316
|
-
bottom : 0;
|
|
410
|
+
position: absolute;
|
|
411
|
+
bottom: 0;
|
|
412
|
+
left: 50%;
|
|
413
|
+
height: 100%;
|
|
317
414
|
border-left: 5px solid var(--zaui-brand, #006aff);
|
|
415
|
+
content: '';
|
|
318
416
|
}
|
|
319
417
|
}
|
|
320
418
|
|
|
321
419
|
.@{ant-prefix}-table-tbody tr td .@{ant-prefix}-checkbox-wrapper-checked.checkbox-disabled {
|
|
420
|
+
cursor: not-allowed;
|
|
421
|
+
opacity: 0.5;
|
|
322
422
|
pointer-events: none;
|
|
323
|
-
cursor : not-allowed;
|
|
324
|
-
opacity : 0.5;
|
|
325
423
|
}
|
|
326
424
|
|
|
327
425
|
.@{ant-prefix}-pagination-options-quick-jumper input {
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
426
|
+
min-width: 32px;
|
|
427
|
+
height: 32px;
|
|
428
|
+
background: #fafafa;
|
|
429
|
+
border: unset;
|
|
332
430
|
}
|
|
333
431
|
|
|
334
432
|
.@{ant-prefix}-pagination .@{ant-prefix}-pagination-item-active a {
|
|
335
|
-
color
|
|
336
|
-
background
|
|
433
|
+
color: #ffffff;
|
|
434
|
+
background: var(--zaui-brand, #006aff) !important;
|
|
337
435
|
border-radius: var(--zaui-border-radius, 4px);
|
|
338
436
|
}
|
|
339
437
|
|
|
@@ -351,16 +449,15 @@
|
|
|
351
449
|
background-color: var(--zaui-table-header-bg, #f2f3f5);
|
|
352
450
|
|
|
353
451
|
.@{ant-prefix}-table-cell {
|
|
354
|
-
font-weight
|
|
452
|
+
font-weight: 500;
|
|
355
453
|
background-color: var(--zaui-table-header-bg, #f2f3f5);
|
|
356
|
-
border
|
|
454
|
+
border: none;
|
|
357
455
|
}
|
|
358
456
|
}
|
|
359
457
|
}
|
|
360
458
|
|
|
361
459
|
.@{ant-prefix}-dropdown-placement-bottomLeft {
|
|
362
460
|
.@{ant-prefix}-dropdown-menu-vertical.@{ant-prefix}-dropdown-menu-light {
|
|
363
|
-
|
|
364
461
|
.@{ant-prefix}-dropdown-menu-item-only-child {
|
|
365
462
|
&:hover {
|
|
366
463
|
background: rgba(0, 106, 255, 0.08);
|
package/lib/ProTable/utils.js
CHANGED
|
@@ -215,7 +215,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
215
215
|
};
|
|
216
216
|
} else if (['enumName', 'enumCodeName'].includes(valueType)) {
|
|
217
217
|
column.render = function (value, record, index) {
|
|
218
|
-
var realCode = typeof code === 'function' ? code() : code;
|
|
218
|
+
var realCode = typeof code === 'function' ? code(value, record) : code;
|
|
219
219
|
var renderValue = (0, _getEnumLabel.default)(realCode, value, valueType === 'enumCodeName');
|
|
220
220
|
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
221
221
|
var originalRenderValue = (0, _getEnumLabel.default)(realCode, originalValue, valueType === 'enumCodeName');
|