@kne-components/components-core 0.2.50 → 0.2.52

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.
Files changed (209) hide show
  1. package/build/asset-manifest.json +135 -135
  2. package/build/index.html +1 -1
  3. package/build/remoteEntry.js +1 -1
  4. package/build/remoteEntry.js.map +1 -1
  5. package/build/static/css/1153.a3076141.chunk.css +2 -0
  6. package/build/static/css/{1153.e787ee32.chunk.css.map → 1153.a3076141.chunk.css.map} +1 -1
  7. package/build/static/css/1269.75259799.chunk.css +2 -0
  8. package/build/static/css/1269.75259799.chunk.css.map +1 -0
  9. package/build/static/css/{1381.2d2e094a.chunk.css → 1381.9152e4bd.chunk.css} +2 -2
  10. package/build/static/css/1381.9152e4bd.chunk.css.map +1 -0
  11. package/build/static/css/1554.3e309a6f.chunk.css +2 -0
  12. package/build/static/css/{1554.5d73820f.chunk.css.map → 1554.3e309a6f.chunk.css.map} +1 -1
  13. package/build/static/css/{2503.3b862ce4.chunk.css → 2503.474a171f.chunk.css} +2 -2
  14. package/build/static/css/{2503.3b862ce4.chunk.css.map → 2503.474a171f.chunk.css.map} +1 -1
  15. package/build/static/css/{2517.6056a309.chunk.css → 2517.869e6801.chunk.css} +2 -2
  16. package/build/static/css/{2517.6056a309.chunk.css.map → 2517.869e6801.chunk.css.map} +1 -1
  17. package/build/static/css/2716.91c0ebc1.chunk.css +2 -0
  18. package/build/static/css/{2716.d0b7f53c.chunk.css.map → 2716.91c0ebc1.chunk.css.map} +1 -1
  19. package/build/static/css/{2730.9336c9d8.chunk.css → 2730.643e8142.chunk.css} +2 -2
  20. package/build/static/css/{2730.9336c9d8.chunk.css.map → 2730.643e8142.chunk.css.map} +1 -1
  21. package/build/static/css/2955.6235c014.chunk.css +2 -0
  22. package/build/static/css/2955.6235c014.chunk.css.map +1 -0
  23. package/build/static/css/{3060.556b5081.chunk.css → 3060.1e263270.chunk.css} +2 -2
  24. package/build/static/css/3060.1e263270.chunk.css.map +1 -0
  25. package/build/static/css/{3142.fb33736b.chunk.css → 3142.557390c6.chunk.css} +2 -2
  26. package/build/static/css/{3142.fb33736b.chunk.css.map → 3142.557390c6.chunk.css.map} +1 -1
  27. package/build/static/css/3656.846489be.chunk.css +2 -0
  28. package/build/static/css/3656.846489be.chunk.css.map +1 -0
  29. package/build/static/css/{771.c61a9837.chunk.css → 3673.1aa08c71.chunk.css} +1 -1
  30. package/build/static/css/3673.1aa08c71.chunk.css.map +1 -0
  31. package/build/static/css/4029.d178b8da.chunk.css +2 -0
  32. package/build/static/css/{4029.205cde81.chunk.css.map → 4029.d178b8da.chunk.css.map} +1 -1
  33. package/build/static/css/4205.d9f5e96d.chunk.css +2 -0
  34. package/build/static/css/4205.d9f5e96d.chunk.css.map +1 -0
  35. package/build/static/css/4666.2de28a45.chunk.css +2 -0
  36. package/build/static/css/{4666.d9d06afe.chunk.css.map → 4666.2de28a45.chunk.css.map} +1 -1
  37. package/build/static/css/5443.e2741580.chunk.css +2 -0
  38. package/build/static/css/{5443.45d3dd86.chunk.css.map → 5443.e2741580.chunk.css.map} +1 -1
  39. package/build/static/css/5600.62a62277.chunk.css +2 -0
  40. package/build/static/css/{5600.71f6a0ab.chunk.css.map → 5600.62a62277.chunk.css.map} +1 -1
  41. package/build/static/css/{5633.2d2e094a.chunk.css → 5633.9152e4bd.chunk.css} +2 -2
  42. package/build/static/css/5633.9152e4bd.chunk.css.map +1 -0
  43. package/build/static/css/5962.339098cf.chunk.css +2 -0
  44. package/build/static/css/{5962.f356e2b9.chunk.css.map → 5962.339098cf.chunk.css.map} +1 -1
  45. package/build/static/css/{5996.feb9bfc8.chunk.css → 5996.769ba867.chunk.css} +2 -2
  46. package/build/static/css/{5996.feb9bfc8.chunk.css.map → 5996.769ba867.chunk.css.map} +1 -1
  47. package/build/static/css/{6611.8072e466.chunk.css → 6611.af282531.chunk.css} +2 -2
  48. package/build/static/css/{6611.8072e466.chunk.css.map → 6611.af282531.chunk.css.map} +1 -1
  49. package/build/static/css/6779.39d435c8.chunk.css +2 -0
  50. package/build/static/css/{6779.806453a3.chunk.css.map → 6779.39d435c8.chunk.css.map} +1 -1
  51. package/build/static/css/6995.59790a5d.chunk.css +2 -0
  52. package/build/static/css/{6995.e0a61369.chunk.css.map → 6995.59790a5d.chunk.css.map} +1 -1
  53. package/build/static/css/7178.8be8e899.chunk.css +2 -0
  54. package/build/static/css/7178.8be8e899.chunk.css.map +1 -0
  55. package/build/static/css/7227.126ccc48.chunk.css +2 -0
  56. package/build/static/css/{7227.12fa7f8d.chunk.css.map → 7227.126ccc48.chunk.css.map} +1 -1
  57. package/build/static/css/8117.51720750.chunk.css +2 -0
  58. package/build/static/css/8117.51720750.chunk.css.map +1 -0
  59. package/build/static/css/{8725.dbf9e365.chunk.css → 8725.fdf869cf.chunk.css} +2 -2
  60. package/build/static/css/{8725.dbf9e365.chunk.css.map → 8725.fdf869cf.chunk.css.map} +1 -1
  61. package/build/static/css/9968.24d4c73a.chunk.css +2 -0
  62. package/build/static/css/{9968.8fb6d7ac.chunk.css.map → 9968.24d4c73a.chunk.css.map} +1 -1
  63. package/build/static/js/{1153.019ce304.chunk.js → 1153.06030a7d.chunk.js} +3 -3
  64. package/build/static/js/{1153.019ce304.chunk.js.map → 1153.06030a7d.chunk.js.map} +1 -1
  65. package/build/static/js/1269.8b9993e6.chunk.js +2 -0
  66. package/build/static/js/{1269.eb9fe653.chunk.js.map → 1269.8b9993e6.chunk.js.map} +1 -1
  67. package/build/static/js/1381.53223965.chunk.js +1 -0
  68. package/build/static/js/1554.544ceaf3.chunk.js +3 -0
  69. package/build/static/js/{1554.3f38ab78.chunk.js.map → 1554.544ceaf3.chunk.js.map} +1 -1
  70. package/build/static/js/2503.f8469ae8.chunk.js +2 -0
  71. package/build/static/js/{2503.605958bb.chunk.js.map → 2503.f8469ae8.chunk.js.map} +1 -1
  72. package/build/static/js/{2517.e9760130.chunk.js → 2517.4458b49f.chunk.js} +2 -2
  73. package/build/static/js/{2517.e9760130.chunk.js.map → 2517.4458b49f.chunk.js.map} +1 -1
  74. package/build/static/js/2716.9ac10191.chunk.js +3 -0
  75. package/build/static/js/{2716.c4f174ee.chunk.js.map → 2716.9ac10191.chunk.js.map} +1 -1
  76. package/build/static/js/{2723.e79ae302.chunk.js → 2723.dc687cc3.chunk.js} +1 -1
  77. package/build/static/js/2730.3dfbeb22.chunk.js +2 -0
  78. package/build/static/js/{2730.98c7f363.chunk.js.map → 2730.3dfbeb22.chunk.js.map} +1 -1
  79. package/build/static/js/2814.28011c0b.chunk.js +2 -0
  80. package/build/static/js/{2814.c5398251.chunk.js.map → 2814.28011c0b.chunk.js.map} +1 -1
  81. package/build/static/js/{3142.2f797f5e.chunk.js → 3142.7bd0ec8e.chunk.js} +2 -2
  82. package/build/static/js/{3142.2f797f5e.chunk.js.map → 3142.7bd0ec8e.chunk.js.map} +1 -1
  83. package/build/static/js/330.8211e6aa.chunk.js +3 -0
  84. package/build/static/js/330.8211e6aa.chunk.js.map +1 -0
  85. package/build/static/js/36.a69ba043.chunk.js +2 -0
  86. package/build/static/js/{36.6c73ca4c.chunk.js.map → 36.a69ba043.chunk.js.map} +1 -1
  87. package/build/static/js/{3656.ddeed274.chunk.js → 3656.a0b1e96d.chunk.js} +2 -2
  88. package/build/static/js/{3656.ddeed274.chunk.js.map → 3656.a0b1e96d.chunk.js.map} +1 -1
  89. package/build/static/js/3673.8ebe5ed0.chunk.js +2 -0
  90. package/build/static/js/3673.8ebe5ed0.chunk.js.map +1 -0
  91. package/build/static/js/{4029.d983becf.chunk.js → 4029.7b662431.chunk.js} +2 -2
  92. package/build/static/js/4029.7b662431.chunk.js.map +1 -0
  93. package/build/static/js/{4205.79c6e235.chunk.js → 4205.b67d1f73.chunk.js} +2 -2
  94. package/build/static/js/{4205.79c6e235.chunk.js.map → 4205.b67d1f73.chunk.js.map} +1 -1
  95. package/build/static/js/4666.640f0c5a.chunk.js +3 -0
  96. package/build/static/js/4666.640f0c5a.chunk.js.map +1 -0
  97. package/build/static/js/4916.a66c326d.chunk.js +2 -0
  98. package/build/static/js/4916.a66c326d.chunk.js.map +1 -0
  99. package/build/static/js/5443.3dabaa6f.chunk.js +2 -0
  100. package/build/static/js/{5443.579a3857.chunk.js.map → 5443.3dabaa6f.chunk.js.map} +1 -1
  101. package/build/static/js/{5600.7dbd84c9.chunk.js → 5600.3033b417.chunk.js} +2 -2
  102. package/build/static/js/{5600.7dbd84c9.chunk.js.map → 5600.3033b417.chunk.js.map} +1 -1
  103. package/build/static/js/{5633.825a8330.chunk.js → 5633.bf1fcce3.chunk.js} +1 -1
  104. package/build/static/js/5962.ab31aef5.chunk.js +2 -0
  105. package/build/static/js/{5962.c3cd55fc.chunk.js.map → 5962.ab31aef5.chunk.js.map} +1 -1
  106. package/build/static/js/5971.7fb64fd7.chunk.js +2 -0
  107. package/build/static/js/5971.7fb64fd7.chunk.js.map +1 -0
  108. package/build/static/js/{5996.56554f72.chunk.js → 5996.3f374913.chunk.js} +2 -2
  109. package/build/static/js/{5996.56554f72.chunk.js.map → 5996.3f374913.chunk.js.map} +1 -1
  110. package/build/static/js/6611.1c0bc4bb.chunk.js +2 -0
  111. package/build/static/js/{6611.be01ec1d.chunk.js.map → 6611.1c0bc4bb.chunk.js.map} +1 -1
  112. package/build/static/js/6779.0055cd32.chunk.js +2 -0
  113. package/build/static/js/{6779.569e4ff8.chunk.js.map → 6779.0055cd32.chunk.js.map} +1 -1
  114. package/build/static/js/6915.fb2205e3.chunk.js +2 -0
  115. package/build/static/js/{6915.25d02130.chunk.js.map → 6915.fb2205e3.chunk.js.map} +1 -1
  116. package/build/static/js/6995.b4a4e524.chunk.js +2 -0
  117. package/build/static/js/{6995.d7731c2d.chunk.js.map → 6995.b4a4e524.chunk.js.map} +1 -1
  118. package/build/static/js/7227.2f1e3398.chunk.js +3 -0
  119. package/build/static/js/{7227.ae802faf.chunk.js.map → 7227.2f1e3398.chunk.js.map} +1 -1
  120. package/build/static/js/{7967.ad837d80.chunk.js → 7967.95aaabcf.chunk.js} +2 -2
  121. package/build/static/js/{7967.ad837d80.chunk.js.map → 7967.95aaabcf.chunk.js.map} +1 -1
  122. package/build/static/js/8117.0de1bafd.chunk.js +2 -0
  123. package/build/static/js/{8117.c9ec8645.chunk.js.map → 8117.0de1bafd.chunk.js.map} +1 -1
  124. package/build/static/js/{8151.42ed99c8.chunk.js → 8151.662326d4.chunk.js} +2 -2
  125. package/build/static/js/{8151.42ed99c8.chunk.js.map → 8151.662326d4.chunk.js.map} +1 -1
  126. package/build/static/js/8222.00ab3ac8.chunk.js +2 -0
  127. package/build/static/js/8222.00ab3ac8.chunk.js.map +1 -0
  128. package/build/static/js/8412.f96e535d.chunk.js +2 -0
  129. package/build/static/js/8412.f96e535d.chunk.js.map +1 -0
  130. package/build/static/js/86.a92fcf58.chunk.js.map +1 -1
  131. package/build/static/js/8601.45344246.chunk.js +2 -0
  132. package/build/static/js/8601.45344246.chunk.js.map +1 -0
  133. package/build/static/js/8725.8982f697.chunk.js +2 -0
  134. package/build/static/js/{8725.04eee918.chunk.js.map → 8725.8982f697.chunk.js.map} +1 -1
  135. package/build/static/js/{9968.47ad646a.chunk.js → 9968.bf206461.chunk.js} +2 -2
  136. package/build/static/js/{9968.47ad646a.chunk.js.map → 9968.bf206461.chunk.js.map} +1 -1
  137. package/build/static/js/main.0cedb449.js +2 -0
  138. package/build/static/js/main.0cedb449.js.map +1 -0
  139. package/package.json +3 -3
  140. package/build/static/css/1153.e787ee32.chunk.css +0 -2
  141. package/build/static/css/1269.ea4d8a26.chunk.css +0 -2
  142. package/build/static/css/1269.ea4d8a26.chunk.css.map +0 -1
  143. package/build/static/css/1381.2d2e094a.chunk.css.map +0 -1
  144. package/build/static/css/1554.5d73820f.chunk.css +0 -2
  145. package/build/static/css/2716.d0b7f53c.chunk.css +0 -2
  146. package/build/static/css/2955.3256ebfa.chunk.css +0 -2
  147. package/build/static/css/2955.3256ebfa.chunk.css.map +0 -1
  148. package/build/static/css/3060.556b5081.chunk.css.map +0 -1
  149. package/build/static/css/3656.c86b68ad.chunk.css +0 -2
  150. package/build/static/css/3656.c86b68ad.chunk.css.map +0 -1
  151. package/build/static/css/4029.205cde81.chunk.css +0 -2
  152. package/build/static/css/4205.77311dfd.chunk.css +0 -2
  153. package/build/static/css/4205.77311dfd.chunk.css.map +0 -1
  154. package/build/static/css/4666.d9d06afe.chunk.css +0 -2
  155. package/build/static/css/5443.45d3dd86.chunk.css +0 -2
  156. package/build/static/css/5600.71f6a0ab.chunk.css +0 -2
  157. package/build/static/css/5633.2d2e094a.chunk.css.map +0 -1
  158. package/build/static/css/5962.f356e2b9.chunk.css +0 -2
  159. package/build/static/css/6779.806453a3.chunk.css +0 -2
  160. package/build/static/css/6995.e0a61369.chunk.css +0 -2
  161. package/build/static/css/7178.b83e653f.chunk.css +0 -2
  162. package/build/static/css/7178.b83e653f.chunk.css.map +0 -1
  163. package/build/static/css/7227.12fa7f8d.chunk.css +0 -2
  164. package/build/static/css/771.c61a9837.chunk.css.map +0 -1
  165. package/build/static/css/8117.a1a840a1.chunk.css +0 -2
  166. package/build/static/css/8117.a1a840a1.chunk.css.map +0 -1
  167. package/build/static/css/9968.8fb6d7ac.chunk.css +0 -2
  168. package/build/static/js/1269.eb9fe653.chunk.js +0 -2
  169. package/build/static/js/1381.d7dffc56.chunk.js +0 -1
  170. package/build/static/js/1554.3f38ab78.chunk.js +0 -3
  171. package/build/static/js/2503.605958bb.chunk.js +0 -2
  172. package/build/static/js/2716.c4f174ee.chunk.js +0 -3
  173. package/build/static/js/2730.98c7f363.chunk.js +0 -2
  174. package/build/static/js/2814.c5398251.chunk.js +0 -2
  175. package/build/static/js/330.430e56ec.chunk.js +0 -3
  176. package/build/static/js/330.430e56ec.chunk.js.map +0 -1
  177. package/build/static/js/36.6c73ca4c.chunk.js +0 -2
  178. package/build/static/js/4029.d983becf.chunk.js.map +0 -1
  179. package/build/static/js/4666.a636fb9a.chunk.js +0 -3
  180. package/build/static/js/4666.a636fb9a.chunk.js.map +0 -1
  181. package/build/static/js/5443.579a3857.chunk.js +0 -2
  182. package/build/static/js/5962.c3cd55fc.chunk.js +0 -2
  183. package/build/static/js/5971.0dc2c6db.chunk.js +0 -2
  184. package/build/static/js/5971.0dc2c6db.chunk.js.map +0 -1
  185. package/build/static/js/6441.e26c58fa.chunk.js +0 -2
  186. package/build/static/js/6441.e26c58fa.chunk.js.map +0 -1
  187. package/build/static/js/6611.be01ec1d.chunk.js +0 -2
  188. package/build/static/js/6779.569e4ff8.chunk.js +0 -2
  189. package/build/static/js/6915.25d02130.chunk.js +0 -2
  190. package/build/static/js/6995.d7731c2d.chunk.js +0 -2
  191. package/build/static/js/7227.ae802faf.chunk.js +0 -3
  192. package/build/static/js/771.5bb5d782.chunk.js +0 -2
  193. package/build/static/js/771.5bb5d782.chunk.js.map +0 -1
  194. package/build/static/js/8117.c9ec8645.chunk.js +0 -2
  195. package/build/static/js/8222.3f471219.chunk.js +0 -2
  196. package/build/static/js/8222.3f471219.chunk.js.map +0 -1
  197. package/build/static/js/8601.2110aa77.chunk.js +0 -2
  198. package/build/static/js/8601.2110aa77.chunk.js.map +0 -1
  199. package/build/static/js/8725.04eee918.chunk.js +0 -2
  200. package/build/static/js/9699.30896327.chunk.js +0 -2
  201. package/build/static/js/9699.30896327.chunk.js.map +0 -1
  202. package/build/static/js/main.d8052be5.js +0 -2
  203. package/build/static/js/main.d8052be5.js.map +0 -1
  204. /package/build/static/js/{1153.019ce304.chunk.js.LICENSE.txt → 1153.06030a7d.chunk.js.LICENSE.txt} +0 -0
  205. /package/build/static/js/{1554.3f38ab78.chunk.js.LICENSE.txt → 1554.544ceaf3.chunk.js.LICENSE.txt} +0 -0
  206. /package/build/static/js/{2716.c4f174ee.chunk.js.LICENSE.txt → 2716.9ac10191.chunk.js.LICENSE.txt} +0 -0
  207. /package/build/static/js/{330.430e56ec.chunk.js.LICENSE.txt → 330.8211e6aa.chunk.js.LICENSE.txt} +0 -0
  208. /package/build/static/js/{4666.a636fb9a.chunk.js.LICENSE.txt → 4666.640f0c5a.chunk.js.LICENSE.txt} +0 -0
  209. /package/build/static/js/{7227.ae802faf.chunk.js.LICENSE.txt → 7227.2f1e3398.chunk.js.LICENSE.txt} +0 -0
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[2814],{25644:(e,t,n)=>{n.d(t,{A:()=>r});const r={getItem:e=>{const t=window.localStorage.getItem(e);try{const{dataType:e,value:n}=JSON.parse(t);if("object"===e&&"null"===n)return null;if("undefined"===e)return;return"number"===e?Number(n):"boolean"===e?Boolean(n):n}catch(n){return null}},setItem:(e,t)=>{const n=typeof t;window.localStorage.setItem(e,JSON.stringify({dataType:n,value:t}))}}},80940:(e,t,n)=>{n.r(t),n.d(t,{default:()=>N});var r=n(73884),s=n(96418),i=n.n(s),o=n(55199),l=n(83136),a=n.n(l),c=n(64671),m=n(81014),d=n(58407),u=n(77964),p=n(22616),h=n.n(p);const y="style_width-container__JfEbg__53bib",g="style_hidden-container__EdySA__53bib",_="style_hidden-inner__vAN59__53bib",b="style_menu-list__VDttR__53bib",f="style_btn-item__mp5MQ__53bib";var x=n(15797),v=n.n(x),j=n(70579);const C=v()((e=>{let{amountWidth:t,moreBtnWidth:n,buttonWidthList:r,spaceProps:s,compact:i}=e;const o=i?0:["small","middle","large"].indexOf(s.size)>-1?8*(["small","middle","large"].indexOf(s.size)+1):Number.isInteger(s.size)?s.size:8;let l=0,a=0;for(;t>=a+r[l]+l*o&&l<r.length;)a+=r[l],l+=1;for(;t<a+(l-1)*o+(l<r.length?n+o:0)&&l>0;)a-=r[l-1],l-=1;return l}),(e=>{let{amountWidth:t,moreBtnWidth:n,buttonWidthList:r,spaceProps:s,compact:i}=e;return`${t}${n}${r.join(",")}${Object.values(s).join(",")}${i&&i.toString()}`})),w=e=>{let{list:t,more:n,compact:s,...l}=e;const c=h()(l,["size","split","align","style"]),[p,x]=(0,r.useState)(t.length&&1),v=i()((()=>{const e=N.current,t=E.current,n=w.current;if(!e)return;const i=e.querySelectorAll(".button-group-item");if(!i)return;if(0===i.length)return;const o=n.clientWidth,l=t.clientWidth,a=[].map.call(i,(e=>e.offsetWidth)),m=C({amountWidth:o,moreBtnWidth:l,buttonWidthList:a,spaceProps:c,compact:s});(0,r.startTransition)((()=>{x(m)}))})),w=(0,u.A)(v),N=(0,u.A)(v),E=(0,u.A)(v),S=t.slice(p),R=(e,t,n)=>{if("function"===typeof e)return e({key:t,className:a()("button-group-item",f),isDropdown:n});const{className:s,confirm:i,buttonComponent:o,...l}=e,c=i||l.message,u=c?d.default:o||m.default;return(0,r.createElement)(u,{danger:c&&!1!==l.isDelete,...Object.assign({},l,c&&(l.isModal||n)?{isModal:!0}:{}),key:t,className:a()("button-group-item",f,s)})},k=s?o.Space.Compact:o.Space;return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)("div",{className:y,ref:w}),(0,j.jsxs)("div",{className:g,children:[(0,j.jsx)("div",{className:_,ref:E,children:n}),(0,j.jsx)("div",{className:_,ref:N,children:(0,j.jsx)(k,{...c,children:t.map(R)})})]}),(0,j.jsxs)(k,{...c,children:[t.slice(0,p).map(((e,t)=>R(e,t,!1))),S.length>0&&(0,j.jsx)(o.Dropdown,{overlayClassName:b,menu:{items:S.map(((e,t)=>({key:t,label:R(e,t,!0)})))},children:n})]})]})};w.defaultProps={more:(0,j.jsxs)(o.Button,{children:["\u66f4\u591a",(0,j.jsx)(c.default,{type:"icon-arrow-thin-down"})]})};const N=w},58407:(e,t,n)=>{n.r(t),n.d(t,{ConfirmLink:()=>_,ConfirmText:()=>b,default:()=>f,withConfirm:()=>g});n(73884);var r=n(55199);const s=e=>({"en-US":()=>n.e(3275).then(n.bind(n,63275)),"zh-CN":()=>n.e(5181).then(n.bind(n,25181))}[e]());var i=n(64671),o=n(58609),l=n(3382),a=n(83136),c=n.n(a);const m="style_overlay__99t5t__53bib",d="style_is-danger__gxyAB__53bib",u="style_title__EEPu2__53bib",p="style_content__mZZg5__53bib",h="style_has-title__5+PEt__53bib";var y=n(70579);const g=e=>{const t=(0,o.createWithIntl)({moduleName:"ConfirmButton",importMessages:s})((t=>{let{title:n,message:s,isDelete:a=!0,onClick:g,onCancel:_,disabled:b,showCancel:f,cancelText:x,isModal:v,okText:j,placement:C,getContainer:w,...N}=t;const{formatMessage:E}=(0,o.useIntl)({moduleName:"ConfirmButton"}),S=(0,l.useConfirmModal)();return v?(0,y.jsx)(e,{...N,disabled:b,onClick:e=>{S({type:"confirm",title:n,getContainer:w,danger:a,confirmType:a?"warning":"info",message:s||E({id:"message"}),okText:j||E(a?{id:"delete"}:{id:"confirm"}),cancelText:x||E({id:"cancel"}),onCancel:_,onOk:g})}}):(0,y.jsx)(r.Popconfirm,{title:(0,y.jsxs)(r.Space,{direction:"vertical",onClick:e=>{e.stopPropagation()},children:[n&&(0,y.jsxs)(r.Space,{size:0,align:"start",className:u,children:[a&&(0,y.jsx)(i.default,{className:"title-icon",type:"icon-tishi-tianchong"}),n]}),(0,y.jsxs)(r.Space,{size:0,align:"start",className:c()(p,{[h]:n}),children:[!n&&a?(0,y.jsx)(i.default,{className:"title-icon",type:"icon-tishi-tianchong"}):null,s||E({id:"message"})]})]}),placement:C,onConfirm:g,okButtonProps:{danger:a},onCancel:_,overlayClassName:c()(m,{[d]:a}),getPopupContainer:w,disabled:b,showCancel:f,cancelText:x,okText:j||E(a?{id:"delete"}:{id:"confirm"}),children:(0,y.jsx)(e,{...N,disabled:b})})}));return t.defaultProps={isModal:!1,showCancel:!0},t},_=g(r.Typography.Link),b=g(r.Typography.Text),f=g(r.Button)},48731:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var r=n(73884),s=n(87558),i=n(63908),o=n(15797),l=n.n(o),a=n(79686),c=n.n(a),m=n(70579);const d=[["gender",()=>[{value:"M",description:"\u7537"},{value:"F",description:"\u5973"}]],["marital",()=>[{description:"\u5df2\u5a5a",value:"Y"},{description:"\u672a\u5a5a",value:"N"}]],["confirm",()=>[{description:"\u662f",value:"Y"},{description:"\u5426",value:"N"}]],["political",()=>[{description:"\u4e2d\u5171\u515a\u5458",value:"\u4e2d\u5171\u515a\u5458"},{description:"\u5171\u9752\u56e2\u5458",value:"\u5171\u9752\u56e2\u5458"},{description:"\u7fa4\u4f17",value:"\u7fa4\u4f17"},{description:"\u5176\u4ed6\u515a\u6d3e",value:"\u5176\u4ed6\u515a\u6d3e"}]],["phoneStateEnum",()=>[{value:0,description:"\u7a7a\u53f7"},{value:1,description:"\u5b9e\u53f7"},{value:2,description:"\u505c\u673a"},{value:3,description:"\u5e93\u65e0"},{value:4,description:"\u6c89\u9ed8\u53f7"},{value:5,description:"\u98ce\u9669\u53f7"}]],["degreeEnum",()=>[{description:"\u521d\u4e2d",value:10},{description:"\u4e2d\u4e13",value:20},{description:"\u9ad8\u4e2d",value:30},{description:"\u5927\u4e13",value:40},{description:"\u672c\u79d1",value:50},{description:"\u7855\u58eb\u7814\u7a76\u751f",value:60},{description:"\u535a\u58eb\u7814\u7a76\u751f",value:70},{description:"\u535a\u58eb\u540e",value:75},{description:"\u5b66\u5386\u4e0d\u9650",value:999}]]],u=(0,s.withFetch)((e=>{let{data:t,children:n}=e;return"function"===typeof n?n(t):n||(null===t||void 0===t?void 0:t.description)})),p=l()((e=>new Map(d.concat(Object.keys(Object.assign({},e)).map((t=>[t,e[t]])))))),h=e=>{let{loader:t,...n}=e;const{global:{enumsRef:s}}=(0,i.useGlobalContext)(),o=(0,r.useRef)(null);return(0,m.jsx)(u,{...n,loader:async function(){const e=p(await t(...arguments)),{params:n}=arguments.length<=0?void 0:arguments[0],{moduleName:r,name:i,force:l,locale:a}=n,m=async t=>!0!==l&&o.current===a&&s.current.get(t)||await(async()=>{const n=e.get(t),r=await(async()=>"function"===typeof n?new Map((await n({locale:a})).map((e=>[e.value.toString(),e]))):Array.isArray(n)?new Map(n.map((e=>[e.value.toString(),e]))):"object"===typeof n?new Map(Object.keys(n).map((e=>[e.toString(),n[e]]))):(console.warn("\u679a\u4e3e\u503cloader\u7684\u8bbe\u7f6e\u53ef\u80fd\u4e0d\u6b63\u786e"),new Map))();return s.current.set(t,r),o.current=a,r})();if(Array.isArray(r))return await Promise.all(r.map((e=>m(e).then((e=>Array.from(e.values()))))));const d=await m(r);return c()(i)?Array.from(d.values()):d.get(i.toString())}})},y=e=>{let{moduleName:t,name:n,force:r,children:s,...o}=e;const l=(0,i.usePreset)();return(0,m.jsx)(h,{...o,params:{moduleName:t,locale:null===l||void 0===l?void 0:l.locale,enums:null===l||void 0===l?void 0:l.enums,name:n,force:r},loader:e=>{let{params:t}=e;return t.enums},children:s})};y.defaultProps={force:!1};const g=y},62716:(e,t,n)=>{n.r(t),n.d(t,{default:()=>d});var r=n(73884),s=n(83136),i=n.n(s);const o={"state-tag":"style_state-tag__Kx27z__53bib","state-result-tag":"style_state-result-tag__CssDz__53bib","state-skill-tag":"style_state-skill-tag__k0bQE__53bib","event-tag":"style_event-tag__cg6SE__53bib","state-tag-filter-result-wrapper":"style_state-tag-filter-result-wrapper__QYS5z__53bib","state-tag-filter-name":"style_state-tag-filter-name__iJaJd__53bib","state-tag-filterResult":"style_state-tag-filterResult__KTkot__53bib","show-bg":"style_show-bg__OcL+R__53bib","tag-text":"style_tag-text__JHCt+__53bib","state-tag-wrapper":"style_state-tag-wrapper__A-gTE__53bib"};var l=n(55199),a=n(70579);const c={default:"#666666",skill:{color:"#666666",borderColor:"#EEEEEE"},result:"#666666",filterResult:"#5CB8B2",success:"#027A48",progress:"#F09700",danger:"#D14343",info:"#155ACF",other:"#6740C3"},m=e=>{let{showBorder:t,text:n,type:s,showBackground:m,className:d,filterName:u,...p}=e;const h=(0,r.useMemo)((()=>{var e,t;return{color:(null===c||void 0===c||null===(e=c[s])||void 0===e?void 0:e.color)||c[s],borderColor:(null===c||void 0===c||null===(t=c[s])||void 0===t?void 0:t.borderColor)||c[s]}}),[s]);return(0,a.jsxs)(l.Space,{"data-testid":"components-core-state-tag",className:i()(o["state-tag-wrapper"],"filterResult"===s?o["state-tag-filter-result-wrapper"]:""),align:"center",size:4,children:[u?(0,a.jsxs)("span",{className:o["state-tag-filter-name"],children:[u,":"]}):null,(0,a.jsx)(l.Tag,{color:h.color,...p,style:{background:m?h.color+"0F":"none",color:h.color,border:t?`1px solid ${h.borderColor}`:"none"},className:i()(o["state-tag"],d,"result"===s?o["state-result-tag"]:"","skill"===s?o["state-skill-tag"]:"",o[`state-tag-${s}`],m?o["show-bg"]:"",t?o["show-border"]:"",null!==p&&void 0!==p&&p.onClick?o["event-tag"]:""),children:(0,a.jsx)("span",{className:o["tag-text"],children:n})})]})};m.defaultProps={color:"#666666",type:"default",showBorder:!1,showBackground:!0,text:"",className:""};const d=m},22814:(e,t,n)=>{n.r(t),n.d(t,{TablePage:()=>Re,default:()=>je});const r={table:"style_table__z7kfz__53bib","is-resize":"style_is-resize__ut6RW__53bib","is-moving":"style_is-moving__BJ9wR__53bib","cell-resize-bar":"style_cell-resize-bar__-mlUF__53bib","is-computed":"style_is-computed__B9rIF__53bib","options-column":"style_options-column__vsPTr__53bib","options-btn":"style_options-btn__U3uoy__53bib",tooltip:"style_tooltip__vJlkv__53bib","table-changer-setting":"style_table-changer-setting__HcrwR__53bib","width-changer-sign":"style_width-changer-sign__Aflyl__53bib","columns-control":"style_columns-control__5-5ZF__53bib","columns-control-content":"style_columns-control-content__MoeUI__53bib","columns-control-content-title":"style_columns-control-content-title__P5sXV__53bib","columns-control-content-scroller":"style_columns-control-content-scroller__CeYRV__53bib","columns-control-content-footer":"style_columns-control-content-footer__0bQWm__53bib","columns-control-content-input":"style_columns-control-content-input__G6yKq__53bib","columns-control-content-list":"style_columns-control-content-list__aXvTs__53bib","columns-control-content-item":"style_columns-control-content-item__jbyyE__53bib","is-drag":"style_is-drag__U68aw__53bib","columns-control-content-item-icon":"style_columns-control-content-item-icon__yJqZf__53bib","sortable-drag":"style_sortable-drag__K5hWd__53bib","sortable-ghost":"style_sortable-ghost__lKTd2__53bib","columns-control-overlay":"style_columns-control-overlay__OxCIz__53bib","sort-btn":"style_sort-btn__KvNLr__53bib","sort-active-desc":"style_sort-active-desc__TIhMC__53bib","sort-icon":"style_sort-icon__dB85I__53bib","sort-active-asc":"style_sort-active-asc__RUBup__53bib"};var s=n(55199),i=n(73884),o=n(83136),l=n.n(o),a=n(42787),c=n(76801),m=n(77964),d=n(96418),u=n.n(d);const p={"col-item":"columns_col-item__Ym1Ec__53bib",tag:"columns_tag__bQZLG__53bib",avatar:"columns_avatar__SLPI+__53bib",hover:"columns_hover__oAwHg__53bib",primary:"columns_primary__6KtaA__53bib",loading:"columns_loading__gtBay__53bib",options:"columns_options__WvDZD__53bib"};var h=n(57469),y=n.n(h),g=n(64671),_=n(80940),b=n(70579);const f=e=>{let{className:t,list:n=[],width:i}=e;return(0,b.jsx)("div",{className:l()(t,r["options-column"]),style:{"--max-width":i+"px"},children:(0,b.jsx)(_.default,{list:n.filter((e=>!(null!==e&&void 0!==e&&e.hidden))).map((e=>{let{className:t,...n}=e;return Object.assign({},n,{className:l()(t,"btn-no-padding",r["options-btn"]),type:"link"})})),more:(0,b.jsx)(s.Button,{icon:(0,b.jsx)(g.default,{type:"icon-gengduo2"}),className:"btn-no-padding",type:"link"})})})};var x=n(62716),v=n(40438),j=n(48731),C=n(87558);const w=e=>{let{children:t,ellipsis:n}=e;return(0,b.jsx)(s.Typography.Text,{ellipsis:n&&Object.assign({},{tooltip:{overlayClassName:r.tooltip,children:t}}),children:t})},N=e=>{let{type:t,item:n,isEmpty:r,emptyRender:s,hover:o,primary:a,children:c,width:m,style:d,onClick:u,colValue:h}=e;const[y,g]=(0,i.useState)(!1);return(0,b.jsx)("div",{style:Object.assign({},d,{"--max-width":m+"px"}),className:l()(p["col-item"],p[t],r?null:{[p.hover]:o,[p.primary]:a,[p.loading]:y}),onClick:e=>{"function"!==typeof u||r||y||(g(!0),Promise.resolve(u({item:n,colItem:h,event:e})).finally((()=>{g(!1)})))},children:r?s({type:t,item:n,hover:o,primary:a,children:c}):c})};N.defaultProps={emptyRender:()=>"-"};const E=N,S=(e,t)=>"function"===typeof t?t(e):Array.isArray(e)&&0===e.length||e&&"object"===typeof e&&0===Object.values(e).length||""===e||void 0===e||null===e,R=(0,C.createWithFetch)({loading:null})((e=>{let{data:t,children:n}=e;return n(t)})),k=e=>{let{api:t,expand:n,onExpand:r,ellipsis:i,hover:o,primary:l,emptyRender:a,isEmpty:c}=e;const m=Object.assign({},t);return n?(0,b.jsx)(R,{...m,children:e=>(0,b.jsx)(E,{type:"hide-info-expand",item:e,hover:o,primary:l,emptyRender:a,isEmpty:S(e),children:(0,b.jsx)(w,{ellipsis:i,children:"function"===typeof m.children?m.children(e):e})})}):(0,b.jsx)(E,{type:"hide-info",primary:!0,emptyRender:a,children:(0,b.jsx)(s.Button,{className:"btn-no-padding",type:"link",onClick:r,children:"\u67e5\u770b"})})};var O=n(1488),P=n.n(O);const T=(e,t)=>{let{hover:n,primary:r,ellipsis:s,emptyRender:i,isEmpty:o,...l}=t;return(0,b.jsx)(E,{...l,type:"other",item:e,hover:n,primary:r,emptyRender:i,isEmpty:o,children:(0,b.jsx)(w,{ellipsis:s,children:e})})},M={date:{render:(e,t)=>{let{hover:n,primary:r,isEmpty:s,emptyRender:i,...o}=t;return(0,b.jsx)(E,{...o,type:"date",item:e,primary:r,hover:n,emptyRender:i,isEmpty:s||!y()(e).isValid(),children:y()(e).format("YYYY-MM-DD")})},width:160,min:120,max:400},dateShort:{render:(e,t)=>{let{hover:n,primary:r,isEmpty:s,emptyRender:i,...o}=t;return(0,b.jsx)(E,{...o,type:"date-short",item:e,primary:r,hover:n,emptyRender:i,isEmpty:s||!y()(e).isValid(),children:y()(e).format("YYYY-MM")})},width:120,min:100,max:400},dateRange:{render:(e,t)=>{let{hover:n,primary:r,isEmpty:s,emptyRender:i,...o}=t;return(0,b.jsx)(E,{...o,type:"date-range",item:e,primary:r,hover:n,emptyRender:i,isEmpty:s,children:y()(null===e||void 0===e?void 0:e[0]).format("YYYY-MM-DD HH:mm")+"-"+y()(null===e||void 0===e?void 0:e[1]).format("HH:mm")})},width:240,min:120,max:400},datetime:{render:(e,t)=>{let{hover:n,primary:r,emptyRender:s,isEmpty:i,hideSecond:o,...l}=t;return(0,b.jsx)(E,{...l,item:e,primary:r,hover:n,emptyRender:s,isEmpty:i||!y()(e).isValid(),children:y()(e).format(o?"YYYY-MM-DD HH:mm":"YYYY-MM-DD HH:mm:ss")})},width:190,min:190,max:400},serialNumber:{render:(e,t)=>{let{hover:n,primary:r,emptyRender:s,isEmpty:i,...o}=t;return(0,b.jsx)(E,{...o,type:"serial-number",item:e,primary:r,hover:n,emptyRender:s,isEmpty:i,children:e})},width:190,min:100,max:400},serialNumberShort:{render:(e,t)=>{let{hover:n,primary:r,emptyRender:s,isEmpty:i,...o}=t;return(0,b.jsx)(E,{...o,type:"serial-number-short",item:e,primary:r,hover:n,emptyRender:s,isEmpty:i,children:e})},width:120,min:100,max:400},user:{render:(e,t)=>{let{hover:n,primary:r,ellipsis:s,emptyRender:i,isEmpty:o,...l}=t;return(0,b.jsx)(E,{...l,type:"user",item:e,primary:r,hover:n,emptyRender:i,isEmpty:o,children:(0,b.jsx)(w,{ellipsis:s,children:e})})},width:200,min:120,max:400},userName:{render:(e,t)=>{let{hover:n,primary:r,ellipsis:s,emptyRender:i,isEmpty:o,...l}=t;return(0,b.jsx)(E,{...l,type:"user-name",item:e,primary:r,hover:n,emptyRender:i,isEmpty:o,children:(0,b.jsx)(w,{ellipsis:s,children:e})})},width:100,min:100,max:400},contacts:{render:(e,t)=>{let{hover:n,primary:r,ellipsis:s,emptyRender:i,isEmpty:o,...l}=t;return(0,b.jsx)(E,{...l,type:"contacts",item:e,primary:r,hover:n,emptyRender:i,isEmpty:o,children:(0,b.jsx)(w,{ellipsis:s,children:e})})},width:240,min:160,max:400},tag:{render:(e,t)=>{let{emptyRender:n,isEmpty:r,...s}=t;return(0,b.jsx)(E,{...s,type:"tag",item:e,emptyRender:n,isEmpty:r,children:e&&(e.isEnum?(0,b.jsx)(j.default,{name:e.name,moduleName:e.moduleName,force:e.force,children:t=>{let{type:n,description:r}=t;return(0,b.jsx)(x.default,{type:n,...Object.assign({},P()(e,["name","isEnum","moduleName","force"])),text:r})}}):(0,b.jsx)(x.default,{...Object.assign({},e)}))})},width:140,min:100,max:400},avatar:{render:(e,t)=>{let{emptyRender:n,isEmpty:r,...s}=t;return(0,b.jsx)(E,{...s,type:"avatar",item:e,emptyRender:n,isEmpty:r,children:(0,b.jsx)(v.default.Avatar,{...Object.assign({},e),size:32})})},width:80,min:64,max:200},singleRow:{render:(e,t)=>{let{hover:n,primary:r,ellipsis:s,emptyRender:i,isEmpty:o,...l}=t;return(0,b.jsx)(E,{...l,type:"single-row",item:e,hover:n,primary:r,emptyRender:i,isEmpty:o,children:(0,b.jsx)(w,{ellipsis:s,children:e})})},width:70,min:70,max:400},hideInfo:{render:(e,t)=>(0,b.jsx)(k,{api:e,...t}),width:120,min:80,max:400},mainInfo:{render:(e,t)=>{let{ellipsis:n,hover:r=!0,primary:s=!0,emptyRender:i,isEmpty:o,...l}=t;return(0,b.jsx)(E,{...l,type:"main-info",item:e,hover:r,primary:s,emptyRender:i,isEmpty:o,children:(0,b.jsx)(w,{ellipsis:n,children:e})})},width:300,min:160,max:500},description:{render:(e,t)=>{let{hover:n,primary:r,ellipsis:s,emptyRender:i,isEmpty:o,...l}=t;return(0,b.jsx)(E,{...l,type:"description",item:e,hover:n,primary:r,emptyRender:i,isEmpty:o,children:(0,b.jsx)(w,{ellipsis:s,children:e})})},width:400,min:160,max:600},options:{render:(e,t)=>{let{width:n}=t;return(0,b.jsx)(f,{className:l()(p["col-item"],p.options),list:e,width:n})},width:180,min:120,max:400},sensitiveInfo:{render:(e,t)=>{let{hover:n,primary:r,ellipsis:s,emptyRender:i,isEmpty:o,...l}=t;return(0,b.jsx)(E,{...l,type:"sensitiveInfo",item:e,hover:n,primary:r,emptyRender:i,isEmpty:o,children:(0,b.jsx)(w,{ellipsis:s,children:e})})},width:200,min:100,max:400},other:{render:T,width:200,min:120,max:400},otherSmall:{render:T,width:100,min:70,max:400},otherLarge:{render:T,width:300,min:120,max:500}},z=M;var A=n(33097),I=n.n(A),F=n(42907),D=n.n(F),B=n(22717),L=n.n(B),Y=n(22616),$=n.n(Y),W=n(63908),H=n(39835),K=n.n(H),J=n(81014),q=n(36),G=n(76441),U=n(69613),V=n.n(U),Q=n(56434),Z=n.n(Q);const{Panel:X}=s.Collapse,ee=e=>{let{close:t,onConfirm:n,columns:o,config:a}=e;const[c,m]=(0,i.useState)(a||{}),[d,u]=(0,i.useState)(""),{leftFixedColumns:p,rightFixedColumns:h,visibleColumns:y,hiddenColumns:_}=(0,i.useMemo)((()=>L()(Object.assign({leftFixedColumns:[],rightFixedColumns:[],visibleColumns:[],hiddenColumns:[]},K()(o,(e=>"right"===e.fixed?"rightFixedColumns":!0===e.fixed||"left"===e.fixed?"leftFixedColumns":!0!==I()(c,`${e.name}.visible`)&&e.hidden||!1===I()(c,`${e.name}.visible`)?"hiddenColumns":"visibleColumns"))),((e,t,n)=>{e[n]=t.sort(((e,t)=>I()(c,`${e.name}.rank`,0)-I()(c,`${t.name}.rank`,0)))}),{})),[o,c]),f=e=>(0,b.jsxs)(b.Fragment,{children:[e.titleText||e.title||"\u672a\u547d\u540d\u5217",e.groupHeader&&e.groupHeader.length>0?`(${e.groupHeader.map((e=>{let{title:t}=e;return t})).join("-")})`:""]});return(0,b.jsxs)("div",{className:r["columns-control-content"],children:[(0,b.jsx)("div",{className:r["columns-control-content-title"],children:(0,b.jsxs)(s.Row,{align:"middle",justify:"space-between",children:[(0,b.jsx)(s.Col,{children:"\u7f16\u8f91\u8868\u683c"}),(0,b.jsx)(s.Col,{children:(0,b.jsx)(s.Tooltip,{title:"\u6062\u590d\u9ed8\u8ba4",children:(0,b.jsx)(J.default,{type:"text",icon:(0,b.jsx)(g.default,{type:"icon-huifumorenshezhi"}),onClick:async()=>{n&&await n({}),t()}})})})]})}),(0,b.jsx)("div",{className:r["columns-control-content-scroller"],children:(0,b.jsxs)(s.Collapse,{defaultActiveKey:["active","un-active"],ghost:!0,bordered:!0,children:[(0,b.jsx)(X,{header:"\u663e\u793a\u7684\u4fe1\u606f",children:(0,b.jsxs)(s.List,{className:r["columns-control-content-list"],children:[p.map(((e,t)=>(0,b.jsx)(s.List.Item,{className:r["columns-control-content-item"],children:(0,b.jsx)(s.Checkbox,{checked:!0,disabled:!0,children:f(e)})},e.name||`left-${t}`))),(0,b.jsx)(G.ReactSortable,{list:y,filter:".ignore-elements",dragClass:r["sortable-drag"],ghostClass:r["sortable-ghost"],forceFallback:!0,setList:e=>{(e=>{const t=Z()(c),n=[].concat(e.leftFixedColumns,e.visibleColumns,e.rightFixedColumns);(e.hiddenColumns||[]).forEach((e=>{V()(t,`${e.name}.visible`,!1)})),n.forEach(((e,n)=>{V()(t,`${e.name}.rank`,n+1)})),m(t)})({leftFixedColumns:p,visibleColumns:e,hiddenColumns:_,rightFixedColumns:h})},animation:300,delayOnTouchStart:!0,delay:2,children:y.map(((e,t)=>(0,b.jsxs)(s.List.Item,{className:l()(r["columns-control-content-item"],r["is-drag"]),children:[(0,b.jsx)(g.default,{type:"icon-paixu",className:r["columns-control-content-item-icon"]}),(0,b.jsx)(s.Checkbox,{checked:!0,disabled:e.fixed||p.length+y.length+h.length<=1,onChange:t=>{t.stopPropagation(),t.preventDefault();const n=Object.assign({},c);n[e.name]=Object.assign({},n[e.name],{visible:!1}),m(n)},children:f(e)})]},e.name||`visible-${t}`)))}),h.map(((e,t)=>(0,b.jsx)(s.List.Item,{className:r["columns-control-content-item"],children:(0,b.jsx)(s.Checkbox,{checked:!0,disabled:!0,children:e.titleText||e.title||"\u672a\u547d\u540d\u5217"})},e.name||`right-${t}`)))]})},"active"),(0,b.jsx)(X,{header:(0,b.jsxs)(s.Row,{wrap:!1,justify:"space-between",children:[(0,b.jsx)(s.Col,{children:"\u9690\u85cf\u7684\u4fe1\u606f"}),(0,b.jsx)(s.Col,{onClick:e=>{e.stopPropagation(),e.preventDefault()},children:(0,b.jsx)(q.SearchInput,{prefix:(0,b.jsx)(g.default,{type:"icon-sousuo",size:12}),placeholder:"\u641c\u7d22",onSearch:e=>{u(e)},className:r["columns-control-content-input"],size:"small"})})]}),children:(0,b.jsx)(s.List,{dataSource:_.filter((e=>"string"===typeof(e.titleText||e.title)&&(e.titleText||e.title).indexOf(d)>-1)),renderItem:e=>(0,b.jsx)(s.List.Item,{className:r["columns-control-content-item"],children:(0,b.jsx)(s.Checkbox,{checked:!1,onChange:t=>{t.stopPropagation(),t.preventDefault();const n=Object.assign({},c);n[e.name]=Object.assign({},n[e.name],{visible:!0}),m(n)},children:e.titleText||e.title||"\u672a\u547d\u540d\u5217"})},e.key)})},"un-active")]})}),(0,b.jsxs)(s.Row,{className:r["columns-control-content-footer"],justify:"end",gutter:10,children:[(0,b.jsx)(s.Col,{children:(0,b.jsx)(s.Button,{size:"small",onClick:()=>{m(a||{}),t()},children:"\u53d6\u6d88"})}),(0,b.jsx)(s.Col,{children:(0,b.jsx)(J.default,{type:"primary",size:"small",onClick:async()=>{n&&await n(c),t()},children:"\u786e\u5b9a"})})]})]})};var te=n(51941),ne=n(19853),re=n.n(ne),se=n(21844),ie=n.n(se),oe=n(25644);const le="COMPONENTS_CORE_TABLE_CONFIG",ae={getDataApi:e=>e?{loader:()=>I()(oe.A.getItem(le),e,{})}:{},setDataFunc:(e,t)=>{if(e)return oe.A.setItem(le,Object.assign({},oe.A.getItem(le),{[e]:t}))}},ce=e=>{let{title:t,columns:n,config:o,setConfig:l}=e;const[a,c]=(0,i.useState)(!1);return(0,b.jsxs)(s.Row,{wrap:!1,children:[(0,b.jsx)(s.Col,{flex:1,children:t}),(0,b.jsx)(s.Col,{children:(0,b.jsx)(s.Popover,{open:a,onOpenChange:c,trigger:"click",placement:"bottomLeft",overlayClassName:r["columns-control-overlay"],content:(0,b.jsx)(ee,{columns:n,config:o,close:()=>{c(!1)},onConfirm:e=>{l((t=>L()(e,((e,n,r)=>{e[r]=Object.assign({},t[r],$()(n,["visible","rank"]))}),{})))}}),children:(0,b.jsx)("span",{className:r["table-changer-setting"],children:(0,b.jsx)(g.default,{type:"icon-shezhi"})})})})]})},me=e=>{let{columns:t,name:n,controllerOpen:s,tableWidth:o,rowKey:a}=e;const[c,m]=(0,i.useState)(null),d=(0,i.useRef)(c);d.current=c;const p=(0,i.useRef)(null),h=(0,i.useRef)(null),[y,_]=(0,i.useState)({}),{tableServerApis:f}=(0,W.usePreset)(),x=f||ae,v=null===x||void 0===x?void 0:x.getDataApi(n),j=(0,te.useDebouncedCallback)(((e,t)=>{null===x||void 0===x||x.setDataFunc(e,t)}),500),w=u()((e=>{(0,i.startTransition)((()=>{_((t=>{const r="function"===typeof e?e(t):e;return n&&s&&j(n,r),r}))}))})),{send:N}=(0,C.useFetch)(Object.assign({...Object.assign({},v),auto:!1,cache:`TABLE_CONFIG_${n}`,isLocal:!0,onRequestSuccess:e=>{_(Object.assign({},e))}})),E=u()((()=>{n&&s&&v&&N({force:!1})}));(0,i.useEffect)((()=>{E()}),[E]);const S=(0,i.useMemo)((()=>t.filter((e=>!(!1===I()(y,`${e.name}.visible`)||!0!==I()(y,`${e.name}.visible`)&&!0===e.hidden))).sort(((e,t)=>{const n=e=>I()(y,`${e.name}.rank`,0)+("left"===e.fixed?-1e4:0)+("right"===e.fixed?1e4:0);return n(e)-n(t)}))),[t,y]),R=(0,i.useMemo)((()=>ie()(S,(e=>{let{type:t}=e;return"options"!==t}))),[S]),k=(0,i.useMemo)((()=>D()(S,(e=>{let{type:t,name:n}=e;return I()(y,`${n}.width`)||z[t].width}))),[S,y]),O=e=>{let{width:t,index:n}=e;return R===n?t+Math.max(o-k-2,0):t},P=u()(((e,t)=>(0,b.jsx)("span",{className:l()(r["cell-resize-bar"]),onMouseDown:n=>{p.current=Object.assign({},e,{index:t}),h.current=n.clientX,m(t)},children:(0,b.jsx)(g.default,{type:"icon-paixu"})}))),T=u()((e=>{if(null===c)return;if(!p.current)return;const{name:t,width:n,min:r,max:s,index:i}=p.current,o=Math.min(Math.max(n+e,r),s);o<O({width:r,index:i})||w((e=>Object.assign({},e,{[t]:Object.assign({},e[t],{width:o})})))})),M=u()(((e,n)=>{const{name:s,width:i,min:o,max:c}=e;let m=e;n===S.length-1&&(m=Object.assign({},e,{className:"has-config-btn",title:(0,b.jsx)(ce,{title:null===e||void 0===e?void 0:e.title,columns:t,config:y,setConfig:w})}));const u=()=>({className:l()({[r["is-moving"]]:d.current===n})}),p=Math.min(Math.max(I()(y,`${s}.width`)||i,o),c),h=O({width:p,index:n});return Object.assign({},m,{onHeaderCell:u,onCell:u,width:h,shouldCellUpdate:(t,r)=>{const s="function"===typeof a?a(t):t[a],i="function"===typeof a?a(r):r[a];return null===d.current||d.current===n||"hideInfo"===e.type||!(s===i&&re()(t[e.name],r[e.name]))},title:(0,b.jsxs)(b.Fragment,{children:[m.title,!(h>p&&h>c)&&P(Object.assign({},m,{width:h}),n)]})})}));return(0,i.useEffect)((()=>{const e=()=>{m(null),h.current=null,p.current=null},t=e=>{null!==d.current&&null!==p.current&&(null!==h.current?T(e.clientX-h.current):h.current=e.clientX)};return document.documentElement.addEventListener("mouseup",e,!0),document.documentElement.addEventListener("mousemove",t,!0),()=>{document.documentElement.removeEventListener("mouseup",e,!0),document.documentElement.removeEventListener("mousemove",t,!0)}}),[T]),{visibleColumns:S,currentMoveColumnIndex:c,resizeBarRender:P,columnsConfig:y,totalWidth:k,computedColumnProps:M}};var de=n(79686),ue=n.n(de);const pe=e=>{let{rowKey:t,renderProps:n}=e;const[r,s]=(0,i.useState)(null),o=(0,i.useRef)(n);o.current=n;const l=u()(((e,n,i)=>{let{columnsConfig:l}=i;const{name:a,type:c,expandType:m,title:d,titleRender:u,fixed:p,emptyOf:h,emptyRender:y,groupHeader:g,sort:_,disableColItem:b,...f}=e,{render:x,width:v,min:j,max:C}=Object.assign({},z[c||"other"],"hideInfo"===c&&!ue()(r)&&$()(z[m||"other"],["width","min","max"])),w=x;return{name:a,title:"function"===typeof u?u(d):d,min:j,max:C,width:v,fixed:p,groupHeader:g,sort:_,type:c,render:n=>{const i="function"===typeof t?t(n):n[t],c=Object.assign({},e,"function"===typeof e.render?e.render({...o.current,name:a,target:n}):{}),m=e=>{const t=S(e,h);return w(e,{...f,name:a,width:I()(l,`${a}.width`)||v,min:j,max:C,isEmpty:t,emptyRender:y,hover:c.hover,colValue:Object.assign({},n),renderProps:o.current,primary:c.primary,ellipsis:c.ellipsis,expand:r===i,onExpand:()=>s(i)})},d=c.hasOwnProperty("valueOf")&&"function"===typeof c.valueOf?c.valueOf(n,Object.assign({},o.current,{name:a},b?{targetRender:m}:{})):I()(n,a);return b?d:m(d)}}}));return{expandInfo:r,computedColumnProps:l}},he=e=>(0,i.useMemo)((()=>{const t=e.filter((e=>e.groupHeader&&e.groupHeader.length>0));if(t.length>0){const n=e.slice(0),r=[],s=e=>{const{groupHeader:t}=e;if(!(t&&t.length>0))return;const s=n.indexOf(e),i=(t,n)=>{const[r,...o]=t;let l=n.find((e=>e.name===r.name));l||(l=Object.assign({startIndex:s},r,{children:[]}),n.push(l)),o.length>0?i(o,l.children):l.children.push(e)};i(t,r),n.splice(s,1)};return t.forEach(s),r.forEach(((e,t)=>{n.splice(e.startIndex+t,0,e)})),{columns:n,hasGroupHeader:!0}}return{columns:e,hasGroupHeader:!1}}),[e]);var ye=n(10986),ge=n.n(ye),_e=n(41740),be=n.n(_e);const fe=e=>new Map((e||[]).map((e=>{let{name:t,sort:n}=e;return[t,n]}))),xe=e=>{const[t,n]=ge()(e,{value:"sort",defaultValue:"defaultSort",onChange:"onSortChange"}),s=(0,i.useMemo)((()=>fe(t)),[t]),o=(0,i.useCallback)((e=>n((t=>{const n=e(fe(t));return Array.from(n).map((e=>{let[t,n]=e;return{name:t,sort:n}}))}))),[n]);return(0,i.useCallback)((e=>{let{single:t,name:n}=e;return(0,b.jsxs)("div",{className:l()(r["sort-btn"],{[r["sort-active-desc"]]:"DESC"===s.get(n),[r["sort-active-asc"]]:"ASC"===s.get(n)}),onClick:()=>{o((e=>{const r=e.get(n),s="DESC"===r?"ASC":"ASC"===r?null:"DESC";if(t)return new Map(s?[[n,s]]:[]);const i=be()(e);return s?i.set(n,s):i.delete(n),i}))},children:[(0,b.jsx)(g.default,{type:"icon-triangle-up",className:r["sort-icon"]}),(0,b.jsx)(g.default,{type:"icon-triangle-down",className:r["sort-icon"]})]})}),[s,o])},ve=e=>{let{columns:t,className:n,getScrollEl:o,sticky:c,stickyOffset:d,pagination:p,columnRenderProps:h,rowKey:y,dataSource:g,controllerOpen:_,name:f,summary:x,scroll:v,onTablePropsReady:j,...C}=e;const[w,N]=(0,i.useState)(0),[E,S]=(0,i.useState)(!0);(0,i.useEffect)((()=>{w&&setTimeout((()=>{S(!1)}),0)}),[w]);(0,i.useRef)(h).current=h;const R=(0,m.A)((e=>{N(e.clientWidth)}),{isDebounce:!0}),{expandInfo:k,computedColumnProps:O}=pe({rowKey:y,renderProps:h}),{columnsConfig:P,visibleColumns:T,computedColumnProps:M,currentMoveColumnIndex:z,totalWidth:A}=me({columns:t,controllerOpen:_,name:f,computedColumnProps:O,tableWidth:w,rowKey:y}),I=xe(C),F=(0,i.useMemo)((()=>T.map(((e,t)=>{let n=O(e,t,{rowKey:y,expandInfo:k,columnsConfig:P});return n.sort&&"options"!==e.type&&(n=Object.assign({},n,{title:(0,b.jsxs)(b.Fragment,{children:[n.title,I({name:e.name,single:"object"!==typeof n.sort||n.sort.single})]})})),_&&(n=M(n,t,{tableWidth:w,columnsConfig:P})),n}))),[T,w,P,k,y,_,O,M,I]),{columns:D,hasGroupHeader:B}=he(F),L=u()(j);return(0,i.useEffect)((()=>{L&&L({columns:t,groupColumns:D,dataSource:g,visibleColumns:T})}),[L,D,g,t,T]),(0,b.jsx)("div",{className:l()(n,r.table,{[r["is-resize"]]:null!==z,[r["is-computed"]]:E,[r["has-group-header"]]:B}),ref:R,style:{"--sticky-offset":d},children:!E&&(0,b.jsx)(a.A,{className:"table-page-scroller",scroller:{getContainer:o},getScrollTarget:e=>e.querySelector(".ant-table-body")||e.querySelector(".ant-table-content"),children:(0,b.jsx)(s.Table,{...C,sticky:!!c&&{getContainer:o},dataSource:g,rowKey:y,columns:D,scroll:Object.assign({},{x:Math.max(w,A)},v),pagination:p,summary:"function"===typeof x?function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return x(Object.assign({},{pageData:e},{columns:D}),...n)}:null})})})};ve.defaultProps={controllerOpen:!0,rowKey:"id",getScrollEl:c.h,columnRenderProps:{},sticky:!1,stickyOffset:"var(--nav-height)",pagination:!1};const je=ve;var Ce=n(63361);const we=e=>({"en-US":()=>n.e(399).then(n.bind(n,80399)),"zh-CN":()=>n.e(9809).then(n.bind(n,59809))}[e]());var Ne=n(58609);const Ee=e=>{let{id:t,columns:n,children:r}=e;return t?(0,b.jsx)(Ce.default,{id:t,children:e=>{let{options:t}=e;return r({columns:n.filter((e=>!e.name||(!Array.isArray(I()(t,"hiddenColumns"))||-1===t.hiddenColumns.indexOf(e.name))))})}}):r({columns:n})},Se=(0,C.withFetch)((e=>{let{data:t,refresh:n,reload:s,requestParams:o,fetchProps:a,isComplete:m,setData:d,loadMore:p,send:h,dataFormat:y,className:g,featureId:_,columns:f,getColumns:x,pagination:v,columnRenderProps:j,summary:C,...w}=e;const N=u()(y),E=(0,i.useMemo)((()=>N(t)),[t,N]),S={dataSource:E.list,pagination:!!v.open&&{total:E.total,showTotal:e=>(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(Ne.FormattedMessage,{id:"Page_Total",moduleName:"Table",defaultMessage:"\u5171"}),(0,b.jsx)("span",{className:r.total_text,children:e}),(0,b.jsx)(Ne.FormattedMessage,{id:"Page_TotalCount",moduleName:"Table",defaultMessage:"\u6761"})]}),current:I()(o,[v.paramsType,v.currentName],1),pageSize:v.pageSize,onChange:v.onChange?v.onChange:(e,t)=>{e!==I()(o,[v.paramsType,v.currentName],1)?("refresh"===v.requestType?n:s)({[v.paramsType]:{[v.currentName]:e,[v.pageSizeName]:t}}):v.onShowSizeChange&&v.onShowSizeChange(e,t),(0,c.h)().scrollTop=0},size:v.size,showSizeChanger:v.showSizeChanger,showQuickJumper:v.showQuickJumper,pageSizeOptions:v.pageSizeOptions}};return(0,b.jsx)(Ne.IntlProvider,{importMessages:we,moduleName:"Table",children:(0,b.jsx)(Ee,{id:_,columns:f,children:e=>{let{columns:r}=e;return(0,b.jsx)(je,{...Object.assign({},w,S),className:l()(g,"loading-container",{"is-loading":!m}),columns:r,columnRenderProps:{...j,requestParams:o,fetchProps:a,data:t},summary:"function"===typeof C?function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return C(Object.assign({},{data:t,fetchProps:a,requestParams:o,refresh:n,reload:s,loadMore:p,send:h,dataFormat:y,pagination:v},...r))}:null})}})})}));Se.defaultProps={pagination:{},columnRenderProps:{},sticky:!0,dataFormat:e=>({list:e.pageData,total:e.totalCount})};const Re=(0,i.forwardRef)(((e,t)=>{let{pagination:n,...r}=e;n=Object.assign({},{showSizeChanger:!0,showQuickJumper:!0,open:!0,paramsType:"data",requestType:"reload",currentName:"currentPage",pageSizeName:"perPage",pageSize:20},n);const s=`${(r.name||"common").toUpperCase()}_TABLE_PAGE_SIZE`,[o,l]=(0,i.useState)(oe.A.getItem(s)||n.pageSize),a=r[n.paramsType],c=(0,i.useMemo)((()=>({[n.paramsType]:Object.assign({},a,{[n.pageSizeName]:o})})),[a,n.pageSizeName,n.paramsType,o]);return(0,b.jsx)(Se,{...r,...c,pagination:Object.assign({},n,{pageSize:o,onShowSizeChange:(e,t)=>{oe.A.setItem(s,t),l(t)}}),ref:t})}))}}]);
2
- //# sourceMappingURL=2814.c5398251.chunk.js.map
@@ -1,3 +0,0 @@
1
- /*! For license information please see 330.430e56ec.chunk.js.LICENSE.txt */
2
- (self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[330],{77964:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(73884),o=r(79889),i=r.n(o),a=r(93950),u=r.n(a),s=r(96418),c=r.n(s);const f=(e,t)=>{const r=(0,n.useRef)(null);r.current=Object.assign({},{time:500,isDebounce:!1},t);const o=(0,n.useRef)(null),a=c()(e);return(0,n.useLayoutEffect)((()=>{const e=o.current,t=()=>window.requestAnimationFrame((()=>{e&&a(e)}));t();const n=new ResizeObserver((r.current.isDebounce?u():i())(t,r.current.time));return e&&n.observe(e),()=>{n.disconnect()}}),[a]),o}},330:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b,useFlexBox:()=>h});var n=r(77964),o=r(74065),i=r.n(o),a=r(73884),u=r(55199),s=r(87558),c=r.n(s),f=r(19853),l=r.n(f),p=r(83136),v=r.n(p),d=r(70579);const m=[{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}],h=e=>{const{columns:t,onChange:r}=Object.assign({},{columns:m},e),[o,u]=(0,a.useState)(null),s=(0,a.useRef)(null),c=(0,n.A)((e=>{const n=e.clientWidth,o=t.find(((e,t)=>e.width>=n))||i()(t);l()(o,s.current)||(u(o),s.current&&r&&r(o),s.current=o)}));return{ref:c,column:o}},_=e=>{let{columns:t,outerClassName:r,gutter:n,...o}=e;const{ref:i,column:a}=h({columns:t});return(0,d.jsx)("div",{ref:i,className:r,children:a&&(0,d.jsx)(u.List,{...o,grid:{gutter:n,column:a.col}})})};_.defaultProps={gutter:16,columns:m},_.Item=u.List.Item;const g=(0,a.forwardRef)(((e,t)=>{let{columns:r,api:n,getFetchApi:o,outerClassName:i,className:a,gutter:s,dataFormat:f,...l}=e;const{ref:p,column:m}=h({columns:r});return(0,d.jsx)("div",{ref:p,className:i,children:m&&(0,d.jsx)(c(),{...n||o(m),ref:t,render:e=>{let{data:t,isComplete:r}=e;return(0,d.jsx)(u.List,{...l,className:v()(a,"loading-container",{"is-loading":!r}),dataSource:f(t),grid:{gutter:s,column:m.col}})}})})}));g.defaultProps={gutter:16,columns:m,dataFormat:e=>e.pageData},_.Fetch=g;const b=_},18902:(e,t,r)=>{var n=r(64816),o=r(86179),i=r(46704);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},52587:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},26989:(e,t,r)=>{var n=r(16399),o=r(22761);e.exports=function e(t,r,i,a,u){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!==t&&r!==r:n(t,r,i,a,e,u))}},16399:(e,t,r)=>{var n=r(5538),o=r(43668),i=r(69987),a=r(45752),u=r(26924),s=r(54052),c=r(44543),f=r(51268),l="[object Arguments]",p="[object Array]",v="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,m,h,_){var g=s(e),b=s(t),y=g?p:u(e),x=b?p:u(t),w=(y=y==l?v:y)==v,j=(x=x==l?v:x)==v,O=y==x;if(O&&c(e)){if(!c(t))return!1;g=!0,w=!1}if(O&&!w)return _||(_=new n),g||f(e)?o(e,t,r,m,h,_):i(e,t,y,r,m,h,_);if(!(1&r)){var E=w&&d.call(e,"__wrapped__"),k=j&&d.call(t,"__wrapped__");if(E||k){var N=E?e.value():e,A=k?t.value():t;return _||(_=new n),h(N,A,r,m,_)}}return!!O&&(_||(_=new n),a(e,t,r,m,h,_))}},61141:(e,t,r)=>{var n=r(10143),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},58114:e=>{e.exports=function(e,t){return e.has(t)}},43668:(e,t,r)=>{var n=r(18902),o=r(52587),i=r(58114);e.exports=function(e,t,r,a,u,s){var c=1&r,f=e.length,l=t.length;if(f!=l&&!(c&&l>f))return!1;var p=s.get(e),v=s.get(t);if(p&&v)return p==t&&v==e;var d=-1,m=!0,h=2&r?new n:void 0;for(s.set(e,t),s.set(t,e);++d<f;){var _=e[d],g=t[d];if(a)var b=c?a(g,_,d,t,e,s):a(_,g,d,e,t,s);if(void 0!==b){if(b)continue;m=!1;break}if(h){if(!o(t,(function(e,t){if(!i(h,t)&&(_===e||u(_,e,r,a,s)))return h.push(t)}))){m=!1;break}}else if(_!==g&&!u(_,g,r,a,s)){m=!1;break}}return s.delete(e),s.delete(t),m}},69987:(e,t,r)=>{var n=r(9812),o=r(22929),i=r(93211),a=r(43668),u=r(54160),s=r(52074),c=n?n.prototype:void 0,f=c?c.valueOf:void 0;e.exports=function(e,t,r,n,c,l,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!l(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var v=u;case"[object Set]":var d=1&n;if(v||(v=s),e.size!=t.size&&!d)return!1;var m=p.get(e);if(m)return m==t;n|=2,p.set(e,t);var h=a(v(e),v(t),n,c,l,p);return p.delete(e),h;case"[object Symbol]":if(f)return f.call(e)==f.call(t)}return!1}},45752:(e,t,r)=>{var n=r(59395),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,a,u){var s=1&r,c=n(e),f=c.length;if(f!=n(t).length&&!s)return!1;for(var l=f;l--;){var p=c[l];if(!(s?p in t:o.call(t,p)))return!1}var v=u.get(e),d=u.get(t);if(v&&d)return v==t&&d==e;var m=!0;u.set(e,t),u.set(t,e);for(var h=s;++l<f;){var _=e[p=c[l]],g=t[p];if(i)var b=s?i(g,_,p,t,e,u):i(_,g,p,e,t,u);if(!(void 0===b?_===g||a(_,g,r,i,u):b)){m=!1;break}h||(h="constructor"==p)}if(m&&!h){var y=e.constructor,x=t.constructor;y==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof x&&x instanceof x||(m=!1)}return u.delete(e),u.delete(t),m}},54160:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},86179:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},46704:e=>{e.exports=function(e){return this.__data__.has(e)}},52074:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},10143:e=>{var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},93950:(e,t,r)=>{var n=r(46686),o=r(4757),i=r(40801),a=Math.max,u=Math.min;e.exports=function(e,t,r){var s,c,f,l,p,v,d=0,m=!1,h=!1,_=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var r=s,n=c;return s=c=void 0,d=t,l=e.apply(n,r)}function b(e){var r=e-v;return void 0===v||r>=t||r<0||h&&e-d>=f}function y(){var e=o();if(b(e))return x(e);p=setTimeout(y,function(e){var r=t-(e-v);return h?u(r,f-(e-d)):r}(e))}function x(e){return p=void 0,_&&s?g(e):(s=c=void 0,l)}function w(){var e=o(),r=b(e);if(s=arguments,c=this,v=e,r){if(void 0===p)return function(e){return d=e,p=setTimeout(y,t),m?g(e):l}(v);if(h)return clearTimeout(p),p=setTimeout(y,t),g(v)}return void 0===p&&(p=setTimeout(y,t)),l}return t=i(t)||0,n(r)&&(m=!!r.leading,f=(h="maxWait"in r)?a(i(r.maxWait)||0,t):f,_="trailing"in r?!!r.trailing:_),w.cancel=function(){void 0!==p&&clearTimeout(p),d=0,s=v=c=p=void 0},w.flush=function(){return void 0===p?l:x(o())},w}},19853:(e,t,r)=>{var n=r(26989);e.exports=function(e,t){return n(e,t)}},74065:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},4757:(e,t,r)=>{var n=r(56552);e.exports=function(){return n.Date.now()}},79889:(e,t,r)=>{var n=r(93950),o=r(46686);e.exports=function(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}},40801:(e,t,r)=>{var n=r(61141),o=r(46686),i=r(19841),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=u.test(e);return r||s.test(e)?c(e.slice(2),r?2:8):a.test(e)?NaN:+e}},51153:(e,t,r)=>{"use strict";var n=r(73884),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,u=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},c=null,f=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(f=t.ref),t)a.call(t,n)&&!s.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:f,props:i,_owner:u.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},70579:(e,t,r)=>{"use strict";e.exports=r(51153)}}]);
3
- //# sourceMappingURL=330.430e56ec.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/330.430e56ec.chunk.js","mappings":";8OAKA,MA+BA,EA/BkBA,CAACC,EAAUC,KAC3B,MAAMC,GAAaC,EAAAA,EAAAA,QAAO,MAC1BD,EAAWE,QAAUC,OAAOC,OAC1B,CAAC,EACD,CAAEC,KAAM,IAAKC,YAAY,GACzBP,GAEF,MAAMQ,GAAMN,EAAAA,E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I,iBAAiBC,EAAElF,OAAOiF,IAAI,kBAAkBE,EAAE1N,OAAOuE,UAAU0B,eAAe0H,EAAEL,EAAEM,mDAAmDC,kBAAkBC,EAAE,CAACxG,KAAI,EAAGlH,KAAI,EAAG2N,QAAO,EAAGC,UAAS,GAChP,SAASC,EAAEC,EAAEC,EAAEC,GAAG,IAAIC,EAAEC,EAAE,CAAC,EAAEC,EAAE,KAAKC,EAAE,KAAiF,IAAIH,UAAhF,IAASD,IAAIG,EAAE,GAAGH,QAAG,IAASD,EAAE7G,MAAMiH,EAAE,GAAGJ,EAAE7G,UAAK,IAAS6G,EAAE/N,MAAMoO,EAAEL,EAAE/N,KAAc+N,EAAET,EAAE9G,KAAKuH,EAAEE,KAAKP,EAAE7H,eAAeoI,KAAKC,EAAED,GAAGF,EAAEE,IAAI,GAAGH,GAAGA,EAAErL,aAAa,IAAIwL,KAAKF,EAAED,EAAErL,kBAAe,IAASyL,EAAED,KAAKC,EAAED,GAAGF,EAAEE,IAAI,MAAM,CAACI,SAASlB,EAAEmB,KAAKR,EAAE5G,IAAIiH,EAAEnO,IAAIoO,EAAEjN,MAAM+M,EAAEK,OAAOhB,EAAE5N,QAAQ,CAAC4E,EAAQiK,SAASnB,EAAE9I,EAAQkK,IAAIZ,EAAEtJ,EAAQmK,KAAKb,gCCPxWvJ,EAAOC,QAAU,EAAjBD","sources":["common/hooks/useResize.js","components/FlexBox/index.js","../node_modules/lodash/_SetCache.js","../node_modules/lodash/_arraySome.js","../node_modules/lodash/_baseIsEqual.js","../node_modules/lodash/_baseIsEqualDeep.js","../node_modules/lodash/_baseTrim.js","../node_modules/lodash/_cacheHas.js","../node_modules/lodash/_equalArrays.js","../node_modules/lodash/_equalByTag.js","../node_modules/lodash/_equalObjects.js","../node_modules/lodash/_mapToArray.js","../node_modules/lodash/_setCacheAdd.js","../node_modules/lodash/_setCacheHas.js","../node_modules/lodash/_setToArray.js","../node_modules/lodash/_trimmedEndIndex.js","../node_modules/lodash/debounce.js","../node_modules/lodash/isEqual.js","../node_modules/lodash/last.js","../node_modules/lodash/now.js","../node_modules/lodash/throttle.js","../node_modules/lodash/toNumber.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/react/jsx-runtime.js"],"sourcesContent":["import { useLayoutEffect, useRef } from \"react\";\nimport throttle from \"lodash/throttle\";\nimport debounce from \"lodash/debounce\";\nimport useRefCallback from \"@kne/use-ref-callback\";\n\nconst useResize = (callback, options) => {\n const optionsRef = useRef(null);\n optionsRef.current = Object.assign(\n {},\n { time: 500, isDebounce: false },\n options\n );\n const ref = useRef(null);\n const callbackHandler = useRefCallback(callback);\n useLayoutEffect(() => {\n const el = ref.current;\n const computed = () => {\n return window.requestAnimationFrame(() => {\n el && callbackHandler(el);\n });\n };\n computed();\n const resizeObserver = new ResizeObserver(\n (optionsRef.current.isDebounce ? debounce : throttle)(\n computed,\n optionsRef.current.time\n )\n );\n el && resizeObserver.observe(el);\n return () => {\n resizeObserver.disconnect();\n };\n }, [callbackHandler]);\n return ref;\n};\n\nexport default useResize;\n","import useResize from \"@common/hooks/useResize\";\nimport last from \"lodash/last\";\nimport { forwardRef, useRef, useState } from \"react\";\nimport { List } from \"antd\";\nimport Fetch from \"@kne/react-fetch\";\nimport isEqual from \"lodash/isEqual\";\nimport classnames from \"classnames\";\n\nconst defaultColumns = [\n {\n width: 786,\n col: 1,\n size: 15,\n },\n {\n width: 960,\n col: 2,\n size: 12,\n },\n {\n width: 1360,\n col: 3,\n size: 12,\n },\n {\n width: 1680,\n col: 4,\n size: 12,\n },\n {\n width: 1920,\n col: 5,\n size: 15,\n },\n];\n\nexport const useFlexBox = (props) => {\n const { columns, onChange } = Object.assign(\n {},\n { columns: defaultColumns },\n props\n );\n const [column, setColumn] = useState(null);\n const columnRef = useRef(null);\n const ref = useResize((el) => {\n const width = el.clientWidth;\n const column =\n columns.find((item, index) => {\n return item.width >= width;\n }) || last(columns);\n if (!isEqual(column, columnRef.current)) {\n setColumn(column);\n columnRef.current && onChange && onChange(column);\n columnRef.current = column;\n }\n });\n\n return { ref, column };\n};\n\nconst FlexBox = ({ columns, outerClassName, gutter, ...props }) => {\n const { ref, column } = useFlexBox({ columns });\n return (\n <div ref={ref} className={outerClassName}>\n {column && (\n <List\n {...props}\n grid={{\n gutter,\n column: column.col,\n }}\n />\n )}\n </div>\n );\n};\n\nFlexBox.defaultProps = {\n gutter: 16,\n columns: defaultColumns,\n};\n\nFlexBox.Item = List.Item;\n\nconst FlexBoxFetch = forwardRef(\n (\n {\n columns,\n api,\n getFetchApi,\n outerClassName,\n className,\n gutter,\n dataFormat,\n ...props\n },\n forwardRef\n ) => {\n const { ref, column } = useFlexBox({ columns });\n return (\n <div ref={ref} className={outerClassName}>\n {column && (\n <Fetch\n {...(api || getFetchApi(column))}\n ref={forwardRef}\n render={({ data, isComplete }) => {\n return (\n <List\n {...props}\n className={classnames(className, \"loading-container\", {\n \"is-loading\": !isComplete,\n })}\n dataSource={dataFormat(data)}\n grid={{\n gutter,\n column: column.col,\n }}\n />\n );\n }}\n />\n )}\n </div>\n );\n }\n);\n\nFlexBoxFetch.defaultProps = {\n gutter: 16,\n columns: defaultColumns,\n dataFormat: (data) => {\n return data.pageData;\n },\n};\n\nFlexBox.Fetch = FlexBoxFetch;\n\nexport default FlexBox;\n","var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n","/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n","var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n","var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n","var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n","/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n","/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n","/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n","/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","var baseIsEqual = require('./_baseIsEqual');\n\n/**\n * Performs a deep comparison between two values to determine if they are\n * equivalent.\n *\n * **Note:** This method supports comparing arrays, array buffers, booleans,\n * date objects, error objects, maps, numbers, `Object` objects, regexes,\n * sets, strings, symbols, and typed arrays. `Object` objects are compared\n * by their own, not inherited, enumerable properties. Functions and DOM\n * nodes are compared by strict equality, i.e. `===`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.isEqual(object, other);\n * // => true\n *\n * object === other;\n * // => false\n */\nfunction isEqual(value, other) {\n return baseIsEqual(value, other);\n}\n\nmodule.exports = isEqual;\n","/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","/**\n * @license React\n * react-jsx-runtime.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';var f=require(\"react\"),k=Symbol.for(\"react.element\"),l=Symbol.for(\"react.fragment\"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};\nfunction q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=\"\"+g);void 0!==a.key&&(e=\"\"+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return{$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}exports.Fragment=l;exports.jsx=q;exports.jsxs=q;\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n"],"names":["useResize","callback","options","optionsRef","useRef","current","Object","assign","time","isDebounce","ref","callbackHandler","useRefCallback","useLayoutEffect","el","computed","window","requestAnimationFrame","resizeObserver","ResizeObserver","debounce","throttle","observe","disconnect","defaultColumns","width","col","size","useFlexBox","props","columns","onChange","column","setColumn","useState","columnRef","clientWidth","find","item","index","last","isEqual","FlexBox","_ref","outerClassName","gutter","_jsx","className","children","List","grid","defaultProps","Item","FlexBoxFetch","forwardRef","_ref2","api","getFetchApi","dataFormat","Fetch","render","_ref3","data","isComplete","classnames","dataSource","pageData","MapCache","require","setCacheAdd","setCacheHas","SetCache","values","length","this","__data__","add","prototype","push","has","module","exports","array","predicate","baseIsEqualDeep","isObjectLike","baseIsEqual","value","other","bitmask","customizer","stack","Stack","equalArrays","equalByTag","equalObjects","getTag","isArray","isBuffer","isTypedArray","argsTag","arrayTag","objectTag","hasOwnProperty","object","equalFunc","objIsArr","othIsArr","objTag","othTag","objIsObj","othIsObj","isSameTag","objIsWrapped","call","othIsWrapped","objUnwrapped","othUnwrapped","trimmedEndIndex","reTrimStart","string","slice","replace","cache","key","arraySome","cacheHas","isPartial","arrLength","othLength","arrStacked","get","othStacked","result","seen","undefined","set","arrValue","othValue","compared","othIndex","Symbol","Uint8Array","eq","mapToArray","setToArray","symbolProto","symbolValueOf","valueOf","tag","byteLength","byteOffset","buffer","name","message","convert","stacked","getAllKeys","objProps","objLength","objStacked","skipCtor","objValue","objCtor","constructor","othCtor","map","Array","forEach","reWhitespace","test","charAt","isObject","now","toNumber","nativeMax","Math","max","nativeMin","min","func","wait","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","args","thisArg","apply","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","setTimeout","timeWaiting","remainingWait","debounced","isInvoking","arguments","leadingEdge","clearTimeout","cancel","flush","root","Date","baseTrim","isSymbol","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","isBinary","f","k","for","l","m","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","__self","__source","q","c","a","g","b","d","e","h","$$typeof","type","_owner","Fragment","jsx","jsxs"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[36],{18411:(e,t,n)=>{n.d(t,{A:()=>l});n(73884);const l=n.p+"static/media/defaultAvatar.b1f2a8046cc7bee36d9a404ce6a0a1d7.svg"},93761:(e,t,n)=>{n.d(t,{qn:()=>D,TM:()=>G,LH:()=>k,Ay:()=>z,NY:()=>M,DF:()=>E});var l=n(30509),a=n(25438),s=n(55199),r=n(27047),i=n(83136),o=n.n(i),c=n(64671),d=n(73884),u=n(21485),p=n(56434),m=n.n(p),h=n(15797),_=n.n(h),g=n(33097),b=n.n(g);const f="style_address__DIuRX__53bib",x="style_is-popup__tqVvp__53bib",y="style_title__FAe12__53bib",v="style_scroll-box__JWiDl__53bib",C="style_scroll-plus-box__lidEW__53bib",j="style_content__lAARZ__53bib",A="style_col-left__WPfeS__53bib",N="style_col-right__z0e9-__53bib";var S=n(87558),w=n.n(S);const O=e=>({"en-US":()=>n.e(3691).then(n.bind(n,83691)),"zh-CN":()=>n.e(2253).then(n.bind(n,32253))}[e]());var P=n(58609),L=n(70579);const I=l.A.useContext,k=e=>{let{city:t,province:n,country:l}=e;const a=_()((()=>{const e=[];return["gangaotai","municipality"].forEach((n=>{e.push(...t.relations[n])})),["provinces","continents"].forEach((n=>{t.relations[n].forEach((n=>{e.push(n),e.push(...t.relations[n])}))})),e.map((e=>t.list[e]))}));return{getCity:_()((e=>{const n=t.list[e];return n?{city:n,parent:n.parentCode?t.list[n.parentCode]:null}:{city:null,parent:null}})),getChinaHotCities:_()((()=>t.relations[2].map((e=>t.list[e])))),getChinaCities:_()((()=>["2",...n.relations.municipality,...n.relations.provinces,"gangaotai"].map((e=>Object.assign({id:e},t.list[e]))))),getCountries:_()((()=>["1",...l.relations.continents].map((e=>Object.assign({id:e},l.list[e]))))),getList:_()(((e,a)=>{const{showChinaQuan:s,showForeignQuan:r}=Object.assign({},a);if("gangaotai"===e)return n.relations.gangaotai.map((e=>t.list[e]));const i=Object.assign({},t.list[e]);if(n.relations.municipality.indexOf(e)>-1)return i.name=""+(s?"\u5168":"")+i.name,[i];const o=t.relations[e].map((e=>t.list[e]));return n.relations.provinces.indexOf(e)>-1&&s&&(i.name="\u5168"+i.name,o.splice(0,0,i)),l.relations.continents.indexOf(e)>-1&&r&&(i.name="\u5168"+i.name,o.splice(0,0,i)),o})),getNationalityList:_()((e=>{let n=m()(t);return"1"===e&&n.relations[1].unshift("410"),"350"===e&&n.relations[350].unshift("410"),n.relations[e].filter((e=>n.list[e])).map((e=>n.list[e]))})),getCityByName:_()((e=>{const t=a();let n;return[t=>t.name===e,t=>t.name===e.replace(/(\u7701|\u5e02)$/,""),t=>0===e.indexOf(t.name)].find((e=>(n=t.find(e),n))),n})),combineCities:_()(((e,n)=>[...n.filter((n=>t.list[n].parentCode!==e&&t.list[e].parentCode!==n&&e!==n)),e])),searchCities:_()((e=>{if(!e)return[];return a().filter((t=>["pinyin","name","enName","spelling"].some((n=>t[n].toUpperCase().indexOf(e.toUpperCase())>-1)))).map((e=>{const n=e.parentCode?t.list[e.parentCode]:null;return{label:n?`${n.name}\xb7${e.name}`:e.name,value:e.code}}))}))}},M=(e,t)=>"en-US"===t?b()(e,"enName"):b()(e,"name"),F={cache:"CITY_DATA",isLocal:!0,ttl:864e5,loader:()=>n.e(7820).then(n.t.bind(n,37820,19)).then((e=>e.__esModule?e.default:e))},T=e=>{let{value:t,setValue:n}=e;const{fetchApi:l,props:i}=I(),[p,m]=(0,d.useState)(""),[h,_]=(0,d.useState)("2"),{formatMessage:g}=(0,P.useIntl)({moduleName:"AddressSelect"}),{locale:b}=(0,r.A)(),{getCity:S,getChinaCities:w,getCountries:O,getList:F,searchCities:T}=(0,d.useMemo)((()=>k(l.data)),[l.data]),R=e=>{if(i.single)return void n([e]);const l=t.slice(0),a=l.indexOf(e);a>-1?l.splice(a,1):l.push(e),n(l)},D=p&&(0,L.jsx)(u.A,{className:C,children:(0,L.jsx)(s.List,{className:a.A.list,size:"small",dataSource:T(p),rowKey:"value",renderItem:e=>(0,L.jsx)(s.List.Item,{className:a.A["list-item"],onClick:()=>{R(e.value),m("")},children:(0,L.jsx)("span",{className:a.A["item-label"],children:e.label})})})});return(0,L.jsxs)("div",{className:o()(f,{[x]:i.isPopup}),children:[(0,L.jsx)(s.Input.Search,{className:o()(a.A["search-input"],{[a.A["is-popup"]]:i.isPopup}),placeholder:i.searchPlaceholder||g({id:"searchCity"}),prefix:(0,L.jsx)(c.default,{type:"icon-sousuo"}),enterButton:(0,L.jsx)(c.default,{type:"icon-sousuo"}),value:p,allowClear:!0,onChange:e=>{const t=e.target.value;m(t)},onSearch:e=>{m(e)}}),(0,L.jsx)("div",{className:j,children:D||(0,L.jsxs)(s.Row,{wrap:!1,children:[(0,L.jsx)(s.Col,{className:A,children:(0,L.jsx)(s.Tabs,{centered:!0,onChange:e=>{_(e)},items:[{key:"2",label:(0,L.jsx)(P.FormattedMessage,{id:"domestic",moduleName:"AddressSelect",defaultMessage:"\u56fd\u5185"}),children:(0,L.jsx)(u.A,{className:v,children:(0,L.jsx)(s.Menu,{selectedKeys:[h],onSelect:e=>{_(e.key)},items:w().map((e=>({label:M(e,b),key:e.id})))})})},{key:"1",label:(0,L.jsx)(P.FormattedMessage,{id:"abroad",moduleName:"AddressSelect",defaultMessage:"\u56fd\u5916"}),children:(0,L.jsx)(u.A,{className:v,children:(0,L.jsx)(s.Menu,{selectedKeys:[h],onSelect:e=>{_(e.key)},items:O().map((e=>({label:M(e,b),key:e.id})))})})}]})}),(0,L.jsxs)(s.Col,{flex:1,className:N,children:[(0,L.jsx)(s.Divider,{className:y,orientation:"left",children:M(S(h).city,b)}),(0,L.jsx)(u.A,{className:v,children:(0,L.jsx)(s.Space,{wrap:!0,children:F(h,{showChinaQuan:i.showChinaQuan,showForeignQuan:i.showForeignQuan}).map((e=>(0,L.jsx)(s.Tag.CheckableTag,{checked:t.indexOf(e.code)>-1,onChange:()=>{R(e.code)},children:M(e,b)},e.code)))})})]})]})})]})},R=e=>(0,L.jsx)(l.A,{...e,children:e=>{let{value:t,setValue:n}=e;return(0,L.jsx)(P.IntlProvider,{moduleName:"AddressSelect",importMessages:O,children:(0,L.jsx)(T,{value:t,setValue:n})})}});R.defaultProps={overlayWidth:"500px",isPopup:!0,api:F,dataFormat:(e,t)=>{let{city:n}=e;const{locale:l}=Object.assign({},t);return{list:Object.values(n.list).map((e=>Object.assign({},e,{value:e.code,label:M(e,l)})))}}};const D=(0,S.withFetch)((e=>{let{name:t,data:n,getAddressApi:l,children:a,...s}=e;const{locale:i}=(0,r.A)(),o=(0,d.useMemo)((()=>k(n)),[n]);return l?a(o):(0,L.jsx)(w(),{cache:"city-enum",params:{name:t},loader:e=>{let{params:t}=e;const{name:n}=t;return new Promise((e=>{setTimeout((()=>{e(o.getCity(n))}),0)}))},render:e=>{let{data:t}=e;return a(t,Object.assign({},s,{locale:i}))}})}));D.defaultProps={...F,displayParent:!1,children:(e,t)=>{let{city:n,parent:l}=e,{displayParent:a,locale:s}=t;return a&&l?`${M(l,s)}\xb7${M(n,s)}`:M(n,s)}};const E=e=>{const t=(0,S.withFetch)((t=>{let{data:n,...l}=t;const a=(0,d.useMemo)((()=>k(n)),[n]);return(0,L.jsx)(e,{...l,addressApi:a})}));return t.defaultProps={...F},t};R.AddressEnum=R.Enum=D,R.createAddressApi=k,R.withAddressApi=E,R.getLabelForLocal=M;const z=R;var V=n(10986),W=n.n(V),B=n(78491),U=n.n(B),$=n(20492),K=n(22616),q=n.n(K),H=n(1488),Q=n.n(H);const Z=e=>{const{isPopup:t,size:n,disabled:l,inputPlaceholder:a,onBlur:r,className:i,...o}=e,[c,d]=W()(e),u=["isPopup","searchPlaceholder","placeholder","overlayWidth","api","dataFormat"],{formatMessage:p}=(0,P.useIntl)({moduleName:"Common"}),m=U()((e=>{r&&r(e)}));return(0,L.jsx)("div",{ref:m,children:(0,L.jsxs)(s.Row,{gutter:10,children:[(0,L.jsx)(s.Col,{span:12,children:(0,L.jsx)(z,{...q()(o,u),className:i,disabled:l,single:!0,size:n,value:b()(c,"city"),onChange:e=>{d({city:e,detail:b()(c,"detail")})}})}),(0,L.jsx)(s.Col,{span:12,children:(0,L.jsx)(s.Input,{...Q()(o,u),className:i,placeholder:a||p({id:"pleaseInput"}),disabled:l,size:n,value:b()(c,"detail"),onChange:e=>{d({city:b()(c,"city"),detail:e.target.value})}})})]})})};Z.defaultProps={};const G=(0,P.createWithIntl)({importMessages:$.A,moduleName:"Common"})(Z)},12392:(e,t,n)=>{n.d(t,{Bm:()=>W,Eo:()=>z,NR:()=>A,Ay:()=>B});var l=n(55199),a=n(83136),s=n.n(a),r=n(30509),i=n(25438),o=n(26475),c=n(33097),d=n.n(c),u=n(34677),p=n.n(u);const m="create-list_scroll-loader__zoaS7__53bib",h="create-list_is-popup__t3d-G__53bib",_="create-list_is-not-full__FXtX1__53bib",g="create-list_search-input__tV3vf__53bib",b="create-list_left__EXr3i__53bib",f="create-list_list-header__3xeJa__53bib",x="create-list_is-modal__BMfya__53bib";var y=n(73161),v=n(58609),C=n(70579);const j=r.A.useContext,A=e=>{let{renderList:t,defaultProps:n}=e;const a=e=>{let{value:n,setValue:a}=e;const{fetchApi:r,searchText:c,setSearchText:u,props:A,mapping:N}=j(),S=Object.assign({},{paramsType:"data",current:"currentPage",pageSizeName:"perPage",pageSize:20},A.pagination),w=d()(r.requestParams,[S.paramsType,S.current],1),O=d()(r.requestParams,[S.paramsType,S.pageSizeName])||S.pageSize,{formatMessage:P}=(0,v.useIntl)({moduleName:"Common"}),L=A.dataFormat(r.data),{right:I,leftBottom:k,leftSpan:M=24}=A,F=1===n.length&&"all"===n[0];return(0,C.jsxs)(l.Row,{wrap:!1,className:I?s()("is-not-full",_):"",children:[(0,C.jsxs)(l.Col,{span:M,className:s()(b,"advance-select-left"),children:[A.getSearchProps?(0,C.jsx)(y.A,{isPopup:A.isPopup,className:s()(g,i.A["search-input"],{[i.A["is-popup"]]:A.isPopup}),placeholder:A.searchPlaceholder||P({id:"search"}),value:c,onSearch:e=>{r.reload(A.getSearchProps(e)),u(e)}}):null,A.single||!A.showSelectedCount&&!A.allowSelectAll?null:(0,C.jsxs)(l.Flex,{className:s()(f,{[x]:!A.isPopup}),justify:"space-between",children:[A.showSelectedCount?(0,C.jsxs)(l.Space,{children:[(0,C.jsx)(l.Typography,{children:"\u5df2\u9009:"}),(0,C.jsx)(l.Typography.Link,{children:F?A.allLabel||(0,C.jsx)(v.FormattedMessage,{id:"all",moduleName:"Common"}):`${n.length}${A.countUnit||P({id:"items"})}`})]}):(0,C.jsx)("div",{}),A.allowSelectAll?(0,C.jsx)("div",{children:(0,C.jsx)(l.Checkbox,{checked:F,onChange:e=>{a(e.target.checked?[A.allValue||"all"]:[])},children:(0,C.jsx)(v.FormattedMessage,{id:"selectAll",moduleName:"Common",values:{label:A.allLabel||(0,C.jsx)(v.FormattedMessage,{id:"all",moduleName:"Common"})}})})}):(0,C.jsx)("div",{})]}),(0,C.jsx)(o.A,{completeTips:"",isLoading:!r.isComplete,className:s()(m,{[h]:A.isPopup}),noMore:!L.total||w*O>=L.total,onLoader:async()=>{console.log("on loader"),await r.loadMore(p()({[S.paramsType]:{[S.pageSizeName]:O,[S.current]:w+1}},A.getSearchProps&&A.getSearchProps(c)),A.mergeList)},children:(()=>{const e={props:A,value:n,setValue:a,list:L.list,data:r.data,fetchApi:r,itemIsSelected:e=>n.indexOf(e.value)>-1,isSelectedAll:F,onSelect:e=>{if(A.single)return void a([e.value]);const t=n.slice(0),l=t.indexOf(e.value);l>-1?t.splice(l,1):t.push(e.value),a(t)}},l=t(e);return"function"===typeof A.dropdownRender?A.dropdownRender(Object.assign({},e,{children:l})):l})()}),k&&k({fetchApi:r,value:n,mapping:N})]}),I&&I({value:n,mapping:N,fetchApi:r})]})},c=e=>{let{extra:t,...n}=e;return(0,C.jsx)(r.A,{...n,extra:t,children:e=>{let{value:t,setValue:n}=e;return(0,C.jsx)(a,{value:t,setValue:n})}})};return c.defaultProps=Object.assign({},{isPopup:!0,pagination:{},mergeList:(e,t)=>Object.assign({},t,{pageData:e.pageData.concat(t.pageData)}),dataFormat:e=>({list:e.pageData,total:e.totalCount})},n),c},N="list_list__TGynD__53bib",S="list_list-item__WSswf__53bib",w="list_is-selected__6Wkgt__53bib",O="list_item-label__bYzhe__53bib",P="list_item-des__2nsEn__53bib",L="list_is-disabled__qxCvO__53bib",I="list_is-selected-all__Mp-hG__53bib";var k=n(40438),M=n(64671);const F="user_list-inner__V508e__53bib",T="user_list-info__y2nWo__53bib",R="user_selected-icon__9OQJL__53bib",D="user_item-des__o+7UR__53bib",E="user_is-selected-all__2q0VZ__53bib",z=A({renderList:e=>{let{list:t,onSelect:n,itemIsSelected:a,isSelectedAll:r}=e;return(0,C.jsx)(l.List,{size:"small",className:s()(N,{[I]:r,[E]:r}),dataSource:t,renderItem:e=>{const t=a(e);return(0,C.jsx)(l.List.Item,{className:s()(S,{[w]:t}),onClick:()=>n(e),children:(0,C.jsxs)(l.Row,{wrap:!1,align:"middle",className:F,children:[(0,C.jsx)(l.Col,{children:(0,C.jsx)(k.default.Avatar,{...Object.assign({},e.avatar),size:40,gender:"M"})}),(0,C.jsx)(l.Col,{className:T,flex:1,children:(0,C.jsxs)(l.Space,{direction:"vertical",children:[(0,C.jsx)("span",{className:O,children:e.label}),e.description&&(0,C.jsx)("span",{className:D,children:e.description})]})}),(0,C.jsx)(l.Col,{children:r||t?(0,C.jsx)(M.default,{className:R,type:"icon-gouxuan"}):null})]})})}})}}),V={"is-selected-all":"table_is-selected-all__IwXUY__53bib"},W=A({defaultProps:{overlayWidth:"450px"},renderList:e=>{let{props:t,list:n,onSelect:a,value:r,setValue:i,itemIsSelected:o,isSelectedAll:c}=e;return(0,C.jsx)(l.Table,{className:s()(V.list,N,{[I]:c,[V["is-selected-all"]]:c}),size:"small",dataSource:n,columns:t.columns,rowClassName:e=>s()({"ant-table-row-selected":o(e)}),rowKey:t.rowKey||"value",pagination:!1,rowSelection:t.single?null:c?{selectedRowKeys:n.map((e=>{let{value:t}=e;return t})),getCheckboxProps:()=>({disabled:!0})}:{selectedRowKeys:r,onChange:e=>{i(e)}},sticky:!0,onRow:e=>({onClick:()=>a(e)})})}}),B=A({renderList:e=>{let{props:t,list:n,itemIsSelected:a,isSelectedAll:r,onSelect:i}=e;const{listClassName:o="",selectIcon:c=null}=t||{};return(0,C.jsx)(l.List,{className:s()(N,o,{[I]:r}),size:"small",dataSource:n,renderItem:e=>{var n;const o=a(e);return(0,C.jsxs)(l.List.Item,{className:s()(S,{[w]:t.single&&o,[L]:r||e.disabled}),onClick:()=>{e.disabled||i(e)},children:[(0,C.jsxs)(l.Row,{wrap:!1,children:[t.single?null:(0,C.jsx)(l.Col,{children:(0,C.jsx)(l.Checkbox,{checked:r||o,disabled:r||e.disabled})}),(0,C.jsx)(l.Col,{children:(0,C.jsxs)(l.Space,{className:null!==(n=null===e||void 0===e?void 0:e.className)&&void 0!==n?n:"",children:[(0,C.jsx)("span",{className:O,children:e.label}),e.description&&(0,C.jsx)("span",{className:P,children:e.description})]})})]}),o&&c]})}})}})},45776:(e,t,n)=>{n.d(t,{yK:()=>I,ON:()=>h,Ay:()=>R});var l=n(30509),a=n(73884),s=n(96418),r=n.n(s),i=n(55199),o=n(64671),c=n(73161),d=n(33097),u=n.n(d),p=n(79686),m=n.n(p);const h=e=>{const t=Array.from(e.values()),n=t.filter((e=>null===e.parentId)),l=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},a=t=>{const n=[],l=t=>{const a=e.get(t);a&&Array.isArray(a.children)&&a.children.length>0&&(n.push(...a.children),a.children.forEach((e=>{l(e.id)})))};return l(t),n},s=(t,n)=>{const l=t=>{const a=e.get(t);return a?n(a)?a:m()(a.parentId)?null:l(a.parentId):null};return l(t)},r=t=>{const l=e.get(t);if(!l)return[];const a=l.parentId;if(m()(a))return n;return e.get(a).children},i=(()=>{const e=n=>Array.isArray(n)&&n.length>0?n.map((n=>{const l=t.filter((e=>e.parentId===n.id));return Object.assign({},n,{children:e(l)})})):null;return e(n)})();return{mapping:e,getSelectedQueue:t=>{const n=e.get(t);if(!n)return[];const l=e=>{if(e.children&&e.children.length>0)return l(e.children.find((t=>t.children&&e.children.length>0))||u()(e.children,"0"));const t=a(e.parentId).find((e=>e.children&&e.children.length>0));return t?l(t):e},s=function(t){const n=[t,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]],l=e.get(t);return!l||m()(l.parentId)?n:s(l.parentId,n)},r=l(n);return s(u()(r,"id"))},getAllChildren:a,computedCheckboxStatus:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(s(t,(e=>n.indexOf(e.id)>-1)))return{checked:!0,indeterminate:!1};const l=(t=>{const l=t=>{const a=e.get(t);return a?(s=a,n.indexOf(s.id)>-1?a:Array.isArray(a.children)&&a.children.length>0?a.children.find((e=>!!l(e.id))):void 0):null;var s};return!!l(t)})(t);return l?{checked:!1,indeterminate:!0}:{checked:!1,indeterminate:!1}},getSiblingNode:r,findInParents:s,setNodeChecked:function(t){const n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).slice(0),s=t=>{const i=e.get(t);if(!i)return;n.push(t),a(t).forEach((e=>{l(n,e.id)}));const o=r(t),c=o.every((e=>n.indexOf(e.id)>-1));i.parentId&&c&&(o.forEach((e=>{l(n,e.id)})),s(i.parentId))};return s(t),n},setNodeUnchecked:function(t){const n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).slice(0),a=t=>{const s=e.get(t);if(!s)return;if(n.indexOf(s.id)>-1)return void l(n,s.id);const i=r(t);s.parentId&&(i.forEach((e=>{t!==e.id&&n.push(e.id)})),a(s.parentId))};return a(t),n},treeData:i,treeMapping:new Map(i.map((e=>[e.id,e])))}};var _=n(74065),g=n.n(_),b=n(19853),f=n.n(b),x=n(17342),y=n(83136),v=n.n(y);const C={content:"style_content__Hxlt9__53bib",columns:"style_columns__FmtPF__53bib","content-item":"style_content-item__i6HCO__53bib","last-level-area":"style_last-level-area__2y7jQ__53bib","is-popup":"style_is-popup__+r3Mn__53bib",menu:"style_menu__WZUVE__53bib","scroll-plus-box":"style_scroll-plus-box__QcTst__53bib","menu-label":"style_menu-label__iGt0Z__53bib","menu-item":"style_menu-item__hXHfm__53bib","checkbox-hidden":"style_checkbox-hidden__Xpx7J__53bib",loading:"style_loading__ZwrVe__53bib"};var j=n(87558),A=n(58609),N=n(25438),S=n(70579),w=n(27047);const O=new Map,P=(0,j.withFetch)((e=>{let{data:t,name:n,type:l,cache:s,children:r,getLabel:i,...o}=e;const c=(0,a.useMemo)((()=>new Map(t.map((e=>[e.code,{...e,id:e.code,label:i?i(e):e.chName,parentId:e.parentCode||null}])))),[t,i]).get(n);return O.set(`${n}_${l}`,c),r(c,o)})),L=e=>{const{locale:t}=(0,w.A)(),n=`${t}_${e.name}_${e.type}`,l=O.get(n);return l&&!e.force?e.children(l):(0,S.jsx)(P,{...e})};L.defaultProps={children:e=>u()(e,"label","")};const I=L,k=l.A.useContext,M=(0,j.withFetch)((e=>{let{data:t,computedIsChecked:n,onSelect:l}=e;return(0,S.jsx)(x.A,{className:C["scroll-plus-box"],children:(0,S.jsx)(i.List,{className:N.A.list,size:"small",dataSource:t,rowKey:"value",renderItem:e=>{const t=n(e);return(0,S.jsx)(i.List.Item,{className:v()(N.A["list-item"],{[N.A["is-selected"]]:t}),onClick:()=>l(e,t),children:(0,S.jsx)("span",{className:N.A["item-label"],children:e.label})})}})})})),F=e=>{let{value:t,setValue:n,size:l,selectLevel:s}=e;const{fetchApi:d,props:p}=k(),[m,_]=(0,a.useState)(""),b=r()(p.dataFormat),{formatMessage:y}=(0,A.useIntl)({moduleName:"Common"}),j=d.data,w=(0,a.useMemo)((()=>new Map(b(j).list.map((e=>[e.value,e])))),[j,b]),O=(0,a.useMemo)((()=>h(w)),[w]),P=(0,a.useRef)({});P.current={createMergeTree:p.createMergeTree,loadMore:d.loadMore,openLoadData:p.openLoadData,parentIdKey:p.parentIdKey,treeUtils:O};const[L,I]=(0,a.useState)((()=>{const e=t.find((e=>!!w.get(e)));return O.getSelectedQueue(e||u()(d.data.find((e=>e.children&&e.children.length>0)),"id")||u()(d.data,"[0].id"),w)}));(0,a.useEffect)((()=>{const{openLoadData:e,loadMore:t,parentIdKey:n,createMergeTree:l,treeUtils:a}=P.current;if(!e)return;const s=w.get(g()(L));if(!s)return;const r=a.getSelectedQueue(s.id);f()(L,r)?s.hasOwnProperty("children")||t({data:{[n]:s.id}},l(s.id)):I(r)}),[L,w]);const F=(e,a)=>{const s=(()=>{if(p.onlyAllowLastLevel&&e){const e=t.slice(0);return e.push(a),e}if(p.onlyAllowLastLevel){const e=t.slice(0);return e.splice(t.indexOf(a),1),e}return e?O.setNodeChecked(a,t):O.setNodeUnchecked(a,t)})();s.length>l?i.message.error(y({id:"maxSelectedCount"},{count:l})):n(p.single&&s.length>0?[g()(s)]:s)},T=e=>{const t=w.get(e);return!(!p.openLoadData||t.hasOwnProperty("children"))||t.children&&t.children.length>0},R=!p.openLoadData&&"function"===typeof p.onSearch,D=R&&m&&(0,S.jsx)(M,{data:{searchText:m},loader:e=>{let{data:t}=e;return p.onSearch(t.searchText,{mapping:w})},computedIsChecked:e=>t.indexOf(e.id)>-1,onSelect:(e,t)=>{F(!t,e.id),!t&&I(O.getSelectedQueue(e.id,w)),_("")}});return(0,S.jsxs)("div",{className:v()(C.content,{[C["is-popup"]]:p.isPopup,[C["has-search"]]:R}),style:{"--menu-item-width":p.menuItemWidth},children:[R&&(0,S.jsx)(c.A,{isPopup:p.isPopup,className:v()(N.A["search-input"],{[N.A["is-popup"]]:p.isPopup}),placeholder:p.searchPlaceholder||y({id:"search"}),value:m,onSearch:e=>{_(e)}}),D||(0,S.jsx)("div",{children:(0,S.jsx)(x.A,{className:C.scroller,options:{autoHide:!1},children:(0,S.jsxs)("div",{className:C.columns,children:[L.map(((e,n)=>{const l=w.get(e),r=O.getSiblingNode(e),c=!T(null===l||void 0===l?void 0:l.id)&&n>0;return(0,S.jsx)(x.A,{className:v()(C["content-item"],{[C["last-level-area"]]:c}),children:c?(0,S.jsx)(i.Space,{wrap:!0,children:r.map((e=>(0,a.createElement)(i.Checkbox,{...O.computedCheckboxStatus(e.id,t),disabled:s>1&&(t.indexOf(e.parentCode)>-1||t.indexOf(e.code.slice(0,3))>-1),key:e.id,onChange:t=>F(t.target.checked,e.id)},e.label)))}):(0,S.jsx)(i.Menu,{className:v()(C.menu),onSelect:e=>{const n=w.get(e.key);if(n)if(T(n.id))I(O.getSelectedQueue(n.id,w));else{const{checked:e}=O.computedCheckboxStatus(n.id,t);F(!e,n.id)}},selectedKeys:n===L.length-1?[]:L,items:r.map((e=>({key:e.id,label:(0,S.jsxs)(i.Space,{className:v()(C["menu-item"],{[C["checkbox-hidden"]]:p.onlyAllowLastLevel&&T(e.id)}),children:[!p.onlyAllowLastLevel&&(0,S.jsx)(i.Checkbox,{...O.computedCheckboxStatus(e.id,t),disabled:s>1&&t.indexOf(e.parentCode)>-1,onChange:t=>F(t.target.checked,e.id)}),(0,S.jsx)("div",{className:C["menu-label"],children:e.label}),T(e.id)&&(0,S.jsx)(o.default,{className:C["menu-item-icon"],type:"icon-arrow-thin-right",size:12})]})})))})},u()(r,"[0].id",n))})),d.isComplete?null:(0,S.jsx)("div",{className:C.loading,children:(0,S.jsx)(i.Spin,{size:"small"})})]})})})]})},T=e=>{let{maxLength:t,nodeFormat:n,dataFormat:a,...s}=e;return(0,S.jsx)(l.A,{...s,dataFormat:e=>a(e,n),children:e=>{let{value:n,setValue:l}=e;return(0,S.jsx)(F,{...s,size:t,value:n,setValue:l})}})};T.defaultProps={maxLength:Number.MAX_VALUE,size:"middle",isPopup:!0,overlayWidth:"460px",menuItemWidth:"180px",openLoadData:!1,onlyAllowLastLevel:!1,parentIdKey:"id",onSearch:(e,t)=>{let{mapping:n}=t;return Array.from(n.values()).filter((t=>t.label.indexOf(e)>-1))},dataFormat:(e,t)=>{const n=(e,l)=>{const a=[];return a.push(...(e||[]).map((e=>("function"===typeof t&&Object.assign(e,t(e)),e.children&&e.children.length>0&&a.push(...n(e.children,e.id)),Object.assign({},e,{value:e.id,parentId:l}))))),a};return{list:n(e,null)}},createMergeTree:e=>(t,n)=>{const l=t=>t.map((t=>t.id===e?Object.assign({},t,{children:n&&n.map((t=>Object.assign({},t,{parentId:e})))}):Array.isArray(t.children)&&t.children.length>0?Object.assign({},t,{children:l(t.children)}):t));return l(t)}};const R=T},41654:(e,t,n)=>{n.d(t,{A:()=>m,K:()=>p});var l=n(45776),a=n(27047),s=n(33097),r=n.n(s),i=n(70579);const o=(e,t)=>"en-US"===t?r()(e,"enName"):r()(e,"chName"),c=()=>n.e(719).then(n.t.bind(n,10719,19)).then((e=>e.__esModule?e.default:e)),d={cache:"FUNCTION_DATA",isLocal:!0,ttl:864e5,loader:c},u=e=>{let{apis:t,...n}=e;const{apis:s,locale:r}=(0,a.A)(),c=Object.assign({},{functionData:d},null===s||void 0===s?void 0:s.staticData,t);return(0,i.jsx)(l.Ay,{...n,api:Object.assign({},{transformData:e=>{let{data:t}=e;const{treeData:n}=(0,l.ON)(new Map(t.map((e=>[e.code,{...e,id:e.code,label:o(e,r),parentId:e.parentCode||null}]))));return n}},c.functionData)})};u.defaultProps={overlayWidth:"640px",getSearchProps:e=>({data:{searchText:e}})},u.defaultData=c;const p=e=>{let{apis:t,...n}=e;const{apis:s,locale:r}=(0,a.A)(),c=Object.assign({},{functionData:d},null===s||void 0===s?void 0:s.staticData,t);return(0,i.jsx)(l.yK,{...n,...c.functionData,type:"function",getLabel:e=>o(e,r),transformData:e=>{let{data:t}=e;return t}})};u.FunctionEnum=u.Enum=p;const m=u},53392:(e,t,n)=>{n.d(t,{A:()=>p,W:()=>u});var l=n(45776),a=n(27047),s=n(33097),r=n.n(s),i=n(70579);const o=(e,t)=>"en-US"===t?r()(e,"enName"):r()(e,"chName"),c={cache:"INDUSTRY_DATA",isLocal:!0,ttl:864e5,loader:()=>n.e(7183).then(n.t.bind(n,57183,19)).then((e=>e.__esModule?e.default:e))},d=e=>{let{apis:t,...n}=e;const{apis:s,locale:r}=(0,a.A)(),d=Object.assign({},{industryData:c},null===s||void 0===s?void 0:s.staticData,t);return(0,i.jsx)(l.Ay,{...n,api:Object.assign({},{transformData:e=>{let{data:t}=e;const{treeData:n}=(0,l.ON)(new Map(t.filter((e=>"000"!==e.code)).map((e=>[e.code,{...e,id:e.code,label:o(e,r),parentId:e.parentCode||null}]))));return n}},d.industryData)})};d.defaultProps={overlayWidth:"635px"};const u=e=>{let{apis:t,...n}=e;const{apis:s,locale:r}=(0,a.A)(),d=Object.assign({},{industryData:c},null===s||void 0===s?void 0:s.staticData,t);return(0,i.jsx)(l.yK,{...n,...d.industryData,type:"function",getLabel:e=>o(e,r),transformData:e=>{let{data:t}=e;return t}})};d.IndustryEnum=d.Enum=u;const p=d},26475:(e,t,n)=>{n.d(t,{A:()=>_});var l=n(73884),a=n(55199),s=n(96418),r=n.n(s),i=n(17342),o=n(83136),c=n.n(o),d=n(51941);const u="style_scroller-no-more__EH2J+__53bib";var p=n(70579);const m=e=>{let{getScrollerRef:t,loadMore:n,maxFullCount:a}=e;const s=r()(n),i=r()(t);return(0,l.useEffect)((()=>{let e=a;const t=i(),n=async()=>{t.clientHeight===t.scrollHeight&&e>0&&(await s().then((()=>new Promise((e=>{setTimeout(e,500)})))),e--,await n())};n()}),[a,s,i]),null},h=(0,l.forwardRef)(((e,t)=>{let{className:n,noMore:s,onLoader:o,isLoading:h,completeTips:_,maxFullCount:g,children:b}=e;const f=(0,l.useRef)(),x=r()(o),y=(0,l.useRef)(!s&&!h);y.current=!s&&!h,(0,l.useImperativeHandle)(t,(()=>f.current),[]);const v=(0,d.useThrottledCallback)((e=>{const t=e.target;y.current&&t.clientHeight+t.scrollTop+20>t.scrollHeight&&x()}),100);return(0,p.jsxs)(i.A,{className:c()("load-container",n),scrollableNodeProps:{ref:f,onScroll:v},children:[!h&&!s&&(0,p.jsx)(m,{maxFullCount:g,getScrollerRef:()=>f.current,loadMore:x}),(0,p.jsxs)(a.Space,{direction:"vertical",children:[(0,p.jsx)("div",{children:b}),h?(0,p.jsx)("div",{className:u,children:(0,p.jsx)(a.Spin,{size:"small"})}):null,s&&_?(0,p.jsx)("div",{className:u,children:_}):null]})]})}));h.defaultProps={maxFullCount:3,completeTips:"\u52a0\u8f7d\u5b8c\u6210"};const _=h},73161:(e,t,n)=>{n.d(t,{A:()=>m});var l=n(55199),a=n(83136),s=n.n(a);const r="style_search-input__8aH1G__53bib",i="style_is-popup__L0973__53bib";var o=n(64671),c=n(73884),d=n(51941),u=n(70579);const p=e=>{let{value:t,debounce:n,onSearch:a,isPopup:p,placeholder:m,className:h,..._}=e;const[g,b]=(0,c.useState)(t),f=(0,c.useRef)(t),x=(0,d.useDebouncedCallback)(a,n);return(0,c.useEffect)((()=>{t!==f.current&&(b(t),f.current=t)}),[t]),(0,u.jsx)(l.Input.Search,{..._,allowClear:!0,className:s()(h,r,{[i]:p}),value:g,placeholder:m,prefix:(0,u.jsx)(o.default,{type:"icon-sousuo"}),enterButton:(0,u.jsx)(o.default,{type:"icon-sousuo"}),onChange:e=>{const t=e.target.value;f.current=t,b(t),x(t)},onSearch:e=>{x(e)}})};p.defaultProps={debounce:500};const m=p},30509:(e,t,n)=>{n.d(t,{A:()=>B});const l={"ant-tag":"style_ant-tag__nNp8-__53bib",overlay:"style_overlay__La5mO__53bib",input:"style_input__SpJTE__53bib","is-disabled":"style_is-disabled__joxdl__53bib","input-icon":"style_input-icon__vVd8R__53bib",large:"style_large__En6mL__53bib",small:"style_small__DY0AQ__53bib","input-inner":"style_input-inner__PWy27__53bib","input-custom":"style_input-custom__ktsWD__53bib","display-content":"style_display-content__hIKo+__53bib","overlay-footer-extra":"style_overlay-footer-extra__Q+BiR__53bib","selected-tag":"style_selected-tag__zXZZO__53bib","selected-tag-list":"style_selected-tag-list__xUIms__53bib","selected-tag-inner":"style_selected-tag-inner__Z5gPL__53bib","text-inner":"style_text-inner__H24hY__53bib",placeholder:"style_placeholder__x0ccE__53bib","is-modal":"style_is-modal__JU+uq__53bib","overlay-content":"style_overlay-content__WKqp+__53bib"};var a=n(74981);const{context:s,useContext:r,Provider:i,Consumer:o}=(0,a.A)();var c=n(73884),d=n(10986),u=n.n(d),p=n(87558),m=n(33097),h=n.n(m),_=n(55199),g=n(83136),b=n.n(g),f=n(3382),x=n(64671),y=n(79686),v=n.n(y),C=n(41740),j=n.n(C),A=n(74065),N=n.n(A),S=n(21485),w=n(96418),O=n.n(w),P=n(77964),L=n(91176),I=n(58609),k=n(20492),M=n(27047),F=n(70579);const T=e=>{let{maxLength:t,single:n,setValue:l,value:a,message:s}=e;return e=>l(!n&&Number.isInteger(t)&&t>0&&e.length>t?(s(),a):e)},R=e=>{let{single:t,value:n,mapping:a,allValue:s,allLabel:r,onClose:i}=e;return n&&Array.isArray(n)&&0!==n.length?t?(0,F.jsx)("span",{className:l["text-inner"],children:h()(a.get(n[0]),"label")||n[0]}):1===n.length&&n[0]===(s||"all")?(0,F.jsx)("span",{className:l["text-inner"],children:r||(0,F.jsx)(I.FormattedMessage,{id:"all",moduleName:"Common"})}):n.map((e=>{const t=a.get(e);return(0,F.jsx)(_.Tag,{className:l["display-tag"],closable:!0,onClose:n=>{n.preventDefault(),i(e,t)},children:(0,F.jsx)("span",{className:l["tag-inner"],children:h()(t,"label")||e})},e)})):null},D=(0,c.forwardRef)(((e,t)=>{let{value:n,onChange:a,extra:s,showSelectedTag:r,renderSelectedContent:i,children:o,...d}=e;const[u,p]=(0,c.useState)(n),m=(0,c.useRef)(n),{formatMessage:h}=(0,I.useIntl)({moduleName:"Common"});m.current=n;const[g,b]=(0,c.useState)(!1),x=e=>{var t;b(e),null===(t=d.onOpenChange)||void 0===t||t.call(d,e)},{message:y}=_.App.useApp(),v=T({maxLength:d.maxLength,single:d.single,setValue:p,value:u,message:()=>y.error(h({id:"maxSelectedCount"},{count:d.maxLength}))});return(0,c.useEffect)((()=>{g&&p(m.current)}),[g]),(0,c.useImperativeHandle)(t,(()=>({modalOpen:()=>{x(!0)},close:()=>{x(!1)}}))),(0,F.jsx)(f.default,{...d,open:g,onConfirm:()=>{a(u)},onClose:()=>{x(!1)},footer:(0,F.jsxs)(_.Space,{direction:"vertical",className:l["overlay-footer"],children:[s&&(0,F.jsx)("div",{className:l["overlay-footer-extra"],children:s}),r&&i({value:u,setValue:v})]}),children:"function"===typeof o?o({value:u,setValue:v}):o})})),E=(0,c.forwardRef)(((e,t)=>{let{value:n,setValue:a,children:s,renderSelectedContent:r,showSelectedTag:i,placement:o,inputContent:d,single:u,extra:p,overlayWidth:m,wrapClassName:h,overlayClassName:g,disabled:f,...x}=e;const[y,v]=(0,c.useState)(!1),C=O()((e=>{var t;v(e),null===(t=x.onOpenChange)||void 0===t||t.call(x,e)}));return(0,c.useImperativeHandle)(t,(()=>({close:()=>{C(!1)}})),[C]),f?(0,F.jsx)("div",{className:l["input-inner"],children:d}):(0,F.jsx)(_.Popover,{...x,open:y,onOpenChange:C,transitionName:"ant-slide-up",overlayClassName:b()(l.overlay,g),arrow:!1,content:(0,F.jsxs)("div",{style:m?{"--overlay-width":m}:{},className:b()(l["overlay-content"],"over-content"),onClick:e=>{e.stopPropagation()},children:[(0,F.jsx)("div",{className:l["overlay-inner"],children:"function"===typeof s?s({value:n,setValue:e=>{(!u||n[0]!==e[0])&&a(e),u&&C(!1)}}):s}),(i||p)&&(0,F.jsxs)("div",{className:l["overlay-footer"],children:[p&&(0,F.jsx)("div",{className:l["overlay-footer-extra"],children:p}),i&&r({value:n,setValue:a})]})]}),trigger:"click",placement:o,children:(0,F.jsx)("div",{className:l["input-inner"],children:d})})})),z=(0,p.withFetch)((e=>{let{setFetchApi:t,wrapClassName:n,getContentRef:a,...s}=e;const[i,o]=(0,c.useState)(!1),d=(0,c.useRef)(null),u=(0,c.useRef)(null),p=r(),{valueState:m,mapping:h,props:g,inputWidth:f}=p,[y,v]=m,{formatMessage:C}=(0,I.useIntl)({moduleName:"Common"}),{single:j,placement:A,getPopupContainer:N,placeholder:w,isPopup:P,disabled:k,showSelectedTag:M,extra:T,inputContent:z,allowClear:V,overlayClassName:W}=g,B=(0,c.useRef)(s);B.current=s;const U=O()(a);(0,c.useEffect)((()=>{U(P?u:d)}),[P,U]),(0,c.useEffect)((()=>{t(Object.assign({},B.current,{data:s.data,isComplete:s.isComplete}))}),[s.data,t,s.isComplete]);const $=R({single:j,value:y,mapping:h,allValue:g.allValue,allLabel:g.allLabel,onClose:e=>{v((t=>{const n=t.slice(0),l=t.indexOf(e);return l>-1&&n.splice(l,1),n}))}}),K=e=>{let{value:t,setValue:n}=e;return(0,F.jsxs)(_.Space,{className:l["selected-tag"],align:"center",wrap:!1,children:[(0,F.jsxs)("div",{children:[(0,F.jsx)(I.FormattedMessage,{id:"selectedTextAdvanced",moduleName:"Common",defaultMessage:"\u5df2\u9009"}),!g.single&&Number.isInteger(g.maxLength)&&g.maxLength>0?`(${t.length}/${g.maxLength})`:"",":"]}),(0,F.jsx)(S.A,{className:l["selected-tag-list"],children:(0,F.jsx)("div",{className:l["selected-tag-inner"],children:R({value:t,mapping:h,allValue:g.allValue,allLabel:g.allLabel,onClose:e=>{n((t=>{const n=t.slice(0),l=t.indexOf(e);return l>-1&&n.splice(l,1),n}))}})})})]})},q=z?z(p):(0,F.jsxs)(_.Space,{className:l["display-content"],onMouseOver:()=>{o(!0)},onMouseOut:()=>{o(!1)},children:[(0,F.jsx)("div",{children:$||(0,F.jsx)("span",{className:l.placeholder,children:w||C({id:"pleaseSelect"})})}),i&&y&&y.length>0&&!k&&V?(0,F.jsx)(x.default,{className:b()(l.close,l["input-icon"],"close","input-icon"),type:"icon-shibai",onClick:e=>{e.stopPropagation(),v([])}}):(0,F.jsx)(x.default,{className:b()(l["input-icon"],"input-icon-arrow","input-icon"),type:"icon-arrow-thin-down"})]});return P?(0,F.jsx)(E,{ref:u,overlayWidth:(0,L.v)(Math.max(f,(0,L.j)(g.overlayWidth))),value:y,setValue:v,single:j,disabled:k,inputContent:q,onOpenChange:g.onOpenChange,overlayClassName:W,extra:"function"===typeof T?T({close:()=>u.current.close(),context:p}):T,renderSelectedContent:K,showSelectedTag:M,trigger:"click",placement:A,getPopupContainer:N,children:g.children}):(0,F.jsxs)("div",{className:l["input-inner"],onClick:()=>{k||d.current.modalOpen()},children:[(0,F.jsx)(D,{size:g.modalSize,ref:d,single:g.single,maxLength:g.maxLength,onOpenChange:g.onOpenChange,disabledScroller:!0,wrapClassName:b()(l.overlay,l["is-modal"],n),title:g.placeholder||C({id:"pleaseSelect"}),value:y,onChange:v,extra:"function"===typeof T?T({close:()=>d.current.close(),context:p}):T,showSelectedTag:M,renderSelectedContent:K,children:g.children}),q]})})),V=e=>{let{api:t,className:n,displayItems:a,wrapClassName:s,...r}=e;const{locale:o}=(0,M.A)(),[d,p]=(0,c.useState)(""),[m,g]=(0,c.useState)(new Map(a.map((e=>[e.value,e])))),{formatMessage:f}=(0,I.useIntl)({moduleName:"Common"}),[x,y]=(0,c.useState)(0),C=(0,P.A)((e=>{y(e.clientWidth)})),[A,S]=(0,c.useState)({}),{message:w}=_.App.useApp(),O=e=>{const t=e.filter((e=>m.get(e.value)!==e));0!==t.length&&g((e=>{const n=j()(e);return t.forEach((e=>{n.set(e.value,e)})),n}))},L=e=>((e,t)=>Array.isArray(e)&&e.every((e=>e&&e.hasOwnProperty("value")&&e.hasOwnProperty("label")))?(t(e),e.map((e=>e.value))):e)(r.single?v()(e)?[]:[e]:e||[],O,r.valueType),[k,R]=u()(Object.assign({},r,{onChange:e=>{const t=((e,t,n)=>"all"!==n?e:e.map((e=>t.get(e))).filter((e=>!!e)))(e,m,r.valueType);r.onChange&&r.onChange(r.single?N()(t):t)}},"value"in r?{value:L(r.value)}:{defaultValue:L(r.defaultValue)})),D=T({maxLength:r.maxLength,single:r.single,setValue:R,value:k,message:()=>w.error(f({id:"maxSelectedCount"},{count:r.maxLength}))}),E=(0,c.useRef)(null);return(0,F.jsx)(i,{value:{inputWidth:x,mapping:m,searchText:d,setSearchText:p,appendMapping:O,setItems:e=>{A.setData(e),O(h()(r.dataFormat(e,{locale:o}),"list",[]))},getContentApi:()=>E.current,fetchApi:A,valueState:[k,D],props:r},children:(0,F.jsx)("div",{ref:C,className:b()(l["input"+(r.inputContent&&"function"===typeof r.inputContent?"-custom":"")],{"select-input-disabled":!!r.disabled},n),children:(0,F.jsx)(z,{...t,wrapClassName:s,loading:null,setFetchApi:S,getContentRef:e=>{e.current&&(E.current=e.current)},onRequestSuccess:e=>{O(h()(r.dataFormat(e,{locale:o}),"list",[])),t.onRequestSuccess&&t.onRequestSuccess(e)}})})})};V.defaultProps={displayItems:[],extra:null,api:{loader:()=>[]},dataFormat:e=>({list:e}),placement:"bottomLeft",showSelectedTag:!0,allowClear:!0};const W=(0,I.createWithIntl)({importMessages:k.A,moduleName:"Common"})(V);W.useContext=r;const B=W},17342:(e,t,n)=>{n.d(t,{A:()=>s});var l=n(8762),a=n.n(l);n(46733);const s=a()},21485:(e,t,n)=>{n.d(t,{A:()=>c});var l=n(73884),a=n(44418),s=n.n(a),r=n(96418),i=n.n(r),o=n(70579);const c=(0,l.forwardRef)(((e,t)=>{let{children:n,onScroll:a,options:r,onReady:c,...d}=e;const u=(0,l.useRef)(null),p=(0,l.useRef)(null),m=(0,l.useRef)(r),h=i()(c),_=i()(a);return(0,l.useImperativeHandle)(t,(()=>p.current)),(0,l.useEffect)((()=>{const e=new(s())(u.current,m.current);return p.current=e.getScrollElement(),p.current.addEventListener("scroll",_),h(p.current),()=>{p.current.removeEventListener("scroll",_)}}),[_,h,n]),(0,o.jsx)("div",{...d,ref:u,children:n})}))},35063:(e,t,n)=>{n.d(t,{A:()=>o});var l=n(75870),a=n.n(l),s=n(3382),r=n(55199),i=(n(96316),n(70579));const o=e=>{const t=Object.assign({},{children:e=>{let{components:n}=e;return(0,i.jsxs)(r.Flex,{vertical:!0,children:[n.search,n.selectedAll,n.fetchList,!1!==t.isPopup&&n.selectedTag]})},renderModal:e=>{const{props:t,open:n,onOpenChange:a,onComplete:r}=e,{placeholder:o,children:c,showSelectedTag:d}=t;return(0,i.jsx)(s.default,{title:o,open:n,onClose:()=>{a(!1)},footer:d&&(0,i.jsx)(l.SelectedTagList,{}),onConfirm:r,children:c(e)})}},e);return(0,i.jsx)(a(),{...t})}},89319:(e,t,n)=>{n.d(t,{A:()=>u});var l=n(55199),a=n(10986),s=n.n(a),r=n(57469),i=n.n(r),o=n(20492),c=n(58609),d=n(70579);const u=(0,c.createWithIntl)({importMessages:o.A,moduleName:"Common"})((e=>{let{...t}=e;const{formatMessage:n}=(0,c.useIntl)({moduleName:"Common"}),a=new Map([["date",n({id:"customTime"})],["month",n({id:"monthly"})],["week",n({id:"weekly"})]]),[r,o]=s()(t);return(0,d.jsxs)(l.Space.Compact,{children:[(0,d.jsx)(l.Select,{style:{width:"120px"},value:(null===r||void 0===r?void 0:r.type)||"date",onChange:e=>{o((t=>{var n;return{value:null!==t&&void 0!==t&&null!==(n=t.value)&&void 0!==n&&n.length?[i()(t.value[0]).startOf(e||"date"),i()(t.value[1]).endOf(e||"date")]:null,type:e||"date"}}))},options:Array.from(a).map((e=>{let[t,n]=e;return{label:n,value:t}}))}),(0,d.jsx)(l.DatePicker.RangePicker,{...t,picker:(null===r||void 0===r?void 0:r.type)||"date",value:Array.isArray(null===r||void 0===r?void 0:r.value)&&2===r.value.length&&r.value.map((e=>e&&i()(e))),onChange:e=>{o((t=>(console.log(Object.assign({type:"date"},t,{value:e&&[e[0]&&new Date(e[0].startOf((null===t||void 0===t?void 0:t.type)||"date").valueOf()),e[1]&&new Date(e[1].endOf((null===t||void 0===t?void 0:t.type)||"date").valueOf())]})),Object.assign({type:"date"},t,{value:e&&[e[0]&&new Date(e[0].startOf((null===t||void 0===t?void 0:t.type)||"date").valueOf()),e[1]&&new Date(e[1].endOf((null===t||void 0===t?void 0:t.type)||"date").valueOf())]}))))}})]})}))},20492:(e,t,n)=>{n.d(t,{A:()=>l});const l=e=>({"en-US":()=>n.e(3086).then(n.bind(n,13086)),"zh-CN":()=>n.e(4308).then(n.bind(n,84308))}[e]())},29574:(e,t,n)=>{n.d(t,{Zi:()=>_,FI:()=>g,AG:()=>b,Ay:()=>x,lN:()=>f});const l="style_input-file__3JGm6__53bib",a="style_input-file-input__Fb5iw__53bib";var s=n(83136),r=n.n(s),i=n(73884),o=n(55199),c=n(63908),d=n(28987),u=n(80111),p=n.n(u),m=n(70579);const h=e=>t=>{let{className:n,accept:s,multiple:o,onChange:c,children:d,...u}=t;const p=(0,i.useRef)(null);return(0,m.jsxs)(e,{...u,className:r()(n,l),children:[d,!0!==u.disabled&&(0,m.jsx)("input",{ref:p,type:"file",accept:s,multiple:o,className:a,onChange:e=>{const t=[].slice.call(e.target.files,0);0!==t.length&&(p.current.setAttribute("type","text"),p.current.setAttribute("type","file"),c(t))}})]})},_=h(o.Button),g=h((e=>{let{className:t,...n}=e;return(0,m.jsx)(o.Typography.Link,{...n,className:t})})),b=h((e=>{let{className:t,...n}=e;return(0,m.jsx)(o.Typography.Text,{...n,className:r()("ant-btn",t)})})),f=e=>{const{message:t}=o.App.useApp(),{multiple:n,fileSize:l,maxLength:a,value:s,concurrentCount:r,onAdd:u,onError:m,onSave:h,onChange:_,ossUpload:g}=Object.assign({},{concurrentCount:1,value:[]},e),{apis:b}=(0,c.usePreset)(),[f,x]=(0,i.useState)([]),y=(0,i.useRef)(r),v=(0,i.useMemo)((()=>(0,d.A)(y.current)),[]);return{fileList:f,onFileSelected:async e=>{const r=a-s.length;1!==a&&!0===n&&e.length>r?t.error(`\u4e0a\u4f20\u6587\u4ef6\u4e0d\u80fd\u8d85\u8fc7\u6700\u5927\u5141\u8bb8\u6570\u91cf${a}`):await Promise.allSettled(e.map((async e=>{if(e.size>1024*l*1024)return void t.error(`\u6587\u4ef6${e.name}\u4e0d\u80fd\u8d85\u8fc7${l}MB!`);const s=p()(),r=n=>{const l=n.message||`\u6587\u4ef6${e.name}\u4e0a\u4f20\u9519\u8bef${n.message?":"+n.message:""}`;t.error(l),m&&m({file:e,error:n,errMsg:l}),x((e=>{const t=e.slice(0),n=t.findIndex((e=>e.uuid===s));return n>-1&&t.splice(n,1),t}))};try{x(1===a||!0!==n?[{uuid:s,type:"uploading",filename:e.name}]:t=>{const n=t.slice(0);return n.unshift({uuid:s,type:"uploading",filename:e.name}),n}),u&&await Promise.resolve(u(e));const t=g||b.ossUpload,{data:l}=await v((()=>t({file:e})));if(0!==l.code)return void r(new Error(`\u6587\u4ef6${e.name}\u4e0a\u4f20\u5f02\u5e38${l.msg?":"+l.msg:""}`));const i=h?await Promise.resolve(h(l,e,s)):{filename:l.data.originalName||l.data.filename||e.name,id:l.data.id,ossId:l.data.id,uuid:s};x((e=>{const t=e.slice(0),n=t.findIndex((e=>e.uuid===s));return n>-1&&t.splice(n,1),t})),_(1===a||!0!==n?[i]:e=>{const t=e.slice(0);return t.push(i),t})}catch(i){r(i)}})))}}},x=h},97211:(e,t,n)=>{n.d(t,{A:()=>c});var l=n(87558),a=n.n(l),s=n(63908),r=n(34677),i=n.n(r),o=n(70579);const c=e=>{const t=t=>{let{id:n,url:l,error:r,apis:c,loading:d,...u}=t;const{apis:p}=(0,s.usePreset)(),m=i()({},p,c);if(!n)return null;if(!m.oss)throw new Error("\u8bf7\u5728Global\u7ec4\u4ef6\u8bbe\u7f6epreset.apis.oss\u53c2\u6570");const{paramsType:h,paramsName:_,...g}=Object.assign({paramsType:"params",paramsName:"id"},m.oss),b={};return b[h]={[_]:n},(0,o.jsx)(a(),{...Object.assign({},g,b),updateType:"refresh",error:r,loading:d,cache:"oss-file",ttl:6e6,render:t=>{let{data:l}=t;return(0,o.jsx)(e,{...u,id:n,data:l})}})};return t.defaultProps={loading:null},t}},27047:(e,t,n)=>{n.d(t,{A:()=>r});var l=n(83694),a=n(33097),s=n.n(a);const r=()=>{const e=(0,l.useGlobalContext)();return s()(e,"preset",{apis:{}})}},77964:(e,t,n)=>{n.d(t,{A:()=>d});var l=n(73884),a=n(79889),s=n.n(a),r=n(93950),i=n.n(r),o=n(96418),c=n.n(o);const d=(e,t)=>{const n=(0,l.useRef)(null);n.current=Object.assign({},{time:500,isDebounce:!1},t);const a=(0,l.useRef)(null),r=c()(e);return(0,l.useLayoutEffect)((()=>{const e=a.current,t=()=>window.requestAnimationFrame((()=>{e&&r(e)}));t();const l=new ResizeObserver((n.current.isDebounce?i():s())(t,n.current.time));return e&&l.observe(e),()=>{l.disconnect()}}),[r]),a}},81348:(e,t,n)=>{n.d(t,{A:()=>l});const l=(e,t)=>{if(e&&t){const n=Array.isArray(t)?t:t.split(","),l=e.name||"",a=(e.type||"").toLowerCase(),s=a.replace(/\/.*$/,"");return n.some((e=>{const t=e.trim().toLowerCase();return"."===t.charAt(0)?l.toLowerCase().endsWith(t):t.endsWith("/*")?s===t.replace(/\/.*$/,""):a===t}))}return!0}},69484:(e,t,n)=>{n.d(t,{A:()=>a,e:()=>l});const l=1e15,a=e=>{let t,n,a,s=["\u96f6","\u58f9","\u8d30","\u53c1","\u8086","\u4f0d","\u9646","\u67d2","\u634c","\u7396"],r=["","\u62fe","\u4f70","\u4edf"],i=["","\u4e07","\u4ebf","\u5146"],o=["\u89d2","\u5206","\u6beb","\u5398"],c="",d="";if(""===e)return"";if((e=parseFloat(e))>=l)return c="\u8d85\u51fa\u6700\u5927\u5904\u7406\u6570\u5b57",console.error("\u8d85\u51fa\u6700\u5927\u5904\u7406\u6570\u5b57"),c;if(0===e)return c=s[0]+"\u5143\u6574",c;if(e<0&&(e=-e,d="\u8d1f "),-1===(e=e.toString()).indexOf(".")?(t=e,n=""):(a=e.split("."),t=a[0],n=a[1].substr(0,4)),parseInt(t,10)>0){let e=0,n=t.length;for(let l=0;l<n;l++){let a=t.substr(l,1),o=n-l-1,d=o/4,u=o%4;"0"===a?e++:(e>0&&(c+=s[0]),e=0,c+=s[parseInt(a)]+r[u]),0===u&&e<4&&(c+=i[d])}c+="\u5143"}if(""!==n){let e=n.length;for(let t=0;t<e;t++){let e=n.substr(t,1);"0"!==e&&(c+=s[Number(e)]+o[t])}}return""===c?c+=s[0]+"\u5143\u6574":""===n&&(c+="\u6574"),c=d+c,c}},74981:(e,t,n)=>{n.d(t,{A:()=>a});var l=n(73884);const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,l.createContext)(e),{Provider:n,Consumer:a}=t;return{context:t,Provider:n,Consumer:a,useContext:()=>(0,l.useContext)(t)}}},28987:(e,t,n)=>{n.d(t,{A:()=>l});const l=e=>{const t=[];let n=0;const l=()=>{if(0!==t.length){if(n<e){const e=t.shift();n+=1,e().finally((()=>{n-=1,l()}))}}else n=0};return e=>new Promise((n=>{t.push((()=>{const t=Promise.resolve().then((()=>e()));return n(t),t})),l()}))}},55490:(e,t,n)=>{n.d(t,{A:()=>d});var l=n(12322),a=n.n(l),s=n(26727),r=n.n(s),i=n(54052),o=n.n(i);const c=e=>{if(a()(e)){const t=r()(e);return t.length>0&&t.some((e=>c(e)))}return o()(e)?e.length>0&&e.some((e=>c(e))):"number"===typeof e?!isNaN(e):!(void 0===e||null===e||""===e||0===e.length)},d=c},91176:(e,t,n)=>{n.d(t,{j:()=>a,v:()=>l});const l=e=>"number"===typeof e?`${e}px`:e,a=e=>{if(!e)return 0;const t=e.match(/^\d*(\.\d*)?/);return t?Number(t[0]):0}},36:(e,t,n)=>{n.r(t),n.d(t,{AddressEnum:()=>h.qn,AddressInputField:()=>h.TM,AddressSelectField:()=>h.Ay,AdvancedSelectField:()=>_.Ay,CascaderField:()=>b.Ay,FetchButton:()=>o.A,FunctionEnum:()=>f.K,FunctionSelectField:()=>f.A,IndustryEnum:()=>x.W,IndustrySelectField:()=>x.A,InputFileButton:()=>m.Zi,InputFileLink:()=>m.FI,InputFileText:()=>m.AG,ScrollLoader:()=>i.A,SearchInput:()=>u.A,SelectInnerInput:()=>p.A,SimpleBar:()=>d.A,SimpleBarBox:()=>c.A,SuperSelectField:()=>g.A,TableField:()=>_.Bm,TypeDateRangePickerField:()=>y.A,UserField:()=>_.Eo,accept:()=>C.A,changeMoneyToChinese:()=>l.A,createAddressApi:()=>h.LH,createDeferred:()=>j.A,createListField:()=>_.NR,createTreeUtils:()=>b.ON,getContainerBody:()=>a.c,getPopupContainer:()=>s,getScrollEl:()=>a.h,isNotEmpty:()=>A.A,numberToPx:()=>N.v,pxToNumber:()=>N.j,useFileUpload:()=>m.lN,useResize:()=>v.A,withAddressApi:()=>h.DF,withInputFile:()=>m.Ay,withOSSFile:()=>r.A});var l=n(69484),a=n(76801);const s=e=>{const t=e=>{const n=(0,a.h)();if(!e||e===n||!e.parentElement)return n;return[].slice.call(e.classList,0).find((e=>["ant-modal-body","ant-modal-content","ant-popover-content"].indexOf(e)>-1))?e:t(e.parentElement)};return t(e)};var r=n(97211),i=n(26475),o=n(73025),c=n(21485),d=n(17342),u=n(73161),p=n(30509),m=n(29574),h=n(93761),_=n(12392),g=n(35063),b=n(45776),f=n(41654),x=n(53392),y=n(89319),v=n(77964),C=n(81348),j=n(28987),A=n(55490),N=n(91176)},40438:(e,t,n)=>{n.r(t),n.d(t,{default:()=>A});var l=n(87558),a=n.n(l),s=n(97211),r=n(64671),i=n(83136),o=n.n(i),c=n(55199),d=n(73884);const u=e=>{let{params:t}=e;const{data:n}=t;return new Promise(((e,t)=>{const l=new window.Image;l.src=n,l.addEventListener("load",(()=>{e(n)})),l.addEventListener("error",(e=>{t(e)}))}))},p="style_img-outer__4QLY5__53bib",m="style_img__PSExq__53bib",h="style_loading__WCOwA__53bib",_="style_error__+ECgZ__53bib";var g=n(18411),b=n(63908),f=n(70579);const x=e=>{let{data:t,className:n,alt:l,innerLoading:s,loading:r,error:i,innerError:c,children:d,onClick:p,staticUrl:h}=e;const{staticUrl:_}=(0,b.usePreset)(),g=h||_||"";return(0,f.jsx)(a(),{loader:u,params:{data:/^https?:\/\//.test(t)?t:g+t},error:c||i,loading:s||r,render:e=>{let{data:t}=e;return"function"===typeof d?d({alt:l,className:o()(n,m),src:t}):(0,f.jsx)("img",{alt:l,className:o()(n,m),src:t,onClick:p})}})},y=(0,s.A)(x),v=e=>{let{loading:t,error:n,src:l,id:a,alt:s,className:r,children:i,apis:o,onClick:c}=e;const u=t&&(0,d.cloneElement)(t,{className:h}),p=n&&(0,d.cloneElement)(n,{className:_});return l?(0,f.jsx)(x,{alt:s,className:r,data:l,loading:u,error:p,onClick:c,children:i}):a?(0,f.jsx)(y,{alt:s,className:r,id:a,loading:u,innerLoading:u,error:p,innerError:p,apis:o,onClick:c,children:i}):p},C=e=>{let{id:t,src:n,alt:l,onClick:a,loading:s,error:r,className:i,apis:c,...d}=e;return(0,f.jsx)("div",{...d,"data-testid":"components-core-image",className:o()(i,p),children:v({loading:s,error:r,src:n,id:t,alt:l,className:i,apis:c,onClick:a})})};C.Avatar=e=>{let{id:t,src:n,alt:l,gender:a,loading:s,error:i,className:d,gap:u,icon:m,children:h,shape:_,size:g,width:b,height:x,defaultAvatar:y,apis:C,...j}=e;const A=(()=>{const e=b&&x?{style:{width:b,height:x}}:{size:g};if(b&&b!==x&&(_="square"),t||n)return v({loading:s,error:i,src:n,defaultAvatar:y,id:t,alt:l,className:d,apis:C,children:t=>(0,f.jsx)(c.Avatar,{...t,gap:u,shape:_,...e})});if(a){const t=a&&["F","female","f"].indexOf(a)>-1?"icon-color-touxiang-nv":"icon-color-touxiang-nan";return(0,f.jsx)(c.Avatar,{...j,src:(0,f.jsx)(r.default,{role:"touxiang",colorful:!0,type:t}),gap:u,shape:_,...e})}return(0,f.jsx)(c.Avatar,{...j,gap:u,icon:m,shape:_,size:g,src:y,...e,children:h})})();return(0,f.jsx)("div",{...j,"data-testid":"components-core-image-avatar",className:o()(d,p),style:{width:b&&x?b:g,height:b&&x?x:g},children:A})};const j={error:(0,f.jsx)(r.default,{role:"error-icon",colorful:!0,type:"icon-color-touxiang-nan"}),loading:(0,f.jsx)(c.Skeleton.Avatar,{shape:"square",active:!0})};C.defaultProps=Object.assign({},j),C.Avatar.defaultProps=Object.assign({},j,{size:100,defaultAvatar:g.A});const A=C},3382:(e,t,n)=>{n.r(t),n.d(t,{ModalButton:()=>k,TabsModal:()=>O,TabsModalButton:()=>I,default:()=>S,useConfirmModal:()=>N,useModal:()=>A,useTabsModal:()=>P});var l=n(73884),a=n(55199),s=n(83136),r=n.n(s);const i={modal:"style_modal__Pm3cF__53bib",large:"style_large__iaqVE__53bib","modal-body-inner":"style_modal-body-inner__4PhpA__53bib","modal-title":"style_modal-title__dswaw__53bib","modal-outer":"style_modal-outer__r3SkX__53bib","modal-body":"style_modal-body__jQJSI__53bib","right-options-modal":"style_right-options-modal__FajDP__53bib","right-options-row":"style_right-options-row__-mPb9__53bib","right-options-col":"style_right-options-col__3ilee__53bib","is-disabled-scroller":"style_is-disabled-scroller__PmHyk__53bib",content:"style_content__k6MIF__53bib","modal-footer":"style_modal-footer__-prbN__53bib","modal-close":"style_modal-close__Oa5Kl__53bib","confirm-modal-wrap":"style_confirm-modal-wrap__YFImr__53bib","is-danger":"style_is-danger__H5110__53bib",title:"style_title__orTym__53bib","has-title":"style_has-title__qy0Wp__53bib"},o=e=>({"en-US":()=>n.e(4628).then(n.bind(n,74628)),"zh-CN":()=>n.e(7478).then(n.bind(n,87478))}[e]());var c=n(58609),d=n(64671);const u=(e,t)=>"function"===typeof e?e(t):e;var p=n(81014),m=n(17342),h=n(70579);const _="Modal",g=e=>{let{options:t,rightSpan:n=6,children:l}=e;return t?(0,h.jsxs)(a.Row,{wrap:!1,className:i["right-options-row"],children:[(0,h.jsx)(a.Col,{span:24-n,className:i["right-options-col"],children:l}),(0,h.jsx)(a.Col,{span:n,className:i["right-options-col"],children:t})]}):l},b=(e,t)=>e-48-(t?58:0)+"px",f=(e,t)=>"large"===e?{width:`${Math.min(window.innerWidth-64,1500)}px`,style:{"--min-modal-height":b(500,t)}}:"small"===e?{width:"600px",style:{"--min-modal-height":b(300,t)}}:{width:"1000px",style:{"--min-modal-height":b(500,t)}},x=e=>{let{footer:t,footerButtons:n,onConfirm:s,onCancel:r,onClose:i,targetProps:d}=e;return(0,h.jsxs)(a.Row,{gutter:10,wrap:!1,children:[(0,h.jsx)(a.Col,{flex:1,children:t}),Array.isArray(n)&&0===n.length?null:(0,h.jsx)(a.Col,{children:(0,h.jsx)(a.Space,{children:(n||[{children:(0,h.jsx)(c.IntlProvider,{importMessages:o,moduleName:_,children:(0,h.jsx)(c.FormattedMessage,{id:"Cancel",moduleName:_})}),onClick:r},{type:"primary",children:(0,h.jsx)(c.IntlProvider,{importMessages:o,moduleName:_,children:(0,h.jsx)(c.FormattedMessage,{id:"Confirm",moduleName:_})}),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,t)=>{let{ButtonComponent:n,onClick:a,autoClose:s=!0,display:r,...o}=e;const c=n||p.default;return(0,l.createElement)(c,{...o,key:t,onClick:async function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const l=await Promise.resolve(a&&a(...t,d));return s&&!1!==l&&i&&i(),l}})}))})})]})},y=e=>{let{title:t,footer:n,disabledScroller:s,footerButtons:o,onClose:c,closable:u,onConfirm:p,onCancel:_,children:g,targetProps:b}=e;const f=(0,l.useRef)(null);return(0,h.jsxs)("div",{className:i["modal-outer"],"data-testid":"components-core-modal",children:[!1===u?null:(0,h.jsx)(a.Button,{"data-testid":"components-core-modal-close-btn",className:i["modal-close"],type:"text",icon:(0,h.jsx)(d.default,{type:"icon-close-thin"}),onClick:e=>{e.stopPropagation(),c&&c()}}),t&&(0,h.jsx)("div",{className:i["modal-title"],children:t}),(0,h.jsx)(m.A,{className:r()(i["modal-body"],{[i["is-disabled-scroller"]]:s},"modal-body"),ref:f,children:(0,h.jsx)("div",{className:r()(i["modal-body-inner"],"modal-body-inner"),children:g})}),null!==n||o?(0,h.jsx)("div",{className:r()(i["modal-footer"],"modal-footer"),children:(0,h.jsx)(x,{footer:n,footerButtons:o,onConfirm:p,onCancel:_,onClose:c,targetProps:b})}):null]})},v=e=>{let{withDecorator:t,footerButtons:n,title:l,closable:a,onClose:s,onConfirm:r,onCancel:i,footer:o,rightOptions:c,rightSpan:d,disabledScroller:p,childrenRef:m,children:_}=e;const b=e=>(e=Object.assign({},{title:l},e),(0,h.jsx)(y,{title:u(e.title,{...e,childrenRef:m,close:s}),closable:a,onClose:s,onConfirm:r,onCancel:i,footerButtons:u(n,{...e,close:s}),disabledScroller:p,footer:u(o,{...e,childrenRef:m,close:s}),targetProps:Object.assign({},e,{childrenRef:m,close:s}),children:(0,h.jsx)(g,{rightSpan:d,options:u(c,{...e,childrenRef:m,close:s}),children:u(_,{...e,childrenRef:m,close:s})})}));return"function"===typeof t?t(b,{childrenRef:m,close:s}):b({})},C=e=>{let{children:t,rightOptions:n,rightSpan:l,footer:a,footerButtons:s,className:d,size:u,title:p,onClose:m,onConfirm:_,onCancel:g,closable:b,disabledScroller:x,withDecorator:y,childrenRef:C,...j}=e;return{...j,icon:null,centered:!0,title:null,maskClosable:!!j.hasOwnProperty("maskClosable")&&j.maskClosable,destroyOnClose:!0,footer:null,closable:!1,onCancel:m,className:r()(d,i.modal,i[u],{[i["right-options-modal"]]:n}),...f(u,!(null===a&&!s)),children:(0,h.jsx)(c.IntlProvider,{importMessages:o,moduleName:"Modal",children:v({withDecorator:y,title:p,closable:b,onClose:m,onConfirm:_,onCancel:g,footer:a,footerButtons:s,rightOptions:n,rightSpan:l,disabledScroller:x,children:t,childrenRef:C})})}},j=e=>{const t=(0,l.useRef)(null);return(0,h.jsx)(a.Modal,{...C(Object.assign({},e,{childrenRef:t}))})};j.defaultProps={size:"default"};const A=()=>{const{modal:e}=a.App.useApp(),t=(0,l.useRef)(null);return n=>{const l={},{children:a,...s}=C({onClose:()=>l.close(),childrenRef:t,...n}),{destroy:r}=e.info({...s,content:a});return l.close=r,l}},N=()=>{const{modal:e}=a.App.useApp();return t=>{const n={},{type:l,icon:s,title:o,danger:c,wrapClassName:u,message:p,iconSetting:m={},confirmType:_="info",...g}={onClose:()=>n.close(),maskClosable:!1,...t},b=Object.assign({},{info:"icon-xinxi-tianchong",confirm:"icon-tishi-tianchong",warning:"icon-tishi-tianchong",error:"icon-shibai",success:"icon-chenggong"},m);if(e[l]){const{destroy:t}=e[l]({...g,icon:null,wrapClassName:r()(i["confirm-modal-wrap"],u,{[i["is-danger"]]:c}),title:(0,h.jsx)(a.Space,{direction:"vertical",onClick:e=>{e.stopPropagation()},children:o&&(0,h.jsxs)(a.Space,{size:0,align:"start",className:i.title,children:[c?(0,h.jsx)(d.default,{className:r()("title-icon",`title-icon-${"confirm"===l?_:l}`),type:s||b["confirm"===l?_:l]}):null,o]})}),content:(0,h.jsxs)(a.Space,{size:0,align:"start",className:r()(i.content,{[i["has-title"]]:o}),children:[!o&&c?(0,h.jsx)(d.default,{className:r()("title-icon",`title-icon-${"confirm"===l?_:l}`),type:s||b["confirm"===l?_:l]}):null,p]})});n.close=t}return n}},S=j,w=e=>{let{items:t,className:n,activeKey:l,withDecorator:s,defaultActiveKey:i,onChange:o,...c}=e;return{...c,className:r()(n,"tabs-modal"),withDecorator:e=>{const n=n=>(0,h.jsx)(a.Tabs,{items:t.map((t=>{let{withDecorator:l,...a}=t;return Object.assign({},a,{children:"function"===typeof l?l((t=>e(Object.assign({},n,t,{children:a.children})))):e(Object.assign({},n,{children:a.children}))})})),destroyInactiveTabPane:!0,activeKey:l,defaultActiveKey:i,onChange:o});return"function"===typeof s?s(n):n()},children:e=>{let{children:t,...n}=e;return"function"===typeof t?t(n):t}}},O=e=>(0,h.jsx)(S,{...w(e)}),P=()=>{const e=A();return t=>e(w(t))};var L=n(73025);const I=e=>{const t=P();return e.api?(0,h.jsx)(L.A,{...e,modalFunc:t}):(0,h.jsx)(a.Button,{...e,onClick:()=>{t(e.modalProps)}})},k=e=>{const t=A();if(!e.api){const{modalProps:n,...l}=e;return(0,h.jsx)(a.Button,{...l,onClick:()=>{t(n)}})}return(0,h.jsx)(L.A,{...e,modalFunc:t})}},25438:(e,t,n)=>{n.d(t,{A:()=>l});const l={"search-input":"common_search-input__P6qLg__53bib","is-popup":"common_is-popup__fJq+g__53bib",list:"common_list__TKFzS__53bib","list-item":"common_list-item__ASse7__53bib","is-selected":"common_is-selected__-PU4Y__53bib","item-label":"common_item-label__u+qz1__53bib","item-des":"common_item-des__no2z0__53bib"}}}]);
2
- //# sourceMappingURL=36.6c73ca4c.chunk.js.map