@kne-components/components-core 0.3.22 → 0.3.23

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 (173) hide show
  1. package/build/asset-manifest.json +101 -103
  2. package/build/index.html +1 -1
  3. package/build/mock/resume.pdf +0 -0
  4. package/build/mock/resume.png +0 -0
  5. package/build/remoteEntry.js +1 -1
  6. package/build/remoteEntry.js.map +1 -1
  7. package/build/static/css/1248.420f95be.chunk.css +2 -0
  8. package/build/static/css/{1248.4a0b7f83.chunk.css.map → 1248.420f95be.chunk.css.map} +1 -1
  9. package/build/static/css/1559.10a05420.chunk.css +2 -0
  10. package/build/static/css/{1559.699d3dc6.chunk.css.map → 1559.10a05420.chunk.css.map} +1 -1
  11. package/build/static/css/{1996.f2354a07.chunk.css → 1996.ad6ff799.chunk.css} +2 -2
  12. package/build/static/css/{1996.f2354a07.chunk.css.map → 1996.ad6ff799.chunk.css.map} +1 -1
  13. package/build/static/css/206.3b192e68.chunk.css +2 -0
  14. package/build/static/css/206.3b192e68.chunk.css.map +1 -0
  15. package/build/static/css/2309.d47b23b4.chunk.css +2 -0
  16. package/build/static/css/{2309.05cae1d6.chunk.css.map → 2309.d47b23b4.chunk.css.map} +1 -1
  17. package/build/static/css/2630.e3e8f1f9.chunk.css +2 -0
  18. package/build/static/css/{2630.c8ff7541.chunk.css.map → 2630.e3e8f1f9.chunk.css.map} +1 -1
  19. package/build/static/css/2716.22bb4fae.chunk.css +2 -0
  20. package/build/static/css/{2716.730daeea.chunk.css.map → 2716.22bb4fae.chunk.css.map} +1 -1
  21. package/build/static/css/{3771.c8fd3972.chunk.css → 3771.a69d0a04.chunk.css} +2 -2
  22. package/build/static/css/{3771.c8fd3972.chunk.css.map → 3771.a69d0a04.chunk.css.map} +1 -1
  23. package/build/static/css/{3790.432eec3f.chunk.css → 3790.c883c3e8.chunk.css} +2 -2
  24. package/build/static/css/{3790.432eec3f.chunk.css.map → 3790.c883c3e8.chunk.css.map} +1 -1
  25. package/build/static/css/{4277.ff87c82d.chunk.css → 4277.cf236e3f.chunk.css} +2 -2
  26. package/build/static/css/{4277.ff87c82d.chunk.css.map → 4277.cf236e3f.chunk.css.map} +1 -1
  27. package/build/static/css/5422.3fba146d.chunk.css +2 -0
  28. package/build/static/css/5422.3fba146d.chunk.css.map +1 -0
  29. package/build/static/css/{6763.ac565045.chunk.css → 6763.60886b75.chunk.css} +2 -2
  30. package/build/static/css/{6763.ac565045.chunk.css.map → 6763.60886b75.chunk.css.map} +1 -1
  31. package/build/static/css/6980.565a5873.chunk.css +12 -0
  32. package/build/static/css/6980.565a5873.chunk.css.map +1 -0
  33. package/build/static/css/7227.f4fd739b.chunk.css +2 -0
  34. package/build/static/css/{7227.a609a53b.chunk.css.map → 7227.f4fd739b.chunk.css.map} +1 -1
  35. package/build/static/css/{760.f14517c4.chunk.css → 760.b6f1ffe9.chunk.css} +2 -2
  36. package/build/static/css/{760.f14517c4.chunk.css.map → 760.b6f1ffe9.chunk.css.map} +1 -1
  37. package/build/static/css/8278.ae2486d0.chunk.css +2 -0
  38. package/build/static/css/8278.ae2486d0.chunk.css.map +1 -0
  39. package/build/static/css/{8593.35aee5c3.chunk.css → 8593.1131ec48.chunk.css} +2 -2
  40. package/build/static/css/{8593.35aee5c3.chunk.css.map → 8593.1131ec48.chunk.css.map} +1 -1
  41. package/build/static/css/9119.806ab331.chunk.css +2 -0
  42. package/build/static/css/{9119.198f95f9.chunk.css.map → 9119.806ab331.chunk.css.map} +1 -1
  43. package/build/static/css/9556.60bfb7c6.chunk.css +2 -0
  44. package/build/static/css/{9556.70c10c58.chunk.css.map → 9556.60bfb7c6.chunk.css.map} +1 -1
  45. package/build/static/css/9772.40db844e.chunk.css +2 -0
  46. package/build/static/css/9772.40db844e.chunk.css.map +1 -0
  47. package/build/static/js/{1014.87aa5338.chunk.js → 1014.062b3399.chunk.js} +1 -1
  48. package/build/static/js/1248.e04383c7.chunk.js +3 -0
  49. package/build/static/js/1248.e04383c7.chunk.js.map +1 -0
  50. package/build/static/js/1996.977f3d73.chunk.js +2 -0
  51. package/build/static/js/{1996.ba86de26.chunk.js.map → 1996.977f3d73.chunk.js.map} +1 -1
  52. package/build/static/js/206.4fca34c5.chunk.js +2 -0
  53. package/build/static/js/206.4fca34c5.chunk.js.map +1 -0
  54. package/build/static/js/{2097.6e05fc91.chunk.js → 2097.087ae73c.chunk.js} +2 -2
  55. package/build/static/js/{2097.6e05fc91.chunk.js.map → 2097.087ae73c.chunk.js.map} +1 -1
  56. package/build/static/js/2309.1942d3a5.chunk.js +2 -0
  57. package/build/static/js/2309.1942d3a5.chunk.js.map +1 -0
  58. package/build/static/js/2630.fae65a5f.chunk.js +2 -0
  59. package/build/static/js/2630.fae65a5f.chunk.js.map +1 -0
  60. package/build/static/js/2716.db48e70e.chunk.js +3 -0
  61. package/build/static/js/2716.db48e70e.chunk.js.map +1 -0
  62. package/build/static/js/3771.b35db118.chunk.js +2 -0
  63. package/build/static/js/{3771.98136f4e.chunk.js.map → 3771.b35db118.chunk.js.map} +1 -1
  64. package/build/static/js/{3790.9883baec.chunk.js → 3790.7fe81760.chunk.js} +2 -2
  65. package/build/static/js/{3790.9883baec.chunk.js.map → 3790.7fe81760.chunk.js.map} +1 -1
  66. package/build/static/js/3856.308647b4.chunk.js +2 -0
  67. package/build/static/js/{3856.18a1b0df.chunk.js.map → 3856.308647b4.chunk.js.map} +1 -1
  68. package/build/static/js/4277.5999c2e5.chunk.js +2 -0
  69. package/build/static/js/4277.5999c2e5.chunk.js.map +1 -0
  70. package/build/static/js/4474.a13d3bee.chunk.js +2 -0
  71. package/build/static/js/4474.a13d3bee.chunk.js.map +1 -0
  72. package/build/static/js/{5422.c0a4c1e2.chunk.js → 5422.e9ae0d22.chunk.js} +2 -2
  73. package/build/static/js/{5422.c0a4c1e2.chunk.js.map → 5422.e9ae0d22.chunk.js.map} +1 -1
  74. package/build/static/js/{6183.8683d370.chunk.js → 6183.874f397c.chunk.js} +2 -2
  75. package/build/static/js/6183.874f397c.chunk.js.map +1 -0
  76. package/build/static/js/628.3e28efa2.chunk.js +2 -0
  77. package/build/static/js/628.3e28efa2.chunk.js.map +1 -0
  78. package/build/static/js/{6454.158cc0a5.chunk.js → 6454.0a61aac9.chunk.js} +1 -1
  79. package/build/static/js/{6617.a8b13ad4.chunk.js → 6617.478cfff0.chunk.js} +1 -1
  80. package/build/static/js/6763.22216403.chunk.js +2 -0
  81. package/build/static/js/{6763.b9d2f7ca.chunk.js.map → 6763.22216403.chunk.js.map} +1 -1
  82. package/build/static/js/6980.d67616cd.chunk.js +2 -0
  83. package/build/static/js/6980.d67616cd.chunk.js.map +1 -0
  84. package/build/static/js/{7227.d0c93f45.chunk.js → 7227.2044244e.chunk.js} +3 -3
  85. package/build/static/js/{7227.d0c93f45.chunk.js.map → 7227.2044244e.chunk.js.map} +1 -1
  86. package/build/static/js/{7338.32ee54cd.chunk.js → 7338.1e95fe61.chunk.js} +2 -2
  87. package/build/static/js/{7338.32ee54cd.chunk.js.map → 7338.1e95fe61.chunk.js.map} +1 -1
  88. package/build/static/js/{760.59ee3c3b.chunk.js → 760.f16a43aa.chunk.js} +2 -2
  89. package/build/static/js/{760.59ee3c3b.chunk.js.map → 760.f16a43aa.chunk.js.map} +1 -1
  90. package/build/static/js/8247.2a8ecdf4.chunk.js +2 -0
  91. package/build/static/js/8247.2a8ecdf4.chunk.js.map +1 -0
  92. package/build/static/js/8278.223ea344.chunk.js +2 -0
  93. package/build/static/js/8278.223ea344.chunk.js.map +1 -0
  94. package/build/static/js/8593.f380ac2a.chunk.js +2 -0
  95. package/build/static/js/{8593.ac77eba5.chunk.js.map → 8593.f380ac2a.chunk.js.map} +1 -1
  96. package/build/static/js/{8812.46992a9d.chunk.js → 8812.6fa1c023.chunk.js} +2 -2
  97. package/build/static/js/{8812.46992a9d.chunk.js.map → 8812.6fa1c023.chunk.js.map} +1 -1
  98. package/build/static/js/9119.cc873032.chunk.js +2 -0
  99. package/build/static/js/9119.cc873032.chunk.js.map +1 -0
  100. package/build/static/js/9556.283ac73f.chunk.js +3 -0
  101. package/build/static/js/9556.283ac73f.chunk.js.map +1 -0
  102. package/build/static/js/9772.21874f13.chunk.js +2 -0
  103. package/build/static/js/9772.21874f13.chunk.js.map +1 -0
  104. package/build/static/js/main.9ecd33da.js +2 -0
  105. package/build/static/js/main.9ecd33da.js.map +1 -0
  106. package/package.json +3 -4
  107. package/build/mock/1_/347/216/213/346/231/266/347/256/200/345/216/206-2023_06_2.pdf +0 -0
  108. package/build/mock/cLtSR4oBLvtYYBIY9Epn.pdf +0 -0
  109. package/build/mock/demo.html +0 -344
  110. package/build/mock/demo.jpg +0 -0
  111. package/build/mock/demo.pdf +0 -0
  112. package/build/mock/demo2.jpg +0 -0
  113. package/build/mock/demo2.pdf +0 -0
  114. package/build/static/css/1248.4a0b7f83.chunk.css +0 -2
  115. package/build/static/css/1559.699d3dc6.chunk.css +0 -2
  116. package/build/static/css/2309.05cae1d6.chunk.css +0 -2
  117. package/build/static/css/2630.c8ff7541.chunk.css +0 -2
  118. package/build/static/css/2716.730daeea.chunk.css +0 -2
  119. package/build/static/css/5422.a9226ff3.chunk.css +0 -2
  120. package/build/static/css/5422.a9226ff3.chunk.css.map +0 -1
  121. package/build/static/css/6980.5f615080.chunk.css +0 -12
  122. package/build/static/css/6980.5f615080.chunk.css.map +0 -1
  123. package/build/static/css/7227.a609a53b.chunk.css +0 -2
  124. package/build/static/css/7277.43e0877f.chunk.css +0 -2
  125. package/build/static/css/7277.43e0877f.chunk.css.map +0 -1
  126. package/build/static/css/8278.dcdc5ce5.chunk.css +0 -2
  127. package/build/static/css/8278.dcdc5ce5.chunk.css.map +0 -1
  128. package/build/static/css/9119.198f95f9.chunk.css +0 -2
  129. package/build/static/css/9556.70c10c58.chunk.css +0 -2
  130. package/build/static/css/9772.39744849.chunk.css +0 -2
  131. package/build/static/css/9772.39744849.chunk.css.map +0 -1
  132. package/build/static/js/1248.6a5cb721.chunk.js +0 -3
  133. package/build/static/js/1248.6a5cb721.chunk.js.map +0 -1
  134. package/build/static/js/1725.bc60f755.chunk.js +0 -2
  135. package/build/static/js/1725.bc60f755.chunk.js.map +0 -1
  136. package/build/static/js/1996.ba86de26.chunk.js +0 -2
  137. package/build/static/js/224.8fd4d377.chunk.js +0 -2
  138. package/build/static/js/224.8fd4d377.chunk.js.map +0 -1
  139. package/build/static/js/2309.08afbe99.chunk.js +0 -2
  140. package/build/static/js/2309.08afbe99.chunk.js.map +0 -1
  141. package/build/static/js/2630.c1b591c9.chunk.js +0 -2
  142. package/build/static/js/2630.c1b591c9.chunk.js.map +0 -1
  143. package/build/static/js/2716.b7eeeeaa.chunk.js +0 -3
  144. package/build/static/js/2716.b7eeeeaa.chunk.js.map +0 -1
  145. package/build/static/js/3771.98136f4e.chunk.js +0 -2
  146. package/build/static/js/3856.18a1b0df.chunk.js +0 -2
  147. package/build/static/js/4106.30718fc6.chunk.js +0 -2
  148. package/build/static/js/4106.30718fc6.chunk.js.map +0 -1
  149. package/build/static/js/4277.5c5101a6.chunk.js +0 -2
  150. package/build/static/js/4277.5c5101a6.chunk.js.map +0 -1
  151. package/build/static/js/4474.ae434135.chunk.js +0 -2
  152. package/build/static/js/4474.ae434135.chunk.js.map +0 -1
  153. package/build/static/js/6183.8683d370.chunk.js.map +0 -1
  154. package/build/static/js/6763.b9d2f7ca.chunk.js +0 -2
  155. package/build/static/js/6980.004468cd.chunk.js +0 -2
  156. package/build/static/js/6980.004468cd.chunk.js.map +0 -1
  157. package/build/static/js/7277.43ab853a.chunk.js +0 -2
  158. package/build/static/js/7277.43ab853a.chunk.js.map +0 -1
  159. package/build/static/js/8278.c3aac300.chunk.js +0 -2
  160. package/build/static/js/8278.c3aac300.chunk.js.map +0 -1
  161. package/build/static/js/8593.ac77eba5.chunk.js +0 -2
  162. package/build/static/js/9119.d0b077e7.chunk.js +0 -2
  163. package/build/static/js/9119.d0b077e7.chunk.js.map +0 -1
  164. package/build/static/js/9556.8077800b.chunk.js +0 -3
  165. package/build/static/js/9556.8077800b.chunk.js.map +0 -1
  166. package/build/static/js/9772.d9c4284f.chunk.js +0 -2
  167. package/build/static/js/9772.d9c4284f.chunk.js.map +0 -1
  168. package/build/static/js/main.6c9b4111.js +0 -2
  169. package/build/static/js/main.6c9b4111.js.map +0 -1
  170. /package/build/static/js/{1248.6a5cb721.chunk.js.LICENSE.txt → 1248.e04383c7.chunk.js.LICENSE.txt} +0 -0
  171. /package/build/static/js/{2716.b7eeeeaa.chunk.js.LICENSE.txt → 2716.db48e70e.chunk.js.LICENSE.txt} +0 -0
  172. /package/build/static/js/{7227.d0c93f45.chunk.js.LICENSE.txt → 7227.2044244e.chunk.js.LICENSE.txt} +0 -0
  173. /package/build/static/js/{9556.8077800b.chunk.js.LICENSE.txt → 9556.283ac73f.chunk.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/2630.c1b591c9.chunk.js","mappings":"oPACA,SAAgB,YAAY,gCAAgC,mBAAmB,uCAAuC,kBAAkB,sCAAsC,YAAY,gCAAgC,kCAAkC,sDAAsD,wBAAwB,4CAA4C,yBAAyB,6CAA6C,UAAU,8BAA8B,WAAW,+BAA+B,oBAAoB,yC,yGCK5hBA,EAAc,CAClBC,QAAS,UACTC,MAAO,CACLC,MAAO,UACPC,YAAa,WAEfC,OAAQ,UACRC,aAAc,UACdC,QAAS,UACTC,SAAU,UACVC,OAAQ,UACRC,KAAM,UACNC,MAAO,WAGHC,EAAWC,IAQV,IARW,WAChBC,EAAU,KACVC,EAAI,KACJC,EAAI,eACJC,EAAc,UACdC,EAAS,WACTC,GAEDN,EADIO,GAAKC,EAAAA,EAAAA,GAAAR,EAAAS,GAER,MAAMC,GAAWC,EAAAA,EAAAA,UACf,SAAAC,EAAAC,EAAA,MAAO,CACLvB,OAAkB,OAAXH,QAAW,IAAXA,GAAmB,QAARyB,EAAXzB,EAAcgB,UAAK,IAAAS,OAAR,EAAXA,EAAqBtB,QAASH,EAAYgB,G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A,EAAAA,EAAAA,GAAA,GAAKhB,GAAK,IAAAa,SACnBgC,IAAiC,IAAhC,MAAEb,EAAK,SAAEC,EAAQ,MAAEjC,GAAO6C,EAC1B,MAAM,KAAEd,EAAI,KAAE8O,GAAS7Q,EACvB,OACEO,EAAAA,EAAAA,MAAA,OAAAM,SAAA,EACEN,EAAAA,EAAAA,MAAC6L,EAAAA,KAAI,CAACsE,IAAK,EAAGrE,UAAQ,EAACvM,UAAWY,EAAM,mBAAmBG,SAAA,CACxDkB,EAAKG,KAAI,CAACC,EAAMC,KACRtB,EAAAA,EAAAA,KAACgB,GAAI,CAAaC,KAAMI,GAAbC,KAEnByO,IACC/P,EAAAA,EAAAA,KAACgQ,EAAe,CACdhR,UAAWY,EAAM,wBACjB6B,MAAK,GAAApB,OAAK2J,EAAc,CAAErH,GAAI,aAAa,KAC3C1B,KAAM,CAAC8O,QAIZ7O,GAASA,EAAMiB,OAAS,IACvBnC,EAAAA,EAAAA,KAAC+E,EAAkB,CAAC7D,MAAOA,EAAOC,SAAUA,cAU5D0O,GAAeb,OAASiB,GACxB,Y,gBChFA,GAJ4BtR,IAA6B,IAA5B,SAAEoB,GAAoBpB,EACjD,OAAOoB,GADwCZ,EAAAA,EAAAA,GAAAR,EAAAS,MCQjDwF,EAAOoK,OAASA,EAChBpK,EAAOsL,eAAiBA,GACxBtL,EAAOuL,UAAYA,EACnBvL,EAAOwL,YAAcA,GACrBxL,EAAOwI,gBAAkBA,GACzBxI,EAAOD,eAAiBA,EACxB,U,kBCdA,IAAI0L,EAAaC,EAAQ,OACrBC,EAAeD,EAAQ,OAoC3BE,EAAOC,QALP,SAAkBvP,GAChB,MAAuB,iBAATA,GACXqP,EAAarP,IA9BF,mBA8BYmP,EAAWnP,EACvC,C","sources":["webpack://@kne-components/components-core/./src/components/StateTag/style.module.scss?5aff","components/StateTag/index.js","webpack://@kne-components/components-core/./src/components/Filter/style.module.scss?eebc","components/Filter/locale/index.js","components/Filter/context.js","components/Filter/FilterLines.js","components/Filter/FilterValueDisplay.js","components/Filter/FilterProvider.js","components/Filter/FilterOuter.js","components/Filter/Filter.js","components/Filter/FilterItem.js","components/Filter/withFieldItem.js","webpack://@kne-components/components-core/./src/common/components/TreeField/style.module.scss?bcd6","common/components/TreeField/index.js","components/Filter/PopoverItem.js","components/Filter/fields/InputFilterItem.js","components/Filter/fields/NumberRangeFilterItem.js","components/Filter/fields/DatePickerFilterItem.js","components/Filter/fields/DateRangePickerFilterItem.js","components/Filter/fields/TypeDateRangePickerFilterItem.js","components/Filter/fields/index.js","components/Filter/getFilterValue.js","components/Filter/withFilterValue.js","components/Filter/SearchInput.js","components/Filter/AdvancedFilter/fields/CityFilterItem.js","components/Filter/AdvancedFilter/fields/ListFilterItem.js","components/Filter/AdvancedFilter/fields/index.js","components/Filter/AdvancedFilter/fields/InputFilterItem.js","components/Filter/AdvancedFilter/index.js","components/Filter/FilterItemContainer.js","components/Filter/index.js","../node_modules/lodash/isNumber.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"state-tag\":\"style_state-tag__Kx27z__-vnKV\",\"state-result-tag\":\"style_state-result-tag__CssDz__-vnKV\",\"state-skill-tag\":\"style_state-skill-tag__k0bQE__-vnKV\",\"event-tag\":\"style_event-tag__cg6SE__-vnKV\",\"state-tag-filter-result-wrapper\":\"style_state-tag-filter-result-wrapper__QYS5z__-vnKV\",\"state-tag-filter-name\":\"style_state-tag-filter-name__iJaJd__-vnKV\",\"state-tag-filterResult\":\"style_state-tag-filterResult__KTkot__-vnKV\",\"show-bg\":\"style_show-bg__OcL+R__-vnKV\",\"tag-text\":\"style_tag-text__JHCt+__-vnKV\",\"state-tag-wrapper\":\"style_state-tag-wrapper__A-gTE__-vnKV\"};","import React, { useMemo } from \"react\";\nimport classnames from \"classnames\";\n\nimport style from \"./style.module.scss\";\nimport { Space, Tag } from \"antd\";\n\nconst tagTypeEnum = {\n default: \"#666666\",\n skill: {\n color: \"#666666\",\n borderColor: \"#EEEEEE\",\n },\n result: \"#666666\",\n filterResult: \"#5CB8B2\",\n success: \"#027A48\",\n progress: \"#F09700\",\n danger: \"#D14343\",\n info: \"#155ACF\",\n other: \"#6740C3\",\n};\n\nconst StateTag = ({\n showBorder,\n text,\n type,\n showBackground,\n className,\n filterName,\n ...props\n}) => {\n const tagColor = useMemo(\n () => ({\n color: tagTypeEnum?.[type]?.color || tagTypeEnum[type],\n borderColor: tagTypeEnum?.[type]?.borderColor || tagTypeEnum[type],\n }),\n [type]\n );\n\n return (\n <Space\n data-testid={\"components-core-state-tag\"}\n className={classnames(\n style[\"state-tag-wrapper\"],\n type === \"filterResult\" ? style[\"state-tag-filter-result-wrapper\"] : \"\"\n )}\n align=\"center\"\n size={4}\n >\n {filterName ? (\n <span className={style[\"state-tag-filter-name\"]}>{filterName}:</span>\n ) : null}\n <Tag\n color={tagColor.color}\n {...props}\n style={{\n background: showBackground ? tagColor.color + \"0F\" : \"none\",\n color: tagColor.color,\n border: showBorder ? `1px solid ${tagColor.borderColor}` : \"none\",\n }}\n className={classnames(\n style[\"state-tag\"],\n className,\n type === \"result\" ? style[\"state-result-tag\"] : \"\",\n type === \"skill\" ? style[\"state-skill-tag\"] : \"\",\n style[`state-tag-${type}`],\n showBackground ? style[\"show-bg\"] : \"\",\n showBorder ? style[\"show-border\"] : \"\",\n props?.onClick ? style[\"event-tag\"] : \"\"\n )}\n >\n <span className={style[\"tag-text\"]}>{text}</span>\n </Tag>\n </Space>\n );\n};\n\nStateTag.defaultProps = {\n color: \"#666666\",\n type: \"default\",\n showBorder: false,\n showBackground: true,\n text: \"\",\n className: \"\",\n};\n\nexport default StateTag;\n","// extracted by mini-css-extract-plugin\nexport default {\"filter\":\"style_filter__Xml45__-vnKV\",\"filter-item-icon\":\"style_filter-item-icon__kVCRK__-vnKV\",\"filter-item-option-icon\":\"style_filter-item-option-icon__q1fz3__-vnKV\",\"filter-title\":\"style_filter-title__PlIpS__-vnKV\",\"filter-title-hidden\":\"style_filter-title-hidden__NJ1ZB__-vnKV\",\"ad-filter-title\":\"style_ad-filter-title__5-OzD__-vnKV\",\"ad-filter-line\":\"style_ad-filter-line__ga6UH__-vnKV\",\"filter-line\":\"style_filter-line__E+cRh__-vnKV\",\"clean-btn\":\"style_clean-btn__oSEvm__-vnKV\",\"filter-item\":\"style_filter-item__Q2ncE__-vnKV\",\"un-expand\":\"style_un-expand__4PFY8__-vnKV\",\"ad-filter-selected\":\"style_ad-filter-selected__KbLfG__-vnKV\",\"filter-label\":\"style_filter-label__qu26i__-vnKV\",\"filter-item-wrap\":\"style_filter-item-wrap__rOq7H__-vnKV\",\"option\":\"style_option__rd5Qo__-vnKV\",\"is-active\":\"style_is-active__OArQI__-vnKV\",\"is-visited\":\"style_is-visited__gZ5ni__-vnKV\",\"un-expand-shadow\":\"style_un-expand-shadow__fj92e__-vnKV\",\"filter-item-label\":\"style_filter-item-label__C781J__-vnKV\",\"filter-item-field\":\"style_filter-item-field__Ltfr8__-vnKV\",\"filter-drop-tag\":\"style_filter-drop-tag__DD-2P__-vnKV\",\"filter-list-tag\":\"style_filter-list-tag__Qt5hA__-vnKV\",\"filter-tag\":\"style_filter-tag__dUGfu__-vnKV\",\"filter-tag-value\":\"style_filter-tag-value__p-SFv__-vnKV\",\"pop-util-content\":\"style_pop-util-content__bx5zP__-vnKV\",\"pop-util-overlay\":\"style_pop-util-overlay__LEASt__-vnKV\",\"pop-util-footer\":\"style_pop-util-footer__Xat1s__-vnKV\",\"pop-util-text\":\"style_pop-util-text__pzeUy__-vnKV\",\"filter-item-inner\":\"style_filter-item-inner__LVXgh__-vnKV\",\"filter-item-text\":\"style_filter-item-text__MA8tU__-vnKV\",\"filter-item-number-range\":\"style_filter-item-number-range__U-OgQ__-vnKV\",\"filter-item-custom\":\"style_filter-item-custom__UusRa__-vnKV\",\"filter-item-custom-active\":\"style_filter-item-custom-active__uFtny__-vnKV\",\"filter-item-number-range-split\":\"style_filter-item-number-range-split__fVt8E__-vnKV\",\"filter-item-number-input\":\"style_filter-item-number-input__YPO6K__-vnKV\",\"range-picker\":\"style_range-picker__c6ngq__-vnKV\",\"cascader-select-wrap\":\"style_cascader-select-wrap__z5hu7__-vnKV\",\"cascader-dropdown-menu\":\"style_cascader-dropdown-menu__nhAH5__-vnKV\",\"filter-advanced\":\"style_filter-advanced__4cyDy__-vnKV\",\"filter-advanced-item-other\":\"style_filter-advanced-item-other__-v86K__-vnKV\",\"filter-advanced-item-other-inner\":\"style_filter-advanced-item-other-inner__sXLEV__-vnKV\",\"filter-advanced-more\":\"style_filter-advanced-more__OFXq4__-vnKV\"};","const importMessages = (locale) => {\n return {\n \"en-US\": () => import(\"./en-US\"),\n \"zh-CN\": () => import(\"./zh-CN\"),\n }[locale]();\n};\n\nexport default importMessages;\n","import { createContext, useContext as useReactContext } from \"react\";\n\nexport const context = createContext({});\n\nexport const { Provider } = context;\n\nexport const useContext = () => useReactContext(context);\n","import classnames from \"classnames\";\nimport { useState } from \"react\";\nimport Icon from \"@components/Icon\";\nimport style from \"./style.module.scss\";\nimport { Col, Row, Space } from \"antd\";\nimport { FormattedMessage, IntlProvider } from \"@components/Intl\";\nimport importMessages from \"./locale\";\nimport { useContext } from \"./context\";\nimport get from \"lodash/get\";\n\nconst Line = ({ list, children }) => {\n const { value, onChange } = useContext();\n return (\n <div className={style[\"filter-line\"]}>\n {list.map((item, index) => {\n if (typeof item === \"function\") {\n return item((props) => {\n return {\n index,\n value: value\n ? get(value.get(props?.name), \"value\")\n : props?.value,\n onChange: onChange\n ? (value) =>\n onChange({\n name: props?.name,\n label: props?.label,\n value,\n })\n : props?.onChange,\n };\n });\n }\n const ComponentItem = item.type;\n return (\n <ComponentItem\n {...Object.assign({}, item.props, {\n key: item.key || item.props.name || index,\n value: value\n ? get(value.get(item.props.name), \"value\")\n : item.props.value,\n onChange: onChange\n ? (value) =>\n onChange({\n name: item.props.name,\n label: item.props.label,\n value,\n })\n : item.props.onChange,\n })}\n />\n );\n })}\n {children}\n </div>\n );\n};\n\nconst FilterLines = ({\n className,\n list,\n displayLine,\n label,\n extra,\n children,\n}) => {\n const hasMore = list.length > displayLine;\n const [isExpand, setIsExpand] = useState(false);\n\n return (\n <IntlProvider importMessages={importMessages} moduleName=\"Filter\">\n <Space\n className={classnames(style[\"filter-title\"], className)}\n align=\"top\"\n size={16}\n >\n <span className={style[\"filter-label\"]}>\n {label || (\n <FormattedMessage\n id=\"filterText\"\n moduleName=\"Filter\"\n defaultMessage=\"筛选\"\n />\n )}\n </span>\n <Row justify=\"space-between\" wrap={false} align=\"top\">\n <Col className={style[\"filter-list\"]} flex={1}>\n {list.slice(0, displayLine).map((item, index) => (\n <Line key={index} list={item}>\n {hasMore && isExpand === false && index === displayLine - 1 ? (\n <Space\n size={4}\n className={classnames(\n style[\"filter-item\"],\n style[\"option\"]\n )}\n onClick={() => {\n setIsExpand((value) => !value);\n }}\n >\n <FormattedMessage\n id=\"moreText\"\n moduleName=\"Filter\"\n defaultMessage=\"更多\"\n />\n <Icon\n className={style[\"filter-item-option-icon\"]}\n type=\"icon-arrow-thin-down\"\n />\n </Space>\n ) : null}\n </Line>\n ))}\n </Col>\n <Col>{extra}</Col>\n </Row>\n </Space>\n <Space\n className={classnames(style[\"filter-title\"], \"filter-title-wrap\")}\n align=\"center\"\n size={16}\n >\n {children}\n </Space>\n <Space\n className={classnames(style[\"filter-title\"], \"filter-title-wrap\", {\n [style[\"filter-title-hidden\"]]: !(hasMore && isExpand),\n })}\n align=\"top\"\n size={16}\n >\n <span className={style[\"filter-label\"]}>\n <FormattedMessage\n id=\"moreText\"\n moduleName=\"Filter\"\n defaultMessage=\"更多\"\n />\n </span>\n <div className={style[\"filter-list\"]}>\n {list.slice(displayLine).map((item, index) => (\n <Line key={index} list={item}>\n {index === list.length - displayLine - 1 && (\n <>\n <Space\n size={4}\n className={classnames(style[\"un-expand-shadow\"])}\n >\n <Space\n size={4}\n className={classnames(\n style[\"option\"],\n style[\"filter-item\"]\n )}\n >\n <FormattedMessage\n id=\"toggleUpText\"\n moduleName=\"Filter\"\n defaultMessage=\"收起\"\n />\n <Icon\n className={style[\"filter-item-option-icon\"]}\n type=\"icon-arrow-thin-up\"\n />\n </Space>\n </Space>\n <Space\n size={4}\n className={classnames(style[\"un-expand\"])}\n onClick={() => {\n setIsExpand((value) => !value);\n }}\n >\n <Space\n size={4}\n className={classnames(\n style[\"option\"],\n style[\"filter-item\"]\n )}\n >\n <FormattedMessage\n id=\"toggleUpText\"\n moduleName=\"Filter\"\n defaultMessage=\"收起\"\n />\n <Icon\n className={style[\"filter-item-option-icon\"]}\n type=\"icon-arrow-thin-up\"\n />\n </Space>\n </Space>\n </>\n )}\n </Line>\n ))}\n </div>\n </Space>\n </IntlProvider>\n );\n};\n\nFilterLines.defaultProps = {\n displayLine: 1,\n};\n\nexport default FilterLines;\n","import { Button, Space } from \"antd\";\nimport StateTag from \"@components/StateTag\";\nimport { FormattedMessage, IntlProvider } from \"@components/Intl\";\nimport style from \"@components/Filter/style.module.scss\";\nimport classnames from \"classnames\";\nimport importMessages from \"@components/Filter/locale\";\n\nconst FilterValueDisplay = ({ value: filterValue, extraExpand, onChange }) => {\n return (\n <IntlProvider importMessages={importMessages} moduleName=\"Filter\">\n <Space className={style[\"filter-title\"]} align=\"top\" size={16}>\n <span className={style[\"filter-label\"]}>\n <FormattedMessage\n id=\"selectedText\"\n moduleName=\"Filter\"\n defaultMessage=\"您已选择\"\n />\n </span>\n {/*<div className={style[\"filter-list\"]}>*/}\n <div className={style[\"filter-line\"]}>\n {filterValue.map(({ name, label, value }, index) => {\n return (\n <StateTag\n key={name}\n type=\"filterResult\"\n filterName={label}\n text={\n Array.isArray(value)\n ? value\n .map((item) => {\n return item.label;\n })\n .join(\",\")\n : value.label\n }\n closable\n onClose={() => {\n const newValue = filterValue.slice(0);\n newValue.splice(index, 1);\n onChange(newValue);\n }}\n />\n );\n })}\n <Space size={4} className={classnames(style[\"un-expand-shadow\"])}>\n {extraExpand}\n <Button size=\"small\">\n <FormattedMessage\n id=\"clearAllText\"\n moduleName=\"Filter\"\n defaultMessage=\"清空全部\"\n />\n </Button>\n </Space>\n <Space size={4} className={classnames(style[\"un-expand\"])}>\n {extraExpand}\n <Button\n size=\"small\"\n onClick={() => {\n onChange([]);\n }}\n >\n <FormattedMessage\n id=\"clearAllText\"\n moduleName=\"Filter\"\n defaultMessage=\"清空全部\"\n />\n </Button>\n </Space>\n\n </div>\n {/*</div>*/}\n </Space>\n </IntlProvider>\n );\n};\n\nexport default FilterValueDisplay;\n","import {Provider} from \"./context\";\nimport useControlValue from \"@kne/use-control-value\";\nimport clone from \"lodash/clone\";\nimport {useMemo} from \"react\";\nimport {isNotEmpty} from \"@components/Common\";\nimport importMessages from \"./locale\";\n\nimport {IntlProvider} from \"@components/Intl\";\n\nconst FilterOuter = ({children, className, defaultValue = [], ...props}) => {\n const [valueBase, onChange] = useControlValue(props);\n\n const value = useMemo(() => {\n return valueBase.filter((item) => isNotEmpty(item.value));\n }, [valueBase]);\n\n const filterValue = useMemo(() => {\n return new Map(value.map((item) => [item.name, item]));\n }, [value]);\n\n return (\n <IntlProvider moduleName=\"Filter\" importMessages={importMessages}>\n <Provider\n value={{\n value: filterValue,\n onChange: (item) => {\n const newFilterValue = clone(filterValue);\n item.value\n ? newFilterValue.set(item.name, item)\n : newFilterValue.delete(item.name);\n onChange?.(Array.from(newFilterValue.values()));\n },\n }}\n >\n {typeof children === 'function' ? children({props, value, onChange}) : children}\n </Provider>\n </IntlProvider>\n );\n};\n\nexport default FilterOuter;\n","import classnames from \"classnames\";\nimport style from \"./style.module.scss\";\nimport FilterProvider from './FilterProvider';\n\nconst FilterOuter = ({children, className, ...props}) => {\n return <FilterProvider {...props}>\n {(context) => <div className={classnames(style[\"filter\"], className)}>\n {children(context)}\n </div>}\n </FilterProvider>\n\n};\n\nexport default FilterOuter;\n","import FilterLines from \"./FilterLines\";\nimport FilterValueDisplay from \"./FilterValueDisplay\";\nimport FilterOuter from \"./FilterOuter\";\n\nconst Filter = (props) => {\n return (\n <FilterOuter {...props}>\n {({ props, value, onChange }) => {\n const { extraExpand, ...others } = props;\n return (\n <>\n <FilterLines {...others} />\n {value && value.length > 0 && (\n <FilterValueDisplay\n value={value}\n onChange={onChange}\n extraExpand={extraExpand}\n />\n )}\n </>\n );\n }}\n </FilterOuter>\n );\n};\n\nFilter.defaultProps = {\n defaultValue: [],\n};\n\nexport default Filter;\n","import classnames from \"classnames\";\nimport { Space } from \"antd\";\nimport Icon from \"@components/Icon\";\nimport style from \"./style.module.scss\";\n\nconst FilterItem = ({ open, active, label, children }) => {\n return (\n <Space className={style[\"filter-item-wrap\"]}>\n <div\n className={classnames(style[\"filter-item\"], {\n [style[\"is-active\"]]: active,\n [style[\"is-visited\"]]: open,\n })}\n >\n <Space className={style[\"filter-item-label\"]} size={4}>\n <div>{label}</div>\n <Icon\n className={style[\"filter-item-icon\"]}\n type=\"icon-triangle-down\"\n />\n </Space>\n <div className={style[\"filter-item-field\"]}>{children}</div>\n </div>\n </Space>\n );\n};\n\nexport default FilterItem;\n","import { useState } from \"react\";\nimport isNotEmpty from \"@common/utils/isNotEmpty\";\nimport FilterItem from \"./FilterItem\";\nimport style from \"./style.module.scss\";\n\nconst withFieldItem =\n (WrappedComponent) =>\n ({ value, onChange, interceptor, label, ...props }) => {\n const [open, setOpen] = useState(false);\n return (\n <FilterItem label={label} open={open} active={isNotEmpty(value)}>\n <WrappedComponent\n allowClear={false}\n {...props}\n className={style[\"filter-item-inner\"]}\n value={\n typeof interceptor?.input === \"function\"\n ? interceptor.input(value)\n : value\n }\n onChange={\n typeof interceptor?.output === \"function\"\n ? (...args) => onChange(interceptor.output(...args))\n : onChange\n }\n valueType=\"all\"\n onOpenChange={setOpen}\n />\n </FilterItem>\n );\n };\n\nexport default withFieldItem;\n","// extracted by mini-css-extract-plugin\nexport default {\"scroll-loader\":\"style_scroll-loader__Rcuti__-vnKV\",\"is-popup\":\"style_is-popup__pCRv2__-vnKV\"};","import SelectInnerInput from \"@common/components/SelectInnerInput\";\nimport { useMemo, useRef } from \"react\";\nimport useRefCallback from \"@kne/use-ref-callback\";\nimport style from \"./style.module.scss\";\nimport classnames from \"classnames\";\nimport { Space, Tree } from \"antd\";\nimport SimpleBar from \"@common/components/SimpleBar\";\nimport get from \"lodash/get\";\nimport omit from \"lodash/omit\";\nimport memoize from \"lodash/memoize\";\n\nconst useSelectInnerContext = SelectInnerInput.useContext;\n\nconst TreeFieldInner = ({ value: selected, setValue: setSelect, size }) => {\n const { fetchApi, props } = useSelectInnerContext();\n const dataFormat = useRefCallback(props.dataFormat);\n const { single, isPopup, searchPlaceholder, ...others } = props;\n const fieldNamesRef = useRef(props.fieldNames);\n fieldNamesRef.current = props.fieldNames;\n const fetchData = fetchApi.data;\n const { treeData } = useMemo(\n () =>\n dataFormat(fetchData, {\n fieldNames: fieldNamesRef.current,\n }),\n [dataFormat, fetchData]\n );\n\n return (\n <Space direction=\"vertical\" size={16}>\n <SimpleBar\n className={classnames(style[\"scroll-loader\"], {\n [style[\"is-popup\"]]: props.isPopup,\n })}\n >\n <Tree\n {...omit(others, [\"value\", \"valueType\", \"children\", \"dataFormat\"])}\n size={size}\n checkable={!single}\n treeData={treeData}\n onCheck={setSelect}\n checkedKeys={selected}\n onSelect={\n single\n ? setSelect\n : (selectKeys) => {\n const selectKey = selectKeys[0];\n if (selectKey === void 0) {\n return;\n }\n setSelect((current) => {\n const newCurrent = current.slice(0);\n const index = newCurrent.indexOf(selectKey);\n if (index > -1) {\n newCurrent.splice(index, 1);\n } else {\n newCurrent.push(selectKey);\n }\n return newCurrent;\n });\n }\n }\n selectedKeys={single ? selected : undefined}\n />\n </SimpleBar>\n </Space>\n );\n};\n\nconst TreeField = ({ maxLength, dataFormat, ...props }) => {\n return (\n <SelectInnerInput\n {...props}\n dataFormat={(data) => {\n return dataFormat(data, { fieldNames: props.fieldNames });\n }}\n >\n {({ value, setValue }) => {\n return (\n <TreeFieldInner size={maxLength} value={value} setValue={setValue} />\n );\n }}\n </SelectInnerInput>\n );\n};\n\nTreeField.defaultProps = {\n searchPlaceholder: \"搜索\",\n maxLength: Number.MAX_VALUE,\n size: \"middle\",\n isPopup: true,\n checkStrictly: false,\n dataFormat: (data, { fieldNames }) => {\n const treeToList = memoize((nodeList, { fieldNames }) => {\n const list = [];\n const core = (nodeList) => {\n if (!(Array.isArray(nodeList) && nodeList.length > 0)) {\n return;\n }\n nodeList.forEach((node) => {\n const value = node[get(fieldNames, \"key\", \"key\")],\n label = node[get(fieldNames, \"title\", \"title\")],\n children = node[get(fieldNames, \"children\", \"children\")];\n list.push({ id: value, value, label });\n core(children);\n });\n };\n core(nodeList);\n return list;\n });\n\n return {\n treeData: data,\n list: treeToList(data, { fieldNames }),\n };\n },\n};\n\nexport default TreeField;\n","import { useState, useMemo } from \"react\";\nimport { Button, Col, Popover, Row } from \"antd\";\nimport FilterItem from \"./FilterItem\";\nimport isNotEmpty from \"@common/utils/isNotEmpty\";\nimport classnames from \"classnames\";\nimport { FormattedMessage } from \"@components/Intl\";\nimport style from \"./style.module.scss\";\n\nconst PopoverItem = ({\n value,\n label,\n onValidate,\n overlayClassName,\n placement,\n onOpenChange,\n onChange,\n children,\n}) => {\n const [state, setState] = useState(value);\n const [open, setOpen] = useState(false);\n const disabled = useMemo(() => {\n return onValidate && !onValidate(state);\n }, [onValidate, state]);\n return (\n <Popover\n open={open}\n trigger=\"click\"\n placement={placement}\n overlayClassName={classnames(style[\"pop-util-overlay\"], overlayClassName)}\n onOpenChange={(open) => {\n setOpen(open);\n setState(value);\n onOpenChange && onOpenChange(open);\n }}\n content={\n <span\n onClick={(e) => {\n e.stopPropagation();\n }}\n >\n <div className={style[\"pop-util-content\"]}>\n {children({ value: state, onChange: setState })}\n </div>\n <Row className={style[\"pop-util-footer\"]} justify=\"end\" gutter={8}>\n <Col>\n <Button\n size=\"small\"\n onClick={() => {\n setOpen(false);\n onOpenChange && onOpenChange(false);\n }}\n >\n <FormattedMessage\n id=\"cancelText\"\n moduleName=\"Filter\"\n defaultMessage=\"取消\"\n />\n </Button>\n </Col>\n <Col>\n <Button\n size=\"small\"\n type=\"primary\"\n disabled={disabled}\n onClick={() => {\n setOpen(false);\n onOpenChange && onOpenChange(false);\n onChange && onChange(state);\n }}\n >\n <FormattedMessage\n id=\"determineText\"\n moduleName=\"Filter\"\n defaultMessage=\"确定\"\n />\n </Button>\n </Col>\n </Row>\n </span>\n }\n >\n <span>\n <FilterItem open={open} active={isNotEmpty(value)} label={label} />\n </span>\n </Popover>\n );\n};\n\nPopoverItem.defaultProps = {\n placeholder: \"请选择\",\n placement: \"bottomLeft\",\n};\n\nexport default PopoverItem;\n","import PopoverItem from \"../PopoverItem\";\nimport { Input } from \"antd\";\nimport get from \"lodash/get\";\nimport style from \"../style.module.scss\";\n\nconst InputFilterItem = ({\n label,\n value,\n onChange,\n placeholder,\n onValidate,\n overlayClassName,\n placement,\n onOpenChange,\n ...props\n}) => {\n return (\n <PopoverItem\n label={label}\n value={value}\n onChange={onChange}\n {...{ onValidate, overlayClassName, placement, onOpenChange }}\n >\n {({ value, onChange }) => (\n <Input\n {...props}\n placeholder={placeholder || `请输入${label}`}\n className={style[\"filter-item-text\"]}\n value={get(value, \"value\", \"\")}\n onChange={(e) =>\n onChange(\n e.target.value\n ? { label: e.target.value, value: e.target.value }\n : null\n )\n }\n />\n )}\n </PopoverItem>\n );\n};\n\nexport default InputFilterItem;\n","import PopoverItem from \"../PopoverItem\";\nimport { Input, InputNumber, Space } from \"antd\";\nimport get from \"lodash/get\";\nimport isNumber from \"lodash/isNumber\";\nimport { useIntl } from \"@components/Intl\";\nimport style from \"../style.module.scss\";\nimport React from \"react\";\n\nconst computedFilterValue = (range, unit, formatMessage) => {\n if (!isNumber(range[0]) && !isNumber(range[1])) {\n return null;\n }\n\n return {\n label: ((range) => {\n if (isNumber(range[0]) && isNumber(range[1])) {\n return `${range[0]}-${range[1]}${unit || \"\"}`;\n }\n if (isNumber(range[0])) {\n return formatMessage({ id: \"over\" }, { count: range[0], unit });\n }\n if (isNumber(range[1])) {\n return formatMessage({ id: \"lessThan\" }, { count: range[1], unit });\n }\n })(range),\n value: [range[0] || null, range[1] || null],\n };\n};\n\nconst InputFilterItem = ({\n label,\n value,\n onChange,\n placeholder,\n onValidate,\n overlayClassName,\n placement,\n onOpenChange,\n unit,\n ...props\n}) => {\n const { formatMessage } = useIntl({ moduleName: \"Filter\" });\n return (\n <PopoverItem\n label={label}\n value={value}\n onChange={onChange}\n {...{ onValidate, overlayClassName, placement, onOpenChange }}\n >\n {({ value, onChange }) => (\n <Space.Compact>\n <InputNumber\n {...props}\n placeholder={\n placeholder || `${formatMessage({ id: \"pleaseInput\" })}${label}`\n }\n className={style[\"filter-item-number-range\"]}\n value={get(value, \"value[0]\", \"\")}\n onChange={(target) => {\n onChange(\n computedFilterValue(\n [target, get(value, \"value[1]\")],\n unit,\n formatMessage\n )\n );\n }}\n />\n <Input\n style={{\n width: 30,\n borderLeft: 0,\n borderRight: 0,\n pointerEvents: \"none\",\n }}\n placeholder=\"~\"\n disabled\n />\n <InputNumber\n {...props}\n placeholder={\n placeholder || `${formatMessage({ id: \"pleaseInput\" })}${label}`\n }\n className={style[\"filter-item-number-range\"]}\n value={get(value, \"value[1]\", \"\")}\n onChange={(target) => {\n onChange(\n computedFilterValue(\n [get(value, \"value[0]\"), target],\n unit,\n formatMessage\n )\n );\n }}\n />\n {unit && (\n <Input\n style={{\n width: 50,\n borderLeft: 0,\n }}\n value={unit}\n disabled\n />\n )}\n </Space.Compact>\n )}\n </PopoverItem>\n );\n};\n\nInputFilterItem.defaultProps = {\n onValidate: (value) => {\n const range = get(value, \"value\");\n return !(\n range &&\n isNumber(range[0]) &&\n isNumber(range[1]) &&\n range[1] < range[0]\n );\n },\n};\n\nexport default InputFilterItem;\n","import { DatePicker } from \"antd\";\nimport withFieldItem from \"../withFieldItem\";\nimport dayjs from \"dayjs\";\n\nconst DatePickerFilterItem = withFieldItem(\n ({ value, onChange, picker, ...props }) => {\n return (\n <DatePicker\n {...props}\n picker={picker}\n value={value && dayjs(value.value)}\n onChange={(value) => {\n const { format } = Object.assign({ format: \"YYYY-MM-DD\" }, props);\n value &&\n onChange({\n label:\n picker !== \"date\"\n ? `${value.startOf(picker).format(format)}~${value\n .endOf(picker)\n .format(format)}`\n : value.format(format),\n value: new Date(value.startOf(picker).valueOf()),\n });\n }}\n />\n );\n }\n);\n\nDatePickerFilterItem.defaultProps = \"date\";\n\nexport default DatePickerFilterItem;\n","import { DatePicker, Flex } from \"antd\";\nimport withFieldItem from \"../withFieldItem\";\nimport dayjs from \"dayjs\";\n\nconst DateRangePickerFilterItem = withFieldItem(\n ({ value, onChange, header, ...props }) => {\n return (\n <Flex vertical>\n {typeof header === \"function\" ? header({ value, onChange }) : header}\n <DatePicker.RangePicker\n {...props}\n allowEmpty={[false, false]}\n value={\n value &&\n Array.isArray(value.value) &&\n value.value.length === 2 &&\n value.value.map((item) => dayjs(item))\n }\n onChange={(value) => {\n const { format } = Object.assign({ format: \"YYYY-MM-DD\" }, props);\n onChange({\n label: value.map((item) => item.format(format)).join(\"~\"),\n value: value.map((item) => new Date(item.valueOf())),\n });\n }}\n />\n </Flex>\n );\n }\n);\n\nexport default DateRangePickerFilterItem;\n","import PopoverItem from \"../PopoverItem\";\nimport TypeDateRangePickerField from \"@common/components/TypeDateRangePickerField\";\nimport get from \"lodash/get\";\nimport style from \"../style.module.scss\";\nimport dayjs from \"dayjs\";\n\nconst TypeDateRangePickerFilterItem = ({\n label,\n value,\n onChange,\n ...props\n}) => {\n return (\n <PopoverItem\n label={label}\n value={value}\n onChange={onChange}\n onValidate={(item) => {\n const value = item?.value;\n return (\n value?.type && Array.isArray(value?.value) && value.value.length === 2\n );\n }}\n >\n {({ value, onChange }) => (\n <TypeDateRangePickerField\n {...props}\n className={style[\"filter-item-text\"]}\n value={get(value, \"value\")}\n onChange={(pickerValue) => {\n const { format } = Object.assign({ format: \"YYYY-MM-DD\" }, props);\n const value = pickerValue?.value || [];\n onChange({\n label: (() => {\n if (value[0] && !value[1]) {\n return `${dayjs(value[0]).format(format)}以后`;\n }\n if (!value[0] && value[1]) {\n return `${dayjs(value[1]).format(format)}以前`;\n }\n if (value[0] && value[1]) {\n return `${dayjs(value[0]).format(format)}~${dayjs(\n value[1]\n ).format(format)}`;\n }\n return \"\";\n })(),\n value: pickerValue,\n });\n }}\n />\n )}\n </PopoverItem>\n );\n};\n\nexport default TypeDateRangePickerFilterItem;\n","import { FormattedMessage } from \"@components/Intl\";\nimport withFieldItem from \"../withFieldItem\";\nimport AdvancedSelectField, {\n UserField,\n} from \"@common/components/AdvancedSelectField\";\nimport SuperSelectField, {\n SuperSelectTableListField,\n SuperSelectUserField,\n} from \"@common/components/SuperSelectField\";\nimport FunctionSelectField from \"@common/components/FunctionSelectField\";\nimport AddressSelectField from \"@common/components/AddressSelectField\";\nimport IndustrySelectField from \"@common/components/IndustrySelectField\";\nimport CascaderField from \"@common/components/CascaderField\";\nimport TreeField from \"@common/components/TreeField\";\nimport InputFilterItemField from \"./InputFilterItem\";\nimport NumberRangeFilterItemField from \"./NumberRangeFilterItem\";\n\nconst withInputDefaultPlaceholder =\n (WrappedComponent) =>\n ({ placeholder, label, ...props }) =>\n (\n <FormattedMessage\n id=\"defaultInputPlaceholder\"\n moduleName=\"Filter\"\n values={{ label }}\n >\n {(text) => {\n return (\n <WrappedComponent\n {...props}\n label={label}\n placeholder={placeholder || text}\n />\n );\n }}\n </FormattedMessage>\n );\n\nexport const AdvancedSelectFilterItem = withFieldItem(AdvancedSelectField);\nexport const SuperSelectFilterItem = withFieldItem(SuperSelectField);\nexport const SuperSelectTableListFilterItem = withFieldItem(\n SuperSelectTableListField\n);\nexport const SuperSelectUserFilterItem = withFieldItem(SuperSelectUserField);\nexport const UserFilterItem = withFieldItem(UserField);\nexport const FunctionSelectFilterItem = withFieldItem(FunctionSelectField);\nexport const IndustrySelectFilterItem = withFieldItem(IndustrySelectField);\n\nexport const CityFilterItem = withFieldItem(AddressSelectField);\n\nexport const CascaderFilterItem = withFieldItem(CascaderField);\n\nexport const TreeFilterItem = withFieldItem(TreeField);\nexport const InputFilterItem =\n withInputDefaultPlaceholder(InputFilterItemField);\nexport const NumberRangeFilterItem = withInputDefaultPlaceholder(\n NumberRangeFilterItemField\n);\n\nexport { default as DatePickerFilterItem } from \"./DatePickerFilterItem\";\nexport { default as DateRangePickerFilterItem } from \"./DateRangePickerFilterItem\";\nexport { default as TypeDateRangePickerFilterItem } from \"./TypeDateRangePickerFilterItem\";\n","import transform from \"lodash/transform\";\n\nconst getFilterValue = (filterValue) => {\n return transform(\n filterValue,\n (result, { name, value }) => {\n result[name] = Array.isArray(value)\n ? value.map(({ value }) => value)\n : value?.value;\n },\n {}\n );\n};\n\nexport default getFilterValue;\n","import { useContext } from \"./context\";\nimport get from \"lodash/get\";\n\nconst withFilterValue = (WrappedComponent) => {\n return ({ name, label, ...props }) => {\n const { value, onChange } = useContext();\n return (\n <WrappedComponent\n {...props}\n label={label}\n onChange={\n onChange\n ? (value) =>\n onChange({\n name,\n label,\n value,\n })\n : props.onChange\n }\n value={value ? get(value.get(name), \"value\") : props.value}\n />\n );\n };\n};\n\nexport default withFilterValue;\n","import {SearchInput as SearchInputField} from \"@components/Common\";\nimport withFilterValue from \"./withFilterValue\";\nimport {useIntl} from \"@components/Intl\";\n\nconst SearchInput = withFilterValue(({label, onChange, value, placeholder, ...props}) => {\n const {formatMessage} = useIntl({moduleName: 'Filter'});\n return (\n <SearchInputField\n {...props}\n placeholder={placeholder || formatMessage({id: 'inputPlaceholder'}, {label})}\n value={value?.value || \"\"}\n onSearch={(value) => {\n onChange({label: value, value});\n }}\n />\n );\n});\n\nexport default SearchInput;\n","import { App, Tag } from \"antd\";\nimport AddressSelectField, {\n getLabelForLocal,\n withAddressApi,\n} from \"@common/components/AddressSelectField\";\nimport { FormattedMessage, useIntl } from \"@components/Intl\";\nimport { usePreset } from \"@components/Global\";\nimport { useMemo } from \"react\";\nimport style from \"../../style.module.scss\";\n\nconst { CheckableTag } = Tag;\n\nconst CityFilterItemInner = ({\n value,\n onChange,\n single,\n maxLength,\n addressApi,\n ...props\n}) => {\n const { message } = App.useApp();\n const { locale } = usePreset();\n const { formatMessage } = useIntl({ moduleName: \"Filter\" });\n const cityList = useMemo(() => {\n return addressApi.getChinaHotCities();\n }, [addressApi]);\n return (\n <>\n {cityList.map((city) => {\n const { code } = city;\n const name = getLabelForLocal(city, locale);\n return (\n <CheckableTag\n key={code}\n size=\"small\"\n checked={\n single\n ? value?.value === code\n : !!(value || []).find(({ value }) => value === code)\n }\n onChange={(checked) => {\n if (single) {\n onChange(checked ? { value: code, label: name } : null);\n return;\n }\n const newValue = (value || []).slice(0);\n checked\n ? newValue.push({ value: code, label: name })\n : (() => {\n const index = newValue.findIndex(\n ({ value }) => value === code\n );\n newValue.splice(index, 1);\n })();\n if (newValue.length > maxLength) {\n message.error(\n formatMessage(\n { id: \"maxSelectedCount\" },\n { count: maxLength }\n )\n );\n return;\n }\n onChange(newValue);\n }}\n >\n {name}\n </CheckableTag>\n );\n })}\n <CheckableTag\n className={style[\"filter-advanced-item-other\"]}\n size=\"small\"\n checked={\n (single ? value?.value : value?.value && value.value.length > 0) &&\n !cityList.find(({ code }) =>\n single\n ? value?.value === code\n : !!(value || []).find(({ value }) => value === code)\n )\n }\n >\n <FormattedMessage\n id={\"otherText\"}\n moduleName=\"Filter\"\n defaultMessage=\"其他\"\n />\n <AddressSelectField\n {...props}\n className={style[\"filter-advanced-item-other-inner\"]}\n maxLength={maxLength}\n value={\n single ? value?.value : (value || []).map(({ value }) => value)\n }\n single={single}\n onChange={(value, ...args) => {\n const getCityValue = (value) => {\n const { city } = addressApi.getCity(value);\n return { value: city?.code, label: city?.name };\n };\n onChange(\n single\n ? getCityValue(value)\n : value.map((value) => getCityValue(value))\n );\n }}\n />\n </CheckableTag>\n </>\n );\n};\nCityFilterItemInner.defaultProps = {\n single: false,\n maxLength: 5,\n};\nconst CityFilterItem = withAddressApi(CityFilterItemInner);\nexport default CityFilterItem;\n","import { Tag, App } from \"antd\";\nimport isEqual from \"lodash/isEqual\";\nimport * as fields from \"../../fields\";\nimport { useIntl } from \"@components/Intl\";\n\nconst { CheckableTag } = Tag;\nconst ListFilterItem = ({\n value,\n onChange,\n label,\n single,\n maxLength,\n items,\n custom,\n}) => {\n const { message } = App.useApp();\n const { formatMessage } = useIntl({ moduleName: \"Filter\" });\n return (\n <>\n {items.map(({ label, value: itemValue }) => {\n return (\n <CheckableTag\n key={label}\n size=\"small\"\n checked={\n single\n ? isEqual(itemValue, value?.value)\n : !!(value || []).find(({ value }) => isEqual(itemValue, value))\n }\n onChange={(checked) => {\n if (single) {\n onChange(checked ? { value: itemValue, label } : null);\n return;\n }\n const newValue = (value || []).slice(0);\n checked\n ? newValue.push({ value: itemValue, label })\n : (() => {\n const index = newValue.find(({ value }) =>\n isEqual(itemValue, value)\n );\n newValue.splice(index, 1);\n })();\n if (newValue.length > maxLength) {\n message.error(\n formatMessage(\n { id: \"maxSelectedCount\" },\n { count: maxLength }\n )\n );\n return;\n }\n onChange(newValue);\n }}\n >\n {label}\n </CheckableTag>\n );\n })}\n {custom &&\n (() => {\n const ComponentItem = Object.values(fields).find(\n (item) => item === custom.type\n );\n if (!ComponentItem) {\n return null;\n }\n return (\n <ComponentItem\n {...custom.props}\n value={value}\n placeholder={`${formatMessage({ id: \"pleaseInput\" })}${label}`}\n onChange={onChange}\n />\n );\n })()}\n </>\n );\n};\n\nListFilterItem.defaultProps = {\n single: false,\n maxLength: 5,\n items: [],\n};\n\nexport default ListFilterItem;\n","import CityFilterItem from \"./CityFilterItem\";\nimport ListFilterItem from \"./ListFilterItem\";\nimport InputFilterItem from \"./InputFilterItem\";\n\nconst fields = { CityFilterItem, ListFilterItem, InputFilterItem };\n\nexport default fields;\n","import { Input, Space, Button } from \"antd\";\nimport { useState, useEffect, useRef } from \"react\";\nimport useSimulationBlur from \"@kne/use-simulation-blur\";\nimport { useIntl } from \"@components/Intl\";\n\nconst InputFilterItem = ({ value, label, onChange, ...props }) => {\n const propsValue = value?.value;\n const [inputValue, setInputValue] = useState(propsValue || \"\");\n const [active, setActive] = useState(false);\n const { formatMessage } = useIntl({ moduleName: \"Filter\" });\n const searchHandler = () => {\n onChange(inputValue ? { label: inputValue, value: inputValue } : null);\n };\n const ref = useSimulationBlur(() => {\n setActive(false);\n searchHandler();\n });\n const inputValueRef = useRef(\"\");\n inputValueRef.current = inputValue;\n\n useEffect(() => {\n if (propsValue !== inputValueRef.current) {\n setInputValue(propsValue);\n }\n }, [propsValue]);\n return (\n <span ref={ref}>\n <Space.Compact>\n <Input\n placeholder={`${formatMessage({ id: \"pleaseInput\" })}${label}`}\n {...props}\n size=\"small\"\n value={inputValue}\n onFocus={() => {\n setActive(true);\n }}\n onChange={(e) => {\n setInputValue(e.target.value);\n }}\n onPressEnter={searchHandler}\n />\n {active && (\n <Button size=\"small\" type=\"primary\" onClick={searchHandler}>\n {formatMessage({ id: \"search\" })}\n </Button>\n )}\n </Space.Compact>\n </span>\n );\n};\n\nexport default InputFilterItem;\n","import FilterOuter from \"../FilterOuter\";\nimport MoreFilterLines from \"../FilterLines\";\nimport { Flex } from \"antd\";\nimport advancedFields from \"./fields\";\nimport { createWithIntl, useIntl } from \"@components/Intl\";\nimport get from \"lodash/get\";\nimport { useContext } from \"../context\";\nimport style from \"../style.module.scss\";\nimport FilterValueDisplay from \"../FilterValueDisplay\";\nimport importMessages from \"../locale\";\n\nconst Line = ({ list }) => {\n const { value, onChange } = useContext();\n return (\n <Flex gap={8}>\n {list.map((item, index) => {\n const ComponentItem = item.type;\n return (\n <Flex\n gap={16}\n key={item.key || item.props.name || index}\n align=\"center\"\n >\n <div className={style[\"filter-label\"]}>{item.props.label}:</div>\n <Flex wrap={true} align=\"center\">\n <ComponentItem\n {...item.props}\n value={\n value\n ? get(value.get(item.props.name), \"value\")\n : item.props.value\n }\n onChange={\n onChange\n ? (value) =>\n onChange({\n name: item.props.name,\n label: item.props.label,\n value,\n })\n : item.props.onChange\n }\n />\n </Flex>\n </Flex>\n );\n })}\n </Flex>\n );\n};\n\nconst AdvancedFilter = createWithIntl({ importMessages, moduleName: \"Filter\" })(\n (props) => {\n const { formatMessage } = useIntl({ moduleName: \"Filter\" });\n return (\n <FilterOuter {...props}>\n {({ value, onChange, props }) => {\n const { list, more } = props;\n return (\n <div>\n <Flex gap={8} vertical className={style[\"filter-advanced\"]}>\n {list.map((item, index) => {\n return <Line key={index} list={item} />;\n })}\n {more && (\n <MoreFilterLines\n className={style[\"filter-advanced-more\"]}\n label={`${formatMessage({ id: \"moreText\" })}:`}\n list={[more]}\n />\n )}\n </Flex>\n {value && value.length > 0 && (\n <FilterValueDisplay value={value} onChange={onChange} />\n )}\n </div>\n );\n }}\n </FilterOuter>\n );\n }\n);\n\nAdvancedFilter.fields = advancedFields;\nexport default AdvancedFilter;\n\nexport { advancedFields };\n","const FilterItemContainer = ({ children, ...props }) => {\n return children(props);\n};\n\nexport default FilterItemContainer;\n","import Filter from \"./Filter\";\nimport * as fields from \"./fields\";\nimport getFilterValue from \"./getFilterValue\";\nimport {useContext as useFilter} from \"./context\";\nimport withFilterValue from \"./withFilterValue\";\nimport SearchInput from \"./SearchInput\";\nimport FilterProvider from './FilterProvider';\n\nFilter.fields = fields;\nFilter.getFilterValue = getFilterValue;\nFilter.useFilter = useFilter;\nFilter.SearchInput = SearchInput;\nFilter.withFilterValue = withFilterValue;\nFilter.FilterProvider = FilterProvider;\nexport default Filter;\nexport {fields, getFilterValue, useFilter, withFilterValue, SearchInput, FilterProvider};\nexport {default as AdvancedFilter, advancedFields} from \"./AdvancedFilter\";\nexport {default as FilterValueDisplay} from \"./FilterValueDisplay\";\nexport {default as FilterItem} from \"./FilterItem\";\nexport {default as FilterLines} from \"./FilterLines\";\nexport {default as PopoverItem} from \"./PopoverItem\";\nexport {default as withFieldItem} from \"./withFieldItem\";\nexport {default as FilterItemContainer} from \"./FilterItemContainer\";\nexport {\n NumberRangeFilterItem,\n InputFilterItem,\n CityFilterItem,\n AdvancedSelectFilterItem,\n SuperSelectFilterItem,\n SuperSelectTableListFilterItem,\n SuperSelectUserFilterItem,\n UserFilterItem,\n FunctionSelectFilterItem,\n IndustrySelectFilterItem,\n CascaderFilterItem,\n TreeFilterItem,\n DatePickerFilterItem,\n DateRangePickerFilterItem,\n TypeDateRangePickerFilterItem,\n} from \"./fields\";\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar numberTag = '[object Number]';\n\n/**\n * Checks if `value` is classified as a `Number` primitive or object.\n *\n * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n * classified as numbers, use the `_.isFinite` method.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n * @example\n *\n * _.isNumber(3);\n * // => true\n *\n * _.isNumber(Number.MIN_VALUE);\n * // => true\n *\n * _.isNumber(Infinity);\n * // => true\n *\n * _.isNumber('3');\n * // => false\n */\nfunction isNumber(value) {\n return typeof value == 'number' ||\n (isObjectLike(value) && baseGetTag(value) == numberTag);\n}\n\nmodule.exports = isNumber;\n"],"names":["tagTypeEnum","default","skill","color","borderColor","result","filterResult","success","progress","danger","info","other","StateTag","_ref","showBorder","text","type","showBackground","className","filterName","props","_objectWithoutProperties","_excluded","tagColor","useMemo","_tagTypeEnum$type","_tagTypeEnum$type2","_jsxs","Space","classnames","style","align","size","children","_jsx","Tag","_objectSpread","background","border","concat","onClick","defaultProps","locale","en-US","zh-CN","context","createContext","Provider","useContext","useReactContext","Line","list","value","onChange","map","item","index","get","name","label","ComponentItem","Object","assign","key","FilterLines","_ref2","displayLine","extra","hasMore","length","isExpand","setIsExpand","useState","IntlProvider","importMessages","moduleName","FormattedMessage","id","defaultMessage","Row","justify","wrap","Col","flex","slice","Icon","_Fragment","filterValue","extraExpand","Array","isArray","join","closable","onClose","newValue","splice","Button","defaultValue","valueBase","useControlValue","filter","isNotEmpty","Map","newFilterValue","clone","set","delete","from","values","FilterProvider","Filter","FilterOuter","others","FilterValueDisplay","open","active","WrappedComponent","interceptor","setOpen","FilterItem","allowClear","input","output","arguments","valueType","onOpenChange","useSelectInnerContext","SelectInnerInput","TreeFieldInner","selected","setValue","setSelect","fetchApi","dataFormat","useRefCallback","single","isPopup","searchPlaceholder","fieldNamesRef","useRef","fieldNames","current","fetchData","data","treeData","direction","SimpleBar","Tree","omit","checkable","onCheck","checkedKeys","onSelect","selectKeys","selectKey","newCurrent","indexOf","push","selectedKeys","undefined","TreeField","maxLength","_excluded2","_ref3","Number","MAX_VALUE","checkStrictly","_ref4","treeToList","memoize","nodeList","_ref5","core","forEach","node","PopoverItem","onValidate","overlayClassName","placement","state","setState","disabled","Popover","trigger","content","e","stopPropagation","gutter","placeholder","Input","target","computedFilterValue","range","unit","formatMessage","isNumber","count","InputFilterItem","useIntl","Compact","InputNumber","width","borderLeft","borderRight","pointerEvents","DatePickerFilterItem","withFieldItem","picker","DatePicker","dayjs","format","startOf","endOf","Date","valueOf","header","Flex","vertical","RangePicker","allowEmpty","TypeDateRangePickerField","pickerValue","withInputDefaultPlaceholder","AdvancedSelectFilterItem","AdvancedSelectField","SuperSelectFilterItem","SuperSelectField","SuperSelectTableListFilterItem","SuperSelectTableListField","SuperSelectUserFilterItem","SuperSelectUserField","UserFilterItem","UserField","FunctionSelectFilterItem","FunctionSelectField","IndustrySelectFilterItem","IndustrySelectField","CityFilterItem","AddressSelectField","CascaderFilterItem","CascaderField","TreeFilterItem","InputFilterItemField","NumberRangeFilterItem","NumberRangeFilterItemField","transform","withFilterValue","SearchInputField","onSearch","CheckableTag","CityFilterItemInner","addressApi","message","App","useApp","usePreset","cityList","getChinaHotCities","city","code","getLabelForLocal","checked","find","findIndex","error","_ref6","getCityValue","getCity","withAddressApi","ListFilterItem","items","custom","itemValue","isEqual","fields","propsValue","inputValue","setInputValue","setActive","searchHandler","ref","useSimulationBlur","inputValueRef","useEffect","onFocus","onPressEnter","gap","AdvancedFilter","createWithIntl","more","MoreFilterLines","advancedFields","getFilterValue","useFilter","SearchInput","baseGetTag","require","isObjectLike","module","exports"],"sourceRoot":""}
@@ -1,3 +0,0 @@
1
- /*! For license information please see 2716.b7eeeeaa.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[2716,9379],{20816:(t,e,r)=>{r.d(e,{A:()=>n});var o=r(82284);function n(t){var e=function(t,e){if("object"!=(0,o.A)(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=(0,o.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==(0,o.A)(e)?e:e+""}},51153:(t,e,r)=>{var o=r(73884),n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,l=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function i(t,e,r){var o,a={},i=null,u=null;for(o in void 0!==r&&(i=""+r),void 0!==e.key&&(i=""+e.key),void 0!==e.ref&&(u=e.ref),e)s.call(e,o)&&!c.hasOwnProperty(o)&&(a[o]=e[o]);if(t&&t.defaultProps)for(o in e=t.defaultProps)void 0===a[o]&&(a[o]=e[o]);return{$$typeof:n,type:t,key:i,ref:u,props:a,_owner:l.current}}e.Fragment=a,e.jsx=i,e.jsxs=i},53986:(t,e,r)=>{function o(t,e){if(null==t)return{};var r,o,n=function(t,e){if(null==t)return{};var r={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(-1!==e.indexOf(o))continue;r[o]=t[o]}return r}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)r=a[o],-1===e.indexOf(r)&&{}.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}r.d(e,{A:()=>o})},62716:(t,e,r)=>{r.r(e),r.d(e,{default:()=>y});var o=r(89379),n=r(53986),a=r(73884),s=r(83136),l=r.n(s);const c={"state-tag":"style_state-tag__Kx27z__-vnKV","state-result-tag":"style_state-result-tag__CssDz__-vnKV","state-skill-tag":"style_state-skill-tag__k0bQE__-vnKV","event-tag":"style_event-tag__cg6SE__-vnKV","state-tag-filter-result-wrapper":"style_state-tag-filter-result-wrapper__QYS5z__-vnKV","state-tag-filter-name":"style_state-tag-filter-name__iJaJd__-vnKV","state-tag-filterResult":"style_state-tag-filterResult__KTkot__-vnKV","show-bg":"style_show-bg__OcL+R__-vnKV","tag-text":"style_tag-text__JHCt+__-vnKV","state-tag-wrapper":"style_state-tag-wrapper__A-gTE__-vnKV"};var i=r(55199),u=r(70579);const f=["showBorder","text","type","showBackground","className","filterName"],_={default:"#666666",skill:{color:"#666666",borderColor:"#EEEEEE"},result:"#666666",filterResult:"#5CB8B2",success:"#027A48",progress:"#F09700",danger:"#D14343",info:"#155ACF",other:"#6740C3"},p=t=>{let{showBorder:e,text:r,type:s,showBackground:p,className:y,filterName:g}=t,d=(0,n.A)(t,f);const b=(0,a.useMemo)((()=>{var t,e;return{color:(null===_||void 0===_||null===(t=_[s])||void 0===t?void 0:t.color)||_[s],borderColor:(null===_||void 0===_||null===(e=_[s])||void 0===e?void 0:e.borderColor)||_[s]}}),[s]);return(0,u.jsxs)(i.Space,{"data-testid":"components-core-state-tag",className:l()(c["state-tag-wrapper"],"filterResult"===s?c["state-tag-filter-result-wrapper"]:""),align:"center",size:4,children:[g?(0,u.jsxs)("span",{className:c["state-tag-filter-name"],children:[g,":"]}):null,(0,u.jsx)(i.Tag,(0,o.A)((0,o.A)({color:b.color},d),{},{style:{background:p?b.color+"0F":"none",color:b.color,border:e?"1px solid ".concat(b.borderColor):"none"},className:l()(c["state-tag"],y,"result"===s?c["state-result-tag"]:"","skill"===s?c["state-skill-tag"]:"",c["state-tag-".concat(s)],p?c["show-bg"]:"",e?c["show-border"]:"",null!==d&&void 0!==d&&d.onClick?c["event-tag"]:""),children:(0,u.jsx)("span",{className:c["tag-text"],children:r})}))]})};p.defaultProps={color:"#666666",type:"default",showBorder:!1,showBackground:!0,text:"",className:""};const y=p},64467:(t,e,r)=>{r.d(e,{A:()=>n});var o=r(20816);function n(t,e,r){return(e=(0,o.A)(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},70579:(t,e,r)=>{t.exports=r(51153)},82284:(t,e,r)=>{function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}r.d(e,{A:()=>o})},89379:(t,e,r)=>{r.d(e,{A:()=>a});var o=r(64467);function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach((function(e){(0,o.A)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}}}]);
3
- //# sourceMappingURL=2716.b7eeeeaa.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/2716.b7eeeeaa.chunk.js","mappings":";wLAEA,SAASA,EAAcC,GACrB,IAAIC,ECFN,SAAqBD,EAAGE,GACtB,GAAI,WAAY,OAAQF,KAAOA,EAAG,OAAOA,EACzC,IAAIG,EAAIH,EAAEI,OAAOC,aACjB,QAAI,IAAWF,EAAG,CAChB,IAAIF,EAAIE,EAAEG,KAAKN,EAAGE,GAAK,WACvB,GAAI,WAAY,OAAQD,GAAI,OAAOA,EACnC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D,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAK,mBAAqBzC,QAAUyC,EAAEoD,cAAgB7F,QAAUyC,IAAMzC,OAAOa,UAAY,gBAAkB4B,CACpH,EAAGkD,EAAQlD,EACb,mECPA,SAASqD,EAAQ/F,EAAGD,GAClB,IAAIF,EAAIgB,OAAOmF,KAAKhG,GACpB,GAAIa,OAAO+B,sBAAuB,CAChC,IAAIF,EAAI7B,OAAO+B,sBAAsB5C,GACrCD,IAAM2C,EAAIA,EAAEuD,QAAO,SAAUlG,GAC3B,OAAOc,OAAOqF,yBAAyBlG,EAAGD,GAAGyF,UAC/C,KAAK3F,EAAEsG,KAAKC,MAAMvG,EAAG6C,EACvB,CACA,OAAO7C,CACT,CACA,SAASwG,EAAerG,GACtB,IAAK,IAAID,EAAI,EAAGA,EAAIuG,UAAUzD,OAAQ9C,IAAK,CACzC,IAAIF,EAAI,MAAQyG,UAAUvG,GAAKuG,UAAUvG,GAAK,CAAC,EAC/CA,EAAI,EAAIgG,EAAQlF,OAAOhB,IAAI,GAAI0G,SAAQ,SAAUxG,IAC/C,OAAeC,EAAGD,EAAGF,EAAEE,GACzB,IAAKc,OAAO2F,0BAA4B3F,OAAO4F,iBAAiBzG,EAAGa,OAAO2F,0BAA0B3G,IAAMkG,EAAQlF,OAAOhB,IAAI0G,SAAQ,SAAUxG,GAC7Ic,OAAOyE,eAAetF,EAAGD,EAAGc,OAAOqF,yBAAyBrG,EAAGE,GACjE,GACF,CACA,OAAOC,CACT","sources":["../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../node_modules/react/cjs/react-jsx-runtime.production.min.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://@kne-components/components-core/./src/components/StateTag/style.module.scss?5aff","components/StateTag/index.js","../node_modules/@babel/runtime/helpers/esm/defineProperty.js","../node_modules/react/jsx-runtime.js","../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/objectSpread2.js"],"sourcesContent":["import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : i + \"\";\n}\nexport { toPropertyKey as default };","import _typeof from \"./typeof.js\";\nfunction toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\nexport { toPrimitive as default };","/**\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","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nfunction _objectWithoutProperties(e, t) {\n if (null == e) return {};\n var o,\n r,\n i = objectWithoutPropertiesLoose(e, t);\n if (Object.getOwnPropertySymbols) {\n var n = Object.getOwnPropertySymbols(e);\n for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);\n }\n return i;\n}\nexport { _objectWithoutProperties as default };","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (-1 !== e.indexOf(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","// extracted by mini-css-extract-plugin\nexport default {\"state-tag\":\"style_state-tag__Kx27z__-vnKV\",\"state-result-tag\":\"style_state-result-tag__CssDz__-vnKV\",\"state-skill-tag\":\"style_state-skill-tag__k0bQE__-vnKV\",\"event-tag\":\"style_event-tag__cg6SE__-vnKV\",\"state-tag-filter-result-wrapper\":\"style_state-tag-filter-result-wrapper__QYS5z__-vnKV\",\"state-tag-filter-name\":\"style_state-tag-filter-name__iJaJd__-vnKV\",\"state-tag-filterResult\":\"style_state-tag-filterResult__KTkot__-vnKV\",\"show-bg\":\"style_show-bg__OcL+R__-vnKV\",\"tag-text\":\"style_tag-text__JHCt+__-vnKV\",\"state-tag-wrapper\":\"style_state-tag-wrapper__A-gTE__-vnKV\"};","import React, { useMemo } from \"react\";\nimport classnames from \"classnames\";\n\nimport style from \"./style.module.scss\";\nimport { Space, Tag } from \"antd\";\n\nconst tagTypeEnum = {\n default: \"#666666\",\n skill: {\n color: \"#666666\",\n borderColor: \"#EEEEEE\",\n },\n result: \"#666666\",\n filterResult: \"#5CB8B2\",\n success: \"#027A48\",\n progress: \"#F09700\",\n danger: \"#D14343\",\n info: \"#155ACF\",\n other: \"#6740C3\",\n};\n\nconst StateTag = ({\n showBorder,\n text,\n type,\n showBackground,\n className,\n filterName,\n ...props\n}) => {\n const tagColor = useMemo(\n () => ({\n color: tagTypeEnum?.[type]?.color || tagTypeEnum[type],\n borderColor: tagTypeEnum?.[type]?.borderColor || tagTypeEnum[type],\n }),\n [type]\n );\n\n return (\n <Space\n data-testid={\"components-core-state-tag\"}\n className={classnames(\n style[\"state-tag-wrapper\"],\n type === \"filterResult\" ? style[\"state-tag-filter-result-wrapper\"] : \"\"\n )}\n align=\"center\"\n size={4}\n >\n {filterName ? (\n <span className={style[\"state-tag-filter-name\"]}>{filterName}:</span>\n ) : null}\n <Tag\n color={tagColor.color}\n {...props}\n style={{\n background: showBackground ? tagColor.color + \"0F\" : \"none\",\n color: tagColor.color,\n border: showBorder ? `1px solid ${tagColor.borderColor}` : \"none\",\n }}\n className={classnames(\n style[\"state-tag\"],\n className,\n type === \"result\" ? style[\"state-result-tag\"] : \"\",\n type === \"skill\" ? style[\"state-skill-tag\"] : \"\",\n style[`state-tag-${type}`],\n showBackground ? style[\"show-bg\"] : \"\",\n showBorder ? style[\"show-border\"] : \"\",\n props?.onClick ? style[\"event-tag\"] : \"\"\n )}\n >\n <span className={style[\"tag-text\"]}>{text}</span>\n </Tag>\n </Space>\n );\n};\n\nStateTag.defaultProps = {\n color: \"#666666\",\n type: \"default\",\n showBorder: false,\n showBackground: true,\n text: \"\",\n className: \"\",\n};\n\nexport default StateTag;\n","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperty(e, r, t) {\n return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {\n value: t,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : e[r] = t, e;\n}\nexport { _defineProperty as default };","'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","function _typeof(o) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {\n return typeof o;\n } : function (o) {\n return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, _typeof(o);\n}\nexport { _typeof as default };","import defineProperty from \"./defineProperty.js\";\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nfunction _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}\nexport { _objectSpread2 as default };"],"names":["toPropertyKey","t","i","r","e","Symbol","toPrimitive","call","TypeError","String","Number","f","require","k","for","l","m","Object","prototype","hasOwnProperty","n","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentOwner","p","key","ref","__self","__source","q","c","a","g","b","d","h","defaultProps","$$typeof","type","props","_owner","current","exports","Fragment","jsx","jsxs","_objectWithoutProperties","o","indexOf","getOwnPropertySymbols","length","propertyIsEnumerable","tagTypeEnum","default","skill","color","borderColor","result","filterResult","success","progress","danger","info","other","StateTag","_ref","showBorder","text","showBackground","className","filterName","_excluded","tagColor","useMemo","_tagTypeEnum$type","_tagTypeEnum$type2","_jsxs","Space","classnames","style","align","size","children","_jsx","Tag","_objectSpread","background","border","concat","onClick","_defineProperty","defineProperty","value","enumerable","configurable","writable","module","_typeof","iterator","constructor","ownKeys","keys","filter","getOwnPropertyDescriptor","push","apply","_objectSpread2","arguments","forEach","getOwnPropertyDescriptors","defineProperties"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[2908,3771],{3382:(e,o,n)=>{n.r(o),n.d(o,{ModalButton:()=>q,TabsModal:()=>D,TabsModalButton:()=>I,default:()=>V,useConfirmModal:()=>P,useModal:()=>S,useTabsModal:()=>z});var t=n(89379),l=n(53986),s=n(73884),i=n(55199),r=n(83136),a=n.n(r);const c={modal:"style_modal__Pm3cF__-vnKV",large:"style_large__iaqVE__-vnKV","modal-body-inner":"style_modal-body-inner__4PhpA__-vnKV","modal-title":"style_modal-title__dswaw__-vnKV","modal-outer":"style_modal-outer__r3SkX__-vnKV","modal-body":"style_modal-body__jQJSI__-vnKV","right-options-modal":"style_right-options-modal__FajDP__-vnKV","right-options-row":"style_right-options-row__-mPb9__-vnKV","right-options-col":"style_right-options-col__3ilee__-vnKV","is-disabled-scroller":"style_is-disabled-scroller__PmHyk__-vnKV",content:"style_content__k6MIF__-vnKV","modal-footer":"style_modal-footer__-prbN__-vnKV","modal-close":"style_modal-close__Oa5Kl__-vnKV","confirm-modal-wrap":"style_confirm-modal-wrap__YFImr__-vnKV","is-danger":"style_is-danger__H5110__-vnKV",title:"style_title__orTym__-vnKV","has-title":"style_has-title__qy0Wp__-vnKV"},d=e=>({"en-US":()=>n.e(4628).then(n.bind(n,74628)),"zh-CN":()=>n.e(7478).then(n.bind(n,87478))}[e]());var m=n(47458),h=n(64671);const p=(e,o)=>"function"===typeof e?e(o):e;var u=n(81014),_=n(17342),f=n(70579);const g=["ButtonComponent","onClick","autoClose","display"],y=["children","rightOptions","rightSpan","footer","footerButtons","className","size","title","onClose","onConfirm","onCancel","closable","disabledScroller","withDecorator","childrenRef"],C=["size"],A=["children"],b=["type","icon","title","danger","wrapClassName","message","iconSetting","confirmType"],v="Modal",j=e=>{let{options:o,rightSpan:n=6,children:t}=e;return o?(0,f.jsxs)(i.Row,{wrap:!1,className:c["right-options-row"],children:[(0,f.jsx)(i.Col,{span:24-n,className:c["right-options-col"],children:t}),(0,f.jsx)(i.Col,{span:n,className:c["right-options-col"],children:o})]}):t},x=(e,o)=>"".concat(e-48-(o?58:0),"px"),w=e=>{let{footer:o,footerButtons:n,onConfirm:r,onCancel:a,onClose:c,targetProps:h}=e;return(0,f.jsxs)(i.Row,{gutter:10,wrap:!1,children:[(0,f.jsx)(i.Col,{flex:1,children:o}),Array.isArray(n)&&0===n.length?null:(0,f.jsx)(i.Col,{children:(0,f.jsx)(i.Space,{children:(n||[{children:(0,f.jsx)(m.IntlProvider,{importMessages:d,moduleName:v,children:(0,f.jsx)(m.FormattedMessage,{id:"Cancel",moduleName:v})}),onClick:a},{type:"primary",children:(0,f.jsx)(m.IntlProvider,{importMessages:d,moduleName:v,children:(0,f.jsx)(m.FormattedMessage,{id:"Confirm",moduleName:v})}),onClick:r}]).filter((e=>"function"===typeof(null===e||void 0===e?void 0:e.display)?null===e||void 0===e?void 0:e.display():!1!==(null===e||void 0===e?void 0:e.display))).map(((e,o)=>{let{ButtonComponent:n,onClick:i,autoClose:r=!0,display:a}=e,d=(0,l.A)(e,g);const m=n||u.default;return(0,s.createElement)(m,(0,t.A)((0,t.A)({},d),{},{key:o,onClick:async function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];const t=await Promise.resolve(i&&i(...o,h));return r&&!1!==t&&c&&c(),t}}))}))})})]})},N=e=>{let{title:o,footer:n,disabledScroller:t,footerButtons:l,onClose:r,closable:d,onConfirm:m,onCancel:p,children:u,targetProps:g}=e;const y=(0,s.useRef)(null);return(0,f.jsxs)("div",{className:c["modal-outer"],"data-testid":"components-core-modal",children:[!1===d?null:(0,f.jsx)(i.Button,{"data-testid":"components-core-modal-close-btn",className:c["modal-close"],type:"text",icon:(0,f.jsx)(h.default,{type:"icon-close-thin"}),onClick:e=>{e.stopPropagation(),r&&r()}}),o&&(0,f.jsx)("div",{className:c["modal-title"],children:o}),(0,f.jsx)(_.A,{className:a()(c["modal-body"],{[c["is-disabled-scroller"]]:t},"modal-body"),ref:y,children:(0,f.jsx)("div",{className:a()(c["modal-body-inner"],"modal-body-inner"),children:u})}),null!==n||l?(0,f.jsx)("div",{className:a()(c["modal-footer"],"modal-footer"),children:(0,f.jsx)(w,{footer:n,footerButtons:l,onConfirm:m,onCancel:p,onClose:r,targetProps:g})}):null]})},K=e=>{let{withDecorator:o,footerButtons:n,title:l,closable:s,onClose:i,onConfirm:r,onCancel:a,footer:c,rightOptions:d,rightSpan:m,disabledScroller:h,childrenRef:u,children:_}=e;const g=e=>(e=Object.assign({},{title:l},e),(0,f.jsx)(N,{title:p(e.title,(0,t.A)((0,t.A)({},e),{},{childrenRef:u,close:i})),closable:s,onClose:i,onConfirm:r,onCancel:a,footerButtons:p(n,(0,t.A)((0,t.A)({},e),{},{close:i})),disabledScroller:h,footer:p(c,(0,t.A)((0,t.A)({},e),{},{childrenRef:u,close:i})),targetProps:Object.assign({},e,{childrenRef:u,close:i}),children:(0,f.jsx)(j,{rightSpan:m,options:p(d,(0,t.A)((0,t.A)({},e),{},{childrenRef:u,close:i})),children:p(_,(0,t.A)((0,t.A)({},e),{},{childrenRef:u,close:i}))})}));return"function"===typeof o?o(g,{childrenRef:u,close:i}):g({})},k=e=>{let{children:o,rightOptions:n,rightSpan:s,footer:i,footerButtons:r,className:h,size:p,title:u,onClose:_,onConfirm:g,onCancel:C,closable:A,disabledScroller:b,withDecorator:v,childrenRef:j}=e,w=(0,l.A)(e,y);return(0,t.A)((0,t.A)((0,t.A)({},w),{},{icon:null,centered:!0,title:null,maskClosable:!!w.hasOwnProperty("maskClosable")&&w.maskClosable,destroyOnClose:!0,footer:null,closable:!1,onCancel:_,className:a()(h,c.modal,c[p],{[c["right-options-modal"]]:n})},((e,o)=>"large"===e?{width:"".concat(Math.min(window.innerWidth-64,1500),"px"),style:{"--min-modal-height":x(500,o)}}:"small"===e?{width:"600px",style:{"--min-modal-height":x(300,o)}}:{width:"1000px",style:{"--min-modal-height":x(500,o)}})(p,!(null===i&&!r))),{},{children:(0,f.jsx)(m.IntlProvider,{importMessages:d,moduleName:"Modal",children:K({withDecorator:v,title:u,closable:A,onClose:_,onConfirm:g,onCancel:C,footer:i,footerButtons:r,rightOptions:n,rightSpan:s,disabledScroller:b,children:o,childrenRef:j})})})},S=()=>{const{modal:e}=i.App.useApp(),o=(0,s.useRef)(null);return n=>{const s={},i=k((0,t.A)({onClose:()=>s.close(),childrenRef:o},n)),{children:r}=i,a=(0,l.A)(i,A),{destroy:c}=e.info((0,t.A)((0,t.A)({},a),{},{content:r}));return s.close=c,s}},P=()=>{const{modal:e}=i.App.useApp();return o=>{const n={},s=(0,t.A)({onClose:()=>n.close(),maskClosable:!1},o),{type:r,icon:d,title:m,danger:p,wrapClassName:u,message:_,iconSetting:g={},confirmType:y="info"}=s,C=(0,l.A)(s,b),A=Object.assign({},{info:"icon-xinxi-tianchong",confirm:"icon-tishi-tianchong",warning:"icon-tishi-tianchong",error:"icon-shibai",success:"icon-chenggong"},g);if(e[r]){const{destroy:o}=e[r]((0,t.A)((0,t.A)({},C),{},{icon:null,wrapClassName:a()(c["confirm-modal-wrap"],u,{[c["is-danger"]]:p}),title:(0,f.jsx)(i.Space,{direction:"vertical",onClick:e=>{e.stopPropagation()},children:m&&(0,f.jsxs)(i.Space,{size:0,align:"start",className:c.title,children:[p?(0,f.jsx)(h.default,{className:a()("title-icon","title-icon-".concat("confirm"===r?y:r)),type:d||A["confirm"===r?y:r]}):null,m]})}),content:(0,f.jsxs)(i.Space,{size:0,align:"start",className:a()(c.content,{[c["has-title"]]:m}),children:[!m&&p?(0,f.jsx)(h.default,{className:a()("title-icon","title-icon-".concat("confirm"===r?y:r)),type:d||A["confirm"===r?y:r]}):null,_]})}));n.close=o}return n}},V=e=>{let{size:o="default"}=e,n=(0,l.A)(e,C);const r=(0,s.useRef)(null);return(0,f.jsx)(i.Modal,(0,t.A)({},k(Object.assign({},n,{size:o,childrenRef:r}))))},R=["items","className","activeKey","withDecorator","defaultActiveKey","onChange"],M=["withDecorator"],B=["children"],O=e=>{let{items:o,className:n,activeKey:s,withDecorator:r,defaultActiveKey:c,onChange:d}=e,m=(0,l.A)(e,R);return(0,t.A)((0,t.A)({},m),{},{className:a()(n,"tabs-modal"),withDecorator:e=>{const n=n=>(0,f.jsx)(i.Tabs,{items:o.map((o=>{let{withDecorator:t}=o,s=(0,l.A)(o,M);return Object.assign({},s,{children:"function"===typeof t?t((o=>e(Object.assign({},n,o,{children:s.children})))):e(Object.assign({},n,{children:s.children}))})})),destroyInactiveTabPane:!0,activeKey:s,defaultActiveKey:c,onChange:d});return"function"===typeof r?r(n):n()},children:e=>{let{children:o}=e,n=(0,l.A)(e,B);return"function"===typeof o?o(n):o}})},D=e=>(0,f.jsx)(V,(0,t.A)({},O(e))),z=()=>{const e=S();return o=>e(O(o))};var F=n(73025);const T=["modalProps"],I=e=>{const o=z();return e.api?(0,f.jsx)(F.A,(0,t.A)((0,t.A)({},e),{},{modalFunc:o})):(0,f.jsx)(i.Button,(0,t.A)((0,t.A)({},e),{},{onClick:()=>{o(e.modalProps)}}))},q=e=>{const o=S();if(!e.api){const{modalProps:n}=e,s=(0,l.A)(e,T);return(0,f.jsx)(i.Button,(0,t.A)((0,t.A)({},s),{},{onClick:()=>{o(n)}}))}return(0,f.jsx)(F.A,(0,t.A)((0,t.A)({},e),{},{modalFunc:o}))}},17342:(e,o,n)=>{n.d(o,{A:()=>s});var t=n(34581),l=n.n(t);n(46733);const s=l()},46733:()=>{}}]);
2
- //# sourceMappingURL=3771.98136f4e.chunk.js.map
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[3856],{3382:(e,t,n)=>{n.r(t),n.d(t,{ModalButton:()=>z,TabsModal:()=>M,TabsModalButton:()=>E,default:()=>P,useConfirmModal:()=>K,useModal:()=>O,useTabsModal:()=>T});var a=n(89379),l=n(53986),s=n(73884),r=n(55199),o=n(83136),i=n.n(o);const c={modal:"style_modal__Pm3cF__-vnKV",large:"style_large__iaqVE__-vnKV","modal-body-inner":"style_modal-body-inner__4PhpA__-vnKV","modal-title":"style_modal-title__dswaw__-vnKV","modal-outer":"style_modal-outer__r3SkX__-vnKV","modal-body":"style_modal-body__jQJSI__-vnKV","right-options-modal":"style_right-options-modal__FajDP__-vnKV","right-options-row":"style_right-options-row__-mPb9__-vnKV","right-options-col":"style_right-options-col__3ilee__-vnKV","is-disabled-scroller":"style_is-disabled-scroller__PmHyk__-vnKV",content:"style_content__k6MIF__-vnKV","modal-footer":"style_modal-footer__-prbN__-vnKV","modal-close":"style_modal-close__Oa5Kl__-vnKV","confirm-modal-wrap":"style_confirm-modal-wrap__YFImr__-vnKV","is-danger":"style_is-danger__H5110__-vnKV",title:"style_title__orTym__-vnKV","has-title":"style_has-title__qy0Wp__-vnKV"},d=e=>({"en-US":()=>n.e(4628).then(n.bind(n,74628)),"zh-CN":()=>n.e(7478).then(n.bind(n,87478))}[e]());var u=n(47458),p=n(64671);const m=(e,t)=>"function"===typeof e?e(t):e;var h=n(81014),g=n(17342),_=n(70579);const v=["ButtonComponent","onClick","autoClose","display"],f=["children","rightOptions","rightSpan","footer","footerButtons","className","size","title","onClose","onConfirm","onCancel","closable","disabledScroller","withDecorator","childrenRef"],x=["size"],A=["children"],y=["type","icon","title","danger","wrapClassName","message","iconSetting","confirmType"],C="Modal",j=e=>{let{options:t,rightSpan:n=6,children:a}=e;return t?(0,_.jsxs)(r.Row,{wrap:!1,className:c["right-options-row"],children:[(0,_.jsx)(r.Col,{span:24-n,className:c["right-options-col"],children:a}),(0,_.jsx)(r.Col,{span:n,className:c["right-options-col"],children:t})]}):a},b=(e,t)=>"".concat(e-48-(t?58:0),"px"),N=e=>{let{footer:t,footerButtons:n,onConfirm:o,onCancel:i,onClose:c,targetProps:p}=e;return(0,_.jsxs)(r.Row,{gutter:10,wrap:!1,children:[(0,_.jsx)(r.Col,{flex:1,children:t}),Array.isArray(n)&&0===n.length?null:(0,_.jsx)(r.Col,{children:(0,_.jsx)(r.Space,{children:(n||[{children:(0,_.jsx)(u.IntlProvider,{importMessages:d,moduleName:C,children:(0,_.jsx)(u.FormattedMessage,{id:"Cancel",moduleName:C})}),onClick:i},{type:"primary",children:(0,_.jsx)(u.IntlProvider,{importMessages:d,moduleName:C,children:(0,_.jsx)(u.FormattedMessage,{id:"Confirm",moduleName:C})}),onClick:o}]).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:r,autoClose:o=!0,display:i}=e,d=(0,l.A)(e,v);const u=n||h.default;return(0,s.createElement)(u,(0,a.A)((0,a.A)({},d),{},{key:t,onClick:async function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const a=await Promise.resolve(r&&r(...t,p));return o&&!1!==a&&c&&c(),a}}))}))})})]})},S=e=>{let{title:t,footer:n,disabledScroller:a,footerButtons:l,onClose:o,closable:d,onConfirm:u,onCancel:m,children:h,targetProps:v}=e;const f=(0,s.useRef)(null);return(0,_.jsxs)("div",{className:c["modal-outer"],"data-testid":"components-core-modal",children:[!1===d?null:(0,_.jsx)(r.Button,{"data-testid":"components-core-modal-close-btn",className:c["modal-close"],type:"text",icon:(0,_.jsx)(p.default,{type:"icon-close-thin"}),onClick:e=>{e.stopPropagation(),o&&o()}}),t&&(0,_.jsx)("div",{className:c["modal-title"],children:t}),(0,_.jsx)(g.A,{className:i()(c["modal-body"],{[c["is-disabled-scroller"]]:a},"modal-body"),ref:f,children:(0,_.jsx)("div",{className:i()(c["modal-body-inner"],"modal-body-inner"),children:h})}),null!==n||l?(0,_.jsx)("div",{className:i()(c["modal-footer"],"modal-footer"),children:(0,_.jsx)(N,{footer:n,footerButtons:l,onConfirm:u,onCancel:m,onClose:o,targetProps:v})}):null]})},w=e=>{let{withDecorator:t,footerButtons:n,title:l,closable:s,onClose:r,onConfirm:o,onCancel:i,footer:c,rightOptions:d,rightSpan:u,disabledScroller:p,childrenRef:h,children:g}=e;const v=e=>(e=Object.assign({},{title:l},e),(0,_.jsx)(S,{title:m(e.title,(0,a.A)((0,a.A)({},e),{},{childrenRef:h,close:r})),closable:s,onClose:r,onConfirm:o,onCancel:i,footerButtons:m(n,(0,a.A)((0,a.A)({},e),{},{close:r})),disabledScroller:p,footer:m(c,(0,a.A)((0,a.A)({},e),{},{childrenRef:h,close:r})),targetProps:Object.assign({},e,{childrenRef:h,close:r}),children:(0,_.jsx)(j,{rightSpan:u,options:m(d,(0,a.A)((0,a.A)({},e),{},{childrenRef:h,close:r})),children:m(g,(0,a.A)((0,a.A)({},e),{},{childrenRef:h,close:r}))})}));return"function"===typeof t?t(v,{childrenRef:h,close:r}):v({})},V=e=>{let{children:t,rightOptions:n,rightSpan:s,footer:r,footerButtons:o,className:p,size:m,title:h,onClose:g,onConfirm:v,onCancel:x,closable:A,disabledScroller:y,withDecorator:C,childrenRef:j}=e,N=(0,l.A)(e,f);return(0,a.A)((0,a.A)((0,a.A)({},N),{},{icon:null,centered:!0,title:null,maskClosable:!!N.hasOwnProperty("maskClosable")&&N.maskClosable,destroyOnClose:!0,footer:null,closable:!1,onCancel:g,className:i()(p,c.modal,c[m],{[c["right-options-modal"]]:n})},((e,t)=>"large"===e?{width:"".concat(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)}})(m,!(null===r&&!o))),{},{children:(0,_.jsx)(u.IntlProvider,{importMessages:d,moduleName:"Modal",children:w({withDecorator:C,title:h,closable:A,onClose:g,onConfirm:v,onCancel:x,footer:r,footerButtons:o,rightOptions:n,rightSpan:s,disabledScroller:y,children:t,childrenRef:j})})})},O=()=>{const{modal:e}=r.App.useApp(),t=(0,s.useRef)(null);return n=>{const s={},r=V((0,a.A)({onClose:()=>s.close(),childrenRef:t},n)),{children:o}=r,i=(0,l.A)(r,A),{destroy:c}=e.info((0,a.A)((0,a.A)({},i),{},{content:o}));return s.close=c,s}},K=()=>{const{modal:e}=r.App.useApp();return t=>{const n={},s=(0,a.A)({onClose:()=>n.close(),maskClosable:!1},t),{type:o,icon:d,title:u,danger:m,wrapClassName:h,message:g,iconSetting:v={},confirmType:f="info"}=s,x=(0,l.A)(s,y),A=Object.assign({},{info:"icon-xinxi-tianchong",confirm:"icon-tishi-tianchong",warning:"icon-tishi-tianchong",error:"icon-shibai",success:"icon-chenggong"},v);if(e[o]){const{destroy:t}=e[o]((0,a.A)((0,a.A)({},x),{},{icon:null,wrapClassName:i()(c["confirm-modal-wrap"],h,{[c["is-danger"]]:m}),title:(0,_.jsx)(r.Space,{direction:"vertical",onClick:e=>{e.stopPropagation()},children:u&&(0,_.jsxs)(r.Space,{size:0,align:"start",className:c.title,children:[m?(0,_.jsx)(p.default,{className:i()("title-icon","title-icon-".concat("confirm"===o?f:o)),type:d||A["confirm"===o?f:o]}):null,u]})}),content:(0,_.jsxs)(r.Space,{size:0,align:"start",className:i()(c.content,{[c["has-title"]]:u}),children:[!u&&m?(0,_.jsx)(p.default,{className:i()("title-icon","title-icon-".concat("confirm"===o?f:o)),type:d||A["confirm"===o?f:o]}):null,g]})}));n.close=t}return n}},P=e=>{let{size:t="default"}=e,n=(0,l.A)(e,x);const o=(0,s.useRef)(null);return(0,_.jsx)(r.Modal,(0,a.A)({},V(Object.assign({},n,{size:t,childrenRef:o}))))},L=["items","className","activeKey","withDecorator","defaultActiveKey","onChange"],I=["withDecorator"],k=["children"],F=e=>{let{items:t,className:n,activeKey:s,withDecorator:o,defaultActiveKey:c,onChange:d}=e,u=(0,l.A)(e,L);return(0,a.A)((0,a.A)({},u),{},{className:i()(n,"tabs-modal"),withDecorator:e=>{const n=n=>(0,_.jsx)(r.Tabs,{items:t.map((t=>{let{withDecorator:a}=t,s=(0,l.A)(t,I);return Object.assign({},s,{children:"function"===typeof a?a((t=>e(Object.assign({},n,t,{children:s.children})))):e(Object.assign({},n,{children:s.children}))})})),destroyInactiveTabPane:!0,activeKey:s,defaultActiveKey:c,onChange:d});return"function"===typeof o?o(n):n()},children:e=>{let{children:t}=e,n=(0,l.A)(e,k);return"function"===typeof t?t(n):t}})},M=e=>(0,_.jsx)(P,(0,a.A)({},F(e))),T=()=>{const e=O();return t=>e(F(t))};var R=n(73025);const D=["modalProps"],E=e=>{const t=T();return e.api?(0,_.jsx)(R.A,(0,a.A)((0,a.A)({},e),{},{modalFunc:t})):(0,_.jsx)(r.Button,(0,a.A)((0,a.A)({},e),{},{onClick:()=>{t(e.modalProps)}}))},z=e=>{const t=O();if(!e.api){const{modalProps:n}=e,s=(0,l.A)(e,D);return(0,_.jsx)(r.Button,(0,a.A)((0,a.A)({},s),{},{onClick:()=>{t(n)}}))}return(0,_.jsx)(R.A,(0,a.A)((0,a.A)({},e),{},{modalFunc:t}))}},12392:(e,t,n)=>{n.d(t,{Bm:()=>U,Eo:()=>W,NR:()=>w,Ay:()=>q});var a=n(55199),l=n(83136),s=n.n(l),r=n(89379),o=n(53986),i=n(30509),c=n(25438),d=n(78784),u=n(33097),p=n.n(u),m=n(34677),h=n.n(m);const g="create-list_scroll-loader__zoaS7__-vnKV",_="create-list_is-popup__t3d-G__-vnKV",v="create-list_is-not-full__FXtX1__-vnKV",f="create-list_search-input__tV3vf__-vnKV",x="create-list_left__EXr3i__-vnKV",A="create-list_list-header__3xeJa__-vnKV",y="create-list_is-modal__BMfya__-vnKV";var C=n(73161),j=n(47458),b=n(70579);const N=["extra"],S=i.A.useContext,w=e=>{let{renderList:t,defaultProps:n}=e;const l=e=>{let{value:n,setValue:l}=e;const{fetchApi:r,searchText:o,setSearchText:i,props:u,mapping:m}=S(),N=Object.assign({},{paramsType:"data",current:"currentPage",pageSizeName:"perPage",pageSize:20},u.pagination),w=p()(r.requestParams,[N.paramsType,N.current],1),V=p()(r.requestParams,[N.paramsType,N.pageSizeName])||N.pageSize,{formatMessage:O}=(0,j.useIntl)({moduleName:"Common"}),K=u.dataFormat(r.data),{right:P,leftBottom:L,leftSpan:I=24}=u,k=1===n.length&&"all"===n[0];return(0,b.jsxs)(a.Row,{wrap:!1,className:P?s()("is-not-full",v):"",children:[(0,b.jsxs)(a.Col,{span:I,className:s()(x,"advance-select-left"),children:[u.getSearchProps?(0,b.jsx)(C.A,{isPopup:u.isPopup,className:s()(f,c.A["search-input"],{[c.A["is-popup"]]:u.isPopup}),placeholder:u.searchPlaceholder||O({id:"search"}),value:o,onSearch:e=>{r.reload(u.getSearchProps(e)),i(e)}}):null,u.single||!u.showSelectedCount&&!u.allowSelectAll?null:(0,b.jsxs)(a.Flex,{className:s()(A,{[y]:!u.isPopup}),justify:"space-between",children:[u.showSelectedCount?(0,b.jsxs)(a.Space,{children:[(0,b.jsx)(a.Typography,{children:"\u5df2\u9009:"}),(0,b.jsx)(a.Typography.Link,{children:k?u.allLabel||(0,b.jsx)(j.FormattedMessage,{id:"all",moduleName:"Common"}):"".concat(n.length).concat(u.countUnit||O({id:"items"}))})]}):(0,b.jsx)("div",{}),u.allowSelectAll?(0,b.jsx)("div",{children:(0,b.jsx)(a.Checkbox,{checked:k,onChange:e=>{l(e.target.checked?[u.allValue||"all"]:[])},children:(0,b.jsx)(j.FormattedMessage,{id:"selectAll",moduleName:"Common",values:{label:u.allLabel||(0,b.jsx)(j.FormattedMessage,{id:"all",moduleName:"Common"})}})})}):(0,b.jsx)("div",{})]}),(0,b.jsx)(d.default,{completeTips:"",isLoading:!r.isComplete,className:s()(g,{[_]:u.isPopup}),noMore:!K.total||w*V>=K.total,onLoader:async()=>{console.log("on loader"),await r.loadMore(h()({[N.paramsType]:{[N.pageSizeName]:V,[N.current]:w+1}},u.getSearchProps&&u.getSearchProps(o)),u.mergeList)},children:(()=>{const e={props:u,value:n,setValue:l,list:K.list,data:r.data,fetchApi:r,itemIsSelected:e=>n.indexOf(e.value)>-1,isSelectedAll:k,onSelect:e=>{if(u.single)return void l([e.value]);const t=n.slice(0),a=t.indexOf(e.value);a>-1?t.splice(a,1):t.push(e.value),l(t)}},a=t(e);return"function"===typeof u.dropdownRender?u.dropdownRender(Object.assign({},e,{children:a})):a})()}),L&&L({fetchApi:r,value:n,mapping:m})]}),P&&P({value:n,mapping:m,fetchApi:r})]})},u=e=>{let{extra:t}=e,n=(0,o.A)(e,N);return(0,b.jsx)(i.A,(0,r.A)((0,r.A)({},n),{},{extra:t,children:e=>{let{value:t,setValue:n}=e;return(0,b.jsx)(l,{value:t,setValue:n})}}))};return u.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),u},V="list_list__TGynD__-vnKV",O="list_list-item__WSswf__-vnKV",K="list_is-selected__6Wkgt__-vnKV",P="list_item-label__bYzhe__-vnKV",L="list_item-des__2nsEn__-vnKV",I="list_is-disabled__qxCvO__-vnKV",k="list_is-selected-all__Mp-hG__-vnKV";var F=n(40438),M=n(64671);const T="user_list-inner__V508e__-vnKV",R="user_list-info__y2nWo__-vnKV",D="user_selected-icon__9OQJL__-vnKV",E="user_item-des__o+7UR__-vnKV",z="user_is-selected-all__2q0VZ__-vnKV",W=w({renderList:e=>{let{list:t,onSelect:n,itemIsSelected:l,isSelectedAll:o}=e;return(0,b.jsx)(a.List,{size:"small",className:s()(V,{[k]:o,[z]:o}),dataSource:t,renderItem:e=>{const t=l(e);return(0,b.jsx)(a.List.Item,{className:s()(O,{[K]:t}),onClick:()=>n(e),children:(0,b.jsxs)(a.Row,{wrap:!1,align:"middle",className:T,children:[(0,b.jsx)(a.Col,{children:(0,b.jsx)(F.default.Avatar,(0,r.A)((0,r.A)({},Object.assign({},e.avatar)),{},{size:40,gender:"M"}))}),(0,b.jsx)(a.Col,{className:R,flex:1,children:(0,b.jsxs)(a.Space,{direction:"vertical",children:[(0,b.jsx)("span",{className:P,children:e.label}),e.description&&(0,b.jsx)("span",{className:E,children:e.description})]})}),(0,b.jsx)(a.Col,{children:o||t?(0,b.jsx)(M.default,{className:D,type:"icon-gouxuan"}):null})]})})}})}}),B={"is-selected-all":"table_is-selected-all__IwXUY__-vnKV"},U=w({defaultProps:{overlayWidth:"450px"},renderList:e=>{let{props:t,list:n,onSelect:l,value:r,setValue:o,itemIsSelected:i,isSelectedAll:c}=e;return(0,b.jsx)(a.Table,{className:s()(B.list,V,{[k]:c,[B["is-selected-all"]]:c}),size:"small",dataSource:n,columns:t.columns,rowClassName:e=>s()({"ant-table-row-selected":i(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=>{o(e)}},sticky:!0,onRow:e=>({onClick:()=>l(e)})})}}),q=w({renderList:e=>{let{props:t,list:n,itemIsSelected:l,isSelectedAll:r,onSelect:o}=e;const{listClassName:i="",selectIcon:c=null}=t||{};return(0,b.jsx)(a.List,{className:s()(V,i,{[k]:r}),size:"small",dataSource:n,renderItem:e=>{var n;const i=l(e);return(0,b.jsxs)(a.List.Item,{className:s()(O,{[K]:t.single&&i,[I]:r||e.disabled}),onClick:()=>{e.disabled||o(e)},children:[(0,b.jsxs)(a.Row,{wrap:!1,children:[t.single?null:(0,b.jsx)(a.Col,{children:(0,b.jsx)(a.Checkbox,{checked:r||i,disabled:r||e.disabled})}),(0,b.jsx)(a.Col,{children:(0,b.jsxs)(a.Space,{className:null!==(n=null===e||void 0===e?void 0:e.className)&&void 0!==n?n:"",children:[(0,b.jsx)("span",{className:P,children:e.label}),e.description&&(0,b.jsx)("span",{className:L,children:e.description})]})})]}),i&&c]})}})}})},17342:(e,t,n)=>{n.d(t,{A:()=>s});var a=n(34581),l=n.n(a);n(46733);const s=l()},17508:(e,t,n)=>{n.d(t,{AG:()=>A,Ay:()=>v,FI:()=>x,Zi:()=>f,lN:()=>s.useFileUpload});var a=n(89379),l=n(53986),s=n(96982),r=n(55199),o=n(83136),i=n.n(o),c=n(70579);const d=["className","multiple","accept","onChange","children"],u=["children"],p=["children"],m=["className","multiple","accept","onChange","children"],h=["children"],g=["className","multiple","accept","onChange","children"],_=["children"],v=e=>t=>{let{className:n,multiple:r,accept:o,onChange:i,children:p}=t,m=(0,l.A)(t,d);return(0,c.jsx)(s.FileInput,{className:n,multiple:r,accept:o,onChange:i,children:t=>{let{children:n}=t,s=(0,l.A)(t,u);return(0,c.jsxs)(e,(0,a.A)((0,a.A)({},Object.assign({},m,s)),{},{children:[p,n]}))}})},f=e=>{let{children:t}=e,n=(0,l.A)(e,p);return(0,c.jsx)(s.FileInput,(0,a.A)((0,a.A)({},n),{},{buttonText:t}))},x=e=>{let{className:t,multiple:n,accept:o,onChange:i,children:d}=e,u=(0,l.A)(e,m);return(0,c.jsx)(s.FileInput,{className:t,multiple:n,accept:o,onChange:i,children:e=>{let{children:t}=e,n=(0,l.A)(e,h);return(0,c.jsxs)(r.Typography.Link,(0,a.A)((0,a.A)({},Object.assign({},u,n)),{},{children:[d,t]}))}})},A=e=>{let{className:t,multiple:n,accept:o,onChange:d,children:u}=e,p=(0,l.A)(e,g);return(0,c.jsx)(s.FileInput,{className:i()(t,"ant-btn"),multiple:n,accept:o,onChange:d,children:e=>{let{children:t}=e,n=(0,l.A)(e,_);return(0,c.jsxs)(r.Typography.Text,(0,a.A)((0,a.A)({},Object.assign({},p,n)),{},{children:[u,t]}))}})}},18411:(e,t,n)=>{n.d(t,{A:()=>a});n(73884);const a=n.p+"static/media/defaultAvatar.b1f2a8046cc7bee36d9a404ce6a0a1d7.svg"},20492:(e,t,n)=>{n.d(t,{A:()=>a});const a=e=>({"en-US":()=>n.e(3086).then(n.bind(n,13086)),"zh-CN":()=>n.e(4308).then(n.bind(n,84308))}[e]())},21485:(e,t,n)=>{n.d(t,{A:()=>p});var a=n(89379),l=n(53986),s=n(73884),r=n(71298),o=n.n(r),i=n(96418),c=n.n(i),d=n(70579);const u=["children","onScroll","options","onReady"],p=(0,s.forwardRef)(((e,t)=>{let{children:n,onScroll:r,options:i,onReady:p}=e,m=(0,l.A)(e,u);const h=(0,s.useRef)(null),g=(0,s.useRef)(null),_=(0,s.useRef)(i),v=c()(p),f=c()(r);return(0,s.useImperativeHandle)(t,(()=>g.current)),(0,s.useEffect)((()=>{const e=new(o())(h.current,_.current);return g.current=e.getScrollElement(),g.current.addEventListener("scroll",f),v(g.current),()=>{g.current.removeEventListener("scroll",f)}}),[f,v,n]),(0,d.jsx)("div",(0,a.A)((0,a.A)({},m),{},{ref:h,children:n}))}))},25438:(e,t,n)=>{n.d(t,{A:()=>a});const a={"search-input":"common_search-input__P6qLg__-vnKV","is-popup":"common_is-popup__fJq+g__-vnKV",list:"common_list__TKFzS__-vnKV","list-item":"common_list-item__ASse7__-vnKV","is-selected":"common_is-selected__-PU4Y__-vnKV","item-label":"common_item-label__u+qz1__-vnKV","item-des":"common_item-des__no2z0__-vnKV"}},27047:(e,t,n)=>{n.d(t,{A:()=>r});var a=n(83694),l=n(33097),s=n.n(l);const r=()=>{const e=(0,a.useGlobalContext)();return s()(e,"preset",{apis:{}})}},30509:(e,t,n)=>{n.d(t,{A:()=>Z});var a=n(89379),l=n(53986);const s={"ant-tag":"style_ant-tag__nNp8-__-vnKV",overlay:"style_overlay__La5mO__-vnKV",input:"style_input__SpJTE__-vnKV","is-disabled":"style_is-disabled__joxdl__-vnKV","input-icon":"style_input-icon__vVd8R__-vnKV",large:"style_large__En6mL__-vnKV",small:"style_small__DY0AQ__-vnKV","input-inner":"style_input-inner__PWy27__-vnKV","input-custom":"style_input-custom__ktsWD__-vnKV","display-content":"style_display-content__hIKo+__-vnKV","overlay-footer-extra":"style_overlay-footer-extra__Q+BiR__-vnKV","selected-tag":"style_selected-tag__zXZZO__-vnKV","selected-tag-list":"style_selected-tag-list__xUIms__-vnKV","selected-tag-inner":"style_selected-tag-inner__Z5gPL__-vnKV","text-inner":"style_text-inner__H24hY__-vnKV",placeholder:"style_placeholder__x0ccE__-vnKV","is-modal":"style_is-modal__JU+uq__-vnKV","overlay-content":"style_overlay-content__WKqp+__-vnKV"};var r=n(74981);const{context:o,useContext:i,Provider:c,Consumer:d}=(0,r.A)();var u=n(73884),p=n(10986),m=n.n(p),h=n(87558),g=n(33097),_=n.n(g),v=n(55199),f=n(83136),x=n.n(f),A=n(3382),y=n(64671),C=n(79686),j=n.n(C),b=n(41740),N=n.n(b),S=n(74065),w=n.n(S),V=n(21485),O=n(96418),K=n.n(O),P=n(77964),L=n(91176),I=n(47458),k=n(20492),F=n(27047),M=n(70579);const T=["value","onChange","extra","showSelectedTag","renderSelectedContent","children"],R=["value","setValue","children","renderSelectedContent","showSelectedTag","placement","inputContent","single","extra","overlayWidth","wrapClassName","overlayClassName","disabled"],D=["setFetchApi","wrapClassName","getContentRef"],E=["api","className","displayItems","wrapClassName"],z=e=>{let{maxLength:t,single:n,setValue:a,value:l,message:s}=e;return e=>a(!n&&Number.isInteger(t)&&t>0&&e.length>t?(s(),l):e)},W=e=>{let{single:t,value:n,mapping:a,allValue:l,allLabel:r,onClose:o}=e;return n&&Array.isArray(n)&&0!==n.length?t?(0,M.jsx)("span",{className:s["text-inner"],children:_()(a.get(n[0]),"label")||n[0]}):1===n.length&&n[0]===(l||"all")?(0,M.jsx)("span",{className:s["text-inner"],children:r||(0,M.jsx)(I.FormattedMessage,{id:"all",moduleName:"Common"})}):n.map((e=>{const t=a.get(e);return(0,M.jsx)(v.Tag,{className:s["display-tag"],closable:!0,onClose:n=>{n.preventDefault(),o(e,t)},children:(0,M.jsx)("span",{className:s["tag-inner"],children:_()(t,"label")||e})},e)})):null},B=(0,u.forwardRef)(((e,t)=>{let{value:n,onChange:r,extra:o,showSelectedTag:i,renderSelectedContent:c,children:d}=e,p=(0,l.A)(e,T);const[m,h]=(0,u.useState)(n),g=(0,u.useRef)(n),{formatMessage:_}=(0,I.useIntl)({moduleName:"Common"});g.current=n;const[f,x]=(0,u.useState)(!1),y=e=>{var t;x(e),null===(t=p.onOpenChange)||void 0===t||t.call(p,e)},{message:C}=v.App.useApp(),j=z({maxLength:p.maxLength,single:p.single,setValue:h,value:m,message:()=>C.error(_({id:"maxSelectedCount"},{count:p.maxLength}))});return(0,u.useEffect)((()=>{f&&h(g.current)}),[f]),(0,u.useImperativeHandle)(t,(()=>({modalOpen:()=>{y(!0)},close:()=>{y(!1)}}))),(0,M.jsx)(A.default,(0,a.A)((0,a.A)({},p),{},{open:f,onConfirm:()=>{r(m)},onClose:()=>{y(!1)},footer:(0,M.jsxs)(v.Space,{direction:"vertical",className:s["overlay-footer"],children:[o&&(0,M.jsx)("div",{className:s["overlay-footer-extra"],children:o}),i&&c({value:m,setValue:j})]}),children:"function"===typeof d?d({value:m,setValue:j}):d}))})),U=(0,u.forwardRef)(((e,t)=>{let{value:n,setValue:r,children:o,renderSelectedContent:i,showSelectedTag:c,placement:d,inputContent:p,single:m,extra:h,overlayWidth:g,wrapClassName:_,overlayClassName:f,disabled:A}=e,y=(0,l.A)(e,R);const[C,j]=(0,u.useState)(!1),b=K()((e=>{var t;j(e),null===(t=y.onOpenChange)||void 0===t||t.call(y,e)}));return(0,u.useImperativeHandle)(t,(()=>({close:()=>{b(!1)}})),[b]),A?(0,M.jsx)("div",{className:s["input-inner"],children:p}):(0,M.jsx)(v.Popover,(0,a.A)((0,a.A)({},y),{},{open:C,onOpenChange:b,transitionName:"ant-slide-up",overlayClassName:x()(s.overlay,f),arrow:!1,content:(0,M.jsxs)("div",{style:g?{"--overlay-width":g}:{},className:x()(s["overlay-content"],"over-content"),onClick:e=>{e.stopPropagation()},children:[(0,M.jsx)("div",{className:s["overlay-inner"],children:"function"===typeof o?o({value:n,setValue:e=>{(!m||n[0]!==e[0])&&r(e),m&&b(!1)}}):o}),(c||h)&&(0,M.jsxs)("div",{className:s["overlay-footer"],children:[h&&(0,M.jsx)("div",{className:s["overlay-footer-extra"],children:h}),c&&i({value:n,setValue:r})]})]}),trigger:"click",placement:d,children:(0,M.jsx)("div",{className:s["input-inner"],children:p})}))})),q=(0,h.withFetch)((e=>{let{setFetchApi:t,wrapClassName:n,getContentRef:a}=e,r=(0,l.A)(e,D);const[o,c]=(0,u.useState)(!1),d=(0,u.useRef)(null),p=(0,u.useRef)(null),m=i(),{valueState:h,mapping:g,props:_,inputWidth:f}=m,[A,C]=h,{formatMessage:j}=(0,I.useIntl)({moduleName:"Common"}),{single:b,placement:N,getPopupContainer:S,placeholder:w,isPopup:O,disabled:P,showSelectedTag:k,extra:F,inputContent:T,allowClear:R,overlayClassName:E}=_,z=(0,u.useRef)(r);z.current=r;const q=K()(a);(0,u.useEffect)((()=>{q(O?p:d)}),[O,q]),(0,u.useEffect)((()=>{t(Object.assign({},z.current,{data:r.data,isComplete:r.isComplete}))}),[r.data,t,r.isComplete]);const Q=W({single:b,value:A,mapping:g,allValue:_.allValue,allLabel:_.allLabel,onClose:e=>{C((t=>{const n=t.slice(0),a=t.indexOf(e);return a>-1&&n.splice(a,1),n}))}}),H=e=>{let{value:t,setValue:n}=e;return(0,M.jsxs)(v.Space,{className:s["selected-tag"],align:"center",wrap:!1,children:[(0,M.jsxs)("div",{children:[(0,M.jsx)(I.FormattedMessage,{id:"selectedTextAdvanced",moduleName:"Common",defaultMessage:"\u5df2\u9009"}),!_.single&&Number.isInteger(_.maxLength)&&_.maxLength>0?"(".concat(t.length,"/").concat(_.maxLength,")"):"",":"]}),(0,M.jsx)(V.A,{className:s["selected-tag-list"],children:(0,M.jsx)("div",{className:s["selected-tag-inner"],children:W({value:t,mapping:g,allValue:_.allValue,allLabel:_.allLabel,onClose:e=>{n((t=>{const n=t.slice(0),a=t.indexOf(e);return a>-1&&n.splice(a,1),n}))}})})})]})},Z=T?T(m):(0,M.jsxs)(v.Space,{className:s["display-content"],onMouseOver:()=>{c(!0)},onMouseOut:()=>{c(!1)},children:[(0,M.jsx)("div",{children:Q||(0,M.jsx)("span",{className:s.placeholder,children:w||j({id:"pleaseSelect"})})}),o&&A&&A.length>0&&!P&&R?(0,M.jsx)(y.default,{className:x()(s.close,s["input-icon"],"close","input-icon"),type:"icon-shibai",onClick:e=>{e.stopPropagation(),C([])}}):(0,M.jsx)(y.default,{className:x()(s["input-icon"],"input-icon-arrow","input-icon"),type:"icon-arrow-thin-down"})]});return O?(0,M.jsx)(U,{ref:p,overlayWidth:(0,L.v)(Math.max(f,(0,L.j)(_.overlayWidth))),value:A,setValue:C,single:b,disabled:P,inputContent:Z,onOpenChange:_.onOpenChange,overlayClassName:E,extra:"function"===typeof F?F({close:()=>p.current.close(),context:m}):F,renderSelectedContent:H,showSelectedTag:k,trigger:"click",placement:N,getPopupContainer:S,children:_.children}):(0,M.jsxs)("div",{className:s["input-inner"],onClick:()=>{P||d.current.modalOpen()},children:[(0,M.jsx)(B,{size:_.modalSize,ref:d,single:_.single,maxLength:_.maxLength,onOpenChange:_.onOpenChange,disabledScroller:!0,wrapClassName:x()(s.overlay,s["is-modal"],n),title:_.placeholder||j({id:"pleaseSelect"}),value:A,onChange:C,extra:"function"===typeof F?F({close:()=>d.current.close(),context:m}):F,showSelectedTag:k,renderSelectedContent:H,children:_.children}),Z]})})),Q=e=>{let{api:t,className:n,displayItems:r,wrapClassName:o}=e,i=(0,l.A)(e,E);const{locale:d}=(0,F.A)(),[p,h]=(0,u.useState)(""),[g,f]=(0,u.useState)(new Map(r.map((e=>[e.value,e])))),{formatMessage:A}=(0,I.useIntl)({moduleName:"Common"}),[y,C]=(0,u.useState)(0),b=(0,P.A)((e=>{C(e.clientWidth)})),[S,V]=(0,u.useState)({}),{message:O}=v.App.useApp(),K=e=>{const t=e.filter((e=>g.get(e.value)!==e));0!==t.length&&f((e=>{const n=N()(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)(i.single?j()(e)?[]:[e]:e||[],K,i.valueType),[k,T]=m()(Object.assign({},i,{onChange:e=>{const t=((e,t,n)=>"all"!==n?e:e.map((e=>t.get(e))).filter((e=>!!e)))(e,g,i.valueType);i.onChange&&i.onChange(i.single?w()(t):t)}},"value"in i?{value:L(i.value)}:{defaultValue:L(i.defaultValue)})),R=z({maxLength:i.maxLength,single:i.single,setValue:T,value:k,message:()=>O.error(A({id:"maxSelectedCount"},{count:i.maxLength}))}),D=(0,u.useRef)(null);return(0,M.jsx)(c,{value:{inputWidth:y,mapping:g,searchText:p,setSearchText:h,appendMapping:K,setItems:e=>{S.setData(e),K(_()(i.dataFormat(e,{locale:d}),"list",[]))},getContentApi:()=>D.current,fetchApi:S,valueState:[k,R],props:i},children:(0,M.jsx)("div",{ref:b,className:x()(s["input".concat(i.inputContent&&"function"===typeof i.inputContent?"-custom":"")],{"select-input-disabled":!!i.disabled},n),children:(0,M.jsx)(q,(0,a.A)((0,a.A)({},t),{},{wrapClassName:o,loading:null,setFetchApi:V,getContentRef:e=>{e.current&&(D.current=e.current)},onRequestSuccess:e=>{K(_()(i.dataFormat(e,{locale:d}),"list",[])),t.onRequestSuccess&&t.onRequestSuccess(e)}}))})})};Q.defaultProps={displayItems:[],extra:null,api:{loader:()=>[]},dataFormat:e=>({list:e}),placement:"bottomLeft",showSelectedTag:!0,allowClear:!0};const H=(0,I.createWithIntl)({importMessages:k.A,moduleName:"Common"})(Q);H.useContext=i;const Z=H},35063:(e,t,n)=>{n.d(t,{$9:()=>h,Ay:()=>p,e0:()=>m});var a=n(89379),l=n(73884),s=n(69319),r=n.n(s),o=n(3382),i=n(40438),c=n(55199),d=(n(96316),n(70579));const u=(0,l.forwardRef)(((e,t)=>{const n=Object.assign({},{children:e=>{let{components:t}=e;return(0,d.jsxs)(c.Flex,{vertical:!0,children:[t.search,t.selectedAll,t.fetchList,!1!==n.isPopup&&t.selectedTag]})},renderModal:e=>{const{props:t,open:n,onOpenChange:a,value:l,onComplete:r}=e,{placeholder:i,children:c,showSelectedTag:u,onConfirm:p}=t;return(0,d.jsx)(o.default,{title:i,open:n,onClose:()=>{a(!1)},footer:u&&(0,d.jsx)(s.SelectedTagList,{}),onConfirm:()=>{if(r(),"function"===typeof p)return p(l)},children:c(e)})}},e);return(0,d.jsx)(r(),(0,a.A)((0,a.A)({},n),{},{ref:t}))})),p=u,m=(0,l.forwardRef)(((e,t)=>{const n=Object.assign({},{renderModal:e=>{const{props:t,open:n,value:a,onOpenChange:l,onComplete:s}=e,{placeholder:r,children:i,onConfirm:c}=t;return(0,d.jsx)(o.default,{title:r,open:n,onClose:()=>{l(!1)},onConfirm:()=>{if(s(),"function"===typeof c)return c(a)},children:i(e)})}},e);return(0,d.jsx)(s.SelectTableList,(0,a.A)((0,a.A)({},n),{},{ref:t}))})),h=(0,l.forwardRef)(((e,t)=>(0,d.jsx)(u,(0,a.A)((0,a.A)({},e),{},{ref:t,renderItemContent:e=>{let{item:t,props:n}=e;const{labelKey:l}=n;return(0,d.jsxs)(c.Flex,{gap:8,children:[(0,d.jsx)(i.default.Avatar,(0,a.A)((0,a.A)({},Object.assign({},t.avatar)),{},{size:40,gender:"M"})),(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"select-list-item-label",children:t[l]}),t.description&&(0,d.jsx)("div",{className:"select-list-item-description",children:t.description})]})]})}}))))},40438:(e,t,n)=>{n.r(t),n.d(t,{default:()=>w});var a=n(89379),l=n(53986),s=n(87558),r=n.n(s),o=n(97211),i=n(64671),c=n(83136),d=n.n(c),u=n(55199),p=n(73884);const m=e=>{let{params:t}=e;const{data:n}=t;return new Promise(((e,t)=>{const a=new window.Image;a.src=n,a.addEventListener("load",(()=>{e(n)})),a.addEventListener("error",(e=>{t(e)}))}))},h="style_img-outer__4QLY5__-vnKV",g="style_img__PSExq__-vnKV",_="style_loading__WCOwA__-vnKV",v="style_error__+ECgZ__-vnKV";var f=n(18411),x=n(63908),A=n(70579);const y=["id","src","alt","onClick","loading","error","className","apis"],C=["id","src","alt","gender","loading","error","className","gap","icon","children","shape","size","width","height","defaultAvatar","apis"],j=e=>{let{data:t,className:n,alt:a,innerLoading:l,loading:s=(0,A.jsx)(u.Skeleton.Avatar,{shape:"square",active:!0}),error:o=(0,A.jsx)(i.default,{role:"error-icon",colorful:!0,type:"icon-color-touxiang-nan"}),innerError:c,children:p,onClick:h,staticUrl:_}=e;const{staticUrl:v}=(0,x.usePreset)(),f=_||v||"";return(0,A.jsx)(r(),{loader:m,params:{data:/^https?:\/\//.test(t)?t:f+t},error:c||o,loading:l||s,render:e=>{let{data:t}=e;return"function"===typeof p?p({alt:a,className:d()(n,g),src:t}):(0,A.jsx)("img",{alt:a,className:d()(n,g),src:t,onClick:h})}})},b=(0,o.A)(j),N=e=>{let{loading:t,error:n,src:a,id:l,alt:s,className:r,children:o,apis:i,onClick:c}=e;const d=t&&(0,p.cloneElement)(t,{className:_}),u=n&&(0,p.cloneElement)(n,{className:v});return a?(0,A.jsx)(j,{alt:s,className:r,data:a,loading:d,error:u,onClick:c,children:o}):l?(0,A.jsx)(b,{alt:s,className:r,id:l,loading:d,innerLoading:d,error:u,innerError:u,apis:i,onClick:c,children:o}):u},S=e=>{let{id:t,src:n,alt:s,onClick:r,loading:o=(0,A.jsx)(u.Skeleton.Avatar,{shape:"square",active:!0}),error:c=(0,A.jsx)(i.default,{role:"error-icon",colorful:!0,type:"icon-color-touxiang-nan"}),className:p,apis:m}=e,g=(0,l.A)(e,y);return(0,A.jsx)("div",(0,a.A)((0,a.A)({},g),{},{"data-testid":"components-core-image",className:d()(p,h),children:N({loading:o,error:c,src:n,id:t,alt:s,className:p,apis:m,onClick:r})}))};S.Avatar=e=>{let{id:t,src:n,alt:s,gender:r,loading:o=(0,A.jsx)(u.Skeleton.Avatar,{shape:"square",active:!0}),error:c=(0,A.jsx)(i.default,{role:"error-icon",colorful:!0,type:"icon-color-touxiang-nan"}),className:p,gap:m,icon:g,children:_,shape:v,size:x=100,width:y,height:j,defaultAvatar:b=f.A,apis:S}=e,w=(0,l.A)(e,C);const V=(()=>{const e=y&&j?{style:{width:y,height:j}}:{size:x};if(y&&y!==j&&(v="square"),t||n)return N({loading:o,error:c,src:n,defaultAvatar:b,id:t,alt:s,className:p,apis:S,children:t=>(0,A.jsx)(u.Avatar,(0,a.A)((0,a.A)({},t),{},{gap:m,shape:v},e))});if(r){const t=r&&["F","female","f"].indexOf(r)>-1?"icon-color-touxiang-nv":"icon-color-touxiang-nan";return(0,A.jsx)(u.Avatar,(0,a.A)((0,a.A)({},w),{},{src:(0,A.jsx)(i.default,{role:"touxiang",colorful:!0,type:t}),gap:m,shape:v},e))}return(0,A.jsx)(u.Avatar,(0,a.A)((0,a.A)((0,a.A)({},w),{},{gap:m,icon:g,shape:v,size:x,src:b},e),{},{children:_}))})();return(0,A.jsx)("div",(0,a.A)((0,a.A)({},w),{},{"data-testid":"components-core-image-avatar",className:d()(p,h),style:{width:y&&j?y:x,height:y&&j?j:x},children:V}))};const w=S},41654:(e,t,n)=>{n.d(t,{A:()=>v,K:()=>_});var a=n(89379),l=n(53986),s=n(45776),r=n(27047),o=n(33097),i=n.n(o),c=n(70579);const d=["apis"],u=["apis"],p=(e,t)=>"en-US"===t?i()(e,"enName"):i()(e,"chName"),m=()=>n.e(719).then(n.t.bind(n,10719,19)).then((e=>e.__esModule?e.default:e)),h={cache:"FUNCTION_DATA",isLocal:!0,ttl:864e5,loader:m},g=e=>{let{apis:t}=e,n=(0,l.A)(e,d);const{apis:o,locale:i}=(0,r.A)(),u=Object.assign({},{functionData:h},null===o||void 0===o?void 0:o.staticData,t);return(0,c.jsx)(s.Ay,(0,a.A)((0,a.A)({},n),{},{api:Object.assign({},{transformData:e=>{let{data:t}=e;const{treeData:n}=(0,s.ON)(new Map(t.map((e=>[e.code,(0,a.A)((0,a.A)({},e),{},{id:e.code,label:p(e,i),parentId:e.parentCode||null})]))));return n}},u.functionData)}))};g.defaultProps={overlayWidth:"640px",getSearchProps:e=>({data:{searchText:e}})},g.defaultData=m;const _=e=>{let{apis:t}=e,n=(0,l.A)(e,u);const{apis:o,locale:i}=(0,r.A)(),d=Object.assign({},{functionData:h},null===o||void 0===o?void 0:o.staticData,t);return(0,c.jsx)(s.yK,(0,a.A)((0,a.A)((0,a.A)({},n),d.functionData),{},{type:"function",getLabel:e=>p(e,i),transformData:e=>{let{data:t}=e;return t}}))};g.FunctionEnum=g.Enum=_;const v=g},43856:(e,t,n)=>{n.r(t),n.d(t,{AddressEnum:()=>m.qn,AddressInputField:()=>m.TM,AddressSelectField:()=>m.Ay,AdvancedSelectField:()=>h.Ay,CascaderField:()=>_.Ay,FetchButton:()=>i.A,FetchScrollLoader:()=>o.FetchScrollLoader,FunctionEnum:()=>v.K,FunctionSelectField:()=>v.A,IndustryEnum:()=>f.W,IndustrySelectField:()=>f.A,InputFileButton:()=>p.Zi,InputFileLink:()=>p.FI,InputFileText:()=>p.AG,ScrollLoader:()=>o.default,SearchInput:()=>d.A,SelectInnerInput:()=>u.A,SimpleBar:()=>c.A,SuperSelectField:()=>g.Ay,SuperSelectTableListField:()=>g.e0,SuperSelectUserField:()=>g.$9,TableField:()=>h.Bm,TypeDateRangePickerField:()=>x.A,UserField:()=>h.Eo,accept:()=>y.A,changeMoneyToChinese:()=>a.A,createAddressApi:()=>m.LH,createDeferred:()=>j(),createListField:()=>h.NR,createTreeUtils:()=>_.ON,getContainerBody:()=>l.c,getPopupContainer:()=>s,getScrollEl:()=>l.h,isNotEmpty:()=>b.A,numberToPx:()=>N.v,pxToNumber:()=>N.j,useFileUpload:()=>p.lN,useResize:()=>A.A,withAddressApi:()=>m.DF,withInputFile:()=>p.Ay,withOSSFile:()=>r.A});var a=n(69484),l=n(76801);const s=e=>{const t=e=>{const n=(0,l.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),o=n(78784),i=n(73025),c=n(17342),d=n(73161),u=n(30509),p=n(17508),m=n(93761),h=n(12392),g=n(35063),_=n(45776),v=n(41654),f=n(53392),x=n(89319),A=n(77964),y=n(81348),C=n(1582),j=n.n(C),b=n(55490),N=n(91176)},45776:(e,t,n)=>{n.d(t,{yK:()=>k,ON:()=>_,Ay:()=>E});var a=n(53986),l=n(89379),s=n(30509),r=n(73884),o=n(96418),i=n.n(o),c=n(55199),d=n(64671),u=n(73161),p=n(33097),m=n.n(p),h=n(79686),g=n.n(h);const _=e=>{const t=Array.from(e.values()),n=t.filter((e=>null===e.parentId)),a=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},l=t=>{const n=[],a=t=>{const l=e.get(t);l&&Array.isArray(l.children)&&l.children.length>0&&(n.push(...l.children),l.children.forEach((e=>{a(e.id)})))};return a(t),n},s=(t,n)=>{const a=t=>{const l=e.get(t);return l?n(l)?l:g()(l.parentId)?null:a(l.parentId):null};return a(t)},r=t=>{const a=e.get(t);if(!a)return[];const l=a.parentId;if(g()(l))return n;return e.get(l).children},o=(()=>{const e=n=>Array.isArray(n)&&n.length>0?n.map((n=>{const a=t.filter((e=>e.parentId===n.id));return Object.assign({},n,{children:e(a)})})):null;return e(n)})();return{mapping:e,getSelectedQueue:t=>{const n=e.get(t);if(!n)return[];const a=e=>{if(e.children&&e.children.length>0)return a(e.children.find((t=>t.children&&e.children.length>0))||m()(e.children,"0"));const t=l(e.parentId).find((e=>e.children&&e.children.length>0));return t?a(t):e},s=function(t){const n=[t,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]],a=e.get(t);return!a||g()(a.parentId)?n:s(a.parentId,n)},r=a(n);return s(m()(r,"id"))},getAllChildren:l,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 a=(t=>{const a=t=>{const l=e.get(t);return l?(s=l,n.indexOf(s.id)>-1?l:Array.isArray(l.children)&&l.children.length>0?l.children.find((e=>!!a(e.id))):void 0):null;var s};return!!a(t)})(t);return a?{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 o=e.get(t);if(!o)return;n.push(t),l(t).forEach((e=>{a(n,e.id)}));const i=r(t),c=i.every((e=>n.indexOf(e.id)>-1));o.parentId&&c&&(i.forEach((e=>{a(n,e.id)})),s(o.parentId))};return s(t),n},setNodeUnchecked:function(t){const n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).slice(0),l=t=>{const s=e.get(t);if(!s)return;if(n.indexOf(s.id)>-1)return void a(n,s.id);const o=r(t);s.parentId&&(o.forEach((e=>{t!==e.id&&n.push(e.id)})),l(s.parentId))};return l(t),n},treeData:o,treeMapping:new Map(o.map((e=>[e.id,e])))}};var v=n(74065),f=n.n(v),x=n(19853),A=n.n(x),y=n(17342),C=n(83136),j=n.n(C);const b={content:"style_content__Hxlt9__-vnKV",columns:"style_columns__FmtPF__-vnKV","content-item":"style_content-item__i6HCO__-vnKV","last-level-area":"style_last-level-area__2y7jQ__-vnKV","is-popup":"style_is-popup__+r3Mn__-vnKV",menu:"style_menu__WZUVE__-vnKV","scroll-plus-box":"style_scroll-plus-box__QcTst__-vnKV","menu-label":"style_menu-label__iGt0Z__-vnKV","menu-item":"style_menu-item__hXHfm__-vnKV","checkbox-hidden":"style_checkbox-hidden__Xpx7J__-vnKV",loading:"style_loading__ZwrVe__-vnKV"};var N=n(87558),S=n(47458),w=n(25438),V=n(70579),O=n(27047);const K=["data","name","type","cache","children","getLabel"],P=new Map,L=(0,N.withFetch)((e=>{let{data:t,name:n,type:s,cache:o,children:i,getLabel:c}=e,d=(0,a.A)(e,K);const u=(0,r.useMemo)((()=>new Map(t.map((e=>[e.code,(0,l.A)((0,l.A)({},e),{},{id:e.code,label:c?c(e):e.chName,parentId:e.parentCode||null})])))),[t,c]).get(n);return P.set("".concat(n,"_").concat(s),u),i(u,d)})),I=e=>{const{locale:t}=(0,O.A)(),n="".concat(t,"_").concat(e.name,"_").concat(e.type),a=P.get(n);return a&&!e.force?e.children(a):(0,V.jsx)(L,(0,l.A)({},e))};I.defaultProps={children:e=>m()(e,"label","")};const k=I,F=["maxLength","nodeFormat","dataFormat"],M=s.A.useContext,T=(0,N.withFetch)((e=>{let{data:t,computedIsChecked:n,onSelect:a}=e;return(0,V.jsx)(y.A,{className:b["scroll-plus-box"],children:(0,V.jsx)(c.List,{className:w.A.list,size:"small",dataSource:t,rowKey:"value",renderItem:e=>{const t=n(e);return(0,V.jsx)(c.List.Item,{className:j()(w.A["list-item"],{[w.A["is-selected"]]:t}),onClick:()=>a(e,t),children:(0,V.jsx)("span",{className:w.A["item-label"],children:e.label})})}})})})),R=e=>{let{value:t,setValue:n,size:a,selectLevel:s}=e;const{fetchApi:o,props:p}=M(),[h,g]=(0,r.useState)(""),v=i()(p.dataFormat),{formatMessage:x}=(0,S.useIntl)({moduleName:"Common"}),C=o.data,N=(0,r.useMemo)((()=>new Map(v(C).list.map((e=>[e.value,e])))),[C,v]),O=(0,r.useMemo)((()=>_(N)),[N]),K=(0,r.useRef)({});K.current={createMergeTree:p.createMergeTree,loadMore:o.loadMore,openLoadData:p.openLoadData,parentIdKey:p.parentIdKey,treeUtils:O};const[P,L]=(0,r.useState)((()=>{const e=t.find((e=>!!N.get(e)));return O.getSelectedQueue(e||m()(o.data.find((e=>e.children&&e.children.length>0)),"id")||m()(o.data,"[0].id"),N)}));(0,r.useEffect)((()=>{const{openLoadData:e,loadMore:t,parentIdKey:n,createMergeTree:a,treeUtils:l}=K.current;if(!e)return;const s=N.get(f()(P));if(!s)return;const r=l.getSelectedQueue(s.id);A()(P,r)?s.hasOwnProperty("children")||t({data:{[n]:s.id}},a(s.id)):L(r)}),[P,N]);const I=(e,l)=>{const s=(()=>{if(p.onlyAllowLastLevel&&e){const e=t.slice(0);return e.push(l),e}if(p.onlyAllowLastLevel){const e=t.slice(0);return e.splice(t.indexOf(l),1),e}return e?O.setNodeChecked(l,t):O.setNodeUnchecked(l,t)})();s.length>a?c.message.error(x({id:"maxSelectedCount"},{count:a})):n(p.single&&s.length>0?[f()(s)]:s)},k=e=>{const t=N.get(e);return!(!p.openLoadData||t.hasOwnProperty("children"))||t.children&&t.children.length>0},F=!p.openLoadData&&"function"===typeof p.onSearch,R=F&&h&&(0,V.jsx)(T,{data:{searchText:h},loader:e=>{let{data:t}=e;return p.onSearch(t.searchText,{mapping:N})},computedIsChecked:e=>t.indexOf(e.id)>-1,onSelect:(e,t)=>{I(!t,e.id),!t&&L(O.getSelectedQueue(e.id,N)),g("")}});return(0,V.jsxs)("div",{className:j()(b.content,{[b["is-popup"]]:p.isPopup,[b["has-search"]]:F}),style:{"--menu-item-width":p.menuItemWidth},children:[F&&(0,V.jsx)(u.A,{isPopup:p.isPopup,className:j()(w.A["search-input"],{[w.A["is-popup"]]:p.isPopup}),placeholder:p.searchPlaceholder||x({id:"search"}),value:h,onSearch:e=>{g(e)}}),R||(0,V.jsx)("div",{children:(0,V.jsx)(y.A,{className:b.scroller,options:{autoHide:!1},children:(0,V.jsxs)("div",{className:b.columns,children:[P.map(((e,n)=>{const a=N.get(e),o=O.getSiblingNode(e),i=!k(null===a||void 0===a?void 0:a.id)&&n>0;return(0,V.jsx)(y.A,{className:j()(b["content-item"],{[b["last-level-area"]]:i}),children:i?(0,V.jsx)(c.Space,{wrap:!0,children:o.map((e=>(0,r.createElement)(c.Checkbox,(0,l.A)((0,l.A)({},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=>I(t.target.checked,e.id)}),e.label)))}):(0,V.jsx)(c.Menu,{className:j()(b.menu),onSelect:e=>{const n=N.get(e.key);if(n)if(k(n.id))L(O.getSelectedQueue(n.id,N));else{const{checked:e}=O.computedCheckboxStatus(n.id,t);I(!e,n.id)}},selectedKeys:n===P.length-1?[]:P,items:o.map((e=>({key:e.id,label:(0,V.jsxs)(c.Space,{className:j()(b["menu-item"],{[b["checkbox-hidden"]]:p.onlyAllowLastLevel&&k(e.id)}),children:[!p.onlyAllowLastLevel&&(0,V.jsx)(c.Checkbox,(0,l.A)((0,l.A)({},O.computedCheckboxStatus(e.id,t)),{},{disabled:s>1&&t.indexOf(e.parentCode)>-1,onChange:t=>I(t.target.checked,e.id)})),(0,V.jsx)("div",{className:b["menu-label"],children:e.label}),k(e.id)&&(0,V.jsx)(d.default,{className:b["menu-item-icon"],type:"icon-arrow-thin-right",size:12})]})})))})},m()(o,"[0].id",n))})),o.isComplete?null:(0,V.jsx)("div",{className:b.loading,children:(0,V.jsx)(c.Spin,{size:"small"})})]})})})]})},D=e=>{let{maxLength:t,nodeFormat:n,dataFormat:r}=e,o=(0,a.A)(e,F);return(0,V.jsx)(s.A,(0,l.A)((0,l.A)({},o),{},{dataFormat:e=>r(e,n),children:e=>{let{value:n,setValue:a}=e;return(0,V.jsx)(R,(0,l.A)((0,l.A)({},o),{},{size:t,value:n,setValue:a}))}}))};D.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,a)=>{const l=[];return l.push(...(e||[]).map((e=>("function"===typeof t&&Object.assign(e,t(e)),e.children&&e.children.length>0&&l.push(...n(e.children,e.id)),Object.assign({},e,{value:e.id,parentId:a}))))),l};return{list:n(e,null)}},createMergeTree:e=>(t,n)=>{const a=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:a(t.children)}):t));return a(t)}};const E=D},53392:(e,t,n)=>{n.d(t,{A:()=>_,W:()=>g});var a=n(89379),l=n(53986),s=n(45776),r=n(27047),o=n(33097),i=n.n(o),c=n(70579);const d=["apis"],u=["apis"],p=(e,t)=>"en-US"===t?i()(e,"enName"):i()(e,"chName"),m={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))},h=e=>{let{apis:t}=e,n=(0,l.A)(e,d);const{apis:o,locale:i}=(0,r.A)(),u=Object.assign({},{industryData:m},null===o||void 0===o?void 0:o.staticData,t);return(0,c.jsx)(s.Ay,(0,a.A)((0,a.A)({},n),{},{api:Object.assign({},{transformData:e=>{let{data:t}=e;const{treeData:n}=(0,s.ON)(new Map(t.filter((e=>"000"!==e.code)).map((e=>[e.code,(0,a.A)((0,a.A)({},e),{},{id:e.code,label:p(e,i),parentId:e.parentCode||null})]))));return n}},u.industryData)}))};h.defaultProps={overlayWidth:"635px"};const g=e=>{let{apis:t}=e,n=(0,l.A)(e,u);const{apis:o,locale:i}=(0,r.A)(),d=Object.assign({},{industryData:m},null===o||void 0===o?void 0:o.staticData,t);return(0,c.jsx)(s.yK,(0,a.A)((0,a.A)((0,a.A)({},n),d.industryData),{},{type:"function",getLabel:e=>p(e,i),transformData:e=>{let{data:t}=e;return t}}))};h.IndustryEnum=h.Enum=g;const _=h},55490:(e,t,n)=>{n.d(t,{A:()=>a.isNotEmpty});var a=n(39129)},69484:(e,t,n)=>{n.d(t,{A:()=>l,e:()=>a});const a=1e15,l=e=>{let t,n,l,s=["\u96f6","\u58f9","\u8d30","\u53c1","\u8086","\u4f0d","\u9646","\u67d2","\u634c","\u7396"],r=["","\u62fe","\u4f70","\u4edf"],o=["","\u4e07","\u4ebf","\u5146"],i=["\u89d2","\u5206","\u6beb","\u5398"],c="",d="";if(""===e)return"";if((e=parseFloat(e))>=a)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=""):(l=e.split("."),t=l[0],n=l[1].substr(0,4)),parseInt(t,10)>0){let e=0,n=t.length;for(let a=0;a<n;a++){let l=t.substr(a,1),i=n-a-1,d=i/4,u=i%4;"0"===l?e++:(e>0&&(c+=s[0]),e=0,c+=s[parseInt(l)]+r[u]),0===u&&e<4&&(c+=o[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)]+i[t])}}return""===c?c+=s[0]+"\u5143\u6574":""===n&&(c+="\u6574"),c=d+c,c}},73161:(e,t,n)=>{n.d(t,{A:()=>_});var a=n(89379),l=n(53986),s=n(55199),r=n(83136),o=n.n(r);const i="style_search-input__8aH1G__-vnKV",c="style_is-popup__L0973__-vnKV";var d=n(64671),u=n(73884),p=n(51941),m=n(70579);const h=["value","debounce","onSearch","isPopup","placeholder","className"],g=e=>{let{value:t,debounce:n,onSearch:r,isPopup:g,placeholder:_,className:v}=e,f=(0,l.A)(e,h);const[x,A]=(0,u.useState)(t),y=(0,u.useRef)(t),C=(0,p.useDebouncedCallback)(r,n);return(0,u.useEffect)((()=>{t!==y.current&&(A(t),y.current=t)}),[t]),(0,m.jsx)(s.Input.Search,(0,a.A)((0,a.A)({},f),{},{allowClear:!0,className:o()(v,i,{[c]:g}),value:x,placeholder:_,prefix:(0,m.jsx)(d.default,{type:"icon-sousuo"}),enterButton:(0,m.jsx)(d.default,{type:"icon-sousuo"}),onChange:e=>{const t=e.target.value;y.current=t,A(t),C(t)},onSearch:e=>{C(e)}}))};g.defaultProps={debounce:500};const _=g},74981:(e,t,n)=>{n.d(t,{A:()=>l});var a=n(73884);const l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=(0,a.createContext)(e),{Provider:n,Consumer:l}=t;return{context:t,Provider:n,Consumer:l,useContext:()=>(0,a.useContext)(t)}}},77964:(e,t,n)=>{n.d(t,{A:()=>d});var a=n(73884),l=n(79889),s=n.n(l),r=n(93950),o=n.n(r),i=n(96418),c=n.n(i);const d=(e,t)=>{const n=(0,a.useRef)(null);n.current=Object.assign({},{time:500,isDebounce:!1},t);const l=(0,a.useRef)(null),r=c()(e);return(0,a.useLayoutEffect)((()=>{const e=l.current,t=()=>window.requestAnimationFrame((()=>{e&&r(e)}));t();const a=new ResizeObserver((n.current.isDebounce?o():s())(t,n.current.time));return e&&a.observe(e),()=>{a.disconnect()}}),[r]),l}},78784:(e,t,n)=>{n.d(t,{default:()=>l.a});n(21219);var a=n(95183),l=n.n(a);n.o(a,"FetchScrollLoader")&&n.d(t,{FetchScrollLoader:function(){return a.FetchScrollLoader}})},81348:(e,t,n)=>{n.d(t,{A:()=>a.computedAccept});var a=n(96982)},89319:(e,t,n)=>{n.d(t,{A:()=>m});var a=n(89379),l=n(20454),s=n(55199),r=n(10986),o=n.n(r),i=n(57469),c=n.n(i),d=n(20492),u=n(47458),p=n(70579);const m=(0,u.createWithIntl)({importMessages:d.A,moduleName:"Common"})((e=>{let t=Object.assign({},((0,l.A)(e),e));const{formatMessage:n}=(0,u.useIntl)({moduleName:"Common"}),r=new Map([["date",n({id:"customTime"})],["month",n({id:"monthly"})],["week",n({id:"weekly"})]]),[i,d]=o()(t);return(0,p.jsxs)(s.Space.Compact,{children:[(0,p.jsx)(s.Select,{style:{width:"120px"},value:(null===i||void 0===i?void 0:i.type)||"date",onChange:e=>{d((t=>{var n;return{value:null!==t&&void 0!==t&&null!==(n=t.value)&&void 0!==n&&n.length?[c()(t.value[0]).startOf(e||"date"),c()(t.value[1]).endOf(e||"date")]:null,type:e||"date"}}))},options:Array.from(r).map((e=>{let[t,n]=e;return{label:n,value:t}}))}),(0,p.jsx)(s.DatePicker.RangePicker,(0,a.A)((0,a.A)({},t),{},{picker:(null===i||void 0===i?void 0:i.type)||"date",value:Array.isArray(null===i||void 0===i?void 0:i.value)&&2===i.value.length&&i.value.map((e=>e&&c()(e))),onChange:e=>{d((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())]}))))}}))]})}))},91176:(e,t,n)=>{n.d(t,{j:()=>l,v:()=>a});const a=e=>"number"===typeof e?"".concat(e,"px"):e,l=e=>{if(!e)return 0;const t=e.match(/^\d*(\.\d*)?/);return t?Number(t[0]):0}},93761:(e,t,n)=>{n.d(t,{qn:()=>z,TM:()=>te,LH:()=>M,Ay:()=>B,NY:()=>T,DF:()=>W});var a=n(53986),l=n(89379),s=n(30509),r=n(25438),o=n(55199),i=n(27047),c=n(83136),d=n.n(c),u=n(64671),p=n(73884),m=n(21485),h=n(56434),g=n.n(h),_=n(15797),v=n.n(_),f=n(33097),x=n.n(f);const A="style_address__DIuRX__-vnKV",y="style_is-popup__tqVvp__-vnKV",C="style_title__FAe12__-vnKV",j="style_scroll-box__JWiDl__-vnKV",b="style_scroll-plus-box__lidEW__-vnKV",N="style_content__lAARZ__-vnKV",S="style_col-left__WPfeS__-vnKV",w="style_col-right__z0e9-__-vnKV";var V=n(87558),O=n.n(V);const K=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(47458),L=n(70579);const I=["name","data","getAddressApi","children"],k=["data"],F=s.A.useContext,M=e=>{let{city:t,province:n,country:a}=e;const l=v()((()=>{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:v()((e=>{const n=t.list[e];return n?{city:n,parent:n.parentCode?t.list[n.parentCode]:null}:{city:null,parent:null}})),getChinaHotCities:v()((()=>t.relations[2].map((e=>t.list[e])))),getChinaCities:v()((()=>["2",...n.relations.municipality,...n.relations.provinces,"gangaotai"].map((e=>Object.assign({id:e},t.list[e]))))),getCountries:v()((()=>["1",...a.relations.continents].map((e=>Object.assign({id:e},a.list[e]))))),getList:v()(((e,l)=>{const{showChinaQuan:s,showForeignQuan:r}=Object.assign({},l);if("gangaotai"===e)return n.relations.gangaotai.map((e=>t.list[e]));const o=Object.assign({},t.list[e]);if(n.relations.municipality.indexOf(e)>-1)return o.name="".concat(s?"\u5168":"")+o.name,[o];const i=t.relations[e].map((e=>t.list[e]));return n.relations.provinces.indexOf(e)>-1&&s&&(o.name="\u5168"+o.name,i.splice(0,0,o)),a.relations.continents.indexOf(e)>-1&&r&&(o.name="\u5168"+o.name,i.splice(0,0,o)),i})),getNationalityList:v()((e=>{let n=g()(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:v()((e=>{const t=l();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:v()(((e,n)=>[...n.filter((n=>t.list[n].parentCode!==e&&t.list[e].parentCode!==n&&e!==n)),e])),searchCities:v()((e=>{if(!e)return[];return l().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?"".concat(n.name,"\xb7").concat(e.name):e.name,value:e.code}}))}))}},T=(e,t)=>"en-US"===t?x()(e,"enName"):x()(e,"name"),R={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))},D=e=>{let{value:t,setValue:n}=e;const{fetchApi:a,props:l}=F(),[s,c]=(0,p.useState)(""),[h,g]=(0,p.useState)("2"),{formatMessage:_}=(0,P.useIntl)({moduleName:"AddressSelect"}),{locale:v}=(0,i.A)(),{getCity:f,getChinaCities:x,getCountries:V,getList:O,searchCities:K}=(0,p.useMemo)((()=>M(a.data)),[a.data]),I=e=>{if(l.single)return void n([e]);const a=t.slice(0),s=a.indexOf(e);s>-1?a.splice(s,1):a.push(e),n(a)},k=s&&(0,L.jsx)(m.A,{className:b,children:(0,L.jsx)(o.List,{className:r.A.list,size:"small",dataSource:K(s),rowKey:"value",renderItem:e=>(0,L.jsx)(o.List.Item,{className:r.A["list-item"],onClick:()=>{I(e.value),c("")},children:(0,L.jsx)("span",{className:r.A["item-label"],children:e.label})})})});return(0,L.jsxs)("div",{className:d()(A,{[y]:l.isPopup}),children:[(0,L.jsx)(o.Input.Search,{className:d()(r.A["search-input"],{[r.A["is-popup"]]:l.isPopup}),placeholder:l.searchPlaceholder||_({id:"searchCity"}),prefix:(0,L.jsx)(u.default,{type:"icon-sousuo"}),enterButton:(0,L.jsx)(u.default,{type:"icon-sousuo"}),value:s,allowClear:!0,onChange:e=>{const t=e.target.value;c(t)},onSearch:e=>{c(e)}}),(0,L.jsx)("div",{className:N,children:k||(0,L.jsxs)(o.Row,{wrap:!1,children:[(0,L.jsx)(o.Col,{className:S,children:(0,L.jsx)(o.Tabs,{centered:!0,onChange:e=>{g(e)},items:[{key:"2",label:(0,L.jsx)(P.FormattedMessage,{id:"domestic",moduleName:"AddressSelect",defaultMessage:"\u56fd\u5185"}),children:(0,L.jsx)(m.A,{className:j,children:(0,L.jsx)(o.Menu,{selectedKeys:[h],onSelect:e=>{g(e.key)},items:x().map((e=>({label:T(e,v),key:e.id})))})})},{key:"1",label:(0,L.jsx)(P.FormattedMessage,{id:"abroad",moduleName:"AddressSelect",defaultMessage:"\u56fd\u5916"}),children:(0,L.jsx)(m.A,{className:j,children:(0,L.jsx)(o.Menu,{selectedKeys:[h],onSelect:e=>{g(e.key)},items:V().map((e=>({label:T(e,v),key:e.id})))})})}]})}),(0,L.jsxs)(o.Col,{flex:1,className:w,children:[(0,L.jsx)(o.Divider,{className:C,orientation:"left",children:T(f(h).city,v)}),(0,L.jsx)(m.A,{className:j,children:(0,L.jsx)(o.Space,{wrap:!0,children:O(h,{showChinaQuan:l.showChinaQuan,showForeignQuan:l.showForeignQuan}).map((e=>(0,L.jsx)(o.Tag.CheckableTag,{checked:t.indexOf(e.code)>-1,onChange:()=>{I(e.code)},children:T(e,v)},e.code)))})})]})]})})]})},E=e=>(0,L.jsx)(s.A,(0,l.A)((0,l.A)({},e),{},{children:e=>{let{value:t,setValue:n}=e;return(0,L.jsx)(P.IntlProvider,{moduleName:"AddressSelect",importMessages:K,children:(0,L.jsx)(D,{value:t,setValue:n})})}}));E.defaultProps={overlayWidth:"500px",isPopup:!0,api:R,dataFormat:(e,t)=>{let{city:n}=e;const{locale:a}=Object.assign({},t);return{list:Object.values(n.list).map((e=>Object.assign({},e,{value:e.code,label:T(e,a)})))}}};const z=(0,V.withFetch)((e=>{let{name:t,data:n,getAddressApi:l,children:s}=e,r=(0,a.A)(e,I);const{locale:o}=(0,i.A)(),c=(0,p.useMemo)((()=>M(n)),[n]);return l?s(c):(0,L.jsx)(O(),{cache:"city-enum",params:{name:t},loader:e=>{let{params:t}=e;const{name:n}=t;return new Promise((e=>{setTimeout((()=>{e(c.getCity(n))}),0)}))},render:e=>{let{data:t}=e;return s(t,Object.assign({},r,{locale:o}))}})}));z.defaultProps=(0,l.A)((0,l.A)({},R),{},{displayParent:!1,children:(e,t)=>{let{city:n,parent:a}=e,{displayParent:l,locale:s}=t;return l&&a?"".concat(T(a,s),"\xb7").concat(T(n,s)):T(n,s)}});const W=e=>{const t=(0,V.withFetch)((t=>{let{data:n}=t,s=(0,a.A)(t,k);const r=(0,p.useMemo)((()=>M(n)),[n]);return(0,L.jsx)(e,(0,l.A)((0,l.A)({},s),{},{addressApi:r}))}));return t.defaultProps=(0,l.A)({},R),t};E.AddressEnum=E.Enum=z,E.createAddressApi=M,E.withAddressApi=W,E.getLabelForLocal=T;const B=E;var U=n(10986),q=n.n(U),Q=n(78491),H=n.n(Q),Z=n(20492),X=n(22616),Y=n.n(X),G=n(1488),J=n.n(G);const $=["isPopup","size","disabled","inputPlaceholder","onBlur","className"],ee=e=>{const{isPopup:t,size:n,disabled:s,inputPlaceholder:r,onBlur:i,className:c}=e,d=(0,a.A)(e,$),[u,p]=q()(e),m=["isPopup","searchPlaceholder","placeholder","overlayWidth","api","dataFormat"],{formatMessage:h}=(0,P.useIntl)({moduleName:"Common"}),g=H()((e=>{i&&i(e)}));return(0,L.jsx)("div",{ref:g,children:(0,L.jsxs)(o.Row,{gutter:10,children:[(0,L.jsx)(o.Col,{span:12,children:(0,L.jsx)(B,(0,l.A)((0,l.A)({},Y()(d,m)),{},{className:c,disabled:s,single:!0,size:n,value:x()(u,"city"),onChange:e=>{p({city:e,detail:x()(u,"detail")})}}))}),(0,L.jsx)(o.Col,{span:12,children:(0,L.jsx)(o.Input,(0,l.A)((0,l.A)({},J()(d,m)),{},{className:c,placeholder:r||h({id:"pleaseInput"}),disabled:s,size:n,value:x()(u,"detail"),onChange:e=>{p({city:x()(u,"city"),detail:e.target.value})}}))})]})})};ee.defaultProps={};const te=(0,P.createWithIntl)({importMessages:Z.A,moduleName:"Common"})(ee)},97211:(e,t,n)=>{n.d(t,{A:()=>a.withOSSFile});var a=n(96982)}}]);
2
- //# sourceMappingURL=3856.18a1b0df.chunk.js.map
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[1725,4106],{34106:(e,n,t)=>{t.r(n),t.d(n,{Provider:()=>u,context:()=>c,usePreset:()=>a});var r=t(73884),o=t.n(r);const c=(0,r.createContext)({}),{Provider:s}=c,u=e=>{let{value:n,children:t}=e;const c=(0,r.useRef)(n);return c.current=n,o().createElement(s,{value:c},t)};u.defaultProps={value:{}};const a=()=>(0,r.useContext)(c).current||{}}}]);
2
- //# sourceMappingURL=4106.30718fc6.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/4106.30718fc6.chunk.js","mappings":"mPAEaA,GAAUC,EAAAA,EAAAA,eAAc,CAAC,IAE/BC,SAAUC,GAAiBH,EAE5BE,EAAWE,IAAuB,IAAtB,MAACC,EAAK,SAAEC,GAASF,EAC/B,MAAMG,GAASC,EAAAA,EAAAA,QAAOH,GAEtB,OADAE,EAAOE,QAAUJ,EACVK,IAAAA,cAACP,EAAa,CAACE,MAAOE,GACxBD,IAITJ,EAASS,aAAe,CACpBN,MAAO,CAAC,GAGN,MAAAO,EAAYA,KACCC,EAAAA,EAAAA,YAAWb,GACZS,SAAW,CAAC,C","sources":["../node_modules/@kne/global-preset/src/index.js"],"sourcesContent":["import React, {createContext, useContext, useRef} from 'react';\n\nexport const context = createContext({});\n\nconst {Provider: ReactProvider} = context;\n\nconst Provider = ({value, children}) => {\n const preset = useRef(value);\n preset.current = value;\n return <ReactProvider value={preset}>\n {children}\n </ReactProvider>\n};\n\nProvider.defaultProps = {\n value: {}\n};\n\nconst usePreset = () => {\n const preset = useContext(context);\n return preset.current || {};\n};\n\nexport {Provider, usePreset};\n"],"names":["context","createContext","Provider","ReactProvider","_ref","value","children","preset","useRef","current","React","defaultProps","usePreset","useContext"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- (self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[2723,2908,4277],{17342:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(34581),l=n.n(i);n(46733);const s=l()},19449:(e,t,n)=>{var i=n(94710),l=n(32952),s=n(9096),a=n(54052);e.exports=function(e,t){return function(n,o){var r=a(n)?i:l,c=t?t():{};return r(n,e,s(o,2),c)}}},32520:(e,t,n)=>{var i=n(75816),l=n(9096),s=n(99140),a=Math.max;e.exports=function(e,t,n){var o=null==e?0:e.length;if(!o)return-1;var r=null==n?0:s(n);return r<0&&(r=a(o+r,0)),i(e,l(t,3),r)}},32952:(e,t,n)=>{var i=n(45652);e.exports=function(e,t,n,l){return i(e,(function(e,i,s){t(l,e,n(e),s)})),l}},39835:(e,t,n)=>{var i=n(71775),l=n(19449),s=Object.prototype.hasOwnProperty,a=l((function(e,t,n){s.call(e,n)?e[n].push(t):i(e,n,[t])}));e.exports=a},45652:(e,t,n)=>{var i=n(94664),l=n(76516)(i);e.exports=l},46733:()=>{},75816:e=>{e.exports=function(e,t,n,i){for(var l=e.length,s=n+(i?1:-1);i?s--:++s<l;)if(t(e[s],s,e))return s;return-1}},76516:(e,t,n)=>{var i=n(6571);e.exports=function(e,t){return function(n,l){if(null==n)return n;if(!i(n))return e(n,l);for(var s=n.length,a=t?s:-1,o=Object(n);(t?a--:++a<s)&&!1!==l(o[a],a,o););return n}}},82723:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i.Content});var i=n(40094)},85855:(e,t,n)=>{e.exports=n(96483)},89384:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>N});var i=n(89379),l=n(55199),s=n(53984),a=n.n(s),o=n(83136),r=n.n(o),c=n(17342),d=n(63908),_=n(64671),u=n(82723);const v={notification:"style_notification__Vv-MM__-vnKV",list:"style_list__l8KOo__-vnKV",header:"style_header__3dcv8__-vnKV",item:"style_item__d92RS__-vnKV","item-box":"style_item-box__dd-Lk__-vnKV","index-1":"style_index-1__f97L0__-vnKV","index-2":"style_index-2__04vAw__-vnKV","item-box-main":"style_item-box-main__lnSak__-vnKV","item-title":"style_item-title__mArMd__-vnKV","level-high":"style_level-high__Uys7Y__-vnKV","level-middle":"style_level-middle__EewyC__-vnKV","level-low":"style_level-low__8kVyL__-vnKV","title-icon":"style_title-icon__1EoAG__-vnKV","item-subtitle":"style_item-subtitle__xeFJs__-vnKV","close-btn":"style_close-btn__7qpG3__-vnKV","is-loading":"style_is-loading__upVL+__-vnKV","item-content":"style_item-content__8MlsG__-vnKV","link-outer":"style_link-outer__kegyZ__-vnKV",link:"style_link__F2CO-__-vnKV","is-last-item":"style_is-last-item__MytRl__-vnKV"};var h=n(73884),m=n(39835),x=n.n(m),p=n(85855),f=n.n(p),g=n(96604),y=n.n(g),j=n(81014),b=n(32520),V=n.n(b),k=n(70579);const K=["high","middle","low"],w=e=>{let{level:t,title:n,groupLength:i,subtitle:s,content:a,link:o,id:c,children:h,className:m}=e;const{setGlobal:x}=(0,d.useGlobalContext)("notification"),{apis:p,ajax:f}=(0,d.usePreset)(),{isLoading:g,callback:b}=(0,j.useLoading)((async()=>{var e;const{data:t}=null!==p&&void 0!==p&&null!==(e=p.notification)&&void 0!==e&&e.read?await f(Object.assign({},p.notification.read,{data:{ids:[c]}})):{data:{code:0}};0===t.code&&x((e=>{const t=((null===e||void 0===e?void 0:e.list)||[]).slice(0),n=V()(t,(e=>c===e.id));return n>-1&&t.splice(n,1),Object.assign({},e,{list:t})}))}));return(0,k.jsxs)("div",{className:r()(v.item,m),style:{"--group-length":Math.min(i,3)||1},children:[i&&i>1&&y()(1,Math.min(i,3)).reverse().map((e=>(0,k.jsx)("div",{className:r()(v["item-box"],v["index-".concat(e)])},e))),(0,k.jsxs)("div",{className:r()(v["item-box"],v["item-box-main"]),children:[(0,k.jsxs)("div",{className:r()(v["item-title"],v["level-".concat(t)]),children:[(0,k.jsx)(_.default,{className:v["title-icon"],type:"high"===t?"icon-tishi":"icon-daiwochuli"}),(0,k.jsx)(l.Typography.Text,{ellipsis:!0,children:n})]}),(0,k.jsxs)("div",{className:v["item-content"],children:[(0,k.jsxs)("div",{className:v["item-subtitle"],children:[(0,k.jsx)(l.Typography.Text,{ellipsis:!0,children:s||""}),(0,k.jsx)(_.default,{className:r()(v["close-btn"],{[v["is-loading"]]:g}),type:"icon-close-thin",onClick:()=>{g||c&&b()}})]}),Array.isArray(a)?(0,k.jsx)(u.default,{list:a,labelAlign:"auto",size:"small"}):h]}),o&&(0,k.jsx)("div",{className:v["link-outer"],children:(0,k.jsx)(j.default,{className:v.link,size:"small",onClick:async()=>{var e;const{data:t}=null!==p&&void 0!==p&&null!==(e=p.notification)&&void 0!==e&&e.read?await f(Object.assign({},p.notification.read,{data:{ids:[c]}})):{data:{code:0}};0===t.code&&window.open(o)},children:"\u67e5\u770b\u8be6\u60c5"})})]})]})};w.defaultProps={level:"low"};const N=e=>{let{itemClassName:t}=e;const{global:n,setGlobal:s}=(0,d.useGlobalContext)("notification"),o=(0,h.useRef)(),{apis:_,ajax:u}=(0,d.usePreset)(),[m,p]=(0,h.useState)(32);(0,h.useEffect)((()=>{var e;o.current&&p(null===(e=o.current)||void 0===e?void 0:e.clientHeight)}),[]);const{list:g,expand:y}=Object.assign({},{expand:!1,list:[]},n),b=(0,h.useMemo)((()=>{const e=x()(g,(e=>e.level||"low"));return K.map((t=>e[t]||[]))}),[g]);return 0===g.length?null:(0,k.jsxs)("div",{className:r()({},v.notification,"notification"),style:{"--head-option-height":"".concat(m,"px")},children:[(0,k.jsx)("div",{ref:o,children:(0,k.jsxs)(l.Row,{justify:"end",wrap:!1,className:v.header,gutter:8,children:[b.some((e=>e.length>1))&&(0,k.jsx)(l.Col,{children:(0,k.jsx)(l.Button,{size:"small",onClick:()=>{s(Object.assign({},n,{expand:!y}))},children:y?"\u5168\u90e8\u6298\u53e0":"\u5168\u90e8\u5c55\u5f00"})}),(0,k.jsx)(l.Col,{children:(0,k.jsx)(j.default,{type:"primary",size:"small",onClick:async()=>{var e;const{data:t}=null!==_&&void 0!==_&&null!==(e=_.notification)&&void 0!==e&&e.read?await u(Object.assign({},_.notification.read,{data:{ids:g.map((e=>e.id)).filter((e=>!!e))}})):{data:{code:0}};0===t.code&&s(Object.assign({},n,{list:[]}))},children:"\u5168\u90e8\u6e05\u9664"})})]})}),(0,k.jsx)(c.A,{className:v.list,children:(0,k.jsx)(a(),{leaveReverse:!0,duration:200,interval:20,children:b.filter((e=>e&&e.length>0)).map(((e,n)=>{var l;if(y)return e.map(((t,l)=>{var s;return t&&(0,k.jsx)("div",{children:(0,k.jsx)(w,(0,i.A)((0,i.A)({},Object.assign({},t)),{},{className:r()({[v["is-last-item"]]:+n+1===Math.min(null===(s=b.filter((e=>e&&e.length)))||void 0===s?void 0:s.length,3)&&l===(null===e||void 0===e?void 0:e.length)-1})}))},"group-".concat(n,"-").concat(l))}));const s=f()(e);return(0,k.jsx)("div",{children:(0,k.jsx)(w,(0,i.A)((0,i.A)({},Object.assign({},s)),{},{groupLength:e.length,className:r()({[v["is-last-item"]]:(null===b||void 0===b?void 0:b.length)&&+n+1===Math.min(null===(l=b.filter((e=>e&&e.length)))||void 0===l?void 0:l.length,3)},t)}))},"group-".concat(n,"-0"))}))})})]})}},94710:e=>{e.exports=function(e,t,n,i){for(var l=-1,s=null==e?0:e.length;++l<s;){var a=e[l];t(i,a,n(a),e)}return i}},96483:e=>{e.exports=function(e){return e&&e.length?e[0]:void 0}},99140:(e,t,n)=>{var i=n(37303);e.exports=function(e){var t=i(e),n=t%1;return t===t?n?t-n:t:0}}}]);
2
- //# sourceMappingURL=4277.5c5101a6.chunk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"static/js/4277.5c5101a6.chunk.js","mappings":"+MAGA,QAAeA,G,kBCHf,IAAIC,EAAkBC,EAAQ,OAC1BC,EAAiBD,EAAQ,OACzBE,EAAeF,EAAQ,MACvBG,EAAUH,EAAQ,OAmBtBI,EAAOC,QATP,SAA0BC,EAAQC,GAChC,OAAO,SAASC,EAAYC,GAC1B,IAAIC,EAAOP,EAAQK,GAAcT,EAAkBE,EAC/CU,EAAcJ,EAAcA,IAAgB,CAAC,EAEjD,OAAOG,EAAKF,EAAYF,EAAQJ,EAAaO,EAAU,GAAIE,EAC7D,CACF,C,kBCpBA,IAAIC,EAAgBZ,EAAQ,OACxBE,EAAeF,EAAQ,MACvBa,EAAYb,EAAQ,OAGpBc,EAAYC,KAAKC,IAiDrBZ,EAAOC,QAZP,SAAmBY,EAAOC,EAAWC,GACnC,IAAIC,EAAkB,MAATH,EAAgB,EAAIA,EAAMG,OACvC,IAAKA,EACH,OAAQ,EAEV,IAAIC,EAAqB,MAAbF,EAAoB,EAAIN,EAAUM,GAI9C,OAHIE,EAAQ,IACVA,EAAQP,EAAUM,EAASC,EAAO,IA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ACT,C,YCGAP,EAAOC,QAJP,SAAcY,GACZ,OAAQA,GAASA,EAAMG,OAAUH,EAAM,QAAKwH,CAC9C,C,kBCpBA,IAAIC,EAAW1I,EAAQ,OAmCvBI,EAAOC,QAPP,SAAmBkB,GACjB,IAAIQ,EAAS2G,EAASnH,GAClBoH,EAAY5G,EAAS,EAEzB,OAAOA,IAAWA,EAAU4G,EAAY5G,EAAS4G,EAAY5G,EAAU,CACzE,C","sources":["common/components/SimpleBar.js","../node_modules/lodash/_createAggregator.js","../node_modules/lodash/findIndex.js","../node_modules/lodash/_baseAggregator.js","../node_modules/lodash/groupBy.js","../node_modules/lodash/_baseEach.js","../node_modules/lodash/_baseFindIndex.js","../node_modules/lodash/_createBaseEach.js","../node_modules/lodash/first.js","webpack://@kne-components/components-core/./src/components/Notification/style.module.scss?659e","components/Notification/index.js","../node_modules/lodash/_arrayAggregator.js","../node_modules/lodash/head.js","../node_modules/lodash/toInteger.js"],"sourcesContent":["import SimpleBar from \"simplebar-react\";\nimport \"simplebar-react/dist/simplebar.min.css\";\n\nexport default SimpleBar;\n","var arrayAggregator = require('./_arrayAggregator'),\n baseAggregator = require('./_baseAggregator'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\n\n/**\n * Creates a function like `_.groupBy`.\n *\n * @private\n * @param {Function} setter The function to set accumulator values.\n * @param {Function} [initializer] The accumulator object initializer.\n * @returns {Function} Returns the new aggregator function.\n */\nfunction createAggregator(setter, initializer) {\n return function(collection, iteratee) {\n var func = isArray(collection) ? arrayAggregator : baseAggregator,\n accumulator = initializer ? initializer() : {};\n\n return func(collection, setter, baseIteratee(iteratee, 2), accumulator);\n };\n}\n\nmodule.exports = createAggregator;\n","var baseFindIndex = require('./_baseFindIndex'),\n baseIteratee = require('./_baseIteratee'),\n toInteger = require('./toInteger');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\nfunction findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index);\n}\n\nmodule.exports = findIndex;\n","var baseEach = require('./_baseEach');\n\n/**\n * Aggregates elements of `collection` on `accumulator` with keys transformed\n * by `iteratee` and values set by `setter`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\nfunction baseAggregator(collection, setter, iteratee, accumulator) {\n baseEach(collection, function(value, key, collection) {\n setter(accumulator, value, iteratee(value), collection);\n });\n return accumulator;\n}\n\nmodule.exports = baseAggregator;\n","var baseAssignValue = require('./_baseAssignValue'),\n createAggregator = require('./_createAggregator');\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 * Creates an object composed of keys generated from the results of running\n * each element of `collection` thru `iteratee`. The order of grouped values\n * is determined by the order they occur in `collection`. The corresponding\n * value of each key is an array of elements responsible for generating the\n * key. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n * @returns {Object} Returns the composed aggregate object.\n * @example\n *\n * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n * // => { '4': [4.2], '6': [6.1, 6.3] }\n *\n * // The `_.property` iteratee shorthand.\n * _.groupBy(['one', 'two', 'three'], 'length');\n * // => { '3': ['one', 'two'], '5': ['three'] }\n */\nvar groupBy = createAggregator(function(result, value, key) {\n if (hasOwnProperty.call(result, key)) {\n result[key].push(value);\n } else {\n baseAssignValue(result, key, [value]);\n }\n});\n\nmodule.exports = groupBy;\n","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n","/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n","var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n","module.exports = require('./head');\n","// extracted by mini-css-extract-plugin\nexport default {\"notification\":\"style_notification__Vv-MM__-vnKV\",\"list\":\"style_list__l8KOo__-vnKV\",\"header\":\"style_header__3dcv8__-vnKV\",\"item\":\"style_item__d92RS__-vnKV\",\"item-box\":\"style_item-box__dd-Lk__-vnKV\",\"index-1\":\"style_index-1__f97L0__-vnKV\",\"index-2\":\"style_index-2__04vAw__-vnKV\",\"item-box-main\":\"style_item-box-main__lnSak__-vnKV\",\"item-title\":\"style_item-title__mArMd__-vnKV\",\"level-high\":\"style_level-high__Uys7Y__-vnKV\",\"level-middle\":\"style_level-middle__EewyC__-vnKV\",\"level-low\":\"style_level-low__8kVyL__-vnKV\",\"title-icon\":\"style_title-icon__1EoAG__-vnKV\",\"item-subtitle\":\"style_item-subtitle__xeFJs__-vnKV\",\"close-btn\":\"style_close-btn__7qpG3__-vnKV\",\"is-loading\":\"style_is-loading__upVL+__-vnKV\",\"item-content\":\"style_item-content__8MlsG__-vnKV\",\"link-outer\":\"style_link-outer__kegyZ__-vnKV\",\"link\":\"style_link__F2CO-__-vnKV\",\"is-last-item\":\"style_is-last-item__MytRl__-vnKV\"};","import { Row, Col, Button, Typography } from \"antd\";\nimport QueueAnim from \"rc-queue-anim\";\nimport classnames from \"classnames\";\nimport SimpleBar from \"@common/components/SimpleBar\";\nimport { useGlobalContext, usePreset } from \"@components/Global\";\nimport Icon from \"@components/Icon\";\nimport Content from \"@components/Content\";\nimport style from \"./style.module.scss\";\nimport { useMemo, useRef, useState, useEffect } from \"react\";\nimport groupBy from \"lodash/groupBy\";\nimport first from \"lodash/first\";\nimport range from \"lodash/range\";\nimport LoadingButton, { useLoading } from \"@components/LoadingButton\";\nimport findIndex from \"lodash/findIndex\";\n\nconst LEVEL = [\"high\", \"middle\", \"low\"];\n\nconst NotificationItem = ({\n level,\n title,\n groupLength,\n subtitle,\n content,\n link,\n id,\n children,\n className,\n}) => {\n const { setGlobal } = useGlobalContext(\"notification\");\n const { apis, ajax } = usePreset();\n const { isLoading, callback } = useLoading(async () => {\n const { data: resData } = apis?.notification?.read\n ? await ajax(\n Object.assign({}, apis.notification.read, {\n data: { ids: [id] },\n })\n )\n : { data: { code: 0 } };\n\n if (resData.code === 0) {\n setGlobal((notification) => {\n const newList = (notification?.list || []).slice(0);\n const index = findIndex(newList, (item) => id === item.id);\n if (index > -1) {\n newList.splice(index, 1);\n }\n return Object.assign({}, notification, { list: newList });\n });\n }\n });\n return (\n <div\n className={classnames(style[\"item\"], className)}\n style={{ \"--group-length\": Math.min(groupLength, 3) || 1 }}\n >\n {groupLength &&\n groupLength > 1 &&\n range(1, Math.min(groupLength, 3))\n .reverse()\n .map((number) => (\n <div\n className={classnames(\n style[\"item-box\"],\n style[`index-${number}`]\n )}\n key={number}\n />\n ))}\n <div className={classnames(style[\"item-box\"], style[\"item-box-main\"])}>\n <div\n className={classnames(style[\"item-title\"], style[`level-${level}`])}\n >\n <Icon\n className={style[\"title-icon\"]}\n type={level === \"high\" ? \"icon-tishi\" : \"icon-daiwochuli\"}\n />\n <Typography.Text ellipsis>{title}</Typography.Text>\n </div>\n <div className={style[\"item-content\"]}>\n <div className={style[\"item-subtitle\"]}>\n <Typography.Text ellipsis>{subtitle || \"\"}</Typography.Text>\n <Icon\n className={classnames(style[\"close-btn\"], {\n [style[\"is-loading\"]]: isLoading,\n })}\n type=\"icon-close-thin\"\n onClick={() => {\n if (isLoading) {\n return;\n }\n\n if (!id) {\n return;\n }\n\n callback();\n }}\n />\n </div>\n {Array.isArray(content) ? (\n <Content list={content} labelAlign=\"auto\" size=\"small\" />\n ) : (\n children\n )}\n </div>\n {link && (\n <div className={style[\"link-outer\"]}>\n <LoadingButton\n className={style[\"link\"]}\n size=\"small\"\n onClick={async () => {\n const { data: resData } = apis?.notification?.read\n ? await ajax(\n Object.assign({}, apis.notification.read, {\n data: { ids: [id] },\n })\n )\n : { data: { code: 0 } };\n if (resData.code === 0) {\n window.open(link);\n }\n }}\n >\n 查看详情\n </LoadingButton>\n </div>\n )}\n </div>\n </div>\n );\n};\n\nNotificationItem.defaultProps = {\n level: \"low\",\n};\n\nconst Notification = ({ itemClassName }) => {\n const { global: notification, setGlobal } = useGlobalContext(\"notification\");\n const headOptionRef = useRef();\n const { apis, ajax } = usePreset();\n const [headOptionHeight, setHeadOptionHeight] = useState(32);\n\n useEffect(() => {\n headOptionRef.current &&\n setHeadOptionHeight(headOptionRef.current?.clientHeight);\n }, []);\n\n const { list, expand } = Object.assign(\n {},\n {\n expand: false,\n list: [],\n },\n notification\n );\n\n const groupList = useMemo(() => {\n const group = groupBy(list, (item) => item.level || \"low\");\n return LEVEL.map((name) => group[name] || []);\n }, [list]);\n\n if (list.length === 0) {\n return null;\n }\n\n return (\n <div\n className={classnames({}, style[\"notification\"], \"notification\")}\n style={{\n \"--head-option-height\": `${headOptionHeight}px`,\n }}\n >\n <div ref={headOptionRef}>\n <Row justify=\"end\" wrap={false} className={style[\"header\"]} gutter={8}>\n {groupList.some((item) => item.length > 1) && (\n <Col>\n <Button\n size=\"small\"\n onClick={() => {\n setGlobal(\n Object.assign({}, notification, { expand: !expand })\n );\n }}\n >\n {expand ? \"全部折叠\" : \"全部展开\"}\n </Button>\n </Col>\n )}\n <Col>\n <LoadingButton\n type=\"primary\"\n size=\"small\"\n onClick={async () => {\n const { data: resData } = apis?.notification?.read\n ? await ajax(\n Object.assign({}, apis.notification.read, {\n data: {\n ids: list.map((item) => item.id).filter((id) => !!id),\n },\n })\n )\n : { data: { code: 0 } };\n if (resData.code === 0) {\n setGlobal(Object.assign({}, notification, { list: [] }));\n }\n }}\n >\n 全部清除\n </LoadingButton>\n </Col>\n </Row>\n </div>\n <SimpleBar className={style[\"list\"]}>\n <QueueAnim leaveReverse duration={200} interval={20}>\n {groupList\n .filter((item) => item && item.length > 0)\n .map((item, groupKey) => {\n if (expand) {\n return item.map(\n (notification, index) =>\n notification && (\n <div key={`group-${groupKey}-${index}`}>\n <NotificationItem\n {...Object.assign({}, notification)}\n className={classnames({\n [style[\"is-last-item\"]]:\n +groupKey + 1 ===\n Math.min(\n groupList.filter(\n (item) => item && item.length\n )?.length,\n 3\n ) && index === item?.length - 1,\n })}\n />\n </div>\n )\n );\n }\n const firstItem = first(item);\n return (\n <div key={`group-${groupKey}-0`}>\n <NotificationItem\n {...Object.assign({}, firstItem)}\n groupLength={item.length}\n className={classnames(\n {\n [style[\"is-last-item\"]]:\n groupList?.length &&\n +groupKey + 1 ===\n Math.min(\n groupList.filter((item) => item && item.length)\n ?.length,\n 3\n ),\n },\n itemClassName\n )}\n />\n </div>\n );\n })}\n </QueueAnim>\n </SimpleBar>\n </div>\n );\n};\n\nexport default Notification;\n","/**\n * A specialized version of `baseAggregator` for arrays.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} setter The function to set `accumulator` values.\n * @param {Function} iteratee The iteratee to transform keys.\n * @param {Object} accumulator The initial aggregated object.\n * @returns {Function} Returns `accumulator`.\n */\nfunction arrayAggregator(array, setter, iteratee, accumulator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n var value = array[index];\n setter(accumulator, value, iteratee(value), array);\n }\n return accumulator;\n}\n\nmodule.exports = arrayAggregator;\n","/**\n * Gets the first element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias first\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the first element of `array`.\n * @example\n *\n * _.head([1, 2, 3]);\n * // => 1\n *\n * _.head([]);\n * // => undefined\n */\nfunction head(array) {\n return (array && array.length) ? array[0] : undefined;\n}\n\nmodule.exports = head;\n","var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n"],"names":["SimpleBar","arrayAggregator","require","baseAggregator","baseIteratee","isArray","module","exports","setter","initializer","collection","iteratee","func","accumulator","baseFindIndex","toInteger","nativeMax","Math","max","array","predicate","fromIndex","length","index","baseEach","value","key","baseAssignValue","createAggregator","hasOwnProperty","Object","prototype","groupBy","result","call","push","baseForOwn","createBaseEach","fromRight","isArrayLike","eachFunc","iterable","LEVEL","NotificationItem","_ref","level","title","groupLength","subtitle","content","link","id","children","className","setGlobal","useGlobalContext","apis","ajax","usePreset","isLoading","callback","useLoading","async","_apis$notification","data","resData","notification","read","assign","ids","code","newList","list","slice","findIndex","item","splice","_jsxs","classnames","style","min","range","reverse","map","number","_jsx","concat","Icon","type","Typography","Text","ellipsis","onClick","Array","Content","labelAlign","size","LoadingButton","_apis$notification2","window","open","defaultProps","_ref2","itemClassName","global","headOptionRef","useRef","headOptionHeight","setHeadOptionHeight","useState","useEffect","_headOptionRef$curren","current","clientHeight","expand","groupList","useMemo","group","name","ref","Row","justify","wrap","gutter","some","Col","Button","_apis$notification3","filter","QueueAnim","leaveReverse","duration","interval","groupKey","_groupList$filter2","_groupList$filter","_objectSpread","firstItem","first","undefined","toFinite","remainder"],"sourceRoot":""}