@kne-components/components-core 0.2.35 → 0.2.36
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/build/asset-manifest.json +122 -122
- package/build/index.html +1 -1
- package/build/remoteEntry.js +1 -1
- package/build/remoteEntry.js.map +1 -1
- package/build/static/css/1151.a80a80ff.chunk.css +2 -0
- package/build/static/css/{1151.59ca5cf9.chunk.css.map → 1151.a80a80ff.chunk.css.map} +1 -1
- package/build/static/css/1153.43c11830.chunk.css +2 -0
- package/build/static/css/{1153.c4a26aeb.chunk.css.map → 1153.43c11830.chunk.css.map} +1 -1
- package/build/static/css/1154.2813078b.chunk.css +2 -0
- package/build/static/css/{1154.e7a071e6.chunk.css.map → 1154.2813078b.chunk.css.map} +1 -1
- package/build/static/css/1454.72c1c83a.chunk.css +2 -0
- package/build/static/css/{1454.7525d5aa.chunk.css.map → 1454.72c1c83a.chunk.css.map} +1 -1
- package/build/static/css/1554.dc6900d7.chunk.css +2 -0
- package/build/static/css/{1554.a1f7bc3f.chunk.css.map → 1554.dc6900d7.chunk.css.map} +1 -1
- package/build/static/css/{2503.9a6915e7.chunk.css → 2503.7f8bcae5.chunk.css} +2 -2
- package/build/static/css/{2503.9a6915e7.chunk.css.map → 2503.7f8bcae5.chunk.css.map} +1 -1
- package/build/static/css/{2517.c12665b6.chunk.css → 2517.474ff59f.chunk.css} +2 -2
- package/build/static/css/{2517.c12665b6.chunk.css.map → 2517.474ff59f.chunk.css.map} +1 -1
- package/build/static/css/2716.c6d39931.chunk.css +2 -0
- package/build/static/css/{2716.2da41fed.chunk.css.map → 2716.c6d39931.chunk.css.map} +1 -1
- package/build/static/css/{2730.61fa4143.chunk.css → 2730.ee227bea.chunk.css} +2 -2
- package/build/static/css/{2730.61fa4143.chunk.css.map → 2730.ee227bea.chunk.css.map} +1 -1
- package/build/static/css/{289.2b75f2f0.chunk.css → 289.6b06b33f.chunk.css} +2 -2
- package/build/static/css/{289.2b75f2f0.chunk.css.map → 289.6b06b33f.chunk.css.map} +1 -1
- package/build/static/css/{3142.8056ad6e.chunk.css → 3142.b0539c73.chunk.css} +2 -2
- package/build/static/css/{3142.8056ad6e.chunk.css.map → 3142.b0539c73.chunk.css.map} +1 -1
- package/build/static/css/{3843.09322e7c.chunk.css → 3843.09e9528d.chunk.css} +2 -2
- package/build/static/css/{3843.09322e7c.chunk.css.map → 3843.09e9528d.chunk.css.map} +1 -1
- package/build/static/css/4029.47217019.chunk.css +2 -0
- package/build/static/css/{4029.8586dde5.chunk.css.map → 4029.47217019.chunk.css.map} +1 -1
- package/build/static/css/4265.e965e5b4.chunk.css +2 -0
- package/build/static/css/{4265.272bdab1.chunk.css.map → 4265.e965e5b4.chunk.css.map} +1 -1
- package/build/static/css/4666.5b71cb34.chunk.css +2 -0
- package/build/static/css/{4666.bae71305.chunk.css.map → 4666.5b71cb34.chunk.css.map} +1 -1
- package/build/static/css/5443.18932897.chunk.css +2 -0
- package/build/static/css/{5443.8d5d77c6.chunk.css.map → 5443.18932897.chunk.css.map} +1 -1
- package/build/static/css/5600.d3c5a68a.chunk.css +2 -0
- package/build/static/css/{5600.39eacabf.chunk.css.map → 5600.d3c5a68a.chunk.css.map} +1 -1
- package/build/static/css/{5873.7ca50242.chunk.css → 5873.892e8327.chunk.css} +2 -2
- package/build/static/css/{5873.7ca50242.chunk.css.map → 5873.892e8327.chunk.css.map} +1 -1
- package/build/static/css/{5996.7a66fd8d.chunk.css → 5996.bf590434.chunk.css} +2 -2
- package/build/static/css/{5996.7a66fd8d.chunk.css.map → 5996.bf590434.chunk.css.map} +1 -1
- package/build/static/css/{6611.326f779c.chunk.css → 6611.bebe7241.chunk.css} +2 -2
- package/build/static/css/{6611.326f779c.chunk.css.map → 6611.bebe7241.chunk.css.map} +1 -1
- package/build/static/css/6779.132d5098.chunk.css +2 -0
- package/build/static/css/{6779.29bc739c.chunk.css.map → 6779.132d5098.chunk.css.map} +1 -1
- package/build/static/css/7121.40c7a572.chunk.css +2 -0
- package/build/static/css/{7121.f5e08b37.chunk.css.map → 7121.40c7a572.chunk.css.map} +1 -1
- package/build/static/css/7227.bbafae19.chunk.css +2 -0
- package/build/static/css/{7227.d8e8b1f7.chunk.css.map → 7227.bbafae19.chunk.css.map} +1 -1
- package/build/static/css/8017.937e8dc0.chunk.css +2 -0
- package/build/static/css/{8017.b881f633.chunk.css.map → 8017.937e8dc0.chunk.css.map} +1 -1
- package/build/static/css/8332.2c7068b7.chunk.css +2 -0
- package/build/static/css/{8332.7443616d.chunk.css.map → 8332.2c7068b7.chunk.css.map} +1 -1
- package/build/static/css/{8725.3507dc59.chunk.css → 8725.3be892b4.chunk.css} +2 -2
- package/build/static/css/{8725.3507dc59.chunk.css.map → 8725.3be892b4.chunk.css.map} +1 -1
- package/build/static/css/9968.a2b648e8.chunk.css +2 -0
- package/build/static/css/{9968.268cb170.chunk.css.map → 9968.a2b648e8.chunk.css.map} +1 -1
- package/build/static/js/{1106.277a0e3e.chunk.js → 1106.ad05f6e7.chunk.js} +2 -2
- package/build/static/js/{1106.277a0e3e.chunk.js.map → 1106.ad05f6e7.chunk.js.map} +1 -1
- package/build/static/js/{1153.baaa7a89.chunk.js → 1153.05ee5aa0.chunk.js} +3 -3
- package/build/static/js/{1153.baaa7a89.chunk.js.map → 1153.05ee5aa0.chunk.js.map} +1 -1
- package/build/static/js/1154.4ce65ed1.chunk.js +2 -0
- package/build/static/js/{1154.176d7551.chunk.js.map → 1154.4ce65ed1.chunk.js.map} +1 -1
- package/build/static/js/{1454.7d6a28b2.chunk.js → 1454.c6f9daf8.chunk.js} +3 -3
- package/build/static/js/{1454.7d6a28b2.chunk.js.map → 1454.c6f9daf8.chunk.js.map} +1 -1
- package/build/static/js/1554.bdd31dbb.chunk.js +3 -0
- package/build/static/js/{1554.f47ff2d2.chunk.js.map → 1554.bdd31dbb.chunk.js.map} +1 -1
- package/build/static/js/2503.e5b327f0.chunk.js +2 -0
- package/build/static/js/{2503.43cc83a5.chunk.js.map → 2503.e5b327f0.chunk.js.map} +1 -1
- package/build/static/js/2517.3d0f541e.chunk.js +2 -0
- package/build/static/js/2517.3d0f541e.chunk.js.map +1 -0
- package/build/static/js/2716.47e84492.chunk.js +3 -0
- package/build/static/js/{2716.1d3fba70.chunk.js.map → 2716.47e84492.chunk.js.map} +1 -1
- package/build/static/js/2730.de30562c.chunk.js +2 -0
- package/build/static/js/{2730.d3708a34.chunk.js.map → 2730.de30562c.chunk.js.map} +1 -1
- package/build/static/js/2814.61ec2bae.chunk.js +2 -0
- package/build/static/js/{2814.66a35945.chunk.js.map → 2814.61ec2bae.chunk.js.map} +1 -1
- package/build/static/js/{289.6a858750.chunk.js → 289.94b23fdf.chunk.js} +2 -2
- package/build/static/js/{289.6a858750.chunk.js.map → 289.94b23fdf.chunk.js.map} +1 -1
- package/build/static/js/{3142.40b19808.chunk.js → 3142.c72c7566.chunk.js} +2 -2
- package/build/static/js/{3142.40b19808.chunk.js.map → 3142.c72c7566.chunk.js.map} +1 -1
- package/build/static/js/36.7d143ac6.chunk.js +2 -0
- package/build/static/js/36.7d143ac6.chunk.js.map +1 -0
- package/build/static/js/{3843.09600d25.chunk.js → 3843.ffa61229.chunk.js} +2 -2
- package/build/static/js/{3843.09600d25.chunk.js.map → 3843.ffa61229.chunk.js.map} +1 -1
- package/build/static/js/{4029.5f0ff2fe.chunk.js → 4029.0a1d1bca.chunk.js} +2 -2
- package/build/static/js/{4029.5f0ff2fe.chunk.js.map → 4029.0a1d1bca.chunk.js.map} +1 -1
- package/build/static/js/4265.bdfd330a.chunk.js +2 -0
- package/build/static/js/{4265.9affc5f3.chunk.js.map → 4265.bdfd330a.chunk.js.map} +1 -1
- package/build/static/js/{4666.7b50bc17.chunk.js → 4666.667cd1c0.chunk.js} +3 -3
- package/build/static/js/{4666.7b50bc17.chunk.js.map → 4666.667cd1c0.chunk.js.map} +1 -1
- package/build/static/js/5443.7e2d8f4e.chunk.js +2 -0
- package/build/static/js/{5443.630c3b75.chunk.js.map → 5443.7e2d8f4e.chunk.js.map} +1 -1
- package/build/static/js/5600.c50c4e5d.chunk.js +2 -0
- package/build/static/js/5600.c50c4e5d.chunk.js.map +1 -0
- package/build/static/js/5873.ea3f2834.chunk.js +2 -0
- package/build/static/js/{5873.44860fe0.chunk.js.map → 5873.ea3f2834.chunk.js.map} +1 -1
- package/build/static/js/{5996.a4a7103e.chunk.js → 5996.fd52aa95.chunk.js} +2 -2
- package/build/static/js/{5996.a4a7103e.chunk.js.map → 5996.fd52aa95.chunk.js.map} +1 -1
- package/build/static/js/{6569.f4355aa6.chunk.js → 6569.34e6dd9b.chunk.js} +2 -2
- package/build/static/js/{6569.f4355aa6.chunk.js.map → 6569.34e6dd9b.chunk.js.map} +1 -1
- package/build/static/js/6611.9697a951.chunk.js +2 -0
- package/build/static/js/{6611.4004e455.chunk.js.map → 6611.9697a951.chunk.js.map} +1 -1
- package/build/static/js/6779.67194918.chunk.js +2 -0
- package/build/static/js/6779.67194918.chunk.js.map +1 -0
- package/build/static/js/6915.5b103933.chunk.js +2 -0
- package/build/static/js/{6915.26aa3ead.chunk.js.map → 6915.5b103933.chunk.js.map} +1 -1
- package/build/static/js/7121.4d1c90cb.chunk.js +2 -0
- package/build/static/js/{7121.8b53b77d.chunk.js.map → 7121.4d1c90cb.chunk.js.map} +1 -1
- package/build/static/js/{7227.3a683c26.chunk.js → 7227.c68e1a10.chunk.js} +3 -3
- package/build/static/js/{7227.3a683c26.chunk.js.map → 7227.c68e1a10.chunk.js.map} +1 -1
- package/build/static/js/{7790.e165dffd.chunk.js → 7790.f10cbd46.chunk.js} +2 -2
- package/build/static/js/{7790.e165dffd.chunk.js.map → 7790.f10cbd46.chunk.js.map} +1 -1
- package/build/static/js/{8017.2d476e94.chunk.js → 8017.2330069d.chunk.js} +2 -2
- package/build/static/js/{8017.2d476e94.chunk.js.map → 8017.2330069d.chunk.js.map} +1 -1
- package/build/static/js/8332.499847f0.chunk.js +2 -0
- package/build/static/js/{8332.3d45ba7e.chunk.js.map → 8332.499847f0.chunk.js.map} +1 -1
- package/build/static/js/8725.0b5b5995.chunk.js +2 -0
- package/build/static/js/{8725.430c10fe.chunk.js.map → 8725.0b5b5995.chunk.js.map} +1 -1
- package/build/static/js/{9968.742615b0.chunk.js → 9968.889b9521.chunk.js} +2 -2
- package/build/static/js/{9968.742615b0.chunk.js.map → 9968.889b9521.chunk.js.map} +1 -1
- package/build/static/js/{main.9d11ed86.js → main.e0c812a8.js} +2 -2
- package/build/static/js/{main.9d11ed86.js.map → main.e0c812a8.js.map} +1 -1
- package/package.json +1 -1
- package/build/static/css/1151.59ca5cf9.chunk.css +0 -2
- package/build/static/css/1153.c4a26aeb.chunk.css +0 -2
- package/build/static/css/1154.e7a071e6.chunk.css +0 -2
- package/build/static/css/1454.7525d5aa.chunk.css +0 -2
- package/build/static/css/1554.a1f7bc3f.chunk.css +0 -2
- package/build/static/css/2716.2da41fed.chunk.css +0 -2
- package/build/static/css/4029.8586dde5.chunk.css +0 -2
- package/build/static/css/4265.272bdab1.chunk.css +0 -2
- package/build/static/css/4666.bae71305.chunk.css +0 -2
- package/build/static/css/5443.8d5d77c6.chunk.css +0 -2
- package/build/static/css/5600.39eacabf.chunk.css +0 -2
- package/build/static/css/6779.29bc739c.chunk.css +0 -2
- package/build/static/css/7121.f5e08b37.chunk.css +0 -2
- package/build/static/css/7227.d8e8b1f7.chunk.css +0 -2
- package/build/static/css/8017.b881f633.chunk.css +0 -2
- package/build/static/css/8332.7443616d.chunk.css +0 -2
- package/build/static/css/9968.268cb170.chunk.css +0 -2
- package/build/static/js/1154.176d7551.chunk.js +0 -2
- package/build/static/js/1554.f47ff2d2.chunk.js +0 -3
- package/build/static/js/2503.43cc83a5.chunk.js +0 -2
- package/build/static/js/2517.ddd0b8c6.chunk.js +0 -2
- package/build/static/js/2517.ddd0b8c6.chunk.js.map +0 -1
- package/build/static/js/2716.1d3fba70.chunk.js +0 -3
- package/build/static/js/2730.d3708a34.chunk.js +0 -2
- package/build/static/js/2814.66a35945.chunk.js +0 -2
- package/build/static/js/36.1a764377.chunk.js +0 -2
- package/build/static/js/36.1a764377.chunk.js.map +0 -1
- package/build/static/js/4265.9affc5f3.chunk.js +0 -2
- package/build/static/js/5443.630c3b75.chunk.js +0 -2
- package/build/static/js/5600.0d75f5de.chunk.js +0 -2
- package/build/static/js/5600.0d75f5de.chunk.js.map +0 -1
- package/build/static/js/5873.44860fe0.chunk.js +0 -2
- package/build/static/js/6611.4004e455.chunk.js +0 -2
- package/build/static/js/6779.d4b9d116.chunk.js +0 -2
- package/build/static/js/6779.d4b9d116.chunk.js.map +0 -1
- package/build/static/js/6915.26aa3ead.chunk.js +0 -2
- package/build/static/js/7121.8b53b77d.chunk.js +0 -2
- package/build/static/js/8332.3d45ba7e.chunk.js +0 -2
- package/build/static/js/8725.430c10fe.chunk.js +0 -2
- /package/build/static/js/{1153.baaa7a89.chunk.js.LICENSE.txt → 1153.05ee5aa0.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{1454.7d6a28b2.chunk.js.LICENSE.txt → 1454.c6f9daf8.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{1554.f47ff2d2.chunk.js.LICENSE.txt → 1554.bdd31dbb.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{2716.1d3fba70.chunk.js.LICENSE.txt → 2716.47e84492.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{4666.7b50bc17.chunk.js.LICENSE.txt → 4666.667cd1c0.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{7227.3a683c26.chunk.js.LICENSE.txt → 7227.c68e1a10.chunk.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
.style_table__z7kfz__MTYKL{visibility:visible}.style_table__z7kfz__MTYKL.style_is-resize__ut6RW__MTYKL{cursor:col-resize;-webkit-user-select:none;user-select:none}.style_table__z7kfz__MTYKL.style_is-resize__ut6RW__MTYKL th.style_is-moving__BJ9wR__MTYKL:not(:last-child){border-right:1px dashed var(--primary-color-1)}.style_table__z7kfz__MTYKL.style_is-resize__ut6RW__MTYKL .style_is-moving__BJ9wR__MTYKL:not(:last-child){border-right:1px dashed var(--primary-color)}.style_table__z7kfz__MTYKL.style_is-resize__ut6RW__MTYKL .ant-table-thead .ant-table-cell:hover .style_cell-resize-bar__-mlUF__MTYKL{visibility:hidden}.style_table__z7kfz__MTYKL .ant-table-thead .ant-table-cell:hover .style_cell-resize-bar__-mlUF__MTYKL,.style_table__z7kfz__MTYKL.style_is-resize__ut6RW__MTYKL .ant-table-thead .ant-table-cell.style_is-moving__BJ9wR__MTYKL .style_cell-resize-bar__-mlUF__MTYKL{visibility:visible}.style_table__z7kfz__MTYKL .ant-table-thead .ant-table-cell .style_cell-resize-bar__-mlUF__MTYKL,.style_table__z7kfz__MTYKL.style_is-computed__B9rIF__MTYKL{visibility:hidden}.style_table__z7kfz__MTYKL .ant-table-sticky-scroll{display:none}.style_table__z7kfz__MTYKL .ant-table-header.ant-table-sticky-holder,.style_table__z7kfz__MTYKL .ant-table-thead.ant-table-sticky-holder{top:var(--sticky-offset)!important}.style_table__z7kfz__MTYKL .ant-table-header{border:1px solid var(--bg-color-grey-2);border-bottom:none}.style_table__z7kfz__MTYKL .ant-table-tbody td.ant-table-cell:first-child{border-left:1px solid var(--bg-color-grey-2)}.style_table__z7kfz__MTYKL .ant-table-tbody td.ant-table-cell .ant-table-expanded-row-fixed,.style_table__z7kfz__MTYKL .ant-table-tbody td.ant-table-cell:last-child{border-right:1px solid var(--bg-color-grey-2)}.style_table__z7kfz__MTYKL .ant-table-tbody td.ant-table-cell .ant-table-expanded-row-fixed{transform:translateY(-8px)}.style_table__z7kfz__MTYKL .ant-table-wrapper .ant-table{scrollbar-color:unset!important}.style_table__z7kfz__MTYKL .ant-table-cell,.style_table__z7kfz__MTYKL .ant-table-wrapper .ant-table-tbody>tr>td.ant-table-cell{padding:8px}.style_table__z7kfz__MTYKL .ant-table-wrapper .ant-table-thead>tr>th.ant-table-cell{padding:13px 16px}.style_table__z7kfz__MTYKL th.ant-table-cell{font-weight:500!important}.style_table__z7kfz__MTYKL th.ant-table-cell:before{content:normal!important}.style_table__z7kfz__MTYKL .ant-table-row.ant-table-row-selected>.ant-table-cell{background:#fff!important}.style_table__z7kfz__MTYKL .ant-table-cell.ant-table-cell-row-hover,.style_table__z7kfz__MTYKL .ant-table-row.ant-table-row-selected>.ant-table-cell.ant-table-cell-row-hover,.style_table__z7kfz__MTYKL th.ant-table-cell{background:var(--bg-color-grey-1)!important}.style_table__z7kfz__MTYKL .ant-pagination{color:var(--font-color);font-size:var(--font-size-small)}.style_table__z7kfz__MTYKL .ant-pagination a{color:var(--font-color)}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-total-text{color:#222;font-size:var(--font-size-small);height:24px;line-height:var(--line-height-middle);margin-right:16px}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-total-text .total_text{color:var(--primary-color);font-weight:500;padding:0 2px}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-options{font-size:var(--font-size-small)}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-options .ant-select-single{width:fit-content}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-options .ant-select-single:not(.ant-select-customize-input) .ant-select-selector{font-size:var(--font-size-small);height:24px;padding:0 10px}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-options .ant-select-single .ant-select-selector{border:1px solid var(--font-color-grey-3);border-radius:2px;color:var(--font-color)}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-options .ant-select-single .ant-select-selector .ant-select-selection-item,.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-options .ant-select-single .ant-select-selector .ant-select-selection-placeholder{line-height:var(--line-height-default)!important}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper{display:inline-flex;height:24px;line-height:var(--line-height-middle);margin-left:16px}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input{border:1px solid var(--font-color-grey-3);border-radius:2px;height:24px;line-height:var(--line-height-default);margin:0 4px}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-item{border:1px solid var(--font-color-grey-3)}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-item-active{border:1px solid var(--primary-color)}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-item,.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-item-link,.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-jump-next,.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-jump-prev,.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-next,.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-prev{border-radius:2px;height:24px;line-height:var(--line-height-default);min-width:24px}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-item button,.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-item-link button,.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-jump-next button,.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-jump-prev button,.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-next button,.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-prev button{border:1px solid var(--font-color-grey-3)}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-item-active{background:var(--primary-color)}.style_table__z7kfz__MTYKL .ant-pagination .ant-pagination-item-active a{color:var(--bg-color-white);font-weight:400}.style_table__z7kfz__MTYKL .ant-table-summary table{margin-bottom:calc(var(--scroller-bar-height))}.style_table__z7kfz__MTYKL .ant-table-summary .ant-table-cell{background:var(--bg-color-grey-3)!important;color:var(--font-color);font-weight:600;height:var(--cell-height);padding:13px 16px;word-break:break-all}.style_options-column__vsPTr__MTYKL{width:100%!important}.style_options-btn__U3uoy__MTYKL.ant-btn{padding:0 8px!important}.style_options-btn__U3uoy__MTYKL.ant-btn .ant-btn-loading-icon{display:none}.style_options-btn__U3uoy__MTYKL.ant-btn:hover:not(:disabled){background:var(--primary-color-1)!important;color:var(--primary-color)}.style_tooltip__vJlkv__MTYKL{max-width:none}.style_tooltip__vJlkv__MTYKL .ant-tooltip-inner{max-height:400px;max-width:600px;overflow-y:auto}.style_cell-resize-bar__-mlUF__MTYKL{align-items:center;background:var(--primary-color-1);border-radius:4px;color:var(--primary-color-2);cursor:col-resize;display:flex;font-size:12px;height:60%;justify-content:center;position:absolute;right:2px;top:50%;transform:translateY(-50%);width:8px}.style_cell-resize-bar__-mlUF__MTYKL .iconfont{display:block;transform:scale(.8)}.style_table-changer-setting__HcrwR__MTYKL{cursor:pointer}.style_width-changer-sign__Aflyl__MTYKL{cursor:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAUCAMAAACgaw2xAAAANlBMVEUAAAAjIyMiIiIhISEjIyMiIiIhISEiIiIjIyMiIiIjIyMjIyMiIiIiIiIiIiIiIiIiIiL///8npLH6AAAAEHRSTlMAZm9zdnd7gISIjKq78fL+6p9oYgAAAAFiS0dEEeK1PboAAAA/SURBVBgZ1cGJDYAgEEXBh7JyKPj7r9ZkQyKUwAx7yhfurCyyDHe8lUlRf4auws/U7qHJmJgSLslYxIALkS192tYB4NtE/LQAAAAASUVORK5CYII=) 12 10,col-resize;left:0;position:absolute;top:0;width:8px;z-index:3}.style_width-changer-sign__Aflyl__MTYKL:after{background:var(--font-color-grey-2);content:"";display:block;height:100%;left:3px;position:absolute;top:0;width:2px}.style_columns-control__5-5ZF__MTYKL{pointer-events:none;position:absolute;visibility:hidden}.style_columns-control-content__MoeUI__MTYKL{width:300px}.style_columns-control-content__MoeUI__MTYKL .ant-collapse-content-box{padding:0!important}.style_columns-control-content__MoeUI__MTYKL .ant-list-item{border:none}.style_columns-control-content__MoeUI__MTYKL .ant-collapse-header{font-weight:700;padding:8px 16px!important}.style_columns-control-content-title__P5sXV__MTYKL{border-bottom:1px solid var(--font-color-grey-4);font-weight:700;padding:8px 16px}.style_columns-control-content-scroller__CeYRV__MTYKL{max-height:300px;overflow-y:auto}.style_columns-control-content-footer__0bQWm__MTYKL{border-top:1px solid var(--font-color-grey-4);padding:12px 16px}.style_columns-control-content-input__G6yKq__MTYKL{width:142px}.style_columns-control-content-list__aXvTs__MTYKL{padding:0}.style_columns-control-content-item__jbyyE__MTYKL{background:#fff;padding:8px 14px!important;transition:box-shadow .5s}.style_columns-control-content-item__jbyyE__MTYKL .ant-checkbox-wrapper{flex:1 1}.style_columns-control-content-item__jbyyE__MTYKL.style_is-drag__U68aw__MTYKL{cursor:move!important}.style_columns-control-content-item__jbyyE__MTYKL.style_is-drag__U68aw__MTYKL .ant-checkbox-wrapper{margin-left:2px}.style_columns-control-content-item__jbyyE__MTYKL:not(.style_is-drag__U68aw__MTYKL) .ant-checkbox-wrapper{margin-left:16px}.style_columns-control-content-item-icon__yJqZf__MTYKL{color:var(--font-color-grey-1)}.style_sortable-drag__K5hWd__MTYKL{background:#ffffffe6;box-shadow:0 2px 6px 0 #0000001a;opacity:1!important}.style_sortable-ghost__lKTd2__MTYKL{background:var(--primary-color-1);border:1px dashed var(--primary-color)!important}.style_columns-control-overlay__OxCIz__MTYKL{padding:0}.style_columns-control-overlay__OxCIz__MTYKL .ant-popover-arrow{display:none}.style_columns-control-overlay__OxCIz__MTYKL .ant-popover-inner,.style_columns-control-overlay__OxCIz__MTYKL .ant-popover-inner-content{padding:0}.style_sort-btn__KvNLr__MTYKL{align-items:center;color:var(--font-color-grey-2);cursor:pointer;display:flex;flex-direction:column;height:100%;justify-content:center;position:absolute;right:12px;top:0}.has-config-btn .style_sort-btn__KvNLr__MTYKL{right:4px}.style_sort-btn__KvNLr__MTYKL.style_sort-active-asc__RUBup__MTYKL .style_sort-icon__dB85I__MTYKL:first-child,.style_sort-btn__KvNLr__MTYKL.style_sort-active-desc__TIhMC__MTYKL .style_sort-icon__dB85I__MTYKL:last-child{color:var(--primary-color)}.style_sort-btn__KvNLr__MTYKL:hover{color:var(--font-color-grey-1)}.style_sort-icon__dB85I__MTYKL{display:block;font-size:12px;transition:color .3s}.style_sort-icon__dB85I__MTYKL:first-child{transform:translateY(8px) scale(.5)}.style_sort-icon__dB85I__MTYKL:last-child{transform:translateY(-4px) scale(.5)}.style_scroller__EfuqR__MTYKL{background:#fff;background:var(--bg-color-white,#fff);border:1px solid #eee;border:1px solid var(--font-color-grey-4,#eee);bottom:0;position:sticky;z-index:1002}.style_scroller-inner__NJSE0__MTYKL{background:#ccc;background:var(--font-color-grey-2,#ccc);border-radius:5px/50%;height:60%;position:absolute;top:50%;transform:translateY(-50%)}.style_scroller-inner__NJSE0__MTYKL.style_is-moving__jGuy0__MTYKL,.style_scroller-inner__NJSE0__MTYKL:hover{background:#666;background:var(--font-color-grey,#666)}.columns_col-item__Ym1Ec__MTYKL{display:flex;margin:5px 0;max-width:calc(var(--max-width) - 16px);padding:0 8px;width:fit-content;word-break:break-all}.columns_tag__bQZLG__MTYKL{margin:3px 0}.columns_avatar__SLPI\+__MTYKL{margin:0}.columns_hover__oAwHg__MTYKL,.columns_primary__6KtaA__MTYKL{cursor:pointer}.columns_hover__oAwHg__MTYKL:hover,.columns_primary__6KtaA__MTYKL:hover{background:var(--primary-color-1);color:var(--primary-color)}.columns_hover__oAwHg__MTYKL:hover .ant-typography,.columns_primary__6KtaA__MTYKL:hover .ant-typography{color:var(--primary-color)}.columns_loading__gtBay__MTYKL{cursor:wait;opacity:.5}.columns_primary__6KtaA__MTYKL,.columns_primary__6KtaA__MTYKL .ant-typography{color:var(--primary-color)}.columns_options__WvDZD__MTYKL{display:block;margin:0;overflow:hidden;padding:0}.style_modal__Pm3cF__MTYKL.style_large__iaqVE__MTYKL .style_modal-body-inner__4PhpA__MTYKL{min-width:1000px}.style_modal__Pm3cF__MTYKL .ant-modal-confirm-btns,.style_modal__Pm3cF__MTYKL .ant-modal-confirm-title,.style_modal__Pm3cF__MTYKL .ant-modal-footer{display:none}.style_modal__Pm3cF__MTYKL .ant-modal-content{border-radius:8px;padding:0}.style_modal__Pm3cF__MTYKL .ant-modal-confirm-body{display:block}.style_modal__Pm3cF__MTYKL .ant-spin{background:#fff;border-radius:8px}.style_modal__Pm3cF__MTYKL.tabs-modal{color:red}.style_modal__Pm3cF__MTYKL.tabs-modal .style_modal-title__dswaw__MTYKL{display:none}.style_modal__Pm3cF__MTYKL.tabs-modal .style_modal-outer__r3SkX__MTYKL{display:flex;flex-direction:column;min-height:80px}.style_modal__Pm3cF__MTYKL.tabs-modal .style_modal-body__jQJSI__MTYKL{flex:1 1}.style_modal__Pm3cF__MTYKL.tabs-modal .ant-modal-header{display:none}.style_modal__Pm3cF__MTYKL.tabs-modal .ant-modal-body{padding:0}.style_modal__Pm3cF__MTYKL.tabs-modal .ant-tabs .ant-tabs-content{min-height:80px;position:static}.style_modal__Pm3cF__MTYKL.tabs-modal .ant-tabs-nav{margin:0;padding:0 86px 0 24px}.style_modal__Pm3cF__MTYKL.tabs-modal .ant-tabs-tab{padding:17px 0}.style_modal__Pm3cF__MTYKL.ant-modal-confirm .ant-modal-confirm-paragraph{max-width:none}.style_modal__Pm3cF__MTYKL.ant-modal-confirm .ant-modal-confirm-body .ant-modal-confirm-content{margin-block-start:unset;max-width:none}.style_right-options-modal__FajDP__MTYKL{flex:none}.style_right-options-modal__FajDP__MTYKL .style_modal-body-inner__4PhpA__MTYKL{height:100%;min-height:100%;padding:0}.style_right-options-modal__FajDP__MTYKL .simplebar-content-wrapper:first-child{height:100%!important}.style_right-options-row__-mPb9__MTYKL{height:100%}.style_right-options-col__3ilee__MTYKL{box-sizing:border-box;padding:24px}.style_right-options-col__3ilee__MTYKL:first-child{border-right:1px solid var(--bg-color-grey-3)}.style_modal-title__dswaw__MTYKL{border-bottom:1px solid var(--bg-color-grey-3);color:var(--font-color);font-size:16px;font-weight:700;margin-bottom:0;padding:11px 24px}.style_modal-body__jQJSI__MTYKL{--modal-height:calc(95vh - 160px);max-height:var(--modal-height);min-height:var(--min-modal-height)}.style_modal-body__jQJSI__MTYKL .simplebar-content-wrapper:first-child{min-height:100%!important}.style_modal-body__jQJSI__MTYKL .simplebar-content-wrapper:first-child .simplebar-content:first-child{box-sizing:border-box;height:100%}.style_modal-body__jQJSI__MTYKL.style_is-disabled-scroller__PmHyk__MTYKL .style_modal-body-inner__4PhpA__MTYKL{padding:0}.style_modal-body__jQJSI__MTYKL:not(.style_is-disabled-scroller__PmHyk__MTYKL){overflow:auto}.style_modal-body-inner__4PhpA__MTYKL{box-sizing:border-box;min-height:100%;padding:24px}.style_modal-body-inner__4PhpA__MTYKL .style_content__k6MIF__MTYKL{height:100%}.style_modal-footer__-prbN__MTYKL{border-top:1px solid var(--bg-color-grey-3);padding:12px 24px}.style_modal-close__Oa5Kl__MTYKL{background:#0000;border:0;border-radius:2px;color:var(--font-color-grey);cursor:pointer;font-weight:600;inset-inline-end:17px;line-height:1;outline:0;padding:0;position:absolute;text-decoration:none;top:13px;transition:color .2s,background-color .2s;z-index:1010}.style_modal-close__Oa5Kl__MTYKL.ant-btn.ant-btn-icon-only.ant-btn-text{height:22px;width:22px}.style_confirm-modal-wrap__YFImr__MTYKL .title-icon{margin:8px 8px 0 0}.style_confirm-modal-wrap__YFImr__MTYKL .title-icon-confirm,.style_confirm-modal-wrap__YFImr__MTYKL .title-icon-info{color:#165dff}.style_confirm-modal-wrap__YFImr__MTYKL .title-icon-success{color:#00b42a}.style_confirm-modal-wrap__YFImr__MTYKL .title-icon-warning{color:#ff7d00}.style_confirm-modal-wrap__YFImr__MTYKL .title-icon-error{color:#f53f3f}.style_confirm-modal-wrap__YFImr__MTYKL .ant-modal-confirm .ant-modal-confirm-body .ant-modal-confirm-title+.ant-modal-confirm-content{max-width:100%!important}.style_confirm-modal-wrap__YFImr__MTYKL .ant-modal-confirm-body-wrapper{display:flex;flex-direction:column;min-height:96px}.style_confirm-modal-wrap__YFImr__MTYKL .ant-modal-content{border-radius:8px;box-sizing:border-box;max-width:400px}.style_confirm-modal-wrap__YFImr__MTYKL .ant-modal-confirm-btns{align-items:flex-end;display:flex;flex:1 1;justify-content:flex-end}.style_confirm-modal-wrap__YFImr__MTYKL.style_is-danger__H5110__MTYKL{--color-warning:#d14343}.style_confirm-modal-wrap__YFImr__MTYKL.style_is-danger__H5110__MTYKL .ant-modal-confirm-btns .ant-btn-primary,.style_confirm-modal-wrap__YFImr__MTYKL.style_is-danger__H5110__MTYKL .ant-popover-buttons .ant-btn-primary{background:var(--color-warning);border-color:var(--color-warning)}.style_confirm-modal-wrap__YFImr__MTYKL.style_is-danger__H5110__MTYKL .title-icon{color:var(--color-warning)}.style_confirm-modal-wrap__YFImr__MTYKL .style_title__orTym__MTYKL{color:#222;font-size:14px;font-weight:700;line-height:20px}.style_confirm-modal-wrap__YFImr__MTYKL .style_content__k6MIF__MTYKL.style_has-title__qy0Wp__MTYKL{color:var(--font-color-grey-1);line-height:20px}[data-simplebar]{align-content:flex-start;align-items:flex-start;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;position:relative}.simplebar-wrapper{height:inherit;max-height:inherit;max-width:inherit;overflow:hidden;width:inherit}.simplebar-mask{direction:inherit;height:auto!important;overflow:hidden;width:auto!important;z-index:0}.simplebar-mask,.simplebar-offset{bottom:0;left:0;margin:0;padding:0;position:absolute;right:0;top:0}.simplebar-offset{-webkit-overflow-scrolling:touch;box-sizing:inherit!important;direction:inherit!important;resize:none!important}.simplebar-content-wrapper{-ms-overflow-style:none;box-sizing:border-box!important;direction:inherit;display:block;height:100%;max-height:100%;max-width:100%;overflow:auto;position:relative;scrollbar-width:none;width:auto}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;height:0;width:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;pointer-events:none;width:100%}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;flex-basis:0;flex-grow:inherit;flex-shrink:0;float:left;height:100%;margin:0;max-height:1px;max-width:1px;overflow:hidden;padding:0;pointer-events:none;position:relative;width:100%;z-index:-1}.simplebar-height-auto-observer{box-sizing:inherit;display:block;height:1000%;left:0;min-height:1px;min-width:1px;opacity:0;top:0;width:1000%;z-index:-1}.simplebar-height-auto-observer,.simplebar-track{overflow:hidden;pointer-events:none;position:absolute}.simplebar-track{bottom:0;right:0;z-index:1}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{-webkit-touch-callout:none;pointer-events:none;-webkit-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{left:0;min-height:10px;position:absolute;right:0}.simplebar-scrollbar:before{background:#000;border-radius:7px;content:"";opacity:0;position:absolute;transition:opacity .2s linear .5s}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{bottom:2px;left:2px;right:2px;top:2px}.simplebar-track.simplebar-horizontal{height:11px;left:0}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{bottom:0;left:0;min-height:0;min-width:10px;right:auto;top:0;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{left:0;right:auto}.simplebar-dummy-scrollbar-size{-ms-overflow-style:scrollbar!important;direction:rtl;height:500px;opacity:0;overflow-x:scroll;overflow-y:hidden;position:fixed;visibility:hidden;width:500px}.simplebar-dummy-scrollbar-size>div{height:200%;margin:10px 0;width:200%}.simplebar-hide-scrollbar{-ms-overflow-style:none;left:0;overflow-y:scroll;position:fixed;scrollbar-width:none;visibility:hidden}.style_overlay__99t5t__MTYKL .ant-popover-inner{border-radius:8px;box-sizing:border-box;max-width:400px;padding:18px 24px}.style_overlay__99t5t__MTYKL .ant-popover-inner .ant-popconfirm-inner-content{display:flex;flex-direction:column;min-height:60px}.style_overlay__99t5t__MTYKL .ant-popover-inner .ant-popconfirm-buttons{align-items:flex-end;display:flex;flex:1 1;justify-content:flex-end}.style_overlay__99t5t__MTYKL .ant-popconfirm-message-icon{display:none}.style_overlay__99t5t__MTYKL .title-icon.iconfont{color:#165dff;margin:8px 8px 0 0}.style_overlay__99t5t__MTYKL.style_is-danger__gxyAB__MTYKL{--color-warning:#d14343}.style_overlay__99t5t__MTYKL.style_is-danger__gxyAB__MTYKL .ant-modal-confirm-btns .ant-btn-primary,.style_overlay__99t5t__MTYKL.style_is-danger__gxyAB__MTYKL .ant-popover-buttons .ant-btn-primary{background:var(--color-warning);border-color:var(--color-warning)}.style_overlay__99t5t__MTYKL.style_is-danger__gxyAB__MTYKL .title-icon.iconfont{color:var(--color-warning)}.style_title__EEPu2__MTYKL{color:#222;font-size:14px;font-weight:700}.style_content__mZZg5__MTYKL.style_has-title__5\+PEt__MTYKL{color:var(--font-color-grey-1)}.style_width-container__JfEbg__MTYKL{pointer-events:none;width:100%}.style_hidden-container__EdySA__MTYKL{height:0;overflow:hidden;pointer-events:none;position:relative;width:0}.style_hidden-inner__vAN59__MTYKL{position:absolute}.style_menu-list__VDttR__MTYKL .ant-dropdown-menu-item{background:#0000!important;padding:0!important}.style_menu-list__VDttR__MTYKL .style_btn-item__mp5MQ__MTYKL{border:none;color:var(--primary-color);padding:5px 8px!important;width:100%}.style_menu-list__VDttR__MTYKL .style_btn-item__mp5MQ__MTYKL.ant-btn-primary{color:#fff}.style_menu-list__VDttR__MTYKL .style_btn-item__mp5MQ__MTYKL .ant-btn-loading-icon{display:none}.style_menu-list__VDttR__MTYKL .style_btn-item__mp5MQ__MTYKL:hover:not(:disabled){background:var(--primary-color-1)!important;color:var(--primary-color)}.style_state-tag__Kx27z__MTYKL{border-radius:12px;box-sizing:border-box;display:inline-block;font-size:var(--font-size-small);height:24px;line-height:24px;padding:0 8px;width:fit-content}.style_state-tag__Kx27z__MTYKL.style_state-result-tag__CssDz__MTYKL{border-radius:2px;height:28px;line-height:var(--line-height-large)}.style_state-tag__Kx27z__MTYKL.style_state-skill-tag__k0bQE__MTYKL{line-height:22px}.style_state-tag__Kx27z__MTYKL .anticon-close,.style_state-tag__Kx27z__MTYKL .anticon-close:hover,.style_state-tag__Kx27z__MTYKL a,.style_state-tag__Kx27z__MTYKL a:hover{color:inherit}.style_state-tag__Kx27z__MTYKL.style_event-tag__cg6SE__MTYKL{cursor:pointer}.style_state-tag-filter-result-wrapper__QYS5z__MTYKL{background:var(--primary-color-1);display:flex;font-size:12px;line-height:20px!important;margin-right:8px;max-width:100%;min-height:20px;padding-left:4px;width:fit-content}.style_state-tag-filter-result-wrapper__QYS5z__MTYKL .style_state-tag-filter-name__iJaJd__MTYKL{color:var(--font-color-grey);display:inline-block;margin-right:4px;width:max-content}.style_state-tag-filter-result-wrapper__QYS5z__MTYKL .style_state-tag__Kx27z__MTYKL{background:none!important;display:inline-flex;font-size:var(--font-size-small);height:auto;line-height:20px;max-width:100%;min-height:20px;overflow:hidden;padding:0;white-space:pre-wrap}.style_state-tag-filter-result-wrapper__QYS5z__MTYKL .style_state-tag__Kx27z__MTYKL.style_state-tag-filterResult__KTkot__MTYKL{color:var(--primary-color)!important}.style_state-tag-filter-result-wrapper__QYS5z__MTYKL .style_state-tag__Kx27z__MTYKL.style_state-tag-filterResult__KTkot__MTYKL.style_show-bg__OcL\+R__MTYKL{background:var(--primary-color-1)}.style_state-tag-filter-result-wrapper__QYS5z__MTYKL .style_state-tag__Kx27z__MTYKL svg{color:var(--primary-color)}.style_tag-text__JHCt\+__MTYKL{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:block;display:-webkit-box;max-width:360px;overflow:hidden}.style_state-tag-wrapper__A-gTE__MTYKL .ant-space-item{display:flex}.style_img-outer__4QLY5__MTYKL{display:inline-block;line-height:0;min-height:32px;min-width:32px;overflow:hidden;vertical-align:middle}.style_img-outer__4QLY5__MTYKL .ant-avatar .iconfont--color,.style_img-outer__4QLY5__MTYKL .style_error__\+ECgZ__MTYKL.iconfont--color,.style_img-outer__4QLY5__MTYKL .style_img__PSExq__MTYKL,.style_img-outer__4QLY5__MTYKL .style_loading__WCOwA__MTYKL,.style_img-outer__4QLY5__MTYKL .style_loading__WCOwA__MTYKL.ant-skeleton .ant-skeleton-avatar{display:inline-block;height:100%;width:100%}.style_scroller-no-more__EH2J\+__MTYKL{color:var(--font-color-grey-2);text-align:center}.style_search-input__8aH1G__MTYKL .ant-input-group-addon{background:#0000;display:none}.style_search-input__8aH1G__MTYKL.style_is-popup__L0973__MTYKL .ant-input{border-color:#0000;box-shadow:none}.style_search-input__8aH1G__MTYKL.style_is-popup__L0973__MTYKL .ant-input-affix-wrapper{border-color:var(--primary-color);box-shadow:none!important}.style_search-input__8aH1G__MTYKL.style_is-popup__L0973__MTYKL .ant-input-search-button{background:#0000;border-color:#0000;box-shadow:none;margin-right:8px;padding:0}.style_search-input__8aH1G__MTYKL.style_is-popup__L0973__MTYKL .ant-input-search-button .iconfont{color:var(--font-color-grey-3);transition:color .5s}#style_ant-tag__nNp8-__MTYKL .ant-tag span,.style_input__SpJTE__MTYKL .ant-tag span,.style_overlay__La5mO__MTYKL .ant-tag span{display:inline-block;max-width:150px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.style_input__SpJTE__MTYKL{background-color:#fff;border:1px solid var(--font-color-grey-3);border-radius:2px;cursor:pointer;display:flex;font-size:var(--font-size-default);font-weight:400;line-height:30px;min-height:30px;min-width:150px;overflow:hidden;position:relative;width:100%}.style_input__SpJTE__MTYKL .ant-tag{transform:translateY(-2px)}.style_input__SpJTE__MTYKL.select-input-disabled{background-color:#2222220a;border-color:#d9d9d9;box-shadow:none;color:var(--font-color-disabled);cursor:not-allowed;opacity:1}.style_input__SpJTE__MTYKL.style_is-disabled__joxdl__MTYKL{background:var(--bg-color-grey-2);color:var(--font-color-grey-2);cursor:not-allowed}.style_input__SpJTE__MTYKL.style_is-disabled__joxdl__MTYKL .style_input-icon__vVd8R__MTYKL{color:var(--font-color-grey-2)}.style_input__SpJTE__MTYKL.style_is-disabled__joxdl__MTYKL .ant-tag{background:var(--bg-color-grey-2);color:var(--font-color-grey-2)}.style_input__SpJTE__MTYKL.style_is-disabled__joxdl__MTYKL .ant-tag-close-icon{display:none}.style_input__SpJTE__MTYKL.style_large__En6mL__MTYKL{line-height:40px;min-height:40px}.style_input__SpJTE__MTYKL.style_small__DY0AQ__MTYKL{line-height:24px;min-height:24px}.style_input__SpJTE__MTYKL .ant-tag{margin-right:8px}.style_input-inner__PWy27__MTYKL{display:flex;overflow:hidden;padding:0 11px;text-overflow:ellipsis;width:100%}.style_input-custom__ktsWD__MTYKL .style_input-inner__PWy27__MTYKL{padding:0}.style_display-content__hIKo\+__MTYKL{align-items:flex-start;width:100%}.style_display-content__hIKo\+__MTYKL>.ant-space-item:first-child{width:calc(100% - 16px)}.style_display-content__hIKo\+__MTYKL>.ant-space-item:last-child{color:var(--font-color-grey-2);font-size:12px;width:16px}.style_overlay-footer-extra__Q\+BiR__MTYKL{border-top:1px solid #f1f1f1}.style_selected-tag__zXZZO__MTYKL{align-items:flex-start;border-top:1px solid #f1f1f1;display:flex;padding:12px 0 12px 12px}.style_selected-tag__zXZZO__MTYKL>.ant-space-item:first-child{flex-shrink:0;line-height:24px}.style_selected-tag__zXZZO__MTYKL>.ant-space-item:last-child{flex:1 1}.style_selected-tag-list__xUIms__MTYKL{max-height:98px;overflow-y:auto;padding-top:2px;width:100%}.style_selected-tag-list__xUIms__MTYKL .simplebar-content-wrapper{width:fit-content}.style_selected-tag-inner__Z5gPL__MTYKL{display:flex;flex-wrap:wrap;gap:8px;padding-right:12px;width:fit-content}.style_text-inner__H24hY__MTYKL{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style_placeholder__x0ccE__MTYKL{color:var(--font-color-grey-2)}.style_overlay__La5mO__MTYKL.style_is-modal__JU\+uq__MTYKL .style_selected-tag__zXZZO__MTYKL{border-top:none;padding-bottom:0;padding-left:0;padding-top:0}.style_overlay__La5mO__MTYKL.style_is-modal__JU\+uq__MTYKL .style_overlay-footer-extra__Q\+BiR__MTYKL{border-top:none}.style_overlay__La5mO__MTYKL .ant-popover-inner{padding:0}.style_overlay-content__WKqp\+__MTYKL{min-width:300px;width:var(--overlay-width)}.style_input-file__3JGm6__MTYKL{overflow:hidden;position:relative}.style_input-file-input__Fb5iw__MTYKL{height:100%;left:0;opacity:0;position:absolute;top:0;width:100%}.common_search-input__P6qLg__MTYKL:not(.common_is-popup__fJq\+g__MTYKL){padding:16px 32px 0}.common_search-input__P6qLg__MTYKL.common_is-popup__fJq\+g__MTYKL{padding:12px 9px}.common_list__TKFzS__MTYKL .common_list-item__ASse7__MTYKL{border-bottom:none;cursor:pointer;padding:5px 12px;transition:background .3s}.common_list__TKFzS__MTYKL .common_list-item__ASse7__MTYKL:not(.common_is-selected__-PU4Y__MTYKL):hover{background:var(--bg-color-grey-1)}.common_item-des__no2z0__MTYKL,.common_item-label__u\+qz1__MTYKL{transition:color .3s}.common_is-selected__-PU4Y__MTYKL{background:var(--primary-color-2)}.common_is-selected__-PU4Y__MTYKL .common_item-des__no2z0__MTYKL,.common_is-selected__-PU4Y__MTYKL .common_item-label__u\+qz1__MTYKL{color:var(--primary-color)}.common_item-des__no2z0__MTYKL{color:var(--font-color-grey-1)}.style_address__DIuRX__MTYKL .ant-tabs-tab+.ant-tabs-tab{margin-left:10px!important}.style_address__DIuRX__MTYKL .ant-tabs-nav{margin:0}.style_address__DIuRX__MTYKL.style_is-popup__tqVvp__MTYKL .style_title__FAe12__MTYKL{margin:10px 0}.style_address__DIuRX__MTYKL:not(.style_is-popup__tqVvp__MTYKL) .ant-tabs-tab+.ant-tabs-tab{margin-left:20px!important}.style_address__DIuRX__MTYKL:not(.style_is-popup__tqVvp__MTYKL) .style_scroll-box__JWiDl__MTYKL{max-height:522px;min-height:calc(var(--min-modal-height) - 105px)}.style_address__DIuRX__MTYKL:not(.style_is-popup__tqVvp__MTYKL) .style_content__lAARZ__MTYKL,.style_address__DIuRX__MTYKL:not(.style_is-popup__tqVvp__MTYKL) .style_scroll-plus-box__lidEW__MTYKL{max-height:580px;min-height:calc(var(--min-modal-height) - 48px)}.style_address__DIuRX__MTYKL:not(.style_is-popup__tqVvp__MTYKL) .style_col-left__WPfeS__MTYKL .ant-tabs{width:160px}.style_address__DIuRX__MTYKL:not(.style_is-popup__tqVvp__MTYKL) .style_scroll-plus-box__lidEW__MTYKL{max-height:548px;min-height:calc(var(--min-modal-height) - 80px);padding:16px 20px}.style_col-left__WPfeS__MTYKL{height:100%}.style_col-left__WPfeS__MTYKL .ant-tabs{width:150px}.style_col-left__WPfeS__MTYKL .ant-menu{border:none!important}.style_col-right__z0e9-__MTYKL{border-left:1px solid var(--bg-color-grey-2)}.style_col-right__z0e9-__MTYKL .style_scroll-box__JWiDl__MTYKL,.style_col-right__z0e9-__MTYKL .style_title__FAe12__MTYKL{padding:0 16px}.style_scroll-box__JWiDl__MTYKL{height:220px;overflow:auto}.style_content__lAARZ__MTYKL,.style_scroll-plus-box__lidEW__MTYKL{height:266px}.create-list_scroll-loader__zoaS7__MTYKL{overflow-y:auto}.create-list_scroll-loader__zoaS7__MTYKL.create-list_is-popup__t3d-G__MTYKL{max-height:280px}.create-list_scroll-loader__zoaS7__MTYKL:not(.create-list_is-popup__t3d-G__MTYKL){box-sizing:border-box;max-height:calc(var(--modal-height) - 38px);padding:16px 20px}.create-list_is-not-full__FXtX1__MTYKL{min-height:100%}.create-list_is-not-full__FXtX1__MTYKL .create-list_scroll-loader__zoaS7__MTYKL:not(.create-list_is-popup__t3d-G__MTYKL){padding:16px 0}.create-list_is-not-full__FXtX1__MTYKL .create-list_search-input__tV3vf__MTYKL{padding:0!important}.create-list_is-not-full__FXtX1__MTYKL .create-list_left__EXr3i__MTYKL{border-right:1px solid var(--bg-color-grey-2);box-sizing:border-box;padding:16px 16px 0}.create-list_list-header__3xeJa__MTYKL{padding:5px 12px}.create-list_list-header__3xeJa__MTYKL.create-list_is-modal__BMfya__MTYKL{padding:16px 32px 0}.create-list_list-header__3xeJa__MTYKL .ant-checkbox+span{padding-inline-end:0}.create-list_list-header__3xeJa__MTYKL .ant-checkbox-wrapper{margin-inline-end:0!important}.list_list__TGynD__MTYKL .list_list-item__WSswf__MTYKL{border-bottom:none;cursor:pointer;padding:5px 12px;position:relative;transition:background .3s}.list_list__TGynD__MTYKL .list_list-item__WSswf__MTYKL:not(.list_is-selected__6Wkgt__MTYKL):hover{background:var(--bg-color-grey-1)}.list_list__TGynD__MTYKL .list_list-item__WSswf__MTYKL.list_is-selected__6Wkgt__MTYKL{background:var(--primary-color-1)}.list_list__TGynD__MTYKL .list_list-item__WSswf__MTYKL.list_is-selected__6Wkgt__MTYKL .list_item-des__2nsEn__MTYKL,.list_list__TGynD__MTYKL .list_list-item__WSswf__MTYKL.list_is-selected__6Wkgt__MTYKL .list_item-label__bYzhe__MTYKL{color:var(--primary-color)}.list_list__TGynD__MTYKL .list_list-item__WSswf__MTYKL.list_is-disabled__qxCvO__MTYKL{color:var(--font-color-grey-2);cursor:not-allowed}.list_list__TGynD__MTYKL.list_is-selected-all__Mp-hG__MTYKL{background:var(--bg-color-grey-3);cursor:not-allowed}.list_list__TGynD__MTYKL.list_is-selected-all__Mp-hG__MTYKL .list_item-label__bYzhe__MTYKL{color:var(--font-color-grey-2)}.list_list__TGynD__MTYKL.list_is-selected-all__Mp-hG__MTYKL .list_list-item__WSswf__MTYKL{pointer-events:none}.list_item-des__2nsEn__MTYKL,.list_item-label__bYzhe__MTYKL{transition:color .3s}.list_item-des__2nsEn__MTYKL{color:var(--font-color-grey-1)}.user_list-inner__V508e__MTYKL{width:100%}.user_list-info__y2nWo__MTYKL{padding:0 16px}.user_selected-icon__9OQJL__MTYKL{color:var(--primary-color)}.user_item-des__o\+7UR__MTYKL{color:var(--font-color-grey-1)}.user_is-selected-all__2q0VZ__MTYKL .user_item-des__o\+7UR__MTYKL,.user_is-selected-all__2q0VZ__MTYKL .user_selected-icon__9OQJL__MTYKL{color:var(--font-color-grey-2)}.table_is-selected-all__IwXUY__MTYKL .ant-table{pointer-events:none}.table_is-selected-all__IwXUY__MTYKL .ant-table .ant-table-cell{background:var(--bg-color-grey-3)!important;color:var(--font-color-grey-2)!important;cursor:not-allowed}.style_content__Hxlt9__MTYKL .style_columns__FmtPF__MTYKL{display:flex;flex-wrap:nowrap}.style_content__Hxlt9__MTYKL .style_content-item__i6HCO__MTYKL{flex-basis:var(--menu-item-width);flex-shrink:0;overflow:auto}.style_content__Hxlt9__MTYKL .style_content-item__i6HCO__MTYKL .ant-menu{border:none}.style_content__Hxlt9__MTYKL .style_content-item__i6HCO__MTYKL:not(.style_last-level-area__2y7jQ__MTYKL){border-right:1px solid var(--bg-color-grey-2)}.style_content__Hxlt9__MTYKL:not(.style_is-popup__\+r3Mn__MTYKL) .style_columns__FmtPF__MTYKL{padding:0 32px}.style_content__Hxlt9__MTYKL:not(.style_is-popup__\+r3Mn__MTYKL) .style_content-item__i6HCO__MTYKL .style_menu__WZUVE__MTYKL{padding:12px 0}.style_content__Hxlt9__MTYKL:not(.style_is-popup__\+r3Mn__MTYKL) .style_last-level-area__2y7jQ__MTYKL{box-sizing:border-box;padding:24px 0 0 12px}.style_content__Hxlt9__MTYKL:not(.style_is-popup__\+r3Mn__MTYKL) .style_scroll-plus-box__QcTst__MTYKL{padding:16px 20px}.style_content__Hxlt9__MTYKL:not(.style_is-popup__\+r3Mn__MTYKL) .style_content-item__i6HCO__MTYKL,.style_content__Hxlt9__MTYKL:not(.style_is-popup__\+r3Mn__MTYKL) .style_scroll-plus-box__QcTst__MTYKL{max-height:calc(var(--modal-height) - 80px);min-height:calc(var(--min-modal-height) - 48px)}.style_content__Hxlt9__MTYKL.style_is-popup__\+r3Mn__MTYKL .style_content-item__i6HCO__MTYKL,.style_content__Hxlt9__MTYKL.style_is-popup__\+r3Mn__MTYKL .style_scroll-plus-box__QcTst__MTYKL{max-height:400px}.style_last-level-area__2y7jQ__MTYKL{box-sizing:border-box;flex-basis:auto;flex-grow:1;min-width:250px;padding:12px}.style_menu-label__iGt0Z__MTYKL{overflow:hidden;text-overflow:ellipsis;width:calc(var(--menu-item-width) - 93px)}.style_menu-item__hXHfm__MTYKL.style_checkbox-hidden__Xpx7J__MTYKL .ant-checkbox-wrapper{visibility:hidden}.style_loading__ZwrVe__MTYKL{display:flex;justify-content:center;padding:16px;width:100%}
|
|
2
|
-
/*# sourceMappingURL=8017.b881f633.chunk.css.map*/
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
.style_container__9Fu-3__MTYKL{margin:0 auto;max-width:1200px;position:relative}.style_container__9Fu-3__MTYKL .react-pdf__Page__canvas,.style_container__9Fu-3__MTYKL .textLayer{margin:0 auto}.style_container__9Fu-3__MTYKL img{display:block;margin:0 auto;max-width:100%}.style_container__9Fu-3__MTYKL.style_container-html__IsNVq__MTYKL{background:#fff;overflow:hidden}.style_container__9Fu-3__MTYKL .style_html-inner__S05cI__MTYKL,.style_container__9Fu-3__MTYKL iframe{display:block;height:100%;margin:0 auto;width:100%}.style_loading__r3aiE__MTYKL{background:#fff;padding:10px;text-align:center}.style_control-bar__kTKau__MTYKL{background:#222;box-sizing:border-box;color:#fff;height:60px;line-height:40px;padding:10px 20px;position:relative;z-index:2}.style_control-bar__kTKau__MTYKL input{background:#222;border:none!important;box-shadow:none!important;color:#fff;outline:none!important;text-align:center;width:60px}.style_control-bar__kTKau__MTYKL .ant-btn{border:none;box-shadow:none!important;color:#fff!important;outline:none!important}.style_scroller__HOq7b__MTYKL{background:#999}.style_outer__ntu--__MTYKL{border:10px solid #999}.style_file-name__UPbbe__MTYKL{left:10px;position:absolute;top:10px}.style_file-options__5TE5l__MTYKL{position:absolute;right:10px;top:10px}.style_scale-input__JdF1K__MTYKL{text-align:center}.style_scale-input__JdF1K__MTYKL .ant-col:not(:last-child){display:none}.react-pdf__message,.style_error__wSaxt__MTYKL,.style_text-outer__TzhuG__MTYKL{background:#fff}.style_text-inner__jdi-A__MTYKL{background:#fff;padding:20px;word-break:break-all}.style_image-inner__zTiFU__MTYKL{background:#fff;display:block;margin:0 auto}.style_audio-inner__2QoDC__MTYKL,.style_video-inner__xmN5r__MTYKL{text-align:center}.style_video-inner__xmN5r__MTYKL video{width:100%}.style_html-preview-iframe__bQQiA__MTYKL{min-height:800px}:root{--react-pdf-text-layer:1;--highlight-bg-color:#b400aa;--highlight-selected-bg-color:#006400}@media screen and (forced-colors:active){:root{--highlight-bg-color:Highlight;--highlight-selected-bg-color:ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translateX(-100%)}.textLayer{-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;inset:0;line-height:1;overflow:hidden;position:absolute;text-align:left;text-align:initial;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:#0000;cursor:text;margin:0;position:absolute;transform-origin:0 0;white-space:pre}.textLayer span.markedContent{height:0;top:0}.textLayer .highlight{background-color:#b400aa;background-color:var(--highlight-bg-color);border-radius:4px;margin:-1px;padding:1px}.textLayer .highlight.appended{position:static}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:#006400;background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:#0000}.textLayer .endOfContent{cursor:default;display:block;inset:100% 0 0;position:absolute;-webkit-user-select:none;user-select:none;z-index:-1}.textLayer .endOfContent.active{top:0}[data-simplebar]{align-content:flex-start;align-items:flex-start;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;position:relative}.simplebar-wrapper{height:inherit;max-height:inherit;max-width:inherit;overflow:hidden;width:inherit}.simplebar-mask{direction:inherit;height:auto!important;overflow:hidden;width:auto!important;z-index:0}.simplebar-mask,.simplebar-offset{bottom:0;left:0;margin:0;padding:0;position:absolute;right:0;top:0}.simplebar-offset{-webkit-overflow-scrolling:touch;box-sizing:inherit!important;direction:inherit!important;resize:none!important}.simplebar-content-wrapper{-ms-overflow-style:none;box-sizing:border-box!important;direction:inherit;display:block;height:100%;max-height:100%;max-width:100%;overflow:auto;position:relative;scrollbar-width:none;width:auto}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;height:0;width:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;pointer-events:none;width:100%}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;flex-basis:0;flex-grow:inherit;flex-shrink:0;float:left;height:100%;margin:0;max-height:1px;max-width:1px;overflow:hidden;padding:0;pointer-events:none;position:relative;width:100%;z-index:-1}.simplebar-height-auto-observer{box-sizing:inherit;display:block;height:1000%;left:0;min-height:1px;min-width:1px;opacity:0;top:0;width:1000%;z-index:-1}.simplebar-height-auto-observer,.simplebar-track{overflow:hidden;pointer-events:none;position:absolute}.simplebar-track{bottom:0;right:0;z-index:1}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{-webkit-touch-callout:none;pointer-events:none;-webkit-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{left:0;min-height:10px;position:absolute;right:0}.simplebar-scrollbar:before{background:#000;border-radius:7px;content:"";opacity:0;position:absolute;transition:opacity .2s linear .5s}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{bottom:2px;left:2px;right:2px;top:2px}.simplebar-track.simplebar-horizontal{height:11px;left:0}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{bottom:0;left:0;min-height:0;min-width:10px;right:auto;top:0;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{left:0;right:auto}.simplebar-dummy-scrollbar-size{-ms-overflow-style:scrollbar!important;direction:rtl;height:500px;opacity:0;overflow-x:scroll;overflow-y:hidden;position:fixed;visibility:hidden;width:500px}.simplebar-dummy-scrollbar-size>div{height:200%;margin:10px 0;width:200%}.simplebar-hide-scrollbar{-ms-overflow-style:none;left:0;overflow-y:scroll;position:fixed;scrollbar-width:none;visibility:hidden}.style_scroller-no-more__EH2J\+__MTYKL{color:var(--font-color-grey-2);text-align:center}.style_search-input__8aH1G__MTYKL .ant-input-group-addon{background:#0000;display:none}.style_search-input__8aH1G__MTYKL.style_is-popup__L0973__MTYKL .ant-input{border-color:#0000;box-shadow:none}.style_search-input__8aH1G__MTYKL.style_is-popup__L0973__MTYKL .ant-input-affix-wrapper{border-color:var(--primary-color);box-shadow:none!important}.style_search-input__8aH1G__MTYKL.style_is-popup__L0973__MTYKL .ant-input-search-button{background:#0000;border-color:#0000;box-shadow:none;margin-right:8px;padding:0}.style_search-input__8aH1G__MTYKL.style_is-popup__L0973__MTYKL .ant-input-search-button .iconfont{color:var(--font-color-grey-3);transition:color .5s}#style_ant-tag__nNp8-__MTYKL .ant-tag span,.style_input__SpJTE__MTYKL .ant-tag span,.style_overlay__La5mO__MTYKL .ant-tag span{display:inline-block;max-width:150px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.style_input__SpJTE__MTYKL{background-color:#fff;border:1px solid var(--font-color-grey-3);border-radius:2px;cursor:pointer;display:flex;font-size:var(--font-size-default);font-weight:400;line-height:30px;min-height:30px;min-width:150px;overflow:hidden;position:relative;width:100%}.style_input__SpJTE__MTYKL .ant-tag{transform:translateY(-2px)}.style_input__SpJTE__MTYKL.select-input-disabled{background-color:#2222220a;border-color:#d9d9d9;box-shadow:none;color:var(--font-color-disabled);cursor:not-allowed;opacity:1}.style_input__SpJTE__MTYKL.style_is-disabled__joxdl__MTYKL{background:var(--bg-color-grey-2);color:var(--font-color-grey-2);cursor:not-allowed}.style_input__SpJTE__MTYKL.style_is-disabled__joxdl__MTYKL .style_input-icon__vVd8R__MTYKL{color:var(--font-color-grey-2)}.style_input__SpJTE__MTYKL.style_is-disabled__joxdl__MTYKL .ant-tag{background:var(--bg-color-grey-2);color:var(--font-color-grey-2)}.style_input__SpJTE__MTYKL.style_is-disabled__joxdl__MTYKL .ant-tag-close-icon{display:none}.style_input__SpJTE__MTYKL.style_large__En6mL__MTYKL{line-height:40px;min-height:40px}.style_input__SpJTE__MTYKL.style_small__DY0AQ__MTYKL{line-height:24px;min-height:24px}.style_input__SpJTE__MTYKL .ant-tag{margin-right:8px}.style_input-inner__PWy27__MTYKL{display:flex;overflow:hidden;padding:0 11px;text-overflow:ellipsis;width:100%}.style_input-custom__ktsWD__MTYKL .style_input-inner__PWy27__MTYKL{padding:0}.style_display-content__hIKo\+__MTYKL{align-items:flex-start;width:100%}.style_display-content__hIKo\+__MTYKL>.ant-space-item:first-child{width:calc(100% - 16px)}.style_display-content__hIKo\+__MTYKL>.ant-space-item:last-child{color:var(--font-color-grey-2);font-size:12px;width:16px}.style_overlay-footer-extra__Q\+BiR__MTYKL{border-top:1px solid #f1f1f1}.style_selected-tag__zXZZO__MTYKL{align-items:flex-start;border-top:1px solid #f1f1f1;display:flex;padding:12px 0 12px 12px}.style_selected-tag__zXZZO__MTYKL>.ant-space-item:first-child{flex-shrink:0;line-height:24px}.style_selected-tag__zXZZO__MTYKL>.ant-space-item:last-child{flex:1 1}.style_selected-tag-list__xUIms__MTYKL{max-height:98px;overflow-y:auto;padding-top:2px;width:100%}.style_selected-tag-list__xUIms__MTYKL .simplebar-content-wrapper{width:fit-content}.style_selected-tag-inner__Z5gPL__MTYKL{display:flex;flex-wrap:wrap;gap:8px;padding-right:12px;width:fit-content}.style_text-inner__H24hY__MTYKL{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style_placeholder__x0ccE__MTYKL{color:var(--font-color-grey-2)}.style_overlay__La5mO__MTYKL.style_is-modal__JU\+uq__MTYKL .style_selected-tag__zXZZO__MTYKL{border-top:none;padding-bottom:0;padding-left:0;padding-top:0}.style_overlay__La5mO__MTYKL.style_is-modal__JU\+uq__MTYKL .style_overlay-footer-extra__Q\+BiR__MTYKL{border-top:none}.style_overlay__La5mO__MTYKL .ant-popover-inner{padding:0}.style_overlay-content__WKqp\+__MTYKL{min-width:300px;width:var(--overlay-width)}.style_modal__Pm3cF__MTYKL.style_large__iaqVE__MTYKL .style_modal-body-inner__4PhpA__MTYKL{min-width:1000px}.style_modal__Pm3cF__MTYKL .ant-modal-confirm-btns,.style_modal__Pm3cF__MTYKL .ant-modal-confirm-title,.style_modal__Pm3cF__MTYKL .ant-modal-footer{display:none}.style_modal__Pm3cF__MTYKL .ant-modal-content{border-radius:8px;padding:0}.style_modal__Pm3cF__MTYKL .ant-modal-confirm-body{display:block}.style_modal__Pm3cF__MTYKL .ant-spin{background:#fff;border-radius:8px}.style_modal__Pm3cF__MTYKL.tabs-modal{color:red}.style_modal__Pm3cF__MTYKL.tabs-modal .style_modal-title__dswaw__MTYKL{display:none}.style_modal__Pm3cF__MTYKL.tabs-modal .style_modal-outer__r3SkX__MTYKL{display:flex;flex-direction:column;min-height:80px}.style_modal__Pm3cF__MTYKL.tabs-modal .style_modal-body__jQJSI__MTYKL{flex:1 1}.style_modal__Pm3cF__MTYKL.tabs-modal .ant-modal-header{display:none}.style_modal__Pm3cF__MTYKL.tabs-modal .ant-modal-body{padding:0}.style_modal__Pm3cF__MTYKL.tabs-modal .ant-tabs .ant-tabs-content{min-height:80px;position:static}.style_modal__Pm3cF__MTYKL.tabs-modal .ant-tabs-nav{margin:0;padding:0 86px 0 24px}.style_modal__Pm3cF__MTYKL.tabs-modal .ant-tabs-tab{padding:17px 0}.style_modal__Pm3cF__MTYKL.ant-modal-confirm .ant-modal-confirm-paragraph{max-width:none}.style_modal__Pm3cF__MTYKL.ant-modal-confirm .ant-modal-confirm-body .ant-modal-confirm-content{margin-block-start:unset;max-width:none}.style_right-options-modal__FajDP__MTYKL{flex:none}.style_right-options-modal__FajDP__MTYKL .style_modal-body-inner__4PhpA__MTYKL{height:100%;min-height:100%;padding:0}.style_right-options-modal__FajDP__MTYKL .simplebar-content-wrapper:first-child{height:100%!important}.style_right-options-row__-mPb9__MTYKL{height:100%}.style_right-options-col__3ilee__MTYKL{box-sizing:border-box;padding:24px}.style_right-options-col__3ilee__MTYKL:first-child{border-right:1px solid var(--bg-color-grey-3)}.style_modal-title__dswaw__MTYKL{border-bottom:1px solid var(--bg-color-grey-3);color:var(--font-color);font-size:16px;font-weight:700;margin-bottom:0;padding:11px 24px}.style_modal-body__jQJSI__MTYKL{--modal-height:calc(95vh - 160px);max-height:var(--modal-height);min-height:var(--min-modal-height)}.style_modal-body__jQJSI__MTYKL .simplebar-content-wrapper:first-child{min-height:100%!important}.style_modal-body__jQJSI__MTYKL .simplebar-content-wrapper:first-child .simplebar-content:first-child{box-sizing:border-box;height:100%}.style_modal-body__jQJSI__MTYKL.style_is-disabled-scroller__PmHyk__MTYKL .style_modal-body-inner__4PhpA__MTYKL{padding:0}.style_modal-body__jQJSI__MTYKL:not(.style_is-disabled-scroller__PmHyk__MTYKL){overflow:auto}.style_modal-body-inner__4PhpA__MTYKL{box-sizing:border-box;min-height:100%;padding:24px}.style_modal-body-inner__4PhpA__MTYKL .style_content__k6MIF__MTYKL{height:100%}.style_modal-footer__-prbN__MTYKL{border-top:1px solid var(--bg-color-grey-3);padding:12px 24px}.style_modal-close__Oa5Kl__MTYKL{background:#0000;border:0;border-radius:2px;color:var(--font-color-grey);cursor:pointer;font-weight:600;inset-inline-end:17px;line-height:1;outline:0;padding:0;position:absolute;text-decoration:none;top:13px;transition:color .2s,background-color .2s;z-index:1010}.style_modal-close__Oa5Kl__MTYKL.ant-btn.ant-btn-icon-only.ant-btn-text{height:22px;width:22px}.style_confirm-modal-wrap__YFImr__MTYKL .title-icon{margin:8px 8px 0 0}.style_confirm-modal-wrap__YFImr__MTYKL .title-icon-confirm,.style_confirm-modal-wrap__YFImr__MTYKL .title-icon-info{color:#165dff}.style_confirm-modal-wrap__YFImr__MTYKL .title-icon-success{color:#00b42a}.style_confirm-modal-wrap__YFImr__MTYKL .title-icon-warning{color:#ff7d00}.style_confirm-modal-wrap__YFImr__MTYKL .title-icon-error{color:#f53f3f}.style_confirm-modal-wrap__YFImr__MTYKL .ant-modal-confirm .ant-modal-confirm-body .ant-modal-confirm-title+.ant-modal-confirm-content{max-width:100%!important}.style_confirm-modal-wrap__YFImr__MTYKL .ant-modal-confirm-body-wrapper{display:flex;flex-direction:column;min-height:96px}.style_confirm-modal-wrap__YFImr__MTYKL .ant-modal-content{border-radius:8px;box-sizing:border-box;max-width:400px}.style_confirm-modal-wrap__YFImr__MTYKL .ant-modal-confirm-btns{align-items:flex-end;display:flex;flex:1 1;justify-content:flex-end}.style_confirm-modal-wrap__YFImr__MTYKL.style_is-danger__H5110__MTYKL{--color-warning:#d14343}.style_confirm-modal-wrap__YFImr__MTYKL.style_is-danger__H5110__MTYKL .ant-modal-confirm-btns .ant-btn-primary,.style_confirm-modal-wrap__YFImr__MTYKL.style_is-danger__H5110__MTYKL .ant-popover-buttons .ant-btn-primary{background:var(--color-warning);border-color:var(--color-warning)}.style_confirm-modal-wrap__YFImr__MTYKL.style_is-danger__H5110__MTYKL .title-icon{color:var(--color-warning)}.style_confirm-modal-wrap__YFImr__MTYKL .style_title__orTym__MTYKL{color:#222;font-size:14px;font-weight:700;line-height:20px}.style_confirm-modal-wrap__YFImr__MTYKL .style_content__k6MIF__MTYKL.style_has-title__qy0Wp__MTYKL{color:var(--font-color-grey-1);line-height:20px}.style_input-file__3JGm6__MTYKL{overflow:hidden;position:relative}.style_input-file-input__Fb5iw__MTYKL{height:100%;left:0;opacity:0;position:absolute;top:0;width:100%}.common_search-input__P6qLg__MTYKL:not(.common_is-popup__fJq\+g__MTYKL){padding:16px 32px 0}.common_search-input__P6qLg__MTYKL.common_is-popup__fJq\+g__MTYKL{padding:12px 9px}.common_list__TKFzS__MTYKL .common_list-item__ASse7__MTYKL{border-bottom:none;cursor:pointer;padding:5px 12px;transition:background .3s}.common_list__TKFzS__MTYKL .common_list-item__ASse7__MTYKL:not(.common_is-selected__-PU4Y__MTYKL):hover{background:var(--bg-color-grey-1)}.common_item-des__no2z0__MTYKL,.common_item-label__u\+qz1__MTYKL{transition:color .3s}.common_is-selected__-PU4Y__MTYKL{background:var(--primary-color-2)}.common_is-selected__-PU4Y__MTYKL .common_item-des__no2z0__MTYKL,.common_is-selected__-PU4Y__MTYKL .common_item-label__u\+qz1__MTYKL{color:var(--primary-color)}.common_item-des__no2z0__MTYKL{color:var(--font-color-grey-1)}.style_address__DIuRX__MTYKL .ant-tabs-tab+.ant-tabs-tab{margin-left:10px!important}.style_address__DIuRX__MTYKL .ant-tabs-nav{margin:0}.style_address__DIuRX__MTYKL.style_is-popup__tqVvp__MTYKL .style_title__FAe12__MTYKL{margin:10px 0}.style_address__DIuRX__MTYKL:not(.style_is-popup__tqVvp__MTYKL) .ant-tabs-tab+.ant-tabs-tab{margin-left:20px!important}.style_address__DIuRX__MTYKL:not(.style_is-popup__tqVvp__MTYKL) .style_scroll-box__JWiDl__MTYKL{max-height:522px;min-height:calc(var(--min-modal-height) - 105px)}.style_address__DIuRX__MTYKL:not(.style_is-popup__tqVvp__MTYKL) .style_content__lAARZ__MTYKL,.style_address__DIuRX__MTYKL:not(.style_is-popup__tqVvp__MTYKL) .style_scroll-plus-box__lidEW__MTYKL{max-height:580px;min-height:calc(var(--min-modal-height) - 48px)}.style_address__DIuRX__MTYKL:not(.style_is-popup__tqVvp__MTYKL) .style_col-left__WPfeS__MTYKL .ant-tabs{width:160px}.style_address__DIuRX__MTYKL:not(.style_is-popup__tqVvp__MTYKL) .style_scroll-plus-box__lidEW__MTYKL{max-height:548px;min-height:calc(var(--min-modal-height) - 80px);padding:16px 20px}.style_col-left__WPfeS__MTYKL{height:100%}.style_col-left__WPfeS__MTYKL .ant-tabs{width:150px}.style_col-left__WPfeS__MTYKL .ant-menu{border:none!important}.style_col-right__z0e9-__MTYKL{border-left:1px solid var(--bg-color-grey-2)}.style_col-right__z0e9-__MTYKL .style_scroll-box__JWiDl__MTYKL,.style_col-right__z0e9-__MTYKL .style_title__FAe12__MTYKL{padding:0 16px}.style_scroll-box__JWiDl__MTYKL{height:220px;overflow:auto}.style_content__lAARZ__MTYKL,.style_scroll-plus-box__lidEW__MTYKL{height:266px}.create-list_scroll-loader__zoaS7__MTYKL{overflow-y:auto}.create-list_scroll-loader__zoaS7__MTYKL.create-list_is-popup__t3d-G__MTYKL{max-height:280px}.create-list_scroll-loader__zoaS7__MTYKL:not(.create-list_is-popup__t3d-G__MTYKL){box-sizing:border-box;max-height:calc(var(--modal-height) - 38px);padding:16px 20px}.create-list_is-not-full__FXtX1__MTYKL{min-height:100%}.create-list_is-not-full__FXtX1__MTYKL .create-list_scroll-loader__zoaS7__MTYKL:not(.create-list_is-popup__t3d-G__MTYKL){padding:16px 0}.create-list_is-not-full__FXtX1__MTYKL .create-list_search-input__tV3vf__MTYKL{padding:0!important}.create-list_is-not-full__FXtX1__MTYKL .create-list_left__EXr3i__MTYKL{border-right:1px solid var(--bg-color-grey-2);box-sizing:border-box;padding:16px 16px 0}.create-list_list-header__3xeJa__MTYKL{padding:5px 12px}.create-list_list-header__3xeJa__MTYKL.create-list_is-modal__BMfya__MTYKL{padding:16px 32px 0}.create-list_list-header__3xeJa__MTYKL .ant-checkbox+span{padding-inline-end:0}.create-list_list-header__3xeJa__MTYKL .ant-checkbox-wrapper{margin-inline-end:0!important}.list_list__TGynD__MTYKL .list_list-item__WSswf__MTYKL{border-bottom:none;cursor:pointer;padding:5px 12px;position:relative;transition:background .3s}.list_list__TGynD__MTYKL .list_list-item__WSswf__MTYKL:not(.list_is-selected__6Wkgt__MTYKL):hover{background:var(--bg-color-grey-1)}.list_list__TGynD__MTYKL .list_list-item__WSswf__MTYKL.list_is-selected__6Wkgt__MTYKL{background:var(--primary-color-1)}.list_list__TGynD__MTYKL .list_list-item__WSswf__MTYKL.list_is-selected__6Wkgt__MTYKL .list_item-des__2nsEn__MTYKL,.list_list__TGynD__MTYKL .list_list-item__WSswf__MTYKL.list_is-selected__6Wkgt__MTYKL .list_item-label__bYzhe__MTYKL{color:var(--primary-color)}.list_list__TGynD__MTYKL .list_list-item__WSswf__MTYKL.list_is-disabled__qxCvO__MTYKL{color:var(--font-color-grey-2);cursor:not-allowed}.list_list__TGynD__MTYKL.list_is-selected-all__Mp-hG__MTYKL{background:var(--bg-color-grey-3);cursor:not-allowed}.list_list__TGynD__MTYKL.list_is-selected-all__Mp-hG__MTYKL .list_item-label__bYzhe__MTYKL{color:var(--font-color-grey-2)}.list_list__TGynD__MTYKL.list_is-selected-all__Mp-hG__MTYKL .list_list-item__WSswf__MTYKL{pointer-events:none}.list_item-des__2nsEn__MTYKL,.list_item-label__bYzhe__MTYKL{transition:color .3s}.list_item-des__2nsEn__MTYKL{color:var(--font-color-grey-1)}.style_img-outer__4QLY5__MTYKL{display:inline-block;line-height:0;min-height:32px;min-width:32px;overflow:hidden;vertical-align:middle}.style_img-outer__4QLY5__MTYKL .ant-avatar .iconfont--color,.style_img-outer__4QLY5__MTYKL .style_error__\+ECgZ__MTYKL.iconfont--color,.style_img-outer__4QLY5__MTYKL .style_img__PSExq__MTYKL,.style_img-outer__4QLY5__MTYKL .style_loading__WCOwA__MTYKL,.style_img-outer__4QLY5__MTYKL .style_loading__WCOwA__MTYKL.ant-skeleton .ant-skeleton-avatar{display:inline-block;height:100%;width:100%}.user_list-inner__V508e__MTYKL{width:100%}.user_list-info__y2nWo__MTYKL{padding:0 16px}.user_selected-icon__9OQJL__MTYKL{color:var(--primary-color)}.user_item-des__o\+7UR__MTYKL{color:var(--font-color-grey-1)}.user_is-selected-all__2q0VZ__MTYKL .user_item-des__o\+7UR__MTYKL,.user_is-selected-all__2q0VZ__MTYKL .user_selected-icon__9OQJL__MTYKL{color:var(--font-color-grey-2)}.table_is-selected-all__IwXUY__MTYKL .ant-table{pointer-events:none}.table_is-selected-all__IwXUY__MTYKL .ant-table .ant-table-cell{background:var(--bg-color-grey-3)!important;color:var(--font-color-grey-2)!important;cursor:not-allowed}.style_content__Hxlt9__MTYKL .style_columns__FmtPF__MTYKL{display:flex;flex-wrap:nowrap}.style_content__Hxlt9__MTYKL .style_content-item__i6HCO__MTYKL{flex-basis:var(--menu-item-width);flex-shrink:0;overflow:auto}.style_content__Hxlt9__MTYKL .style_content-item__i6HCO__MTYKL .ant-menu{border:none}.style_content__Hxlt9__MTYKL .style_content-item__i6HCO__MTYKL:not(.style_last-level-area__2y7jQ__MTYKL){border-right:1px solid var(--bg-color-grey-2)}.style_content__Hxlt9__MTYKL:not(.style_is-popup__\+r3Mn__MTYKL) .style_columns__FmtPF__MTYKL{padding:0 32px}.style_content__Hxlt9__MTYKL:not(.style_is-popup__\+r3Mn__MTYKL) .style_content-item__i6HCO__MTYKL .style_menu__WZUVE__MTYKL{padding:12px 0}.style_content__Hxlt9__MTYKL:not(.style_is-popup__\+r3Mn__MTYKL) .style_last-level-area__2y7jQ__MTYKL{box-sizing:border-box;padding:24px 0 0 12px}.style_content__Hxlt9__MTYKL:not(.style_is-popup__\+r3Mn__MTYKL) .style_scroll-plus-box__QcTst__MTYKL{padding:16px 20px}.style_content__Hxlt9__MTYKL:not(.style_is-popup__\+r3Mn__MTYKL) .style_content-item__i6HCO__MTYKL,.style_content__Hxlt9__MTYKL:not(.style_is-popup__\+r3Mn__MTYKL) .style_scroll-plus-box__QcTst__MTYKL{max-height:calc(var(--modal-height) - 80px);min-height:calc(var(--min-modal-height) - 48px)}.style_content__Hxlt9__MTYKL.style_is-popup__\+r3Mn__MTYKL .style_content-item__i6HCO__MTYKL,.style_content__Hxlt9__MTYKL.style_is-popup__\+r3Mn__MTYKL .style_scroll-plus-box__QcTst__MTYKL{max-height:400px}.style_last-level-area__2y7jQ__MTYKL{box-sizing:border-box;flex-basis:auto;flex-grow:1;min-width:250px;padding:12px}.style_menu-label__iGt0Z__MTYKL{overflow:hidden;text-overflow:ellipsis;width:calc(var(--menu-item-width) - 93px)}.style_menu-item__hXHfm__MTYKL.style_checkbox-hidden__Xpx7J__MTYKL .ant-checkbox-wrapper{visibility:hidden}.style_loading__ZwrVe__MTYKL{display:flex;justify-content:center;padding:16px;width:100%}
|
|
2
|
-
/*# sourceMappingURL=8332.7443616d.chunk.css.map*/
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
body{height:100vh;margin:0;overflow:auto!important;padding:0}body::-webkit-scrollbar{height:0;width:0}.simplebar-scrollbar:before{background:#666}.container-body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,apple color emoji,segoe ui emoji,Segoe UI Symbol,noto color emoji;margin:0;min-width:1100px}.ant-message{z-index:3010}.ant-picker-dropdown .ant-picker-month-panel .ant-picker-content{height:200px}.style_container__k\+uRt__MTYKL{--font-size-default:14px;--font-size-small:12px;--font-size-large:16px;--font-size-18:18px;--font-size-24:24px;--line-height-default:1.8;--line-height-middle:2;--line-height-small:1.5;--line-height-large:2.2;--font-color:#222;--font-color-disabled:#00000040;--font-color-grey:#666;--font-color-grey-1:#999;--font-color-grey-2:#ccc;--font-color-grey-3:#ddd;--font-color-grey-4:#eee;--bg-color-white:#fff;--bg-color-grey:#fafafa;--bg-color-grey-1:#f8f8f8;--bg-color-grey-2:#f3f3f3;--bg-color-grey-3:#f1f1f1;--bg-color-grey-4:#fafcff;--color-warning:#d14343;--color-success:#00b42a;--tag-default:"#666666";--tag-success:"#027A48";--tag-progress:"#F09700";--tag-danger:"#D14343";--tag-info:"#155ACF";--tag-other:"#6740C3";color:var(--font-color);font-size:var(--font-size-default);line-height:var(--line-height-default);word-break:break-all}.style_container__k\+uRt__MTYKL.style_is-not-init__BZN0v__MTYKL{opacity:.7;pointer-events:none}.style_container__k\+uRt__MTYKL a{background-color:#0000;color:var(--primary-color);cursor:pointer;outline:none;text-decoration:none;transition:color .3s}.style_container__k\+uRt__MTYKL .ant-input-number-disabled .ant-input-number-input,.style_container__k\+uRt__MTYKL .ant-input[disabled]{color:var(--font-color-disabled)!important}.style_container__k\+uRt__MTYKL .iconfont{font-size:1em}.style_container__k\+uRt__MTYKL .iconfont--color{height:1em;width:1em}.style_container__k\+uRt__MTYKL .react-filter-selected{width:100%}.style_container__k\+uRt__MTYKL .ant-space-vertical,.style_container__k\+uRt__MTYKL .full-space,.style_container__k\+uRt__MTYKL .is-block.ant-space{display:flex;width:100%}.style_container__k\+uRt__MTYKL .container{background:#fff}.style_container__k\+uRt__MTYKL .ant-btn-primary{text-shadow:none}.style_container__k\+uRt__MTYKL .ant-btn{box-shadow:none;font-size:14px;min-width:68px;outline:none;padding:4px 12px}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-link{min-width:0;min-width:auto}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-icon-only{min-width:0;min-width:auto;padding:0}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-icon-only .iconfont{margin:0}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-icon-only.ant-btn-lg{min-width:0;min-width:auto;padding:0;width:40px}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-icon-only.ant-btn-sm{min-width:0;min-width:auto;padding:0}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-icon-only:not([disabled]){background:var(--bg-color-grey-2);border-color:#0000}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-icon-only[disabled]{border-color:#0000;color:var(--font-color-grey-2)}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-icon-only.ant-btn-primary:not([disabled]){background:var(--primary-color-1);border-color:#0000;color:var(--primary-color)}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-icon-only.ant-btn-dangerous:not([disabled]){background:rgba(209,67,67,.125);border-color:#0000;color:var(--color-warning)}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-icon-only.ant-btn-link,.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-icon-only.ant-btn-text{background:#0000}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-icon-only.ant-btn-text:hover:not([disabled]){background:var(--bg-color-grey-2)}.style_container__k\+uRt__MTYKL .ant-btn .iconfont{margin-right:4px}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-lg{font-size:16px;height:40px;line-height:30px;min-width:80px;padding:4px 16px}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-sm{font-size:12px;min-width:48px;padding:0 8px}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-link.btn-no-padding,.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-text.btn-no-padding{border:none;height:auto;min-width:0;min-width:auto;padding:0}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-link.btn-no-padding:hover,.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-text.btn-no-padding:hover{background-color:initial}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn[disabled] .ant-btn[disabled]:hover .ant-btn[disabled]:focus .ant-btn[disabled]:active{background:var(--bg-color-grey-3);border-color:var(--font-color-grey-2);color:var(--font-color-grey-2)}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-dangerous:not([disabled]){border-color:var(--color-warning);color:var(--color-warning)}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-dangerous.ant-btn-link:not([disabled]),.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-dangerous.ant-btn-text:not([disabled]){border-color:#0000}.style_container__k\+uRt__MTYKL .ant-btn.ant-btn-dangerous.ant-btn-primary:not([disabled]){background:var(--color-warning);color:#fff}.style_container__k\+uRt__MTYKL .ant-typography{line-height:inherit}.style_container__k\+uRt__MTYKL .ant-typography .iconfont:first-child{margin-right:4px}.style_container__k\+uRt__MTYKL .ant-typography.ant-btn{border:initial;height:auto;line-height:inherit;padding:0}.style_container__k\+uRt__MTYKL .ant-typography.ant-btn-dangerous{color:var(--color-warning)}.style_container__k\+uRt__MTYKL .btn-text-link{background:#0000;border:none;box-shadow:none!important;color:var(--primary-color);padding:0;touch-action:none!important;transition:none!important}.style_container__k\+uRt__MTYKL .btn-text-link:active,.style_container__k\+uRt__MTYKL .btn-text-link:focus,.style_container__k\+uRt__MTYKL .btn-text-link:focus-visible,.style_container__k\+uRt__MTYKL .btn-text-link:focus-within,.style_container__k\+uRt__MTYKL .btn-text-link:hover{background:#0000;border-color:#0000;box-shadow:none;color:var(--primary-color);outline:none!important;touch-action:none!important;transition:none!important}.style_container__k\+uRt__MTYKL .ant-list-bordered{border-color:var(--bg-color-grey-2)}.style_container__k\+uRt__MTYKL .ant-list-split .ant-list-item{border-bottom-color:var(--bg-color-grey-2)}.style_container__k\+uRt__MTYKL .ant-select-item-option-selected:not(.ant-select-item-option-disabled){color:var(--primary-color);font-weight:400}.style_container__k\+uRt__MTYKL .ant-segmented{background-color:var(--bg-color-grey-2)}.style_container__k\+uRt__MTYKL .ant-segmented-item{color:var(--font-color-grey)}.style_container__k\+uRt__MTYKL .ant-segmented-item.ant-segmented-item-selected{color:var(--font-color)}.style_container__k\+uRt__MTYKL .loading-container.is-loading{opacity:.5;pointer-events:none;position:relative;transition:opacity .3s}@keyframes style_loading-rotate__kLLHV__MTYKL{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}.style_container__k\+uRt__MTYKL .loading-container.is-loading:after{animation:style_loading-rotate__kLLHV__MTYKL 2s infinite;color:var(--font-color-grey-2);content:"";font-family:iconfont;font-size:20px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.style_container__k\+uRt__MTYKL .ant-modal.ant-zoom-leave .ant-modal-body,.style_container__k\+uRt__MTYKL .ant-modal.ant-zoom-leave .ant-modal-footer{pointer-events:none}.style_container__k\+uRt__MTYKL .ant-tooltip .ant-tooltip-arrow:before{background-color:#fff}.style_container__k\+uRt__MTYKL .ant-alert{align-items:baseline;border:none}.style_container__k\+uRt__MTYKL .ant-alert.ant-alert-with-description .ant-alert-message{font-weight:700}.style_container__k\+uRt__MTYKL .ant-alert .ant-alert-description{color:var(--font-color-grey)}.style_container__k\+uRt__MTYKL .ant-alert .ant-alert-icon{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:iconfont!important;font-size:14px;font-style:normal;height:1em;margin-right:8px!important;width:1em}.style_container__k\+uRt__MTYKL .ant-alert .ant-alert-icon svg{display:none}.style_container__k\+uRt__MTYKL .ant-alert.ant-alert-success{background-color:rgba(0,180,42,.063)}.style_container__k\+uRt__MTYKL .ant-alert.ant-alert-success .ant-alert-icon{color:#00b42a}.style_container__k\+uRt__MTYKL .ant-alert.ant-alert-success .ant-alert-icon:after{content:""}.style_container__k\+uRt__MTYKL .ant-alert.ant-alert-info{background-color:rgba(22,93,255,.063)}.style_container__k\+uRt__MTYKL .ant-alert.ant-alert-info .ant-alert-icon{color:#165dff}.style_container__k\+uRt__MTYKL .ant-alert.ant-alert-info .ant-alert-icon:after{content:""}.style_container__k\+uRt__MTYKL .ant-alert.ant-alert-warning{background-color:rgba(255,125,0,.063)}.style_container__k\+uRt__MTYKL .ant-alert.ant-alert-warning .ant-alert-icon{color:#ff7d00}.style_container__k\+uRt__MTYKL .ant-alert.ant-alert-warning .ant-alert-icon:after{content:""}.style_container__k\+uRt__MTYKL .ant-alert.ant-alert-error{background-color:rgba(245,63,63,.063)}.style_container__k\+uRt__MTYKL .ant-alert.ant-alert-error .ant-alert-icon{color:#f53f3f}.style_container__k\+uRt__MTYKL .ant-alert.ant-alert-error .ant-alert-icon:after{content:""}.style_container__k\+uRt__MTYKL .ant-tooltip .ant-tooltip-inner{background-color:#fff;color:var(--font-color)}.style_container__k\+uRt__MTYKL .ant-menu-submenu-popup .ant-menu-sub{margin:0}.style_container__k\+uRt__MTYKL .ant-checkbox-group{flex-wrap:wrap}.style_container__k\+uRt__MTYKL .ant-checkbox-wrapper{margin-inline-end:8px;margin-inline-start:0}.style_container__k\+uRt__MTYKL ::-webkit-scrollbar{background-color:#0000;height:8px;width:8px}.style_container__k\+uRt__MTYKL ::-webkit-scrollbar:hover{background-color:#0000}.style_container__k\+uRt__MTYKL ::-webkit-scrollbar-thumb{background-color:#66666673;border-radius:16px;min-height:5px;min-width:5px}.style_container__k\+uRt__MTYKL .table-page{--cell-height:48px;--cell-padding:8px 8px}.style_container__k\+uRt__MTYKL .table-page .ant-table-small{--cell-height:38px;--cell-padding:6px 8px}.style_container__k\+uRt__MTYKL .table-page.ant-table-wrapper .ant-table .ant-table-tbody>tr>td,.style_container__k\+uRt__MTYKL .table-page.ant-table-wrapper .ant-table .ant-table-thead>tr>th,.style_container__k\+uRt__MTYKL .table-page.ant-table-wrapper .ant-table tfoot>tr>td{padding:var(--cell-padding)}.style_container__k\+uRt__MTYKL .table-page .ant-table-header.ant-table-sticky-holder,.style_container__k\+uRt__MTYKL .table-page .ant-table-thead.ant-table-sticky-holder{top:var(--sticky-offset)!important;transform:translateY(-1px)}.style_container__k\+uRt__MTYKL .table-page .ant-table-header .ant-table-cell,.style_container__k\+uRt__MTYKL .table-page .ant-table-thead .ant-table-cell{background:var(--bg-color-grey-3);border-bottom:none;color:var(--font-color);font-size:var(--font-size-default);font-weight:500;height:var(--cell-height);padding-left:24px;padding-right:24px}.style_container__k\+uRt__MTYKL .table-page .ant-table-tbody .ant-table-row:first-child .ant-table-cell{border-top:none!important}.style_container__k\+uRt__MTYKL .table-page .ant-table-tbody .ant-table-cell{background:var(--bg-color-white)!important;color:var(--font-color);height:var(--cell-height);padding-left:24px;padding-right:24px;word-break:break-all}.style_container__k\+uRt__MTYKL .table-page .ant-table-tbody .ant-table-cell:first-child{border-left:1px solid var(--bg-color-grey-2)}.style_container__k\+uRt__MTYKL .table-page .ant-table-tbody .ant-table-cell:last-child{border-right:1px solid var(--bg-color-grey-2)}.style_container__k\+uRt__MTYKL .table-page .ant-table-tbody .ant-table-cell-row-hover{background:var(--bg-color-grey-1)!important}.style_container__k\+uRt__MTYKL .table-page .ant-pagination{color:var(--font-color);font-size:var(--font-size-small)}.style_container__k\+uRt__MTYKL .table-page .ant-pagination a{color:var(--font-color)}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-total-text{color:#222;font-size:var(--font-size-small);height:24px;line-height:var(--line-height-middle);margin-right:16px}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-total-text .style_total_text__oNKMr__MTYKL{color:var(--primary-color);font-weight:500;padding:0 2px}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-options{font-size:var(--font-size-small)}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-options .ant-select-single{width:fit-content}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-options .ant-select-single:not(.ant-select-customize-input) .ant-select-selector{font-size:var(--font-size-small);height:24px;padding:0 10px}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-options .ant-select-single .ant-select-selector{border:1px solid var(--font-color-grey-3);border-radius:2px;color:var(--font-color)}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-options .ant-select-single .ant-select-selector .ant-select-selection-item,.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-options .ant-select-single .ant-select-selector .ant-select-selection-placeholder{line-height:var(--line-height-default)!important}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper{display:inline-flex;height:24px;line-height:var(--line-height-middle);margin-left:16px}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-options .ant-pagination-options-quick-jumper input{border:1px solid var(--font-color-grey-3);border-radius:2px;height:24px;line-height:var(--line-height-default);margin:0 4px}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-item{border:1px solid var(--font-color-grey-3)}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-item-active{border:1px solid var(--primary-color)}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-item,.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-item-link,.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-jump-next,.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-jump-prev,.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-next,.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-prev{border-radius:2px;height:24px;line-height:var(--line-height-default);min-width:24px}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-item button,.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-item-link button,.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-jump-next button,.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-jump-prev button,.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-next button,.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-prev button{border:1px solid var(--font-color-grey-3)}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-item-active{background:var(--primary-color)}.style_container__k\+uRt__MTYKL .table-page .ant-pagination .ant-pagination-item-active a{color:var(--bg-color-white);font-weight:400}.style_container__k\+uRt__MTYKL .table-page .ant-table-row:not(.ant-table-row-selected):nth-of-type(odd),.style_container__k\+uRt__MTYKL .table-page .ant-table-row:not(.ant-table-row-selected):nth-of-type(odd) .ant-table-cell-fix-left,.style_container__k\+uRt__MTYKL .table-page .ant-table-row:not(.ant-table-row-selected):nth-of-type(odd) .ant-table-cell-fix-right{background:var(--bg-color-grey-1)}.style_container__k\+uRt__MTYKL .table-page .ant-table-row:not(.ant-table-row-selected):nth-of-type(odd) .ant-table-cell-fix-left:hover,.style_container__k\+uRt__MTYKL .table-page .ant-table-row:not(.ant-table-row-selected):nth-of-type(odd) .ant-table-cell-fix-right:hover{background:var(--bg-color-grey)}.style_container__k\+uRt__MTYKL .table-page .ant-table-row:not(.ant-table-row-selected):nth-of-type(2n),.style_container__k\+uRt__MTYKL .table-page .ant-table-row:not(.ant-table-row-selected):nth-of-type(2n) .ant-table-cell-fix-left,.style_container__k\+uRt__MTYKL .table-page .ant-table-row:not(.ant-table-row-selected):nth-of-type(2n) .ant-table-cell-fix-right{background:var(--bg-color-white)}.style_container__k\+uRt__MTYKL .table-page .ant-table-row:not(.ant-table-row-selected):hover .ant-table-cell-fix-left,.style_container__k\+uRt__MTYKL .table-page .ant-table-row:not(.ant-table-row-selected):hover .ant-table-cell-fix-right,.style_container__k\+uRt__MTYKL .table-page .ant-table-row:not(.ant-table-row-selected):nth-of-type(2n) .ant-table-cell-fix-left:hover,.style_container__k\+uRt__MTYKL .table-page .ant-table-row:not(.ant-table-row-selected):nth-of-type(2n) .ant-table-cell-fix-right:hover{background:var(--bg-color-grey)}.style_container__k\+uRt__MTYKL .table-page .ant-table-thead{background:var(--bg-color-grey-3);white-space:nowrap}.style_container__k\+uRt__MTYKL .table-page .ant-table-thead .ant-table-cell:before{content:normal!important}.style_container__k\+uRt__MTYKL .table-page .ant-table{border-radius:4px}.style_container__k\+uRt__MTYKL .table-page .ant-table .ant-table-container{border-top-left-radius:4px;border-top-right-radius:4px}.style_container__k\+uRt__MTYKL .table-page .ant-table .ant-table-container .ant-table-cell{padding-left:16px}.style_container__k\+uRt__MTYKL .table-page .ant-table-container table>thead>tr:first-child th:last-child{border-radius:0 4px 0 0}.style_container__k\+uRt__MTYKL .table-page .ant-table table{border-radius:4px 4px 0 0}.style_container__k\+uRt__MTYKL .table-page .ant-table-thead>tr>th{background-color:var(--bg-color-grey-4)}.style_container__k\+uRt__MTYKL .table-page .ant-table-container,.style_container__k\+uRt__MTYKL .table-page .ant-table-container table>thead>tr:first-child th:first-child{border-top-left-radius:4px}.style_container__k\+uRt__MTYKL .table-page .ant-table-row-expand-icon{border-color:#0000}.style_container__k\+uRt__MTYKL .ant-notification .ant-notification-notice-wrapper .ant-notification-notice{padding:0}.style_container__k\+uRt__MTYKL .ant-tag.no-border{background:#f3f3f3;border:none;border-radius:2px;padding:4px 12px}.style_drawer__hA8bn__MTYKL .ant-drawer-body{display:flex;overflow:hidden;padding:0}.style_drawer-outer__vuEIf__MTYKL{--drawer-height:calc(100vh - 110px);display:flex;flex:1 1;flex-direction:column}.style_drawer-title__71eaW__MTYKL{border-bottom:1px solid var(--bg-color-grey-3);color:var(--font-color);font-size:16px;font-weight:700;margin-bottom:0;padding:11px 24px}.style_drawer-body__frw9I__MTYKL{flex:1 1;max-height:var(--drawer-height)}.style_drawer-body__frw9I__MTYKL.style_is-disabled-scroller__ZsITw__MTYKL .style_drawer-body-inner__lci9Z__MTYKL{padding:0}.style_drawer-body__frw9I__MTYKL:not(.style_is-disabled-scroller__ZsITw__MTYKL){overflow:auto}.style_drawer-body-inner__lci9Z__MTYKL{padding:24px 32px}.style_drawer-footer__1g8o1__MTYKL{border-top:1px solid var(--bg-color-grey-3);padding:12px 24px}.style_drawer-close__bpxnp__MTYKL{background:#0000;border:0;border-radius:2px;color:var(--font-color-grey);cursor:pointer;font-weight:600;inset-inline-end:17px;line-height:1;outline:0;padding:0;position:absolute;text-decoration:none;top:17px;transition:color .2s,background-color .2s;z-index:1010}.style_drawer-close__bpxnp__MTYKL.ant-btn.ant-btn-icon-only.ant-btn-text{height:22px;width:22px}
|
|
2
|
-
/*# sourceMappingURL=9968.268cb170.chunk.css.map*/
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[1154],{67390:(e,t,n)=>{n.r(t),n.d(t,{Download:()=>x,FileLink:()=>G,List:()=>W,OptionButtons:()=>O,default:()=>V,downloadBlobFile:()=>f,useDownload:()=>g,useFileModal:()=>I});var s=n(33097),r=n.n(s),a=n(89946),l=n.n(a),o=n(55199),i=n(63908),c=n(64671),d=n(87558),u=n(73884),m=n(96418),p=n.n(m),h=n(70579);const f=async(e,t)=>{const n=e=>{const n=document.createElement("a"),s=new MouseEvent("click");n.download=t,n.href=e,n.dispatchEvent(s)};if(!e)throw new Error("\u672a\u83b7\u53d6\u5230\u4e0b\u8f7d\u7684\u6587\u4ef6\u4fe1\u606f");if("string"===typeof e&&/blob:http(s)?:/.test(e))return void n(e);if("[object Blob]"===Object.prototype.toString.call(e)){const t=new Blob([e],{type:r()(e,"type")});return void n(URL.createObjectURL(t))}const{data:s}=await l()({url:e,responseType:"blob"});n(URL.createObjectURL(new Blob([s],{type:r()(s,"type")})))},g=e=>{let{id:t,filename:n,staticUrl:s,apis:r,onError:a,onSuccess:l}=e;const{message:c}=o.App.useApp(),{apis:m,staticUrl:h}=(0,i.usePreset)(),g=Object.assign({},m,r),[_,x]=(0,u.useState)(!1),y=s||h||"",{paramsType:j,paramsName:v,...b}=Object.assign({paramsType:"params",paramsName:"id"},g.oss),N={};N[j]={[v]:t};const{isLoading:A,data:w,error:C,refresh:M,...T}=(0,d.useFetch)(Object.assign({},b,N,{auto:!1})),S=p()(a||c.error),L=p()(l);return(0,u.useEffect)((()=>{A||(C?S(C):w&&(x(!0),f(/^https?:\/\//.test(w)?w:y+w,n).then(L).catch((e=>{S(e.message)})).then((()=>{x(!1)}))))}),[A,C,y,w,n,S,L]),{...T,isLoading:A||_,download:()=>M(t&&N)}},_=e=>{let{id:t,filename:n,api:s,onSuccess:r,onError:a,onClick:l,...i}=e;const{isLoading:d,download:u}=g({id:t,filename:n,api:s,onError:a,onSuccess:r});return(0,h.jsx)(o.Button,{icon:(0,h.jsx)(c.default,{type:"icon-xiazai"}),...i,loading:d,onClick:function(){l&&l(...arguments),u()}})};_.defaultProps={filename:"\u672a\u547d\u540d\u4e0b\u8f7d\u6587\u4ef6"},_.useDownload=g,_.downloadBlobFile=f;const x=_;var y=n(75087),j=n.n(y),v=n(58407),b=n(96252),N=n(58609),A=n(74065),w=n.n(A),C=n(26304),M=n.n(C),T=n(3382),S=n(51714);const L="style_file-modal-outer__1guNh__MTYKL",P="style_file-title__8bnUq__MTYKL",F="style_ellipse__kDaLC__MTYKL",I=()=>{const e=(0,T.useModal)(),{message:t}=o.App.useApp();return(0,u.useCallback)((n=>{let{title:s,id:r,originName:a,apis:l,openDownload:i=!0,...c}=n;return e(Object.assign({footer:null},c,{title:(0,h.jsxs)(o.Space,{size:10,className:P,children:[(0,h.jsx)("span",{className:F,children:s||a}),i&&(0,h.jsx)(x,{className:"btn-no-padding",type:"link",id:r,apis:l,filename:a,onSuccess:()=>{t.success("\u4e0b\u8f7d\u6210\u529f")}})]}),children:(0,h.jsx)("div",{className:L,children:(0,h.jsx)(S.default,{id:r,originName:a,apis:l})})}))}),[e,t])},k=e=>({"en-US":()=>n.e(5645).then(n.bind(n,75645)),"zh-CN":()=>n.e(6707).then(n.bind(n,26707))}[e]()),R=(0,N.createWithIntl)({moduleName:"File",importMessages:k})((e=>{let{item:t,hasPreview:n,getPermission:s,apis:r}=e;const{filename:a,id:l}=t,{formatMessage:i}=(0,N.useIntl)({moduleName:"File"}),d=(0,b.useFormModal)(),u=I();return(0,h.jsxs)(o.Space,{size:0,children:[n&&s("preview",t)&&(0,h.jsx)(o.Button,{type:"text",icon:(0,h.jsx)(c.default,{type:"icon-yulan"}),onClick:()=>{r.onPreview?r.onPreview(t):u({id:l,originName:a,apis:r})}}),s("edit",t)&&(0,h.jsx)(o.Button,{type:"text",icon:(0,h.jsx)(c.default,{type:"icon-bianji"}),onClick:()=>{const e=d({size:"small",title:i({id:"editDocumentName"}),formProps:{data:{name:M()(t.filename.split(".")).join(".")},onSubmit:async n=>{!1!==(r.onEdit&&await r.onEdit({formData:Object.assign({},n,{name:`${n.name}.${w()(t.filename.split("."))}`}),item:t}))&&e.close()}},children:(0,h.jsx)(b.default,{column:1,list:[(0,h.jsx)(b.Input,{name:"name",label:i({id:"documentName"}),rule:"REQ LEN-0-100"})]})})}}),s("download",t)&&(0,h.jsx)(x,{type:"text",id:l,filename:a}),s("delete",t)&&(0,h.jsx)(v.default,{type:"text",icon:(0,h.jsx)(c.default,{type:"icon-shanchu"}),onClick:()=>r.onDelete&&r.onDelete(t)})]})}));R.defaultProps={hasPreview:!0,apis:{},getPermission:(e,t)=>!0};const O=R;var E=n(57469),K=n.n(E);const Y="style_list-item-outer__0jlCN__MTYKL",D="style_list-item__nmPCB__MTYKL",B="style_split__kgSlH__MTYKL",z="style_loading__kQUX5__MTYKL",U="style_list-options__aEila__MTYKL",$=e=>{let{className:t,dataSource:n,getPermission:s,infoItemRenders:r,apis:a}=e;return(0,h.jsx)(N.IntlProvider,{importMessages:k,moduleName:"File",children:(0,h.jsx)(o.List,{className:t,dataSource:n.map(((e,t)=>(e.index=t,e))),rowKey:e=>`item_${e.uuid&&`uuid_${e.uuid}`||e.id&&`id_${e.id}`||e.ossId&&`id_${e.ossId}`}`,renderItem:e=>{const{type:t,filename:n}=e;return(0,h.jsx)(o.List.Item,{className:Y,children:(0,h.jsxs)(o.Row,{justify:"space-between",wrap:!1,className:D,children:[(0,h.jsxs)(o.Col,{flex:1,children:[(0,h.jsx)("div",{className:B}),(0,h.jsxs)(o.Space,{className:"is-block",align:"start",size:4,children:[(0,h.jsx)(j(),{type:w()(null===n||void 0===n?void 0:n.split(".")),size:14}),n]})]}),r&&r.map(((n,s)=>(0,h.jsxs)(o.Col,{span:n.span||4,children:["uploading"!==t&&("function"===typeof n?n:n.render)(e),(0,h.jsx)("div",{className:B})]},s))),(0,h.jsx)(o.Col,{className:U,children:"uploading"!==t?(0,h.jsx)(O,{getPermission:s,item:e,apis:a}):(0,h.jsxs)(o.Space,{className:z,children:[(0,h.jsx)(o.Spin,{size:"small"}),(0,h.jsx)(o.Typography.Link,{children:(0,h.jsx)(N.FormattedMessage,{id:"uploading",moduleName:"File"})})]})})]})})},bordered:!0})})};$.defaultProps={infoItemRenders:[e=>e.userName?(0,h.jsx)(o.Typography.Text,{children:e.userName}):null,e=>e.date?(0,h.jsx)(o.Typography.Text,{children:K()(e.date).format("YYYY-MM-DD HH:mm:ss")}):null]};const W=$;const V=(0,n(97211).A)((e=>{let{data:t,children:n,...s}=e;return n({url:t,...s})})),H=e=>{let{id:t,originName:n,openDownload:s,children:r,modalProps:a,...l}=e;const i=I();return(0,h.jsx)(o.Typography.Link,{...l,onClick:()=>{i({...a,id:t,originName:n,openDownload:s})},children:r||n})};H.defaultProps={openDownload:!0};const G=H},51714:(e,t,n)=>{n.r(t),n.d(t,{AudioPreview:()=>O,HtmlPreview:()=>j,ImagePreview:()=>R,OSSFilePreview:()=>z,OfficePreview:()=>N,PdfPreview:()=>T,TextPreview:()=>I,UnknownPreview:()=>k,VideoPreview:()=>E,default:()=>U});var s=n(63114),r=n.n(s),a=n(73884),l=n(13050),o=n(83136),i=n.n(o);const c="style_container__9Fu-3__MTYKL",d="style_loading__r3aiE__MTYKL",u="style_text-outer__TzhuG__MTYKL",m="style_error__wSaxt__MTYKL",p="style_audio-inner__2QoDC__MTYKL",h="style_video-inner__xmN5r__MTYKL",f="style_html-preview-iframe__bQQiA__MTYKL";var g=n(87558),_=n(70579);const x=e=>{if(!/^http?s:\/\//.test(e))return!1;const t=new URL(window.location.href),n=new URL(e);return["protocol","hostname","port"].some((e=>t[e]!==n[e]))},y=(0,g.createWithFetch)({transformResponse:e=>{let{data:t}=e;return{data:{code:200,results:t}}}})((e=>{let{data:t}=e;const n=(0,a.useRef)(null);return(0,a.useEffect)((()=>{const e=(new DOMParser).parseFromString(t,"text/html");e.querySelectorAll("script").forEach((e=>{e.parentElement.removeChild(e)}));const s=(0,l.getPublicPath)("components-core")+"/iframeResizer.contentWindow.js",r=document.createElement("script");r.src=s,e.head.appendChild(r);const a=document.createElement("style");a.innerText="html,body{height:auto!important;}body{pointer-events: none;background: #FFFFFF;}",e.head.appendChild(a),n.current.srcdoc=e.documentElement.outerHTML}),[t]),(0,a.useEffect)((()=>{r().iframeResize({checkOrigin:!1},n.current)}),[]),(0,_.jsx)("iframe",{title:"\u6587\u4ef6\u9884\u89c8",frameBorder:"0",width:"100%",ref:n})})),j=e=>{let{className:t,url:n,maxWidth:s}=e;return(0,_.jsx)("div",{className:i()(t,c),style:{maxWidth:s},children:x(n)?(0,_.jsx)("iframe",{title:"\u6587\u4ef6\u9884\u89c8",src:n,frameBorder:"0",width:"100%",className:f}):(0,_.jsx)(y,{url:n})})};var v=n(63908);const b=(0,g.createWithFetch)({cache:"office-preview"})((e=>{let{data:t,className:n,...s}=e;const{data:r}=t;return r.map((e=>{let{url:t,type:r}=e;const l=D[r]||B(t);return(0,a.createElement)(l,{...s,url:t,key:t,className:n})}))})),N=e=>{let{id:t,apis:n,className:s,...r}=e;const{apis:a,staticUrl:l,ajax:o}=(0,v.usePreset)(),i=Object.assign({},a,n);return(0,_.jsx)(b,{...r,...i.previewOffice||{loader:async e=>{var t;let{data:n}=e;const{data:s}=await o(Object.assign({},i.oss,null!==(t=i.oss)&&void 0!==t&&t.url?{url:(i.oss.url||"").replace("{id}",n.id)}:{}));return{data:[{url:`https://view.officeapps.live.com/op/view.aspx?src=${encodeURIComponent((l||"")+s)}&wdPrint=0&wdEmbedCode=0`,type:"html"}]}}},data:{id:t},className:s})};var A=n(55199),w=n(39165),C=(n(71975),n(36));const M=(0,a.memo)((e=>{let{url:t,maxWidth:n,scale:s,rotate:r,className:o}=e;const[u,m]=(0,a.useState)(0);w.pdfjs.GlobalWorkerOptions.workerSrc=(0,l.getPublicPath)("components-core")+"/pdfjs/build/pdf.worker.js";const[p,h]=(0,a.useState)(n),f=(0,C.useResize)((()=>{f.current&&f.current.clientWidth&&h(Math.min(f.current.clientWidth,n))}));return(0,_.jsx)("div",{ref:f,className:i()(o,c),style:{maxWidth:n},children:(0,_.jsx)(w.Document,{file:{url:t},options:{standardFontDataUrl:(0,l.getPublicPath)("components-core")+"/pdfjs/standard_fonts/",cMapUrl:(0,l.getPublicPath)("components-core")+"/pdfjs/cmaps/",cMapPacked:!0},error:"PDF\u6587\u4ef6\u52a0\u8f7d\u5931\u8d25",loading:(0,_.jsx)("div",{className:d,children:(0,_.jsx)(A.Spin,{})}),noData:"\u672a\u6307\u5b9aPDF\u6587\u4ef6",onLoadSuccess:e=>{let{numPages:t}=e;m(t)},onLoadError:e=>{},onSourceError:e=>{},children:(0,_.jsx)(A.Space,{direction:"vertical",children:u>=1&&Array.from(new Array(u),((e,t)=>(0,_.jsx)(w.Page,{className:"preview-item",scale:s/100,rotate:r,pageNumber:t+1,width:p,loading:null,renderAnnotationLayer:!1,renderTextLayer:!0,noData:"\u672a\u6307\u5b9a\u9875\u9762"},`page_${t}`)))})})})}));M.defaultProps={autoSize:!0,renderTextLayer:!1,scale:100,rotate:0,maxWidth:1200};const T=M;var S=n(91409),L=n.n(S),P=n(89946),F=n.n(P);const I=e=>{let{url:t,className:n,maxWidth:s}=e;const[r,l]=(0,a.useState)(""),[o,p]=(0,a.useState)(!0),[h,f]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{F().get(t).then((e=>{let{data:t}=e;l(t),p(!1)}),(()=>{p(!1),f(!0)}))}),[t]),(0,_.jsxs)("div",{className:i()(n,c),style:{maxWidth:s},children:[o?(0,_.jsx)("div",{className:d,children:(0,_.jsx)(A.Spin,{})}):null,(0,_.jsx)("div",{className:u,children:h?(0,_.jsx)("div",{className:m,children:"\u6587\u4ef6\u52a0\u8f7d\u5931\u8d25"}):(0,_.jsx)(L(),{text:r})})]})},k=e=>{let{maxWidth:t}=e;return(0,_.jsx)("div",{className:c,style:{maxWidth:t},children:(0,_.jsx)("div",{className:u,children:(0,_.jsx)(A.Result,{status:"500",title:"\u4e0d\u652f\u6301\u7684\u6587\u4ef6\u7c7b\u578b",subTitle:"\u7cfb\u7edf\u4e0d\u652f\u6301\u8be5\u6587\u4ef6\u7c7b\u578b\u9884\u89c8\uff0c\u8bf7\u4e0b\u8f7d\u5230\u672c\u5730\u540e\u8fdb\u884c\u9884\u89c8"})})})},R=e=>{let{url:t,scale:n,rotate:s,className:r,maxWidth:l}=e;const[o,u]=(0,a.useState)(!0),[p,h]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{const e=new Image;e.src=t;const n=()=>{u(!1)},s=()=>{u(!1),h(!0)};return e.addEventListener("load",n),e.addEventListener("error",s),()=>{e.removeEventListener("load",n),e.removeEventListener("error",s)}}),[t,n,s]),(0,_.jsxs)("div",{className:i()(r,c),style:{maxWidth:l},children:[o?(0,_.jsx)("div",{className:d,children:(0,_.jsx)(A.Spin,{})}):null,p?(0,_.jsx)("div",{className:m,children:"\u56fe\u7247\u52a0\u8f7d\u5931\u8d25"}):(0,_.jsx)("img",{src:t,alt:"\u7b80\u5386\u9884\u89c8"})]})},O=e=>{let{url:t,maxWidth:n,...s}=e;return(0,_.jsx)("div",{className:c,style:{maxWidth:n},children:(0,_.jsx)("div",{className:p,children:(0,_.jsx)("audio",{...s,src:t,controls:!0})})})},E=e=>{let{url:t,maxWidth:n,...s}=e;return(0,_.jsx)("div",{className:c,style:{maxWidth:n},children:(0,_.jsx)("div",{className:h,children:(0,_.jsx)("video",{...s,src:t,controls:!0})})})},K=e=>{const t=(e||"").split("?")[0].toLowerCase();return/.txt$/.test(t)?"txt":/.pdf$/.test(t)?"pdf":/.(png|jpg|jpeg)$/.test(t)?"image":/.(html|htm)$/.test(t)?"html":/.(doc|docx|xls|xlsx|ppt|pptx)$/.test(t)?"office":/.(mp3|wav|ogg|aac)$/.test(t)?"audio":/.(mp4|avi|mov|mkv|flv)$/.test(t)?"video":"unknown"},Y=K,D={txt:I,pdf:T,image:R,html:j,office:N,audio:O,video:E,unknown:k},B=e=>D[K(e)];const z=(0,n(97211).A)((e=>{let{data:t,id:n,staticUrl:s,className:r,...a}=e;const{staticUrl:l}=(0,v.usePreset)(),o=s||l||"",i=B(t);return"office"===Y(t)?(0,_.jsx)(N,{...a,id:n,className:r}):(0,_.jsx)(i,{...a,className:r,url:/^https?:\/\//.test(t)?t:o+t})})),U=e=>{let{id:t,originName:n,...s}=e;return"office"===Y(n)?(0,_.jsx)(N,{...s,id:t,originName:n}):(0,_.jsx)(z,{...s,id:t,originName:n})}},330:(e,t,n)=>{n.r(t),n.d(t,{default:()=>y,useFlexBox:()=>g});var s=n(77964),r=n(74065),a=n.n(r),l=n(73884),o=n(55199),i=n(87558),c=n.n(i),d=n(19853),u=n.n(d),m=n(83136),p=n.n(m),h=n(70579);const f=[{width:786,col:1,size:15},{width:960,col:2,size:12},{width:1360,col:3,size:12},{width:1680,col:4,size:12},{width:1920,col:5,size:15}],g=e=>{const{columns:t,onChange:n}=Object.assign({},{columns:f},e),[r,o]=(0,l.useState)(null),i=(0,l.useRef)(null),c=(0,s.A)((e=>{const s=e.clientWidth,r=t.find(((e,t)=>e.width>=s))||a()(t);u()(r,i.current)||(o(r),i.current&&n&&n(r),i.current=r)}));return{ref:c,column:r}},_=e=>{let{columns:t,outerClassName:n,gutter:s,...r}=e;const{ref:a,column:l}=g({columns:t});return(0,h.jsx)("div",{ref:a,className:n,children:l&&(0,h.jsx)(o.List,{...r,grid:{gutter:s,column:l.col}})})};_.defaultProps={gutter:16,columns:f},_.Item=o.List.Item;const x=(0,l.forwardRef)(((e,t)=>{let{columns:n,api:s,getFetchApi:r,outerClassName:a,className:l,gutter:i,dataFormat:d,...u}=e;const{ref:m,column:f}=g({columns:n});return(0,h.jsx)("div",{ref:m,className:a,children:f&&(0,h.jsx)(c(),{...s||r(f),ref:t,render:e=>{let{data:t,isComplete:n}=e;return(0,h.jsx)(o.List,{...u,className:p()(l,"loading-container",{"is-loading":!n}),dataSource:d(t),grid:{gutter:i,column:f.col}})}})})}));x.defaultProps={gutter:16,columns:f,dataFormat:e=>e.pageData},_.Fetch=x;const y=_},45053:(e,t,n)=>{n.d(t,{A:()=>p});var s=n(98434),r=n(55199),a=n(73884),l=n(83136),o=n.n(l),i=n(70720),c=n.n(i),d=n(47094),u=n(70579);const m=e=>{let{name:t,groupName:n,overlayClassName:l,errorRender:i,groupIndex:m,children:p}=e;const h=(e=>{let{name:t,groupName:n,groupIndex:r}=e;const{emitter:l,formState:o}=(0,s.useFormContext)(),i=(0,a.useRef)({name:t,groupName:n,groupIndex:r});i.current={name:t,groupName:n,groupIndex:r};const c=(0,a.useRef)(o);c.current=o;const[d,u]=(0,a.useState)(null);return(0,a.useEffect)((()=>{const e=l.addListener("form-field-validate-complete",(e=>{let{id:t,validate:n}=e;const r=c.current[t];if(!r)return;const a=i.current;r.name!==a.name||a.groupName&&(r.groupName!==a.groupName||r.groupIndex!==a.groupIndex)||u(2===n.status?Object.assign({},n,{label:r.label,errMsg:s.util.compileErrMsg(n.msg,r.label)}):null)}));return()=>{e&&e.remove()}}),[l]),d})({name:t,groupName:n,groupIndex:m}),[f,g]=(0,a.useState)(!1),_=h&&f&&i(Object.assign({},h,{closeHover:()=>g(!1)})),x=(0,a.useRef)(null),y=(0,a.useRef)(null);c()((()=>{g(!1)})).current={contains:e=>x.current.contains(e)||y.current&&y.current.contains(e)};const[j,v]=(0,a.useState)(0);return(0,a.useLayoutEffect)((()=>{const e=()=>{const e=x.current.querySelector(".react-form__field-component");e&&v(e.clientWidth)};e();const t=new ResizeObserver(e);t.observe(x.current);const n=new MutationObserver(e);return n.observe(x.current,{subtree:!0,childList:!0}),()=>{n.disconnect(),t.disconnect()}}),[]),(0,u.jsx)(r.Popover,{open:!!_,overlayClassName:o()(l,d.A["error-tip-overlay"]),content:_&&(0,u.jsx)("div",{ref:y,style:{width:j},className:o()(d.A["error-tip-overlay-content"]),children:_}),placement:"bottom",transitionName:"ant-slide-up",arrow:!1,children:(0,u.jsx)("div",{className:o()("error-tip"),ref:x,onMouseEnter:()=>{g(!0)},children:p})})};m.defaultProps={errorRender:()=>null};const p=m},83560:(e,t,n)=>{n.d(t,{A:()=>h});var s=n(55199),r=n(98434),a=n(63361),l=n(73884),o=n(10486),i=n(21554),c=n(64671),d=n(83136),u=n.n(d),m=n(47094),p=n(70579);const h=e=>{let{list:t,groupArgs:n,itemRender:d}=e;const h=(0,r.useFormContext)(),f=Object.assign({},h,n?{groupArgs:n}:{}),g=(0,l.useRef)(null),[_,x]=(0,l.useState)(!1);return(0,l.useEffect)((()=>{x(!0)}),[]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{ref:g,style:{display:"none"}}),t.filter((e=>"function"===typeof e.props.display?e.props.display(f):!1!==e.props.display)).map(((e,r)=>{const h=e.props.name+r||n&&n[0]+r||r,x={key:h,list:t,props:e.props},y=Object.assign({},e.props),j=e.type;["display","block","hidden","setExtraProps","isBlock","featureId"].forEach((t=>{e.props.hasOwnProperty(t)&&(x[t]=e.props[t]),delete y[t]})),x.hasOwnProperty("isBlock")&&(y.block=x.isBlock);const v=(0,p.jsx)(j,{...Object.assign({},y,"function"===typeof x.setExtraProps?x.setExtraProps({props:y,contextApi:f}):{}),onChange:function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return e.props.onChange&&e.props.onChange(...n,f)}}),b=x.hidden?_&&(0,o.createPortal)(v,g.current):d(x.tips?(0,p.jsxs)(s.Row,{gutter:8,align:"top",children:[(0,p.jsx)(s.Col,{flex:1,children:v}),(0,p.jsx)(s.Col,{children:(0,p.jsx)(i.default,{content:x.tips,children:(0,p.jsx)("span",{className:u()(m.A["field-tips"],{[m.A["label-hidden"]]:y.labelHidden}),children:(0,p.jsx)(c.default,{type:"icon-xinxi-miaobian"})})})})]}):v,x);return(0,p.jsx)(l.Fragment,{children:x.hasOwnProperty("featureId")?(0,p.jsx)(a.default,{id:x.featureId,children:b},h):b},h)}))]})}},85696:(e,t,n)=>{n.d(t,{A:()=>j});var s=n(73884),r=n(63908),a=n(33097),l=n.n(a),o=n(64261),i=n(58609),c=n(55431),d=n(46237),u=n(1454),m=n(46732),p=n(98434),h=n(83136),f=n.n(h),g=n(47094),_=n(70579);const x=e=>{let{children:t}=e;const[n,a]=(0,s.useState)(!1),i=(0,r.usePreset)(),c=l()(i,"formInfo",{}),d=l()(i,"locale");return(0,s.useEffect)((()=>{Promise.resolve((0,o.A)(c,{locale:d})).then((()=>{a(!0)}))}),[c,d]),n?t:null},y=(0,s.forwardRef)(((e,t)=>{let{className:n,helperGuideName:s,children:r,lang:a,...l}=e;return(0,_.jsx)(i.IntlProvider,{importMessages:c.A,moduleName:"FormInfo",children:(0,_.jsx)(d.Ay,{value:a,children:(0,_.jsx)(u.default,{children:(0,_.jsx)(m.K,{value:s,children:(0,_.jsx)(p.FormAntd,{...l,ref:t,className:f()(n,g.A["form-outer"]),children:(0,_.jsx)(x,{children:r})})})})})})}));y.defaultProps={type:"inner"};const j=y},35774:(e,t,n)=>{n.d(t,{A:()=>l});var s=n(98434),r=n(81014),a=n(70579);const l=e=>{let{onClick:t,...n}=e;const l=(0,s.useFormContext)();return(0,a.jsx)(r.default,{...n,onClick:e=>t(l,e)})}},48221:(e,t,n)=>{n.d(t,{Ay:()=>h,WJ:()=>g,Xy:()=>f});var s=n(25963),r=n(83136),a=n.n(r),l=n(98434),o=n(73025),i=n(58609),c=n(47094),d=n(55431),u=n(70579);const m=[{children:"\u53d6\u6d88",ButtonComponent:l.CancelButton},{type:"primary",children:"\u4fdd\u5b58",ButtonComponent:l.SubmitButton,autoClose:!1}],p=e=>{let{className:t,withDecorator:n,footerButtons:s=m,formProps:r,...o}=e;return{...o,footerButtons:s,className:a()(t,c.A["form-outer"],c.A["form-drawer"]),withDecorator:e=>{const t=t=>{const n="function"===typeof r?r(t):r;return(0,u.jsx)(l.FormAntd,{...n,children:(0,u.jsx)(i.IntlProvider,{importMessages:d.A,moduleName:"FormInfo",children:e(t)})})};return"function"===typeof n?n(t):t()}}},h=e=>(0,u.jsx)(s.default,{...p(e)}),f=()=>{const e=(0,s.useDrawer)();return t=>e(p(t))},g=e=>{const t=f();return(0,u.jsx)(o.A,{...e,modalFunc:t})}},2196:(e,t,n)=>{n.d(t,{A:()=>p});var s=n(55199),r=n(73884),a=n(1454),l=n(330),o=n(83560),i=n(47094),c=n(83136),d=n.n(c),u=n(70579);const m=e=>{let{list:t,groupArgs:n,column:a,gap:c,className:m,outer:p,...h}=e;const f=!(Number.isInteger(a)&&a>0),{ref:g,column:_}=(0,l.useFlexBox)(f?a:{}),x=(e,r)=>(0,u.jsx)(s.Row,{gutter:[c||24,0],className:d()({[i.A["column-not-layout"]]:r}),children:(0,u.jsx)(o.A,{list:t,groupArgs:n,itemRender:(t,n)=>(0,u.jsx)(s.Col,{span:!0===n.block?24:Math.round(24/(e||1)),children:t})})});return(0,r.cloneElement)(p,Object.assign({},h,{className:d()(m,i.A["form-info"])}),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{ref:g}),f?_?x(_.col):x(2,!0):x(a)]}))};m.defaultProps={column:2,list:[],outer:(0,u.jsx)(a.default.Part,{})};const p=m},30891:(e,t,n)=>{n.d(t,{A:()=>r});var s=n(98434);const r=e=>{let{children:t}=e;const{openApi:n,formData:r}=(0,s.useFormContext)();return t({...n,formData:r})}},46237:(e,t,n)=>{n.d(t,{Ay:()=>i,oc:()=>o});var s=n(73884);const r=(0,s.createContext)([]),{Provider:a,Consumer:l}=r,o=()=>(0,s.useContext)(r),i=a},5995:(e,t,n)=>{n.d(t,{Ay:()=>g,Vl:()=>_,W6:()=>x});var s=n(3382),r=n(83136),a=n.n(r),l=n(98434),o=n(83799),i=n(73025),c=n(58609),d=n(47094),u=n(55431),m=n(55199),p=n(70579);const h="FormInfo",f=e=>{let{className:t,withDecorator:n,footerButtons:s,formProps:r,cancelText:i,saveText:m,...f}=e;return{...f,footerButtons:s||[{children:(0,p.jsx)(c.IntlProvider,{importMessages:u.A,moduleName:h,children:i||(0,p.jsx)(c.FormattedMessage,{id:"Cancel",moduleName:h})}),ButtonComponent:l.CancelButton},{type:"primary",children:(0,p.jsx)(c.IntlProvider,{importMessages:u.A,moduleName:h,children:m||(0,p.jsx)(c.FormattedMessage,{id:"Save",moduleName:h})}),ButtonComponent:l.SubmitButton,autoClose:!1}],className:a()(t,d.A["form-outer"],d.A["form-modal"]),withDecorator:e=>{const t=t=>{const n="function"===typeof r?r(t):r;return(0,p.jsx)(o.lV,{...n,children:(0,p.jsx)(c.IntlProvider,{importMessages:u.A,moduleName:"FormInfo",children:e(t)})})};return"function"===typeof n?n(t):t()}}},g=e=>(0,p.jsx)(s.default,{...f(e)}),_=()=>{const e=(0,s.useModal)();return t=>e(f(t))},x=e=>{const t=_();if(!e.api){const{modalProps:n,...s}=e;return(0,p.jsx)(m.Button,{...s,onClick:()=>{t(n)}})}return(0,p.jsx)(i.A,{...e,modalFunc:t})}},94005:(e,t,n)=>{n.d(t,{$X:()=>u,Ay:()=>d,Wp:()=>m});var s=n(5995),r=n(55199),a=n(73884),l=n(98434),o=n(70579);const i=e=>{let{setCurrent:t,current:n,items:s,setStepData:a,stepData:i}=e;const c=s[n],{formData:d}=(0,l.useFormContext)();return(0,o.jsxs)(r.Space,{className:"full-space",direction:"vertical",children:[(0,o.jsx)(r.Steps,{current:n,onChange:e=>{a((t=>{const n=t.slice(0);return n[e]=d,n})),t(e)},items:s}),c.children]})},c=()=>{const[e,t]=(0,a.useState)([]),[n,s]=(0,a.useState)(0);return r=>{var a;let{items:c,formProps:d}=r;const u=n===c.length-1;return{stepData:e,formProps:Object.assign({},d,{data:Object.assign({},null===(a=d.data)||void 0===a?void 0:a[n],e[n]),onSubmit:r=>{const a=e.slice(0);if(a[n]=r,t(a),u)return null===d||void 0===d?void 0:d.onSubmit(e);s(n+1)}}),children:(0,o.jsx)(i,{items:c,current:n,setCurrent:s,stepData:e,setStepData:t}),footerButtons:[{children:"\u53d6\u6d88",ButtonComponent:l.CancelButton},{type:"primary",children:u?"\u4fdd\u5b58":"\u4e0b\u4e00\u6b65",ButtonComponent:l.SubmitButton,autoClose:!1}]}}},d=e=>{const t=c(),{footerButtons:n,children:r,formProps:a}=t(e);return(0,o.jsx)(s.Ay,{...e,formProps:a,footerButtons:n,children:r})},u=()=>{const e=(0,s.Vl)(),t=c();return n=>{const{footerButtons:s,children:r,formProps:a}=t(n);return e({...n,formProps:a,footerButtons:s,children:r})}},m=e=>{let{modalProps:t,...n}=e;const r=c(),{footerButtons:a,children:l,formProps:i}=r(t);return(0,o.jsx)(s.W6,{...n,modalProps:Object.assign({},t,{formProps:i,footerButtons:a,children:l})})}},46732:(e,t,n)=>{n.d(t,{A:()=>d,K:()=>c});var s=n(75363),r=n(73884),a=n(98434),l=n(47094),o=n(70579);const i=(0,r.createContext)(""),{Provider:c}=i,d=e=>{let{name:t}=e;const n=(0,r.useContext)(i),c=(0,a.useGroup)();return n&&(0,o.jsx)(s.default,{className:l.A["helper-guide-field"],name:n+"-"+(c.name?c.name+"-":"")+t})}},85846:(e,t,n)=>{n.d(t,{A:()=>y});var s=n(73884),r=n(55199),a=n(58407),l=n(64671),o=n(1454),i=n(98434),c=n(2196),d=n(83136),u=n.n(d),m=n(55431),p=n(58609),h=n(33097),f=n.n(h),g=n(47094),_=n(70579);const x=(0,p.createWithIntl)({moduleName:"FormInfo",importMessages:m.A})((e=>{let{title:t,addText:n,minLength:o,isUnshift:d,maxLength:m,defaultLength:h,label:x,name:y,beforeAdd:j,afterDelete:v,column:b,list:N,listRender:A,itemTitle:w,outer:C,renderChildren:M,className:T,important:S,deleteButtonProps:L}=e;const P=(0,s.useRef)(null),F=(0,i.useFormContext)(),{formData:I}=F,k=!(m&&m<=f()(I,`${y}.length`,0)),{formatMessage:R}=(0,p.useIntl)({moduleName:"FormInfo"}),O=()=>{"function"===typeof j&&!1===j(y,F,{isUnshift:d,group:P.current})||P.current.onAdd({isUnshift:d})};return(0,_.jsxs)(_.Fragment,{children:[(0,s.cloneElement)(C,{title:t,addText:n,className:u()(T,g.A["list-part"]),allowAdd:d&&k,add:O},M((0,_.jsx)(i.GroupList,{name:y,defaultLength:h,ref:P,children:function(){for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];const{id:i,index:d,onRemove:m,length:h}=(e=>{if("object"===typeof e[0])return e[0];const[t,{index:n,onRemove:s,length:r}]=e;return{id:t,index:n,onRemove:s,length:r}})(n),f={key:i,column:b,list:"function"===typeof N?N(...n,F):N,title:"function"===typeof w?w({index:d,key:i,onRemove:m}):w,groupArgs:n,extra:(0,_.jsx)(p.FormattedMessage,{id:"delText",moduleName:"FormInfo",children:e=>o&&o>=h?null:(0,_.jsx)(a.default,{danger:!0,className:"btn-no-padding",message:R({id:"delConfirm"},{name:x||t}),type:"link",onClick:()=>{m(i),v&&v(...n,F)},...Object.assign({},L),children:null!==L&&void 0!==L&&L.children?null===L||void 0===L?void 0:L.children:(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(l.default,{type:"icon-shanchu"}),e]})})})};return(0,_.jsxs)("div",{className:u()(g.A["list-item"],{[g.A["is-important"]]:S}),children:["function"===typeof A?A(f):(0,_.jsx)(c.A,{...f,className:g.A["list-item-part"],gap:16}),(0,_.jsx)(r.Divider,{})]},i)}}))),!d&&k?(0,_.jsx)(p.FormattedMessage,{id:"addText",moduleName:"FormInfo",children:e=>(0,_.jsxs)(r.Button,{onClick:O,children:[(0,_.jsx)(l.default,{type:"icon-tianjia"}),n||e]})}):null]})}));x.defaultProps={minLength:0,isUnshift:!0,defaultLength:1,outer:(0,_.jsx)((e=>{let{add:t,addText:n,className:s,allowAdd:a,...i}=e;return(0,_.jsx)(o.default.Part,{...i,className:s,extra:a&&(0,_.jsx)(p.FormattedMessage,{id:"addText",moduleName:"FormInfo",children:e=>(0,_.jsxs)(r.Typography.Text,{className:g.A["list-btn"],onClick:t,children:[(0,_.jsx)(l.default,{type:"icon-tianjia"}),n||e]})})})}),{}),renderChildren:e=>e};const y=x},97949:(e,t,n)=>{n.d(t,{A:()=>h});var s=n(73884),r=n(55199),a=n(98434),l=n(64671),o=n(33097),i=n.n(o),c=n(47094),d=n(83136),u=n.n(d),m=n(70579);const p=e=>{let{name:t,label:n,rule:o,field:d,defaultLength:p,minLength:h,maxLength:f,...g}=e;const _=(0,s.useRef)(null),x=d,y=(0,a.useFormContext)(),{formData:j}=y,v=!(f&&f<=i()(j,`${t}.length`,0));return(0,m.jsxs)("div",{className:u()(c.A["mult-field"],"mult-field"),children:[(0,m.jsx)(a.GroupList,{ref:_,name:t,defaultLength:Math.max(p,h,1),children:function(){for(var e=arguments.length,s=new Array(e),a=0;a<e;a++)s[a]=arguments[a];const{id:i,index:d,onRemove:p,length:f}=(e=>{if("object"===typeof e[0])return e[0];const[t,{index:n,onRemove:s,length:r}]=e;return{id:t,index:n,onRemove:s,length:r}})(s);return(0,m.jsxs)("div",{className:u()(c.A["mult-field-item"],"mult-field-item",{[c.A["first-item"]]:0===d}),children:[(0,m.jsx)(x,{...g,name:t,label:n,rule:o}),(0,m.jsxs)("div",{children:[(0,m.jsx)("div",{className:u()(c.A["react-form__field-label"],"react-form__field-label","mult-field-delete--label")}),(0,m.jsx)(r.Button,{icon:(0,m.jsx)(l.default,{type:"shanchu"}),onClick:p,disabled:f<=Math.max(h,1)})]})]},i)}}),v&&(0,m.jsxs)(r.Button,{className:c.A["mult-field-add-btn"],type:"dashed",onClick:()=>_.current.onAdd(),children:[(0,m.jsx)(l.default,{type:"tianjia"}),"\u6dfb\u52a0",n]})]})};p.defaultProps={minLength:1,defaultLength:1};const h=p},18936:(e,t,n)=>{n.d(t,{A:()=>k});const s={"ant-tag":"style_ant-tag__7ct2q__MTYKL",overlay:"style_overlay__CXfU5__MTYKL",input:"style_input__+OpvV__MTYKL","is-disabled":"style_is-disabled__uX4qq__MTYKL","input-icon":"style_input-icon__E3NjK__MTYKL",large:"style_large__vMozz__MTYKL",small:"style_small__ubqQ+__MTYKL","input-inner":"style_input-inner__sY-6k__MTYKL","input-custom":"style_input-custom__Kxq3n__MTYKL","display-content":"style_display-content__qA1jn__MTYKL","overlay-footer-extra":"style_overlay-footer-extra__yCzWX__MTYKL","selected-tag":"style_selected-tag__BZsMM__MTYKL","selected-tag-list":"style_selected-tag-list__As0ho__MTYKL","selected-tag-inner":"style_selected-tag-inner__2NH59__MTYKL","text-inner":"style_text-inner__Bq2Ji__MTYKL",placeholder:"style_placeholder__odotY__MTYKL","is-modal":"style_is-modal__4cj8L__MTYKL","overlay-content":"style_overlay-content__kpGRn__MTYKL"};var r=n(74981);const{context:a,useContext:l,Provider:o,Consumer:i}=(0,r.A)();var c=n(73884),d=n(10986),u=n.n(d),m=n(87558),p=n(33097),h=n.n(p),f=n(55199),g=n(83136),_=n.n(g),x=n(3382),y=n(64671),j=n(79686),v=n.n(j),b=n(41740),N=n.n(b),A=n(74065),w=n.n(A),C=n(17342),M=n(70579);const T=e=>{let{maxLength:t,single:n,setValue:s,value:r,message:a}=e;return e=>s(!n&&Number.isInteger(t)&&t>0&&e.length>t?(a(`\u6700\u591a\u9009\u62e9${t}\u4e2a`),r):e)},S=e=>{let{single:t,value:n,mapping:r,onClose:a}=e;return n&&Array.isArray(n)&&0!==n.length?t?(0,M.jsx)("span",{className:s["text-inner"],children:h()(r.get(n[0]),"label")||n[0]}):n.map((e=>{const t=r.get(e);return(0,M.jsx)(f.Tag,{className:s["display-tag"],closable:!0,onClose:n=>{n.preventDefault(),a(e,t)},children:(0,M.jsx)("span",{className:s["tag-inner"],children:h()(t,"label")||e})},e)})):null},L=(0,c.forwardRef)(((e,t)=>{let{value:n,onChange:r,extra:a,showSelectedTag:l,renderSelectedContent:o,children:i,...d}=e;const[u,m]=(0,c.useState)(n),p=(0,c.useRef)(n);p.current=n;const[h,g]=(0,c.useState)(!1),{message:_}=f.App.useApp(),y=T({maxLength:d.maxLength,single:d.single,setValue:m,value:u,message:_.error});return(0,c.useEffect)((()=>{h&&m(p.current)}),[h]),(0,c.useImperativeHandle)(t,(()=>({modalOpen:()=>{g(!0)},close:()=>{g(!1)}}))),(0,M.jsx)(x.default,{...d,open:h,onConfirm:()=>{r(u)},onClose:()=>{g(!1)},footer:(l||a)&&(0,M.jsxs)(f.Space,{direction:"vertical",className:s["overlay-footer"],children:[a&&(0,M.jsx)("div",{className:s["overlay-footer-extra"],children:a}),l&&o({value:u,setValue:y})]}),children:"function"===typeof i?i({value:u,setValue:y}):i})})),P=(0,c.forwardRef)(((e,t)=>{let{value:n,setValue:r,children:a,renderSelectedContent:l,showSelectedTag:o,placement:i,inputContent:d,single:u,extra:m,overlayWidth:p,wrapClassName:h,...g}=e;const[_,x]=(0,c.useState)(!1);return(0,c.useImperativeHandle)(t,(()=>({close:()=>{x(!1)}})),[]),(0,M.jsx)(f.Popover,{...g,open:_,onOpenChange:x,overlayClassName:s.overlay,arrow:!1,content:(0,M.jsxs)("div",{style:p?{"--overlay-width":p}:{},className:s["overlay-content"],onClick:e=>{e.stopPropagation()},children:[(0,M.jsx)("div",{className:s["overlay-inner"],children:"function"===typeof a?a({value:n,setValue:e=>{(!u||n[0]!==e[0])&&r(e),u&&x(!1)}}):a}),(o||m)&&(0,M.jsxs)("div",{className:s["overlay-footer"],children:[m&&(0,M.jsx)("div",{className:s["overlay-footer-extra"],children:m}),o&&l({value:n,setValue:r})]})]}),trigger:"click",placement:i,children:(0,M.jsx)("div",{className:s["input-inner"],children:d})})})),F=(0,m.withFetch)((e=>{let{setFetchApi:t,wrapClassName:n,...r}=e;const[a,o]=(0,c.useState)(!1),i=(0,c.useRef)(null),d=(0,c.useRef)(null),u=l(),{valueState:m,mapping:p,props:h}=u,[g,x]=m,{single:j,placement:v,getPopupContainer:b,placeholder:N,isPopup:A,disabled:w,showSelectedTag:T,extra:F,inputContent:I}=h,k=(0,c.useRef)(r);k.current=r,(0,c.useEffect)((()=>{t(Object.assign({},k.current,{data:r.data,isComplete:r.isComplete}))}),[r.data,t,r.isComplete]);const R=S({single:j,value:g,mapping:p,onClose:e=>{x((t=>{const n=t.slice(0),s=t.indexOf(e);return s>-1&&n.splice(s,1),n}))}}),O=e=>{let{value:t,setValue:n}=e;return(0,M.jsxs)(f.Space,{className:s["selected-tag"],align:"center",wrap:!0,children:[(0,M.jsxs)("div",{children:["\u5df2\u9009",!h.single&&Number.isInteger(h.maxLength)&&h.maxLength>0?`(${t.length}/${h.maxLength})`:"",":"]}),(0,M.jsx)(C.A,{className:s["selected-tag-list"],children:(0,M.jsx)("div",{className:s["selected-tag-inner"],children:S({value:t,mapping:p,onClose:e=>{n((t=>{const n=t.slice(0),s=t.indexOf(e);return s>-1&&n.splice(s,1),n}))}})})})]})},E=I?I(u):(0,M.jsxs)(f.Space,{className:s["display-content"],onMouseOver:()=>{o(!0)},onMouseOut:()=>{o(!1)},children:[(0,M.jsx)("div",{children:R||(0,M.jsx)("span",{className:s.placeholder,children:N})}),a&&g&&g.length>0&&!w?(0,M.jsx)(y.default,{className:_()(s.close,s["input-icon"],"close","input-icon"),type:"icon-shibai",onClick:e=>{e.stopPropagation(),x([])}}):(0,M.jsx)(y.default,{className:_()(s["input-icon"],"input-icon-arrow","input-icon"),type:"icon-arrow-thin-down"})]});return A?(0,M.jsx)(P,{ref:d,overlayWidth:h.overlayWidth,value:g,setValue:x,single:j,inputContent:E,extra:"function"===typeof F?F({close:()=>d.current.close(),context:u}):F,renderSelectedContent:O,showSelectedTag:T,trigger:"click",placement:v,getPopupContainer:b,children:h.children}):(0,M.jsxs)("div",{className:s["input-inner"],onClick:()=>{i.current.modalOpen()},children:[(0,M.jsx)(L,{size:h.modalSize,ref:i,single:h.single,maxLength:h.maxLength,disabledScroller:!0,wrapClassName:_()(s.overlay,s["is-modal"],n),title:h.placeholder,value:g,onChange:x,extra:"function"===typeof F?F({close:()=>i.current.close(),context:u}):F,showSelectedTag:T,renderSelectedContent:O,children:h.children}),E]})})),I=e=>{let{api:t,className:n,displayItems:r,wrapClassName:a,...l}=e;const[i,d]=(0,c.useState)(""),[m,p]=(0,c.useState)(new Map(r.map((e=>[e.value,e])))),[g,x]=(0,c.useState)({}),{message:y}=f.App.useApp(),j=e=>{const t=e.filter((e=>m.get(e.value)!==e));0!==t.length&&p((e=>{const n=N()(e);return t.forEach((e=>{n.set(e.value,e)})),n}))},b=e=>((e,t,n)=>"all"!==n?e:(t(e),e.map((e=>e.value))))(l.single?v()(e)?[]:[e]:e||[],j,l.valueType),[A,C]=u()(Object.assign({},l,{onChange:e=>{const t=((e,t,n)=>"all"!==n?e:e.map((e=>t.get(e))))(e,m,l.valueType);l.onChange&&l.onChange(l.single?w()(t):t)}},"value"in l?{value:b(l.value)}:{defaultValue:b(l.defaultValue)})),S=T({maxLength:l.maxLength,single:l.single,setValue:C,value:A,message:y.error});return(0,M.jsx)(o,{value:{mapping:m,searchText:i,setSearchText:d,appendMapping:j,setItems:e=>{g.setData(e),j(h()(l.dataFormat(e),"list",[]))},fetchApi:g,valueState:[A,S],props:l},children:(0,M.jsx)("div",{className:_()(s["input"+(l.inputContent&&"function"===typeof l.inputContent?"-custom":"")],n),children:(0,M.jsx)(F,{...t,wrapClassName:a,loading:null,setFetchApi:x,onRequestSuccess:e=>{j(h()(l.dataFormat(e),"list",[])),t.onRequestSuccess&&t.onRequestSuccess(e)}})})})};I.defaultProps={placeholder:"\u8bf7\u9009\u62e9",displayItems:[],extra:null,api:{loader:()=>[]},dataFormat:e=>({list:e}),placement:"bottomLeft",getPopupContainer:null,showSelectedTag:!0},I.useContext=l;const k=I},97056:(e,t,n)=>{n.d(t,{A:()=>h});var s=n(85846),r=n(83560),a=n(55199),l=n(41740),o=n.n(l),i=n(73884),c=n(83136),d=n.n(c),u=n(47094),m=n(70579);const p=(0,i.forwardRef)(((e,t)=>{const[n,s]=(0,i.useState)(new Map);return(0,i.useImperativeHandle)(t,(()=>e=>{setTimeout((()=>{s((t=>{if(t.has(e.key))return t;const n=o()(t);return n.set(e.key,e.props),n}))}))}),[]),(0,m.jsxs)(a.Row,{wrap:!1,className:u.A["table-list-header"],style:{"--col-width":100/n.size+"%"},children:[Array.from(n).map((e=>{let[t,{label:n,rule:s}]=e;return(0,m.jsx)(a.Col,{className:d()({[u.A["is-req"]]:0===(s||"").split(" ").indexOf("REQ")}),children:n},t)})),(0,m.jsx)(a.Col,{className:u.A["table-list-extra"]})]})})),h=e=>{let{list:t,className:n,...l}=e;const o=(0,i.useRef)(null);return(0,m.jsx)(s.A,{...l,className:d()(n,u.A["table-list"]),list:t,renderChildren:e=>(0,m.jsxs)("div",{className:u.A["table-list-inner"],children:[(0,m.jsx)(p,{ref:o}),e]}),listRender:e=>{let{list:t,groupArgs:n,extra:s,key:l}=e;return(0,m.jsxs)(a.Row,{wrap:!1,align:"top",style:{"--col-width":100/t.length+"%"},children:[(0,m.jsx)(r.A,{list:t,groupArgs:n,itemRender:(e,t)=>(o.current(t),(0,m.jsx)(a.Col,{className:u.A["table-list-field"],flex:1,children:e}))}),(0,m.jsx)(a.Col,{className:u.A["table-list-extra"],children:s})]},l)}})}},1904:(e,t,n)=>{n.d(t,{A:()=>i,N:()=>c});var s=n(98434),r=n(36);const{useOnChange:a,useDecorator:l}=s.hooks,o=e=>a(Object.assign({},{placeholder:"\u8bf7\u9009\u62e9"+e.label},e))(r.AddressSelectField);o.Field=r.AddressSelectField,o.AddressEnum=r.AddressSelectField.AddressEnum,o.createAddressApi=r.AddressSelectField.createAddressApi,o.withAddressApi=r.AddressSelectField.withAddressApi;const i=o,c=e=>l(Object.assign({},{placeholder:"\u8bf7\u9009\u62e9"+e.label,inputPlaceholder:"\u8bf7\u8f93\u5165"+e.label},e))(r.AddressInputField);c.Field=r.AddressInputField},30096:(e,t,n)=>{n.d(t,{Ay:()=>d});var s=n(98434),r=n(36);const{useOnChange:a}=s.hooks,l=e=>{const t=t=>a(Object.assign({},{placeholder:"\u8bf7\u9009\u62e9"+t.label},t))(e);return t.field=t.Field=e,t},o=l(r.UserField),i=l(r.TableField),c=l(r.AdvancedSelectField);c.createdList=e=>{let{renderList:t,defaultProps:n}=e;return l((0,r.createListField)({renderList:t,defaultProps:n}))},c.User=o,c.Table=i;const d=c},96339:(e,t,n)=>{n.d(t,{A:()=>Y});var s=n(73884),r=n(29574),a=n(40438),l=n(63908),o=n(3382),i=n(64671),c=n(55199),d=n(53202),u=n.n(d),m=n(33097),p=n.n(m),h=n(83136),f=n.n(h),g=n(51941),_=n(98434),x=n(34677),y=n.n(x);const j="style_upload-btn__-6XtP__MTYKL",v="style_square__UPkfA__MTYKL",b="style_is-loading__wx6Pd__MTYKL",N="style_upload-btn-tips__YtxWz__MTYKL",A="style_drop-tips__N-v59__MTYKL",w="style_preview-area__aV3SN__MTYKL";var C=n(18411),M=n(58609),T=n(55431),S=n(70579);const{useOnChange:L}=_.hooks,P=a.default.Avatar,F="FormInfo",I=(0,r.Ay)((e=>{let{className:t,icon:n,loading:s,value:r,gender:a,width:l,height:o,children:d,shape:u,defaultAvatar:m,apis:h}=e;const g=(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(P,{id:p()(r,"id"),gender:a,width:64*l/o,height:64,shape:u,defaultAvatar:m,apis:h}),(0,S.jsx)("div",{className:N,children:n||(0,S.jsx)(i.default,{type:"icon-chuanzhaopian",size:16})}),d]});return(0,S.jsx)("div",{className:f()(t,j,{[b]:s,[v]:"square"===u||!(l&&l===o)}),style:{width:64*l/o},children:s?(0,S.jsx)(c.Spin,{children:g}):g})})),k=e=>{let t=e.split(","),n=t[1].substring(0,t[1].length-2),s=t[0].match(/:(.*?);/)[1],r=atob(n),a=r.length,l=new Uint8Array(a);for(;a--;)l[a]=r.charCodeAt(a);return new Blob([l],{type:s})},R=(0,s.forwardRef)(((e,t)=>{let{image:n,width:a,height:l,borderRadius:o,preview:d,fileSize:m,accept:p,renderTips:h,getApi:f,shape:_,border:x,...y}=e;const j=(0,M.useIntl)({moduleName:F}),[v,b]=(0,s.useState)(0),N=(0,s.useRef)(null),[C,T]=(0,s.useState)(n),[L,P]=(0,s.useState)(1),[I,R]=(0,s.useState)(0),[O,E]=(0,s.useState)(""),K=(0,s.useRef)(null);(0,s.useLayoutEffect)((()=>{b(2*N.current.clientWidth/3)}),[]),f({getImage:()=>{const e=K.current.getImage(),t=document.createElement("canvas"),n=t.getContext("2d");return t.width=a,t.height=l,n.drawImage(e,0,0,t.width,t.height),new window.File([k(t.toDataURL())],C.name,{type:C.type})}});const Y=()=>{E(K.current.getImage().toDataURL())},D=(0,g.useDebouncedCallback)(Y,500);return(0,S.jsx)("div",{ref:N,children:(0,S.jsxs)(c.Row,{wrap:!1,align:"middle",children:[(0,S.jsx)(c.Col,{span:d?16:24,children:v&&(0,S.jsxs)(c.Space,{direction:"vertical",children:[(0,S.jsx)(u(),{...y,ref:K,image:C,scale:L,rotate:I,width:v-2*x,height:l*v/a-2*x*l/a,border:x,color:[0,0,0,.6],borderRadius:o*v/a,onImageReady:Y,onImageChange:D}),(0,S.jsx)("div",{className:A,children:h(`${j.formatMessage({id:"PictureFormat"})}${p.map((e=>e.replace(/^\./,""))).join(" ")} ${j.formatMessage({id:"ImageSize"})}${j.formatMessage({id:"NotExceeding"},{size:m})}`,{accept:p,fileSize:m})}),(0,S.jsxs)(c.Row,{gutter:14,align:"middle",children:[(0,S.jsx)(c.Col,{children:(0,S.jsx)(c.Tooltip,{title:j.formatMessage({id:"Rotate"}),placement:"bottom",children:(0,S.jsx)(i.default,{type:"icon-xuanzhuan",onClick:()=>{R((e=>(e-90)%360))}})})}),(0,S.jsx)(c.Col,{children:(0,S.jsx)(c.Tooltip,{title:j.formatMessage({id:"ImageFull"}),placement:"bottom",children:(0,S.jsx)(i.default,{type:"icon-chongman",onClick:()=>{P(1)}})})}),(0,S.jsx)(c.Col,{flex:1,children:(0,S.jsx)(c.Slider,{tooltip:{placement:"bottom",formatter:()=>j.formatMessage({id:"Size"})},value:L,step:.05,min:.2,max:3,onChange:P})}),(0,S.jsx)(c.Col,{children:(0,S.jsx)(r.FI,{accept:p,onChange:e=>{e[0].size>1024*m*1024?c.message.error(j.formatMessage({id:"FileNotExceeding"},{name:e[0].name,size:m})):(R(0),P(1),T(e[0]))},children:(0,S.jsx)(M.FormattedMessage,{id:"ReUpload",moduleName:F})})})]})]})}),d&&(0,S.jsx)(c.Col,{span:8,children:(0,S.jsx)("div",{className:w,children:(0,S.jsxs)(c.Space,{direction:"vertical",children:[(0,S.jsx)(c.Avatar,{src:O,shape:_,style:{width:v/2-36,height:(v/2-36)*l/a}}),(0,S.jsx)("div",{style:{textAlign:"center"},children:(0,S.jsx)(M.FormattedMessage,{id:"Preview",moduleName:F})})]})})})]})})}));R.defaultProps={border:1};const O=()=>{const e=(0,o.useModal)();return t=>{const{image:n,width:s,height:r,borderRadius:a,getApi:l,preview:o,fileSize:i,accept:c,renderTips:d,border:u,dropModalSize:m,...p}=Object.assign({},{title:"\u7f16\u8f91\u5934\u50cf",width:200,height:200,borderRadius:"circle"===t.shape&&t.width&&t.width===t.height?t.width/2:2,preview:!0},t);return e({...p,size:m,children:(0,S.jsx)(R,{preview:o,fileSize:i,accept:c,getApi:l,renderTips:d,width:s,height:r,shape:"circle"===t.shape&&t.width&&t.width===t.height?"circle":"square",borderRadius:a,image:n,border:u,scale:1,rotate:0})})}},E=(0,M.createWithIntl)({importMessages:T.A,moduleName:"FormInfo"})((e=>{let{value:t,gender:n,fileSize:r,accept:a,openEditor:o,apis:i,renderTips:d,onChange:u,shape:m,width:p,height:h,title:f,border:g,icon:_,dropModalSize:x,defaultAvatar:j}=e;const[v,b]=(0,s.useState)(!1),{apis:N}=(0,l.usePreset)(),A=y()({},N,i),{ossUpload:w}=A,C=(0,s.useRef)(null),T=O(),L=(0,M.useIntl)({moduleName:F});return(0,S.jsx)(I,{value:t,gender:n,accept:a,width:p,height:h,shape:m,icon:_,loading:v,defaultAvatar:j,apis:A,onChange:e=>{if(e[0].size>1024*r*1024)return void c.message.error(L.formatMessage({id:"FileNotExceeding"},{name:e[0].name,size:r}));const t=e=>(b(!0),w({file:e}).then((e=>{let{data:t}=e;0===t.code?u(t.data):c.message.error(L.formatMessage({id:"UploadFailed"},{msg:t.msg?":"+t.msg:""}))})).finally((()=>{b(!1)})));o?T({image:e[0],width:p,height:h,title:f,shape:m,border:g,dropModalSize:x,getApi:e=>C.current=e,fileSize:r,accept:a,renderTips:d,onConfirm:()=>{t(C.current.getImage())}}):t(e[0])}})}));E.defaultProps={defaultAvatar:C.A,openEditor:!0,fileSize:2,width:200,height:200,dropModalSize:"small",border:1,title:(0,S.jsx)(M.IntlProvider,{importMessages:T.A,moduleName:"FormInfo",children:(0,S.jsx)(M.FormattedMessage,{id:"Crop",moduleName:"FormInfo"})}),accept:[".jpg",".png",".jpeg"],renderTips:e=>e,shape:"circle"};const K=e=>L(e)(E);K.defaultProps={},K.Field=E,K.useDropModal=O;const Y=K},83230:(e,t,n)=>{n.d(t,{A:()=>o});var s=n(98434),r=n(36);const{useOnChange:a}=s.hooks,l=e=>a(Object.assign({},{placeholder:"\u8bf7\u9009\u62e9"+e.label},e))(r.CascaderField);l.Field=r.CascaderField,l.createTreeUtils=r.createTreeUtils;const o=l},81026:(e,t,n)=>{n.d(t,{A:()=>o});var s=n(36),r=n(98434);const{useOnChange:a}=r.hooks,l=e=>a(Object.assign({},{placeholder:"\u8bf7\u9009\u62e9"+e.label},e))(s.FunctionSelectField);l.Field=s.FunctionSelectField,l.Enum=s.FunctionSelectField.Enum;const o=l},78756:(e,t,n)=>{n.d(t,{A:()=>o});var s=n(36),r=n(98434);const{useOnChange:a}=r.hooks,l=e=>a(Object.assign({},{placeholder:"\u8bf7\u9009\u62e9"+e.label},e))(s.IndustrySelectField);l.Field=s.IndustrySelectField,l.Enum=s.IndustrySelectField.Enum;const o=l},15209:(e,t,n)=>{n.d(t,{A:()=>d});var s=n(55199),r=n(10986),a=n.n(r),l=n(13050),o=n(70579);const i=e=>{let{...t}=e;const[n,r]=a()(t);return(0,o.jsx)(s.Input,{...t,value:n,onChange:e=>{r(e.target.value?e.target.value.toUpperCase():e.target.value,e)}})},c=(0,l.createWithRemoteLoader)({modules:["FormInfo@formModule"]})((e=>{let{remoteModules:t,...n}=e;const[s]=t,{hooks:r}=s,{useDecorator:a}=r;return a(Object.assign({placeholder:`\u8bf7\u8f93\u5165${n.label||""}`},n))(i)}));c.field=i;const d=c},92328:(e,t,n)=>{n.d(t,{A:()=>j});var s=n(10986),r=n.n(s),a=n(98434),l=n(55199),o=n(69484);const i="style_money-input__Pyur7__MTYKL",c="style_money-description__9pFk4__MTYKL";var d=n(83136),u=n.n(d),m=n(34677),p=n.n(m),h=n(73884),f=n(70579);const{isNotEmpty:g}=a.util||a.formUtils,{useOnChange:_}=a.hooks,x=e=>{let{chineseEmpty:t,className:n,showError:s,errorDesc:a,transformMoneyToChinese:d,onBlur:m,moneyFormat:_,...x}=e;const[y,j]=(0,h.useState)(""),[v,b]=r()(x),N=p()({controls:!1,precision:2,addonAfter:"\u5143"},x,{max:g(x.max)?x.max>o.e?o.e:x.max:o.e});return(0,f.jsxs)("div",{className:u()(n,"money-input",i),children:[(0,f.jsx)(l.InputNumber,{...N,status:y,formatter:_?e=>`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,","):null,parser:e=>{const t=_?null===e||void 0===e?void 0:e.replace(/\$\s?|(,*)/g,""):e;return g(t)?(Number(t)>Number(N.max)||g(N.min)&&Number(t)<Number(N.min))&&j("error"):j(""),g(t)?Number(t):null},onChange:e=>{b(e)},onBlur:e=>{m&&m(e,j)}}),(0,f.jsx)("div",{className:u()(c),children:"error"===y&&s?a:g(v)?(0,o.A)(d?d(v):v):t})]})},y=e=>_(Object.assign({placeholder:`\u8bf7\u8f93\u5165${e.label||""}`},e))(x);y.Field=x,y.toChineseCharacter=o.A;const j=y},88893:(e,t,n)=>{n.d(t,{N:()=>y,A:()=>j});var s=n(88701),r=n(55199),a=n(98434),l=n(78491),o=n.n(l),i=n(10986),c=n.n(i),d=n(33097),u=n.n(d);const m={"country-select":"style_country-select__Ztf-V__MTYKL","flag-img":"style_flag-img__RGhcM__MTYKL"};var p=n(13050),h=n(70579);const{useDecorator:f}=a.hooks,g=(0,p.createWithRemoteLoader)({modules:["components-iconfont:CountyFlag"]})((e=>{let{remoteModules:t,value:n,onChange:s,...a}=e;const[l]=t;return(0,h.jsx)(l,{children:e=>{let{list:t}=e;return(0,h.jsx)(r.Select,{...a,popupMatchSelectWidth:300,className:m["country-select"],value:n||"CN",onChange:s,placeholder:"\u8bf7\u9009\u62e9\u56fd\u5bb6",showSearch:!0,filterOption:(e,t)=>t.name.indexOf(e)>-1,optionLabelProp:"code",options:t.map((e=>{let{country_name_cn:t,country_code:n,ab:s}=e;return{value:s,code:`(+${n})`,name:t,label:(0,h.jsxs)(r.Space,{align:"center",children:[(0,h.jsx)("span",{className:m["country-name"],children:t}),(0,h.jsxs)("div",{children:["(+",n,")"]})]})}}))})}})})),_=e=>{const{className:t,onBlur:n,name:a,...l}=e,[i,d]=c()(e),m=o()(n||(()=>{})),p=e=>new s.AsYouType(u()(e,"code","CN")).input(u()(e,"value",""));return(0,h.jsx)("div",{className:t,ref:m,children:(0,h.jsx)(r.Input,{...l,addonBefore:(0,h.jsx)(g,{disabled:l.disabled,readOnly:l.readOnly,value:u()(i,"code","CN"),onChange:e=>{d&&d(Object.assign({},i,{code:e,value:p({code:e,value:u()(i,"value","")})})),n&&n()}}),value:u()(i,"value",""),onChange:e=>{d&&d(Object.assign({code:"CN"},i,{value:e.target.value,code:u()(i,"code","CN")}))},onBlur:e=>{d&&d(Object.assign({code:"CN"},i,{value:p({value:e.target.value,code:u()(i,"code","CN")})})),n&&n()}})})},x=e=>{let{rule:t,...n}=e;const s=f(Object.assign({placeholder:`\u8bf7\u8f93\u5165${n.label||""}`,rule:(e=>{const t=(e||"").split(" "),n=t.indexOf("REQ");return n>-1?t.splice(n+1,0,"PHONE_NUMBER"):t.unshift("PHONE_NUMBER"),t.join(" ")})(t)},n));return s(_)};x.Field=_,x.defaultProps={},x.format=e=>{let{code:t,value:n}=e;const r=t?(0,s.getCountryCallingCode)(t):null;return r&&n?`+${r} ${n}`:""},x.parsePhoneNumber=e=>{let{phoneNumber:t}=e;const{country:n,countryCallingCode:r,nationalNumber:a}=t?(0,s.parsePhoneNumber)(t):null;return a&&t?{country:n,countryCallingCode:r,nationalNumber:a}:""};const y=async(e,t)=>{let{field:s}=t;if((s.rule||"").split(" ").indexOf("REQ")>-1&&!u()(e,"value"))return{result:!1,errMsg:"%s\u4e0d\u80fd\u4e3a\u7a7a"};if(!u()(e,"value"))return{result:!0};return{result:await Promise.all([n.e(8481),n.e(6900)]).then(n.bind(n,6900)).then((t=>{let{isValidPhoneNumber:n}=t;return n(u()(e,"value",""),{defaultCountry:u()(e,"code","CN"),extract:!0})})),errMsg:"%s\u683c\u5f0f\u4e0d\u6b63\u786e"}},j=x},36972:(e,t,n)=>{n.d(t,{A:()=>L});var s=n(73884),r=n(87558),a=n(98434),l=n(78491),o=n.n(l),i=n(55199);const c="style_salary__sUOtT__MTYKL",d="style_salary-type__Sl1LC__MTYKL",u="style_input-number__eoEZr__MTYKL",m="style_full__NPqJm__MTYKL",p="style_input-group__toLB7__MTYKL",h="style_input-group-no-mb__C4nzh__MTYKL";var f=n(58609),g=n(55431),_=n(48731),x=n(10986),y=n.n(x),j=n(21079),v=n(70579);const b=(0,r.withFetch)((e=>{let{data:t,...n}=e;return(0,v.jsx)(i.Select,{...n,options:t})})),{useDecorator:N,useUIDecorator:A}=a.hooks,w=e=>{if(!e)return"";const t=isNaN(Number(e))?e:Math.abs(Number(e));return e.split(".")[1]&&e.split(".")[1].length>2?t.toFixed(2):t},C=e=>{let{children:t,isError:n}=e;return(0,v.jsx)("div",{style:{marginBottom:0},className:"react-form__field "+(n?"is-error":""),children:(0,v.jsx)("div",{className:"react-form__field-main",children:(0,v.jsx)("div",{className:"react-form__field-input",children:(0,s.cloneElement)(t,{className:"react-form__field-component"})})})})},M=e=>{let{getPopupContainer:t,onBlur:n,api:s,isRange:r=!0,placeholder:a,disabled:l,showMonth:g,remindUnit:x,req:N,...A}=e;const[M,T]=y()(A),{formatMessage:S}=(0,f.useIntl)({moduleName:"FormInfo"}),L=S({id:"defaultSelectPlaceholder"},{label:""}),P=S({id:"defaultInputPlaceholder"},{label:""}),F=[6].indexOf((0,j.get)(M,"type"))>-1,I=1===(0,j.get)(M,"type"),k=7===(0,j.get)(M,"type"),R=e=>{if(e)return F?e/1e4:e},O=o()(n||(()=>{}));return(0,v.jsx)("div",{ref:O,className:c,children:(0,v.jsxs)(i.Row,{wrap:!1,gutter:10,children:[(0,v.jsx)(i.Col,{children:(0,v.jsx)(b,{className:d,...s,value:(0,j.get)(M,"type"),onChange:e=>{T&&T(Object.assign({},I?{}:M,{type:e,min:"",max:""}))},placeholder:a||L,getPopupContainer:t,disabled:l})}),I?null:(0,v.jsxs)(i.Col,{flex:1,children:[r&&(0,v.jsxs)(i.Row,{className:x&&[5,6].includes(null===M||void 0===M?void 0:M.type)?p:h,wrap:!1,children:[(0,v.jsx)(i.Col,{flex:1,children:(0,v.jsx)(C,{isError:!(0,j.get)(M,"min")&&N,children:(0,v.jsx)(i.InputNumber,{disabled:l,placeholder:P,formatter:w,value:R((0,j.get)(M,"min")),style:{textAlign:"center"},onChange:e=>{T(Object.assign({},M,{min:F?1e4*e:e}))},description:x&&[5,6].includes(null===M||void 0===M?void 0:M.type)?(0,v.jsxs)("span",{style:{color:"#fc3333"},children:["\u6ce8\u610f\uff1a",(0,v.jsx)(_.default,{name:null===M||void 0===M?void 0:M.type,moduleName:"salaryTypeEnum"}),"\u7684\u5355\u4f4d\u4e3a",F?S({id:"thousand"}):k?"":S({id:"yuan"})]}):null})})}),(0,v.jsx)(i.Col,{children:(0,v.jsx)(i.Input,{style:{width:30,borderLeft:0,borderRight:0,pointerEvents:"none"},placeholder:"~",disabled:!0})}),(0,v.jsx)(i.Col,{flex:1,children:(0,v.jsx)(C,{isError:!(0,j.get)(M,"max")&&N,children:(0,v.jsx)(i.InputNumber,{disabled:l,placeholder:P,formatter:w,value:R((0,j.get)(M,"max")),style:{textAlign:"center"},addonAfter:F?S({id:"thousand"}):k?"":S({id:"yuan"}),onChange:e=>{T(Object.assign({},M,{max:F?1e4*e:e}))}})})}),5===(0,j.get)(M,"type")&&g&&(0,v.jsx)(i.Col,{children:(0,v.jsxs)("span",{className:(0,j.get)(M,"max")&&(0,j.get)(M,"min")&&!(0,j.get)(M,"month")&&N?"error":"",children:[(0,v.jsx)("span",{className:u,children:"X"}),(0,v.jsx)(i.InputNumber,{min:12,disabled:l,value:(0,j.get)(M,"month"),onChange:e=>{T(Object.assign({},M,{month:e}))},style:{width:100,textAlign:"center"},placeholder:"\u6570\u91cf",addonAfter:"\u6708"})]})})]}),!r&&!k&&(0,v.jsx)(i.InputNumber,{disabled:l,min:0,max:1e8,placeholder:P,className:m,formatter:w,value:R((0,j.get)(M,"max")),style:{textAlign:"center"},addonAfter:F?S({id:"thousand"}):k?"":S({id:"yuan"}),onChange:e=>{T(Object.assign({},M,{max:F?1e4*e:e}))}}),!r&&k&&(0,v.jsx)(i.Input,{disabled:l,placeholder:P,className:m,onChange:e=>{T(Object.assign({},M,{max:e.target.value}))},value:(0,j.get)(M,"max"),style:{textAlign:"center"}})]})]})})},T=e=>(0,v.jsx)(f.IntlProvider,{moduleName:"FormInfo",importMessages:g.A,children:(0,v.jsx)(M,{...e})});T.defaultProps={api:{loader:()=>[{value:1,label:"\u9762\u8bae"},{value:2,label:"\u65f6\u85aa"},{value:3,label:"\u65e5\u85aa"},{value:4,label:"\u5468\u85aa"},{value:5,label:"\u6708\u85aa"},{value:6,label:"\u5e74\u85aa"}]},defaultValue:{type:5,min:"",max:"",month:12}};const S=e=>{var t;return N({...e,req:(null===e||void 0===e||null===(t=e.rule)||void 0===t?void 0:t.indexOf("REQ"))>-1})(T)};S.Field=T;const L=S},50192:(e,t,n)=>{n.d(t,{A:()=>x});var s=n(87558),r=n(83136),a=n.n(r);const l="style_table__A9nBK__MTYKL";var o=n(21079),i=n(27777),c=n(98434),d=n(10986),u=n.n(d),m=n(73884),p=n(70579);const{useOnChange:h}=c.hooks,f=(0,s.withFetch)((e=>{let{...t}=e;const[n,s]=u()(t),r=["isLoading","isComplete","data","requestParams","error","send","refresh","reload","loadMore","setData"],c=(0,o.pick)(t,r),d=(0,o.omit)(t,r),{rowKey:h="id",columns:f,className:g,innerName:_,headerRender:x,footerRender:y}=d,j=t.dataFormat(c.data),v=(e,t,n)=>{let{current:r,rowKeyValue:a,dataIndex:l}=n;const o={},i=e.slice(0).map((e=>{if(e[h]===a)return o[e[h]]={...e,[l]:r},{...e,[l]:r};{const n=t[e[h]];return o[e[h]]=Object.assign({},e,n),Object.assign({},e,n)}})),d={pageData:i,totalCount:i.length};c.setData(d),s&&s(o)},b=(0,m.useRef)(null);return b.current=v,(0,m.useEffect)((()=>{j.list.every((e=>{const t=n[e[h]]||{};return Object.keys(e).every((e=>t.hasOwnProperty(e)))}))&&Object.keys(n).length===j.list.length||!c.isComplete||b.current(j.list,n,{})}),[c.isComplete,n,j.list,h]),(0,p.jsxs)("div",{children:[x&&x(c),(0,p.jsx)(i.Table,{...d,className:a()(l,g),rowKey:h,dataSource:j.list,pagination:!1,columns:f.map((e=>{const t={...e};return t.dataIndex?Object.assign({},t,{render:(e,s,r)=>{const a=!t.editable||("function"===typeof t.editable?t.editable(e,s,r,j.list):t.editable),l=s[h],i=n[l],d=(0,o.get)(i,t.dataIndex)||e;if(a&&t.field){var u,m;if(null!==(u=t.field)&&void 0!==u&&u.render)return(0,p.jsx)(p.Fragment,{children:t.field.render({value:d,name:`${_}.${l}.${t.dataIndex}`,label:" ",labelHidden:t.labelHidden,onChange:function(){for(var e,s=arguments.length,r=new Array(s),a=0;a<s;a++)r[a]=arguments[a];const o=null!==(e=t.field)&&void 0!==e&&e.getValue?t.field.getValue(r[0]):r[0];return v(j.list,n,{current:o,rowKeyValue:l,dataIndex:t.dataIndex}),t.field.onChange&&t.field.onChange(...r,c)}},s,r,c)});const e=null===(m=t.field)||void 0===m?void 0:m.type;return(0,p.jsx)(e,{...(0,o.omit)(t.field,["type","getValue"]),value:d,name:`${_}.${l}.${t.dataIndex}`,label:" ",labelHidden:t.labelHidden,onChange:function(){for(var e,s=arguments.length,r=new Array(s),a=0;a<s;a++)r[a]=arguments[a];const o=null!==(e=t.field)&&void 0!==e&&e.getValue?t.field.getValue(r[0]):r[0];return v(j.list,n,{current:o,rowKeyValue:l,dataIndex:t.dataIndex}),t.field.onChange&&t.field.onChange(...r,c)}})}return t.render?t.render(d,s,r):d}}):t}))}),y&&y(c)]})}));f.defaultProps={mergeList:(e,t)=>Object.assign({},t,{pageData:(e.pageData||[]).concat(t.pageData||[])}),dataFormat:e=>({list:e.pageData,total:e.totalCount})};const g=e=>{let{api:t,...n}=e;return(0,p.jsx)(f,{...n,...t})};g.defaultProps={api:{},value:{}};const _=e=>h(Object.assign({placeholder:`\u8bf7\u9009\u62e9${e.label}`,innerName:e.name},e))(g);_.Field=g;const x=_},56259:(e,t,n)=>{n.d(t,{A:()=>o});var s=n(89319),r=n(98434);const{useOnChange:a}=r.hooks,l=e=>a(Object.assign({},{},e))(s.A);l.Field=s.A;const o=l},89099:(e,t,n)=>{n.d(t,{A:()=>v});var s=n(55199),r=n(83136),a=n.n(r),l=n(10986),o=n.n(l);const i="style_upload__t422Q__MTYKL",c="style_upload-list__Q9HDc__MTYKL",d="style_tips__3Gpnu__MTYKL";var u=n(64671),m=n(67390),p=n(98434),h=n(1488),f=n.n(h),g=n(29574),_=n(70579);const{useOnChange:x}=p.hooks,y=e=>{let{className:t,fileSize:n,maxLength:r,multiple:l,size:u,accept:p,children:h,renderTips:x,showUploadList:y,onSave:j,ossUpload:v,getPermission:b,...N}=e;const[A,w]=o()(N),C=A||[],{fileList:M,onFileSelected:T}=(0,g.lN)({multiple:l,onSave:j,ossUpload:v,fileSize:n,maxLength:r,value:C,onChange:w,concurrentCount:10}),S=[...M,...C],L=x(`\u652f\u6301\u6269\u5c55\u540d${p.map((e=>e.replace(/^\./,""))).join("\u3001")},\u5355\u4e2a\u6587\u4ef6\u5927\u5c0f\u4e0d\u8d85\u8fc7${n}M\uff0c\u6700\u591a\u4e0a\u4f20${r}\u4e2a\u9644\u4ef6`,{fileSize:n,maxLength:r,accept:p});return(0,_.jsxs)(s.Space,{direction:"vertical",children:[(0,_.jsxs)(s.Space,{children:[(0,_.jsx)(g.Zi,{...f()(N,["value","onChange"]),size:u,multiple:l,accept:p,className:a()(i,t),onChange:T,children:h}),L&&(0,_.jsx)("div",{className:d,children:L})]}),y&&S.length>0&&(0,_.jsx)(m.List,{className:c,dataSource:S,infoItemRenders:[],getPermission:b||(e=>"delete"===e),apis:{onDelete:e=>{const t=C.slice(0),n=t.indexOf(e);n>-1&&t.splice(n,1),w(t)}}})]})};y.defaultProps={defaultValue:[],children:(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(u.default,{type:"icon-shangchuanfujian"}),"\u4e0a\u4f20\u9644\u4ef6"]}),accept:[".pdf",".jpg",".png",".jpeg",".doc",".docx",".xls",".xlsx",".html",".msg",".zip"],renderTips:e=>e,multiple:!0,showUploadList:!0,maxLength:10,fileSize:30};const j=e=>x(e)(y);j.defaultProps={interceptor:"file-format"},j.Field=y;const v=j},72297:(e,t,n)=>{n.d(t,{A:()=>H,E:()=>G});var s=n(98434),r=n(30096),a=n(1904),l=n(83230),o=n(81026),i=n(78756),c=n(92328),d=n(88893),u=n(55199),m=n(70579);const{useOnChange:p,useCheckedToValue:h}=s.hooks,{withChecked:f}=s.hoc,g=f((e=>{let{checked:t,children:n=null,...s}=e;return(0,m.jsxs)(u.Space,{children:[(0,m.jsx)(u.Switch,{checked:t,...s}),"function"===typeof n?n({checked:t}):n]})})),_=e=>{e=Object.assign({},{fieldName:"switch"},e);const t=h(e);return p(t)(g)};_.Field=u.Switch;const x=_;var y=n(89099),j=n(96339),v=n(36972),b=n(15209),N=n(50192),A=n(74529),w=n.n(A),C=n(73884),M=n(58609),T=n(33097),S=n.n(T),L=n(21079),P=n(46237),F=n(56259),I=n(21554),k=n(64671),R=n(83136),O=n.n(R),E=n(47094);const K=e=>t=>{const n=w()(...e)((e=>{let{forwardedRef:n,label:s,placeholder:r,...a}=e;return(0,m.jsx)(t,{...a,label:s,labelRender:()=>a.tips?(0,m.jsxs)(u.Space,{children:[s,(0,m.jsx)(I.default,{content:a.tips,children:(0,m.jsx)("span",{className:O()(E.A["field-tips"],{[E.A["label-hidden"]]:a.labelHidden}),children:(0,m.jsx)(k.default,{type:"icon-xinxi-miaobian"})})})]}):s,ref:n})})),s=(0,C.forwardRef)(((e,t)=>(0,m.jsx)(n,{...e,forwardedRef:t})));return Object.keys(t).filter((e=>-1===["$$typeof","render","field"].indexOf(e))).forEach((e=>{s[e]=t[e]})),s},Y=e=>t=>{let{placeholder:n,label:s,...r}=t;return(0,m.jsx)(M.FormattedMessage,{id:"defaultInputPlaceholder",moduleName:"FormInfo",values:{label:s},children:t=>(0,m.jsx)(e,{...r,label:s,placeholder:n||t})})},D=e=>t=>{let{placeholder:n,label:s,...r}=t;return(0,m.jsx)(M.FormattedMessage,{id:"defaultSelectPlaceholder",moduleName:"FormInfo",values:{label:s},children:t=>(0,m.jsx)(e,{...r,label:s,placeholder:n||t})})},B=e=>t=>{const n=(0,s.useGroup)(),r=S()(n,"name"),a=(0,L.get)(n,"index"),l=(0,P.oc)();return l&&Array.isArray(l)&&l.length>0?l.map((n=>{if("string"===typeof n)return(0,C.createElement)(e,{...t,key:n});const{name:s,label:l,options:o}=n,i=S()(o,"ignore",[]),c=S()(o,"disabled",[]),d=S()(o,"fields",[]),u=e=>t.name===e.name&&!(e.hasOwnProperty("groupName")&&e.groupName!==r)&&!(e.hasOwnProperty("groupIndex")&&e.groupIndex!==a);if(i.length>0&&i.find(u))return null;if(d.length>0&&!d.find(u))return null;let m=Object.assign({},t,{name:S()(o,"nameTransform",((e,t)=>`${e}${t}`))(t.name,s),label:S()(o,"labelTransform",((e,t)=>e&&`${e}${t}`))(t.label,l)});return c.length>0&&c.find(u)&&(m.disabled=!0,m.rule=""),(0,C.createElement)(e,{...m,key:s})})):(0,m.jsx)(e,{...t})},z=K([B,Y])(s.Input),U=K([B,Y])(s.InputNumber);z.Password=K([B,Y])(s.Input.Password);const $=K([B,D])(s.DatePicker);$.MonthPicker=K([B,D])(s.DatePicker.MonthPicker),$.RangePicker=K([B,D])(s.DatePicker.RangePicker),$.WeekPicker=K([B,D])(s.DatePicker.WeekPicker);const W=K([B,D])(s.TimePicker);W.RangePicker=K([B,D])(s.TimePicker.RangePicker);const V=K([B])((e=>{let{placeholder:t,label:n,soFarText:r,...a}=e;const{formatMessage:l}=(0,M.useIntl)({moduleName:"FormInfo"});return(0,m.jsx)(s.DatePickerToday,{...a,label:n,placeholder:[l({id:"startDate"}),l({id:"endDate"})],soFarText:r||l({id:"soFarText"})})})),H={Input:z,Password:z.Password,InputNumber:U,DatePicker:$,MonthPicker:$.MonthPicker,WeekPicker:$.WeekPicker,DateRangePicker:$.RangePicker,TimeRangePicker:W.RangePicker,TimePicker:W,DatePickerToday:V,RadioGroup:K([B])(s.RadioGroup),CheckboxGroup:K([B])(s.CheckboxGroup),Rate:K([B])(s.Rate),Switch:K([B])(x),Slider:K([B])(s.Slider),TableInput:K([B])(N.A),SalaryInput:K([B])(v.A),TypeDateRangePicker:K([B])(F.A),MoneyInput:K([B])(c.A),PhoneNumber:K([B])(d.A),Upload:K([B])(y.A),Avatar:K([B])(j.A),FunctionSelect:K([B,D])(o.A),IndustrySelect:K([B,D])(i.A),Cascader:K([B,D])(l.A),AddressSelect:K([B,D])(a.A),AddressInput:K([B,D])(a.N),TreeSelect:K([B,D])(s.TreeSelect),ReactInputNumber:K([B,Y])(s.InputNumber),InputUpperCase:K([B,Y])(b.A),Select:K([B,D])(s.Select),TextArea:K([B,Y])(s.TextArea),AdvancedSelect:K([B,D])(r.Ay)},G={createWithFieldDecorator:K,withInputDefaultPlaceholder:Y,withSelectDefaultPlaceholder:D,withLang:B}},83799:(e,t,n)=>{n.d(t,{NI:()=>k,TQ:()=>d.A,JL:()=>I,eu:()=>_.A,vx:()=>u.A,lr:()=>U,s3:()=>$,lV:()=>r.A,d4:()=>m.A,ZN:()=>p.A,pd:()=>O,YI:()=>D,h2:()=>R,F0:()=>h.A,go:()=>f.A,tt:()=>s.Rate,lu:()=>x.A,l6:()=>Y,Ap:()=>s.Slider,dO:()=>s.Switch,N:()=>v.A,EY:()=>S,fs:()=>E,AG:()=>z,f7:()=>B,w5:()=>j.A,_O:()=>g.A,nk:()=>W});var s=n(98434),r=n(85696),a=n(58609),l=n(73884),o=n(30891),i=n(47094),c=n(30096),d=n(1904),u=n(83230),m=n(81026),p=n(78756),h=n(92328),f=n(88893),g=n(89099),_=n(96339),x=n(36972),y=n(15209),j=n(56259),v=n(50192),b=n(55199),N=n(10986),A=n.n(N),w=n(70579);const{useDecorator:C}=s.hooks,M=e=>{let{children:t,...n}=e;const[s]=A()(n);return(0,w.jsxs)(b.Typography.Text,{...n,children:[(0,w.jsx)("div",{style:{height:0,width:0,overflow:"hidden"},children:(0,w.jsx)(b.Input,{value:s})}),t||s]})},T=e=>C(e)(M);T.Field=M;const S=T;var L=n(45053);const P=e=>{const t=(0,l.forwardRef)(((t,n)=>{let{placeholder:s,label:r,...l}=t;return(0,w.jsx)(a.FormattedMessage,{id:"defaultInputPlaceholder",moduleName:"FormInfo",values:{label:r},children:t=>(0,w.jsx)(e,{...l,ref:n,label:r,placeholder:s||t})})}));return Object.keys(e).filter((e=>-1===["$$typeof","render","field"].indexOf(e))).forEach((n=>{t[n]=e[n]})),t},F=e=>{const t=(0,l.forwardRef)(((t,n)=>{let{placeholder:s,label:r,...l}=t;return(0,w.jsx)(a.FormattedMessage,{id:"defaultSelectPlaceholder",moduleName:"FormInfo",values:{label:r},children:t=>(0,w.jsx)(e,{...l,ref:n,label:r,placeholder:s||t})})}));return Object.keys(e).filter((e=>-1===["$$typeof","render","field"].indexOf(e))).forEach((n=>{t[n]=e[n]})),t},I=F(c.Ay),k=F(d.N),R=P(y.A),O=P(s.Input);O.Password=P(s.Input.Password);const E=(K=s.TextArea,e=>{let{placeholder:t,label:n,className:s,...r}=e;return(0,w.jsx)(a.FormattedMessage,{id:"defaultInputPlaceholder",moduleName:"FormInfo",values:{label:n},children:e=>(0,w.jsx)("div",{className:i.A["textarea-wrapped-component"],children:(0,w.jsx)(K,{...r,label:n,placeholder:t||e})})})});var K;const Y=F(s.Select),D=P(s.InputNumber),B=F(s.TreeSelect),z=F(s.TimePicker);z.RangePicker=F(s.TimePicker.RangePicker);const U=F(s.DatePicker);U.MonthPicker=F(s.DatePicker.MonthPicker),U.RangePicker=F(s.DatePicker.RangePicker),U.WeekPicker=F(s.DatePicker.WeekPicker);const $=e=>{let{placeholder:t,label:n,soFarText:r,...l}=e;const{formatMessage:o}=(0,a.useIntl)({moduleName:"FormInfo"});return(0,w.jsx)(s.DatePickerToday,{...l,label:n,placeholder:[o({id:"startDate"}),o({id:"endDate"})],soFarText:r||o({id:"soFarText"})})},W=Object.assign({},s,{Input:O,InputUpperCase:R,TextArea:E,Select:Y,InputNumber:D,TreeSelect:B,TimePicker:z,DatePicker:U,DatePickerToday:$,Form:r.A,FormItem:o.A,AdvancedSelect:I,AddressSelect:d.A,AddressInput:k,MoneyInput:h.A,PhoneNumber:f.A,Cascader:u.A,FunctionSelect:m.A,IndustrySelect:p.A,TypeDateRangePicker:j.A,Upload:g.A,Avatar:_.A,SalaryInput:x.A,TableInput:v.A,Text:S,Rate:s.Rate,Switch:s.Switch,Slider:s.Slider,ErrorTip:L.A})},96252:(e,t,n)=>{n.r(t),n.d(t,{AddressInput:()=>x.NI,AddressSelect:()=>x.TQ,AdvancedSelect:()=>x.JL,Avatar:()=>x.eu,Cascader:()=>x.vx,DatePicker:()=>x.lr,DatePickerToday:()=>x.s3,ErrorTip:()=>h.A,Form:()=>m.A,FormApiButton:()=>i.A,FormDrawer:()=>u.Ay,FormDrawerButton:()=>u.WJ,FormItem:()=>p.A,FormModal:()=>c.Ay,FormModalButton:()=>c.W6,FormStepModal:()=>d.Ay,FormStepModalButton:()=>d.Wp,FunctionSelect:()=>x.d4,IndustrySelect:()=>x.ZN,Input:()=>x.pd,InputNumber:()=>x.YI,InputUpperCase:()=>x.h2,List:()=>l.A,MoneyInput:()=>x.F0,MultiField:()=>f.A,PhoneNumber:()=>x.go,Rate:()=>x.tt,SalaryInput:()=>x.lu,Select:()=>x.l6,SelectInnerInput:()=>y.A,Slider:()=>x.Ap,Switch:()=>x.dO,TableInput:()=>x.N,TableList:()=>o.A,Text:()=>x.EY,TextArea:()=>x.fs,TimePicker:()=>x.AG,TreeSelect:()=>x.f7,TypeDateRangePicker:()=>x.w5,Upload:()=>x._O,default:()=>j,fieldDecorator:()=>a.E,fields:()=>a.A,formModule:()=>x.nk,useFormDrawer:()=>u.Xy,useFormModal:()=>c.Vl,useFormStepModal:()=>d.$X});var s=n(64261),r=n(2196),a=n(72297),l=n(85846),o=n(97056),i=n(35774),c=n(5995),d=n(94005),u=n(48221),m=n(85696),p=n(30891),h=n(45053),f=n(97949),g=n(98434),_={};for(const v in g)["default","Form","FormItem","ErrorTip","fields","fieldDecorator","List","TableList","FormApiButton","FormModal","useFormModal","FormModalButton","FormStepModal","useFormStepModal","FormStepModalButton","FormDrawer","useFormDrawer","FormDrawerButton","MultiField","SelectInnerInput"].indexOf(v)<0&&(_[v]=()=>g[v]);n.d(t,_);var x=n(83799),y=n(18936);(0,s.A)(),r.A.fields=a.A,r.A.List=l.A,r.A.TableList=o.A,r.A.FormApiButton=i.A,r.A.FormModal=c.Ay,r.A.useFormModal=c.Vl,r.A.FormModalButton=c.W6,r.A.FormStepModal=d.Ay,r.A.useFormStepModal=d.$X,r.A.FormStepModalButton=d.Wp,r.A.FormDrawer=u.Ay,r.A.useFormDrawer=u.Xy,r.A.FormDrawerButton=u.WJ,r.A.Form=m.A,r.A.FormItem=p.A,r.A.ErrorTip=h.A,r.A.SubmitButton=g.SubmitButton,r.A.CancelButton=g.CancelButton,r.A.fieldDecorator=a.E,r.A.MultiField=f.A,r.A.useFormContext=g.useFormContext,r.A.hooks=g.hooks,r.A.widget=g.widget,r.A.utils=g.utils,r.A.formUtils=g.formUtils;const j=r.A},55431:(e,t,n)=>{n.d(t,{A:()=>s});const s=e=>({"en-US":()=>n.e(1649).then(n.bind(n,21649)),"zh-CN":()=>n.e(711).then(n.bind(n,80711))}[e]())},64261:(e,t,n)=>{n.d(t,{A:()=>h});var s=n(98434),r=n(57469),a=n.n(r),l=n(34677),o=n.n(l),i=n(33097),c=n.n(i),d=(n(17448),n(88893)),u=n(46732),m=n(13050),p=n(70579);const h=async(e,t)=>{const{locale:n}=Object.assign({},t);s.interceptors.input.use("photo-string",(e=>{if(e&&"string"===typeof e){return{id:e.split("?")[0]}}return e})),s.interceptors.output.use("photo-string",(e=>{var t,n;return e&&"string"!==typeof e?(null===(t=e.id)||void 0===t||null===(n=t.split("?"))||void 0===n?void 0:n[0])||e.id:e})),s.interceptors.input.use("to-array",(e=>Array.isArray(e)?e[0]:e)),s.interceptors.output.use("to-array",(e=>[e])),s.interceptors.input.use("array-single",(e=>e?[e]:[])),s.interceptors.output.use("array-single",(e=>e?e[0]:null)),s.interceptors.input.use("boolean-number",(e=>1===e||"1"===e)),s.interceptors.output.use("boolean-number",(e=>e?1:0)),s.interceptors.input.use("un-boolean",(e=>!e)),s.interceptors.output.use("un-boolean",(e=>!e)),s.interceptors.output.use("object-output-value",(e=>e?e.value||e.id:e)),s.interceptors.input.use("date-string",(e=>e?a()(e):null)),s.interceptors.output.use("date-string",(e=>e?new Date(e.valueOf()).toISOString():"")),s.interceptors.input.use("date-range-string",(e=>{if(!Array.isArray(e))return[];const t=[];return e[0]&&t.push(a()(e[0])),e[0]&&e[1]&&"sofar"===e[1]&&t.push("\u81f3\u4eca"),e[0]&&e[1]&&"\u81f3\u4eca"!==e[1]&&t.push(a()(e[1])),t})),s.interceptors.output.use("date-range-string",(e=>{if(!Array.isArray(e))return[];const t=[];return e[0]&&t.push(new Date(e[0].valueOf()).toISOString()),e[0]&&e[1]&&"\u81f3\u4eca"===e[1]&&t.push("sofar"),e[0]&&e[1]&&"\u81f3\u4eca"!==e[1]&&t.push(new Date(e[1].valueOf()).toISOString()),t})),s.interceptors.output.use("file-format",(e=>Array.isArray(e)?e.map((e=>Object.assign({},e,{id:e.id||e.ossId,originalName:e.filename}))):[])),s.interceptors.input.use("file-format",(e=>Array.isArray(e)?e.map((e=>({id:e.id||e.ossId,ossId:e.id||e.ossId,filename:e.originalName||e.filename}))):[]));const{default:r}=await(0,m.loadModule)("components-iconfont:CountyFlag@load"),l=await r(),i=new Map(l.map((e=>{let{ab:t,country_code:n}=e;return[t,n]}))),h=new Map(l.map((e=>{let{ab:t,country_code:n}=e;return[n,t]})));s.interceptors.output.use("phone-number-string",(e=>e.code&&e.value?`+${i.get(e.code)} ${e.value.replace(/\s+/g,"")}`:"")),s.interceptors.input.use("phone-number-string",(e=>{if(!e)return{};const t=e.match(/^\+(\d+)\s(.*)/);return t&&t.length>=3?{code:h.get(Number(t[1])),value:t[2]}:{code:h.get(86),value:e}}));const f=s.RULES.REQ,g=s.RULES.LEN,_=(e,t)=>{const s={REQ:{"zh-CN":"%s\u4e0d\u80fd\u4e3a\u7a7a","en-US":"%s cannot be empty "},LENGTH_EQUAL:{"zh-CN":`%s\u5fc5\u987b\u7b49\u4e8e${(t=Object.assign({},t)).end}`,"en-US":`%s must be equal to ${t.end}`},LENGTH_MORE:{"zh-CN":`%s\u5fc5\u987b\u5927\u4e8e${t.start}`,"en-US":`%s must be greater than ${t.start}`},LENGTH_LESS:{"zh-CN":`%s\u5fc5\u987b\u5c0f\u4e8e${t.end}`,"en-US":`%s must be less than ${t.end}`}},r=c()(s,`${e}.${n}`);return r||c()(s,`${e}.zh-CN`)};(0,s.preset)(o()({},{rules:{REQ:function(){return Object.assign({},f(...arguments),{errMsg:_("REQ")})},LEN:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const[s,r,a]=t;let l="";return a===r&&s.length!==Number(a)&&(l="LENGTH_EQUAL"),s.length<r&&(l="LENGTH_MORE"),a&&s.length>a&&(l="LENGTH_LESS"),Object.assign({},g(...t),{errMsg:_(l,{start:r,end:a})})},PHONE_NUMBER:d.N,ARRAY_LENGTH:(e,t,n)=>n===t&&e.length!==Number(n)?{result:!1,errMsg:_("LENGTH_EQUAL",{start:t,end:n})}:e.length<t?{result:!1,errMsg:_("LENGTH_MORE",{start:t,end:n})}:n&&e.length>n?{result:!1,errMsg:_("LENGTH_LESS",{start:t,end:n})}:{result:!0}},field:{datePicker:{defaultProps:{interceptor:"date-string"}},rangeDatePicker:{defaultProps:{interceptor:"date-range-string"}},inputNumber:{defaultProps:{changeOnWheel:!1}},textArea:{defaultProps:{autoSize:{minRows:2,maxRows:6}}}},globalProps:{labelTips:e=>(0,p.jsx)(u.A,{...e})}},"function"===typeof e?e({interceptors:s.interceptors,RULES:s.RULES}):e))}},75363:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});const s=e=>({"en-US":()=>n.e(9431).then(n.bind(n,9431)),"zh-CN":()=>n.e(1065).then(n.bind(n,81065))}[e]());var r=n(58609),a=n(64671),l=n(55199),o=n(83136),i=n.n(o);const c="style_helper-guide__K5xFw__MTYKL",d="style_inner__bMKeU__MTYKL",u="style_content__xTfWZ__MTYKL",m="style_link__93j7O__MTYKL";var p=n(48731),h=n(70579);const f=e=>{let{name:t,className:n}=e;return(0,h.jsx)(r.IntlProvider,{importMessages:s,moduleName:"HelperGuide",children:(0,h.jsx)(p.default,{moduleName:"helperGuide",name:t,children:e=>e&&e.value&&(0,h.jsx)("div",{className:i()(c,n),children:(0,h.jsxs)(l.Space,{className:d,children:[(0,h.jsx)(a.default,{colorful:!0,type:"icon-color-bangzhuyindao"}),(0,h.jsx)("span",{className:u,children:e.content}),e.url&&(0,h.jsxs)(l.Typography.Link,{className:m,href:e.url,target:"_blank",children:["\u67e5\u770b\u5e2e\u52a9",(0,h.jsx)(a.default,{type:"icon-shuangjiantou-right"})]})]})})})})}},1454:(e,t,n)=>{n.r(t),n.d(t,{default:()=>_});var s=n(55199),r=n(83136),a=n.n(r),l=n(64671);const o="style_part__+Vw3+__MTYKL",i="style_no-title__nO8sX__MTYKL",c="style_part-title__Uw+4K__MTYKL",d="style_collapse__ARl-O__MTYKL",u="style_is-active__i1zHH__MTYKL",m="style_part-title-sub__fcxT7__MTYKL";var p=n(70579);const h=e=>{let{children:t,className:n,...r}=e;return(0,p.jsx)(s.Collapse,{...r,className:a()(d,"collapse",n),expandIcon:e=>{let{isActive:t}=e;return(0,p.jsx)(l.default,{size:12,className:a()({[u]:t,"is-active":t}),type:"icon-triangle-right"})},children:t})};h.Panel=s.Collapse.Panel;const f=h,g=e=>{let{className:t,children:n,...r}=e;return(0,p.jsx)(s.Space,{...r,className:t,direction:"vertical",size:24,children:n})};g.Part=e=>{let{className:t,title:n,subTitle:r,extra:l,children:d,...u}=e;return(0,p.jsx)(s.Card,{className:a()(o,"part",t,{"no-title":!n,[i]:!n}),bordered:!1,title:n&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{className:a()("part-title",c),children:n}),r&&(0,p.jsx)("div",{className:a()("part-title-sub",m),children:r})]}),extra:l,...u,children:d})},g.Collapse=f;const _=g},21554:(e,t,n)=>{n.r(t),n.d(t,{TooltipFetch:()=>S,TooltipInfoLabel:()=>w,default:()=>N});var s=n(55199),r=n(83136),a=n.n(r);const l="style_tooltip__zHGMI__MTYKL",o="style_large__lvmsm__MTYKL",i="style_small__nUt0r__MTYKL",c="style_popup-content__-rKQN__MTYKL",d="style_title__1EQPq__MTYKL",u="style_important-info__qTSZY__MTYKL",m="style_error__yTTq3__MTYKL",p="style_warning__CMJxz__MTYKL",h="style_success__AvJVx__MTYKL",f="style_sub-title__uD8CH__MTYKL",g="style_content__lzgUz__MTYKL",_="style_alone__q6q82__MTYKL",x="style_fetch-content__tEOEV__MTYKL",y="style_fetch-loading__tN-WB__MTYKL",j="style_title-info-icon__iY8Q+__MTYKL";var v=n(70579);const b=e=>{let{overlayClassName:t,title:n,size:r,subtitle:x,content:y,importantInfo:j,importantInfoType:b,moreInfo:N,...A}=e;return(0,v.jsx)(s.Tooltip,{...A,overlayClassName:a()(t,l,{[i]:"small"===r,[o]:"large"===r}),title:(0,v.jsxs)(s.Space,{direction:"vertical",className:c,children:[n&&(0,v.jsx)("div",{className:d,children:n}),j&&(0,v.jsx)("div",{className:a()(u,{[h]:"success"===b,[p]:"warning"===b,[m]:"error"===b}),children:j}),x&&(0,v.jsx)("div",{className:f,children:x}),y&&(0,v.jsx)("div",{className:a()(g,{[_]:[n,x,j,N].every((e=>!e))}),children:y}),N&&(0,v.jsx)("div",{children:N})]})})};b.defaultProps={};const N=b;var A=n(64671);const w=e=>{let{title:t,tooltipTitle:n}=e;return(0,v.jsxs)("div",{children:[t,n?(0,v.jsx)(N,{...n,children:(0,v.jsx)("span",{children:(0,v.jsx)(A.default,{type:"icon-xinxi-miaobian",className:j,size:14})})}):null]})};var C=n(73884),M=n(87558);const T=e=>{let{api:t,children:n,fetchContent:r,showLoading:l,loadingClassName:o,force:i,...c}=e;const[d,u]=(0,C.useState)(!1),m=(0,M.useFetch)(Object.assign({},t,{auto:!1})),{isComplete:p,isLoading:h,data:f,send:g}=m;return(0,v.jsx)(N,{...Object.assign({},c,p?r(f,m):{}),open:d,onOpenChange:async e=>{!e||p&&!i||await g({type:"refresh"}),u(e)},children:(0,v.jsxs)("span",{className:x,children:[n,l&&h?(0,v.jsx)(s.Spin,{size:"small",className:a()(o,y)}):null]})})};T.defaultProps={showLoading:!0};const S=T},47094:(e,t,n)=>{n.d(t,{A:()=>s});const s={"form-outer":"style_form-outer__IWUs0__MTYKL","form-drawer":"style_form-drawer__uYDXS__MTYKL","table-list":"style_table-list__6lp-A__MTYKL","list-item":"style_list-item__hVzQa__MTYKL","table-list-inner":"style_table-list-inner__uc8DK__MTYKL","table-list-field":"style_table-list-field__JSJfB__MTYKL","table-list-header":"style_table-list-header__KXvKa__MTYKL","is-req":"style_is-req__LfXQf__MTYKL","table-list-extra":"style_table-list-extra__faYTK__MTYKL","list-btn":"style_list-btn__WKYkm__MTYKL","form-info":"style_form-info__B8bAP__MTYKL","list-part":"style_list-part__Ld0GA__MTYKL","is-important":"style_is-important__vaBk1__MTYKL","list-item-part":"style_list-item-part__MzKP7__MTYKL","money-input":"style_money-input__J86Pb__MTYKL","money-description":"style_money-description__Gz3p7__MTYKL","components-upload-wrapper":"style_components-upload-wrapper__Ir0gz__MTYKL","textarea-wrapped-component":"style_textarea-wrapped-component__r1oKc__MTYKL","helper-guide-field":"style_helper-guide-field__Wke3w__MTYKL","error-tip-overlay":"style_error-tip-overlay__aNCGc__MTYKL","error-tip-overlay-content":"style_error-tip-overlay-content__kDOoQ__MTYKL","column-not-layout":"style_column-not-layout__+SXC+__MTYKL","mult-field-item":"style_mult-field-item__eS0nJ__MTYKL","first-item":"style_first-item__fLirI__MTYKL","react-form__field-label":"style_react-form__field-label__2U91E__MTYKL","mult-field-add-btn":"style_mult-field-add-btn__5Baxz__MTYKL"}}}]);
|
|
2
|
-
//# sourceMappingURL=1154.176d7551.chunk.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 1554.f47ff2d2.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[1554,4671],{64671:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});s(73884);var n=s(83136),o=s.n(n),l=s(70579);const r=e=>(/^[1-9]+[0-9]*]*$/.test(e.toString())&&(e+="px"),e),_=e=>{let{type:t,colorful:s,className:n,size:_,style:a,prefix:c,...i}=e;const p=((e,t,s)=>"icon-"===t||""===t?(s?"icon-color-":"icon-")+e.replace(/^icon-(color-)?/,""):t+e)(t,c,s),d=o()(n,{iconfont:!s,"iconfont--color":s},p),f=Object.assign({},a,_?{fontSize:r(_)}:{});return s?(0,l.jsx)("svg",{...i,"data-testid":"components-core-iconfont",className:d,style:f,children:(0,l.jsx)("use",{xlinkHref:`#${t}`,style:{pointerEvents:"none"}})}):(0,l.jsx)("i",{...i,"data-testid":"components-core-iconfont",className:d,style:f})};_.defaultProps={colorful:!1,prefix:""};const a=_},21554:(e,t,s)=>{s.r(t),s.d(t,{TooltipFetch:()=>b,TooltipInfoLabel:()=>Y,default:()=>N});var n=s(55199),o=s(83136),l=s.n(o);const r="style_tooltip__zHGMI__MTYKL",_="style_large__lvmsm__MTYKL",a="style_small__nUt0r__MTYKL",c="style_popup-content__-rKQN__MTYKL",i="style_title__1EQPq__MTYKL",p="style_important-info__qTSZY__MTYKL",d="style_error__yTTq3__MTYKL",f="style_warning__CMJxz__MTYKL",y="style_success__AvJVx__MTYKL",u="style_sub-title__uD8CH__MTYKL",m="style_content__lzgUz__MTYKL",x="style_alone__q6q82__MTYKL",h="style_fetch-content__tEOEV__MTYKL",T="style_fetch-loading__tN-WB__MTYKL",v="style_title-info-icon__iY8Q+__MTYKL";var j=s(70579);const L=e=>{let{overlayClassName:t,title:s,size:o,subtitle:h,content:T,importantInfo:v,importantInfoType:L,moreInfo:N,...g}=e;return(0,j.jsx)(n.Tooltip,{...g,overlayClassName:l()(t,r,{[a]:"small"===o,[_]:"large"===o}),title:(0,j.jsxs)(n.Space,{direction:"vertical",className:c,children:[s&&(0,j.jsx)("div",{className:i,children:s}),v&&(0,j.jsx)("div",{className:l()(p,{[y]:"success"===L,[f]:"warning"===L,[d]:"error"===L}),children:v}),h&&(0,j.jsx)("div",{className:u,children:h}),T&&(0,j.jsx)("div",{className:l()(m,{[x]:[s,h,v,N].every((e=>!e))}),children:T}),N&&(0,j.jsx)("div",{children:N})]})})};L.defaultProps={};const N=L;var g=s(64671);const Y=e=>{let{title:t,tooltipTitle:s}=e;return(0,j.jsxs)("div",{children:[t,s?(0,j.jsx)(N,{...s,children:(0,j.jsx)("span",{children:(0,j.jsx)(g.default,{type:"icon-xinxi-miaobian",className:v,size:14})})}):null]})};var M=s(73884),K=s(87558);const O=e=>{let{api:t,children:s,fetchContent:o,showLoading:r,loadingClassName:_,force:a,...c}=e;const[i,p]=(0,M.useState)(!1),d=(0,K.useFetch)(Object.assign({},t,{auto:!1})),{isComplete:f,isLoading:y,data:u,send:m}=d;return(0,j.jsx)(N,{...Object.assign({},c,f?o(u,d):{}),open:i,onOpenChange:async e=>{!e||f&&!a||await m({type:"refresh"}),p(e)},children:(0,j.jsxs)("span",{className:h,children:[s,r&&y?(0,j.jsx)(n.Spin,{size:"small",className:l()(_,T)}):null]})})};O.defaultProps={showLoading:!0};const b=O},51153:(e,t,s)=>{var n=s(73884),o=Symbol.for("react.element"),l=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,_=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,s){var n,l={},c=null,i=null;for(n in void 0!==s&&(c=""+s),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(i=t.ref),t)r.call(t,n)&&!a.hasOwnProperty(n)&&(l[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===l[n]&&(l[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:i,props:l,_owner:_.current}}t.Fragment=l,t.jsx=c,t.jsxs=c},70579:(e,t,s)=>{e.exports=s(51153)}}]);
|
|
3
|
-
//# sourceMappingURL=1554.f47ff2d2.chunk.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[2503,289,9034,7050],{17342:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(8762),s=n.n(r);n(46733);const i=s()},45362:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Label:()=>v,default:()=>x});var r=n(73884),s=n(55199),i=n(83136),o=n.n(i);const a="style_content__KHqQn__MTYKL",l="style_size-small__RwAEB__MTYKL",c="style_label__EG-qx__MTYKL",u="style_content-content__AkJj-__MTYKL",d="style_item__WV0-i__MTYKL";var f=n(63361),p=n(70579);const v=e=>{let{className:t,children:n,setWidth:s}=e;const i=(0,r.useRef)(null);return(0,r.useRef)(s).current=s,(0,r.useLayoutEffect)((()=>{const e=()=>{if(!i.current)return;const{width:e}=i.current.getBoundingClientRect();s(e)},t=new ResizeObserver(e);return t.observe(i.current),e(),()=>{t.disconnect()}}),[s]),(0,p.jsxs)("div",{ref:i,className:t,children:[n,"\uff1a"]})},_=e=>{let{list:t,labelAlign:n,col:i,gutter:_,className:x,size:b}=e;const h=(0,r.useRef)([]),[j,m]=(0,r.useState)(0);return(0,p.jsx)(s.Row,{"data-testid":"components-core-content",className:o()(a,"content",x,{[l]:"small"===b}),gutter:_,children:t.filter((e=>"function"===typeof e.display?e.display():!1!==e.display)).map(((e,t)=>{let{label:r,content:a,block:l,featureId:_}=e;const x=(0,p.jsx)(s.Col,{span:!0===l?24:24/i,className:d,children:(0,p.jsxs)(s.Space,{className:o()(d,"content-item"),children:[r?(0,p.jsx)("div",{style:j&&"auto"!==n?{minWidth:j,textAlign:n}:null,children:(0,p.jsx)(v,{className:o()(c,"content-label"),setWidth:e=>{h.current[t]=e,m(Math.max(...h.current))},children:r})}):null,(0,p.jsx)("div",{className:o()(u,"content-content"),children:a})]},t)},t);return _?(0,p.jsx)(f.default,{id:_,children:x}):x}))})};_.defaultProps={labelAlign:"left",col:1,gutter:0,list:[]};const x=_},63361:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h,useFeatureCall:()=>b});var r=n(73884),s=n(63908),i=n(33097),o=n.n(i),a=n(15797),l=n.n(a),c=n(1488),u=n.n(c),d=n(70579);const f=(e,t,n)=>{e&&(Array.isArray(e)?e.forEach((e=>{f(e,t,n)})):(t(Object.assign({},u()(e,["children"]),{parentId:n})),f(e.children,t,n?n+":"+e.id:e.id)))},p=l()((e=>{const t=(()=>{const t=new Map;return f(e,(e=>{t.set(e.parentId?e.parentId+":"+e.id:e.id,e)})),t})(),n=(e=>Array.from(e.keys()).filter((t=>{const n=e.get(t);return!(Array.isArray(n.dependencies)&&n.dependencies.length>0&&n.dependencies.some((n=>!e.get(t))))})))(t);return{profile:e,features:n,profileMap:t}})),v=(e,t)=>{let{profileMap:n,features:r}=t;const s=n.get(e);return-1!==r.indexOf(e)&&!0!==s.close&&o()(s,"dependencies",[]).every((t=>{const s=n.get(e);return r.indexOf(t)>-1&&!0!==s.close}))},_=(0,r.createContext)(null),{Provider:x}=_,b=e=>{const{features:t,profile:n,profileMap:i,debug:a}=(()=>{const e=(0,s.usePreset)(),{profile:t,debug:n}=o()(e,"features",{debug:!1,profile:{}});return Object.assign({},p(t),{debug:n})})(),l="system"===n.type?n.id:"root",c=(0,r.useContext)(_),u=c?c+":"+e:l+":"+e;return(0,r.useEffect)((()=>{t&&t.length>0&&a&&console.log(`[featureId] ${u},[state] ${v(u,{features:t,profileMap:i})}`,i.get(u))}),[t,i,a,u]),{isPass:!(e&&t&&t.length>0)||v(u,{features:t,profileMap:i}),currentId:u,feature:i.get(u)}},h=e=>{let{id:t,children:n}=e;const{isPass:r,feature:s,currentId:i}=b(t);return(0,d.jsx)(x,{value:i,children:"function"===typeof n?n({isPass:r,options:r?o()(s,"options"):o()(s,"rejectedOptions"),currentId:i}):r&&n})}},89384:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>L});var r=n(55199),s=n(53984),i=n.n(s),o=n(83136),a=n.n(o),l=n(17342),c=n(63908),u=n(64671),d=n(45362);const f={notification:"style_notification__Vv-MM__MTYKL",list:"style_list__l8KOo__MTYKL",header:"style_header__3dcv8__MTYKL",item:"style_item__d92RS__MTYKL","item-box":"style_item-box__dd-Lk__MTYKL","index-1":"style_index-1__f97L0__MTYKL","index-2":"style_index-2__04vAw__MTYKL","item-box-main":"style_item-box-main__lnSak__MTYKL","item-title":"style_item-title__mArMd__MTYKL","level-high":"style_level-high__Uys7Y__MTYKL","level-middle":"style_level-middle__EewyC__MTYKL","level-low":"style_level-low__8kVyL__MTYKL","title-icon":"style_title-icon__1EoAG__MTYKL","item-subtitle":"style_item-subtitle__xeFJs__MTYKL","close-btn":"style_close-btn__7qpG3__MTYKL","is-loading":"style_is-loading__upVL+__MTYKL","item-content":"style_item-content__8MlsG__MTYKL","link-outer":"style_link-outer__kegyZ__MTYKL",link:"style_link__F2CO-__MTYKL","is-last-item":"style_is-last-item__MytRl__MTYKL"};var p=n(73884),v=n(39835),_=n.n(v),x=n(85855),b=n.n(x),h=n(96604),j=n.n(h),m=n(81014),y=n(32520),g=n.n(y),M=n(70579);const A=["high","middle","low"],w=e=>{let{level:t,title:n,groupLength:s,subtitle:i,content:o,link:l,id:p,children:v,className:_}=e;const{setGlobal:x}=(0,c.useGlobalContext)("notification"),{apis:b,ajax:h}=(0,c.usePreset)(),{isLoading:y,callback:A}=(0,m.useLoading)((async()=>{var e;const{data:t}=null!==b&&void 0!==b&&null!==(e=b.notification)&&void 0!==e&&e.read?await h(Object.assign({},b.notification.read,{data:{ids:[p]}})):{data:{code:0}};0===t.code&&x((e=>{const t=((null===e||void 0===e?void 0:e.list)||[]).slice(0),n=g()(t,(e=>p===e.id));return n>-1&&t.splice(n,1),Object.assign({},e,{list:t})}))}));return(0,M.jsxs)("div",{className:a()(f.item,_),style:{"--group-length":Math.min(s,3)||1},children:[s&&s>1&&j()(1,Math.min(s,3)).reverse().map((e=>(0,M.jsx)("div",{className:a()(f["item-box"],f[`index-${e}`])},e))),(0,M.jsxs)("div",{className:a()(f["item-box"],f["item-box-main"]),children:[(0,M.jsxs)("div",{className:a()(f["item-title"],f[`level-${t}`]),children:[(0,M.jsx)(u.default,{className:f["title-icon"],type:"high"===t?"icon-tishi":"icon-daiwochuli"}),(0,M.jsx)(r.Typography.Text,{ellipsis:!0,children:n})]}),(0,M.jsxs)("div",{className:f["item-content"],children:[(0,M.jsxs)("div",{className:f["item-subtitle"],children:[(0,M.jsx)(r.Typography.Text,{ellipsis:!0,children:i||""}),(0,M.jsx)(u.default,{className:a()(f["close-btn"],{[f["is-loading"]]:y}),type:"icon-close-thin",onClick:()=>{y||p&&A()}})]}),Array.isArray(o)?(0,M.jsx)(d.default,{list:o,labelAlign:"auto",size:"small"}):v]}),l&&(0,M.jsx)("div",{className:f["link-outer"],children:(0,M.jsx)(m.default,{className:f.link,size:"small",onClick:async()=>{var e;const{data:t}=null!==b&&void 0!==b&&null!==(e=b.notification)&&void 0!==e&&e.read?await h(Object.assign({},b.notification.read,{data:{ids:[p]}})):{data:{code:0}};0===t.code&&window.open(l)},children:"\u67e5\u770b\u8be6\u60c5"})})]})]})};w.defaultProps={level:"low"};const L=e=>{let{itemClassName:t}=e;const{global:n,setGlobal:s}=(0,c.useGlobalContext)("notification"),o=(0,p.useRef)(),{apis:u,ajax:d}=(0,c.usePreset)(),[v,x]=(0,p.useState)(32);(0,p.useEffect)((()=>{var e;o.current&&x(null===(e=o.current)||void 0===e?void 0:e.clientHeight)}),[]);const{list:h,expand:j}=Object.assign({},{expand:!1,list:[]},n),y=(0,p.useMemo)((()=>{const e=_()(h,(e=>e.level||"low"));return A.map((t=>e[t]||[]))}),[h]);return 0===h.length?null:(0,M.jsxs)("div",{className:a()({},f.notification,"notification"),style:{"--head-option-height":`${v}px`},children:[(0,M.jsx)("div",{ref:o,children:(0,M.jsxs)(r.Row,{justify:"end",wrap:!1,className:f.header,gutter:8,children:[y.some((e=>e.length>1))&&(0,M.jsx)(r.Col,{children:(0,M.jsx)(r.Button,{size:"small",onClick:()=>{s(Object.assign({},n,{expand:!j}))},children:j?"\u5168\u90e8\u6298\u53e0":"\u5168\u90e8\u5c55\u5f00"})}),(0,M.jsx)(r.Col,{children:(0,M.jsx)(m.default,{type:"primary",size:"small",onClick:async()=>{var e;const{data:t}=null!==u&&void 0!==u&&null!==(e=u.notification)&&void 0!==e&&e.read?await d(Object.assign({},u.notification.read,{data:{ids:h.map((e=>e.id)).filter((e=>!!e))}})):{data:{code:0}};0===t.code&&s(Object.assign({},n,{list:[]}))},children:"\u5168\u90e8\u6e05\u9664"})})]})}),(0,M.jsx)(l.A,{className:f.list,children:(0,M.jsx)(i(),{leaveReverse:!0,duration:200,interval:20,children:y.filter((e=>e&&e.length>0)).map(((e,n)=>{var r;if(j)return e.map(((t,r)=>{var s;return t&&(0,M.jsx)("div",{children:(0,M.jsx)(w,{...Object.assign({},t),className:a()({[f["is-last-item"]]:+n+1===Math.min(null===(s=y.filter((e=>e&&e.length)))||void 0===s?void 0:s.length,3)&&r===(null===e||void 0===e?void 0:e.length)-1})})},`group-${n}-${r}`)}));const s=b()(e);return(0,M.jsx)("div",{children:(0,M.jsx)(w,{...Object.assign({},s),groupLength:e.length,className:a()({[f["is-last-item"]]:(null===y||void 0===y?void 0:y.length)&&+n+1===Math.min(null===(r=y.filter((e=>e&&e.length)))||void 0===r?void 0:r.length,3)},t)})},`group-${n}-0`)}))})})]})}},94710:e=>{e.exports=function(e,t,n,r){for(var s=-1,i=null==e?0:e.length;++s<i;){var o=e[s];t(r,o,n(o),e)}return r}},32952:(e,t,n)=>{var r=n(45652);e.exports=function(e,t,n,s){return r(e,(function(e,r,i){t(s,e,n(e),i)})),s}},51104:(e,t,n)=>{var r=n(96614),s=n(28673);e.exports=function(e,t){return e&&r(t,s(t),e)}},55119:(e,t,n)=>{var r=n(96614),s=n(30474);e.exports=function(e,t){return e&&r(t,s(t),e)}},97132:(e,t,n)=>{var r=n(5538),s=n(80726),i=n(78420),o=n(51104),a=n(55119),l=n(44353),c=n(91980),u=n(98124),d=n(29075),f=n(59395),p=n(68592),v=n(26924),_=n(38268),x=n(18630),b=n(20310),h=n(54052),j=n(44543),m=n(57887),y=n(46686),g=n(45921),M=n(28673),A=n(30474),w="[object Arguments]",L="[object Function]",T="[object Object]",O={};O[w]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[T]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[L]=O["[object WeakMap]"]=!1,e.exports=function e(t,n,K,N,k,Y){var C,I=1&n,S=2&n,R=4&n;if(K&&(C=k?K(t,N,k,Y):K(t)),void 0!==C)return C;if(!y(t))return t;var E=h(t);if(E){if(C=_(t),!I)return c(t,C)}else{var P=v(t),F=P==L||"[object GeneratorFunction]"==P;if(j(t))return l(t,I);if(P==T||P==w||F&&!k){if(C=S||F?{}:b(t),!I)return S?d(t,a(C,t)):u(t,o(C,t))}else{if(!O[P])return k?t:{};C=x(t,P,I)}}Y||(Y=new r);var G=Y.get(t);if(G)return G;Y.set(t,C),g(t)?t.forEach((function(r){C.add(e(r,n,K,r,t,Y))})):m(t)&&t.forEach((function(r,s){C.set(s,e(r,n,K,s,t,Y))}));var U=E?void 0:(R?S?p:f:S?A:M)(t);return s(U||t,(function(r,s){U&&(r=t[s=r]),i(C,s,e(r,n,K,s,t,Y))})),C}},45652:(e,t,n)=>{var r=n(94664),s=n(76516)(r);e.exports=s},75816:e=>{e.exports=function(e,t,n,r){for(var s=e.length,i=n+(r?1:-1);r?i--:++i<s;)if(t(e[i],i,e))return i;return-1}},80755:(e,t,n)=>{var r=n(48895),s=n(77116);e.exports=function e(t,n,i,o,a){var l=-1,c=t.length;for(i||(i=s),a||(a=[]);++l<c;){var u=t[l];n>0&&i(u)?n>1?e(u,n-1,i,o,a):r(a,u):o||(a[a.length]=u)}return a}},5791:(e,t,n)=>{var r=n(26924),s=n(22761);e.exports=function(e){return s(e)&&"[object Map]"==r(e)}},20449:(e,t,n)=>{var r=n(26924),s=n(22761);e.exports=function(e){return s(e)&&"[object Set]"==r(e)}},53871:e=>{e.exports=function(e,t,n){var r=-1,s=e.length;t<0&&(t=-t>s?0:s+t),(n=n>s?s:n)<0&&(n+=s),s=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(s);++r<s;)i[r]=e[r+t];return i}},88140:(e,t,n)=>{var r=n(35324),s=n(74065),i=n(21676),o=n(70914);e.exports=function(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[o(s(t))]}},6806:(e,t,n)=>{var r=n(61516);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},18962:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},11295:(e,t,n)=>{var r=n(9812),s=r?r.prototype:void 0,i=s?s.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},98124:(e,t,n)=>{var r=n(96614),s=n(69621);e.exports=function(e,t){return r(e,s(e),t)}},29075:(e,t,n)=>{var r=n(96614),s=n(56326);e.exports=function(e,t){return r(e,s(e),t)}},19449:(e,t,n)=>{var r=n(94710),s=n(32952),i=n(9096),o=n(54052);e.exports=function(e,t){return function(n,a){var l=o(n)?r:s,c=t?t():{};return l(n,e,i(a,2),c)}}},76516:(e,t,n)=>{var r=n(6571);e.exports=function(e,t){return function(n,s){if(null==n)return n;if(!r(n))return e(n,s);for(var i=n.length,o=t?i:-1,a=Object(n);(t?o--:++o<i)&&!1!==s(a[o],o,a););return n}}},96761:(e,t,n)=>{var r=n(12322);e.exports=function(e){return r(e)?void 0:e}},15857:(e,t,n)=>{var r=n(20819),s=n(55636),i=n(46350);e.exports=function(e){return i(s(e,void 0,r),e+"")}},68592:(e,t,n)=>{var r=n(4262),s=n(56326),i=n(30474);e.exports=function(e){return r(e,i,s)}},56326:(e,t,n)=>{var r=n(48895),s=n(85990),i=n(69621),o=n(57828),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=s(e);return t}:o;e.exports=a},38268:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},18630:(e,t,n)=>{var r=n(61516),s=n(6806),i=n(18962),o=n(11295),a=n(38710);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return s(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return a(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return o(e)}}},77116:(e,t,n)=>{var r=n(9812),s=n(22777),i=n(54052),o=r?r.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||s(e)||!!(o&&e&&e[o])}},21676:(e,t,n)=>{var r=n(52969),s=n(53871);e.exports=function(e,t){return t.length<2?e:r(e,s(t,0,-1))}},32520:(e,t,n)=>{var r=n(75816),s=n(9096),i=n(99140),o=Math.max;e.exports=function(e,t,n){var a=null==e?0:e.length;if(!a)return-1;var l=null==n?0:i(n);return l<0&&(l=o(a+l,0)),r(e,s(t,3),l)}},85855:(e,t,n)=>{e.exports=n(96483)},20819:(e,t,n)=>{var r=n(80755);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},39835:(e,t,n)=>{var r=n(71775),s=n(19449),i=Object.prototype.hasOwnProperty,o=s((function(e,t,n){i.call(e,n)?e[n].push(t):r(e,n,[t])}));e.exports=o},96483:e=>{e.exports=function(e){return e&&e.length?e[0]:void 0}},57887:(e,t,n)=>{var r=n(5791),s=n(47574),i=n(56832),o=i&&i.isMap,a=o?s(o):r;e.exports=a},45921:(e,t,n)=>{var r=n(20449),s=n(47574),i=n(56832),o=i&&i.isSet,a=o?s(o):r;e.exports=a},74065:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},1488:(e,t,n)=>{var r=n(50149),s=n(97132),i=n(88140),o=n(35324),a=n(96614),l=n(96761),c=n(15857),u=n(68592),d=c((function(e,t){var n={};if(null==e)return n;var c=!1;t=r(t,(function(t){return t=o(t,e),c||(c=t.length>1),t})),a(e,u(e),n),c&&(n=s(n,7,l));for(var d=t.length;d--;)i(n,t[d]);return n}));e.exports=d},99140:(e,t,n)=>{var r=n(37303);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},46733:()=>{}}]);
|
|
2
|
-
//# sourceMappingURL=2503.43cc83a5.chunk.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[2517,9034],{17342:(e,o,t)=>{t.d(o,{A:()=>s});var l=t(8762),n=t.n(l);t(46733);const s=n()},3382:(e,o,t)=>{t.r(o),t.d(o,{ModalButton:()=>L,TabsModal:()=>k,TabsModalButton:()=>Y,default:()=>N,useConfirmModal:()=>v,useModal:()=>w,useTabsModal:()=>K});var l=t(73884),n=t(55199),s=t(83136),i=t.n(s);const r={modal:"style_modal__Pm3cF__MTYKL",large:"style_large__iaqVE__MTYKL","modal-body-inner":"style_modal-body-inner__4PhpA__MTYKL","modal-title":"style_modal-title__dswaw__MTYKL","modal-outer":"style_modal-outer__r3SkX__MTYKL","modal-body":"style_modal-body__jQJSI__MTYKL","right-options-modal":"style_right-options-modal__FajDP__MTYKL","right-options-row":"style_right-options-row__-mPb9__MTYKL","right-options-col":"style_right-options-col__3ilee__MTYKL","is-disabled-scroller":"style_is-disabled-scroller__PmHyk__MTYKL",content:"style_content__k6MIF__MTYKL","modal-footer":"style_modal-footer__-prbN__MTYKL","modal-close":"style_modal-close__Oa5Kl__MTYKL","confirm-modal-wrap":"style_confirm-modal-wrap__YFImr__MTYKL","is-danger":"style_is-danger__H5110__MTYKL",title:"style_title__orTym__MTYKL","has-title":"style_has-title__qy0Wp__MTYKL"},a=e=>({"en-US":()=>t.e(4628).then(t.bind(t,74628)),"zh-CN":()=>t.e(7478).then(t.bind(t,87478))}[e]());var c=t(58609),d=t(64671);const m=(e,o)=>"function"===typeof e?e(o):e;var h=t(81014),p=t(17342),_=t(70579);const u="Modal",f=e=>{let{options:o,rightSpan:t=6,children:l}=e;return o?(0,_.jsxs)(n.Row,{wrap:!1,className:r["right-options-row"],children:[(0,_.jsx)(n.Col,{span:24-t,className:r["right-options-col"],children:l}),(0,_.jsx)(n.Col,{span:t,className:r["right-options-col"],children:o})]}):l},y=(e,o)=>e-48-(o?58:0)+"px",g=(e,o)=>"large"===e?{width:`${Math.min(window.innerWidth-64,1500)}px`,style:{"--min-modal-height":y(500,o)}}:"small"===e?{width:"600px",style:{"--min-modal-height":y(300,o)}}:{width:"1000px",style:{"--min-modal-height":y(500,o)}},C=e=>{let{footer:o,footerButtons:t,onConfirm:s,onCancel:i,onClose:r,targetProps:d}=e;return(0,_.jsxs)(n.Row,{gutter:10,wrap:!1,children:[(0,_.jsx)(n.Col,{flex:1,children:o}),Array.isArray(t)&&0===t.length?null:(0,_.jsx)(n.Col,{children:(0,_.jsx)(n.Space,{children:(t||[{children:(0,_.jsx)(c.IntlProvider,{importMessages:a,moduleName:u,children:(0,_.jsx)(c.FormattedMessage,{id:"Cancel",moduleName:u})}),onClick:i},{type:"primary",children:(0,_.jsx)(c.IntlProvider,{importMessages:a,moduleName:u,children:(0,_.jsx)(c.FormattedMessage,{id:"Confirm",moduleName:u})}),onClick:s}]).filter((e=>"function"===typeof(null===e||void 0===e?void 0:e.display)?null===e||void 0===e?void 0:e.display():!1!==(null===e||void 0===e?void 0:e.display))).map(((e,o)=>{let{ButtonComponent:t,onClick:n,autoClose:s=!0,display:i,...a}=e;const c=t||h.default;return(0,l.createElement)(c,{...a,key:o,onClick:async function(){for(var e=arguments.length,o=new Array(e),t=0;t<e;t++)o[t]=arguments[t];const l=await Promise.resolve(n&&n(...o,d));return s&&!1!==l&&r&&r(),l}})}))})})]})},b=e=>{let{title:o,footer:t,disabledScroller:s,footerButtons:a,onClose:c,closable:m,onConfirm:h,onCancel:u,children:f,targetProps:y}=e;const g=(0,l.useRef)(null);return(0,_.jsxs)("div",{className:r["modal-outer"],"data-testid":"components-core-modal",children:[!1===m?null:(0,_.jsx)(n.Button,{"data-testid":"components-core-modal-close-btn",className:r["modal-close"],type:"text",icon:(0,_.jsx)(d.default,{type:"icon-close-thin"}),onClick:e=>{e.stopPropagation(),c&&c()}}),o&&(0,_.jsx)("div",{className:r["modal-title"],children:o}),(0,_.jsx)(p.A,{className:i()(r["modal-body"],{[r["is-disabled-scroller"]]:s},"modal-body"),ref:g,children:(0,_.jsx)("div",{className:i()(r["modal-body-inner"],"modal-body-inner"),children:f})}),null!==t||a?(0,_.jsx)("div",{className:i()(r["modal-footer"],"modal-footer"),children:(0,_.jsx)(C,{footer:t,footerButtons:a,onConfirm:h,onCancel:u,onClose:c,targetProps:y})}):null]})},j=e=>{let{withDecorator:o,footerButtons:t,title:l,closable:n,onClose:s,onConfirm:i,onCancel:r,footer:a,rightOptions:c,rightSpan:d,disabledScroller:h,childrenRef:p,children:u}=e;const y=e=>(e=Object.assign({},{title:l},e),(0,_.jsx)(b,{title:m(e.title,{...e,childrenRef:p,close:s}),closable:n,onClose:s,onConfirm:i,onCancel:r,footerButtons:m(t,{...e,close:s}),disabledScroller:h,footer:m(a,{...e,childrenRef:p,close:s}),targetProps:Object.assign({},e,{childrenRef:p,close:s}),children:(0,_.jsx)(f,{rightSpan:d,options:m(c,{...e,childrenRef:p,close:s}),children:m(u,{...e,childrenRef:p,close:s})})}));return"function"===typeof o?o(y):y({})},x=e=>{let{children:o,rightOptions:t,footer:l,footerButtons:n,className:s,size:d,title:m,onClose:h,onConfirm:p,onCancel:u,closable:f,disabledScroller:y,withDecorator:C,childrenRef:b,...x}=e;return{...x,icon:null,centered:!0,title:null,maskClosable:!!x.hasOwnProperty("maskClosable")&&x.maskClosable,destroyOnClose:!0,footer:null,closable:!1,onCancel:h,className:i()(s,r.modal,r[d],{[r["right-options-modal"]]:t}),...g(d,!(null===l&&!n)),children:(0,_.jsx)(c.IntlProvider,{importMessages:a,moduleName:"Modal",children:j({withDecorator:C,title:m,closable:f,onClose:h,onConfirm:p,onCancel:u,footer:l,footerButtons:n,rightOptions:t,disabledScroller:y,children:o,childrenRef:b})})}},M=e=>{const o=(0,l.useRef)(null);return(0,_.jsx)(n.Modal,{...x(Object.assign({},e,{childrenRef:o}))})};M.defaultProps={size:"default"};const w=()=>{const{modal:e}=n.App.useApp(),o=(0,l.useRef)(null);return t=>{const l={},{children:n,...s}=x({onClose:()=>l.close(),childrenRef:o,...t}),{destroy:i}=e.info({...s,content:n});return l.close=i,l}},v=()=>{const{modal:e}=n.App.useApp();return o=>{const t={},{type:l,icon:s,title:a,danger:c,wrapClassName:m,message:h,iconSetting:p={},confirmType:u="info",...f}={onClose:()=>t.close(),maskClosable:!1,...o},y=Object.assign({},{info:"icon-xinxi-tianchong",confirm:"icon-tishi-tianchong",warning:"icon-tishi-tianchong",error:"icon-shibai",success:"icon-chenggong"},p);if(e[l]){const{destroy:o}=e[l]({...f,icon:null,wrapClassName:i()(r["confirm-modal-wrap"],m,{[r["is-danger"]]:c}),title:(0,_.jsx)(n.Space,{direction:"vertical",onClick:e=>{e.stopPropagation()},children:a&&(0,_.jsxs)(n.Space,{size:0,align:"start",className:r.title,children:[c?(0,_.jsx)(d.default,{className:i()("title-icon",`title-icon-${"confirm"===l?u:l}`),type:s||y["confirm"===l?u:l]}):null,a]})}),content:(0,_.jsxs)(n.Space,{size:0,align:"start",className:i()(r.content,{[r["has-title"]]:a}),children:[!a&&c?(0,_.jsx)(d.default,{className:i()("title-icon",`title-icon-${"confirm"===l?u:l}`),type:s||y["confirm"===l?u:l]}):null,h]})});t.close=o}return t}},N=M,T=e=>{let{items:o,className:t,activeKey:l,withDecorator:s,defaultActiveKey:r,onChange:a,...c}=e;return{...c,className:i()(t,"tabs-modal"),withDecorator:e=>{const t=t=>(0,_.jsx)(n.Tabs,{items:o.map((o=>{let{withDecorator:l,...n}=o;return Object.assign({},n,{children:"function"===typeof l?l((o=>e(Object.assign({},t,o,{children:n.children})))):e(Object.assign({},t,{children:n.children}))})})),destroyInactiveTabPane:!0,activeKey:l,defaultActiveKey:r,onChange:a});return"function"===typeof s?s(t):t()},children:e=>{let{children:o,...t}=e;return"function"===typeof o?o(t):o}}},k=e=>(0,_.jsx)(N,{...T(e)}),K=()=>{const e=w();return o=>e(T(o))};var P=t(73025);const Y=e=>{const o=K();return e.api?(0,_.jsx)(P.A,{...e,modalFunc:o}):(0,_.jsx)(n.Button,{...e,onClick:()=>{o(e.modalProps)}})},L=e=>{const o=w();if(!e.api){const{modalProps:t,...l}=e;return(0,_.jsx)(n.Button,{...l,onClick:()=>{o(t)}})}return(0,_.jsx)(P.A,{...e,modalFunc:o})}},46733:()=>{}}]);
|
|
2
|
-
//# sourceMappingURL=2517.ddd0b8c6.chunk.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/2517.ddd0b8c6.chunk.js","mappings":"yMAGA,QAAeA,G,6MCFf,SAAgB,MAAQ,4BAA4B,MAAQ,4BAA4B,mBAAmB,uCAAuC,cAAc,kCAAkC,cAAc,kCAAkC,aAAa,iCAAiC,sBAAsB,0CAA0C,oBAAoB,wCAAwC,oBAAoB,wCAAwC,uBAAuB,2CAA2C,QAAU,8BAA8B,eAAe,mCAAmC,cAAc,kCAAkC,qBAAqB,yCAAyC,YAAY,gCAAgC,MAAQ,4BAA4B,YAAY,iCCK9zB,EANwBC,IACZ,CACJ,QAASC,IAAM,gCAAmB,QAASC,IAAM,iCAClDF,M,0BCHP,MAOA,EAP0BG,CAACC,EAAQC,IACX,oBAAXD,EACFA,EAAOC,GAETD,E,qCCOT,MAAME,EAAmB,QAEZC,EAAeC,IAA2C,IAA1C,QAAEH,EAAO,UAAEI,EAAY,EAAC,SAAEC,GAAUF,EAC/D,OAAKH,GAIHM,EAAAA,EAAAA,MAACC,EAAAA,IAAG,CAACC,MAAM,EAAOC,UAAWC,EAAM,qBAAqBL,SAAA,EACtDM,EAAAA,EAAAA,KAACC,EAAAA,IAAG,CAACC,KAAM,GAAKT,EAAWK,UAAWC,EAAM,qBAAqBL,SAC9DA,KAEHM,EAAAA,EAAAA,KAACC,EAAAA,IAAG,CAACC,KAAMT,EAAWK,UAAWC,EAAM,qBAAqBL,SACzDL,OAREK,CAUD,EAIJS,EAAaA,CAACC,EAAQhB,IAChBgB,EAAS,IAAMhB,EAAS,GAAK,GAAhC,KAGHiB,EAAUA,CAACC,EAAMlB,IACR,UAATkB,EACK,CACLC,MAAO,GAAGC,KAAKC,IAAIC,OAAOC,WAAa,GAAI,UAC3CZ,MAAO,CAAE,qBAAsBI,EAAW,IAAKf,KAGtC,UAATkB,EACK,CACLC,MAAO,QACPR,MAAO,CAAE,qBAAsBI,EAAW,IAAKf,KAG5C,CACLmB,MAAO,SACPR,MAAO,CAAE,qBAAsBI,EAAW,IAAKf,KAI7CwB,EAASC,IAOR,IAPS,OACdzB,EAAM,cACN0B,EAAa,UACbC,EAAS,SACTC,EAAQ,QACRC,EAAO,YACPC,GACDL,EACC,OACElB,EAAAA,EAAAA,MAACC,EAAAA,IAAG,CAACuB,OAAQ,GAAItB,MAAM,EAAMH,SAAA,EAC3BM,EAAAA,EAAAA,KAACC,EAAAA,IAAG,CAACmB,KAAM,EAAE1B,SAAEN,IACdiC,MAAMC,QAAQR,IAA2C,IAAzBA,EAAcS,OAAe,MAC5DvB,EAAAA,EAAAA,KAACC,EAAAA,IAAG,CAAAP,UACFM,EAAAA,EAAAA,KAACwB,EAAAA,MAAK,CAAA9B,UAEFoB,GAAiB,CACf,CACEpB,UACEM,EAAAA,EAAAA,KAACyB,EAAAA,aAAY,CACXC,eAAgBA,EAChBC,WAAYrC,EAAiBI,UAE7BM,EAAAA,EAAAA,KAAC4B,EAAAA,iBAAgB,CACfC,GAAI,SACJF,WAAYrC,MAIlBwC,QAASd,GAEX,CACEV,KAAM,UACNZ,UACEM,EAAAA,EAAAA,KAACyB,EAAAA,aAAY,CACXC,eAAgBA,EAChBC,WAAYrC,EAAiBI,UAE7BM,EAAAA,EAAAA,KAAC4B,EAAAA,iBAAgB,CACfC,GAAI,UACJF,WAAYrC,MAIlBwC,QAASf,KAIZgB,QAAQC,GACsB,oBAAd,OAAJA,QAAI,IAAJA,OAAI,EAAJA,EAAMC,SACJ,OAAJD,QAAI,IAAJA,OAAI,EAAJA,EAAMC,WAEU,KAAd,OAAJD,QAAI,IAAJA,OAAI,EAAJA,EAAMC,WAEdC,KACC,CAAAC,EAQEC,KACI,IARJ,gBACEC,EAAe,QACfP,EAAO,UACPQ,GAAY,EAAI,QAChBL,KACGM,GACJJ,EAGD,MAAMK,EAAgBH,GAAmBI,EAAAA,QACzC,OACEC,EAAAA,EAAAA,eAACF,EAAa,IACRD,EACJI,IAAKP,EACLN,QAASc,iBAAoB,IAAD,IAAAC,EAAAC,UAAAvB,OAATwB,EAAI,IAAA1B,MAAAwB,GAAAG,EAAA,EAAAA,EAAAH,EAAAG,IAAJD,EAAIC,GAAAF,UAAAE,GACrB,MAAMC,QAAYC,QAAQC,QACxBrB,GAAWA,KAAWiB,EAAM7B,IAG9B,OADAoB,IAAqB,IAARW,GAAiBhC,GAAWA,IAClCgC,CACT,GACA,UAOZ,EAIJG,EAAaC,IAWZ,IAXa,MAClBC,EAAK,OACLlE,EAAM,iBACNmE,EAAgB,cAChBzC,EAAa,QACbG,EAAO,SACPuC,EAAQ,UACRzC,EAAS,SACTC,EAAQ,SACRtB,EAAQ,YACRwB,GACDmC,EACC,MAAMI,GAAeC,EAAAA,EAAAA,QAAO,MAC5B,OACE/D,EAAAA,EAAAA,MAAA,OAAKG,UAAWC,EAAM,eAAgB,cAAY,wBAAuBL,SAAA,EACzD,IAAb8D,EAAqB,MACpBxD,EAAAA,EAAAA,KAAC2D,EAAAA,OAAM,CACL,cAAY,kCACZ7D,UAAWC,EAAM,eACjBO,KAAK,OACLsD,MAAM5D,EAAAA,EAAAA,KAAC6D,EAAAA,QAAI,CAACvD,KAAK,oBACjBwB,QAAUgC,IACRA,EAAEC,kBACF9C,GAAWA,GAAS,IAIzBqC,IAAStD,EAAAA,EAAAA,KAAA,OAAKF,UAAWC,EAAM,eAAeL,SAAE4D,KACjDtD,EAAAA,EAAAA,KAACjB,EAAAA,EAAS,CACRe,UAAWkE,IACTjE,EAAM,cACN,CACE,CAACA,EAAM,yBAA0BwD,GAEnC,cAEFU,IAAKR,EAAa/D,UAElBM,EAAAA,EAAAA,KAAA,OACEF,UAAWkE,IAAWjE,EAAM,oBAAqB,oBAAoBL,SAEpEA,MAGO,OAAXN,GAAoB0B,GACnBd,EAAAA,EAAAA,KAAA,OAAKF,UAAWkE,IAAWjE,EAAM,gBAAiB,gBAAgBL,UAChEM,EAAAA,EAAAA,KAACY,EAAM,CACLxB,OAAQA,EACR0B,cAAeA,EACfC,UAAWA,EACXC,SAAUA,EACVC,QAASA,EACTC,YAAaA,MARkB,OAYjC,EAIJgD,EAAmBC,IAclB,IAdmB,cACxBC,EAAa,cACbtD,EAAa,MACbwC,EAAK,SACLE,EAAQ,QACRvC,EAAO,UACPF,EAAS,SACTC,EAAQ,OACR5B,EAAM,aACNiF,EAAY,UACZ5E,EAAS,iBACT8D,EAAgB,YAChBe,EAAW,SACX5E,GACDyE,EACC,MAAMI,EAAYhC,IAChBA,EAAQiC,OAAOC,OAAO,CAAC,EAAG,CAAEnB,SAASf,IAEnCvC,EAAAA,EAAAA,KAACoD,EAAU,CACTE,MAAOnE,EAAkBoD,EAAMe,MAAO,IACjCf,EACH+B,cACAI,MAAOzD,IAETuC,SAAUA,EACVvC,QAASA,EACTF,UAAWA,EACXC,SAAUA,EACVF,cAAe3B,EAAkB2B,EAAe,IAC3CyB,EACHmC,MAAOzD,IAETsC,iBAAkBA,EAClBnE,OAAQD,EAAkBC,EAAQ,IAC7BmD,EACH+B,cACAI,MAAOzD,IAETC,YAAasD,OAAOC,OAAO,CAAC,EAAGlC,EAAO,CAAE+B,cAAaI,MAAOzD,IAAWvB,UAEvEM,EAAAA,EAAAA,KAACT,EAAY,CACXE,UAAWA,EACXJ,QAASF,EAAkBkF,EAAc,IACpC9B,EACH+B,cACAI,MAAOzD,IACNvB,SAEFP,EAAkBO,EAAU,IACxB6C,EACH+B,cACAI,MAAOzD,SAMjB,MAAgC,oBAAlBmD,EACVA,EAAcG,GACdA,EAAS,CAAC,EAAE,EAGZI,EAAsBC,IAgBrB,IAhBsB,SAC3BlF,EAAQ,aACR2E,EAAY,OACZjF,EAAM,cACN0B,EAAa,UACbhB,EAAS,KACT+E,EAAI,MACJvB,EAAK,QACLrC,EAAO,UACPF,EAAS,SACTC,EAAQ,SACRwC,EAAQ,iBACRD,EAAgB,cAChBa,EAAa,YACbE,KACG/B,GACJqC,EACC,MAAO,IACFrC,EACHqB,KAAM,KACNkB,UAAU,EACVxB,MAAO,KACPyB,eAAcxC,EAAMyC,eAAe,iBAC/BzC,EAAMwC,aAEVE,gBAAgB,EAChB7F,OAAQ,KACRoE,UAAU,EACVxC,SAAUC,EACVnB,UAAWkE,IAAWlE,EAAWC,EAAa,MAAGA,EAAM8E,GAAO,CAC5D,CAAC9E,EAAM,wBAAyBsE,OAE/BhE,EAAQwE,IAAmB,OAAXzF,IAAoB0B,IACvCpB,UACEM,EAAAA,EAAAA,KAACyB,EAAAA,aAAY,CAACC,eAAgBA,EAAgBC,WAAW,QAAOjC,SAC7DwE,EAAiB,CAChBE,gBACAd,QACAE,WACAvC,UACAF,YACAC,WACA5B,SACA0B,gBACAuD,eACAd,mBACA7D,WACA4E,kBAIP,EAGGY,EAAS3C,IACb,MAAM+B,GAAcZ,EAAAA,EAAAA,QAAO,MAC3B,OACE1D,EAAAA,EAAAA,KAACmF,EAAAA,MAAS,IACJR,EAAoBH,OAAOC,OAAO,CAAC,EAAGlC,EAAO,CAAE+B,kBACnD,EAINY,EAAME,aAAe,CACnBP,KAAM,WAGD,MAAMQ,EAAWA,KACtB,MAAM,MAAEC,GAAUC,EAAAA,IAAIC,SAChBlB,GAAcZ,EAAAA,EAAAA,QAAO,MAC3B,OAAQnB,IACN,MAAMkD,EAAM,CAAC,GACP,SAAE/F,KAAagG,GAAef,EAAoB,CACtD1D,QAASA,IAAMwE,EAAIf,QACnBJ,iBACG/B,KAEC,QAAEoD,GAAYL,EAAMM,KAAK,IAC1BF,EACHG,QAASnG,IAIX,OAFA+F,EAAIf,MAAQiB,EAELF,CAAG,CACX,EAGUK,EAAkBA,KAC7B,MAAM,MAAER,GAAUC,EAAAA,IAAIC,SACtB,OAAQjD,IACN,MAAMkD,EAAM,CAAC,GACP,KACJnF,EAAI,KACJsD,EAAI,MACJN,EAAK,OACLyC,EAAM,cACNC,EAAa,QACbC,EAAO,YACPC,EAAc,CAAC,EAAC,YAChBC,EAAc,UACXT,GACD,CACFzE,QAASA,IAAMwE,EAAIf,QACnBK,cAAc,KACXxC,GAEC6D,EAAW5B,OAAOC,OACtB,CAAC,EACD,CACEmB,KAAM,uBACNS,QAAS,uBACTC,QAAS,uBACTC,MAAO,cACPC,QAAS,kBAEXN,GAEF,GAAIZ,EAAMhF,GAAO,CACf,MAAM,QAAEqF,GAAYL,EAAMhF,GAAM,IAC3BoF,EACH9B,KAAM,KACNoC,cAAehC,IAAWjE,EAAM,sBAAuBiG,EAAe,CACpE,CAACjG,EAAM,cAAegG,IAExBzC,OACEtD,EAAAA,EAAAA,KAACwB,EAAAA,MAAK,CACJiF,UAAU,WACV3E,QAAUgC,IACRA,EAAEC,iBAAiB,EACnBrE,SAED4D,IACC3D,EAAAA,EAAAA,MAAC6B,EAAAA,MAAK,CAACqD,KAAM,EAAG6B,MAAM,QAAQ5G,UAAWC,EAAa,MAAEL,SAAA,CACrDqG,GACC/F,EAAAA,EAAAA,KAAC6D,EAAAA,QAAI,CACH/D,UAAWkE,IACT,aACA,cAAuB,YAAT1D,EAAqB6F,EAAc7F,KAEnDA,KACEsD,GAAQwC,EAAkB,YAAT9F,EAAqB6F,EAAc7F,KAGtD,KACHgD,OAKTuC,SACElG,EAAAA,EAAAA,MAAC6B,EAAAA,MAAK,CACJqD,KAAM,EACN6B,MAAM,QACN5G,UAAWkE,IAAWjE,EAAe,QAAG,CACtC,CAACA,EAAM,cAAeuD,IACrB5D,SAAA,EAED4D,GAASyC,GACT/F,EAAAA,EAAAA,KAAC6D,EAAAA,QAAI,CACH/D,UAAWkE,IACT,aACA,cAAuB,YAAT1D,EAAqB6F,EAAc7F,KAEnDA,KAAMsD,GAAQwC,EAAkB,YAAT9F,EAAqB6F,EAAc7F,KAE1D,KACH2F,OAIPR,EAAIf,MAAQiB,CACd,CACA,OAAOF,CAAG,CACX,EAGH,ICjbMd,EAAsBnF,IAQrB,IARsB,MAC3BmH,EAAK,UACL7G,EAAS,UACT8G,EAAS,cACTxC,EAAa,iBACbyC,EAAgB,SAChBC,KACGvE,GACJ/C,EACC,MAAO,IACF+C,EACHzC,UAAWkE,IAAWlE,EAAW,cACjCsE,cAAgB2C,IACd,MAAMC,EAAezE,IACnBvC,EAAAA,EAAAA,KAACiH,EAAAA,KAAI,CACHN,MAAOA,EAAMzE,KAAIrB,IAAoD,IAAjDuD,cAAe8C,KAAsBlF,GAAMnB,EAC7D,OAAO2D,OAAOC,OAAO,CAAC,EAAGzC,EAAM,CAC7BtC,SAC+B,oBAAtBwH,EACHA,GAAmBC,GACjBJ,EACEvC,OAAOC,OAAO,CAAC,EAAGlC,EAAO4E,EAAY,CACnCzH,SAAUsC,EAAKtC,cAIrBqH,EACEvC,OAAOC,OAAO,CAAC,EAAGlC,EAAO,CAAE7C,SAAUsC,EAAKtC,aAElD,IAEJ0H,wBAAsB,EACtBR,UAAWA,EACXC,iBAAkBA,EAClBC,SAAUA,IAGd,MAAgC,oBAAlB1C,EACVA,EAAc4C,GACdA,GAAa,EAEnBtH,SAAUyC,IAA6B,IAA5B,SAAEzC,KAAa6C,GAAOJ,EAC/B,MAA2B,oBAAbzC,EAA0BA,EAAS6C,GAAS7C,CAAQ,EAErE,EAOH,EAJmB6C,IACVvC,EAAAA,EAAAA,KAACkF,EAAK,IAAKP,EAAoBpC,KAK3B8E,EAAeA,KAC1B,MAAM/B,EAAQD,IACd,OAAQ9C,GAAU+C,EAAMX,EAAoBpC,GAAO,E,eCtDrD,MAgBa+E,EAAmB/E,IAC9B,MAAMgF,EAAYF,IAClB,OAAK9E,EAAMkD,KAUJzF,EAAAA,EAAAA,KAACwH,EAAAA,EAAW,IAAKjF,EAAOkF,UAAWF,KARtCvH,EAAAA,EAAAA,KAAC2D,EAAAA,OAAM,IACDpB,EACJT,QAASA,KACPyF,EAAUhF,EAAMmF,WAAW,GAKoB,EAEzD,EA9BqBnF,IACnB,MAAM+C,EAAQD,IACd,IAAK9C,EAAMkD,IAAK,CACd,MAAM,WAAEiC,KAAeC,GAAWpF,EAClC,OACEvC,EAAAA,EAAAA,KAAC2D,EAAAA,OAAM,IACDgE,EACJ7F,QAASA,KACPwD,EAAMoC,EAAW,GAIzB,CACA,OAAO1H,EAAAA,EAAAA,KAACwH,EAAAA,EAAW,IAAKjF,EAAOkF,UAAWnC,GAAS,C","sources":["common/components/SimpleBar.js","webpack://@kne-components/components-core/./src/components/Modal/style.module.scss?4fe4","components/Modal/locale/index.js","components/Modal/renderWithOptions.js","components/Modal/Modal.js","components/Modal/TabsModal.js","components/Modal/ModalButton.js"],"sourcesContent":["import SimpleBar from \"simplebar-react\";\nimport \"simplebar-react/dist/simplebar.min.css\";\n\nexport default SimpleBar;\n","// extracted by mini-css-extract-plugin\nexport default {\"modal\":\"style_modal__Pm3cF__MTYKL\",\"large\":\"style_large__iaqVE__MTYKL\",\"modal-body-inner\":\"style_modal-body-inner__4PhpA__MTYKL\",\"modal-title\":\"style_modal-title__dswaw__MTYKL\",\"modal-outer\":\"style_modal-outer__r3SkX__MTYKL\",\"modal-body\":\"style_modal-body__jQJSI__MTYKL\",\"right-options-modal\":\"style_right-options-modal__FajDP__MTYKL\",\"right-options-row\":\"style_right-options-row__-mPb9__MTYKL\",\"right-options-col\":\"style_right-options-col__3ilee__MTYKL\",\"is-disabled-scroller\":\"style_is-disabled-scroller__PmHyk__MTYKL\",\"content\":\"style_content__k6MIF__MTYKL\",\"modal-footer\":\"style_modal-footer__-prbN__MTYKL\",\"modal-close\":\"style_modal-close__Oa5Kl__MTYKL\",\"confirm-modal-wrap\":\"style_confirm-modal-wrap__YFImr__MTYKL\",\"is-danger\":\"style_is-danger__H5110__MTYKL\",\"title\":\"style_title__orTym__MTYKL\",\"has-title\":\"style_has-title__qy0Wp__MTYKL\"};","const importMessages = (locale) => {\n return ({\n 'en-US': () => import('./en-US'), 'zh-CN': () => import('./zh-CN')\n })[locale]();\n};\n\nexport default importMessages;","const renderWithOptions = (footer, options) => {\n if (typeof footer === \"function\") {\n return footer(options);\n }\n return footer;\n};\n\nexport default renderWithOptions;\n","import React, { useRef } from \"react\";\nimport { App, Button, Col, Modal as AntdModal, Row, Space } from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\nimport importMessages from \"./locale\";\nimport { FormattedMessage, IntlProvider } from \"@components/Intl\";\nimport Icon from \"@components/Icon\";\nimport renderWithOptions from \"./renderWithOptions\";\nimport LoadingButton from \"@components/LoadingButton\";\nimport SimpleBar from \"@common/components/SimpleBar\";\n\nconst localeModuleName = \"Modal\";\n\nexport const RightOptions = ({ options, rightSpan = 6, children }) => {\n if (!options) {\n return children;\n }\n return (\n <Row wrap={false} className={style[\"right-options-row\"]}>\n <Col span={24 - rightSpan} className={style[\"right-options-col\"]}>\n {children}\n </Col>\n <Col span={rightSpan} className={style[\"right-options-col\"]}>\n {options}\n </Col>\n </Row>\n );\n};\n\nconst calcHeight = (height, footer) => {\n return `${height - 48 - (footer ? 58 : 0)}px`;\n};\n\nconst sizeMap = (type, footer) => {\n if (type === \"large\") {\n return {\n width: `${Math.min(window.innerWidth - 64, 1500)}px`,\n style: { \"--min-modal-height\": calcHeight(500, footer) },\n };\n }\n if (type === \"small\") {\n return {\n width: \"600px\",\n style: { \"--min-modal-height\": calcHeight(300, footer) },\n };\n }\n return {\n width: \"1000px\",\n style: { \"--min-modal-height\": calcHeight(500, footer) },\n };\n};\n\nconst Footer = ({\n footer,\n footerButtons,\n onConfirm,\n onCancel,\n onClose,\n targetProps,\n}) => {\n return (\n <Row gutter={10} wrap={false}>\n <Col flex={1}>{footer}</Col>\n {Array.isArray(footerButtons) && footerButtons.length === 0 ? null : (\n <Col>\n <Space>\n {(\n footerButtons || [\n {\n children: (\n <IntlProvider\n importMessages={importMessages}\n moduleName={localeModuleName}\n >\n <FormattedMessage\n id={\"Cancel\"}\n moduleName={localeModuleName}\n />\n </IntlProvider>\n ),\n onClick: onCancel,\n },\n {\n type: \"primary\",\n children: (\n <IntlProvider\n importMessages={importMessages}\n moduleName={localeModuleName}\n >\n <FormattedMessage\n id={\"Confirm\"}\n moduleName={localeModuleName}\n />\n </IntlProvider>\n ),\n onClick: onConfirm,\n },\n ]\n )\n .filter((item) => {\n if (typeof item?.display === \"function\") {\n return item?.display();\n }\n return item?.display !== false;\n })\n .map(\n (\n {\n ButtonComponent,\n onClick,\n autoClose = true,\n display,\n ...props\n },\n index\n ) => {\n const CurrentButton = ButtonComponent || LoadingButton;\n return (\n <CurrentButton\n {...props}\n key={index}\n onClick={async (...args) => {\n const res = await Promise.resolve(\n onClick && onClick(...args, targetProps)\n );\n autoClose && res !== false && onClose && onClose();\n return res;\n }}\n />\n );\n }\n )}\n </Space>\n </Col>\n )}\n </Row>\n );\n};\n\nconst ModalOuter = ({\n title,\n footer,\n disabledScroller,\n footerButtons,\n onClose,\n closable,\n onConfirm,\n onCancel,\n children,\n targetProps,\n}) => {\n const modalBodyRef = useRef(null);\n return (\n <div className={style[\"modal-outer\"]} data-testid=\"components-core-modal\">\n {closable === false ? null : (\n <Button\n data-testid=\"components-core-modal-close-btn\"\n className={style[\"modal-close\"]}\n type=\"text\"\n icon={<Icon type=\"icon-close-thin\" />}\n onClick={(e) => {\n e.stopPropagation();\n onClose && onClose();\n }}\n />\n )}\n {title && <div className={style[\"modal-title\"]}>{title}</div>}\n <SimpleBar\n className={classnames(\n style[\"modal-body\"],\n {\n [style[\"is-disabled-scroller\"]]: disabledScroller,\n },\n \"modal-body\"\n )}\n ref={modalBodyRef}\n >\n <div\n className={classnames(style[\"modal-body-inner\"], \"modal-body-inner\")}\n >\n {children}\n </div>\n </SimpleBar>\n {footer === null && !footerButtons ? null : (\n <div className={classnames(style[\"modal-footer\"], \"modal-footer\")}>\n <Footer\n footer={footer}\n footerButtons={footerButtons}\n onConfirm={onConfirm}\n onCancel={onCancel}\n onClose={onClose}\n targetProps={targetProps}\n />\n </div>\n )}\n </div>\n );\n};\n\nconst runWithDecorator = ({\n withDecorator,\n footerButtons,\n title,\n closable,\n onClose,\n onConfirm,\n onCancel,\n footer,\n rightOptions,\n rightSpan,\n disabledScroller,\n childrenRef,\n children,\n}) => {\n const getInner = (props) => {\n props = Object.assign({}, { title }, props);\n return (\n <ModalOuter\n title={renderWithOptions(props.title, {\n ...props,\n childrenRef,\n close: onClose,\n })}\n closable={closable}\n onClose={onClose}\n onConfirm={onConfirm}\n onCancel={onCancel}\n footerButtons={renderWithOptions(footerButtons, {\n ...props,\n close: onClose,\n })}\n disabledScroller={disabledScroller}\n footer={renderWithOptions(footer, {\n ...props,\n childrenRef,\n close: onClose,\n })}\n targetProps={Object.assign({}, props, { childrenRef, close: onClose })}\n >\n <RightOptions\n rightSpan={rightSpan}\n options={renderWithOptions(rightOptions, {\n ...props,\n childrenRef,\n close: onClose,\n })}\n >\n {renderWithOptions(children, {\n ...props,\n childrenRef,\n close: onClose,\n })}\n </RightOptions>\n </ModalOuter>\n );\n };\n return typeof withDecorator === \"function\"\n ? withDecorator(getInner)\n : getInner({});\n};\n\nconst computedCommonProps = ({\n children,\n rightOptions,\n footer,\n footerButtons,\n className,\n size,\n title,\n onClose,\n onConfirm,\n onCancel,\n closable,\n disabledScroller,\n withDecorator,\n childrenRef,\n ...props\n}) => {\n return {\n ...props,\n icon: null,\n centered: true,\n title: null,\n maskClosable: props.hasOwnProperty(\"maskClosable\")\n ? props.maskClosable\n : false,\n destroyOnClose: true,\n footer: null,\n closable: false,\n onCancel: onClose,\n className: classnames(className, style[\"modal\"], style[size], {\n [style[\"right-options-modal\"]]: rightOptions,\n }),\n ...sizeMap(size, !(footer === null && !footerButtons)),\n children: (\n <IntlProvider importMessages={importMessages} moduleName=\"Modal\">\n {runWithDecorator({\n withDecorator,\n title,\n closable,\n onClose,\n onConfirm,\n onCancel,\n footer,\n footerButtons,\n rightOptions,\n disabledScroller,\n children,\n childrenRef,\n })}\n </IntlProvider>\n ),\n };\n};\n\nconst Modal = (props) => {\n const childrenRef = useRef(null);\n return (\n <AntdModal\n {...computedCommonProps(Object.assign({}, props, { childrenRef }))}\n />\n );\n};\n\nModal.defaultProps = {\n size: \"default\", //large small\n};\n\nexport const useModal = () => {\n const { modal } = App.useApp();\n const childrenRef = useRef(null);\n return (props) => {\n const api = {};\n const { children, ...otherProps } = computedCommonProps({\n onClose: () => api.close(),\n childrenRef,\n ...props,\n });\n const { destroy } = modal.info({\n ...otherProps,\n content: children,\n });\n api.close = destroy;\n\n return api;\n };\n};\n\nexport const useConfirmModal = () => {\n const { modal } = App.useApp();\n return (props) => {\n const api = {};\n const {\n type,\n icon,\n title,\n danger,\n wrapClassName,\n message,\n iconSetting = {},\n confirmType = \"info\",\n ...otherProps\n } = {\n onClose: () => api.close(),\n maskClosable: false,\n ...props,\n };\n const typeEnum = Object.assign(\n {},\n {\n info: \"icon-xinxi-tianchong\",\n confirm: \"icon-tishi-tianchong\",\n warning: \"icon-tishi-tianchong\",\n error: \"icon-shibai\",\n success: \"icon-chenggong\",\n },\n iconSetting\n );\n if (modal[type]) {\n const { destroy } = modal[type]({\n ...otherProps,\n icon: null,\n wrapClassName: classnames(style[\"confirm-modal-wrap\"], wrapClassName, {\n [style[\"is-danger\"]]: danger,\n }),\n title: (\n <Space\n direction=\"vertical\"\n onClick={(e) => {\n e.stopPropagation();\n }}\n >\n {title && (\n <Space size={0} align=\"start\" className={style[\"title\"]}>\n {danger ? (\n <Icon\n className={classnames(\n \"title-icon\",\n `title-icon-${type === \"confirm\" ? confirmType : type}`\n )}\n type={\n icon || typeEnum[type === \"confirm\" ? confirmType : type]\n }\n />\n ) : null}\n {title}\n </Space>\n )}\n </Space>\n ),\n content: (\n <Space\n size={0}\n align=\"start\"\n className={classnames(style[\"content\"], {\n [style[\"has-title\"]]: title,\n })}\n >\n {!title && danger ? (\n <Icon\n className={classnames(\n \"title-icon\",\n `title-icon-${type === \"confirm\" ? confirmType : type}`\n )}\n type={icon || typeEnum[type === \"confirm\" ? confirmType : type]}\n />\n ) : null}\n {message}\n </Space>\n ),\n });\n api.close = destroy;\n }\n return api;\n };\n};\n\nexport default Modal;\n","import Modal, { useModal } from \"./Modal\";\nimport { Tabs } from \"antd\";\nimport classnames from \"classnames\";\n\nconst computedCommonProps = ({\n items,\n className,\n activeKey,\n withDecorator,\n defaultActiveKey,\n onChange,\n ...props\n}) => {\n return {\n ...props,\n className: classnames(className, \"tabs-modal\"),\n withDecorator: (render) => {\n const innerRender = (props) => (\n <Tabs\n items={items.map(({ withDecorator: itemWithDecorator, ...item }) => {\n return Object.assign({}, item, {\n children:\n typeof itemWithDecorator === \"function\"\n ? itemWithDecorator((innerProps) =>\n render(\n Object.assign({}, props, innerProps, {\n children: item.children,\n })\n )\n )\n : render(\n Object.assign({}, props, { children: item.children })\n ),\n });\n })}\n destroyInactiveTabPane\n activeKey={activeKey}\n defaultActiveKey={defaultActiveKey}\n onChange={onChange}\n />\n );\n return typeof withDecorator === \"function\"\n ? withDecorator(innerRender)\n : innerRender();\n },\n children: ({ children, ...props }) => {\n return typeof children === \"function\" ? children(props) : children;\n },\n };\n};\n\nconst TabsModal = (props) => {\n return <Modal {...computedCommonProps(props)} />;\n};\n\nexport default TabsModal;\n\nexport const useTabsModal = () => {\n const modal = useModal();\n return (props) => modal(computedCommonProps(props));\n};\n","import { useModal } from \"./Modal\";\nimport { useTabsModal } from \"./TabsModal\";\nimport FetchButton from \"@common/components/FetchButton\";\nimport { Button } from \"antd\";\n\nconst ModalButton = (props) => {\n const modal = useModal();\n if (!props.api) {\n const { modalProps, ...others } = props;\n return (\n <Button\n {...others}\n onClick={() => {\n modal(modalProps);\n }}\n />\n );\n }\n return <FetchButton {...props} modalFunc={modal} />;\n};\n\nexport const TabsModalButton = (props) => {\n const tabsModal = useTabsModal();\n if (!props.api) {\n return (\n <Button\n {...props}\n onClick={() => {\n tabsModal(props.modalProps);\n }}\n />\n );\n }\n return <FetchButton {...props} modalFunc={tabsModal} />;\n};\nexport default ModalButton;\n"],"names":["SimpleBar","locale","en-US","zh-CN","renderWithOptions","footer","options","localeModuleName","RightOptions","_ref","rightSpan","children","_jsxs","Row","wrap","className","style","_jsx","Col","span","calcHeight","height","sizeMap","type","width","Math","min","window","innerWidth","Footer","_ref2","footerButtons","onConfirm","onCancel","onClose","targetProps","gutter","flex","Array","isArray","length","Space","IntlProvider","importMessages","moduleName","FormattedMessage","id","onClick","filter","item","display","map","_ref3","index","ButtonComponent","autoClose","props","CurrentButton","LoadingButton","_createElement","key","async","_len","arguments","args","_key","res","Promise","resolve","ModalOuter","_ref4","title","disabledScroller","closable","modalBodyRef","useRef","Button","icon","Icon","e","stopPropagation","classnames","ref","runWithDecorator","_ref5","withDecorator","rightOptions","childrenRef","getInner","Object","assign","close","computedCommonProps","_ref6","size","centered","maskClosable","hasOwnProperty","destroyOnClose","Modal","AntdModal","defaultProps","useModal","modal","App","useApp","api","otherProps","destroy","info","content","useConfirmModal","danger","wrapClassName","message","iconSetting","confirmType","typeEnum","confirm","warning","error","success","direction","align","items","activeKey","defaultActiveKey","onChange","render","innerRender","Tabs","itemWithDecorator","innerProps","destroyInactiveTabPane","useTabsModal","TabsModalButton","tabsModal","FetchButton","modalFunc","modalProps","others"],"sourceRoot":""}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 2716.1d3fba70.chunk.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[2716],{62716:(t,e,r)=>{r.r(e),r.d(e,{default:()=>g});var s=r(73884),a=r(83136),l=r.n(a);const o={"state-tag":"style_state-tag__Kx27z__MTYKL","state-result-tag":"style_state-result-tag__CssDz__MTYKL","state-skill-tag":"style_state-skill-tag__k0bQE__MTYKL","event-tag":"style_event-tag__cg6SE__MTYKL","state-tag-filter-result-wrapper":"style_state-tag-filter-result-wrapper__QYS5z__MTYKL","state-tag-filter-name":"style_state-tag-filter-name__iJaJd__MTYKL","state-tag-filterResult":"style_state-tag-filterResult__KTkot__MTYKL","show-bg":"style_show-bg__OcL+R__MTYKL","tag-text":"style_tag-text__JHCt+__MTYKL","state-tag-wrapper":"style_state-tag-wrapper__A-gTE__MTYKL"};var _=r(55199),n=r(70579);const c={default:"#666666",skill:{color:"#666666",borderColor:"#EEEEEE"},result:"#666666",filterResult:"#5CB8B2",success:"#027A48",progress:"#F09700",danger:"#D14343",info:"#155ACF",other:"#6740C3"},i=t=>{let{showBorder:e,text:r,type:a,showBackground:i,className:g,filterName:u,...p}=t;const d=(0,s.useMemo)((()=>{var t,e;return{color:(null===c||void 0===c||null===(t=c[a])||void 0===t?void 0:t.color)||c[a],borderColor:(null===c||void 0===c||null===(e=c[a])||void 0===e?void 0:e.borderColor)||c[a]}}),[a]);return(0,n.jsxs)(_.Space,{"data-testid":"components-core-state-tag",className:l()(o["state-tag-wrapper"],"filterResult"===a?o["state-tag-filter-result-wrapper"]:""),align:"center",size:4,children:[u?(0,n.jsxs)("span",{className:o["state-tag-filter-name"],children:[u,":"]}):null,(0,n.jsx)(_.Tag,{color:d.color,...p,style:{background:i?d.color+"0F":"none",color:d.color,border:e?`1px solid ${d.borderColor}`:"none"},className:l()(o["state-tag"],g,"result"===a?o["state-result-tag"]:"","skill"===a?o["state-skill-tag"]:"",o[`state-tag-${a}`],i?o["show-bg"]:"",e?o["show-border"]:"",null!==p&&void 0!==p&&p.onClick?o["event-tag"]:""),children:(0,n.jsx)("span",{className:o["tag-text"],children:r})})]})};i.defaultProps={color:"#666666",type:"default",showBorder:!1,showBackground:!0,text:"",className:""};const g=i},51153:(t,e,r)=>{var s=r(73884),a=Symbol.for("react.element"),l=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,_=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n={key:!0,ref:!0,__self:!0,__source:!0};function c(t,e,r){var s,l={},c=null,i=null;for(s in void 0!==r&&(c=""+r),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(i=e.ref),e)o.call(e,s)&&!n.hasOwnProperty(s)&&(l[s]=e[s]);if(t&&t.defaultProps)for(s in e=t.defaultProps)void 0===l[s]&&(l[s]=e[s]);return{$$typeof:a,type:t,key:c,ref:i,props:l,_owner:_.current}}e.Fragment=l,e.jsx=c,e.jsxs=c},70579:(t,e,r)=>{t.exports=r(51153)}}]);
|
|
3
|
-
//# sourceMappingURL=2716.1d3fba70.chunk.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[2730,9034,8725],{18411:(e,t,a)=>{a.d(t,{A:()=>r});a(73884);const r=a.p+"static/media/defaultAvatar.b1f2a8046cc7bee36d9a404ce6a0a1d7.svg"},97211:(e,t,a)=>{a.d(t,{A:()=>c});var r=a(87558),s=a.n(r),n=a(63908),i=a(34677),o=a.n(i),l=a(70579);const c=e=>{const t=t=>{let{id:a,url:r,error:i,apis:c,loading:d,...u}=t;const{apis:m}=(0,n.usePreset)(),p=o()({},m,c);if(!a)return null;if(!p.oss)throw new Error("\u8bf7\u5728Global\u7ec4\u4ef6\u8bbe\u7f6epreset.apis.oss\u53c2\u6570");const{paramsType:f,paramsName:g,..._}=Object.assign({paramsType:"params",paramsName:"id"},p.oss),h={};return h[f]={[g]:a},(0,l.jsx)(s(),{...Object.assign({},_,h),updateType:"refresh",error:i,loading:d,cache:"oss-file",ttl:6e6,render:t=>{let{data:r}=t;return(0,l.jsx)(e,{...u,id:a,data:r})}})};return t.defaultProps={loading:null},t}},40438:(e,t,a)=>{a.r(t),a.d(t,{default:()=>w});var r=a(87558),s=a.n(r),n=a(97211),i=a(64671),o=a(83136),l=a.n(o),c=a(55199),d=a(73884);const u=e=>{let{params:t}=e;const{data:a}=t;return new Promise(((e,t)=>{const r=new window.Image;r.src=a,r.addEventListener("load",(()=>{e(a)})),r.addEventListener("error",(e=>{t(e)}))}))},m="style_img-outer__4QLY5__MTYKL",p="style_img__PSExq__MTYKL",f="style_loading__WCOwA__MTYKL",g="style_error__+ECgZ__MTYKL";var _=a(18411),h=a(63908),x=a(70579);const v=e=>{let{data:t,className:a,alt:r,innerLoading:n,loading:i,error:o,innerError:c,children:d,onClick:m,staticUrl:f}=e;const{staticUrl:g}=(0,h.usePreset)(),_=f||g||"";return(0,x.jsx)(s(),{loader:u,params:{data:/^https?:\/\//.test(t)?t:_+t},error:c||o,loading:n||i,render:e=>{let{data:t}=e;return"function"===typeof d?d({alt:r,className:l()(a,p),src:t}):(0,x.jsx)("img",{alt:r,className:l()(a,p),src:t,onClick:m})}})},j=(0,n.A)(v),y=e=>{let{loading:t,error:a,src:r,id:s,alt:n,className:i,children:o,apis:l,onClick:c}=e;const u=t&&(0,d.cloneElement)(t,{className:f}),m=a&&(0,d.cloneElement)(a,{className:g});return r?(0,x.jsx)(v,{alt:n,className:i,data:r,loading:u,error:m,onClick:c,children:o}):s?(0,x.jsx)(j,{alt:n,className:i,id:s,loading:u,innerLoading:u,error:m,innerError:m,apis:l,onClick:c,children:o}):m},N=e=>{let{id:t,src:a,alt:r,onClick:s,loading:n,error:i,className:o,apis:c,...d}=e;return(0,x.jsx)("div",{...d,"data-testid":"components-core-image",className:l()(o,m),children:y({loading:n,error:i,src:a,id:t,alt:r,className:o,apis:c,onClick:s})})};N.Avatar=e=>{let{id:t,src:a,alt:r,gender:s,loading:n,error:o,className:d,gap:u,icon:p,children:f,shape:g,size:_,width:h,height:v,defaultAvatar:j,apis:N,...b}=e;const w=(()=>{const e=h&&v?{style:{width:h,height:v}}:{size:_};if(h&&h!==v&&(g="square"),t||a)return y({loading:n,error:o,src:a,defaultAvatar:j,id:t,alt:r,className:d,apis:N,children:t=>(0,x.jsx)(c.Avatar,{...t,gap:u,shape:g,...e})});if(s){const t=s&&["F","female","f"].indexOf(s)>-1?"icon-color-touxiang-nv":"icon-color-touxiang-nan";return(0,x.jsx)(c.Avatar,{...b,src:(0,x.jsx)(i.default,{role:"touxiang",colorful:!0,type:t}),gap:u,shape:g,...e})}return(0,x.jsx)(c.Avatar,{...b,gap:u,icon:p,shape:g,size:_,src:j,...e,children:f})})();return(0,x.jsx)("div",{...b,"data-testid":"components-core-image-avatar",className:l()(d,m),style:{width:h&&v?h:_,height:h&&v?v:_},children:w})};const b={error:(0,x.jsx)(i.default,{role:"error-icon",colorful:!0,type:"icon-color-touxiang-nan"}),loading:(0,x.jsx)(c.Skeleton.Avatar,{shape:"square",active:!0})};N.defaultProps=Object.assign({},b),N.Avatar.defaultProps=Object.assign({},b,{size:100,defaultAvatar:_.A});const w=N},79329:(e,t,a)=>{a.r(t),a.d(t,{default:()=>E,navigationHeight:()=>k});var r=a(55199),s=a(94679),n=a(33097),i=a.n(n),o=a(73884),l=a(83136),c=a.n(l);const d=a.p+"static/media/favicon.477a5bb996fd5b367fe0dddc29f67824.svg";var u=a(40438);const m=e=>({"en-US":()=>a.e(257).then(a.bind(a,30257)),"zh-CN":()=>a.e(5671).then(a.bind(a,5671))}[e]());var p=a(58609),f=a(96418),g=a.n(f),_=a(64671);const h="style_navigation-wrap__VF8x2__MTYKL",x="style_navigation__60RrS__MTYKL",v="style_is-fixed__kHFWj__MTYKL",j="style_navigation-logo__q9qHu__MTYKL",y="style_logo__lB9RC__MTYKL",N="style_navigation-list__EYtkg__MTYKL",b="style_navigation-options__0BdJU__MTYKL",w="style_more-icon__gNMnt__MTYKL";var L=a(70579);const{Header:T}=r.Layout,k=48,A=e=>{let{name:t,mapping:a,defaultTitle:r}=e;const s=(0,o.useRef)({mapping:a,defaultTitle:r});return(0,o.useEffect)((()=>{const e=i()(s.current.mapping.get(t),"title");document.title=(e?e+"-":"")+s.current.defaultTitle}),[t]),null},M=e=>{let{onReady:t}=e;const a=g()(t);return(0,o.useEffect)((()=>{a()}),[a]),null},C=e=>{let{permissions:t,list:a,headerLogo:n,rightOptions:l,isFixed:f,showIndex:g,indexLabel:k,defaultTitle:C,overflowedIndicator:E,base:Y,onChange:K,className:O}=e;const P=(0,o.useMemo)((()=>new Map(a.map((e=>{let{key:t,...a}=e;return[t,a]})))),[a]),R=(0,s.useNavigate)(),F=(0,s.useLocation)(),S=(0,o.useRef)(),z=(0,o.useRef)(null),[I,q]=(0,o.useState)("\u66f4\u591a"),[H,U]=(0,o.useState)(!1),B=F.pathname.replace(new RegExp(`^${Y}`),"").split("/")[1],W=B?i()(Array.from(P.entries()).find((e=>{let[a,{path:r,permission:s}]=e;return-1!==("function"===typeof r?r(s,t):r).indexOf("/"+B)})),"[0]"):"home";(0,o.useEffect)((()=>{const e=()=>{if(S.current){const e=S.current.querySelectorAll("li[data-menu-id]");let t=!1;for(let r=0;r<e.length;r++){if(-1!==e[r].getAttribute("data-menu-id").indexOf(W)){t=!0;break}}let a=P.get(W)&&!t?i()(P.get(W),"title"):"";q(a)}},t={attributes:!0,childList:!0,subtree:!0};return H&&S&&S.current&&(e(),z.current&&z.current.disconnect(),z.current=new MutationObserver(e),z.current.observe(S.current,t)),()=>{z.current&&z.current.disconnect()}}),[W,P,H]);const G=!!g&&{label:k||(0,L.jsx)(p.FormattedMessage,{id:"indexLabel",moduleName:"Navigation"}),key:"home",onClick:()=>{K&&K("/"),setTimeout((()=>{R("/")}),0)}};return(0,L.jsxs)(p.IntlProvider,{importMessages:m,moduleName:"Navigation",children:[(0,L.jsx)(p.FormattedMessage,{id:"defaultTitle",moduleName:"Navigation",children:e=>(0,L.jsx)(A,{defaultTitle:C||e,mapping:P,name:W})}),(0,L.jsx)("div",{className:c()(h,O),children:(0,L.jsx)(T,{className:c()("navigation",x,{[v]:f}),children:(0,L.jsxs)(r.Row,{justify:"space-around",wrap:!1,children:[(0,L.jsx)(r.Col,{className:c()("navigation-logo",j),children:(0,L.jsx)(u.default,{className:c()(y),src:d,alt:"logo",...n})}),(0,L.jsxs)(r.Col,{ref:S,flex:1,className:c()("navigation-list",N),children:[(0,L.jsx)(M,{onReady:()=>{U(!0)}}),(0,L.jsx)(r.Menu,{selectedKeys:[W],mode:"horizontal",overflowedIndicator:E||(0,L.jsxs)(r.Space,{size:4,children:[(0,L.jsx)("span",{children:I||(0,L.jsx)(p.FormattedMessage,{id:"overflowedIndicator",moduleName:"Navigation"})}),(0,L.jsx)("span",{className:w,children:(0,L.jsx)(_.default,{type:"icon-arrow-thin-down"})})]}),items:[G,...Array.from(P.entries()).filter((e=>{let[a,{permission:r}]=e;if("string"===typeof r)return t.indexOf(r)>-1;if("function"===typeof r)return r(t);if(Array.isArray(r)){for(let e of r)if(t.indexOf(e)>-1)return!0;return!1}return!0})).map((e=>{let[a,{title:r,path:s,permission:n}]=e;const i="function"===typeof s?s(n,t):s;return{label:r,key:a,onClick:()=>{K&&K(i),setTimeout((()=>{R(i)}),0)}}}))]})]}),(0,L.jsx)(r.Col,{className:b,children:l})]})})})]})};C.defaultProps={isFixed:!0,permissions:[],list:[],showIndex:!0,base:""};const E=C}}]);
|
|
2
|
-
//# sourceMappingURL=2730.d3708a34.chunk.js.map
|