@kne-components/components-core 0.4.28 → 0.4.30

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 (199) hide show
  1. package/build/asset-manifest.json +130 -128
  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/109.1873167c.chunk.css +2 -0
  6. package/build/static/css/109.1873167c.chunk.css.map +1 -0
  7. package/build/static/css/1381.e42b85d0.chunk.css +2 -0
  8. package/build/static/css/1381.e42b85d0.chunk.css.map +1 -0
  9. package/build/static/css/{1996.9cd7f856.chunk.css → 1996.d05e2b78.chunk.css} +2 -2
  10. package/build/static/css/{1996.9cd7f856.chunk.css.map → 1996.d05e2b78.chunk.css.map} +1 -1
  11. package/build/static/css/2004.dbaf2380.chunk.css +2 -0
  12. package/build/static/css/{2004.c8a6363e.chunk.css.map → 2004.dbaf2380.chunk.css.map} +1 -1
  13. package/build/static/css/{1557.6107824e.chunk.css → 2054.730ac615.chunk.css} +1 -1
  14. package/build/static/css/{1557.6107824e.chunk.css.map → 2054.730ac615.chunk.css.map} +1 -1
  15. package/build/static/css/206.4cbec68a.chunk.css +2 -0
  16. package/build/static/css/{206.a935dafb.chunk.css.map → 206.4cbec68a.chunk.css.map} +1 -1
  17. package/build/static/css/254.dbbc3989.chunk.css +2 -0
  18. package/build/static/css/{254.ac648540.chunk.css.map → 254.dbbc3989.chunk.css.map} +1 -1
  19. package/build/static/css/2628.57098339.chunk.css +2 -0
  20. package/build/static/css/2628.57098339.chunk.css.map +1 -0
  21. package/build/static/css/{2765.08ff2d5e.chunk.css → 2765.5b9f9d54.chunk.css} +2 -2
  22. package/build/static/css/2765.5b9f9d54.chunk.css.map +1 -0
  23. package/build/static/css/3404.76714db0.chunk.css +2 -0
  24. package/build/static/css/{3404.972973d9.chunk.css.map → 3404.76714db0.chunk.css.map} +1 -1
  25. package/build/static/css/{3771.7315c9e5.chunk.css → 3771.754f56fe.chunk.css} +2 -2
  26. package/build/static/css/{3771.7315c9e5.chunk.css.map → 3771.754f56fe.chunk.css.map} +1 -1
  27. package/build/static/css/{3790.b6d59ea3.chunk.css → 3790.21afa6d3.chunk.css} +2 -2
  28. package/build/static/css/{3790.b6d59ea3.chunk.css.map → 3790.21afa6d3.chunk.css.map} +1 -1
  29. package/build/static/css/4741.9c33bd07.chunk.css +2 -0
  30. package/build/static/css/4741.9c33bd07.chunk.css.map +1 -0
  31. package/build/static/css/4834.611e3576.chunk.css +2 -0
  32. package/build/static/css/{4834.05644e2c.chunk.css.map → 4834.611e3576.chunk.css.map} +1 -1
  33. package/build/static/css/5195.7c8d5e99.chunk.css +2 -0
  34. package/build/static/css/{5195.fbebf6ec.chunk.css.map → 5195.7c8d5e99.chunk.css.map} +1 -1
  35. package/build/static/css/5633.e42b85d0.chunk.css +2 -0
  36. package/build/static/css/5633.e42b85d0.chunk.css.map +1 -0
  37. package/build/static/css/{6763.f70c34c0.chunk.css → 6763.b1015e7d.chunk.css} +2 -2
  38. package/build/static/css/{6763.f70c34c0.chunk.css.map → 6763.b1015e7d.chunk.css.map} +1 -1
  39. package/build/static/css/7227.83ce58e5.chunk.css +2 -0
  40. package/build/static/css/{7227.95094dfc.chunk.css.map → 7227.83ce58e5.chunk.css.map} +1 -1
  41. package/build/static/css/7371.a683ece7.chunk.css +2 -0
  42. package/build/static/css/{7371.89331e8b.chunk.css.map → 7371.a683ece7.chunk.css.map} +1 -1
  43. package/build/static/css/{7477.487defad.chunk.css → 7477.99d0224e.chunk.css} +2 -2
  44. package/build/static/css/7477.99d0224e.chunk.css.map +1 -0
  45. package/build/static/css/7548.a9431451.chunk.css +12 -0
  46. package/build/static/css/{7548.a7c14f30.chunk.css.map → 7548.a9431451.chunk.css.map} +1 -1
  47. package/build/static/css/{760.a976791a.chunk.css → 760.cd339b1a.chunk.css} +2 -2
  48. package/build/static/css/{760.a976791a.chunk.css.map → 760.cd339b1a.chunk.css.map} +1 -1
  49. package/build/static/css/7987.e42b85d0.chunk.css +2 -0
  50. package/build/static/css/7987.e42b85d0.chunk.css.map +1 -0
  51. package/build/static/css/833.1a565f75.chunk.css +2 -0
  52. package/build/static/css/833.1a565f75.chunk.css.map +1 -0
  53. package/build/static/css/{8593.47127801.chunk.css → 8593.b8ea74db.chunk.css} +2 -2
  54. package/build/static/css/{8593.47127801.chunk.css.map → 8593.b8ea74db.chunk.css.map} +1 -1
  55. package/build/static/css/9556.2a151516.chunk.css +2 -0
  56. package/build/static/css/{9556.5a5a795a.chunk.css.map → 9556.2a151516.chunk.css.map} +1 -1
  57. package/build/static/js/109.419ab2f4.chunk.js +2 -0
  58. package/build/static/js/109.419ab2f4.chunk.js.map +1 -0
  59. package/build/static/js/{1353.fd09bcfe.chunk.js → 1353.86380296.chunk.js} +3 -3
  60. package/build/static/js/{1353.fd09bcfe.chunk.js.map → 1353.86380296.chunk.js.map} +1 -1
  61. package/build/static/js/1381.59a6d047.chunk.js +1 -0
  62. package/build/static/js/1873.c049ba4e.chunk.js +2 -0
  63. package/build/static/js/{1873.97366266.chunk.js.map → 1873.c049ba4e.chunk.js.map} +1 -1
  64. package/build/static/js/1996.13639792.chunk.js +2 -0
  65. package/build/static/js/{1996.25264cc5.chunk.js.map → 1996.13639792.chunk.js.map} +1 -1
  66. package/build/static/js/{2004.7bd49536.chunk.js → 2004.e6054101.chunk.js} +3 -3
  67. package/build/static/js/{2004.7bd49536.chunk.js.map → 2004.e6054101.chunk.js.map} +1 -1
  68. package/build/static/js/{1557.8f5a4646.chunk.js → 2054.0c582959.chunk.js} +2 -2
  69. package/build/static/js/2054.0c582959.chunk.js.map +1 -0
  70. package/build/static/js/206.50517d4f.chunk.js +2 -0
  71. package/build/static/js/{206.a5bb3fec.chunk.js.map → 206.50517d4f.chunk.js.map} +1 -1
  72. package/build/static/js/2242.c2fa94c7.chunk.js +2 -0
  73. package/build/static/js/2242.c2fa94c7.chunk.js.map +1 -0
  74. package/build/static/js/254.8df18f89.chunk.js +2 -0
  75. package/build/static/js/254.8df18f89.chunk.js.map +1 -0
  76. package/build/static/js/{2601.609be224.chunk.js → 2601.81fbb481.chunk.js} +2 -2
  77. package/build/static/js/{2601.609be224.chunk.js.map → 2601.81fbb481.chunk.js.map} +1 -1
  78. package/build/static/js/2628.b65d7749.chunk.js +2 -0
  79. package/build/static/js/{2628.595368d6.chunk.js.map → 2628.b65d7749.chunk.js.map} +1 -1
  80. package/build/static/js/{2723.5102d745.chunk.js → 2723.708b5e9f.chunk.js} +1 -1
  81. package/build/static/js/2931.2ad9df38.chunk.js +2 -0
  82. package/build/static/js/2931.2ad9df38.chunk.js.map +1 -0
  83. package/build/static/js/{3404.467445f5.chunk.js → 3404.a9058f8f.chunk.js} +3 -3
  84. package/build/static/js/{3404.467445f5.chunk.js.map → 3404.a9058f8f.chunk.js.map} +1 -1
  85. package/build/static/js/3771.e78f2a4a.chunk.js +2 -0
  86. package/build/static/js/{3771.e1560eb6.chunk.js.map → 3771.e78f2a4a.chunk.js.map} +1 -1
  87. package/build/static/js/{3790.948e94e4.chunk.js → 3790.b623c0cf.chunk.js} +2 -2
  88. package/build/static/js/{3790.948e94e4.chunk.js.map → 3790.b623c0cf.chunk.js.map} +1 -1
  89. package/build/static/js/380.07f10175.chunk.js +1 -0
  90. package/build/static/js/3856.bf0c7116.chunk.js +2 -0
  91. package/build/static/js/{3856.5cbe4986.chunk.js.map → 3856.bf0c7116.chunk.js.map} +1 -1
  92. package/build/static/js/4179.5e756a44.chunk.js +2 -0
  93. package/build/static/js/4179.5e756a44.chunk.js.map +1 -0
  94. package/build/static/js/4297.3da423b7.chunk.js +2 -0
  95. package/build/static/js/4297.3da423b7.chunk.js.map +1 -0
  96. package/build/static/js/4474.6f0ac7ff.chunk.js +2 -0
  97. package/build/static/js/4474.6f0ac7ff.chunk.js.map +1 -0
  98. package/build/static/js/{4834.e6764c95.chunk.js → 4834.496beb83.chunk.js} +2 -2
  99. package/build/static/js/{4834.e6764c95.chunk.js.map → 4834.496beb83.chunk.js.map} +1 -1
  100. package/build/static/js/{4982.eaa128a6.chunk.js → 4982.5f9f97e6.chunk.js} +2 -2
  101. package/build/static/js/{4982.eaa128a6.chunk.js.map → 4982.5f9f97e6.chunk.js.map} +1 -1
  102. package/build/static/js/5083.4e45cda2.chunk.js +3 -0
  103. package/build/static/js/5083.4e45cda2.chunk.js.map +1 -0
  104. package/build/static/js/5195.9aec6951.chunk.js +2 -0
  105. package/build/static/js/{5195.bb6ecaf9.chunk.js.map → 5195.9aec6951.chunk.js.map} +1 -1
  106. package/build/static/js/{5633.fdaea706.chunk.js → 5633.5d80e028.chunk.js} +1 -1
  107. package/build/static/js/6658.c260a60a.chunk.js +2 -0
  108. package/build/static/js/6658.c260a60a.chunk.js.map +1 -0
  109. package/build/static/js/6763.583fcd35.chunk.js +2 -0
  110. package/build/static/js/{6763.28246a09.chunk.js.map → 6763.583fcd35.chunk.js.map} +1 -1
  111. package/build/static/js/{7227.88a380c7.chunk.js → 7227.03b479f4.chunk.js} +3 -3
  112. package/build/static/js/{7227.88a380c7.chunk.js.map → 7227.03b479f4.chunk.js.map} +1 -1
  113. package/build/static/js/{7371.268702b8.chunk.js → 7371.7f6eb933.chunk.js} +2 -2
  114. package/build/static/js/{7371.268702b8.chunk.js.map → 7371.7f6eb933.chunk.js.map} +1 -1
  115. package/build/static/js/7451.1f72dae0.chunk.js +2 -0
  116. package/build/static/js/{7451.ce7c7b67.chunk.js.map → 7451.1f72dae0.chunk.js.map} +1 -1
  117. package/build/static/js/{7548.69dd9b4f.chunk.js → 7548.097ae448.chunk.js} +2 -2
  118. package/build/static/js/{7548.69dd9b4f.chunk.js.map → 7548.097ae448.chunk.js.map} +1 -1
  119. package/build/static/js/7591.9bbe259b.chunk.js +2 -0
  120. package/build/static/js/7591.9bbe259b.chunk.js.map +1 -0
  121. package/build/static/js/{760.e716cb0c.chunk.js → 760.bcf956eb.chunk.js} +2 -2
  122. package/build/static/js/{760.e716cb0c.chunk.js.map → 760.bcf956eb.chunk.js.map} +1 -1
  123. package/build/static/js/{833.b7aae7b5.chunk.js → 833.81006c96.chunk.js} +2 -2
  124. package/build/static/js/{833.b7aae7b5.chunk.js.map → 833.81006c96.chunk.js.map} +1 -1
  125. package/build/static/js/{8593.3ce9f39e.chunk.js → 8593.8a582af6.chunk.js} +2 -2
  126. package/build/static/js/{8593.3ce9f39e.chunk.js.map → 8593.8a582af6.chunk.js.map} +1 -1
  127. package/build/static/js/8985.79e86185.chunk.js +2 -0
  128. package/build/static/js/8985.79e86185.chunk.js.map +1 -0
  129. package/build/static/js/{9556.aa1e5558.chunk.js → 9556.a262c4bd.chunk.js} +3 -3
  130. package/build/static/js/{9556.aa1e5558.chunk.js.map → 9556.a262c4bd.chunk.js.map} +1 -1
  131. package/build/static/js/main.f2927dad.js +2 -0
  132. package/build/static/js/main.f2927dad.js.map +1 -0
  133. package/package.json +4 -4
  134. package/build/static/css/1381.50789e2f.chunk.css +0 -2
  135. package/build/static/css/1381.50789e2f.chunk.css.map +0 -1
  136. package/build/static/css/2004.c8a6363e.chunk.css +0 -2
  137. package/build/static/css/206.a935dafb.chunk.css +0 -2
  138. package/build/static/css/2109.e4a9d518.chunk.css +0 -2
  139. package/build/static/css/2109.e4a9d518.chunk.css.map +0 -1
  140. package/build/static/css/254.ac648540.chunk.css +0 -2
  141. package/build/static/css/2628.02fdbddc.chunk.css +0 -2
  142. package/build/static/css/2628.02fdbddc.chunk.css.map +0 -1
  143. package/build/static/css/2765.08ff2d5e.chunk.css.map +0 -1
  144. package/build/static/css/3404.972973d9.chunk.css +0 -2
  145. package/build/static/css/4741.83940f33.chunk.css +0 -2
  146. package/build/static/css/4741.83940f33.chunk.css.map +0 -1
  147. package/build/static/css/4834.05644e2c.chunk.css +0 -2
  148. package/build/static/css/5195.fbebf6ec.chunk.css +0 -2
  149. package/build/static/css/5633.50789e2f.chunk.css +0 -2
  150. package/build/static/css/5633.50789e2f.chunk.css.map +0 -1
  151. package/build/static/css/7227.95094dfc.chunk.css +0 -2
  152. package/build/static/css/7371.89331e8b.chunk.css +0 -2
  153. package/build/static/css/7477.487defad.chunk.css.map +0 -1
  154. package/build/static/css/7548.a7c14f30.chunk.css +0 -12
  155. package/build/static/css/833.0137cc02.chunk.css +0 -2
  156. package/build/static/css/833.0137cc02.chunk.css.map +0 -1
  157. package/build/static/css/9556.5a5a795a.chunk.css +0 -2
  158. package/build/static/js/1381.46df94ac.chunk.js +0 -1
  159. package/build/static/js/1557.8f5a4646.chunk.js.map +0 -1
  160. package/build/static/js/1873.97366266.chunk.js +0 -2
  161. package/build/static/js/1996.25264cc5.chunk.js +0 -2
  162. package/build/static/js/206.a5bb3fec.chunk.js +0 -2
  163. package/build/static/js/2109.f0e29277.chunk.js +0 -2
  164. package/build/static/js/2109.f0e29277.chunk.js.map +0 -1
  165. package/build/static/js/2242.af66c223.chunk.js +0 -2
  166. package/build/static/js/2242.af66c223.chunk.js.map +0 -1
  167. package/build/static/js/2470.990e7d25.chunk.js +0 -2
  168. package/build/static/js/2470.990e7d25.chunk.js.map +0 -1
  169. package/build/static/js/254.c9ff48c8.chunk.js +0 -2
  170. package/build/static/js/254.c9ff48c8.chunk.js.map +0 -1
  171. package/build/static/js/2628.595368d6.chunk.js +0 -2
  172. package/build/static/js/3771.e1560eb6.chunk.js +0 -2
  173. package/build/static/js/380.6ead958e.chunk.js +0 -1
  174. package/build/static/js/3856.5cbe4986.chunk.js +0 -2
  175. package/build/static/js/4179.5144a7ef.chunk.js +0 -2
  176. package/build/static/js/4179.5144a7ef.chunk.js.map +0 -1
  177. package/build/static/js/4297.6e10a35d.chunk.js +0 -2
  178. package/build/static/js/4297.6e10a35d.chunk.js.map +0 -1
  179. package/build/static/js/4474.a3fb3110.chunk.js +0 -2
  180. package/build/static/js/4474.a3fb3110.chunk.js.map +0 -1
  181. package/build/static/js/5195.bb6ecaf9.chunk.js +0 -2
  182. package/build/static/js/6763.28246a09.chunk.js +0 -2
  183. package/build/static/js/7451.ce7c7b67.chunk.js +0 -2
  184. package/build/static/js/816.2713b27e.chunk.js +0 -3
  185. package/build/static/js/816.2713b27e.chunk.js.map +0 -1
  186. package/build/static/js/820.2a848ead.chunk.js +0 -2
  187. package/build/static/js/820.2a848ead.chunk.js.map +0 -1
  188. package/build/static/js/8481.99dda967.chunk.js +0 -2
  189. package/build/static/js/8481.99dda967.chunk.js.map +0 -1
  190. package/build/static/js/8985.4aa32141.chunk.js +0 -2
  191. package/build/static/js/8985.4aa32141.chunk.js.map +0 -1
  192. package/build/static/js/main.cbb2f5b5.js +0 -2
  193. package/build/static/js/main.cbb2f5b5.js.map +0 -1
  194. /package/build/static/js/{1353.fd09bcfe.chunk.js.LICENSE.txt → 1353.86380296.chunk.js.LICENSE.txt} +0 -0
  195. /package/build/static/js/{2004.7bd49536.chunk.js.LICENSE.txt → 2004.e6054101.chunk.js.LICENSE.txt} +0 -0
  196. /package/build/static/js/{3404.467445f5.chunk.js.LICENSE.txt → 3404.a9058f8f.chunk.js.LICENSE.txt} +0 -0
  197. /package/build/static/js/{816.2713b27e.chunk.js.LICENSE.txt → 5083.4e45cda2.chunk.js.LICENSE.txt} +0 -0
  198. /package/build/static/js/{7227.88a380c7.chunk.js.LICENSE.txt → 7227.03b479f4.chunk.js.LICENSE.txt} +0 -0
  199. /package/build/static/js/{9556.aa1e5558.chunk.js.LICENSE.txt → 9556.a262c4bd.chunk.js.LICENSE.txt} +0 -0
