@kne-components/components-core 0.3.30 → 0.3.31

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 (170) hide show
  1. package/build/asset-manifest.json +110 -106
  2. package/build/index.html +1 -1
  3. package/build/remoteEntry.js +1 -1
  4. package/build/remoteEntry.js.map +1 -1
  5. package/build/static/css/1248.64d9bb6d.chunk.css +2 -0
  6. package/build/static/css/{1248.f3741a1c.chunk.css.map → 1248.64d9bb6d.chunk.css.map} +1 -1
  7. package/build/static/css/1996.9f5f4ae7.chunk.css +2 -0
  8. package/build/static/css/{1996.1294349d.chunk.css.map → 1996.9f5f4ae7.chunk.css.map} +1 -1
  9. package/build/static/css/206.bad88d8a.chunk.css +2 -0
  10. package/build/static/css/206.bad88d8a.chunk.css.map +1 -0
  11. package/build/static/css/254.3a18f854.chunk.css +2 -0
  12. package/build/static/css/{254.03e84f1f.chunk.css.map → 254.3a18f854.chunk.css.map} +1 -1
  13. package/build/static/css/2580.f86844e1.chunk.css +2 -0
  14. package/build/static/css/{9058.ea1d451f.chunk.css.map → 2580.f86844e1.chunk.css.map} +1 -1
  15. package/build/static/css/2628.5ecad003.chunk.css +2 -0
  16. package/build/static/css/{1742.2890719d.chunk.css.map → 2628.5ecad003.chunk.css.map} +1 -1
  17. package/build/static/css/2716.17dd70c0.chunk.css +2 -0
  18. package/build/static/css/{2716.169c3e50.chunk.css.map → 2716.17dd70c0.chunk.css.map} +1 -1
  19. package/build/static/css/3771.c2d60a33.chunk.css +2 -0
  20. package/build/static/css/{3771.f1072496.chunk.css.map → 3771.c2d60a33.chunk.css.map} +1 -1
  21. package/build/static/css/{3790.843f659f.chunk.css → 3790.a070b626.chunk.css} +2 -2
  22. package/build/static/css/{3790.843f659f.chunk.css.map → 3790.a070b626.chunk.css.map} +1 -1
  23. package/build/static/css/{4277.e74719a6.chunk.css → 4277.1476a9f7.chunk.css} +2 -2
  24. package/build/static/css/{4277.e74719a6.chunk.css.map → 4277.1476a9f7.chunk.css.map} +1 -1
  25. package/build/static/css/4741.637b9bdd.chunk.css +2 -0
  26. package/build/static/css/{2307.0f93d852.chunk.css.map → 4741.637b9bdd.chunk.css.map} +1 -1
  27. package/build/static/css/4832.1f20c29a.chunk.css +2 -0
  28. package/build/static/css/4832.1f20c29a.chunk.css.map +1 -0
  29. package/build/static/css/{4010.579f87a0.chunk.css → 4978.f2de2c65.chunk.css} +1 -1
  30. package/build/static/css/{4010.579f87a0.chunk.css.map → 4978.f2de2c65.chunk.css.map} +1 -1
  31. package/build/static/css/5195.ae841719.chunk.css +2 -0
  32. package/build/static/css/5195.ae841719.chunk.css.map +1 -0
  33. package/build/static/css/{2765.3212941b.chunk.css → 6178.23b76af4.chunk.css} +1 -1
  34. package/build/static/css/{2765.3212941b.chunk.css.map → 6178.23b76af4.chunk.css.map} +1 -1
  35. package/build/static/css/6763.22785095.chunk.css +2 -0
  36. package/build/static/css/{6763.39575afd.chunk.css.map → 6763.22785095.chunk.css.map} +1 -1
  37. package/build/static/css/6980.9c762c87.chunk.css +12 -0
  38. package/build/static/css/{6980.ee22f96e.chunk.css.map → 6980.9c762c87.chunk.css.map} +1 -1
  39. package/build/static/css/7227.427dad1f.chunk.css +2 -0
  40. package/build/static/css/{7227.61995253.chunk.css.map → 7227.427dad1f.chunk.css.map} +1 -1
  41. package/build/static/css/760.d996529f.chunk.css +2 -0
  42. package/build/static/css/{760.1b7e1754.chunk.css.map → 760.d996529f.chunk.css.map} +1 -1
  43. package/build/static/css/{3842.71de4d13.chunk.css → 8322.9f36eb3c.chunk.css} +1 -1
  44. package/build/static/css/{3842.71de4d13.chunk.css.map → 8322.9f36eb3c.chunk.css.map} +1 -1
  45. package/build/static/css/8593.e0bb864d.chunk.css +2 -0
  46. package/build/static/css/{8593.f1adc206.chunk.css.map → 8593.e0bb864d.chunk.css.map} +1 -1
  47. package/build/static/css/9556.3c7e51d8.chunk.css +2 -0
  48. package/build/static/css/{9556.6400264e.chunk.css.map → 9556.3c7e51d8.chunk.css.map} +1 -1
  49. package/build/static/css/9772.7353d865.chunk.css +2 -0
  50. package/build/static/css/{9772.e6cc6107.chunk.css.map → 9772.7353d865.chunk.css.map} +1 -1
  51. package/build/static/js/{1248.50c5dac6.chunk.js → 1248.b553345a.chunk.js} +3 -3
  52. package/build/static/js/{1248.50c5dac6.chunk.js.map → 1248.b553345a.chunk.js.map} +1 -1
  53. package/build/static/js/1996.f87655a0.chunk.js +2 -0
  54. package/build/static/js/{1996.19f216e3.chunk.js.map → 1996.f87655a0.chunk.js.map} +1 -1
  55. package/build/static/js/206.e4a85321.chunk.js +2 -0
  56. package/build/static/js/206.e4a85321.chunk.js.map +1 -0
  57. package/build/static/js/254.033a6b2c.chunk.js +2 -0
  58. package/build/static/js/254.033a6b2c.chunk.js.map +1 -0
  59. package/build/static/js/2580.783e0fcb.chunk.js +2 -0
  60. package/build/static/js/2580.783e0fcb.chunk.js.map +1 -0
  61. package/build/static/js/2628.d101fab3.chunk.js +2 -0
  62. package/build/static/js/2628.d101fab3.chunk.js.map +1 -0
  63. package/build/static/js/{2716.fe7c2c81.chunk.js → 2716.7f613701.chunk.js} +3 -3
  64. package/build/static/js/{2716.fe7c2c81.chunk.js.map → 2716.7f613701.chunk.js.map} +1 -1
  65. package/build/static/js/{3771.f5cb867c.chunk.js → 3771.17da985d.chunk.js} +2 -2
  66. package/build/static/js/{3771.f5cb867c.chunk.js.map → 3771.17da985d.chunk.js.map} +1 -1
  67. package/build/static/js/{3790.618d7d15.chunk.js → 3790.bb02bbc3.chunk.js} +2 -2
  68. package/build/static/js/{3790.618d7d15.chunk.js.map → 3790.bb02bbc3.chunk.js.map} +1 -1
  69. package/build/static/js/{3856.f3775290.chunk.js → 3856.2c46e978.chunk.js} +2 -2
  70. package/build/static/js/{3856.f3775290.chunk.js.map → 3856.2c46e978.chunk.js.map} +1 -1
  71. package/build/static/js/4277.dd7276ba.chunk.js +2 -0
  72. package/build/static/js/{4277.d9ad7cb7.chunk.js.map → 4277.dd7276ba.chunk.js.map} +1 -1
  73. package/build/static/js/4279.45d71d01.chunk.js +2 -0
  74. package/build/static/js/4279.45d71d01.chunk.js.map +1 -0
  75. package/build/static/js/4474.a1655ead.chunk.js +2 -0
  76. package/build/static/js/{4474.480c5e83.chunk.js.map → 4474.a1655ead.chunk.js.map} +1 -1
  77. package/build/static/js/4613.89f86015.chunk.js +3 -0
  78. package/build/static/js/4613.89f86015.chunk.js.map +1 -0
  79. package/build/static/js/4741.59d5b7a0.chunk.js +2 -0
  80. package/build/static/js/4741.59d5b7a0.chunk.js.map +1 -0
  81. package/build/static/js/4832.faed8289.chunk.js +2 -0
  82. package/build/static/js/4832.faed8289.chunk.js.map +1 -0
  83. package/build/static/js/4978.69afaa16.chunk.js +2 -0
  84. package/build/static/js/4978.69afaa16.chunk.js.map +1 -0
  85. package/build/static/js/{5195.2ecad2b0.chunk.js → 5195.a16fffa5.chunk.js} +2 -2
  86. package/build/static/js/{5195.2ecad2b0.chunk.js.map → 5195.a16fffa5.chunk.js.map} +1 -1
  87. package/build/static/js/6178.300ad1a8.chunk.js +2 -0
  88. package/build/static/js/6178.300ad1a8.chunk.js.map +1 -0
  89. package/build/static/js/6235.432e035d.chunk.js +2 -0
  90. package/build/static/js/6235.432e035d.chunk.js.map +1 -0
  91. package/build/static/js/6629.f7a030c0.chunk.js +2 -0
  92. package/build/static/js/6629.f7a030c0.chunk.js.map +1 -0
  93. package/build/static/js/{6763.883463e9.chunk.js → 6763.119082d0.chunk.js} +2 -2
  94. package/build/static/js/{6763.883463e9.chunk.js.map → 6763.119082d0.chunk.js.map} +1 -1
  95. package/build/static/js/{6980.286d72ad.chunk.js → 6980.c6a91575.chunk.js} +2 -2
  96. package/build/static/js/6980.c6a91575.chunk.js.map +1 -0
  97. package/build/static/js/{7227.1b60558e.chunk.js → 7227.8afea629.chunk.js} +3 -3
  98. package/build/static/js/{7227.1b60558e.chunk.js.map → 7227.8afea629.chunk.js.map} +1 -1
  99. package/build/static/js/{760.b2f88cfd.chunk.js → 760.730fb491.chunk.js} +2 -2
  100. package/build/static/js/{760.b2f88cfd.chunk.js.map → 760.730fb491.chunk.js.map} +1 -1
  101. package/build/static/js/8322.96f54925.chunk.js +2 -0
  102. package/build/static/js/8322.96f54925.chunk.js.map +1 -0
  103. package/build/static/js/{8593.bac17b18.chunk.js → 8593.379fe695.chunk.js} +2 -2
  104. package/build/static/js/{8593.bac17b18.chunk.js.map → 8593.379fe695.chunk.js.map} +1 -1
  105. package/build/static/js/8601.1252d5d8.chunk.js +2 -0
  106. package/build/static/js/8601.1252d5d8.chunk.js.map +1 -0
  107. package/build/static/js/{9556.b2d5d2b2.chunk.js → 9556.c50fd35c.chunk.js} +3 -3
  108. package/build/static/js/{9556.b2d5d2b2.chunk.js.map → 9556.c50fd35c.chunk.js.map} +1 -1
  109. package/build/static/js/{9772.ad5d8381.chunk.js → 9772.76428a79.chunk.js} +2 -2
  110. package/build/static/js/9772.76428a79.chunk.js.map +1 -0
  111. package/build/static/js/main.49d987b0.js +2 -0
  112. package/build/static/js/main.49d987b0.js.map +1 -0
  113. package/package.json +1 -1
  114. package/build/static/css/1248.f3741a1c.chunk.css +0 -2
  115. package/build/static/css/1742.2890719d.chunk.css +0 -2
  116. package/build/static/css/1996.1294349d.chunk.css +0 -2
  117. package/build/static/css/206.5ce602fe.chunk.css +0 -2
  118. package/build/static/css/206.5ce602fe.chunk.css.map +0 -1
  119. package/build/static/css/2307.0f93d852.chunk.css +0 -2
  120. package/build/static/css/254.03e84f1f.chunk.css +0 -2
  121. package/build/static/css/2716.169c3e50.chunk.css +0 -2
  122. package/build/static/css/3205.ea527dce.chunk.css +0 -2
  123. package/build/static/css/3205.ea527dce.chunk.css.map +0 -1
  124. package/build/static/css/3771.f1072496.chunk.css +0 -2
  125. package/build/static/css/5195.4655408d.chunk.css +0 -2
  126. package/build/static/css/5195.4655408d.chunk.css.map +0 -1
  127. package/build/static/css/6763.39575afd.chunk.css +0 -2
  128. package/build/static/css/6980.ee22f96e.chunk.css +0 -12
  129. package/build/static/css/7227.61995253.chunk.css +0 -2
  130. package/build/static/css/760.1b7e1754.chunk.css +0 -2
  131. package/build/static/css/8593.f1adc206.chunk.css +0 -2
  132. package/build/static/css/9058.ea1d451f.chunk.css +0 -2
  133. package/build/static/css/9556.6400264e.chunk.css +0 -2
  134. package/build/static/css/9772.e6cc6107.chunk.css +0 -2
  135. package/build/static/js/1742.0054acdc.chunk.js +0 -2
  136. package/build/static/js/1742.0054acdc.chunk.js.map +0 -1
  137. package/build/static/js/1996.19f216e3.chunk.js +0 -2
  138. package/build/static/js/206.1803bf3e.chunk.js +0 -2
  139. package/build/static/js/206.1803bf3e.chunk.js.map +0 -1
  140. package/build/static/js/254.4582f31e.chunk.js +0 -2
  141. package/build/static/js/254.4582f31e.chunk.js.map +0 -1
  142. package/build/static/js/3205.21112f67.chunk.js +0 -2
  143. package/build/static/js/3205.21112f67.chunk.js.map +0 -1
  144. package/build/static/js/3842.35b13dba.chunk.js +0 -2
  145. package/build/static/js/3842.35b13dba.chunk.js.map +0 -1
  146. package/build/static/js/4010.065cf885.chunk.js +0 -2
  147. package/build/static/js/4010.065cf885.chunk.js.map +0 -1
  148. package/build/static/js/4277.d9ad7cb7.chunk.js +0 -2
  149. package/build/static/js/4474.480c5e83.chunk.js +0 -2
  150. package/build/static/js/6980.286d72ad.chunk.js.map +0 -1
  151. package/build/static/js/7515.06e02d7f.chunk.js +0 -2
  152. package/build/static/js/7515.06e02d7f.chunk.js.map +0 -1
  153. package/build/static/js/8601.5abc12e9.chunk.js +0 -2
  154. package/build/static/js/8601.5abc12e9.chunk.js.map +0 -1
  155. package/build/static/js/8945.7dbec83f.chunk.js +0 -3
  156. package/build/static/js/8945.7dbec83f.chunk.js.map +0 -1
  157. package/build/static/js/8969.d870d8fa.chunk.js +0 -2
  158. package/build/static/js/8969.d870d8fa.chunk.js.map +0 -1
  159. package/build/static/js/9058.f7246a1c.chunk.js +0 -2
  160. package/build/static/js/9058.f7246a1c.chunk.js.map +0 -1
  161. package/build/static/js/9772.ad5d8381.chunk.js.map +0 -1
  162. package/build/static/js/982.9f53c624.chunk.js +0 -2
  163. package/build/static/js/982.9f53c624.chunk.js.map +0 -1
  164. package/build/static/js/main.4772934b.js +0 -2
  165. package/build/static/js/main.4772934b.js.map +0 -1
  166. /package/build/static/js/{1248.50c5dac6.chunk.js.LICENSE.txt → 1248.b553345a.chunk.js.LICENSE.txt} +0 -0
  167. /package/build/static/js/{2716.fe7c2c81.chunk.js.LICENSE.txt → 2716.7f613701.chunk.js.LICENSE.txt} +0 -0
  168. /package/build/static/js/{7227.1b60558e.chunk.js.LICENSE.txt → 4613.89f86015.chunk.js.LICENSE.txt} +0 -0
  169. /package/build/static/js/{8945.7dbec83f.chunk.js.LICENSE.txt → 7227.8afea629.chunk.js.LICENSE.txt} +0 -0
  170. /package/build/static/js/{9556.b2d5d2b2.chunk.js.LICENSE.txt → 9556.c50fd35c.chunk.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"static/js/2716.fe7c2c81.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,MAAM,IAAIM,UAAU,+CACtB,CACA,OAAQ,WAAaL,EAAIM,OAASC,QAAQT,EAC5C,CDPUK,CAAYL,EAAG,UACvB,MAAO,WAAY,OAAQC,GAAKA,EAAIA,EAAI,EAC1C,C,kBEIa,IAAIS,EAAEC,EAAQ,OAASC,EAAER,OAAOS,IAAI,iBAAiBC,EAAEV,OAAOS,IAAI,kBAAkBE,EAAEC,OAAOC,UAAUC,eAAeC,EAAET,EAAEU,mDAAmDC,kBAAkBC,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AC3B,OAAOc,OAAOoF,yBAAyBjG,EAAGD,GAAGwF,UAC/C,IAAK1F,EAAEqG,KAAKC,MAAMtG,EAAG6C,EACvB,CACA,OAAO7C,CACT,CACA,SAASuG,EAAepG,GACtB,IAAK,IAAID,EAAI,EAAGA,EAAIsG,UAAUxD,OAAQ9C,IAAK,CACzC,IAAIF,EAAI,MAAQwG,UAAUtG,GAAKsG,UAAUtG,GAAK,CAAC,EAC/CA,EAAI,EAAI+F,EAAQjF,OAAOhB,IAAI,GAAIyG,QAAQ,SAAUvG,IAC/C,OAAeC,EAAGD,EAAGF,EAAEE,GACzB,GAAKc,OAAO0F,0BAA4B1F,OAAO2F,iBAAiBxG,EAAGa,OAAO0F,0BAA0B1G,IAAMiG,EAAQjF,OAAOhB,IAAIyG,QAAQ,SAAUvG,GAC7Ic,OAAOwE,eAAerF,EAAGD,EAAGc,OAAOoF,yBAAyBpG,EAAGE,GACjE,EACF,CACA,OAAOC,CACT,C","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__MPW+L\",\"state-result-tag\":\"style_state-result-tag__CssDz__MPW+L\",\"state-skill-tag\":\"style_state-skill-tag__k0bQE__MPW+L\",\"event-tag\":\"style_event-tag__cg6SE__MPW+L\",\"state-tag-filter-result-wrapper\":\"style_state-tag-filter-result-wrapper__QYS5z__MPW+L\",\"state-tag-filter-name\":\"style_state-tag-filter-name__iJaJd__MPW+L\",\"state-tag-filterResult\":\"style_state-tag-filterResult__KTkot__MPW+L\",\"show-bg\":\"style_show-bg__OcL+R__MPW+L\",\"tag-text\":\"style_tag-text__JHCt+__MPW+L\",\"state-tag-wrapper\":\"style_state-tag-wrapper__A-gTE__MPW+L\"};","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\", 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 = false,\n text = \"\",\n type = \"default\",\n showBackground = true,\n className,\n filterName,\n ...props\n }) => {\n const tagColor = useMemo(() => ({\n color: tagTypeEnum?.[type]?.color || tagTypeEnum[type],\n borderColor: tagTypeEnum?.[type]?.borderColor || tagTypeEnum[type],\n }), [type]);\n\n return (<Space\n data-testid={\"components-core-state-tag\"}\n className={classnames(style[\"state-tag-wrapper\"], type === \"filterResult\" ? style[\"state-tag-filter-result-wrapper\"] : \"\")}\n align=\"center\"\n size={4}\n >\n {filterName ? (<span className={style[\"state-tag-filter-name\"]}>{filterName}:</span>) : 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(style[\"state-tag\"], className, type === \"result\" ? style[\"state-result-tag\"] : \"\", type === \"skill\" ? style[\"state-skill-tag\"] : \"\", style[`state-tag-${type}`], showBackground ? style[\"show-bg\"] : \"\", showBorder ? style[\"show-border\"] : \"\", props?.onClick ? style[\"event-tag\"] : \"\")}\n >\n <span className={style[\"tag-text\"]}>{text}</span>\n </Tag>\n </Space>);\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","_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
+ {"version":3,"file":"static/js/2716.7f613701.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,MAAM,IAAIM,UAAU,+CACtB,CACA,OAAQ,WAAaL,EAAIM,OAASC,QAAQT,EAC5C,CDPUK,CAAYL,EAAG,UACvB,MAAO,WAAY,OAAQC,GAAKA,EAAIA,EAAI,EAC1C,C,kBEIa,IAAIS,EAAEC,EAAQ,OAASC,EAAER,OAAOS,IAAI,iBAAiBC,EAAEV,OAAOS,IAAI,kBAAkBE,EAAEC,OAAOC,UAAUC,eAAeC,EAAET,EAAEU,mDAAmDC,kBAAkBC,EAAE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,OAAOc,OAAOoF,yBAAyBjG,EAAGD,GAAGwF,UAC/C,IAAK1F,EAAEqG,KAAKC,MAAMtG,EAAG6C,EACvB,CACA,OAAO7C,CACT,CACA,SAASuG,EAAepG,GACtB,IAAK,IAAID,EAAI,EAAGA,EAAIsG,UAAUxD,OAAQ9C,IAAK,CACzC,IAAIF,EAAI,MAAQwG,UAAUtG,GAAKsG,UAAUtG,GAAK,CAAC,EAC/CA,EAAI,EAAI+F,EAAQjF,OAAOhB,IAAI,GAAIyG,QAAQ,SAAUvG,IAC/C,OAAeC,EAAGD,EAAGF,EAAEE,GACzB,GAAKc,OAAO0F,0BAA4B1F,OAAO2F,iBAAiBxG,EAAGa,OAAO0F,0BAA0B1G,IAAMiG,EAAQjF,OAAOhB,IAAIyG,QAAQ,SAAUvG,GAC7Ic,OAAOwE,eAAerF,EAAGD,EAAGc,OAAOoF,yBAAyBpG,EAAGE,GACjE,EACF,CACA,OAAOC,CACT,C","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__WLZHg\",\"state-result-tag\":\"style_state-result-tag__CssDz__WLZHg\",\"state-skill-tag\":\"style_state-skill-tag__k0bQE__WLZHg\",\"event-tag\":\"style_event-tag__cg6SE__WLZHg\",\"state-tag-filter-result-wrapper\":\"style_state-tag-filter-result-wrapper__QYS5z__WLZHg\",\"state-tag-filter-name\":\"style_state-tag-filter-name__iJaJd__WLZHg\",\"state-tag-filterResult\":\"style_state-tag-filterResult__KTkot__WLZHg\",\"show-bg\":\"style_show-bg__OcL+R__WLZHg\",\"tag-text\":\"style_tag-text__JHCt+__WLZHg\",\"state-tag-wrapper\":\"style_state-tag-wrapper__A-gTE__WLZHg\"};","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\", 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 = false,\n text = \"\",\n type = \"default\",\n showBackground = true,\n className,\n filterName,\n ...props\n }) => {\n const tagColor = useMemo(() => ({\n color: tagTypeEnum?.[type]?.color || tagTypeEnum[type],\n borderColor: tagTypeEnum?.[type]?.borderColor || tagTypeEnum[type],\n }), [type]);\n\n return (<Space\n data-testid={\"components-core-state-tag\"}\n className={classnames(style[\"state-tag-wrapper\"], type === \"filterResult\" ? style[\"state-tag-filter-result-wrapper\"] : \"\")}\n align=\"center\"\n size={4}\n >\n {filterName ? (<span className={style[\"state-tag-filter-name\"]}>{filterName}:</span>) : 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(style[\"state-tag\"], className, type === \"result\" ? style[\"state-result-tag\"] : \"\", type === \"skill\" ? style[\"state-skill-tag\"] : \"\", style[`state-tag-${type}`], showBackground ? style[\"show-bg\"] : \"\", showBorder ? style[\"show-border\"] : \"\", props?.onClick ? style[\"event-tag\"] : \"\")}\n >\n <span className={style[\"tag-text\"]}>{text}</span>\n </Tag>\n </Space>);\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","_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 +1,2 @@
1
- "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[2908,3771],{3382:(e,o,t)=>{t.r(o),t.d(o,{ModalButton:()=>K,TabsModal:()=>D,TabsModalButton:()=>I,default:()=>W,useConfirmModal:()=>S,useModal:()=>k,useTabsModal:()=>z});var l=t(89379),n=t(53986),s=t(73884),i=t(55199),r=t(83136),a=t.n(r);const c={modal:"style_modal__Pm3cF__MPW+L",large:"style_large__iaqVE__MPW+L","modal-body-inner":"style_modal-body-inner__4PhpA__MPW+L","modal-title":"style_modal-title__dswaw__MPW+L","modal-outer":"style_modal-outer__r3SkX__MPW+L","modal-body":"style_modal-body__jQJSI__MPW+L","right-options-modal":"style_right-options-modal__FajDP__MPW+L","right-options-row":"style_right-options-row__-mPb9__MPW+L","right-options-col":"style_right-options-col__3ilee__MPW+L","is-disabled-scroller":"style_is-disabled-scroller__PmHyk__MPW+L",content:"style_content__k6MIF__MPW+L","modal-footer":"style_modal-footer__-prbN__MPW+L","modal-close":"style_modal-close__Oa5Kl__MPW+L","confirm-modal-wrap":"style_confirm-modal-wrap__YFImr__MPW+L","is-danger":"style_is-danger__H5110__MPW+L",title:"style_title__orTym__MPW+L","has-title":"style_has-title__qy0Wp__MPW+L"},d=e=>({"en-US":()=>t.e(4628).then(t.bind(t,74628)),"zh-CN":()=>t.e(7478).then(t.bind(t,87478))}[e]());var m=t(47458),h=t(64671);const p=(e,o)=>"function"===typeof e?e(o):e;var u=t(81014),_=t(17342),f=t(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"],j="Modal",x=e=>{let{options:o,rightSpan:t=6,children:l}=e;return o?(0,f.jsxs)(i.Row,{wrap:!1,className:c["right-options-row"],children:[(0,f.jsx)(i.Col,{span:24-t,className:c["right-options-col"],children:l}),(0,f.jsx)(i.Col,{span:t,className:c["right-options-col"],children:o})]}):l},P=(e,o)=>"".concat(e-48-(o?58:0),"px"),w=e=>{let{footer:o,footerButtons:t,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(t)&&0===t.length?null:(0,f.jsx)(i.Col,{children:(0,f.jsx)(i.Space,{children:(t||[{children:(0,f.jsx)(m.IntlProvider,{importMessages:d,moduleName:j,children:(0,f.jsx)(m.FormattedMessage,{id:"Cancel",moduleName:j})}),onClick:a},{type:"primary",children:(0,f.jsx)(m.IntlProvider,{importMessages:d,moduleName:j,children:(0,f.jsx)(m.FormattedMessage,{id:"Confirm",moduleName:j})}),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:t,onClick:i,autoClose:r=!0,display:a}=e,d=(0,n.A)(e,g);const m=t||u.default;return(0,s.createElement)(m,(0,l.A)((0,l.A)({},d),{},{key:o,onClick:async function(){for(var e=arguments.length,o=new Array(e),t=0;t<e;t++)o[t]=arguments[t];const l=await Promise.resolve(i&&i(...o,h));return r&&!1!==l&&c&&c(),l}}))})})})]})},M=e=>{let{title:o,footer:t,disabledScroller:l,footerButtons:n,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:a()(c["modal-outer"],"modal-container"),"data-testid":"components-core-modal",children:[!1===d?null:(0,f.jsx)(i.Button,{"data-testid":"components-core-modal-close-btn",className:a()(c["modal-close"],"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"]]:l},"modal-body"),ref:y,children:(0,f.jsx)("div",{className:a()(c["modal-body-inner"],"modal-body-inner"),children:u})}),null!==t||n?(0,f.jsx)("div",{className:a()(c["modal-footer"],"modal-footer"),children:(0,f.jsx)(w,{footer:t,footerButtons:n,onConfirm:m,onCancel:p,onClose:r,targetProps:g})}):null]})},N=e=>{let{withDecorator:o,footerButtons:t,title:n,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:n},e),(0,f.jsx)(M,{title:p(e.title,(0,l.A)((0,l.A)({},e),{},{childrenRef:u,close:i})),closable:s,onClose:i,onConfirm:r,onCancel:a,footerButtons:p(t,(0,l.A)((0,l.A)({},e),{},{close:i})),disabledScroller:h,footer:p(c,(0,l.A)((0,l.A)({},e),{},{childrenRef:u,close:i})),targetProps:Object.assign({},e,{childrenRef:u,close:i}),children:(0,f.jsx)(x,{rightSpan:m,options:p(d,(0,l.A)((0,l.A)({},e),{},{childrenRef:u,close:i})),children:p(_,(0,l.A)((0,l.A)({},e),{},{childrenRef:u,close:i}))})}));return"function"===typeof o?o(g,{childrenRef:u,close:i}):g({})},v=e=>{let{children:o,rightOptions:t,rightSpan:s,footer:i,footerButtons:r,className:h,size:p,title:u,onClose:_,onConfirm:g,onCancel:C,closable:A,disabledScroller:b,withDecorator:j,childrenRef:x}=e,w=(0,n.A)(e,y);return(0,l.A)((0,l.A)((0,l.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"]]:t})},((e,o)=>"large"===e?{width:"".concat(Math.min(window.innerWidth-64,1500),"px"),style:{"--min-modal-height":P(500,o)}}:"small"===e?{width:"600px",style:{"--min-modal-height":P(300,o)}}:{width:"1000px",style:{"--min-modal-height":P(500,o)}})(p,!(null===i&&!r))),{},{children:(0,f.jsx)(m.IntlProvider,{importMessages:d,moduleName:"Modal",children:N({withDecorator:j,title:u,closable:A,onClose:_,onConfirm:g,onCancel:C,footer:i,footerButtons:r,rightOptions:t,rightSpan:s,disabledScroller:b,children:o,childrenRef:x})})})},k=()=>{const{modal:e}=i.App.useApp(),o=(0,s.useRef)(null);return t=>{const s={},i=v((0,l.A)({onClose:()=>s.close(),childrenRef:o},t)),{children:r}=i,a=(0,n.A)(i,A),{destroy:c}=e.info((0,l.A)((0,l.A)({},a),{},{content:r}));return s.close=c,s}},S=()=>{const{modal:e}=i.App.useApp();return o=>{const t={},s=(0,l.A)({onClose:()=>t.close(),maskClosable:!1},o),{type:r,icon:d,title:m,danger:p,wrapClassName:u,message:_,iconSetting:g={},confirmType:y="info"}=s,C=(0,n.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,l.A)((0,l.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,_]})}));t.close=o}return t}},W=e=>{let{size:o="default"}=e,t=(0,n.A)(e,C);const r=(0,s.useRef)(null);return(0,f.jsx)(i.Modal,(0,l.A)({},v(Object.assign({},t,{size:o,childrenRef:r}))))},L=["items","className","activeKey","withDecorator","defaultActiveKey","onChange"],R=["withDecorator"],B=["children"],O=e=>{let{items:o,className:t,activeKey:s,withDecorator:r,defaultActiveKey:c,onChange:d}=e,m=(0,n.A)(e,L);return(0,l.A)((0,l.A)({},m),{},{className:a()(t,"tabs-modal"),withDecorator:e=>{const t=t=>(0,f.jsx)(i.Tabs,{items:o.map(o=>{let{withDecorator:l}=o,s=(0,n.A)(o,R);return Object.assign({},s,{children:"function"===typeof l?l(o=>e(Object.assign({},t,o,{children:s.children}))):e(Object.assign({},t,{children:s.children}))})}),destroyInactiveTabPane:!0,activeKey:s,defaultActiveKey:c,onChange:d});return"function"===typeof r?r(t):t()},children:e=>{let{children:o}=e,t=(0,n.A)(e,B);return"function"===typeof o?o(t):o}})},D=e=>(0,f.jsx)(W,(0,l.A)({},O(e))),z=()=>{const e=k();return o=>e(O(o))};var F=t(73025);const T=["modalProps"],I=e=>{const o=z();return e.api?(0,f.jsx)(F.A,(0,l.A)((0,l.A)({},e),{},{modalFunc:o})):(0,f.jsx)(i.Button,(0,l.A)((0,l.A)({},e),{},{onClick:()=>{o(e.modalProps)}}))},K=e=>{const o=k();if(!e.api){const{modalProps:t}=e,s=(0,n.A)(e,T);return(0,f.jsx)(i.Button,(0,l.A)((0,l.A)({},s),{},{onClick:()=>{o(t)}}))}return(0,f.jsx)(F.A,(0,l.A)((0,l.A)({},e),{},{modalFunc:o}))}},17342:(e,o,t)=>{t.d(o,{A:()=>s});var l=t(34581),n=t.n(l);t(46733);const s=n()},46733:()=>{}}]);
2
- //# sourceMappingURL=3771.f5cb867c.chunk.js.map
1
+ "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[2908,3771],{3382:(e,o,t)=>{t.r(o),t.d(o,{ModalButton:()=>T,TabsModal:()=>B,TabsModalButton:()=>F,default:()=>W,useConfirmModal:()=>H,useModal:()=>P,useTabsModal:()=>O});var l=t(89379),n=t(53986),s=t(73884),i=t(55199),r=t(83136),a=t.n(r);const c={modal:"style_modal__Pm3cF__WLZHg",large:"style_large__iaqVE__WLZHg","modal-body-inner":"style_modal-body-inner__4PhpA__WLZHg","modal-title":"style_modal-title__dswaw__WLZHg","modal-outer":"style_modal-outer__r3SkX__WLZHg","modal-body":"style_modal-body__jQJSI__WLZHg","right-options-modal":"style_right-options-modal__FajDP__WLZHg","right-options-row":"style_right-options-row__-mPb9__WLZHg","right-options-col":"style_right-options-col__3ilee__WLZHg","is-disabled-scroller":"style_is-disabled-scroller__PmHyk__WLZHg",content:"style_content__k6MIF__WLZHg","modal-footer":"style_modal-footer__-prbN__WLZHg","modal-close":"style_modal-close__Oa5Kl__WLZHg","confirm-modal-wrap":"style_confirm-modal-wrap__YFImr__WLZHg","is-danger":"style_is-danger__H5110__WLZHg",title:"style_title__orTym__WLZHg","has-title":"style_has-title__qy0Wp__WLZHg"},d=e=>({"en-US":()=>t.e(4628).then(t.bind(t,74628)),"zh-CN":()=>t.e(7478).then(t.bind(t,87478))}[e]());var m=t(47458),h=t(64671);const p=(e,o)=>"function"===typeof e?e(o):e;var u=t(81014),_=t(17342),f=t(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"],j="Modal",x=e=>{let{options:o,rightSpan:t=6,children:l}=e;return o?(0,f.jsxs)(i.Row,{wrap:!1,className:c["right-options-row"],children:[(0,f.jsx)(i.Col,{span:24-t,className:c["right-options-col"],children:l}),(0,f.jsx)(i.Col,{span:t,className:c["right-options-col"],children:o})]}):l},w=(e,o)=>"".concat(e-48-(o?58:0),"px"),N=e=>{let{footer:o,footerButtons:t,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(t)&&0===t.length?null:(0,f.jsx)(i.Col,{children:(0,f.jsx)(i.Space,{children:(t||[{children:(0,f.jsx)(m.IntlProvider,{importMessages:d,moduleName:j,children:(0,f.jsx)(m.FormattedMessage,{id:"Cancel",moduleName:j})}),onClick:a},{type:"primary",children:(0,f.jsx)(m.IntlProvider,{importMessages:d,moduleName:j,children:(0,f.jsx)(m.FormattedMessage,{id:"Confirm",moduleName:j})}),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:t,onClick:i,autoClose:r=!0,display:a}=e,d=(0,n.A)(e,g);const m=t||u.default;return(0,s.createElement)(m,(0,l.A)((0,l.A)({},d),{},{key:o,onClick:async function(){for(var e=arguments.length,o=new Array(e),t=0;t<e;t++)o[t]=arguments[t];const l=await Promise.resolve(i&&i(...o,h));return r&&!1!==l&&c&&c(),l}}))})})})]})},v=e=>{let{title:o,footer:t,disabledScroller:l,footerButtons:n,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:a()(c["modal-outer"],"modal-container"),"data-testid":"components-core-modal",children:[!1===d?null:(0,f.jsx)(i.Button,{"data-testid":"components-core-modal-close-btn",className:a()(c["modal-close"],"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"]]:l},"modal-body"),ref:y,children:(0,f.jsx)("div",{className:a()(c["modal-body-inner"],"modal-body-inner"),children:u})}),null!==t||n?(0,f.jsx)("div",{className:a()(c["modal-footer"],"modal-footer"),children:(0,f.jsx)(N,{footer:t,footerButtons:n,onConfirm:m,onCancel:p,onClose:r,targetProps:g})}):null]})},k=e=>{let{withDecorator:o,footerButtons:t,title:n,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:n},e),(0,f.jsx)(v,{title:p(e.title,(0,l.A)((0,l.A)({},e),{},{childrenRef:u,close:i})),closable:s,onClose:i,onConfirm:r,onCancel:a,footerButtons:p(t,(0,l.A)((0,l.A)({},e),{},{close:i})),disabledScroller:h,footer:p(c,(0,l.A)((0,l.A)({},e),{},{childrenRef:u,close:i})),targetProps:Object.assign({},e,{childrenRef:u,close:i}),children:(0,f.jsx)(x,{rightSpan:m,options:p(d,(0,l.A)((0,l.A)({},e),{},{childrenRef:u,close:i})),children:p(_,(0,l.A)((0,l.A)({},e),{},{childrenRef:u,close:i}))})}));return"function"===typeof o?o(g,{childrenRef:u,close:i}):g({})},S=e=>{let{children:o,rightOptions:t,rightSpan:s,footer:i,footerButtons:r,className:h,size:p,title:u,onClose:_,onConfirm:g,onCancel:C,closable:A,disabledScroller:b,withDecorator:j,childrenRef:x}=e,N=(0,n.A)(e,y);return(0,l.A)((0,l.A)((0,l.A)({},N),{},{icon:null,centered:!0,title:null,maskClosable:!!N.hasOwnProperty("maskClosable")&&N.maskClosable,destroyOnClose:!0,footer:null,closable:!1,onCancel:_,className:a()(h,c.modal,c[p],{[c["right-options-modal"]]:t})},((e,o)=>"large"===e?{width:"".concat(Math.min(window.innerWidth-64,1500),"px"),style:{"--min-modal-height":w(500,o)}}:"small"===e?{width:"600px",style:{"--min-modal-height":w(300,o)}}:{width:"1000px",style:{"--min-modal-height":w(500,o)}})(p,!(null===i&&!r))),{},{children:(0,f.jsx)(m.IntlProvider,{importMessages:d,moduleName:"Modal",children:k({withDecorator:j,title:u,closable:A,onClose:_,onConfirm:g,onCancel:C,footer:i,footerButtons:r,rightOptions:t,rightSpan:s,disabledScroller:b,children:o,childrenRef:x})})})},P=()=>{const{modal:e}=i.App.useApp(),o=(0,s.useRef)(null);return t=>{const s={},i=S((0,l.A)({onClose:()=>s.close(),childrenRef:o},t)),{children:r}=i,a=(0,n.A)(i,A),{destroy:c}=e.info((0,l.A)((0,l.A)({},a),{},{content:r}));return s.close=c,s}},H=()=>{const{modal:e}=i.App.useApp();return o=>{const t={},s=(0,l.A)({onClose:()=>t.close(),maskClosable:!1},o),{type:r,icon:d,title:m,danger:p,wrapClassName:u,message:_,iconSetting:g={},confirmType:y="info"}=s,C=(0,n.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,l.A)((0,l.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,_]})}));t.close=o}return t}},W=e=>{let{size:o="default"}=e,t=(0,n.A)(e,C);const r=(0,s.useRef)(null);return(0,f.jsx)(i.Modal,(0,l.A)({},S(Object.assign({},t,{size:o,childrenRef:r}))))},L=["items","className","activeKey","withDecorator","defaultActiveKey","onChange"],R=["withDecorator"],Z=["children"],M=e=>{let{items:o,className:t,activeKey:s,withDecorator:r,defaultActiveKey:c,onChange:d}=e,m=(0,n.A)(e,L);return(0,l.A)((0,l.A)({},m),{},{className:a()(t,"tabs-modal"),withDecorator:e=>{const t=t=>(0,f.jsx)(i.Tabs,{items:o.map(o=>{let{withDecorator:l}=o,s=(0,n.A)(o,R);return Object.assign({},s,{children:"function"===typeof l?l(o=>e(Object.assign({},t,o,{children:s.children}))):e(Object.assign({},t,{children:s.children}))})}),destroyInactiveTabPane:!0,activeKey:s,defaultActiveKey:c,onChange:d});return"function"===typeof r?r(t):t()},children:e=>{let{children:o}=e,t=(0,n.A)(e,Z);return"function"===typeof o?o(t):o}})},B=e=>(0,f.jsx)(W,(0,l.A)({},M(e))),O=()=>{const e=P();return o=>e(M(o))};var D=t(73025);const z=["modalProps"],F=e=>{const o=O();return e.api?(0,f.jsx)(D.A,(0,l.A)((0,l.A)({},e),{},{modalFunc:o})):(0,f.jsx)(i.Button,(0,l.A)((0,l.A)({},e),{},{onClick:()=>{o(e.modalProps)}}))},T=e=>{const o=P();if(!e.api){const{modalProps:t}=e,s=(0,n.A)(e,z);return(0,f.jsx)(i.Button,(0,l.A)((0,l.A)({},s),{},{onClick:()=>{o(t)}}))}return(0,f.jsx)(D.A,(0,l.A)((0,l.A)({},e),{},{modalFunc:o}))}},17342:(e,o,t)=>{t.d(o,{A:()=>s});var l=t(34581),n=t.n(l);t(46733);const s=n()},46733:()=>{}}]);
2
+ //# sourceMappingURL=3771.17da985d.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static/js/3771.f5cb867c.chunk.js","mappings":"yWACA,SAAgB,MAAQ,4BAA4B,MAAQ,4BAA4B,mBAAmB,uCAAuC,cAAc,kCAAkC,cAAc,kCAAkC,aAAa,iCAAiC,sBAAsB,0CAA0C,oBAAoB,wCAAwC,oBAAoB,wCAAwC,uBAAuB,2CAA2C,QAAU,8BAA8B,eAAe,mCAAmC,cAAc,kCAAkC,qBAAqB,yCAAyC,YAAY,gCAAgC,MAAQ,4BAA4B,YAAY,iCCK9zB,EANwBA,IACZ,CACJ,QAASC,IAAM,gCAAmB,QAASC,IAAM,iCAClDF,M,0BCHP,MAOA,EAP0BG,CAACC,EAAQC,IACX,oBAAXD,EACFA,EAAOC,GAETD,E,+YCOHE,EAAmB,QAEZC,EAAeC,IAAyC,IAAxC,QAACH,EAAO,UAAEI,EAAY,EAAC,SAAEC,GAASF,EAC3D,OAAKH,GAGGM,EAAAA,EAAAA,MAACC,EAAAA,IAAG,CAACC,MAAM,EAAOC,UAAWC,EAAM,qBAAqBL,SAAA,EAC5DM,EAAAA,EAAAA,KAACC,EAAAA,IAAG,CAACC,KAAM,GAAKT,EAAWK,UAAWC,EAAM,qBAAqBL,SAC5DA,KAELM,EAAAA,EAAAA,KAACC,EAAAA,IAAG,CAACC,KAAMT,EAAWK,UAAWC,EAAM,qBAAqBL,SACvDL,OAPEK,GAYTS,EAAaA,CAACC,EAAQhB,IAClB,GAANiB,OAAUD,EAAS,IAAMhB,EAAS,GAAK,GAAE,MAoBvCkB,EAASC,IAEQ,IAFP,OACInB,EAAM,cAAEoB,EAAa,UAAEC,EAAS,SAAEC,EAAQ,QAAEC,EAAO,YAAEC,GACxDL,EACb,OAAQZ,EAAAA,EAAAA,MAACC,EAAAA,IAAG,CAACiB,OAAQ,GAAIhB,M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AAA,EAAAA,GAAA,GACD8F,GAAM,IACV9G,QAASA,KACPiE,EAAM4C,MAId,CACA,OAAOrI,EAAAA,EAAAA,KAACmI,EAAAA,GAAW3F,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAA,GAAKN,GAAK,IAAEkG,UAAW3C,K,oECf5C,QAAe1B,G","sources":["webpack://@kne-components/components-core/./src/components/Modal/style.module.scss?4fe4","components/Modal/locale/index.js","components/Modal/renderWithOptions.js","components/Modal/Modal.js","components/Modal/TabsModal.js","components/Modal/ModalButton.js","common/components/SimpleBar.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"modal\":\"style_modal__Pm3cF__MPW+L\",\"large\":\"style_large__iaqVE__MPW+L\",\"modal-body-inner\":\"style_modal-body-inner__4PhpA__MPW+L\",\"modal-title\":\"style_modal-title__dswaw__MPW+L\",\"modal-outer\":\"style_modal-outer__r3SkX__MPW+L\",\"modal-body\":\"style_modal-body__jQJSI__MPW+L\",\"right-options-modal\":\"style_right-options-modal__FajDP__MPW+L\",\"right-options-row\":\"style_right-options-row__-mPb9__MPW+L\",\"right-options-col\":\"style_right-options-col__3ilee__MPW+L\",\"is-disabled-scroller\":\"style_is-disabled-scroller__PmHyk__MPW+L\",\"content\":\"style_content__k6MIF__MPW+L\",\"modal-footer\":\"style_modal-footer__-prbN__MPW+L\",\"modal-close\":\"style_modal-close__Oa5Kl__MPW+L\",\"confirm-modal-wrap\":\"style_confirm-modal-wrap__YFImr__MPW+L\",\"is-danger\":\"style_is-danger__H5110__MPW+L\",\"title\":\"style_title__orTym__MPW+L\",\"has-title\":\"style_has-title__qy0Wp__MPW+L\"};","const importMessages = (locale) => {\n return ({\n 'en-US': () => import('./en-US'), 'zh-CN': () => import('./zh-CN')\n })[locale]();\n};\n\nexport default importMessages;","const renderWithOptions = (footer, options) => {\n if (typeof footer === \"function\") {\n return footer(options);\n }\n return footer;\n};\n\nexport default renderWithOptions;\n","import React, {useRef} from \"react\";\nimport {App, Button, Col, Modal as AntdModal, Row, Space} from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\nimport importMessages from \"./locale\";\nimport {FormattedMessage, IntlProvider} from \"@components/Intl\";\nimport Icon from \"@components/Icon\";\nimport renderWithOptions from \"./renderWithOptions\";\nimport LoadingButton from \"@components/LoadingButton\";\nimport SimpleBar from \"@common/components/SimpleBar\";\n\nconst localeModuleName = \"Modal\";\n\nexport const RightOptions = ({options, rightSpan = 6, children}) => {\n if (!options) {\n return children;\n }\n return (<Row wrap={false} className={style[\"right-options-row\"]}>\n <Col span={24 - rightSpan} className={style[\"right-options-col\"]}>\n {children}\n </Col>\n <Col span={rightSpan} className={style[\"right-options-col\"]}>\n {options}\n </Col>\n </Row>);\n};\n\nconst calcHeight = (height, footer) => {\n return `${height - 48 - (footer ? 58 : 0)}px`;\n};\n\nconst sizeMap = (type, footer) => {\n if (type === \"large\") {\n return {\n width: `${Math.min(window.innerWidth - 64, 1500)}px`,\n style: {\"--min-modal-height\": calcHeight(500, footer)},\n };\n }\n if (type === \"small\") {\n return {\n width: \"600px\", style: {\"--min-modal-height\": calcHeight(300, footer)},\n };\n }\n return {\n width: \"1000px\", style: {\"--min-modal-height\": calcHeight(500, footer)},\n };\n};\n\nconst Footer = ({\n footer, footerButtons, onConfirm, onCancel, onClose, targetProps,\n }) => {\n return (<Row gutter={10} wrap={false}>\n <Col flex={1}>{footer}</Col>\n {Array.isArray(footerButtons) && footerButtons.length === 0 ? null : (<Col>\n <Space>\n {(footerButtons || [{\n children: (<IntlProvider\n importMessages={importMessages}\n moduleName={localeModuleName}\n >\n <FormattedMessage\n id={\"Cancel\"}\n moduleName={localeModuleName}\n />\n </IntlProvider>), onClick: onCancel,\n }, {\n type: \"primary\", children: (<IntlProvider\n importMessages={importMessages}\n moduleName={localeModuleName}\n >\n <FormattedMessage\n id={\"Confirm\"}\n moduleName={localeModuleName}\n />\n </IntlProvider>), onClick: onConfirm,\n },])\n .filter((item) => {\n if (typeof item?.display === \"function\") {\n return item?.display();\n }\n return item?.display !== false;\n })\n .map(({\n ButtonComponent, onClick, autoClose = true, display, ...props\n }, index) => {\n const CurrentButton = ButtonComponent || LoadingButton;\n return (<CurrentButton\n {...props}\n key={index}\n onClick={async (...args) => {\n const res = await Promise.resolve(onClick && onClick(...args, targetProps));\n autoClose && res !== false && onClose && onClose();\n return res;\n }}\n />);\n })}\n </Space>\n </Col>)}\n </Row>);\n};\n\nconst ModalOuter = ({\n title,\n footer,\n disabledScroller,\n footerButtons,\n onClose,\n closable,\n onConfirm,\n onCancel,\n children,\n targetProps,\n }) => {\n const modalBodyRef = useRef(null);\n return (<div className={classnames(style[\"modal-outer\"], 'modal-container')} data-testid=\"components-core-modal\">\n {closable === false ? null : (<Button\n data-testid=\"components-core-modal-close-btn\"\n className={classnames(style[\"modal-close\"], \"modal-close\")}\n type=\"text\"\n icon={<Icon type=\"icon-close-thin\"/>}\n onClick={(e) => {\n e.stopPropagation();\n onClose && onClose();\n }}\n />)}\n {title && <div className={style[\"modal-title\"]}>{title}</div>}\n <SimpleBar\n className={classnames(style[\"modal-body\"], {\n [style[\"is-disabled-scroller\"]]: disabledScroller,\n }, \"modal-body\")}\n ref={modalBodyRef}\n >\n <div\n className={classnames(style[\"modal-body-inner\"], \"modal-body-inner\")}\n >\n {children}\n </div>\n </SimpleBar>\n {footer === null && !footerButtons ? null : (<div className={classnames(style[\"modal-footer\"], \"modal-footer\")}>\n <Footer\n footer={footer}\n footerButtons={footerButtons}\n onConfirm={onConfirm}\n onCancel={onCancel}\n onClose={onClose}\n targetProps={targetProps}\n />\n </div>)}\n </div>);\n};\n\nconst runWithDecorator = ({\n withDecorator,\n footerButtons,\n title,\n closable,\n onClose,\n onConfirm,\n onCancel,\n footer,\n rightOptions,\n rightSpan,\n disabledScroller,\n childrenRef,\n children,\n }) => {\n const getInner = (props) => {\n props = Object.assign({}, {title}, props);\n return (<ModalOuter\n title={renderWithOptions(props.title, {\n ...props, childrenRef, close: onClose,\n })}\n closable={closable}\n onClose={onClose}\n onConfirm={onConfirm}\n onCancel={onCancel}\n footerButtons={renderWithOptions(footerButtons, {\n ...props, close: onClose,\n })}\n disabledScroller={disabledScroller}\n footer={renderWithOptions(footer, {\n ...props, childrenRef, close: onClose,\n })}\n targetProps={Object.assign({}, props, {childrenRef, close: onClose})}\n >\n <RightOptions\n rightSpan={rightSpan}\n options={renderWithOptions(rightOptions, {\n ...props, childrenRef, close: onClose,\n })}\n >\n {renderWithOptions(children, {\n ...props, childrenRef, close: onClose,\n })}\n </RightOptions>\n </ModalOuter>);\n };\n return typeof withDecorator === \"function\" ? withDecorator(getInner, {\n childrenRef, close: onClose,\n }) : getInner({});\n};\n\nconst computedCommonProps = ({\n children,\n rightOptions,\n rightSpan,\n footer,\n footerButtons,\n className,\n size,\n title,\n onClose,\n onConfirm,\n onCancel,\n closable,\n disabledScroller,\n withDecorator,\n childrenRef,\n ...props\n }) => {\n return {\n ...props,\n icon: null,\n centered: true,\n title: null,\n maskClosable: props.hasOwnProperty(\"maskClosable\") ? props.maskClosable : false,\n destroyOnClose: true,\n footer: null,\n closable: false,\n onCancel: onClose,\n className: classnames(className, style[\"modal\"], style[size], {\n [style[\"right-options-modal\"]]: rightOptions,\n }), ...sizeMap(size, !(footer === null && !footerButtons)),\n children: (<IntlProvider importMessages={importMessages} moduleName=\"Modal\">\n {runWithDecorator({\n withDecorator,\n title,\n closable,\n onClose,\n onConfirm,\n onCancel,\n footer,\n footerButtons,\n rightOptions,\n rightSpan,\n disabledScroller,\n children,\n childrenRef,\n })}\n </IntlProvider>),\n };\n};\n\nconst Modal = ({size = 'default', ...props}) => {\n const childrenRef = useRef(null);\n return (<AntdModal\n {...computedCommonProps(Object.assign({}, props, {size, childrenRef}))}\n />);\n};\n\nexport const useModal = () => {\n const {modal} = App.useApp();\n const childrenRef = useRef(null);\n return (props) => {\n const api = {};\n const {children, ...otherProps} = computedCommonProps({\n onClose: () => api.close(), childrenRef, ...props,\n });\n const {destroy} = modal.info({\n ...otherProps, content: children,\n });\n api.close = destroy;\n\n return api;\n };\n};\n\nexport const useConfirmModal = () => {\n const {modal} = App.useApp();\n return (props) => {\n const api = {};\n const {\n type, icon, title, danger, wrapClassName, message, iconSetting = {}, confirmType = \"info\", ...otherProps\n } = {\n onClose: () => api.close(), maskClosable: false, ...props,\n };\n const typeEnum = Object.assign({}, {\n info: \"icon-xinxi-tianchong\",\n confirm: \"icon-tishi-tianchong\",\n warning: \"icon-tishi-tianchong\",\n error: \"icon-shibai\",\n success: \"icon-chenggong\",\n }, iconSetting);\n if (modal[type]) {\n const {destroy} = modal[type]({\n ...otherProps, icon: null, wrapClassName: classnames(style[\"confirm-modal-wrap\"], wrapClassName, {\n [style[\"is-danger\"]]: danger,\n }), title: (<Space\n direction=\"vertical\"\n onClick={(e) => {\n e.stopPropagation();\n }}\n >\n {title && (<Space size={0} align=\"start\" className={style[\"title\"]}>\n {danger ? (<Icon\n className={classnames(\"title-icon\", `title-icon-${type === \"confirm\" ? confirmType : type}`)}\n type={icon || typeEnum[type === \"confirm\" ? confirmType : type]}\n />) : null}\n {title}\n </Space>)}\n </Space>), content: (<Space\n size={0}\n align=\"start\"\n className={classnames(style[\"content\"], {\n [style[\"has-title\"]]: title,\n })}\n >\n {!title && danger ? (<Icon\n className={classnames(\"title-icon\", `title-icon-${type === \"confirm\" ? confirmType : type}`)}\n type={icon || typeEnum[type === \"confirm\" ? confirmType : type]}\n />) : null}\n {message}\n </Space>),\n });\n api.close = destroy;\n }\n return api;\n };\n};\n\nexport default Modal;\n","import Modal, { useModal } from \"./Modal\";\nimport { Tabs } from \"antd\";\nimport classnames from \"classnames\";\n\nconst computedCommonProps = ({\n items,\n className,\n activeKey,\n withDecorator,\n defaultActiveKey,\n onChange,\n ...props\n}) => {\n return {\n ...props,\n className: classnames(className, \"tabs-modal\"),\n withDecorator: (render) => {\n const innerRender = (props) => (\n <Tabs\n items={items.map(({ withDecorator: itemWithDecorator, ...item }) => {\n return Object.assign({}, item, {\n children:\n typeof itemWithDecorator === \"function\"\n ? itemWithDecorator((innerProps) =>\n render(\n Object.assign({}, props, innerProps, {\n children: item.children,\n })\n )\n )\n : render(\n Object.assign({}, props, { children: item.children })\n ),\n });\n })}\n destroyInactiveTabPane\n activeKey={activeKey}\n defaultActiveKey={defaultActiveKey}\n onChange={onChange}\n />\n );\n return typeof withDecorator === \"function\"\n ? withDecorator(innerRender)\n : innerRender();\n },\n children: ({ children, ...props }) => {\n return typeof children === \"function\" ? children(props) : children;\n },\n };\n};\n\nconst TabsModal = (props) => {\n return <Modal {...computedCommonProps(props)} />;\n};\n\nexport default TabsModal;\n\nexport const useTabsModal = () => {\n const modal = useModal();\n return (props) => modal(computedCommonProps(props));\n};\n","import { useModal } from \"./Modal\";\nimport { useTabsModal } from \"./TabsModal\";\nimport FetchButton from \"@common/components/FetchButton\";\nimport { Button } from \"antd\";\n\nconst ModalButton = (props) => {\n const modal = useModal();\n if (!props.api) {\n const { modalProps, ...others } = props;\n return (\n <Button\n {...others}\n onClick={() => {\n modal(modalProps);\n }}\n />\n );\n }\n return <FetchButton {...props} modalFunc={modal} />;\n};\n\nexport const TabsModalButton = (props) => {\n const tabsModal = useTabsModal();\n if (!props.api) {\n return (\n <Button\n {...props}\n onClick={() => {\n tabsModal(props.modalProps);\n }}\n />\n );\n }\n return <FetchButton {...props} modalFunc={tabsModal} />;\n};\nexport default ModalButton;\n","import SimpleBar from \"simplebar-react\";\nimport \"simplebar-react/dist/simplebar.min.css\";\n\nexport default SimpleBar;\n"],"names":["locale","en-US","zh-CN","renderWithOptions","footer","options","localeModuleName","RightOptions","_ref","rightSpan","children","_jsxs","Row","wrap","className","style","_jsx","Col","span","calcHeight","height","concat","Footer","_ref2","footerButtons","onConfirm","onCancel","onClose","targetProps","gutter","flex","Array","isArray","length","Space","IntlProvider","importMessages","moduleName","FormattedMessage","id","onClick","type","filter","item","display","map","_ref3","index","ButtonComponent","autoClose","props","_objectWithoutProperties","_excluded","CurrentButton","LoadingButton","_createElement","_objectSpread","key","async","_len","arguments","args","_key","res","Promise","resolve","ModalOuter","_ref4","title","disabledScroller","closable","modalBodyRef","useRef","classnames","Button","icon","Icon","e","stopPropagation","SimpleBar","ref","runWithDecorator","_ref5","withDecorator","rightOptions","childrenRef","getInner","Object","assign","close","computedCommonProps","_ref6","size","_excluded2","centered","maskClosable","hasOwnProperty","destroyOnClose","sizeMap","width","Math","min","window","innerWidth","useModal","modal","App","useApp","api","_computedCommonProps","otherProps","_excluded4","destroy","info","content","useConfirmModal","_onClose$maskClosable","danger","wrapClassName","message","iconSetting","confirmType","_excluded5","typeEnum","confirm","warning","error","success","direction","align","_ref7","_excluded3","AntdModal","items","activeKey","defaultActiveKey","onChange","render","innerRender","Tabs","itemWithDecorator","innerProps","destroyInactiveTabPane","Modal","useTabsModal","TabsModalButton","tabsModal","FetchButton","modalFunc","modalProps","others"],"sourceRoot":""}
1
+ {"version":3,"file":"static/js/3771.17da985d.chunk.js","mappings":"yWACA,SAAgB,MAAQ,4BAA4B,MAAQ,4BAA4B,mBAAmB,uCAAuC,cAAc,kCAAkC,cAAc,kCAAkC,aAAa,iCAAiC,sBAAsB,0CAA0C,oBAAoB,wCAAwC,oBAAoB,wCAAwC,uBAAuB,2CAA2C,QAAU,8BAA8B,eAAe,mCAAmC,cAAc,kCAAkC,qBAAqB,yCAAyC,YAAY,gCAAgC,MAAQ,4BAA4B,YAAY,iCCK9zB,EANwBA,IACZ,CACJ,QAASC,IAAM,gCAAmB,QAASC,IAAM,iCAClDF,M,0BCHP,MAOA,EAP0BG,CAACC,EAAQC,IACX,oBAAXD,EACFA,EAAOC,GAETD,E,+YCOHE,EAAmB,QAEZC,EAAeC,IAAyC,IAAxC,QAACH,EAAO,UAAEI,EAAY,EAAC,SAAEC,GAASF,EAC3D,OAAKH,GAGGM,EAAAA,EAAAA,MAACC,EAAAA,IAAG,CAACC,MAAM,EAAOC,UAAWC,EAAM,qBAAqBL,SAAA,EAC5DM,EAAAA,EAAAA,KAACC,EAA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3F,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAA,GAAKN,GAAK,IAAEkG,UAAWF,MARtClI,EAAAA,EAAAA,KAAC0D,EAAAA,QAAMlB,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAA,GACDN,GAAK,IACTV,QAASA,KACP0G,EAAUhG,EAAMmG,iBAO1B,EA9BqBnG,IACnB,MAAMuD,EAAQD,IACd,IAAKtD,EAAM0D,IAAK,CACd,MAAM,WAAEyC,GAA0BnG,EAAXoG,GAAMnG,EAAAA,EAAAA,GAAKD,EAAKE,GACvC,OACEpC,EAAAA,EAAAA,KAAC0D,EAAAA,QAAMlB,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAA,GACD8F,GAAM,IACV9G,QAASA,KACPiE,EAAM4C,MAId,CACA,OAAOrI,EAAAA,EAAAA,KAACmI,EAAAA,GAAW3F,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAA,GAAKN,GAAK,IAAEkG,UAAW3C,K,oECf5C,QAAe1B,G","sources":["webpack://@kne-components/components-core/./src/components/Modal/style.module.scss?4fe4","components/Modal/locale/index.js","components/Modal/renderWithOptions.js","components/Modal/Modal.js","components/Modal/TabsModal.js","components/Modal/ModalButton.js","common/components/SimpleBar.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"modal\":\"style_modal__Pm3cF__WLZHg\",\"large\":\"style_large__iaqVE__WLZHg\",\"modal-body-inner\":\"style_modal-body-inner__4PhpA__WLZHg\",\"modal-title\":\"style_modal-title__dswaw__WLZHg\",\"modal-outer\":\"style_modal-outer__r3SkX__WLZHg\",\"modal-body\":\"style_modal-body__jQJSI__WLZHg\",\"right-options-modal\":\"style_right-options-modal__FajDP__WLZHg\",\"right-options-row\":\"style_right-options-row__-mPb9__WLZHg\",\"right-options-col\":\"style_right-options-col__3ilee__WLZHg\",\"is-disabled-scroller\":\"style_is-disabled-scroller__PmHyk__WLZHg\",\"content\":\"style_content__k6MIF__WLZHg\",\"modal-footer\":\"style_modal-footer__-prbN__WLZHg\",\"modal-close\":\"style_modal-close__Oa5Kl__WLZHg\",\"confirm-modal-wrap\":\"style_confirm-modal-wrap__YFImr__WLZHg\",\"is-danger\":\"style_is-danger__H5110__WLZHg\",\"title\":\"style_title__orTym__WLZHg\",\"has-title\":\"style_has-title__qy0Wp__WLZHg\"};","const importMessages = (locale) => {\n return ({\n 'en-US': () => import('./en-US'), 'zh-CN': () => import('./zh-CN')\n })[locale]();\n};\n\nexport default importMessages;","const renderWithOptions = (footer, options) => {\n if (typeof footer === \"function\") {\n return footer(options);\n }\n return footer;\n};\n\nexport default renderWithOptions;\n","import React, {useRef} from \"react\";\nimport {App, Button, Col, Modal as AntdModal, Row, Space} from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\nimport importMessages from \"./locale\";\nimport {FormattedMessage, IntlProvider} from \"@components/Intl\";\nimport Icon from \"@components/Icon\";\nimport renderWithOptions from \"./renderWithOptions\";\nimport LoadingButton from \"@components/LoadingButton\";\nimport SimpleBar from \"@common/components/SimpleBar\";\n\nconst localeModuleName = \"Modal\";\n\nexport const RightOptions = ({options, rightSpan = 6, children}) => {\n if (!options) {\n return children;\n }\n return (<Row wrap={false} className={style[\"right-options-row\"]}>\n <Col span={24 - rightSpan} className={style[\"right-options-col\"]}>\n {children}\n </Col>\n <Col span={rightSpan} className={style[\"right-options-col\"]}>\n {options}\n </Col>\n </Row>);\n};\n\nconst calcHeight = (height, footer) => {\n return `${height - 48 - (footer ? 58 : 0)}px`;\n};\n\nconst sizeMap = (type, footer) => {\n if (type === \"large\") {\n return {\n width: `${Math.min(window.innerWidth - 64, 1500)}px`,\n style: {\"--min-modal-height\": calcHeight(500, footer)},\n };\n }\n if (type === \"small\") {\n return {\n width: \"600px\", style: {\"--min-modal-height\": calcHeight(300, footer)},\n };\n }\n return {\n width: \"1000px\", style: {\"--min-modal-height\": calcHeight(500, footer)},\n };\n};\n\nconst Footer = ({\n footer, footerButtons, onConfirm, onCancel, onClose, targetProps,\n }) => {\n return (<Row gutter={10} wrap={false}>\n <Col flex={1}>{footer}</Col>\n {Array.isArray(footerButtons) && footerButtons.length === 0 ? null : (<Col>\n <Space>\n {(footerButtons || [{\n children: (<IntlProvider\n importMessages={importMessages}\n moduleName={localeModuleName}\n >\n <FormattedMessage\n id={\"Cancel\"}\n moduleName={localeModuleName}\n />\n </IntlProvider>), onClick: onCancel,\n }, {\n type: \"primary\", children: (<IntlProvider\n importMessages={importMessages}\n moduleName={localeModuleName}\n >\n <FormattedMessage\n id={\"Confirm\"}\n moduleName={localeModuleName}\n />\n </IntlProvider>), onClick: onConfirm,\n },])\n .filter((item) => {\n if (typeof item?.display === \"function\") {\n return item?.display();\n }\n return item?.display !== false;\n })\n .map(({\n ButtonComponent, onClick, autoClose = true, display, ...props\n }, index) => {\n const CurrentButton = ButtonComponent || LoadingButton;\n return (<CurrentButton\n {...props}\n key={index}\n onClick={async (...args) => {\n const res = await Promise.resolve(onClick && onClick(...args, targetProps));\n autoClose && res !== false && onClose && onClose();\n return res;\n }}\n />);\n })}\n </Space>\n </Col>)}\n </Row>);\n};\n\nconst ModalOuter = ({\n title,\n footer,\n disabledScroller,\n footerButtons,\n onClose,\n closable,\n onConfirm,\n onCancel,\n children,\n targetProps,\n }) => {\n const modalBodyRef = useRef(null);\n return (<div className={classnames(style[\"modal-outer\"], 'modal-container')} data-testid=\"components-core-modal\">\n {closable === false ? null : (<Button\n data-testid=\"components-core-modal-close-btn\"\n className={classnames(style[\"modal-close\"], \"modal-close\")}\n type=\"text\"\n icon={<Icon type=\"icon-close-thin\"/>}\n onClick={(e) => {\n e.stopPropagation();\n onClose && onClose();\n }}\n />)}\n {title && <div className={style[\"modal-title\"]}>{title}</div>}\n <SimpleBar\n className={classnames(style[\"modal-body\"], {\n [style[\"is-disabled-scroller\"]]: disabledScroller,\n }, \"modal-body\")}\n ref={modalBodyRef}\n >\n <div\n className={classnames(style[\"modal-body-inner\"], \"modal-body-inner\")}\n >\n {children}\n </div>\n </SimpleBar>\n {footer === null && !footerButtons ? null : (<div className={classnames(style[\"modal-footer\"], \"modal-footer\")}>\n <Footer\n footer={footer}\n footerButtons={footerButtons}\n onConfirm={onConfirm}\n onCancel={onCancel}\n onClose={onClose}\n targetProps={targetProps}\n />\n </div>)}\n </div>);\n};\n\nconst runWithDecorator = ({\n withDecorator,\n footerButtons,\n title,\n closable,\n onClose,\n onConfirm,\n onCancel,\n footer,\n rightOptions,\n rightSpan,\n disabledScroller,\n childrenRef,\n children,\n }) => {\n const getInner = (props) => {\n props = Object.assign({}, {title}, props);\n return (<ModalOuter\n title={renderWithOptions(props.title, {\n ...props, childrenRef, close: onClose,\n })}\n closable={closable}\n onClose={onClose}\n onConfirm={onConfirm}\n onCancel={onCancel}\n footerButtons={renderWithOptions(footerButtons, {\n ...props, close: onClose,\n })}\n disabledScroller={disabledScroller}\n footer={renderWithOptions(footer, {\n ...props, childrenRef, close: onClose,\n })}\n targetProps={Object.assign({}, props, {childrenRef, close: onClose})}\n >\n <RightOptions\n rightSpan={rightSpan}\n options={renderWithOptions(rightOptions, {\n ...props, childrenRef, close: onClose,\n })}\n >\n {renderWithOptions(children, {\n ...props, childrenRef, close: onClose,\n })}\n </RightOptions>\n </ModalOuter>);\n };\n return typeof withDecorator === \"function\" ? withDecorator(getInner, {\n childrenRef, close: onClose,\n }) : getInner({});\n};\n\nconst computedCommonProps = ({\n children,\n rightOptions,\n rightSpan,\n footer,\n footerButtons,\n className,\n size,\n title,\n onClose,\n onConfirm,\n onCancel,\n closable,\n disabledScroller,\n withDecorator,\n childrenRef,\n ...props\n }) => {\n return {\n ...props,\n icon: null,\n centered: true,\n title: null,\n maskClosable: props.hasOwnProperty(\"maskClosable\") ? props.maskClosable : false,\n destroyOnClose: true,\n footer: null,\n closable: false,\n onCancel: onClose,\n className: classnames(className, style[\"modal\"], style[size], {\n [style[\"right-options-modal\"]]: rightOptions,\n }), ...sizeMap(size, !(footer === null && !footerButtons)),\n children: (<IntlProvider importMessages={importMessages} moduleName=\"Modal\">\n {runWithDecorator({\n withDecorator,\n title,\n closable,\n onClose,\n onConfirm,\n onCancel,\n footer,\n footerButtons,\n rightOptions,\n rightSpan,\n disabledScroller,\n children,\n childrenRef,\n })}\n </IntlProvider>),\n };\n};\n\nconst Modal = ({size = 'default', ...props}) => {\n const childrenRef = useRef(null);\n return (<AntdModal\n {...computedCommonProps(Object.assign({}, props, {size, childrenRef}))}\n />);\n};\n\nexport const useModal = () => {\n const {modal} = App.useApp();\n const childrenRef = useRef(null);\n return (props) => {\n const api = {};\n const {children, ...otherProps} = computedCommonProps({\n onClose: () => api.close(), childrenRef, ...props,\n });\n const {destroy} = modal.info({\n ...otherProps, content: children,\n });\n api.close = destroy;\n\n return api;\n };\n};\n\nexport const useConfirmModal = () => {\n const {modal} = App.useApp();\n return (props) => {\n const api = {};\n const {\n type, icon, title, danger, wrapClassName, message, iconSetting = {}, confirmType = \"info\", ...otherProps\n } = {\n onClose: () => api.close(), maskClosable: false, ...props,\n };\n const typeEnum = Object.assign({}, {\n info: \"icon-xinxi-tianchong\",\n confirm: \"icon-tishi-tianchong\",\n warning: \"icon-tishi-tianchong\",\n error: \"icon-shibai\",\n success: \"icon-chenggong\",\n }, iconSetting);\n if (modal[type]) {\n const {destroy} = modal[type]({\n ...otherProps, icon: null, wrapClassName: classnames(style[\"confirm-modal-wrap\"], wrapClassName, {\n [style[\"is-danger\"]]: danger,\n }), title: (<Space\n direction=\"vertical\"\n onClick={(e) => {\n e.stopPropagation();\n }}\n >\n {title && (<Space size={0} align=\"start\" className={style[\"title\"]}>\n {danger ? (<Icon\n className={classnames(\"title-icon\", `title-icon-${type === \"confirm\" ? confirmType : type}`)}\n type={icon || typeEnum[type === \"confirm\" ? confirmType : type]}\n />) : null}\n {title}\n </Space>)}\n </Space>), content: (<Space\n size={0}\n align=\"start\"\n className={classnames(style[\"content\"], {\n [style[\"has-title\"]]: title,\n })}\n >\n {!title && danger ? (<Icon\n className={classnames(\"title-icon\", `title-icon-${type === \"confirm\" ? confirmType : type}`)}\n type={icon || typeEnum[type === \"confirm\" ? confirmType : type]}\n />) : null}\n {message}\n </Space>),\n });\n api.close = destroy;\n }\n return api;\n };\n};\n\nexport default Modal;\n","import Modal, { useModal } from \"./Modal\";\nimport { Tabs } from \"antd\";\nimport classnames from \"classnames\";\n\nconst computedCommonProps = ({\n items,\n className,\n activeKey,\n withDecorator,\n defaultActiveKey,\n onChange,\n ...props\n}) => {\n return {\n ...props,\n className: classnames(className, \"tabs-modal\"),\n withDecorator: (render) => {\n const innerRender = (props) => (\n <Tabs\n items={items.map(({ withDecorator: itemWithDecorator, ...item }) => {\n return Object.assign({}, item, {\n children:\n typeof itemWithDecorator === \"function\"\n ? itemWithDecorator((innerProps) =>\n render(\n Object.assign({}, props, innerProps, {\n children: item.children,\n })\n )\n )\n : render(\n Object.assign({}, props, { children: item.children })\n ),\n });\n })}\n destroyInactiveTabPane\n activeKey={activeKey}\n defaultActiveKey={defaultActiveKey}\n onChange={onChange}\n />\n );\n return typeof withDecorator === \"function\"\n ? withDecorator(innerRender)\n : innerRender();\n },\n children: ({ children, ...props }) => {\n return typeof children === \"function\" ? children(props) : children;\n },\n };\n};\n\nconst TabsModal = (props) => {\n return <Modal {...computedCommonProps(props)} />;\n};\n\nexport default TabsModal;\n\nexport const useTabsModal = () => {\n const modal = useModal();\n return (props) => modal(computedCommonProps(props));\n};\n","import { useModal } from \"./Modal\";\nimport { useTabsModal } from \"./TabsModal\";\nimport FetchButton from \"@common/components/FetchButton\";\nimport { Button } from \"antd\";\n\nconst ModalButton = (props) => {\n const modal = useModal();\n if (!props.api) {\n const { modalProps, ...others } = props;\n return (\n <Button\n {...others}\n onClick={() => {\n modal(modalProps);\n }}\n />\n );\n }\n return <FetchButton {...props} modalFunc={modal} />;\n};\n\nexport const TabsModalButton = (props) => {\n const tabsModal = useTabsModal();\n if (!props.api) {\n return (\n <Button\n {...props}\n onClick={() => {\n tabsModal(props.modalProps);\n }}\n />\n );\n }\n return <FetchButton {...props} modalFunc={tabsModal} />;\n};\nexport default ModalButton;\n","import SimpleBar from \"simplebar-react\";\nimport \"simplebar-react/dist/simplebar.min.css\";\n\nexport default SimpleBar;\n"],"names":["locale","en-US","zh-CN","renderWithOptions","footer","options","localeModuleName","RightOptions","_ref","rightSpan","children","_jsxs","Row","wrap","className","style","_jsx","Col","span","calcHeight","height","concat","Footer","_ref2","footerButtons","onConfirm","onCancel","onClose","targetProps","gutter","flex","Array","isArray","length","Space","IntlProvider","importMessages","moduleName","FormattedMessage","id","onClick","type","filter","item","display","map","_ref3","index","ButtonComponent","autoClose","props","_objectWithoutProperties","_excluded","CurrentButton","LoadingButton","_createElement","_objectSpread","key","async","_len","arguments","args","_key","res","Promise","resolve","ModalOuter","_ref4","title","disabledScroller","closable","modalBodyRef","useRef","classnames","Button","icon","Icon","e","stopPropagation","SimpleBar","ref","runWithDecorator","_ref5","withDecorator","rightOptions","childrenRef","getInner","Object","assign","close","computedCommonProps","_ref6","size","_excluded2","centered","maskClosable","hasOwnProperty","destroyOnClose","sizeMap","width","Math","min","window","innerWidth","useModal","modal","App","useApp","api","_computedCommonProps","otherProps","_excluded4","destroy","info","content","useConfirmModal","_onClose$maskClosable","danger","wrapClassName","message","iconSetting","confirmType","_excluded5","typeEnum","confirm","warning","error","success","direction","align","_ref7","_excluded3","AntdModal","items","activeKey","defaultActiveKey","onChange","render","innerRender","Tabs","itemWithDecorator","innerProps","destroyInactiveTabPane","Modal","useTabsModal","TabsModalButton","tabsModal","FetchButton","modalFunc","modalProps","others"],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[2908,3790],{48731:(e,n,i)=>{i.r(n),i.d(n,{default:()=>a.a});var s=i(60922),a=i.n(s),l=i(22717),t=i.n(l);(0,s.preset)({base:t()([["gender",()=>[{value:"M",description:"\u7537"},{value:"F",description:"\u5973"}]],["marital",()=>[{description:"\u5df2\u5a5a",value:"Y"},{description:"\u672a\u5a5a",value:"N"}]],["confirm",()=>[{description:"\u662f",value:"Y"},{description:"\u5426",value:"N"}]],["political",()=>[{description:"\u4e2d\u5171\u515a\u5458",value:"\u4e2d\u5171\u515a\u5458"},{description:"\u5171\u9752\u56e2\u5458",value:"\u5171\u9752\u56e2\u5458"},{description:"\u7fa4\u4f17",value:"\u7fa4\u4f17"},{description:"\u5176\u4ed6\u515a\u6d3e",value:"\u5176\u4ed6\u515a\u6d3e"}]],["phoneStateEnum",()=>[{value:0,description:"\u7a7a\u53f7"},{value:1,description:"\u5b9e\u53f7"},{value:2,description:"\u505c\u673a"},{value:3,description:"\u5e93\u65e0"},{value:4,description:"\u6c89\u9ed8\u53f7"},{value:5,description:"\u98ce\u9669\u53f7"}]],["degreeEnum",()=>[{description:"\u521d\u4e2d",value:10},{description:"\u4e2d\u4e13",value:20},{description:"\u9ad8\u4e2d",value:30},{description:"\u5927\u4e13",value:40},{description:"\u672c\u79d1",value:50},{description:"\u7855\u58eb\u7814\u7a76\u751f",value:60},{description:"\u535a\u58eb\u7814\u7a76\u751f",value:70},{description:"\u535a\u58eb\u540e",value:75},{description:"\u5b66\u5386\u4e0d\u9650",value:999}]]],(e,n)=>{e[n[0]]=n[1]},{})})},75363:(e,n,i)=>{i.r(n),i.d(n,{default:()=>h});const s=e=>({"en-US":()=>i.e(9431).then(i.bind(i,9431)),"zh-CN":()=>i.e(1065).then(i.bind(i,81065))}[e]());var a=i(47458),l=i(64671),t=i(55199),r=i(83136),c=i.n(r);const o="style_helper-guide__K5xFw__MPW+L",d="style_inner__bMKeU__MPW+L",u="style_content__xTfWZ__MPW+L",p="style_link__93j7O__MPW+L";var v=i(48731),_=i(70579);const h=e=>{let{name:n,className:i}=e;return(0,_.jsx)(a.IntlProvider,{importMessages:s,moduleName:"HelperGuide",children:(0,_.jsx)(v.default,{moduleName:"helperGuide",name:n,children:e=>e&&e.value&&(0,_.jsx)("div",{className:c()(o,i),children:(0,_.jsxs)(t.Space,{className:d,children:[(0,_.jsx)(l.default,{colorful:!0,type:"icon-color-bangzhuyindao"}),(0,_.jsx)("span",{className:u,children:e.content}),e.url&&(0,_.jsxs)(t.Typography.Link,{className:p,href:e.url,target:"_blank",children:["\u67e5\u770b\u5e2e\u52a9",(0,_.jsx)(l.default,{type:"icon-shuangjiantou-right"})]})]})})})})}}}]);
2
- //# sourceMappingURL=3790.618d7d15.chunk.js.map
1
+ "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[2908,3790],{48731:(e,n,i)=>{i.r(n),i.d(n,{default:()=>a.a});var s=i(60922),a=i.n(s),l=i(22717),t=i.n(l);(0,s.preset)({base:t()([["gender",()=>[{value:"M",description:"\u7537"},{value:"F",description:"\u5973"}]],["marital",()=>[{description:"\u5df2\u5a5a",value:"Y"},{description:"\u672a\u5a5a",value:"N"}]],["confirm",()=>[{description:"\u662f",value:"Y"},{description:"\u5426",value:"N"}]],["political",()=>[{description:"\u4e2d\u5171\u515a\u5458",value:"\u4e2d\u5171\u515a\u5458"},{description:"\u5171\u9752\u56e2\u5458",value:"\u5171\u9752\u56e2\u5458"},{description:"\u7fa4\u4f17",value:"\u7fa4\u4f17"},{description:"\u5176\u4ed6\u515a\u6d3e",value:"\u5176\u4ed6\u515a\u6d3e"}]],["phoneStateEnum",()=>[{value:0,description:"\u7a7a\u53f7"},{value:1,description:"\u5b9e\u53f7"},{value:2,description:"\u505c\u673a"},{value:3,description:"\u5e93\u65e0"},{value:4,description:"\u6c89\u9ed8\u53f7"},{value:5,description:"\u98ce\u9669\u53f7"}]],["degreeEnum",()=>[{description:"\u521d\u4e2d",value:10},{description:"\u4e2d\u4e13",value:20},{description:"\u9ad8\u4e2d",value:30},{description:"\u5927\u4e13",value:40},{description:"\u672c\u79d1",value:50},{description:"\u7855\u58eb\u7814\u7a76\u751f",value:60},{description:"\u535a\u58eb\u7814\u7a76\u751f",value:70},{description:"\u535a\u58eb\u540e",value:75},{description:"\u5b66\u5386\u4e0d\u9650",value:999}]]],(e,n)=>{e[n[0]]=n[1]},{})})},75363:(e,n,i)=>{i.r(n),i.d(n,{default:()=>h});const s=e=>({"en-US":()=>i.e(9431).then(i.bind(i,9431)),"zh-CN":()=>i.e(1065).then(i.bind(i,81065))}[e]());var a=i(47458),l=i(64671),t=i(55199),r=i(83136),c=i.n(r);const o="style_helper-guide__K5xFw__WLZHg",d="style_inner__bMKeU__WLZHg",u="style_content__xTfWZ__WLZHg",p="style_link__93j7O__WLZHg";var v=i(48731),_=i(70579);const h=e=>{let{name:n,className:i}=e;return(0,_.jsx)(a.IntlProvider,{importMessages:s,moduleName:"HelperGuide",children:(0,_.jsx)(v.default,{moduleName:"helperGuide",name:n,children:e=>e&&e.value&&(0,_.jsx)("div",{className:c()(o,i),children:(0,_.jsxs)(t.Space,{className:d,children:[(0,_.jsx)(l.default,{colorful:!0,type:"icon-color-bangzhuyindao"}),(0,_.jsx)("span",{className:u,children:e.content}),e.url&&(0,_.jsxs)(t.Typography.Link,{className:p,href:e.url,target:"_blank",children:["\u67e5\u770b\u5e2e\u52a9",(0,_.jsx)(l.default,{type:"icon-shuangjiantou-right"})]})]})})})})}}}]);
2
+ //# sourceMappingURL=3790.bb02bbc3.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static/js/3790.618d7d15.chunk.js","mappings":"qOAyHAA,EAAAA,EAAAA,QAAO,CACLC,KAAMC,IAvHY,CAClB,CACE,SACA,IAAM,CACJ,CAAEC,MAAO,IAAKC,YAAa,UAC3B,CACED,MAAO,IACPC,YAAa,YAInB,CACE,UACA,IAAM,CACJ,CAAEA,YAAa,eAAMD,MAAO,KAC5B,CACEC,YAAa,eACbD,MAAO,OAIb,CACE,UACA,IAAM,CACJ,CAAEC,YAAa,SAAKD,MAAO,KAC3B,CACEC,YAAa,SACbD,MAAO,OAIb,CACE,YACA,IAAM,CACJ,CAAEC,YAAa,2BAAQD,MAAO,4BAC9B,CACEC,YAAa,2BACbD,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pBb,EAAAA,EAAAA,KAAA,QAAMD,UAAWS,EAAiBJ,SAAEE,EAAKQ,UACxCR,EAAKS,MACJN,EAAAA,EAAAA,MAACO,EAAAA,WAAWC,KAAI,CACdlB,UAAWS,EACXU,KAAMZ,EAAKS,IACXI,OAAO,SAAQf,SAAA,CAChB,4BAECJ,EAAAA,EAAAA,KAACW,EAAAA,QAAI,CAACE,KAAK,yC","sources":["components/Enum/index.js","components/HelperGuide/locale/index.js","webpack://@kne-components/components-core/./src/components/HelperGuide/style.module.scss?bc31","components/HelperGuide/index.js"],"sourcesContent":["import { preset } from \"@kne/react-enum\";\nimport transform from \"lodash/transform\";\n\nconst baseLoaders = [\n [\n \"gender\",\n () => [\n { value: \"M\", description: \"男\" },\n {\n value: \"F\",\n description: \"女\",\n },\n ],\n ],\n [\n \"marital\",\n () => [\n { description: \"已婚\", value: \"Y\" },\n {\n description: \"未婚\",\n value: \"N\",\n },\n ],\n ],\n [\n \"confirm\",\n () => [\n { description: \"是\", value: \"Y\" },\n {\n description: \"否\",\n value: \"N\",\n },\n ],\n ],\n [\n \"political\",\n () => [\n { description: \"中共党员\", value: \"中共党员\" },\n {\n description: \"共青团员\",\n value: \"共青团员\",\n },\n { description: \"群众\", value: \"群众\" },\n {\n description: \"其他党派\",\n value: \"其他党派\",\n },\n ],\n ],\n [\n \"phoneStateEnum\",\n () => [\n {\n value: 0,\n description: \"空号\",\n },\n {\n value: 1,\n description: \"实号\",\n },\n {\n value: 2,\n description: \"停机\",\n },\n {\n value: 3,\n description: \"库无\",\n },\n {\n value: 4,\n description: \"沉默号\",\n },\n {\n value: 5,\n description: \"风险号\",\n },\n ],\n ],\n [\n \"degreeEnum\",\n () => [\n {\n description: \"初中\",\n value: 10,\n },\n {\n description: \"中专\",\n value: 20,\n },\n {\n description: \"高中\",\n value: 30,\n },\n {\n description: \"大专\",\n value: 40,\n },\n {\n description: \"本科\",\n value: 50,\n },\n {\n description: \"硕士研究生\",\n value: 60,\n },\n {\n description: \"博士研究生\",\n value: 70,\n },\n {\n description: \"博士后\",\n value: 75,\n },\n {\n description: \"学历不限\",\n value: 999,\n },\n ],\n ],\n];\n\npreset({\n base: transform(\n baseLoaders,\n (result, value) => {\n result[value[0]] = value[1];\n },\n {}\n ),\n});\n\nexport { default } from \"@kne/react-enum\";\n","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","// extracted by mini-css-extract-plugin\nexport default {\"helper-guide\":\"style_helper-guide__K5xFw__MPW+L\",\"inner\":\"style_inner__bMKeU__MPW+L\",\"content\":\"style_content__xTfWZ__MPW+L\",\"link\":\"style_link__93j7O__MPW+L\"};","import importMessages from \"./locale\";\nimport { IntlProvider } from \"@components/Intl\";\nimport Icon from \"@components/Icon\";\nimport { Space, Typography } from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\nimport Enum from \"@components/Enum\";\n\nconst HelperGuide = ({ name, className }) => {\n return (\n <IntlProvider importMessages={importMessages} moduleName=\"HelperGuide\">\n <Enum moduleName=\"helperGuide\" name={name}>\n {(data) => {\n return (\n data &&\n data.value && (\n <div className={classnames(style[\"helper-guide\"], className)}>\n <Space className={style[\"inner\"]}>\n <Icon colorful type=\"icon-color-bangzhuyindao\" />\n <span className={style[\"content\"]}>{data.content}</span>\n {data.url && (\n <Typography.Link\n className={style[\"link\"]}\n href={data.url}\n target=\"_blank\"\n >\n 查看帮助\n <Icon type=\"icon-shuangjiantou-right\" />\n </Typography.Link>\n )}\n </Space>\n </div>\n )\n );\n }}\n </Enum>\n </IntlProvider>\n );\n};\n\nexport default HelperGuide;\n"],"names":["preset","base","transform","value","description","result","locale","en-US","zh-CN","_ref","name","className","_jsx","IntlProvider","importMessages","moduleName","children","Enum","data","classnames","style","_jsxs","Space","Icon","colorful","type","content","url","Typography","Link","href","target"],"sourceRoot":""}
1
+ {"version":3,"file":"static/js/3790.bb02bbc3.chunk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AAWF,EACtC,OACEG,EAAAA,EAAAA,KAACC,EAAAA,aAAY,CAACC,eAAgBA,EAAgBC,WAAW,cAAaC,UACpEJ,EAAAA,EAAAA,KAACK,EAAAA,QAAI,CAACF,WAAW,cAAcL,KAAMA,EAAKM,SACtCE,GAEEA,GACAA,EAAKf,QACHS,EAAAA,EAAAA,KAAA,OAAKD,UAAWQ,IAAWC,EAAuBT,GAAWK,UAC3DK,EAAAA,EAAAA,MAACC,EAAAA,MAAK,CAACX,UAAWS,EAAeJ,SAAA,EAC/BJ,EAAAA,EAAAA,KAACW,EAAAA,QAAI,CAACC,UAAQ,EAACC,KAAK,8BACpBb,EAAAA,EAAAA,KAAA,QAAMD,UAAWS,EAAiBJ,SAAEE,EAAKQ,UACxCR,EAAKS,MACJN,EAAAA,EAAAA,MAACO,EAAAA,WAAWC,KAAI,CACdlB,UAAWS,EACXU,KAAMZ,EAAKS,IACXI,OAAO,SAAQf,SAAA,CAChB,4BAECJ,EAAAA,EAAAA,KAACW,EAAAA,QAAI,CAACE,KAAK,yC","sources":["components/Enum/index.js","components/HelperGuide/locale/index.js","webpack://@kne-components/components-core/./src/components/HelperGuide/style.module.scss?bc31","components/HelperGuide/index.js"],"sourcesContent":["import { preset } from \"@kne/react-enum\";\nimport transform from \"lodash/transform\";\n\nconst baseLoaders = [\n [\n \"gender\",\n () => [\n { value: \"M\", description: \"男\" },\n {\n value: \"F\",\n description: \"女\",\n },\n ],\n ],\n [\n \"marital\",\n () => [\n { description: \"已婚\", value: \"Y\" },\n {\n description: \"未婚\",\n value: \"N\",\n },\n ],\n ],\n [\n \"confirm\",\n () => [\n { description: \"是\", value: \"Y\" },\n {\n description: \"否\",\n value: \"N\",\n },\n ],\n ],\n [\n \"political\",\n () => [\n { description: \"中共党员\", value: \"中共党员\" },\n {\n description: \"共青团员\",\n value: \"共青团员\",\n },\n { description: \"群众\", value: \"群众\" },\n {\n description: \"其他党派\",\n value: \"其他党派\",\n },\n ],\n ],\n [\n \"phoneStateEnum\",\n () => [\n {\n value: 0,\n description: \"空号\",\n },\n {\n value: 1,\n description: \"实号\",\n },\n {\n value: 2,\n description: \"停机\",\n },\n {\n value: 3,\n description: \"库无\",\n },\n {\n value: 4,\n description: \"沉默号\",\n },\n {\n value: 5,\n description: \"风险号\",\n },\n ],\n ],\n [\n \"degreeEnum\",\n () => [\n {\n description: \"初中\",\n value: 10,\n },\n {\n description: \"中专\",\n value: 20,\n },\n {\n description: \"高中\",\n value: 30,\n },\n {\n description: \"大专\",\n value: 40,\n },\n {\n description: \"本科\",\n value: 50,\n },\n {\n description: \"硕士研究生\",\n value: 60,\n },\n {\n description: \"博士研究生\",\n value: 70,\n },\n {\n description: \"博士后\",\n value: 75,\n },\n {\n description: \"学历不限\",\n value: 999,\n },\n ],\n ],\n];\n\npreset({\n base: transform(\n baseLoaders,\n (result, value) => {\n result[value[0]] = value[1];\n },\n {}\n ),\n});\n\nexport { default } from \"@kne/react-enum\";\n","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","// extracted by mini-css-extract-plugin\nexport default {\"helper-guide\":\"style_helper-guide__K5xFw__WLZHg\",\"inner\":\"style_inner__bMKeU__WLZHg\",\"content\":\"style_content__xTfWZ__WLZHg\",\"link\":\"style_link__93j7O__WLZHg\"};","import importMessages from \"./locale\";\nimport { IntlProvider } from \"@components/Intl\";\nimport Icon from \"@components/Icon\";\nimport { Space, Typography } from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\nimport Enum from \"@components/Enum\";\n\nconst HelperGuide = ({ name, className }) => {\n return (\n <IntlProvider importMessages={importMessages} moduleName=\"HelperGuide\">\n <Enum moduleName=\"helperGuide\" name={name}>\n {(data) => {\n return (\n data &&\n data.value && (\n <div className={classnames(style[\"helper-guide\"], className)}>\n <Space className={style[\"inner\"]}>\n <Icon colorful type=\"icon-color-bangzhuyindao\" />\n <span className={style[\"content\"]}>{data.content}</span>\n {data.url && (\n <Typography.Link\n className={style[\"link\"]}\n href={data.url}\n target=\"_blank\"\n >\n 查看帮助\n <Icon type=\"icon-shuangjiantou-right\" />\n </Typography.Link>\n )}\n </Space>\n </div>\n )\n );\n }}\n </Enum>\n </IntlProvider>\n );\n};\n\nexport default HelperGuide;\n"],"names":["preset","base","transform","value","description","result","locale","en-US","zh-CN","_ref","name","className","_jsx","IntlProvider","importMessages","moduleName","children","Enum","data","classnames","style","_jsxs","Space","Icon","colorful","type","content","url","Typography","Link","href","target"],"sourceRoot":""}