@@ -0,0 +1,2 @@
1
+ (self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[254,330],{330:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>l});var r=s(29871),n=s.n(r),a={};for(const o in r)"default"!==o&&(a[o]=()=>r[o]);s.d(t,a),n().Fetch=r.FlexBoxFetch;const l=n()},1904:(e,t,s)=>{"use strict";s.d(t,{A:()=>i,N:()=>c});var r=s(98434),n=s(43856);const{useOnChange:a,useDecorator:l}=r.hooks,o=e=>a(Object.assign({},{placeholder:"\u8bf7\u9009\u62e9"+e.label},e))(n.AddressSelectField);o.Field=n.AddressSelectField,o.AddressEnum=n.AddressSelectField.AddressEnum,o.createAddressApi=n.AddressSelectField.createAddressApi,o.withAddressApi=n.AddressSelectField.withAddressApi;const i=o,c=e=>l(Object.assign({},{placeholder:"\u8bf7\u9009\u62e9"+e.label,inputPlaceholder:"\u8bf7\u8f93\u5165"+e.label},e))(n.AddressInputField);c.Field=n.AddressInputField},2196:(e,t,s)=>{"use strict";s.d(t,{A:()=>h});var r=s(53986),n=s(55199),a=s(73884),l=s(41381),o=s(330),i=s(82962),c=s(47094),d=s(83136),u=s.n(d),m=s(70579);const p=["list","groupArgs","itemRender","column","gap","className","outer","children"],h=e=>{let{list:t=[],groupArgs:s,itemRender:d,column:h=2,gap:g,className:x,outer:f=(0,m.jsx)(l.default.Part,{}),children:A}=e,_=(0,r.A)(e,p);const v=!(Number.isInteger(h)&&h>0),{ref:y,column:j}=(0,o.useFlexBox)(v?h:{}),b=(e,r)=>(0,m.jsx)(i.FormInfo,{list:t,column:e,groupArgs:s,itemRender:(e,t)=>"function"===typeof d?d(e,t):(0,m.jsx)(n.Col,{span:t.span,children:e}),children:(e,t)=>(0,m.jsx)(n.Row,{gutter:[g||24,0],className:u()({[c.A["column-not-layout"]]:r}),children:"function"===typeof A?A(e,t):e})});return(0,a.cloneElement)(f,Object.assign({},_,{className:u()(x,c.A["form-info"])}),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{ref:y}),v?j?b(j.col):b(2,!0):b(h)]}))}},2842:(e,t,s)=>{"use strict";s.d(t,{default:()=>n.a});s(2885);var r=s(48553),n=s.n(r);s.o(r,"PHONE_NUMBER_INPUT")&&s.d(t,{PHONE_NUMBER_INPUT:function(){return r.PHONE_NUMBER_INPUT}})},2885:()=>{},5995:(e,t,s)=>{"use strict";s.d(t,{Ay:()=>p,Vl:()=>h,W6:()=>g});var r=s(53986),n=s(89379),a=s(3382),l=s(73025),o=s(55199),i=s(76995),c=s(47094),d=s(70579);const u=["classNames"],m=["modalProps"],p=e=>(0,d.jsx)(a.default,(0,n.A)({},(0,i.A)(Object.assign({},e,{className:c.A["form-modal"]})))),h=()=>{const e=(0,a.useModal)();return t=>e((0,i.A)(Object.assign({},t,{className:c.A["form-modal"]})))},g=e=>{let{classNames:t}=e,s=(0,r.A)(e,u);const a=h();if(!s.api){const{modalProps:e}=s,t=(0,r.A)(s,m);return(0,d.jsx)(o.Button,(0,n.A)((0,n.A)({},t),{},{onClick:()=>{a(e)}}))}return(0,d.jsx)(l.A,(0,n.A)((0,n.A)({},s),{},{modalFunc:a}))}},15209:(e,t,s)=>{"use strict";s.d(t,{A:()=>h});var r=s(53986),n=s(89379),a=s(20454),l=s(55199),o=s(10986),i=s.n(o),c=s(13050),d=s(70579);const u=["remoteModules"],m=e=>{let t=Object.assign({},((0,a.A)(e),e));const[s,r]=i()(t);return(0,d.jsx)(l.Input,(0,n.A)((0,n.A)({},t),{},{value:s,onChange:e=>{r(e.target.value?e.target.value.toUpperCase():e.target.value,e)}}))},p=(0,c.createWithRemoteLoader)({modules:["FormInfo@formModule"]})(e=>{let{remoteModules:t}=e,s=(0,r.A)(e,u);const[n]=t,{hooks:a}=n,{useDecorator:l}=a;return l(Object.assign({placeholder:"\u8bf7\u8f93\u5165".concat(s.label||"")},s))(m)});p.field=m;const h=p},15445:(e,t,s)=>{"use strict";s.d(t,{A:()=>ne,E:()=>ae});var r=s(89379),n=s(53986),a=s(98434),l=s(30096),o=s(34643),i=s(1904),c=s(83230),d=s(55199),u=s(70579);const{useOnChange:m}=a.hooks,p=e=>(0,u.jsx)(d.ColorPicker,(0,r.A)((0,r.A)({},e),{},{onChange:t=>e.onChange(t.toHexString())})),h=e=>m(Object.assign({},e))(p);h.Field=h;const g=h;var x=s(81026),f=s(78756),A=s(92328),_=s(2842);const v=["checked","children"],{useOnChange:y,useCheckedToValue:j}=a.hooks,{withChecked:b}=a.hoc,N=b(e=>{let{checked:t,children:s=null}=e,a=(0,n.A)(e,v);return(0,u.jsxs)(d.Space,{children:[(0,u.jsx)(d.Switch,(0,r.A)({checked:t},a)),"function"===typeof s?s({checked:t}):s]})}),S=e=>{e=Object.assign({},{fieldName:"switch"},e);const t=j(e);return y(t)(N)};S.Field=d.Switch;const C=S;var w=s(89099),F=s(96339),I=s(36972),P=s(15209),M=s(74529),T=s.n(M),k=s(73884),R=s(47458),O=s(33097),E=s.n(O),L=s(21079),J=s(46237),D=s(56259),B=s(29556),U=s(64671),z=s(83136),W=s.n(z),q=s(47094);const G=["forwardedRef","label","placeholder"],V=["placeholder","label"],H=["placeholder","label"],Q=["placeholder","label","soFarText"],X=e=>t=>{const s=T()(...e)(e=>{let{forwardedRef:s,label:a,placeholder:l}=e,o=(0,n.A)(e,G);return(0,u.jsx)(t,(0,r.A)((0,r.A)({},o),{},{label:a,placeholder:l,labelRender:()=>o.tips?(0,u.jsxs)(d.Space,{children:[a,(0,u.jsx)(B.default,{content:o.tips,children:(0,u.jsx)("span",{className:W()(q.A["field-tips"],{[q.A["label-hidden"]]:o.labelHidden}),children:(0,u.jsx)(U.default,{type:"icon-xinxi-miaobian"})})})]}):a,ref:s}))}),a=(0,k.forwardRef)((e,t)=>(0,u.jsx)(s,(0,r.A)((0,r.A)({},e),{},{forwardedRef:t})));return Object.keys(t).filter(e=>-1===["$$typeof","render","field"].indexOf(e)).forEach(e=>{a[e]=t[e]}),a},Y=e=>t=>{let{placeholder:s,label:a}=t,l=(0,n.A)(t,V);return(0,u.jsx)(R.FormattedMessage,{id:"defaultInputPlaceholder",moduleName:"FormInfo",values:{label:a},children:t=>(0,u.jsx)(e,(0,r.A)((0,r.A)({},l),{},{label:a,placeholder:s||t}))})},K=e=>t=>{let{placeholder:s,label:a}=t,l=(0,n.A)(t,H);return(0,u.jsx)(R.FormattedMessage,{id:"defaultSelectPlaceholder",moduleName:"FormInfo",values:{label:a},children:t=>(0,u.jsx)(e,(0,r.A)((0,r.A)({},l),{},{label:a,placeholder:s||t}))})},$=e=>t=>{const s=(0,a.useGroup)(),n=E()(s,"name"),l=(0,L.get)(s,"index"),o=(0,J.oc)();return o&&Array.isArray(o)&&o.length>0?o.map(s=>{if("string"===typeof s)return(0,k.createElement)(e,(0,r.A)((0,r.A)({},t),{},{key:s}));const{name:a,label:o,options:i}=s,c=E()(i,"ignore",[]),d=E()(i,"disabled",[]),u=E()(i,"fields",[]),m=e=>t.name===e.name&&!(e.hasOwnProperty("groupName")&&e.groupName!==n)&&!(e.hasOwnProperty("groupIndex")&&e.groupIndex!==l);if(c.length>0&&c.find(m))return null;if(u.length>0&&!u.find(m))return null;let p=Object.assign({},t,{name:E()(i,"nameTransform",(e,t)=>"".concat(e).concat(t))(t.name,a),label:E()(i,"labelTransform",(e,t)=>e&&"".concat(e).concat(t))(t.label,o)});return d.length>0&&d.find(m)&&(p.disabled=!0,p.rule=""),(0,k.createElement)(e,(0,r.A)((0,r.A)({},p),{},{key:a}))}):(0,u.jsx)(e,(0,r.A)({},t))},Z=X([$,Y])(a.Input),ee=X([$,Y])(a.InputNumber);Z.Password=X([$,Y])(a.Input.Password);const te=X([$,K])(a.DatePicker);te.MonthPicker=X([$,K])(a.DatePicker.MonthPicker),te.RangePicker=X([$,K])(a.DatePicker.RangePicker),te.WeekPicker=X([$,K])(a.DatePicker.WeekPicker);const se=X([$,K])(a.TimePicker);se.RangePicker=X([$,K])(a.TimePicker.RangePicker);const re=X([$])(e=>{let{placeholder:t,label:s,soFarText:l}=e,o=(0,n.A)(e,Q);const{formatMessage:i}=(0,R.useIntl)({moduleName:"FormInfo"});return(0,u.jsx)(a.DatePickerToday,(0,r.A)((0,r.A)({},o),{},{label:s,placeholder:[i({id:"startDate"}),i({id:"endDate"})],soFarText:l||i({id:"soFarText"})}))}),ne={Input:Z,Checkbox:a.Checkbox,Password:Z.Password,InputNumber:ee,DatePicker:te,MonthPicker:te.MonthPicker,WeekPicker:te.WeekPicker,DateRangePicker:te.RangePicker,TimeRangePicker:se.RangePicker,TimePicker:se,DatePickerToday:re,RadioGroup:X([$])(a.RadioGroup),CheckboxGroup:X([$])(a.CheckboxGroup),Rate:X([$])(a.Rate),Switch:X([$])(C),Slider:X([$])(a.Slider),SalaryInput:X([$,Y])(I.A),TypeDateRangePicker:X([$])(D.A),MoneyInput:X([$,Y])(A.A),PhoneNumber:X([$,Y])(_.default),Upload:X([$])(w.A),Avatar:X([$])(F.A),FunctionSelect:X([$,K])(x.A),IndustrySelect:X([$,K])(f.A),Cascader:X([$,K])(c.A),ColorPicker:X([$,K])(g),AddressSelect:X([$,K])(i.A),AddressInput:X([$,K])(i.N),TreeSelect:X([$,K])(a.TreeSelect),ReactInputNumber:X([$,Y])(a.InputNumber),InputUpperCase:X([$,Y])(P.A),Select:X([$,K])(a.Select),TextArea:X([$,Y])(a.TextArea),AdvancedSelect:X([$,K])(l.Ay),SuperSelect:X([$,K])(o.Ay),SuperSelectTableList:X([$,K])(o.eM),SuperSelectUser:X([$,K])(o.Pg),SuperSelectTree:X([$,K])(o.kx)},ae={createWithFieldDecorator:X,withInputDefaultPlaceholder:Y,withSelectDefaultPlaceholder:K,withLang:$}},17448:()=>{},18936:(e,t,s)=>{"use strict";s.d(t,{A:()=>B});var r=s(89379),n=s(53986);const a={"ant-tag":"style_ant-tag__7ct2q__5xs4J",overlay:"style_overlay__CXfU5__5xs4J",input:"style_input__+OpvV__5xs4J","is-disabled":"style_is-disabled__uX4qq__5xs4J","input-icon":"style_input-icon__E3NjK__5xs4J",large:"style_large__vMozz__5xs4J",small:"style_small__ubqQ+__5xs4J","input-inner":"style_input-inner__sY-6k__5xs4J","input-custom":"style_input-custom__Kxq3n__5xs4J","display-content":"style_display-content__qA1jn__5xs4J","overlay-footer-extra":"style_overlay-footer-extra__yCzWX__5xs4J","selected-tag":"style_selected-tag__BZsMM__5xs4J","selected-tag-list":"style_selected-tag-list__As0ho__5xs4J","selected-tag-inner":"style_selected-tag-inner__2NH59__5xs4J","text-inner":"style_text-inner__Bq2Ji__5xs4J",placeholder:"style_placeholder__odotY__5xs4J","is-modal":"style_is-modal__4cj8L__5xs4J","overlay-content":"style_overlay-content__kpGRn__5xs4J"};var l=s(74981);const{context:o,useContext:i,Provider:c,Consumer:d}=(0,l.A)();var u=s(73884),m=s(10986),p=s.n(m),h=s(87558),g=s(33097),x=s.n(g),f=s(55199),A=s(83136),_=s.n(A),v=s(3382),y=s(64671),j=s(79686),b=s.n(j),N=s(41740),S=s.n(N),C=s(74065),w=s.n(C),F=s(17342),I=s(70579);const P=["value","onChange","extra","showSelectedTag","renderSelectedContent","children"],M=["value","setValue","children","renderSelectedContent","showSelectedTag","placement","inputContent","single","extra","overlayWidth","wrapClassName"],T=["setFetchApi","wrapClassName"],k=["api","className","displayItems","wrapClassName"],R=e=>{let{maxLength:t,single:s,setValue:r,value:n,message:a}=e;return e=>r(!s&&Number.isInteger(t)&&t>0&&e.length>t?(a("\u6700\u591a\u9009\u62e9".concat(t,"\u4e2a")),n):e)},O=e=>{let{single:t,value:s,mapping:r,onClose:n}=e;return s&&Array.isArray(s)&&0!==s.length?t?(0,I.jsx)("span",{className:a["text-inner"],children:x()(r.get(s[0]),"label")||s[0]}):s.map(e=>{const t=r.get(e);return(0,I.jsx)(f.Tag,{className:a["display-tag"],closable:!0,onClose:s=>{s.preventDefault(),n(e,t)},children:(0,I.jsx)("span",{className:a["tag-inner"],children:x()(t,"label")||e})},e)}):null},E=(0,u.forwardRef)((e,t)=>{let{value:s,onChange:l,extra:o,showSelectedTag:i,renderSelectedContent:c,children:d}=e,m=(0,n.A)(e,P);const[p,h]=(0,u.useState)(s),g=(0,u.useRef)(s);g.current=s;const[x,A]=(0,u.useState)(!1),{message:_}=f.App.useApp(),y=R({maxLength:m.maxLength,single:m.single,setValue:h,value:p,message:_.error});return(0,u.useEffect)(()=>{x&&h(g.current)},[x]),(0,u.useImperativeHandle)(t,()=>({modalOpen:()=>{A(!0)},close:()=>{A(!1)}})),(0,I.jsx)(v.default,(0,r.A)((0,r.A)({},m),{},{open:x,onConfirm:()=>{l(p)},onClose:()=>{A(!1)},footer:(i||o)&&(0,I.jsxs)(f.Space,{direction:"vertical",className:a["overlay-footer"],children:[o&&(0,I.jsx)("div",{className:a["overlay-footer-extra"],children:o}),i&&c({value:p,setValue:y})]}),children:"function"===typeof d?d({value:p,setValue:y}):d}))}),L=(0,u.forwardRef)((e,t)=>{let{value:s,setValue:l,children:o,renderSelectedContent:i,showSelectedTag:c,placement:d,inputContent:m,single:p,extra:h,overlayWidth:g,wrapClassName:x}=e,A=(0,n.A)(e,M);const[_,v]=(0,u.useState)(!1);return(0,u.useImperativeHandle)(t,()=>({close:()=>{v(!1)}}),[]),(0,I.jsx)(f.Popover,(0,r.A)((0,r.A)({},A),{},{open:_,onOpenChange:v,overlayClassName:a.overlay,arrow:!1,content:(0,I.jsxs)("div",{style:g?{"--overlay-width":g}:{},className:a["overlay-content"],onClick:e=>{e.stopPropagation()},children:[(0,I.jsx)("div",{className:a["overlay-inner"],children:"function"===typeof o?o({value:s,setValue:e=>{(!p||s[0]!==e[0])&&l(e),p&&v(!1)}}):o}),(c||h)&&(0,I.jsxs)("div",{className:a["overlay-footer"],children:[h&&(0,I.jsx)("div",{className:a["overlay-footer-extra"],children:h}),c&&i({value:s,setValue:l})]})]}),trigger:"click",placement:d,children:(0,I.jsx)("div",{className:a["input-inner"],children:m})}))}),J=(0,h.withFetch)(e=>{let{setFetchApi:t,wrapClassName:s}=e,r=(0,n.A)(e,T);const[l,o]=(0,u.useState)(!1),c=(0,u.useRef)(null),d=(0,u.useRef)(null),m=i(),{valueState:p,mapping:h,props:g}=m,[x,A]=p,{single:v,placement:j,getPopupContainer:b,placeholder:N,isPopup:S,disabled:C,showSelectedTag:w,extra:P,inputContent:M}=g,k=(0,u.useRef)(r);k.current=r,(0,u.useEffect)(()=>{t(Object.assign({},k.current,{data:r.data,isComplete:r.isComplete}))},[r.data,t,r.isComplete]);const R=O({single:v,value:x,mapping:h,onClose:e=>{A(t=>{const s=t.slice(0),r=t.indexOf(e);return r>-1&&s.splice(r,1),s})}}),J=e=>{let{value:t,setValue:s}=e;return(0,I.jsxs)(f.Space,{className:a["selected-tag"],align:"center",wrap:!0,children:[(0,I.jsxs)("div",{children:["\u5df2\u9009",!g.single&&Number.isInteger(g.maxLength)&&g.maxLength>0?"(".concat(t.length,"/").concat(g.maxLength,")"):"",":"]}),(0,I.jsx)(F.A,{className:a["selected-tag-list"],children:(0,I.jsx)("div",{className:a["selected-tag-inner"],children:O({value:t,mapping:h,onClose:e=>{s(t=>{const s=t.slice(0),r=t.indexOf(e);return r>-1&&s.splice(r,1),s})}})})})]})},D=M?M(m):(0,I.jsxs)(f.Space,{className:a["display-content"],onMouseOver:()=>{o(!0)},onMouseOut:()=>{o(!1)},children:[(0,I.jsx)("div",{children:R||(0,I.jsx)("span",{className:a.placeholder,children:N})}),l&&x&&x.length>0&&!C?(0,I.jsx)(y.default,{className:_()(a.close,a["input-icon"],"close","input-icon"),type:"icon-shibai",onClick:e=>{e.stopPropagation(),A([])}}):(0,I.jsx)(y.default,{className:_()(a["input-icon"],"input-icon-arrow","input-icon"),type:"icon-arrow-thin-down"})]});return S?(0,I.jsx)(L,{ref:d,overlayWidth:g.overlayWidth,value:x,setValue:A,single:v,inputContent:D,extra:"function"===typeof P?P({close:()=>d.current.close(),context:m}):P,renderSelectedContent:J,showSelectedTag:w,trigger:"click",placement:j,getPopupContainer:b,children:g.children}):(0,I.jsxs)("div",{className:a["input-inner"],onClick:()=>{c.current.modalOpen()},children:[(0,I.jsx)(E,{size:g.modalSize,ref:c,single:g.single,maxLength:g.maxLength,disabledScroller:!0,wrapClassName:_()(a.overlay,a["is-modal"],s),title:g.placeholder,value:x,onChange:A,extra:"function"===typeof P?P({close:()=>c.current.close(),context:m}):P,showSelectedTag:w,renderSelectedContent:J,children:g.children}),D]})}),D=e=>{let{api:t,className:s,displayItems:l,wrapClassName:o}=e,i=(0,n.A)(e,k);const[d,m]=(0,u.useState)(""),[h,g]=(0,u.useState)(new Map(l.map(e=>[e.value,e]))),[A,v]=(0,u.useState)({}),{message:y}=f.App.useApp(),j=e=>{const t=e.filter(e=>h.get(e.value)!==e);0!==t.length&&g(e=>{const s=S()(e);return t.forEach(e=>{s.set(e.value,e)}),s})},N=e=>((e,t,s)=>"all"!==s?e:(t(e),e.map(e=>e.value)))(i.single?b()(e)?[]:[e]:e||[],j,i.valueType),[C,F]=p()(Object.assign({},i,{onChange:e=>{const t=((e,t,s)=>"all"!==s?e:e.map(e=>t.get(e)))(e,h,i.valueType);i.onChange&&i.onChange(i.single?w()(t):t)}},"value"in i?{value:N(i.value)}:{defaultValue:N(i.defaultValue)})),P=R({maxLength:i.maxLength,single:i.single,setValue:F,value:C,message:y.error});return(0,I.jsx)(c,{value:{mapping:h,searchText:d,setSearchText:m,appendMapping:j,setItems:e=>{A.setData(e),j(x()(i.dataFormat(e),"list",[]))},fetchApi:A,valueState:[C,P],props:i},children:(0,I.jsx)("div",{className:_()(a["input".concat(i.inputContent&&"function"===typeof i.inputContent?"-custom":"")],s),children:(0,I.jsx)(J,(0,r.A)((0,r.A)({},t),{},{wrapClassName:o,loading:null,setFetchApi:v,onRequestSuccess:e=>{j(x()(i.dataFormat(e),"list",[])),t.onRequestSuccess&&t.onRequestSuccess(e)}}))})})};D.defaultProps={placeholder:"\u8bf7\u9009\u62e9",displayItems:[],extra:null,api:{loader:()=>[]},dataFormat:e=>({list:e}),placement:"bottomLeft",getPopupContainer:null,showSelectedTag:!0},D.useContext=i;const B=D},19343:(e,t,s)=>{"use strict";s.r(t),s.d(t,{Download:()=>p,FileButton:()=>w,FileLink:()=>F,List:()=>N,OptionButtons:()=>b,PrintButton:()=>o.PrintButton,default:()=>i(),download:()=>o.download,downloadBlobFile:()=>o.downloadBlobFile,useDownload:()=>o.useDownload,useFileModal:()=>I});var r=s(89379),n=s(53986),a=(s(64674),s(96418)),l=s.n(a),o=s(36125),i=s.n(o),c=s(3382),d=s(83136),u=s.n(d),m=s(70579);o.Download.useDownload=o.useDownload,o.Download.downloadBlobFile=o.downloadBlobFile;const p=o.Download;var h=s(26304),g=s.n(h),x=s(74065),f=s.n(x),A=s(96252);const _=["apis"],v=["onCancel"],y=["onCancel"],j=e=>{let{apis:t}=e;const s=(0,A.useFormModal)();return"function"===typeof(null===t||void 0===t?void 0:t.onEditModalShow)?t.onEditModalShow:(e,t)=>{const r=s({size:"small",title:"\u4fee\u6539\u6587\u4ef6\u540d\u79f0",formProps:{data:{name:g()(e.filename.split(".")).join(".")},onSubmit:async s=>{!1!==((null===t||void 0===t?void 0:t.onEdit)&&await(null===t||void 0===t?void 0:t.onEdit({formData:Object.assign({},s,{name:"".concat(s.name,".").concat(f()(e.filename.split(".")))}),item:e})))&&r.close()}},children:(0,m.jsx)(A.default,{column:1,list:[(0,m.jsx)(A.Input,{name:"name",label:"\u6587\u4ef6\u540d\u79f0",rule:"REQ LEN-0-100"})]})})}},b=e=>{var t;const s=j({apis:e.apis});return(0,m.jsx)(o.FileListOptionButtons,(0,r.A)((0,r.A)({},e),{},{onEdit:t=>s(t,e.apis),onDelete:null===(t=e.apis)||void 0===t?void 0:t.onDelete,renderModal:"function"===typeof e.renderModal?e.renderModal:e=>{let{onCancel:t}=e,s=(0,n.A)(e,y);return(0,m.jsx)(c.default,(0,r.A)((0,r.A)({},Object.assign({},s)),{},{onClose:t}))}}))},N=e=>{let{apis:t}=e,s=(0,n.A)(e,_);const a=j({apis:t});return(0,m.jsx)(o.FileList,(0,r.A)((0,r.A)({},s),{},{apis:t,onEdit:e=>a(e,t),onDelete:null===t||void 0===t?void 0:t.onDelete,renderModal:"function"===typeof s.renderModal?s.renderModal:e=>{let{onCancel:t}=e,s=(0,n.A)(e,v);return(0,m.jsx)(c.default,(0,r.A)((0,r.A)({},Object.assign({},s)),{},{onClose:t}))}}))},S=["onCancel"],C=["className"],w=e=>(0,m.jsx)(o.FileButton,(0,r.A)({},Object.assign({},e,{modalProps:{renderModal:e=>{let{onCancel:t}=e,s=(0,n.A)(e,S);return(0,m.jsx)(c.default,(0,r.A)((0,r.A)({},Object.assign({},s)),{},{onClose:t}))}}}))),F=e=>{const t=Object.assign({},e),{className:s}=t,a=(0,n.A)(t,C);return(0,m.jsx)(w,(0,r.A)((0,r.A)({},a),{},{className:u()(s,"btn-no-padding"),type:"link",children:a.children||a.filename||a.originName}))},I=e=>{const{title:t,children:s,footer:r}=(0,o.useFileModalProps)(Object.assign({},e)),n=(0,c.useModal)();return l()(()=>n({title:t,children:s,footer:r}))}},26304:(e,t,s)=>{var r=s(53871),n=s(99140);e.exports=function(e,t,s){var a=null==e?0:e.length;return a?(t=s||void 0===t?1:n(t),r(e,0,(t=a-t)<0?0:t)):[]}},29556:(e,t,s)=>{"use strict";s.r(t),s.d(t,{TooltipFetch:()=>M,TooltipInfoLabel:()=>w,default:()=>S});var r=s(89379),n=s(53986),a=s(55199),l=s(83136),o=s.n(l);const i="style_tooltip__zHGMI__5xs4J",c="style_large__lvmsm__5xs4J",d="style_small__nUt0r__5xs4J",u="style_popup-content__-rKQN__5xs4J",m="style_title__1EQPq__5xs4J",p="style_important-info__qTSZY__5xs4J",h="style_error__yTTq3__5xs4J",g="style_warning__CMJxz__5xs4J",x="style_success__AvJVx__5xs4J",f="style_sub-title__uD8CH__5xs4J",A="style_content__lzgUz__5xs4J",_="style_alone__q6q82__5xs4J",v="style_fetch-content__tEOEV__5xs4J",y="style_fetch-loading__tN-WB__5xs4J",j="style_title-info-icon__iY8Q+__5xs4J";var b=s(70579);const N=["overlayClassName","title","size","subtitle","content","importantInfo","importantInfoType","moreInfo"],S=e=>{let{overlayClassName:t,title:s,size:l,subtitle:v,content:y,importantInfo:j,importantInfoType:S,moreInfo:C}=e,w=(0,n.A)(e,N);return(0,b.jsx)(a.Tooltip,(0,r.A)((0,r.A)({},w),{},{rootClassName:o()(t,i,{[d]:"small"===l,[c]:"large"===l}),title:(0,b.jsxs)(a.Space,{direction:"vertical",className:u,children:[s&&(0,b.jsx)("div",{className:m,children:s}),j&&(0,b.jsx)("div",{className:o()(p,{[x]:"success"===S,[g]:"warning"===S,[h]:"error"===S}),children:j}),v&&(0,b.jsx)("div",{className:f,children:v}),y&&(0,b.jsx)("div",{className:o()(A,{[_]:[s,v,j,C].every(e=>!e)}),children:y}),C&&(0,b.jsx)("div",{children:C})]})}))};var C=s(64671);const w=e=>{let{title:t,tooltipTitle:s}=e;return(0,b.jsxs)("div",{children:[t,s?(0,b.jsx)(S,(0,r.A)((0,r.A)({},s),{},{children:(0,b.jsx)("span",{children:(0,b.jsx)(C.default,{type:"icon-xinxi-miaobian",className:j,size:14})})})):null]})};var F=s(73884),I=s(87558);const P=["api","children","fetchContent","showLoading","loadingClassName","force"],M=e=>{let{api:t,children:s,fetchContent:l,showLoading:i=!0,loadingClassName:c,force:d}=e,u=(0,n.A)(e,P);const[m,p]=(0,F.useState)(!1),h=(0,I.useFetch)(Object.assign({},t,{auto:!1})),{isComplete:g,isLoading:x,data:f,send:A}=h;return(0,b.jsx)(S,(0,r.A)((0,r.A)({},Object.assign({},u,g?l(f,h):{})),{},{open:m,onOpenChange:async e=>{!e||g&&!d||await A({type:"refresh"}),p(e)},children:(0,b.jsxs)("span",{className:v,children:[s,i&&x?(0,b.jsx)(a.Spin,{size:"small",className:o()(c,y)}):null]})}))}},30096:(e,t,s)=>{"use strict";s.d(t,{Ay:()=>d});var r=s(98434),n=s(43856);const{useOnChange:a}=r.hooks,l=e=>{const t=t=>a(Object.assign({},{placeholder:"\u8bf7\u9009\u62e9"+t.label},t))(e);return t.field=t.Field=e,t},o=l(n.UserField),i=l(n.TableField),c=l(n.AdvancedSelectField);c.createdList=e=>{let{renderList:t,defaultProps:s}=e;return l((0,n.createListField)({renderList:t,defaultProps:s}))},c.User=o,c.Table=i;const d=c},30891:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var r=s(89379),n=s(98434);const a=e=>{let{children:t}=e;const{openApi:s,formData:a}=(0,n.useFormContext)();return t((0,r.A)((0,r.A)({},s),{},{formData:a}))}},34643:(e,t,s)=>{"use strict";s.d(t,{Ay:()=>m,Pg:()=>c,eM:()=>d,kx:()=>u});var r=s(98434),n=s(43856),a=s(60586);const{useOnChange:l}=r.hooks,o=e=>{const t=t=>l(Object.assign({},{placeholder:"\u8bf7\u9009\u62e9"+t.label},t))(e);return t.field=t.Field=e,t},i=o(n.SuperSelectField),c=o(a.$9),d=o(n.SuperSelectTableListField),u=o(n.SuperSelectTreeField),m=i},35774:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var r=s(89379),n=s(53986),a=s(98434),l=s(81014),o=s(70579);const i=["onClick"],c=e=>{let{onClick:t}=e,s=(0,n.A)(e,i);const c=(0,a.useFormContext)();return(0,o.jsx)(l.default,(0,r.A)((0,r.A)({},s),{},{onClick:e=>t(c,e)}))}},36972:(e,t,s)=>{"use strict";s.d(t,{A:()=>L});var r=s(89379),n=s(53986),a=s(73884),l=s(87558),o=s(98434),i=s(78491),c=s.n(i),d=s(55199);const u="style_salary__sUOtT__5xs4J",m="style_salary-type__Sl1LC__5xs4J",p="style_input-number__eoEZr__5xs4J",h="style_full__NPqJm__5xs4J",g="style_input-group__toLB7__5xs4J",x="style_input-group-no-mb__C4nzh__5xs4J";var f=s(47458),A=s(55431),_=s(48731),v=s(10986),y=s.n(v),j=s(21079),b=s(70579);const N=["data"],S=["getPopupContainer","onBlur","api","isRange","placeholder","disabled","showMonth","remindUnit","req"],C=["api","defaultValue"],w=(0,l.withFetch)(e=>{let{data:t}=e,s=(0,n.A)(e,N);return(0,b.jsx)(d.Select,(0,r.A)((0,r.A)({},s),{},{options:t}))}),{useDecorator:F,useUIDecorator:I}=o.hooks,P=e=>{if(!e)return"";const t=isNaN(Number(e))?e:Math.abs(Number(e));return e.split(".")[1]&&e.split(".")[1].length>2?t.toFixed(2):t},M=e=>{let{children:t,isError:s}=e;return(0,b.jsx)("div",{style:{marginBottom:0},className:"react-form__field ".concat(s?"is-error":""),children:(0,b.jsx)("div",{className:"react-form__field-main",children:(0,b.jsx)("div",{className:"react-form__field-input",children:(0,a.cloneElement)(t,{className:"react-form__field-component"})})})})},T=e=>{let{getPopupContainer:t,onBlur:s,api:a,isRange:l=!0,placeholder:o,disabled:i,showMonth:A,remindUnit:v,req:N}=e,C=(0,n.A)(e,S);const[F,I]=y()(C),{formatMessage:T}=(0,f.useIntl)({moduleName:"FormInfo"}),k=T({id:"defaultSelectPlaceholder"},{label:""}),R=T({id:"defaultInputPlaceholder"},{label:""}),O=[6].indexOf((0,j.get)(F,"type"))>-1,E=1===(0,j.get)(F,"type"),L=7===(0,j.get)(F,"type"),J=e=>{if(e)return O?e/1e4:e},D=c()(s||(()=>{}));return(0,b.jsx)("div",{ref:D,className:u,children:(0,b.jsxs)(d.Row,{wrap:!1,gutter:10,children:[(0,b.jsx)(d.Col,{children:(0,b.jsx)(w,(0,r.A)((0,r.A)({className:m},a),{},{value:(0,j.get)(F,"type"),onChange:e=>{I&&I(Object.assign({},E?{}:F,{type:e,min:"",max:""}))},placeholder:o||k,getPopupContainer:t,disabled:i}))}),E?null:(0,b.jsxs)(d.Col,{flex:1,children:[l&&(0,b.jsxs)(d.Row,{className:v&&[5,6].includes(null===F||void 0===F?void 0:F.type)?g:x,wrap:!1,children:[(0,b.jsx)(d.Col,{flex:1,children:(0,b.jsx)(M,{isError:!(0,j.get)(F,"min")&&N,children:(0,b.jsx)(d.InputNumber,{disabled:i,placeholder:R,formatter:P,value:J((0,j.get)(F,"min")),style:{textAlign:"center"},onChange:e=>{I(Object.assign({},F,{min:O?1e4*e:e}))},description:v&&[5,6].includes(null===F||void 0===F?void 0:F.type)?(0,b.jsxs)("span",{style:{color:"#fc3333"},children:["\u6ce8\u610f\uff1a",(0,b.jsx)(_.default,{name:null===F||void 0===F?void 0:F.type,moduleName:"salaryTypeEnum"}),"\u7684\u5355\u4f4d\u4e3a",O?T({id:"thousand"}):L?"":T({id:"yuan"})]}):null})})}),(0,b.jsx)(d.Col,{children:(0,b.jsx)(d.Input,{style:{width:30,borderLeft:0,borderRight:0,pointerEvents:"none"},placeholder:"~",disabled:!0})}),(0,b.jsx)(d.Col,{flex:1,children:(0,b.jsx)(M,{isError:!(0,j.get)(F,"max")&&N,children:(0,b.jsx)(d.InputNumber,{disabled:i,placeholder:R,formatter:P,value:J((0,j.get)(F,"max")),style:{textAlign:"center"},addonAfter:O?T({id:"thousand"}):L?"":T({id:"yuan"}),onChange:e=>{I(Object.assign({},F,{max:O?1e4*e:e}))}})})}),5===(0,j.get)(F,"type")&&A&&(0,b.jsx)(d.Col,{children:(0,b.jsxs)("span",{className:(0,j.get)(F,"max")&&(0,j.get)(F,"min")&&!(0,j.get)(F,"month")&&N?"error":"",children:[(0,b.jsx)("span",{className:p,children:"X"}),(0,b.jsx)(d.InputNumber,{min:12,disabled:i,value:(0,j.get)(F,"month"),onChange:e=>{I(Object.assign({},F,{month:e}))},style:{width:100,textAlign:"center"},placeholder:"\u6570\u91cf",addonAfter:"\u6708"})]})})]}),!l&&!L&&(0,b.jsx)(d.InputNumber,{disabled:i,min:0,max:1e8,placeholder:R,className:h,formatter:P,value:J((0,j.get)(F,"max")),style:{textAlign:"center"},addonAfter:O?T({id:"thousand"}):L?"":T({id:"yuan"}),onChange:e=>{I(Object.assign({},F,{max:O?1e4*e:e}))}}),!l&&L&&(0,b.jsx)(d.Input,{disabled:i,placeholder:R,className:h,onChange:e=>{I(Object.assign({},F,{max:e.target.value}))},value:(0,j.get)(F,"max"),style:{textAlign:"center"}})]})]})})},k={loader:()=>[{value:1,label:"\u9762\u8bae"},{value:2,label:"\u65f6\u85aa"},{value:3,label:"\u65e5\u85aa"},{value:4,label:"\u5468\u85aa"},{value:5,label:"\u6708\u85aa"},{value:6,label:"\u5e74\u85aa"}]},R={type:5,min:"",max:"",month:12},O=e=>{let{api:t=k,defaultValue:s=R}=e,a=(0,n.A)(e,C);return(0,b.jsx)(f.IntlProvider,{moduleName:"FormInfo",importMessages:A.A,children:(0,b.jsx)(T,(0,r.A)((0,r.A)({},a),{},{api:t,defaultValue:s}))})},E=e=>{var t;return F((0,r.A)((0,r.A)({},e),{},{req:(null===e||void 0===e||null===(t=e.rule)||void 0===t?void 0:t.indexOf("REQ"))>-1}))(O)};E.Field=O;const L=E},41381:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>n.a});s(55664);var r=s(2632),n=s.n(r),a={};for(const l in r)"default"!==l&&(a[l]=()=>r[l]);s.d(t,a)},45053:(e,t,s)=>{"use strict";s.d(t,{A:()=>m});var r=s(98434),n=s(55199),a=s(73884),l=s(83136),o=s.n(l),i=s(70720),c=s.n(i),d=s(47094),u=s(70579);const m=e=>{let{name:t,groupName:s,overlayClassName:l,errorRender:i=()=>null,groupIndex:m,children:p}=e;const h=(e=>{let{name:t,groupName:s,groupIndex:n}=e;const{emitter:l,formState:o}=(0,r.useFormContext)(),i=(0,a.useRef)({name:t,groupName:s,groupIndex:n});i.current={name:t,groupName:s,groupIndex:n};const c=(0,a.useRef)(o);c.current=o;const[d,u]=(0,a.useState)(null);return(0,a.useEffect)(()=>{const e=l.addListener("form-field-validate-complete",e=>{let{id:t,validate:s}=e;const n=c.current[t];if(!n)return;const a=i.current;n.name!==a.name||a.groupName&&(n.groupName!==a.groupName||n.groupIndex!==a.groupIndex)||u(2===s.status?Object.assign({},s,{label:n.label,errMsg:r.util.compileErrMsg(s.msg,n.label)}):null)});return()=>{e&&e.remove()}},[l]),d})({name:t,groupName:s,groupIndex:m}),[g,x]=(0,a.useState)(!1),f=h&&g&&i(Object.assign({},h,{closeHover:()=>x(!1)})),A=(0,a.useRef)(null),_=(0,a.useRef)(null);c()(()=>{x(!1)}).current={contains:e=>A.current.contains(e)||_.current&&_.current.contains(e)};const[v,y]=(0,a.useState)(0);return(0,a.useLayoutEffect)(()=>{const e=()=>{const e=A.current.querySelector(".react-form__field-component");e&&y(e.clientWidth)};e();const t=new ResizeObserver(e);t.observe(A.current);const s=new MutationObserver(e);return s.observe(A.current,{subtree:!0,childList:!0}),()=>{s.disconnect(),t.disconnect()}},[]),(0,u.jsx)(n.Popover,{open:!!f,rootClassName:o()(l,d.A["error-tip-overlay"]),content:f&&(0,u.jsx)("div",{ref:_,style:{width:v},className:o()(d.A["error-tip-overlay-content"]),children:f}),placement:"bottom",transitionName:"ant-slide-up",arrow:!1,children:(0,u.jsx)("div",{className:o()("error-tip"),ref:A,onMouseEnter:()=>{x(!0)},children:p})})}},46237:(e,t,s)=>{"use strict";s.d(t,{Ay:()=>i,oc:()=>o});var r=s(73884);const n=(0,r.createContext)([]),{Provider:a,Consumer:l}=n,o=()=>(0,r.useContext)(n),i=a},46732:(e,t,s)=>{"use strict";s.d(t,{A:()=>d,K:()=>c});var r=s(75363),n=s(73884),a=s(98434),l=s(47094),o=s(70579);const i=(0,n.createContext)(""),{Provider:c}=i,d=e=>{let{name:t}=e;const s=(0,n.useContext)(i),c=(0,a.useGroup)();return s&&(0,o.jsx)(r.default,{className:l.A["helper-guide-field"],name:s+"-"+(c.name?c.name+"-":"")+t})}},47094:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});const r={"form-outer":"style_form-outer__IWUs0__5xs4J","form-drawer":"style_form-drawer__uYDXS__5xs4J","table-list":"style_table-list__6lp-A__5xs4J","list-item":"style_list-item__hVzQa__5xs4J","table-list-inner":"style_table-list-inner__uc8DK__5xs4J","table-list-field":"style_table-list-field__JSJfB__5xs4J","table-list-header":"style_table-list-header__KXvKa__5xs4J","is-req":"style_is-req__LfXQf__5xs4J","table-list-extra":"style_table-list-extra__faYTK__5xs4J","list-btn":"style_list-btn__WKYkm__5xs4J","form-info":"style_form-info__B8bAP__5xs4J","list-part":"style_list-part__Ld0GA__5xs4J","is-important":"style_is-important__vaBk1__5xs4J","list-item-part":"style_list-item-part__MzKP7__5xs4J","money-input":"style_money-input__J86Pb__5xs4J","money-description":"style_money-description__Gz3p7__5xs4J","components-upload-wrapper":"style_components-upload-wrapper__Ir0gz__5xs4J","textarea-wrapped-component":"style_textarea-wrapped-component__r1oKc__5xs4J","helper-guide-field":"style_helper-guide-field__Wke3w__5xs4J","error-tip-overlay":"style_error-tip-overlay__aNCGc__5xs4J","error-tip-overlay-content":"style_error-tip-overlay-content__kDOoQ__5xs4J","column-not-layout":"style_column-not-layout__+SXC+__5xs4J","mult-field-item":"style_mult-field-item__eS0nJ__5xs4J","react-form__field-label":"style_react-form__field-label__2U91E__5xs4J","mult-field-add-btn":"style_mult-field-add-btn__5Baxz__5xs4J","form-step-section":"style_form-step-section__RvkHy__5xs4J"}},47338:(e,t,s)=>{"use strict";s.r(t),s.d(t,{ConfirmButton:()=>r.ConfirmButton,ConfirmLink:()=>r.ConfirmLink,ConfirmText:()=>r.ConfirmText,default:()=>n,withConfirm:()=>r.withConfirm});s(9056);var r=s(38885);const n=r.ConfirmButton},48221:(e,t,s)=>{"use strict";s.d(t,{Ay:()=>c,WJ:()=>u,Xy:()=>d});var r=s(89379),n=s(25963),a=s(73025),l=s(47094),o=s(76995),i=s(70579);const c=e=>(0,i.jsx)(n.default,(0,r.A)({},(0,o.A)(Object.assign({},e,{className:l.A["form-drawer"]})))),d=()=>{const e=(0,n.useDrawer)();return t=>e((0,o.A)(Object.assign({},t,{className:l.A["form-drawer"]})))},u=e=>{const t=d();return(0,i.jsx)(a.A,(0,r.A)((0,r.A)({},e),{},{modalFunc:t}))}},48731:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>n.a});var r=s(98919),n=s.n(r),a=s(22717),l=s.n(a);(0,r.preset)({base:l()([["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}]]],(e,t)=>{e[t[0]]=t[1]},{})})},55431:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});const r=e=>({"en-US":()=>s.e(1649).then(s.bind(s,21649)),"zh-CN":()=>s.e(711).then(s.bind(s,80711))}[e]())},55664:()=>{},56259:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var r=s(89319),n=s(98434);const{useOnChange:a}=n.hooks,l=e=>a(Object.assign({},{},e))(r.A);l.Field=r.A;const o=l},64261:(e,t,s)=>{"use strict";s.d(t,{A:()=>_});var r=s(89379),n=s(98434),a=s(57469),l=s.n(a),o=s(34677),i=s.n(o),c=s(33097),d=s.n(c),u=s(22717),m=s.n(u),p=(s(17448),s(2842)),h=s(46732),g=s(13050),x=s(70579);const f=n.RULES.REQ,A=n.RULES.LEN,_=async(e,t)=>{const{locale:s}=Object.assign({},t);n.interceptors.input.use("photo-string",e=>{if(e&&"string"===typeof e){const[t,s]=e.split("?"),r=new URLSearchParams(s);return Object.assign({},{id:t},m()(Array.from(r.entries()),(e,t)=>{e[t[0]]=t[1]},{}))}return e}),n.interceptors.output.use("photo-string",e=>e&&"string"!==typeof e?"".concat(null===e||void 0===e?void 0:e.id).concat(null!==e&&void 0!==e&&e.filename?"?filename=".concat(null===e||void 0===e?void 0:e.filename):""):e),n.interceptors.input.use("photo-string-list",e=>e&&Array.isArray(e)&&e.length>0?e.map(e=>{const[t,s]=e.split("?"),r=new URLSearchParams(s);return Object.assign({},{id:t},m()(Array.from(r.entries()),(e,t)=>{e[t[0]]=t[1]},{}))}):e),n.interceptors.output.use("photo-string-list",e=>e&&Array.isArray(e)&&e.length>0?e.map(e=>"".concat(null===e||void 0===e?void 0:e.id).concat(null!==e&&void 0!==e&&e.filename?"?filename=".concat(null===e||void 0===e?void 0:e.filename):"")):e),n.interceptors.input.use("to-array",e=>Array.isArray(e)?e[0]:e),n.interceptors.output.use("to-array",e=>[e]),n.interceptors.input.use("array-single",e=>e?[e]:[]),n.interceptors.output.use("array-single",e=>e?e[0]:null),n.interceptors.input.use("boolean-number",e=>1===e||"1"===e),n.interceptors.output.use("boolean-number",e=>e?1:0),n.interceptors.input.use("un-boolean",e=>!e),n.interceptors.output.use("un-boolean",e=>!e),n.interceptors.output.use("object-output-value",e=>e?e.value||e.id:e),n.interceptors.output.use("array-output-value",e=>Array.isArray(e)&&e.length>0?e.map(e=>e.value||e.id):[]),n.interceptors.input.use("date-string",e=>e?l()(e):null),n.interceptors.output.use("date-string",e=>e?new Date(e.valueOf()).toISOString():""),n.interceptors.input.use("date-range-string",e=>{if(!Array.isArray(e))return[];const t=[];return e[0]&&t.push(l()(e[0])),e[0]&&e[1]&&"sofar"===e[1]&&t.push("\u81f3\u4eca"),e[0]&&e[1]&&"\u81f3\u4eca"!==e[1]&&t.push(l()(e[1])),t}),n.interceptors.output.use("date-range-string",e=>{if(!Array.isArray(e))return[];const t=[];return e[0]&&t.push(new Date(e[0].valueOf()).toISOString()),e[0]&&e[1]&&"\u81f3\u4eca"===e[1]&&t.push("sofar"),e[0]&&e[1]&&"\u81f3\u4eca"!==e[1]&&t.push(new Date(e[1].valueOf()).toISOString()),t}),n.interceptors.output.use("file-format",e=>Array.isArray(e)?e.map(e=>Object.assign({},e,{id:e.id||e.ossId,originalName:e.filename})):[]),n.interceptors.input.use("file-format",e=>Array.isArray(e)?e.map(e=>({id:e.id||e.ossId,ossId:e.id||e.ossId,filename:e.originalName||e.filename})):[]);const{default:a}=await(0,g.loadModule)("components-iconfont:CountyFlag@load"),o=await a(),c=new Map(o.map(e=>{let{ab:t,country_code:s}=e;return[t,s]})),u=new Map(o.map(e=>{let{ab:t,country_code:s}=e;return[s,t]}));n.interceptors.output.use("phone-number-string",e=>null!==e&&void 0!==e&&e.code&&null!==e&&void 0!==e&&e.value?"+".concat(c.get(e.code)," ").concat(e.value.replace(/\s+/g,"")):""),n.interceptors.input.use("phone-number-string",e=>{if(!e)return{};const t=e.match(/^\+(\d+)\s(.*)/);return t&&t.length>=3?{code:u.get(Number(t[1])),value:t[2]}:{code:u.get(86),value:e}});const _=(e,t)=>{t=Object.assign({},t);const r={REQ:{"zh-CN":"%s\u4e0d\u80fd\u4e3a\u7a7a","en-US":"%s cannot be empty "},EMAIL:{"zh-CN":"\u8bf7\u8f93\u5165\u6709\u6548\u7684%s","en-US":"Please enter a valid %s"},LENGTH_EQUAL:{"zh-CN":"%s\u5fc5\u987b\u7b49\u4e8e".concat(t.end),"en-US":"%s must be equal to ".concat(t.end)},LENGTH_MORE:{"zh-CN":"%s\u5fc5\u987b\u5927\u4e8e".concat(t.start),"en-US":"%s must be greater than ".concat(t.start)},LENGTH_LESS:{"zh-CN":"%s\u5fc5\u987b\u5c0f\u4e8e".concat(t.end),"en-US":"%s must be less than ".concat(t.end)}},n=d()(r,"".concat(e,".").concat(s));return n||d()(r,"".concat(e,".zh-CN"))};(0,n.preset)(i()({},{type:"inner",rules:{REQ:function(){return Object.assign({},f(...arguments),{errMsg:_("REQ")})},LEN:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];const[r,n,a]=t;let l="";return a===n&&r.length!==Number(a)&&(l="LENGTH_EQUAL"),r.length<n&&(l="LENGTH_MORE"),a&&r.length>a&&(l="LENGTH_LESS"),Object.assign({},A(...t),{errMsg:_(l,{start:n,end:a})})},EMAIL:function(e){return{result:/^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(e),errMsg:_("EMAIL")}},PHONE_NUMBER_INPUT:p.PHONE_NUMBER_INPUT,ARRAY_LENGTH:(e,t,s)=>s===t&&e.length!==Number(s)?{result:!1,errMsg:_("LENGTH_EQUAL",{start:t,end:s})}:e.length<t?{result:!1,errMsg:_("LENGTH_MORE",{start:t,end:s})}:s&&e.length>s?{result:!1,errMsg:_("LENGTH_LESS",{start:t,end:s})}:{result:!0}},field:{datePicker:{defaultProps:{interceptor:"date-string"}},rangeDatePicker:{defaultProps:{interceptor:"date-range-string"}},inputNumber:{defaultProps:{changeOnWheel:!1}},textArea:{defaultProps:{autoSize:{minRows:2,maxRows:6}}}},globalProps:{labelTips:e=>(0,x.jsx)(h.A,(0,r.A)({},e))}},"function"===typeof e?e({interceptors:n.interceptors,RULES:n.RULES}):e))}},64674:()=>{},75363:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>g});const r=e=>({"en-US":()=>s.e(9431).then(s.bind(s,9431)),"zh-CN":()=>s.e(1065).then(s.bind(s,81065))}[e]());var n=s(47458),a=s(64671),l=s(55199),o=s(83136),i=s.n(o);const c="style_helper-guide__K5xFw__5xs4J",d="style_inner__bMKeU__5xs4J",u="style_content__xTfWZ__5xs4J",m="style_link__93j7O__5xs4J";var p=s(48731),h=s(70579);const g=e=>{let{name:t,className:s}=e;return(0,h.jsx)(n.IntlProvider,{importMessages:r,moduleName:"HelperGuide",children:(0,h.jsx)(p.default,{moduleName:"helperGuide",name:t,children:e=>e&&e.value&&(0,h.jsx)("div",{className:i()(c,s),children:(0,h.jsxs)(l.Space,{className:d,children:[(0,h.jsx)(a.default,{colorful:!0,type:"icon-color-bangzhuyindao"}),(0,h.jsx)("span",{className:u,children:e.content}),e.url&&(0,h.jsxs)(l.Typography.Link,{className:m,href:e.url,target:"_blank",children:["\u67e5\u770b\u5e2e\u52a9",(0,h.jsx)(a.default,{type:"icon-shuangjiantou-right"})]})]})})})})}},76995:(e,t,s)=>{"use strict";s.d(t,{A:()=>x});var r=s(89379),n=s(53986),a=s(55431),l=s(98434),o=s(47458),i=s(83799),c=s(83136),d=s.n(c),u=s(47094),m=s(70579);const p=["className","withDecorator","footerButtons","formProps","cancelText","saveText","autoClose"],h=["onSubmit","key"],g="FormInfo",x=e=>{let{className:t,withDecorator:s,footerButtons:c,formProps:x,cancelText:f,saveText:A,autoClose:_=!0}=e,v=(0,n.A)(e,p);return(0,r.A)((0,r.A)({},v),{},{footerButtons:c||[{children:(0,m.jsx)(o.IntlProvider,{importMessages:a.A,moduleName:g,children:f||(0,m.jsx)(o.FormattedMessage,{id:"Cancel",moduleName:g})}),ButtonComponent:l.CancelButton},{type:"primary",children:(0,m.jsx)(o.IntlProvider,{importMessages:a.A,moduleName:g,children:A||(0,m.jsx)(o.FormattedMessage,{id:"Save",moduleName:g})}),ButtonComponent:l.SubmitButton,autoClose:!1}],withDecorator:(e,t)=>{const l=t=>{const s=Object.assign({},"function"===typeof x?x(t):x),{onSubmit:l,key:c}=s,d=(0,n.A)(s,h);return(0,m.jsx)(i.lV,(0,r.A)((0,r.A)({},d),{},{onSubmit:async function(e){for(var s=arguments.length,r=new Array(s>1?s-1:0),n=1;n<s;n++)r[n-1]=arguments[n];!1!==(l&&await l(e,Object.assign({},t),...r))&&_&&t.close()},children:(0,m.jsx)(o.IntlProvider,{importMessages:a.A,moduleName:"FormInfo",children:e(t)})}))};return"function"===typeof s?s(l,t):l(t)},className:d()(t,u.A["form-outer"])})}},78756:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var r=s(43856),n=s(98434);const{useOnChange:a}=n.hooks,l=e=>a(Object.assign({},{placeholder:"\u8bf7\u9009\u62e9"+e.label},e))(r.IndustrySelectField);l.Field=r.IndustrySelectField,l.Enum=r.IndustrySelectField.Enum;const o=l},81026:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var r=s(43856),n=s(98434);const{useOnChange:a}=n.hooks,l=e=>a(Object.assign({},{placeholder:"\u8bf7\u9009\u62e9"+e.label},e))(r.FunctionSelectField);l.Field=r.FunctionSelectField,l.Enum=r.FunctionSelectField.Enum;const o=l},83230:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var r=s(98434),n=s(43856);const{useOnChange:a}=r.hooks,l=e=>a(Object.assign({},{placeholder:"\u8bf7\u9009\u62e9"+e.label},e))(n.CascaderField);l.Field=n.CascaderField,l.createTreeUtils=n.createTreeUtils;const o=l},83799:(e,t,s)=>{"use strict";s.d(t,{NI:()=>G,TQ:()=>p.A,JL:()=>B,eu:()=>v.A,vx:()=>h.A,lr:()=>ee,s3:()=>te,lV:()=>l.A,d4:()=>g.A,ZN:()=>x.A,pd:()=>H,YI:()=>K,h2:()=>V,F0:()=>f.A,go:()=>A.default,tt:()=>a.Rate,lu:()=>y.A,l6:()=>Y,Ap:()=>a.Slider,wD:()=>U,eM:()=>z,kx:()=>q,Pg:()=>W,dO:()=>a.Switch,EY:()=>T,fs:()=>Q,AG:()=>Z,f7:()=>$,w5:()=>b.A,_O:()=>_.A,nk:()=>se});var r=s(89379),n=s(53986),a=s(98434),l=s(85696),o=s(47458),i=s(73884),c=s(30891),d=s(47094),u=s(30096),m=s(34643),p=s(1904),h=s(83230),g=s(81026),x=s(78756),f=s(92328),A=s(2842),_=s(89099),v=s(96339),y=s(36972),j=s(15209),b=s(56259),N=s(55199),S=s(10986),C=s.n(S),w=s(70579);const F=["children"],{useDecorator:I}=a.hooks,P=e=>{let{children:t}=e,s=(0,n.A)(e,F);const[a]=C()(s);return(0,w.jsxs)(N.Typography.Text,(0,r.A)((0,r.A)({},s),{},{children:[(0,w.jsx)("div",{style:{height:0,width:0,overflow:"hidden"},children:(0,w.jsx)(N.Input,{value:a})}),t||a]}))},M=e=>I(e)(P);M.Field=P;const T=M;var k=s(45053);const R=["placeholder","label"],O=["placeholder","label","className"],E=["placeholder","label"],L=["placeholder","label","soFarText"],J=e=>{const t=(0,i.forwardRef)((t,s)=>{let{placeholder:a,label:l}=t,i=(0,n.A)(t,R);return(0,w.jsx)(o.FormattedMessage,{id:"defaultInputPlaceholder",moduleName:"FormInfo",values:{label:l},children:t=>(0,w.jsx)(e,(0,r.A)((0,r.A)({},i),{},{ref:s,label:l,placeholder:a||t}))})});return Object.keys(e).filter(e=>-1===["$$typeof","render","field"].indexOf(e)).forEach(s=>{t[s]=e[s]}),t},D=e=>{const t=(0,i.forwardRef)((t,s)=>{let{placeholder:a,label:l}=t,i=(0,n.A)(t,E);return(0,w.jsx)(o.FormattedMessage,{id:"defaultSelectPlaceholder",moduleName:"FormInfo",values:{label:l},children:t=>(0,w.jsx)(e,(0,r.A)((0,r.A)({},i),{},{ref:s,label:l,placeholder:a||t}))})});return Object.keys(e).filter(e=>-1===["$$typeof","render","field"].indexOf(e)).forEach(s=>{t[s]=e[s]}),t},B=D(u.Ay),U=D(m.Ay),z=D(m.eM),W=D(m.Pg),q=D(m.kx),G=D(p.N),V=J(j.A),H=J(a.Input);H.Password=J(a.Input.Password);const Q=(X=a.TextArea,e=>{let{placeholder:t,label:s,className:a}=e,l=(0,n.A)(e,O);return(0,w.jsx)(o.FormattedMessage,{id:"defaultInputPlaceholder",moduleName:"FormInfo",values:{label:s},children:e=>(0,w.jsx)("div",{className:d.A["textarea-wrapped-component"],children:(0,w.jsx)(X,(0,r.A)((0,r.A)({},l),{},{label:s,placeholder:t||e}))})})});var X;const Y=D(a.Select),K=J(a.InputNumber),$=D(a.TreeSelect),Z=D(a.TimePicker);Z.RangePicker=D(a.TimePicker.RangePicker);const ee=D(a.DatePicker);ee.MonthPicker=D(a.DatePicker.MonthPicker),ee.RangePicker=D(a.DatePicker.RangePicker),ee.WeekPicker=D(a.DatePicker.WeekPicker);const te=e=>{let{placeholder:t,label:s,soFarText:l}=e,i=(0,n.A)(e,L);const{formatMessage:c}=(0,o.useIntl)({moduleName:"FormInfo"});return(0,w.jsx)(a.DatePickerToday,(0,r.A)((0,r.A)({},i),{},{label:s,placeholder:[c({id:"startDate"}),c({id:"endDate"})],soFarText:l||c({id:"soFarText"})}))},se=Object.assign({},a,{Input:H,InputUpperCase:V,TextArea:Q,Select:Y,InputNumber:K,TreeSelect:$,TimePicker:Z,DatePicker:ee,DatePickerToday:te,Form:l.A,FormItem:c.A,AdvancedSelect:B,SuperSelect:U,SuperSelectTableList:z,SuperSelectUser:W,SuperSelectTree:q,AddressSelect:p.A,AddressInput:G,MoneyInput:f.A,PhoneNumber:A.default,Cascader:h.A,FunctionSelect:g.A,IndustrySelect:x.A,TypeDateRangePicker:b.A,Upload:_.A,Avatar:v.A,SalaryInput:y.A,Text:T,Rate:a.Rate,Switch:a.Switch,Slider:a.Slider,ErrorTip:k.A})},85696:(e,t,s)=>{"use strict";s.d(t,{A:()=>j});var r=s(89379),n=s(53986),a=s(73884),l=s(63743),o=s(33097),i=s.n(o),c=s(64261),d=s(47458),u=s(55431),m=s(46237),p=s(41381),h=s(46732),g=s(98434),x=s(83136),f=s.n(x),A=s(47094),_=s(70579);const v=["className","helperGuideName","children","lang"],y=e=>{let{children:t}=e;const[s,r]=(0,a.useState)(!1),n=(0,l.usePreset)(),o=i()(n,"formInfo",{}),d=i()(n,"locale");return(0,a.useEffect)(()=>{Promise.resolve((0,c.A)(o,{locale:d})).then(()=>{r(!0)})},[o,d]),s?t:null},j=(0,a.forwardRef)((e,t)=>{let{className:s,helperGuideName:a,children:l,lang:o}=e,i=(0,n.A)(e,v);return(0,_.jsx)(d.IntlProvider,{importMessages:u.A,moduleName:"FormInfo",children:(0,_.jsx)(m.Ay,{value:o,children:(0,_.jsx)(h.K,{value:a,children:(0,_.jsx)(y,{children:(0,_.jsx)(g.FormAntd,(0,r.A)((0,r.A)({},i),{},{ref:t,className:f()(s,A.A["form-outer"]),children:(0,_.jsx)(p.default,{children:l})}))})})})})})},85846:(e,t,s)=>{"use strict";s.d(t,{A:()=>b});var r=s(89379),n=s(53986),a=s(73884),l=s(82962),o=s(55199),i=s(64671),c=s(41381),d=s(47338),u=s(2196),m=s(83136),p=s.n(m),h=s(55431),g=s(47458),x=s(47094),f=s(70579);const A=["addText","className","important","outer","renderChildren","deleteButtonProps","title"],_=["list","title","id","allowRemove","onRemove"],v=["add","addText","className","allowAdd"],y=(0,g.createWithIntl)({moduleName:"FormInfo",importMessages:h.A})(e=>{let{addText:t,className:s,important:c,outer:m=(0,f.jsx)(j,{}),renderChildren:h=e=>e,deleteButtonProps:v,title:y}=e,b=(0,n.A)(e,A);const{formatMessage:N}=(0,g.useIntl)({moduleName:"FormInfo"});return(0,f.jsx)(l.SubList,(0,r.A)((0,r.A)({},b),{},{listRender:e=>{let{list:t,title:s,id:a,allowRemove:l,onRemove:m}=e,h=(0,n.A)(e,_);return(0,f.jsxs)("div",{className:p()(x.A["list-item"],{[x.A["is-important"]]:c}),children:[(0,f.jsx)(u.A,(0,r.A)((0,r.A)({},h),{},{title:s,list:t,className:x.A["list-item-part"],gap:16,extra:(0,f.jsx)(g.FormattedMessage,{id:"delText",moduleName:"FormInfo",children:e=>l?(0,f.jsx)(d.default,(0,r.A)((0,r.A)({danger:!0,className:"btn-no-padding",message:N({id:"delConfirm"},{name:s}),type:"link",onClick:()=>{m(a)}},Object.assign({},v)),{},{children:null!==v&&void 0!==v&&v.children?null===v||void 0===v?void 0:v.children:(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(i.default,{type:"icon-shanchu"}),e]})})):null})})),(0,f.jsx)(o.Divider,{})]},a)},children:(e,r)=>{let{allowAdd:n,onAdd:l}=r;return(0,a.cloneElement)(m,{title:y,addText:t,className:p()(s,x.A["list-part"]),allowAdd:n,add:()=>l({isUnshift:!1})},h(e))}}))}),j=e=>{let{add:t,addText:s,className:a,allowAdd:l}=e,d=(0,n.A)(e,v);return(0,f.jsx)(c.default.Part,(0,r.A)((0,r.A)({},d),{},{className:a,extra:l&&(0,f.jsx)(g.FormattedMessage,{id:"addText",moduleName:"FormInfo",children:e=>(0,f.jsxs)(o.Typography.Text,{className:x.A["list-btn"],onClick:t,children:[(0,f.jsx)(i.default,{type:"icon-tianjia"}),s||e]})})}))},b=y},89099:(e,t,s)=>{"use strict";s.d(t,{A:()=>C});var r=s(89379),n=s(53986),a=s(55199),l=s(83136),o=s.n(l),i=s(10986),c=s.n(i);const d="style_upload__t422Q__5xs4J",u="style_upload-list__Q9HDc__5xs4J",m="style_tips__3Gpnu__5xs4J";var p=s(19343),h=s(98434),g=s(47458),x=s(1488),f=s.n(x),A=s(17508),_=s(55431),v=s(70579);const y=["className","fileSize","maxLength","multiple","size","accept","children","renderTips","showUploadList","onSave","ossUpload","onUpload","getPermission","concurrentCount"],j=["interceptor"],{useOnChange:b}=h.hooks,N=(0,g.createWithIntl)({importMessages:_.A,moduleName:"FormInfo"})(e=>{const{formatMessage:t}=(0,g.useIntl)({moduleName:"FormInfo"}),s=Object.assign({},{defaultValue:[],children:t({id:"uploadButtonText"}),accept:[".pdf",".jpg",".png",".jpeg",".doc",".docx",".xls",".xlsx",".html",".msg",".eml",".zip"],renderTips:e=>e,multiple:!0,showUploadList:!0,maxLength:10,fileSize:30,concurrentCount:10},e),{className:l,fileSize:i,maxLength:h,multiple:x,size:_,accept:j,children:b,renderTips:N,showUploadList:S,onSave:C,ossUpload:w,onUpload:F,getPermission:I,concurrentCount:P}=s,M=(0,n.A)(s,y),[T,k]=c()(M),R=T||[],{fileList:O,onFileSelected:E}=(0,A.lN)({multiple:x,onSave:C,onUpload:w||F,fileSize:i,maxLength:h,value:R,onChange:k,concurrentCount:P}),L=[...O,...R],J=N(t({id:"uploadTips"},{extensionNames:j.map(e=>e.replace(/^\./,"")).join(","),maxLength:h,fileSize:i}),{fileSize:i,maxLength:h,accept:j});return(0,v.jsxs)(a.Space,{direction:"vertical",children:[(0,v.jsxs)(a.Flex,{align:"start",gap:8,vertical:!0,children:[(0,v.jsx)(A.Zi,(0,r.A)((0,r.A)({},f()(M,["value","onChange"])),{},{size:_,multiple:x,accept:j,className:o()(d,l),onChange:E,children:b})),J&&(0,v.jsx)("div",{className:m,children:J})]}),S&&L.length>0&&(0,v.jsx)(p.List,{className:u,dataSource:L,infoItemRenders:[],getPermission:I||(e=>"delete"===e),apis:{onDelete:e=>{const t=R.slice(0),s=t.indexOf(e);s>-1&&t.splice(s,1),k(t)}}})]})}),S=e=>{let{interceptor:t="file-format"}=e,s=(0,n.A)(e,j);return b((0,r.A)({interceptor:t},s))(N)};S.Field=N;const C=S},92328:(e,t,s)=>{"use strict";s.d(t,{A:()=>b});var r=s(89379),n=s(53986),a=s(10986),l=s.n(a),o=s(98434),i=s(55199),c=s(69484);const d="style_money-input__Pyur7__5xs4J",u="style_money-description__9pFk4__5xs4J";var m=s(83136),p=s.n(m),h=s(34677),g=s.n(h),x=s(73884),f=s(70579);const A=["chineseEmpty","className","showError","errorDesc","transformMoneyToChinese","onBlur","moneyFormat"],{isNotEmpty:_}=o.util||o.formUtils,{useOnChange:v}=o.hooks,y=e=>{let{chineseEmpty:t,className:s,showError:a,errorDesc:o,transformMoneyToChinese:m,onBlur:h,moneyFormat:v}=e,y=(0,n.A)(e,A);const[j,b]=(0,x.useState)(""),[N,S]=l()(y),C=g()({controls:!1,precision:2,addonAfter:"\u5143"},y,{max:_(y.max)?y.max>c.e?c.e:y.max:c.e});return(0,f.jsxs)("div",{className:p()(s,"money-input",d),children:[(0,f.jsx)(i.InputNumber,(0,r.A)((0,r.A)({},C),{},{status:j,formatter:v?e=>"".concat(e).replace(/\B(?=(\d{3})+(?!\d))/g,","):null,parser:e=>{const t=v?null===e||void 0===e?void 0:e.replace(/\$\s?|(,*)/g,""):e;return _(t)?(Number(t)>Number(C.max)||_(C.min)&&Number(t)<Number(C.min))&&b("error"):b(""),_(t)?Number(t):null},onChange:e=>{S(e)},onBlur:e=>{h&&h(e,b)}})),(0,f.jsx)("div",{className:p()(u),children:"error"===j&&a?o:_(N)?(0,c.A)(m?m(N):N):t})]})},j=e=>v(Object.assign({placeholder:"\u8bf7\u8f93\u5165".concat(e.label||"")},e))(y);j.Field=y,j.toChineseCharacter=c.A;const b=j},94005:(e,t,s)=>{"use strict";s.d(t,{$X:()=>S,Ay:()=>N,Wp:()=>C});var r=s(89379),n=s(53986),a=s(3382),l=s(73884),o=s(98434),i=s(73025),c=s(47458),d=s(47094),u=s(55431),m=s(55199),p=s(76995),h=s(70579);const g=["footerButtons","cancelText","completeText","nextText","items","withDecorator","autoClose"],x=["formProps","title"],f=["onSubmit"],A=["formProps"],_=["children","stepSection"],v=["modalProps"],y="FormInfo",j=e=>{let{items:t,children:s}=e;const[r,n]=(0,l.useState)(0);return s({currentIndex:r,setCurrentIndex:n,stepCacheRef:(0,l.useRef)({}),isLastStep:r===t.length-1,currentProps:Object.assign({},t[r])})},b=e=>{let{footerButtons:t,cancelText:s,completeText:r,nextText:a,items:l,withDecorator:i,autoClose:v=!0}=e,b=(0,n.A)(e,g);return(0,p.A)(Object.assign({},b,{footerButtons:e=>{let{currentIndex:t,isLastStep:n}=e;const{footerButtons:i}=Object.assign({},l[t]);return i||[{children:(0,h.jsx)(c.IntlProvider,{importMessages:u.A,moduleName:y,children:s||(0,h.jsx)(c.FormattedMessage,{id:"Cancel",moduleName:y})}),ButtonComponent:o.CancelButton},{type:"primary",children:(0,h.jsx)(c.IntlProvider,{importMessages:u.A,moduleName:y,children:n?r||(0,h.jsx)(c.FormattedMessage,{id:"Complete",moduleName:y}):a||(0,h.jsx)(c.FormattedMessage,{id:"Next",moduleName:y})}),ButtonComponent:o.SubmitButton,autoClose:!1}]},withDecorator:(e,t)=>{const s=t=>(0,h.jsx)(j,{items:l,children:s=>{var r;let{currentIndex:a,isLastStep:o,setCurrentIndex:i,currentProps:c,stepCacheRef:u}=s;const{formProps:p,title:g}=c,A=(0,n.A)(c,x),_="function"===typeof p?p(t):p,{onSubmit:y}=_,j=(0,n.A)(_,f),b=Object.assign({},j.data,null===(r=u.current[a])||void 0===r?void 0:r.data);return e(Object.assign({},t,A,{currentIndex:a,isLastStep:o,setCurrentIndex:i,stepCacheRef:u,stepSection:(0,h.jsx)(m.Steps,{className:d.A["form-step-section"],current:a,items:l.map(e=>{let{title:t}=e;return{title:t}})}),formProps:Object.assign({},j,{key:a,data:b,onSubmit:async function(e){u.current[a]={data:e};for(var s=arguments.length,r=new Array(s>1?s-1:0),n=1;n<s;n++)r[n-1]=arguments[n];const l=y&&await y(e,Object.assign({},t,{currentIndex:a,isLastStep:o,setCurrentIndex:i,currentProps:c,stepCacheRef:u}),...r);return u.current[a]=Object.assign({},u.current[a],{output:l}),v&&!o&&!1!==l&&i(e=>e+1),!!o&&l}})}))}});return"function"===typeof i?i(s,t):s(t)},formProps:e=>{let{formProps:t}=e,s=(0,n.A)(e,A);return Object.assign({},s,t)},children:e=>{let{children:t,stepSection:s}=e,r=(0,n.A)(e,_);return(0,h.jsxs)(m.Flex,{vertical:!0,gap:24,children:[(0,h.jsx)(m.Flex,{justify:"center",children:s}),"function"===typeof t?t(r):t]})}}))},N=e=>(0,h.jsx)(a.default,(0,r.A)({},b(Object.assign({},e,{className:d.A["form-modal"]})))),S=()=>{const e=(0,a.useModal)();return t=>e(b(Object.assign({},t,{className:d.A["form-modal"]})))},C=e=>{const t=S();if(!e.api){const{modalProps:s}=e,a=(0,n.A)(e,v);return(0,h.jsx)(m.Button,(0,r.A)((0,r.A)({},a),{},{onClick:()=>{t(s)}}))}return(0,h.jsx)(i.A,(0,r.A)((0,r.A)({},e),{},{modalFunc:t}))}},96252:(e,t,s)=>{"use strict";s.r(t),s.d(t,{AddressInput:()=>A.NI,AddressSelect:()=>A.TQ,AdvancedSelect:()=>A.JL,Avatar:()=>A.eu,Cascader:()=>A.vx,DatePicker:()=>A.lr,DatePickerToday:()=>A.s3,ErrorTip:()=>h.A,Form:()=>m.A,FormApiButton:()=>i.A,FormDrawer:()=>u.Ay,FormDrawerButton:()=>u.WJ,FormItem:()=>p.A,FormModal:()=>c.Ay,FormModalButton:()=>c.W6,FormStepModal:()=>d.Ay,FormStepModalButton:()=>d.Wp,FunctionSelect:()=>A.d4,IndustrySelect:()=>A.ZN,Input:()=>A.pd,InputNumber:()=>A.YI,InputUpperCase:()=>A.h2,List:()=>l.A,MoneyInput:()=>A.F0,MultiField:()=>g.A,PhoneNumber:()=>A.go,Rate:()=>A.tt,SalaryInput:()=>A.lu,Select:()=>A.l6,SelectInnerInput:()=>_.A,Slider:()=>A.Ap,SuperSelect:()=>A.wD,SuperSelectTableList:()=>A.eM,SuperSelectTree:()=>A.kx,SuperSelectUser:()=>A.Pg,Switch:()=>A.dO,TableList:()=>o.A,Text:()=>A.EY,TextArea:()=>A.fs,TimePicker:()=>A.AG,TreeSelect:()=>A.f7,TypeDateRangePicker:()=>A.w5,Upload:()=>A._O,default:()=>v,fieldDecorator:()=>a.E,fields:()=>a.A,formModule:()=>A.nk,useFormDrawer:()=>u.Xy,useFormModal:()=>c.Vl,useFormStepModal:()=>d.$X});var r=s(64261),n=s(2196),a=s(15445),l=s(85846),o=s(97056),i=s(35774),c=s(5995),d=s(94005),u=s(48221),m=s(85696),p=s(30891),h=s(45053),g=s(97949),x=s(98434),f={};for(const y in x)["default","SelectInnerInput","Form","FormItem","ErrorTip","fields","fieldDecorator","List","TableList","FormApiButton","FormModal","useFormModal","FormModalButton","FormStepModal","useFormStepModal","FormStepModalButton","FormDrawer","useFormDrawer","FormDrawerButton","MultiField"].indexOf(y)<0&&(f[y]=()=>x[y]);s.d(t,f);var A=s(83799),_=s(18936);(0,r.A)(),n.A.fields=a.A,n.A.List=l.A,n.A.TableList=o.A,n.A.FormApiButton=i.A,n.A.FormModal=c.Ay,n.A.useFormModal=c.Vl,n.A.FormModalButton=c.W6,n.A.FormStepModal=d.Ay,n.A.useFormStepModal=d.$X,n.A.FormStepModalButton=d.Wp,n.A.FormDrawer=u.Ay,n.A.useFormDrawer=u.Xy,n.A.FormDrawerButton=u.WJ,n.A.Form=m.A,n.A.FormItem=p.A,n.A.ErrorTip=h.A,n.A.SubmitButton=x.SubmitButton,n.A.CancelButton=x.CancelButton,n.A.fieldDecorator=a.E,n.A.MultiField=g.A,n.A.useFormContext=x.useFormContext,n.A.hooks=x.hooks,n.A.widget=x.widget,n.A.utils=x.utils,n.A.formUtils=x.formUtils;const v=n.A},96339:(e,t,s)=>{"use strict";s.d(t,{A:()=>W});var r=s(53986),n=s(89379),a=s(73884),l=s(17508),o=s(40438),i=s(63743),c=s(3382),d=s(64671),u=s(55199),m=s(53202),p=s.n(m),h=s(33097),g=s.n(h),x=s(83136),f=s.n(x),A=s(51941),_=s(98434),v=s(34677),y=s.n(v);const j="style_upload-btn__-6XtP__5xs4J",b="style_square__UPkfA__5xs4J",N="style_is-loading__wx6Pd__5xs4J",S="style_upload-btn-tips__YtxWz__5xs4J",C="style_drop-tips__N-v59__5xs4J",w="style_preview-area__aV3SN__5xs4J";var F=s(18411),I=s(47458),P=s(55431),M=s(70579);const T=["image","width","height","borderRadius","preview","fileSize","accept","renderTips","getApi","shape","border"],k=["image","width","height","borderRadius","getApi","preview","fileSize","accept","renderTips","border","dropModalSize"],{useOnChange:R}=_.hooks,O=o.default.Avatar,E="FormInfo",L=(0,l.Ay)(e=>{let{className:t,icon:s,loading:r,value:a,gender:l,width:o,height:i,children:c,shape:m,defaultAvatar:p,displayAvatar:h,apis:x}=e;const A=(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(O,(0,n.A)((0,n.A)({},Object.assign({},"function"===typeof h?h(a):{id:g()(a,"id")})),{},{gender:l,width:64*o/i,height:64,shape:m,defaultAvatar:p,apis:x})),(0,M.jsx)("div",{className:S,children:s||(0,M.jsx)(d.default,{type:"icon-chuanzhaopian",size:16})}),c]});return(0,M.jsx)("div",{className:f()(t,j,{[N]:r,[b]:"square"===m||!(o&&o===i)}),style:{width:64*o/i},children:r?(0,M.jsx)(u.Spin,{children:A}):A})}),J=e=>{let t=e.split(","),s=t[1].substring(0,t[1].length-2),r=t[0].match(/:(.*?);/)[1],n=atob(s),a=n.length,l=new Uint8Array(a);for(;a--;)l[a]=n.charCodeAt(a);return new Blob([l],{type:r})},D=(0,a.forwardRef)((e,t)=>{let{image:s,width:o,height:i,borderRadius:c,preview:m,fileSize:h,accept:g,renderTips:x,getApi:f,shape:_,border:v=1}=e,y=(0,r.A)(e,T);const j=(0,I.useIntl)({moduleName:E}),[b,N]=(0,a.useState)(0),S=(0,a.useRef)(null),[F,P]=(0,a.useState)(s),[k,R]=(0,a.useState)(1),[O,L]=(0,a.useState)(0),[D,B]=(0,a.useState)(""),U=(0,a.useRef)(null);(0,a.useLayoutEffect)(()=>{N(2*S.current.clientWidth/3)},[]),f({getImage:()=>{const e=U.current.getImage(),t=document.createElement("canvas"),s=t.getContext("2d");return t.width=o,t.height=i,s.drawImage(e,0,0,t.width,t.height),new window.File([J(t.toDataURL())],F.name,{type:F.type})}});const z=()=>{B(U.current.getImage().toDataURL())},W=(0,A.useDebouncedCallback)(z,500);return(0,M.jsx)("div",{ref:S,children:(0,M.jsxs)(u.Row,{wrap:!1,align:"middle",children:[(0,M.jsx)(u.Col,{span:m?16:24,children:b&&(0,M.jsxs)(u.Space,{direction:"vertical",children:[(0,M.jsx)(p(),(0,n.A)((0,n.A)({},y),{},{ref:U,image:F,scale:k,rotate:O,width:b-2*v,height:i*b/o-2*v*i/o,border:v,color:[0,0,0,.6],borderRadius:c*b/o,onImageReady:z,onImageChange:W})),(0,M.jsx)("div",{className:C,children:x("".concat(j.formatMessage({id:"PictureFormat"})).concat(g.map(e=>e.replace(/^\./,"")).join(" ")," ").concat(j.formatMessage({id:"ImageSize"})).concat(j.formatMessage({id:"NotExceeding"},{size:h})),{accept:g,fileSize:h})}),(0,M.jsxs)(u.Row,{gutter:14,align:"middle",children:[(0,M.jsx)(u.Col,{children:(0,M.jsx)(u.Tooltip,{title:j.formatMessage({id:"Rotate"}),placement:"bottom",children:(0,M.jsx)(d.default,{type:"icon-xuanzhuan",onClick:()=>{L(e=>(e-90)%360)}})})}),(0,M.jsx)(u.Col,{children:(0,M.jsx)(u.Tooltip,{title:j.formatMessage({id:"ImageFull"}),placement:"bottom",children:(0,M.jsx)(d.default,{type:"icon-chongman",onClick:()=>{R(1)}})})}),(0,M.jsx)(u.Col,{flex:1,children:(0,M.jsx)(u.Slider,{tooltip:{placement:"bottom",formatter:()=>j.formatMessage({id:"Size"})},value:k,step:.05,min:.2,max:3,onChange:R})}),(0,M.jsx)(u.Col,{children:(0,M.jsx)(l.FI,{accept:g,onChange:e=>{e[0].size>1024*h*1024?u.message.error(j.formatMessage({id:"FileNotExceeding"},{name:e[0].name,size:h})):(L(0),R(1),P(e[0]))},children:j.formatMessage({id:"ReUpload"})})})]})]})}),m&&(0,M.jsx)(u.Col,{span:8,children:(0,M.jsx)("div",{className:w,children:(0,M.jsxs)(u.Space,{direction:"vertical",children:[(0,M.jsx)(u.Avatar,{src:D,shape:_,style:{width:b/2-36,height:(b/2-36)*i/o}}),(0,M.jsx)("div",{style:{textAlign:"center"},children:j.formatMessage({id:"Preview"})})]})})})]})})}),B=()=>{const e=(0,c.useModal)();return t=>{const s=Object.assign({},{title:"\u7f16\u8f91\u5934\u50cf",width:200,height:200,borderRadius:"circle"===t.shape&&t.width&&t.width===t.height?t.width/2:2,preview:!0},t),{image:a,width:l,height:o,borderRadius:i,getApi:c,preview:d,fileSize:u,accept:m,renderTips:p,border:h,dropModalSize:g}=s,x=(0,r.A)(s,k);return e((0,n.A)((0,n.A)({},x),{},{size:g,children:(0,M.jsx)(D,{preview:d,fileSize:u,accept:m,getApi:c,renderTips:p,width:l,height:o,shape:"circle"===t.shape&&t.width&&t.width===t.height?"circle":"square",borderRadius:i,image:a,border:h,scale:1,rotate:0})}))}},U=(0,I.createWithIntl)({importMessages:P.A,moduleName:"FormInfo"})(e=>{var t;let{value:s,gender:r,fileSize:n=2,accept:l=[".jpg",".png",".jpeg"],openEditor:o=!0,apis:c,renderTips:d=e=>e,onChange:m,shape:p="circle",width:h=200,height:g=200,title:x=(0,M.jsx)(I.IntlProvider,{importMessages:P.A,moduleName:"FormInfo",children:(0,M.jsx)(I.FormattedMessage,{id:"Crop",moduleName:"FormInfo"})}),border:f=1,icon:A,dropModalSize:_="small",defaultAvatar:v=F.A,displayAvatar:j}=e;const[b,N]=(0,a.useState)(!1),{apis:S}=(0,i.usePreset)(),C=y()({},S,c),w=C.ossUpload||C.upload||(null===(t=C.file)||void 0===t?void 0:t.upload),T=(0,a.useRef)(null),k=B(),R=(0,I.useIntl)({moduleName:E});return(0,M.jsx)(L,{value:s,gender:r,accept:l,width:h,height:g,shape:p,icon:A,loading:b,defaultAvatar:v,displayAvatar:j,apis:C,onChange:e=>{if(e[0].size>1024*n*1024)return void u.message.error(R.formatMessage({id:"FileNotExceeding"},{name:e[0].name,size:n}));const t=e=>(N(!0),w({file:e}).then(e=>{let{data:t}=e;0===t.code?m(t.data):u.message.error(R.formatMessage({id:"UploadFailed"},{msg:t.msg?":"+t.msg:""}))}).finally(()=>{N(!1)}));o?k({image:e[0],width:h,height:g,title:x,shape:p,border:f,dropModalSize:_,getApi:e=>T.current=e,fileSize:n,accept:l,renderTips:d,onConfirm:()=>{t(T.current.getImage())}}):t(e[0])}})}),z=e=>R(e)(U);z.Field=U,z.useDropModal=B;const W=z},97056:(e,t,s)=>{"use strict";s.d(t,{A:()=>x});var r=s(89379),n=s(53986),a=s(55199),l=s(64671),o=s(83136),i=s.n(o),c=s(47094),d=s(82962),u=s(41381),m=s(47458),p=s(55431),h=s(70579);const g=["className"],x=(0,m.createWithIntl)({moduleName:"FormInfo",importMessages:p.A})(e=>{let{className:t}=e,s=(0,n.A)(e,g);const{formatMessage:o}=(0,m.useIntl)({moduleName:"FormInfo"});return(0,h.jsx)("div",{className:i()(t,c.A["table-list"]),children:(0,h.jsx)(d.TableList,(0,r.A)((0,r.A)({},s),{},{className:i()(t,c.A["table-list"]),headerRender:(e,t)=>{let{width:s}=t;return(0,h.jsxs)(a.Row,{wrap:!1,className:c.A["table-list-header"],style:{"--col-width":s},children:[e,(0,h.jsx)(a.Col,{className:c.A["table-list-extra"]})]})},headerItemRender:(e,t)=>{let{id:s,isReq:r}=t;return(0,h.jsx)(a.Col,{className:i()({[c.A["is-req"]]:r}),children:e},s)},listRender:(e,t)=>{let{id:s,width:r,onRemove:n,allowRemove:i}=t;return(0,h.jsxs)(a.Row,{wrap:!1,style:{"--col-width":r},children:[e,(0,h.jsx)(a.Col,{className:c.A["table-list-extra"],children:(0,h.jsx)(a.Button,{type:"link",onClick:n,danger:!0,disabled:!i,children:(0,h.jsxs)("span",{children:[(0,h.jsx)(l.default,{type:"shanchu"}),o({id:"delText"})]})})})]},s)},itemRender:e=>(0,h.jsx)(a.Col,{className:c.A["table-list-field"],flex:1,children:e}),children:(e,t)=>{let{title:s,allowAdd:r,onAdd:n}=t;return(0,h.jsx)(u.default.Part,{title:s,className:i()(c.A["table-list-inner"]),extra:r&&(0,h.jsxs)(a.Typography.Link,{className:c.A["list-btn"],onClick:()=>n({isUnshift:!1}),children:[(0,h.jsx)(l.default,{type:"tianjia"}),o({id:"addText"})]}),children:e})}}))})})},97949:(e,t,s)=>{"use strict";s.d(t,{A:()=>p});var r=s(89379),n=s(55199),a=s(47458),l=s(64671),o=s(47094),i=s(83136),c=s.n(i),d=s(55431),u=s(82962),m=s(70579);const p=(0,a.createWithIntl)({moduleName:"FormInfo",importMessages:d.A})(e=>{const{formatMessage:t}=(0,a.useIntl)({moduleName:"FormInfo"});return(0,m.jsx)(u.MultiField,(0,r.A)((0,r.A)({},e),{},{itemRender:(e,t)=>{let{id:s,index:r,allowRemove:a,onRemove:i}=t;return(0,m.jsxs)("div",{className:c()(o.A["mult-field-item"],"mult-field-item",{[o.A["first-item"]]:0===r}),children:[e,(0,m.jsxs)("div",{className:c()("form-info-mult-option"),children:[(0,m.jsx)("div",{className:c()(o.A["react-form__field-label"],"react-form__field-label","mult-field-delete--label")}),(0,m.jsx)(n.Button,{icon:(0,m.jsx)(l.default,{type:"shanchu"}),onClick:i,disabled:!a})]})]},s)},children:(s,r)=>{let{allowAdd:a,onAdd:i}=r;return(0,m.jsxs)("div",{className:c()(o.A["mult-field"],"mult-field"),children:[s,a&&(0,m.jsx)("div",{className:c()("form-info-mult-add-btn"),children:(0,m.jsxs)(n.Button,{className:o.A["mult-field-add-btn"],type:"dashed",onClick:()=>i({isUnshift:!1}),children:[(0,m.jsx)(l.default,{type:"tianjia"}),t({id:"addSomeThing"},{label:e.label})]})})]})}}))})}}]);
2
+ //# sourceMappingURL=254.8df18f89.chunk.js.map