@kne-components/components-core 0.4.54 → 0.4.57

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 (148) hide show
  1. package/build/asset-manifest.json +105 -105
  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/1742.a9e7d49d.chunk.css +2 -0
  6. package/build/static/css/{1742.e79072a8.chunk.css.map → 1742.a9e7d49d.chunk.css.map} +1 -1
  7. package/build/static/css/196.5f0ce7a6.chunk.css +2 -0
  8. package/build/static/css/196.5f0ce7a6.chunk.css.map +1 -0
  9. package/build/static/css/{1996.85987e0e.chunk.css → 1996.dbf20496.chunk.css} +2 -2
  10. package/build/static/css/{1996.85987e0e.chunk.css.map → 1996.dbf20496.chunk.css.map} +1 -1
  11. package/build/static/css/2004.656acb97.chunk.css +2 -0
  12. package/build/static/css/{2004.9bff62d6.chunk.css.map → 2004.656acb97.chunk.css.map} +1 -1
  13. package/build/static/css/2307.890877a5.chunk.css +2 -0
  14. package/build/static/css/{2307.0d93e2da.chunk.css.map → 2307.890877a5.chunk.css.map} +1 -1
  15. package/build/static/css/3404.31ba58c7.chunk.css +2 -0
  16. package/build/static/css/{3404.7f36bba2.chunk.css.map → 3404.31ba58c7.chunk.css.map} +1 -1
  17. package/build/static/css/{3771.a94c8f04.chunk.css → 3771.e7f37635.chunk.css} +2 -2
  18. package/build/static/css/{3771.a94c8f04.chunk.css.map → 3771.e7f37635.chunk.css.map} +1 -1
  19. package/build/static/css/{3790.7c72e431.chunk.css → 3790.cc8c138d.chunk.css} +2 -2
  20. package/build/static/css/{3790.7c72e431.chunk.css.map → 3790.cc8c138d.chunk.css.map} +1 -1
  21. package/build/static/css/5195.e8df8ddf.chunk.css +2 -0
  22. package/build/static/css/{5195.39b8533a.chunk.css.map → 5195.e8df8ddf.chunk.css.map} +1 -1
  23. package/build/static/css/5674.0f53f51b.chunk.css +2 -0
  24. package/build/static/css/{5674.ce22a30d.chunk.css.map → 5674.0f53f51b.chunk.css.map} +1 -1
  25. package/build/static/css/{5886.240a791a.chunk.css → 5886.30dadf9b.chunk.css} +2 -2
  26. package/build/static/css/5886.30dadf9b.chunk.css.map +1 -0
  27. package/build/static/css/{7569.ce87712d.chunk.css → 6086.02c4cedd.chunk.css} +2 -2
  28. package/build/static/css/6086.02c4cedd.chunk.css.map +1 -0
  29. package/build/static/css/{6763.40f12038.chunk.css → 6763.424b8c22.chunk.css} +2 -2
  30. package/build/static/css/{6763.40f12038.chunk.css.map → 6763.424b8c22.chunk.css.map} +1 -1
  31. package/build/static/css/7227.6cd9459f.chunk.css +2 -0
  32. package/build/static/css/{7227.4d63a4e5.chunk.css.map → 7227.6cd9459f.chunk.css.map} +1 -1
  33. package/build/static/css/{7589.444120ea.chunk.css → 7589.b8b3fd34.chunk.css} +2 -2
  34. package/build/static/css/{7589.444120ea.chunk.css.map → 7589.b8b3fd34.chunk.css.map} +1 -1
  35. package/build/static/css/{760.8d32feae.chunk.css → 760.f956ae3e.chunk.css} +2 -2
  36. package/build/static/css/{760.8d32feae.chunk.css.map → 760.f956ae3e.chunk.css.map} +1 -1
  37. package/build/static/css/7672.430c060a.chunk.css +2 -0
  38. package/build/static/css/{7672.51336d8a.chunk.css.map → 7672.430c060a.chunk.css.map} +1 -1
  39. package/build/static/css/7857.02416fcf.chunk.css +2 -0
  40. package/build/static/css/{7857.2ac048bb.chunk.css.map → 7857.02416fcf.chunk.css.map} +1 -1
  41. package/build/static/css/{8593.5864bd3c.chunk.css → 8593.b7a05105.chunk.css} +2 -2
  42. package/build/static/css/{8593.5864bd3c.chunk.css.map → 8593.b7a05105.chunk.css.map} +1 -1
  43. package/build/static/css/9096.aadfbff2.chunk.css +2 -0
  44. package/build/static/css/{9096.b1228f2f.chunk.css.map → 9096.aadfbff2.chunk.css.map} +1 -1
  45. package/build/static/css/9414.9f6558ea.chunk.css +2 -0
  46. package/build/static/css/{9414.7efe65e9.chunk.css.map → 9414.9f6558ea.chunk.css.map} +1 -1
  47. package/build/static/css/9556.b22490cc.chunk.css +2 -0
  48. package/build/static/css/{9556.3b50a158.chunk.css.map → 9556.b22490cc.chunk.css.map} +1 -1
  49. package/build/static/js/1180.e6414cfa.chunk.js +2 -0
  50. package/build/static/js/1180.e6414cfa.chunk.js.map +1 -0
  51. package/build/static/js/1742.7fa6dc3f.chunk.js +2 -0
  52. package/build/static/js/{1742.d4716818.chunk.js.map → 1742.7fa6dc3f.chunk.js.map} +1 -1
  53. package/build/static/js/{196.214579b7.chunk.js → 196.17367c48.chunk.js} +1 -1
  54. package/build/static/js/1996.254c4856.chunk.js +2 -0
  55. package/build/static/js/{1996.f88e88f4.chunk.js.map → 1996.254c4856.chunk.js.map} +1 -1
  56. package/build/static/js/{2004.e896032e.chunk.js → 2004.26575696.chunk.js} +3 -3
  57. package/build/static/js/{2004.e896032e.chunk.js.map → 2004.26575696.chunk.js.map} +1 -1
  58. package/build/static/js/{2242.1e19de78.chunk.js → 2242.639d5592.chunk.js} +2 -2
  59. package/build/static/js/2242.639d5592.chunk.js.map +1 -0
  60. package/build/static/js/2601.0cc3fb92.chunk.js +2 -0
  61. package/build/static/js/2601.0cc3fb92.chunk.js.map +1 -0
  62. package/build/static/js/{3404.cff999b5.chunk.js → 3404.a955d753.chunk.js} +3 -3
  63. package/build/static/js/{3404.cff999b5.chunk.js.map → 3404.a955d753.chunk.js.map} +1 -1
  64. package/build/static/js/{3771.c9023b55.chunk.js → 3771.8c912a37.chunk.js} +2 -2
  65. package/build/static/js/{3771.c9023b55.chunk.js.map → 3771.8c912a37.chunk.js.map} +1 -1
  66. package/build/static/js/{3790.ae8df47f.chunk.js → 3790.f227673d.chunk.js} +2 -2
  67. package/build/static/js/{3790.ae8df47f.chunk.js.map → 3790.f227673d.chunk.js.map} +1 -1
  68. package/build/static/js/3856.cbaff1f3.chunk.js +2 -0
  69. package/build/static/js/{3856.40bca91c.chunk.js.map → 3856.cbaff1f3.chunk.js.map} +1 -1
  70. package/build/static/js/4474.3a3ee34e.chunk.js +2 -0
  71. package/build/static/js/4474.3a3ee34e.chunk.js.map +1 -0
  72. package/build/static/js/{4982.ebb54392.chunk.js → 4982.9d4741ff.chunk.js} +2 -2
  73. package/build/static/js/4982.9d4741ff.chunk.js.map +1 -0
  74. package/build/static/js/5195.1c77ed62.chunk.js +2 -0
  75. package/build/static/js/{5195.f8690f3d.chunk.js.map → 5195.1c77ed62.chunk.js.map} +1 -1
  76. package/build/static/js/{5674.0e83ef65.chunk.js → 5674.066ef6ac.chunk.js} +2 -2
  77. package/build/static/js/{5674.0e83ef65.chunk.js.map → 5674.066ef6ac.chunk.js.map} +1 -1
  78. package/build/static/js/{7569.fb3b67eb.chunk.js → 6086.de95d820.chunk.js} +2 -2
  79. package/build/static/js/{7569.fb3b67eb.chunk.js.map → 6086.de95d820.chunk.js.map} +1 -1
  80. package/build/static/js/{6453.9d92cb2b.chunk.js → 6453.4791ad76.chunk.js} +2 -2
  81. package/build/static/js/6453.4791ad76.chunk.js.map +1 -0
  82. package/build/static/js/6763.254ed2cd.chunk.js +2 -0
  83. package/build/static/js/{6763.391c898c.chunk.js.map → 6763.254ed2cd.chunk.js.map} +1 -1
  84. package/build/static/js/{7227.3437df8a.chunk.js → 7227.80984ee8.chunk.js} +3 -3
  85. package/build/static/js/{7227.3437df8a.chunk.js.map → 7227.80984ee8.chunk.js.map} +1 -1
  86. package/build/static/js/{7459.2107b74d.chunk.js → 7459.1bd15405.chunk.js} +2 -2
  87. package/build/static/js/{7459.2107b74d.chunk.js.map → 7459.1bd15405.chunk.js.map} +1 -1
  88. package/build/static/js/{7589.a82e22ec.chunk.js → 7589.affbfe09.chunk.js} +2 -2
  89. package/build/static/js/{7589.a82e22ec.chunk.js.map → 7589.affbfe09.chunk.js.map} +1 -1
  90. package/build/static/js/760.b5b1b5c1.chunk.js +2 -0
  91. package/build/static/js/{760.13bfaff3.chunk.js.map → 760.b5b1b5c1.chunk.js.map} +1 -1
  92. package/build/static/js/{7672.aff3f965.chunk.js → 7672.13077ba4.chunk.js} +2 -2
  93. package/build/static/js/{7672.aff3f965.chunk.js.map → 7672.13077ba4.chunk.js.map} +1 -1
  94. package/build/static/js/7857.3fe96dcc.chunk.js +2 -0
  95. package/build/static/js/{7857.16e03425.chunk.js.map → 7857.3fe96dcc.chunk.js.map} +1 -1
  96. package/build/static/js/8103.8912fc44.chunk.js +3 -0
  97. package/build/static/js/8103.8912fc44.chunk.js.map +1 -0
  98. package/build/static/js/8593.21d30c61.chunk.js +2 -0
  99. package/build/static/js/{8593.df77c39f.chunk.js.map → 8593.21d30c61.chunk.js.map} +1 -1
  100. package/build/static/js/{9096.f952ad5c.chunk.js → 9096.f0020023.chunk.js} +2 -2
  101. package/build/static/js/{9096.f952ad5c.chunk.js.map → 9096.f0020023.chunk.js.map} +1 -1
  102. package/build/static/js/{9414.880b79cd.chunk.js → 9414.ad7c0c83.chunk.js} +2 -2
  103. package/build/static/js/{9414.880b79cd.chunk.js.map → 9414.ad7c0c83.chunk.js.map} +1 -1
  104. package/build/static/js/{9556.211b1290.chunk.js → 9556.7af66a1d.chunk.js} +3 -3
  105. package/build/static/js/{9556.211b1290.chunk.js.map → 9556.7af66a1d.chunk.js.map} +1 -1
  106. package/build/static/js/{main.4c42690f.js → main.6fb86b69.js} +2 -2
  107. package/build/static/js/{main.4c42690f.js.map → main.6fb86b69.js.map} +1 -1
  108. package/package.json +4 -4
  109. package/build/static/css/1742.e79072a8.chunk.css +0 -2
  110. package/build/static/css/196.f9f2d227.chunk.css +0 -2
  111. package/build/static/css/196.f9f2d227.chunk.css.map +0 -1
  112. package/build/static/css/2004.9bff62d6.chunk.css +0 -2
  113. package/build/static/css/2307.0d93e2da.chunk.css +0 -2
  114. package/build/static/css/3404.7f36bba2.chunk.css +0 -2
  115. package/build/static/css/5195.39b8533a.chunk.css +0 -2
  116. package/build/static/css/5674.ce22a30d.chunk.css +0 -2
  117. package/build/static/css/5886.240a791a.chunk.css.map +0 -1
  118. package/build/static/css/7227.4d63a4e5.chunk.css +0 -2
  119. package/build/static/css/7569.ce87712d.chunk.css.map +0 -1
  120. package/build/static/css/7672.51336d8a.chunk.css +0 -2
  121. package/build/static/css/7857.2ac048bb.chunk.css +0 -2
  122. package/build/static/css/9096.b1228f2f.chunk.css +0 -2
  123. package/build/static/css/9414.7efe65e9.chunk.css +0 -2
  124. package/build/static/css/9556.3b50a158.chunk.css +0 -2
  125. package/build/static/js/1180.c0e9b64a.chunk.js +0 -2
  126. package/build/static/js/1180.c0e9b64a.chunk.js.map +0 -1
  127. package/build/static/js/1742.d4716818.chunk.js +0 -2
  128. package/build/static/js/1996.f88e88f4.chunk.js +0 -2
  129. package/build/static/js/2242.1e19de78.chunk.js.map +0 -1
  130. package/build/static/js/2601.8d6ee7f1.chunk.js +0 -2
  131. package/build/static/js/2601.8d6ee7f1.chunk.js.map +0 -1
  132. package/build/static/js/3856.40bca91c.chunk.js +0 -2
  133. package/build/static/js/4474.0deeb78a.chunk.js +0 -2
  134. package/build/static/js/4474.0deeb78a.chunk.js.map +0 -1
  135. package/build/static/js/4982.ebb54392.chunk.js.map +0 -1
  136. package/build/static/js/5195.f8690f3d.chunk.js +0 -2
  137. package/build/static/js/6453.9d92cb2b.chunk.js.map +0 -1
  138. package/build/static/js/6763.391c898c.chunk.js +0 -2
  139. package/build/static/js/760.13bfaff3.chunk.js +0 -2
  140. package/build/static/js/7746.6492ef40.chunk.js +0 -3
  141. package/build/static/js/7746.6492ef40.chunk.js.map +0 -1
  142. package/build/static/js/7857.16e03425.chunk.js +0 -2
  143. package/build/static/js/8593.df77c39f.chunk.js +0 -2
  144. /package/build/static/js/{2004.e896032e.chunk.js.LICENSE.txt → 2004.26575696.chunk.js.LICENSE.txt} +0 -0
  145. /package/build/static/js/{3404.cff999b5.chunk.js.LICENSE.txt → 3404.a955d753.chunk.js.LICENSE.txt} +0 -0
  146. /package/build/static/js/{7227.3437df8a.chunk.js.LICENSE.txt → 7227.80984ee8.chunk.js.LICENSE.txt} +0 -0
  147. /package/build/static/js/{7746.6492ef40.chunk.js.LICENSE.txt → 8103.8912fc44.chunk.js.LICENSE.txt} +0 -0
  148. /package/build/static/js/{9556.211b1290.chunk.js.LICENSE.txt → 9556.7af66a1d.chunk.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"static/js/7459.2107b74d.chunk.js","mappings":"mIAAA,IAAIA,EAAaC,EAAQ,OACrBC,EAAeD,EAAQ,OACvBE,EAAeF,EAAQ,OAMvBG,EAAYC,SAASC,UACrBC,EAAcC,OAAOF,UAGrBG,EAAeL,EAAUM,SAGzBC,EAAiBJ,EAAYI,eAG7BC,EAAmBH,EAAaI,KAAKL,QA2CzCM,EAAOC,QAbP,SAAuBC,GACrB,IAAKb,EAAaa,IA5CJ,mBA4CchB,EAAWgB,GACrC,OAAO,EAET,IAAIC,EAAQf,EAAac,GACzB,GAAc,OAAVC,EACF,OAAO,EAET,IAAIC,EAAOP,EAAeE,KAAKI,EAAO,gBAAkBA,EAAME,YAC9D,MAAsB,mBAARD,GAAsBA,aAAgBA,GAClDT,EAAaI,KAAKK,IAASN,CAC/B,C,WClCAE,EAAOC,QANP,SAAkBC,GAChB,OAAO,WACL,OAAOA,CACT,CACF,C,eCvBA,IAAII,EAAQnB,EAAQ,MAChBoB,EAAmBpB,EAAQ,OAC3BqB,EAAUrB,EAAQ,OAClBsB,EAAgBtB,EAAQ,OACxBuB,EAAWvB,EAAQ,OACnBwB,EAASxB,EAAQ,OACjByB,EAAUzB,EAAQ,OAmCtBa,EAAOC,QAtBP,SAASY,EAAUC,EAAQC,EAAQC,EAAUC,EAAYC,GACnDJ,IAAWC,GAGfP,EAAQO,EAAQ,SAASI,EAAUC,GAEjC,GADAF,IAAUA,EAAQ,IAAIZ,GAClBI,EAASS,GACXV,EAAcK,EAAQC,EAAQK,EAAKJ,EAAUH,EAAWI,EAAYC,OAEjE,CACH,IAAIG,EAAWJ,EACXA,EAAWL,EAAQ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AAKK,WAAMV,EAAWwC,UAC/B,CACF,C,eClCA,IAAIuV,EAAala,EAAQ,OACrBwB,EAASxB,EAAQ,OA8BrBa,EAAOC,QAJP,SAAuBC,GACrB,OAAOmZ,EAAWnZ,EAAOS,EAAOT,GAClC,C,eC7BA,IAaIM,EAbgBrB,EAAQ,MAadma,GAEdtZ,EAAOC,QAAUO,C","sources":["../node_modules/lodash/isPlainObject.js","../node_modules/lodash/constant.js","../node_modules/lodash/_baseMerge.js","../node_modules/lodash/_baseSetToString.js","../node_modules/lodash/_apply.js","../node_modules/lodash/identity.js","../node_modules/lodash/merge.js","../node_modules/lodash/_setToString.js","../node_modules/@kne/text-width/src/index.js","../node_modules/@kne/local-storage/src/index.js","../node_modules/@kne/react-form-helper/src/hooks/useBlurDecorator.js","../node_modules/@kne/react-form-helper/src/hooks/useChangeDecorator.js","../node_modules/@kne/react-form-helper/src/widget/MaxLabelProvider.js","../node_modules/@kne/react-form-helper/src/widget/SizeProvider.js","../node_modules/@kne/react-form-helper/src/hooks/useFieldProps.js","../node_modules/@kne/react-form-helper/src/hooks/useUIDecorator.js","../node_modules/@kne/react-form-helper/src/preset.js","../node_modules/@kne/react-form-helper/src/hooks/useDecorator.js","../node_modules/@kne/react-form-helper/src/index.js","../node_modules/@kne/react-form-helper/src/hooks/useCheckedToValue.js","../node_modules/@kne/react-form-helper/src/hooks/useCacheRemove.js","../node_modules/@kne/react-form-helper/src/widget/ScrollToError.js","../node_modules/@kne/react-form-helper/src/widget/EnterSubmit.js","../node_modules/@kne/react-form-helper/src/widget/FormStore.js","../node_modules/lodash/_safeGet.js","../node_modules/lodash/_overRest.js","../node_modules/lodash/_baseRest.js","../node_modules/lodash/_createBaseFor.js","../node_modules/lodash/_isIterateeCall.js","../node_modules/lodash/_assignMergeValue.js","../node_modules/lodash/isArrayLikeObject.js","../node_modules/@kne/react-form-antd/src/preset.js","../node_modules/@kne/react-form-antd/src/Form.js","../node_modules/@kne/react-form-antd/src/fields/TreeSelect.js","../node_modules/@kne/react-form-antd/src/fields/TimePicker.js","../node_modules/@kne/react-form-antd/src/fields/TextArea.js","../node_modules/@kne/react-form-antd/src/fields/Switch.js","../node_modules/@kne/react-form-antd/src/fields/Select.js","../node_modules/@kne/react-form-antd/src/fields/RadioGroup.js","../node_modules/@kne/react-form-antd/src/fields/InputNumber.js","../node_modules/@kne/react-form-antd/src/fields/Input.js","../node_modules/@kne/react-form-antd/src/fields/DatePickerToday.js","../node_modules/@kne/react-form-antd/src/fields/DatePicker.js","../node_modules/@kne/react-form-antd/src/fields/CheckboxGroup.js","../node_modules/@kne/react-form-antd/src/fields/Checkbox.js","../node_modules/@kne/react-form-antd/src/fields/Cascader.js","../node_modules/@kne/react-form-antd/src/fields/Rate.js","../node_modules/@kne/react-form-antd/src/fields/Slider.js","../node_modules/@kne/react-form-antd/src/ResetButton.js","../node_modules/@kne/react-form-antd/src/SubmitButton.js","../node_modules/@kne/react-form-antd/src/CancelButton.js","../node_modules/@kne/react-form-antd/src/index.js","../node_modules/lodash/_baseMergeDeep.js","../node_modules/lodash/_createAssigner.js","../node_modules/lodash/_shortOut.js","../node_modules/lodash/toPlainObject.js","../node_modules/lodash/_baseFor.js"],"sourcesContent":["var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","var Stack = require('./_Stack'),\n assignMergeValue = require('./_assignMergeValue'),\n baseFor = require('./_baseFor'),\n baseMergeDeep = require('./_baseMergeDeep'),\n isObject = require('./isObject'),\n keysIn = require('./keysIn'),\n safeGet = require('./_safeGet');\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n","var constant = require('./constant'),\n defineProperty = require('./_defineProperty'),\n identity = require('./identity');\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n","/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","var baseMerge = require('./_baseMerge'),\n createAssigner = require('./_createAssigner');\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n","var baseSetToString = require('./_baseSetToString'),\n shortOut = require('./_shortOut');\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n","/**\n * @name: text-width ;\n * @author: lingtong ;\n * @description: 获取字符串宽度 ;\n * */\nimport memoize from 'lodash/memoize';\n\nexport default memoize((text, fontSize, options) => {\n const {fontFamily, fontWeight} = Object.assign({fontFamily: 'Arial', fontWeight: 'normal'}, options);\n const canvas = document.createElement('canvas'),\n ctx = canvas.getContext('2d');\n ctx.font = `${fontSize} ${fontFamily} ${fontWeight}`;\n return ctx.measureText(text).width;\n}, (text, fontSize, options) => {\n const obj = Object.assign({}, options, {text, fontSize});\n return Object.keys(obj).map((key) => `${key}-${obj[key]}`).join(',');\n});\n","const localStorage = {\n cache: async (key, getValue, expire = null) => {\n let value = localStorage.getItem(key);\n if (value) {\n return value;\n }\n value = await getValue();\n localStorage.setItem(key, value, expire);\n return value;\n },\n getItem: key => {\n const target = window.localStorage.getItem(key);\n try {\n const { dataType, value, expire } = JSON.parse(target);\n\n if (expire && Date.now() > expire) {\n localStorage.removeItem(key);\n return null;\n }\n\n if (dataType === 'object' && value === 'null') {\n return null;\n }\n if (dataType === 'undefined') {\n return void 0;\n }\n if (dataType === 'number') {\n return Number(value);\n }\n if (dataType === 'boolean') {\n return Boolean(value);\n }\n return value;\n } catch (e) {\n return null;\n }\n },\n setItem: (key, value, expire = null) => {\n const dataType = typeof value;\n window.localStorage.setItem(key, JSON.stringify({ dataType, value, expire }));\n },\n removeItem: key => {\n window.localStorage.removeItem(key);\n }\n};\n\nexport default localStorage;\n","import {useCallback} from 'react';\n\nconst useBlurDecorator = ({triggerValidate, onBlur, ...others}) => {\n const handlerBlur = useCallback((...args) => {\n onBlur && onBlur(...args);\n triggerValidate();\n }, [onBlur, triggerValidate]);\n return {\n onBlur: handlerBlur,\n ...others\n };\n};\n\nexport default useBlurDecorator;","import { useRef, useEffect, useCallback } from 'react';\n\nconst useChangeDecorator = ({ triggerValidate, value, onChange, ...others }) => {\n const hasChanged = useRef(false),\n validate = useRef(triggerValidate);\n const handlerChange = useCallback(\n (...args) => {\n onChange && onChange(...args);\n hasChanged.current = true;\n },\n [onChange]\n );\n validate.current = triggerValidate;\n useEffect(() => {\n hasChanged.current && validate.current();\n }, [value]);\n\n return {\n value,\n onChange: handlerChange,\n ...others\n };\n};\n\nexport default useChangeDecorator;\n","import React, { useState, useContext, createContext, useLayoutEffect, useRef } from 'react';\nimport textWidth from '@kne/text-width';\nimport { useFormContext } from '@kne/react-form';\nimport { uniq } from 'lodash';\n\nconst context = createContext({});\n\nconst { Provider } = context;\n\nexport const useMaxLabelWidth = () => {\n const { maxWidth } = useContext(context);\n return maxWidth;\n};\n\nconst MaxLabelProvider = ({ minLabelWidth, children }) => {\n const [maxWidth, setMaxWidth] = useState(minLabelWidth || 0);\n const { fields } = useFormContext();\n const root = useRef(null);\n useLayoutEffect(() => {\n const label = root.current.querySelector('.react-form__field-label') || root.current;\n const fontSize = window.getComputedStyle(label).getPropertyValue('font-size');\n setMaxWidth(\n Math.max(\n ...uniq(\n [].map.call(root.current.querySelectorAll('.react-form__field-label'), item => {\n return item.innerText;\n })\n ).map(str => textWidth(str, fontSize))\n )\n );\n }, [fields]);\n return (\n <Provider value={{ maxWidth, setMaxWidth }}>\n <span ref={root}>{children}</span>\n </Provider>\n );\n};\n\nexport default MaxLabelProvider;\n","import {createContext, useContext} from 'react';\n\nconst context = createContext({size: 'middle'});\n\nconst {Provider, Consumer} = context;\n\nexport const useFormSize = () => {\n const {size} = useContext(context);\n return size;\n};\n\nexport default Provider;","import React, { createContext, useContext } from 'react';\n\nconst context = createContext({});\n\nconst useFieldProps = () => {\n return useContext(context);\n};\n\nconst { Provider } = context;\n\nexport const FieldPropsProvider = ({ props, children }) => {\n return <Provider value={props}>{children}</Provider>;\n};\n\nexport default useFieldProps;\n","import React, { useState, useCallback, useEffect } from 'react';\nimport classnames from 'classnames';\nimport { useMaxLabelWidth } from '../widget/MaxLabelProvider';\nimport { useFormContext } from '@kne/react-form';\nimport { useFormSize } from '../widget/SizeProvider';\nimport { FieldPropsProvider } from './useFieldProps';\n\nconst computedErrorClassName = ({ errMsg, errState, isSubmit, isValueChanged }) => {\n return {\n 'is-req-error': errMsg === '' && errState === 2 && (isSubmit || isValueChanged),\n 'is-error': errMsg !== '' && errState === 2,\n 'is-loading': errState === 3\n };\n};\n\nconst useUIDecorator = props => {\n const {\n id,\n name,\n rule,\n description,\n className,\n onChange,\n label,\n labelRender,\n labelTips,\n labelHidden,\n errMsg,\n errState,\n isValueChanged,\n wrappedClassName,\n fieldRef,\n important,\n ignoreLabelWidth,\n formState,\n groupIndex,\n groupName,\n formData,\n associationOptions,\n ...others\n } = props;\n const size = useFormSize();\n const [isREQ, setIsREQ] = useState(false),\n [isSubmit, setIsSubmit] = useState(false);\n const { emitter } = useFormContext();\n const labelWidth = useMaxLabelWidth();\n useEffect(() => {\n typeof rule === 'string' && setIsREQ((rule || '').split(' ').indexOf('REQ') > -1);\n }, [setIsREQ, name, rule]);\n\n //当表单提交时设置状态\n useEffect(() => {\n const subscription = emitter.addListener('form:submit', () => {\n setIsSubmit(true);\n });\n return () => {\n subscription && subscription.remove();\n };\n }, [emitter]);\n\n const handlerChange = useCallback(\n (...args) => {\n onChange(...args);\n setIsSubmit(false);\n },\n [onChange, setIsSubmit]\n );\n\n return useCallback(\n WrappedComponent => {\n const style = {};\n\n if (!ignoreLabelWidth && labelWidth > 0) {\n style.minWidth = labelWidth;\n }\n\n const stateClassName = computedErrorClassName({ errMsg, errState, isSubmit, isValueChanged });\n const isReq = important !== void 0 ? important : isREQ;\n if (size) {\n others.size = size;\n }\n return (\n <div\n ref={fieldRef}\n className={classnames(\n 'react-form__field',\n {\n 'is-ignore-label-width': ignoreLabelWidth\n },\n wrappedClassName,\n stateClassName\n )}\n >\n <div className=\"react-form__field-main\">\n {label && !labelHidden ? (\n <div className={classnames('react-form__field-label', { 'is-req': isReq })} style={style}>\n <i className=\"react-form__field_extra\" />\n {typeof labelRender === 'function' ? labelRender({ label, ...others }) : label}\n {labelTips && <span className=\"react-form__field_label-tips\">{typeof labelTips === 'function' ? labelTips(props) : labelTips}</span>}\n </div>\n ) : null}\n <div className=\"react-form__field-input\">\n <FieldPropsProvider props={props}>\n <WrappedComponent {...Object.assign({}, others, associationOptions)} className={classnames('react-form__field-component', className)} onChange={handlerChange} />\n {description ? <div className=\"react-form__field-describable\">{description}</div> : null}\n {errMsg ? <div className=\"react-form__field-error\">{errMsg}</div> : null}\n </FieldPropsProvider>\n </div>\n </div>\n </div>\n );\n },\n [labelWidth, fieldRef, labelHidden, ignoreLabelWidth, others, associationOptions, isValueChanged, className, errMsg, errState, handlerChange, important, isREQ, isSubmit, label, wrappedClassName]\n );\n};\n\nexport default useUIDecorator;\n","import merge from 'lodash/merge';\n\nexport const globalParams = {\n field: {}\n};\n\nexport default props => {\n merge(globalParams, props);\n};\n","import { useField } from '@kne/react-form';\nimport useUIDecorator from './useUIDecorator';\nimport useBlurDecorator from './useBlurDecorator';\nimport useChangeDecorator from './useChangeDecorator';\nimport { globalParams } from '../preset';\n\nconst defaultPropsAssign = ({ fieldName, ...props }) => {\n return Object.assign({}, globalParams.globalProps, globalParams.field[fieldName], props);\n};\n\nconst useDecorator = ({ realtime, ...props }) => {\n const fieldProps = useField(defaultPropsAssign(Object.assign(realtime ? { debounce: 500 } : {}, props))),\n changeProps = useChangeDecorator(fieldProps),\n blurProps = useBlurDecorator(fieldProps),\n realtimeProps = Object.assign({}, blurProps, changeProps);\n return useUIDecorator(realtime ? realtimeProps : blurProps);\n};\n\nexport default useDecorator;\n\nexport const useOnChange = props => {\n const fieldProps = useField(defaultPropsAssign(props)),\n changeProps = useChangeDecorator(fieldProps);\n return useUIDecorator(changeProps);\n};\n\nexport const useOnBlur = props => {\n const fieldProps = useField(defaultPropsAssign(props)),\n blurProps = useBlurDecorator(fieldProps);\n return useUIDecorator(blurProps);\n};\n","import useBlurDecorator from './hooks/useBlurDecorator';\nimport useChangeDecorator from './hooks/useChangeDecorator';\nimport useCheckedToValue, { withChecked } from './hooks/useCheckedToValue';\nimport useDecorator, { useOnBlur, useOnChange } from './hooks/useDecorator';\nimport useUIDecorator from './hooks/useUIDecorator';\nimport useCacheRemove from './hooks/useCacheRemove';\nimport useFieldProps from './hooks/useFieldProps';\nimport ScrollToError from './widget/ScrollToError';\nimport EnterSubmit from './widget/EnterSubmit';\nimport MaxLabelProvider from './widget/MaxLabelProvider';\nimport SizeProvider from './widget/SizeProvider';\nimport FormStore from './widget/FormStore';\nimport { useField } from '@kne/react-form';\n\nexport const hooks = {\n useField,\n useFieldProps,\n useBlurDecorator,\n useChangeDecorator,\n useCheckedToValue,\n useDecorator,\n useOnBlur,\n useOnChange,\n useUIDecorator,\n useCacheRemove\n};\n\nexport const hoc = {\n withChecked\n};\n\nexport const widget = {\n ScrollToError,\n EnterSubmit,\n MaxLabelProvider,\n FormStore,\n SizeProvider\n};\n\nexport const utils = {};\n\nconst api = {\n hooks,\n hoc,\n widget,\n utils\n};\n\nexport { default as preset } from './preset';\n\nexport default api;\n","import React from 'react';\n\nconst useCheckedToValue = ({checked, ...props}) => {\n return {\n ...props,\n value: checked\n };\n};\n\nexport default useCheckedToValue;\n\nexport const withChecked = (WrappedComponent) => {\n return ({value, ...props}) => <WrappedComponent {...props} checked={value}/>\n};","import { useFormContext } from '@kne/react-form';\n\nconst useCacheRemove = () => {\n const { emitter } = useFormContext();\n return () => {\n emitter.emit('form-widget:store:remove');\n };\n};\n\nexport default useCacheRemove;\n","import { useEffect } from 'react';\nimport { useFormContext } from '@kne/react-form';\nimport { get } from 'lodash';\n\nconst ScrollToError = ({ scrollProps = {} }) => {\n const { emitter } = useFormContext();\n useEffect(() => {\n const subscription = emitter.addListener('form:submit:error', errors => {\n const el = get(errors, '[0].fieldRef.current');\n el && typeof el.scrollIntoView === 'function' && el.scrollIntoView(scrollProps);\n });\n return () => {\n subscription && subscription.remove();\n };\n }, [emitter]);\n\n return null;\n};\n\nexport default ScrollToError;\n","import React, { useCallback } from 'react';\nimport { useFormContext } from '@kne/react-form';\n\nconst EnterSubmit = ({ type = 'div', children, ...props }) => {\n const { emitter } = useFormContext();\n const handlerKeyUp = useCallback(e => {\n if (e.keyCode === 13) {\n emitter.emit('form:submit');\n }\n }, [emitter]);\n\n return React.createElement(type, Object.assign({}, props, {\n onKeyUp: handlerKeyUp\n }), children);\n};\n\nexport default EnterSubmit;\n","import { useEffect, useRef } from 'react';\nimport { useFormContext } from '@kne/react-form';\nimport localStorage from '@kne/local-storage';\n\n\nconst FormStore = ({ cache }) => {\n const name = useRef(`REACT_FORM_STORE_${cache}`);\n const fieldsRef = useRef(new Map());\n const { emitter, openApi } = useFormContext();\n useEffect(() => {\n const data = localStorage.getItem(name.current) || {};\n\n const subscriptionFieldReady = emitter.addListener('form:field:ready', (field) => {\n if (data[field.path]) {\n emitter.emit(`form-field:input:${field.id}`, { value: data[field.path].value });\n }\n });\n\n const subscriptionChange = emitter.addListener('form:field:set-value', ({ id, value, path }) => {\n if (value === void 0) {\n return;\n }\n fieldsRef.current.set(id, { id, value, path });\n const preData = Object.assign({}, localStorage.getItem(name.current));\n preData[path] = { id, value, path };\n localStorage.setItem(name.current, preData);\n });\n\n const subscriptionSubmit = emitter.addListener('form:submit:success', () => {\n localStorage.removeItem(name.current);\n });\n\n const subscriptionRemove = emitter.addListener('form-widget:store:remove', () => {\n localStorage.removeItem(name.current);\n });\n\n return () => {\n subscriptionFieldReady && subscriptionFieldReady.remove();\n subscriptionChange && subscriptionChange.remove();\n subscriptionSubmit && subscriptionSubmit.remove();\n subscriptionRemove && subscriptionRemove.remove();\n };\n }, [emitter]);\n return null;\n};\n\nexport default FormStore;\n","/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n","var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n","var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n","var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n","var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n","import {preset as presetRules} from '@kne/react-form';\nimport merge from 'lodash/merge';\nimport {preset as formHelperPreset} from '@kne/react-form-helper';\n\nexport const globalParams = {\n type: 'default', size: 'middle', rules: {}, formModal: {}, resetButton: {}, submitButton: {}, field: {}\n};\n\nexport default (props) => {\n const defaultProps = {};\n merge(globalParams, props);\n Object.keys(globalParams.field).forEach((name) => {\n defaultProps[name] = (globalParams.field[name] || {}).defaultProps;\n });\n formHelperPreset({\n field: defaultProps, globalProps: globalParams.globalProps\n });\n presetRules(globalParams.rules);\n};\n","import React, {forwardRef} from 'react';\nimport classnames from 'classnames';\nimport ReactForm from '@kne/react-form';\nimport {widget} from '@kne/react-form-helper';\nimport './assets/index.scss';\nimport {globalParams} from './preset';\n\nexport * from '@kne/react-form';\nexport {hooks, widget, utils, hoc} from '@kne/react-form-helper';\n\nconst {ScrollToError, EnterSubmit, FormStore, MaxLabelProvider, SizeProvider} = widget;\n\nconst Form = forwardRef((originProps, ref) => {\n const {\n className, cache, enterSubmit = false, scrollToError = true, scrollProps = {\n block: 'center'\n }, type: originType, size: originSize, children, ...props\n } = originProps;\n const baseClass = 'react-form';\n let computedClass = baseClass;\n const {type, size} = Object.assign({\n type: 'default', size: 'middle'\n }, globalParams, originProps);\n if (type !== 'default') {\n computedClass += `--${type}`;\n }\n\n if (size !== 'middle') {\n computedClass += `--${size}`;\n }\n\n const maxLabel = <MaxLabelProvider>\n {children}\n </MaxLabelProvider>;\n\n return (<form className={classnames(baseClass, computedClass, className)} onSubmit={(e) => {\n e.preventDefault();\n e.stopPropagation();\n }}>\n <SizeProvider value={{size}}>\n <ReactForm {...props} ref={ref}>\n {cache ? <FormStore cache={cache}/> : null}\n {scrollToError ? <ScrollToError scrollProps={scrollProps}/> : null}\n {enterSubmit ? <EnterSubmit>\n {maxLabel}\n </EnterSubmit> : maxLabel}\n </ReactForm>\n </SizeProvider>\n </form>);\n});\n\n/*Form.propTypes = {\n className: PropTypes.string,\n type: PropTypes.oneOf(['inline', 'default', 'inner']),\n size: PropTypes.oneOf(['small', 'middle', 'large']),\n enterSubmit: PropTypes.bool,\n scrollToError: PropTypes.bool,\n scrollProps: PropTypes.shape({\n block: PropTypes.oneOf(['start', 'center', 'end', 'nearest']),\n behavior: PropTypes.oneOf(['auto', 'smooth']),\n inline: PropTypes.oneOf(['start', 'center', 'end', 'nearest'])\n })\n};*/\n\nexport default Form;\n","import {TreeSelect} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst _TreeSelect = (props) => {\n props = Object.assign({}, {\n fieldName: 'treeSelect'\n }, props);\n const render = useOnChange(Object.assign({placeholder: `请选择${props.label || ''}`}, props));\n return render(TreeSelect);\n};\n\n_TreeSelect.Field = TreeSelect;\n\n_TreeSelect.TreeNode = TreeSelect.TreeNode;\n\nexport default _TreeSelect;\n","import {TimePicker} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst {RangePicker} = TimePicker;\n\nconst _TimePicker = (props) => {\n props = Object.assign({}, {\n fieldName: 'timePicker'\n }, props);\n const render = useOnChange(Object.assign({placeholder: `请选择${props.label || ''}`}, props));\n return render(TimePicker);\n};\n\n_TimePicker.Field = TimePicker;\n\nconst _RangePicker = (props) => {\n props = Object.assign({}, {\n fieldName: 'rangeTimePicker'\n }, props);\n const render = useOnChange(Object.assign({placeholder: `请选择${props.label || ''}`}, props));\n return render(RangePicker);\n};\n\n_RangePicker.Field = RangePicker;\n\n_TimePicker.RangePicker = _RangePicker;\n\nexport default _TimePicker;\n","import {Input} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useDecorator} = hooks;\n\nconst TextArea = (props) => {\n props = Object.assign({}, {\n fieldName: 'textArea'\n }, props);\n const render = useDecorator(Object.assign({placeholder: `请输入${props.label}`}, props));\n return render(Input.TextArea);\n};\n\nTextArea.Field = Input.TextArea;\n\nexport default TextArea;\n","import {Switch as _Switch} from 'antd';\nimport {hooks, hoc} from '@kne/react-form-helper';\n\nconst {useOnChange, useCheckedToValue} = hooks;\nconst {withChecked} = hoc;\nconst WithSwitch = withChecked(_Switch);\n\nconst Switch = (props) => {\n props = Object.assign({}, {\n fieldName: 'switch'\n }, props);\n const checkedProps = useCheckedToValue(props);\n const render = useOnChange(checkedProps);\n return render(WithSwitch);\n};\n\nSwitch.Field = _Switch;\n\nexport default Switch;\n","import {Select} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst _Select = (props) => {\n props = Object.assign({}, {\n fieldName: 'select'\n }, props);\n const render = useOnChange(Object.assign({placeholder: `请选择${props.label || ''}`}, props));\n return render(Select);\n};\n_Select.Field = Select;\n_Select.Option = Select.Option;\n_Select.OptGroup = Select.OptGroup;\n\nexport default _Select;\n","import React, {useCallback} from 'react';\nimport {Radio} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst RadioGroup = ({onChange, ...props}) => {\n props = Object.assign({}, {\n fieldName: 'radioGroup'\n }, props);\n const handler = useCallback((e) => {\n onChange && onChange(e.target.value);\n }, [onChange]);\n return <Radio.Group {...props} onChange={handler}/>\n};\n\nconst _RadioGroup = (props) => {\n const render = useOnChange(props);\n return render(RadioGroup);\n};\n\n_RadioGroup.Field = RadioGroup;\n_RadioGroup.Radio = Radio;\n\nexport default _RadioGroup;\n","import {InputNumber} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useDecorator} = hooks;\n\nconst InputNumberField = (props) => {\n props = Object.assign({}, {\n fieldName: 'inputNumber', autoComplete: 'off'\n }, props);\n const render = useDecorator(Object.assign({placeholder: `请输入${props.label}`}, props));\n return render(InputNumber);\n};\n\nInputNumberField.Field = InputNumber;\n\nexport default InputNumberField;\n","import {Input} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useDecorator} = hooks;\n\nconst InputField = (props) => {\n props = Object.assign({}, {\n fieldName: 'input', autoComplete: 'off'\n }, props);\n const render = useDecorator(Object.assign({placeholder: `请输入${props.label}`}, props));\n return render(Input);\n};\n\nInputField.Field = Input;\n\nInputField.Password = (props) => {\n props = Object.assign({}, {\n fieldName: 'password', autoComplete: 'off'\n }, props);\n const render = useDecorator(Object.assign({placeholder: `请输入${props.label}`}, props));\n return render(Input.Password);\n};\n\nInputField.Password.Field = Input.Password;\n\nexport default InputField;\n","import {Button, DatePicker} from 'antd';\nimport React, {useRef, useMemo} from 'react'\nimport dayjs from 'dayjs'\nimport {get} from 'lodash'\nimport useControlValue from '@kne/use-control-value'\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst PickerToday = ({soFarText, startProps, endProps, ...props}) => {\n const [data, onChange] = useControlValue(props);\n const ref_d = useRef();\n const newData = useMemo(() => {\n // console.log('......', data);\n const s = get(data, 0, '');\n const d = get(data, 1, '');\n const p = get(props, ['placeholder'], ['开始日期', '结束日期']);\n return {\n start: s ? dayjs(s) : '',\n end: d === '至今' ? null : (d ? dayjs(d) : ''),\n showZj: d === '至今',\n placeholder: p\n }\n }, [data]);\n\n const startChange = (v) => {\n // 比较日期大小\n if (!newData.showZj && newData.end && v && newData.end.isBefore(v)) {\n onChange([newData.end, v]);\n return\n }\n onChange([v || '', newData.showZj ? '至今' : newData.end]);\n };\n\n const endChange = (v) => {\n if (newData.start && v && v.isBefore(newData.start)) {\n onChange([v, newData.start]);\n return\n }\n onChange([newData.start, v || '']);\n };\n\n const foot = () => {\n return (<Button type={newData.showZj ? 'primary' : 'default'} onClick={(v) => {\n ref_d.current.blur();\n onChange([newData.start || '', '至今']);\n }}>\n {soFarText || '至今'}\n </Button>)\n }\n return (<div style={{display: 'flex'}}>\n <DatePicker {...{\n showToday: false, ...props, placeholder: newData.placeholder[0], ...startProps, value: newData.start\n }}\n onChange={startChange}/>\n <div className={'svg_box'}>\n <svg viewBox=\"0 0 1024 1024\" focusable=\"false\" data-icon=\"swap-right\" width=\"1em\" height=\"1em\"\n fill=\"currentColor\" aria-hidden=\"true\">\n <path\n d=\"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z\"/>\n </svg>\n </div>\n <div className={newData.showZj ? 'data_range_picker data_range_picker_dis' : 'data_range_picker'}>\n <span className={newData.showZj ? 'zhijin zhijin_show' : 'zhijin'}>{soFarText || '至今'}</span>\n <DatePicker {...{\n showToday: false, ...props,\n placeholder: newData.showZj ? '' : newData.placeholder[1], ...endProps,\n value: newData.end\n }} ref={ref_d}\n onChange={endChange} renderExtraFooter={foot}/>\n </div>\n </div>);\n}\n\n\nconst RangePickerToday = (props) => {\n props = Object.assign({}, {\n fieldName: 'rangePickerToday'\n }, props);\n const render = useOnChange(props);\n return render(PickerToday);\n};\n\nRangePickerToday.Field = PickerToday;\n\nexport default RangePickerToday;\n","import {DatePicker} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst {MonthPicker, RangePicker, WeekPicker} = DatePicker;\n\nconst _DatePicker = (props) => {\n props = Object.assign({}, {\n fieldName: 'datePicker'\n }, props);\n const render = useOnChange(Object.assign({placeholder: `请选择${props.label || ''}`}, props));\n return render(DatePicker);\n};\n\n_DatePicker.Field = DatePicker;\n\nconst _MonthPicker = (props) => {\n props = Object.assign({}, {\n fieldName: 'monthDatePicker'\n }, props);\n const render = useOnChange(Object.assign({placeholder: ['开始时间', '结束时间']}, props));\n return render(MonthPicker);\n};\n\n_MonthPicker.Field = MonthPicker;\n\nconst _RangePicker = (props) => {\n props = Object.assign({}, {\n fieldName: 'rangeDatePicker'\n }, props);\n const render = useOnChange(Object.assign({placeholder: ['开始时间', '结束时间']}, props));\n return render(RangePicker);\n};\n\n_RangePicker.Field = RangePicker;\n\nconst _WeekPicker = (props) => {\n props = Object.assign({}, {\n fieldName: 'weekDatePicker'\n }, props);\n const render = useOnChange(Object.assign({placeholder: ['开始时间', '结束时间']}, props));\n return render(WeekPicker);\n};\n\n_WeekPicker.Field = WeekPicker;\n\n_DatePicker.MonthPicker = _MonthPicker;\n_DatePicker.RangePicker = _RangePicker;\n_DatePicker.WeekPicker = _WeekPicker;\n\n\nexport default _DatePicker;\n","import {Checkbox} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst _CheckboxGroup = Checkbox.Group;\n\nconst CheckboxGroup = (props) => {\n props = Object.assign({}, {\n fieldName: 'checkboxGroup'\n }, props);\n const render = useOnChange(props);\n return render(_CheckboxGroup);\n};\n\nCheckboxGroup.Checkbox = Checkbox;\nCheckboxGroup.Field = _CheckboxGroup;\n\nexport default CheckboxGroup;\n","import {Checkbox as _Checkbox} from 'antd';\nimport {hooks, hoc} from '@kne/react-form-helper';\n\nconst {useOnChange, useCheckedToValue} = hooks;\nconst {withChecked} = hoc;\n\nconst WithCheckbox = withChecked(_Checkbox);\n\nconst Checkbox = (props) => {\n props = Object.assign({}, {\n fieldName: 'checkbox'\n }, props);\n const checkedProps = useCheckedToValue(Object.assign({}, props, {\n onChange: (e) => {\n e.target.type = 'checkbox';\n props.onChange && props.onChange(e);\n }\n }));\n const render = useOnChange(checkedProps);\n return render(WithCheckbox);\n};\n\nCheckbox.Field = _Checkbox;\nexport default Checkbox;\n","import {Cascader as _Cascader} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst Cascader = (props) => {\n props = Object.assign({}, {\n fieldName: 'cascader'\n }, props);\n const render = useOnChange(props);\n return render(_Cascader);\n};\n\nCascader.Field = _Cascader;\n\nexport default Cascader;\n\n","import {Rate as _Rate} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst Rate = (props) => {\n props = Object.assign({}, {\n fieldName: 'rate'\n }, props);\n const render = useOnChange(Object.assign({}, props));\n return render(_Rate);\n};\n\nRate.Field = _Rate;\n\nexport default Rate;\n","import {Slider as _Slider} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst Slider = (props) => {\n props = Object.assign({}, {\n fieldName: 'slider'\n }, props);\n const render = useOnChange(Object.assign({}, props));\n return render(_Slider);\n};\n\nSlider.Field = _Slider;\n\nexport default Slider;\n","import React from 'react';\nimport {useReset} from '@kne/react-form';\nimport {Button} from 'antd';\n\nconst ResetButton = (props) => {\n const resetProps = useReset();\n return (\n <Button {...resetProps} {...props}/>\n );\n};\n\nexport default ResetButton;\n","import React from 'react';\nimport {useSubmit} from '@kne/react-form';\nimport {Button} from 'antd';\n\nconst SubmitButton = ({type = 'primary', realtime, disabled = false, ...props}) => {\n const {isPass, isLoading, ...submitProps} = useSubmit(props);\n return (<Button type={type} loading={isLoading}\n disabled={disabled || (realtime ? !isPass : false)} {...props} {...submitProps}/>);\n};\n\nexport default SubmitButton;\n","import React from 'react';\nimport {hooks} from '@kne/react-form-helper';\nimport {Button} from 'antd';\n\nconst {useCacheRemove} = hooks;\n\nconst CancelButton = ({onClick, ...props}) => {\n const remove = useCacheRemove();\n return (<Button {...props} onClick={(...args) => {\n remove();\n onClick && onClick(...args);\n }}/>);\n};\n\nexport default CancelButton;\n","import Form from './Form';\nimport TreeSelect from './fields/TreeSelect';\nimport TimePicker from './fields/TimePicker';\nimport TextArea from './fields/TextArea';\nimport Switch from './fields/Switch';\nimport Select from './fields/Select';\nimport RadioGroup from './fields/RadioGroup';\nimport InputNumber from './fields/InputNumber';\nimport Input from './fields/Input';\nimport DatePickerToday from './fields/DatePickerToday';\nimport DatePicker from './fields/DatePicker';\nimport CheckboxGroup from './fields/CheckboxGroup';\nimport Checkbox from './fields/Checkbox';\nimport Cascader from './fields/Cascader';\nimport Rate from './fields/Rate';\nimport Slider from './fields/Slider';\n\nexport * from './Form';\nexport default Form;\nexport const FormAntd = Form;\nexport {default as preset} from './preset';\nexport {default as ResetButton} from './ResetButton';\nexport {default as SubmitButton} from './SubmitButton';\nexport {default as CancelButton} from './CancelButton';\nexport {\n TreeSelect,\n TimePicker,\n TextArea,\n Switch,\n Select,\n RadioGroup,\n InputNumber,\n Input,\n DatePickerToday,\n DatePicker,\n CheckboxGroup,\n Checkbox,\n Cascader,\n Rate,\n Slider\n};\n\nexport const fields = {\n TreeSelect,\n TimePicker,\n TextArea,\n Switch,\n Select,\n RadioGroup,\n InputNumber,\n Input,\n DatePickerToday,\n DatePicker,\n CheckboxGroup,\n Checkbox,\n Cascader,\n Rate,\n Slider\n};\n","var assignMergeValue = require('./_assignMergeValue'),\n cloneBuffer = require('./_cloneBuffer'),\n cloneTypedArray = require('./_cloneTypedArray'),\n copyArray = require('./_copyArray'),\n initCloneObject = require('./_initCloneObject'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLikeObject = require('./isArrayLikeObject'),\n isBuffer = require('./isBuffer'),\n isFunction = require('./isFunction'),\n isObject = require('./isObject'),\n isPlainObject = require('./isPlainObject'),\n isTypedArray = require('./isTypedArray'),\n safeGet = require('./_safeGet'),\n toPlainObject = require('./toPlainObject');\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n","var baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return copyObject(value, keysIn(value));\n}\n\nmodule.exports = toPlainObject;\n","var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n"],"names":["baseGetTag","require","getPrototype","isObjectLike","funcProto","Function","prototype","objectProto","Object","funcToString","toString","hasOwnProperty","objectCtorString","call","module","exports","value","proto","Ctor","constructor","Stack","assignMergeValue","baseFor","baseMergeDeep","isObject","keysIn","safeGet","baseMerge","object","source","srcIndex","customizer","stack","srcValue","key","newValue","undefined","constant","defineProperty","identity","baseSetToString","func","string","thisArg","args","length","apply","merge","createAssigner","setToString","shortOut","memoize","text","fontSize","options","assign","fontFamily","fontWeight","_Object$assign","ctx","document","createElement","getContext","font","concat","measureText","width","obj","keys","map","join","localStorage","cache","async","getValue","expire","arguments","getItem","setItem","target","window","dataType","JSON","parse","Date","now","removeItem","Number","Boolean","e","stringify","useBlurDecorator","_ref","triggerValidate","onBlur","others","_objectWithoutPropertiesLoose","_excluded$5","handlerBlur","useCallback","_extends","useChangeDecorator","onChange","_excluded$4","hasChanged","useRef","validate","handlerChange","current","useEffect","context$2","createContext","Provider","Provider$2","context$1","size","Provider$1","Consumer","context","FieldPropsProvider","_ref4","props","children","React","useUIDecorator","name","rule","description","className","label","labelRender","labelTips","labelHidden","errMsg","errState","isValueChanged","wrappedClassName","fieldRef","important","ignoreLabelWidth","associationOptions","_excluded$2","useFormSize","useContext","isREQ","setIsREQ","useState","isSubmit","setIsSubmit","emitter","useFormContext","labelWidth","useMaxLabelWidth","maxWidth","split","indexOf","subscription","addListener","remove","WrappedComponent","style","minWidth","stateClassName","_ref5","computedErrorClassName","isReq","ref","classnames","globalParams","field","preset","defaultPropsAssign","fieldName","_excluded$1","globalProps","hooks","useField","useFieldProps","useCheckedToValue","checked","_excluded$3","useDecorator","_ref2","realtime","_excluded2","fieldProps","debounce","changeProps","blurProps","realtimeProps","useOnBlur","useOnChange","useCacheRemove","emit","hoc","withChecked","_excluded2$1","widget","ScrollToError","_ref6","scrollProps","_scrollProps","errors","el","get","scrollIntoView","EnterSubmit","type","_excluded","handlerKeyUp","keyCode","onKeyUp","MaxLabelProvider","_ref3","minLabelWidth","setMaxWidth","fields","root","useLayoutEffect","querySelector","getComputedStyle","getPropertyValue","Math","max","uniq","querySelectorAll","item","innerText","str","textWidth","FormStore","_ref7","fieldsRef","Map","openApi","data","subscriptionFieldReady","path","id","subscriptionChange","_ref8","set","preData","subscriptionSubmit","subscriptionRemove","SizeProvider","utils","nativeMax","start","transform","index","array","Array","otherArgs","this","overRest","fromRight","iteratee","keysFunc","iterable","eq","isArrayLike","isIndex","baseAssignValue","rules","formModal","resetButton","submitButton","defaultProps","forEach","preset$1","preset$2","Form","forwardRef","originProps","enterSubmit","scrollToError","block","baseClass","computedClass","maxLabel","onSubmit","preventDefault","stopPropagation","ReactForm__default","useOnChange$b","_TreeSelect","placeholder","render","TreeSelect","Field","TreeNode","useOnChange$a","RangePicker","RangePicker$1","TimePicker","_TimePicker","_RangePicker$1","useDecorator$2","TextArea","Input","useOnChange$9","useCheckedToValue$1","withChecked$1","WithSwitch","Switch$1","Switch","checkedProps","useOnChange$8","_Select","Select","Option","OptGroup","useOnChange$7","RadioGroup","handler","Radio","Group","_RadioGroup","useDecorator$1","InputNumberField","autoComplete","InputNumber","InputField","Password","useOnChange$6","PickerToday","soFarText","startProps","endProps","useControlValue","ref_d","newData","useMemo","s","d","p","dayjs","end","showZj","display","DatePicker","showToday","v","isBefore","viewBox","focusable","height","fill","renderExtraFooter","foot","Button","onClick","blur","RangePickerToday","useOnChange$5","MonthPicker","WeekPicker","_DatePicker","_MonthPicker","_RangePicker","_WeekPicker","useOnChange$4","_CheckboxGroup","Checkbox$1","CheckboxGroup","Checkbox","useOnChange$3","WithCheckbox","useOnChange$2","Cascader","Cascader$1","useOnChange$1","Rate","Rate$1","Slider","Slider$1","ResetButton","resetProps","useReset","SubmitButton","disabled","_useSubmit","useSubmit","isPass","isLoading","submitProps","loading","CancelButton","FormAntd","cloneBuffer","cloneTypedArray","copyArray","initCloneObject","isArguments","isArray","isArrayLikeObject","isBuffer","isFunction","isPlainObject","isTypedArray","toPlainObject","mergeFunc","objValue","stacked","isCommon","isArr","isBuff","isTyped","baseRest","isIterateeCall","assigner","sources","guard","nativeNow","count","lastCalled","stamp","remaining","copyObject","createBaseFor"],"ignoreList":[],"sourceRoot":""}
1
+ {"version":3,"file":"static/js/7459.1bd15405.chunk.js","mappings":"mIAAA,IAAIA,EAAaC,EAAQ,OACrBC,EAAeD,EAAQ,OACvBE,EAAeF,EAAQ,OAMvBG,EAAYC,SAASC,UACrBC,EAAcC,OAAOF,UAGrBG,EAAeL,EAAUM,SAGzBC,EAAiBJ,EAAYI,eAG7BC,EAAmBH,EAAaI,KAAKL,QA2CzCM,EAAOC,QAbP,SAAuBC,GACrB,IAAKb,EAAaa,IA5CJ,mBA4CchB,EAAWgB,GACrC,OAAO,EAET,IAAIC,EAAQf,EAAac,GACzB,GAAc,OAAVC,EACF,OAAO,EAET,IAAIC,EAAOP,EAAeE,KAAKI,EAAO,gBAAkBA,EAAME,YAC9D,MAAsB,mBAARD,GAAsBA,aAAgBA,GAClDT,EAAaI,KAAKK,IAASN,CAC/B,C,WClCAE,EAAOC,QANP,SAAkBC,GAChB,OAAO,WACL,OAAOA,CACT,CACF,C,eCvBA,IAAII,EAAQnB,EAAQ,MAChBoB,EAAmBpB,EAAQ,OAC3BqB,EAAUrB,EAAQ,OAClBsB,EAAgBtB,EAAQ,OACxBuB,EAAWvB,EAAQ,OACnBwB,EAASxB,EAAQ,OACjByB,EAAUzB,EAAQ,OAmCtBa,EAAOC,QAtBP,SAASY,EAAUC,EAAQC,EAAQC,EAAUC,EAAYC,GACnDJ,IAAWC,GAGfP,EAAQO,EAAQ,SAASI,EAAUC,GAEjC,GADAF,IAAUA,EAAQ,IAAIZ,GAClBI,EAASS,GACXV,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ADAA,EAAaC,EACTC,EAAY,GACd,KAAMH,GAzBI,IA0BR,OAAOnV,UAAU,QAGnBmV,EAAQ,EAEV,OAAOtX,EAAKK,WAAMV,EAAWwC,UAC/B,CACF,C,eClCA,IAAIuV,EAAala,EAAQ,OACrBwB,EAASxB,EAAQ,OA8BrBa,EAAOC,QAJP,SAAuBC,GACrB,OAAOmZ,EAAWnZ,EAAOS,EAAOT,GAClC,C,eC7BA,IAaIM,EAbgBrB,EAAQ,MAadma,GAEdtZ,EAAOC,QAAUO,C","sources":["../node_modules/lodash/isPlainObject.js","../node_modules/lodash/constant.js","../node_modules/lodash/_baseMerge.js","../node_modules/lodash/_baseSetToString.js","../node_modules/lodash/_apply.js","../node_modules/lodash/identity.js","../node_modules/lodash/merge.js","../node_modules/lodash/_setToString.js","../node_modules/@kne/text-width/src/index.js","../node_modules/@kne/local-storage/src/index.js","../node_modules/@kne/react-form-helper/src/hooks/useBlurDecorator.js","../node_modules/@kne/react-form-helper/src/hooks/useChangeDecorator.js","../node_modules/@kne/react-form-helper/src/widget/MaxLabelProvider.js","../node_modules/@kne/react-form-helper/src/widget/SizeProvider.js","../node_modules/@kne/react-form-helper/src/hooks/useFieldProps.js","../node_modules/@kne/react-form-helper/src/hooks/useUIDecorator.js","../node_modules/@kne/react-form-helper/src/preset.js","../node_modules/@kne/react-form-helper/src/hooks/useDecorator.js","../node_modules/@kne/react-form-helper/src/index.js","../node_modules/@kne/react-form-helper/src/hooks/useCheckedToValue.js","../node_modules/@kne/react-form-helper/src/hooks/useCacheRemove.js","../node_modules/@kne/react-form-helper/src/widget/ScrollToError.js","../node_modules/@kne/react-form-helper/src/widget/EnterSubmit.js","../node_modules/@kne/react-form-helper/src/widget/FormStore.js","../node_modules/lodash/_safeGet.js","../node_modules/lodash/_overRest.js","../node_modules/lodash/_baseRest.js","../node_modules/lodash/_createBaseFor.js","../node_modules/lodash/_isIterateeCall.js","../node_modules/lodash/_assignMergeValue.js","../node_modules/lodash/isArrayLikeObject.js","../node_modules/@kne/react-form-antd/src/preset.js","../node_modules/@kne/react-form-antd/src/Form.js","../node_modules/@kne/react-form-antd/src/fields/TreeSelect.js","../node_modules/@kne/react-form-antd/src/fields/TimePicker.js","../node_modules/@kne/react-form-antd/src/fields/TextArea.js","../node_modules/@kne/react-form-antd/src/fields/Switch.js","../node_modules/@kne/react-form-antd/src/fields/Select.js","../node_modules/@kne/react-form-antd/src/fields/RadioGroup.js","../node_modules/@kne/react-form-antd/src/fields/InputNumber.js","../node_modules/@kne/react-form-antd/src/fields/Input.js","../node_modules/@kne/react-form-antd/src/fields/DatePickerToday.js","../node_modules/@kne/react-form-antd/src/fields/DatePicker.js","../node_modules/@kne/react-form-antd/src/fields/CheckboxGroup.js","../node_modules/@kne/react-form-antd/src/fields/Checkbox.js","../node_modules/@kne/react-form-antd/src/fields/Cascader.js","../node_modules/@kne/react-form-antd/src/fields/Rate.js","../node_modules/@kne/react-form-antd/src/fields/Slider.js","../node_modules/@kne/react-form-antd/src/ResetButton.js","../node_modules/@kne/react-form-antd/src/SubmitButton.js","../node_modules/@kne/react-form-antd/src/CancelButton.js","../node_modules/@kne/react-form-antd/src/index.js","../node_modules/lodash/_baseMergeDeep.js","../node_modules/lodash/_createAssigner.js","../node_modules/lodash/_shortOut.js","../node_modules/lodash/toPlainObject.js","../node_modules/lodash/_baseFor.js"],"sourcesContent":["var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n","/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n","var Stack = require('./_Stack'),\n assignMergeValue = require('./_assignMergeValue'),\n baseFor = require('./_baseFor'),\n baseMergeDeep = require('./_baseMergeDeep'),\n isObject = require('./isObject'),\n keysIn = require('./keysIn'),\n safeGet = require('./_safeGet');\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n","var constant = require('./constant'),\n defineProperty = require('./_defineProperty'),\n identity = require('./identity');\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n","/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n","/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n","var baseMerge = require('./_baseMerge'),\n createAssigner = require('./_createAssigner');\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n","var baseSetToString = require('./_baseSetToString'),\n shortOut = require('./_shortOut');\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n","/**\n * @name: text-width ;\n * @author: lingtong ;\n * @description: 获取字符串宽度 ;\n * */\nimport memoize from 'lodash/memoize';\n\nexport default memoize((text, fontSize, options) => {\n const {fontFamily, fontWeight} = Object.assign({fontFamily: 'Arial', fontWeight: 'normal'}, options);\n const canvas = document.createElement('canvas'),\n ctx = canvas.getContext('2d');\n ctx.font = `${fontSize} ${fontFamily} ${fontWeight}`;\n return ctx.measureText(text).width;\n}, (text, fontSize, options) => {\n const obj = Object.assign({}, options, {text, fontSize});\n return Object.keys(obj).map((key) => `${key}-${obj[key]}`).join(',');\n});\n","const localStorage = {\n cache: async (key, getValue, expire = null) => {\n let value = localStorage.getItem(key);\n if (value) {\n return value;\n }\n value = await getValue();\n localStorage.setItem(key, value, expire);\n return value;\n },\n getItem: key => {\n const target = window.localStorage.getItem(key);\n try {\n const { dataType, value, expire } = JSON.parse(target);\n\n if (expire && Date.now() > expire) {\n localStorage.removeItem(key);\n return null;\n }\n\n if (dataType === 'object' && value === 'null') {\n return null;\n }\n if (dataType === 'undefined') {\n return void 0;\n }\n if (dataType === 'number') {\n return Number(value);\n }\n if (dataType === 'boolean') {\n return Boolean(value);\n }\n return value;\n } catch (e) {\n return null;\n }\n },\n setItem: (key, value, expire = null) => {\n const dataType = typeof value;\n window.localStorage.setItem(key, JSON.stringify({ dataType, value, expire }));\n },\n removeItem: key => {\n window.localStorage.removeItem(key);\n }\n};\n\nexport default localStorage;\n","import {useCallback} from 'react';\n\nconst useBlurDecorator = ({triggerValidate, onBlur, ...others}) => {\n const handlerBlur = useCallback((...args) => {\n onBlur && onBlur(...args);\n triggerValidate();\n }, [onBlur, triggerValidate]);\n return {\n onBlur: handlerBlur,\n ...others\n };\n};\n\nexport default useBlurDecorator;","import { useRef, useEffect, useCallback } from 'react';\n\nconst useChangeDecorator = ({ triggerValidate, value, onChange, ...others }) => {\n const hasChanged = useRef(false),\n validate = useRef(triggerValidate);\n const handlerChange = useCallback(\n (...args) => {\n onChange && onChange(...args);\n hasChanged.current = true;\n },\n [onChange]\n );\n validate.current = triggerValidate;\n useEffect(() => {\n hasChanged.current && validate.current();\n }, [value]);\n\n return {\n value,\n onChange: handlerChange,\n ...others\n };\n};\n\nexport default useChangeDecorator;\n","import React, { useState, useContext, createContext, useLayoutEffect, useRef } from 'react';\nimport textWidth from '@kne/text-width';\nimport { useFormContext } from '@kne/react-form';\nimport { uniq } from 'lodash';\n\nconst context = createContext({});\n\nconst { Provider } = context;\n\nexport const useMaxLabelWidth = () => {\n const { maxWidth } = useContext(context);\n return maxWidth;\n};\n\nconst MaxLabelProvider = ({ minLabelWidth, children }) => {\n const [maxWidth, setMaxWidth] = useState(minLabelWidth || 0);\n const { fields } = useFormContext();\n const root = useRef(null);\n useLayoutEffect(() => {\n const label = root.current.querySelector('.react-form__field-label') || root.current;\n const fontSize = window.getComputedStyle(label).getPropertyValue('font-size');\n setMaxWidth(\n Math.max(\n ...uniq(\n [].map.call(root.current.querySelectorAll('.react-form__field-label'), item => {\n return item.innerText;\n })\n ).map(str => textWidth(str, fontSize))\n )\n );\n }, [fields]);\n return (\n <Provider value={{ maxWidth, setMaxWidth }}>\n <span ref={root}>{children}</span>\n </Provider>\n );\n};\n\nexport default MaxLabelProvider;\n","import {createContext, useContext} from 'react';\n\nconst context = createContext({size: 'middle'});\n\nconst {Provider, Consumer} = context;\n\nexport const useFormSize = () => {\n const {size} = useContext(context);\n return size;\n};\n\nexport default Provider;","import React, { createContext, useContext } from 'react';\n\nconst context = createContext({});\n\nconst useFieldProps = () => {\n return useContext(context);\n};\n\nconst { Provider } = context;\n\nexport const FieldPropsProvider = ({ props, children }) => {\n return <Provider value={props}>{children}</Provider>;\n};\n\nexport default useFieldProps;\n","import React, { useState, useCallback, useEffect } from 'react';\nimport classnames from 'classnames';\nimport { useMaxLabelWidth } from '../widget/MaxLabelProvider';\nimport { useFormContext } from '@kne/react-form';\nimport { useFormSize } from '../widget/SizeProvider';\nimport { FieldPropsProvider } from './useFieldProps';\n\nconst computedErrorClassName = ({ errMsg, errState, isSubmit, isValueChanged }) => {\n return {\n 'is-req-error': errMsg === '' && errState === 2 && (isSubmit || isValueChanged),\n 'is-error': errMsg !== '' && errState === 2,\n 'is-loading': errState === 3\n };\n};\n\nconst useUIDecorator = props => {\n const {\n id,\n name,\n rule,\n description,\n className,\n onChange,\n label,\n labelRender,\n labelTips,\n labelHidden,\n errMsg,\n errState,\n isValueChanged,\n wrappedClassName,\n fieldRef,\n important,\n ignoreLabelWidth,\n formState,\n groupIndex,\n groupName,\n formData,\n associationOptions,\n ...others\n } = props;\n const size = useFormSize();\n const [isREQ, setIsREQ] = useState(false),\n [isSubmit, setIsSubmit] = useState(false);\n const { emitter } = useFormContext();\n const labelWidth = useMaxLabelWidth();\n useEffect(() => {\n typeof rule === 'string' && setIsREQ((rule || '').split(' ').indexOf('REQ') > -1);\n }, [setIsREQ, name, rule]);\n\n //当表单提交时设置状态\n useEffect(() => {\n const subscription = emitter.addListener('form:submit', () => {\n setIsSubmit(true);\n });\n return () => {\n subscription && subscription.remove();\n };\n }, [emitter]);\n\n const handlerChange = useCallback(\n (...args) => {\n onChange(...args);\n setIsSubmit(false);\n },\n [onChange, setIsSubmit]\n );\n\n return useCallback(\n WrappedComponent => {\n const style = {};\n\n if (!ignoreLabelWidth && labelWidth > 0) {\n style.minWidth = labelWidth;\n }\n\n const stateClassName = computedErrorClassName({ errMsg, errState, isSubmit, isValueChanged });\n const isReq = important !== void 0 ? important : isREQ;\n if (size) {\n others.size = size;\n }\n return (\n <div\n ref={fieldRef}\n className={classnames(\n 'react-form__field',\n {\n 'is-ignore-label-width': ignoreLabelWidth\n },\n wrappedClassName,\n stateClassName\n )}\n >\n <div className=\"react-form__field-main\">\n {label && !labelHidden ? (\n <div className={classnames('react-form__field-label', { 'is-req': isReq })} style={style}>\n <i className=\"react-form__field_extra\" />\n {typeof labelRender === 'function' ? labelRender({ label, ...others }) : label}\n {labelTips && <span className=\"react-form__field_label-tips\">{typeof labelTips === 'function' ? labelTips(props) : labelTips}</span>}\n </div>\n ) : null}\n <div className=\"react-form__field-input\">\n <FieldPropsProvider props={props}>\n <WrappedComponent {...Object.assign({}, others, associationOptions)} className={classnames('react-form__field-component', className)} onChange={handlerChange} />\n {description ? <div className=\"react-form__field-describable\">{description}</div> : null}\n {errMsg ? <div className=\"react-form__field-error\">{errMsg}</div> : null}\n </FieldPropsProvider>\n </div>\n </div>\n </div>\n );\n },\n [labelWidth, fieldRef, labelHidden, ignoreLabelWidth, others, associationOptions, isValueChanged, className, errMsg, errState, handlerChange, important, isREQ, isSubmit, label, wrappedClassName]\n );\n};\n\nexport default useUIDecorator;\n","import merge from 'lodash/merge';\n\nexport const globalParams = {\n field: {}\n};\n\nexport default props => {\n merge(globalParams, props);\n};\n","import { useField } from '@kne/react-form';\nimport useUIDecorator from './useUIDecorator';\nimport useBlurDecorator from './useBlurDecorator';\nimport useChangeDecorator from './useChangeDecorator';\nimport { globalParams } from '../preset';\n\nconst defaultPropsAssign = ({ fieldName, ...props }) => {\n return Object.assign({}, globalParams.globalProps, globalParams.field[fieldName], props);\n};\n\nconst useDecorator = ({ realtime, ...props }) => {\n const fieldProps = useField(defaultPropsAssign(Object.assign(realtime ? { debounce: 500 } : {}, props))),\n changeProps = useChangeDecorator(fieldProps),\n blurProps = useBlurDecorator(fieldProps),\n realtimeProps = Object.assign({}, blurProps, changeProps);\n return useUIDecorator(realtime ? realtimeProps : blurProps);\n};\n\nexport default useDecorator;\n\nexport const useOnChange = props => {\n const fieldProps = useField(defaultPropsAssign(props)),\n changeProps = useChangeDecorator(fieldProps);\n return useUIDecorator(changeProps);\n};\n\nexport const useOnBlur = props => {\n const fieldProps = useField(defaultPropsAssign(props)),\n blurProps = useBlurDecorator(fieldProps);\n return useUIDecorator(blurProps);\n};\n","import useBlurDecorator from './hooks/useBlurDecorator';\nimport useChangeDecorator from './hooks/useChangeDecorator';\nimport useCheckedToValue, { withChecked } from './hooks/useCheckedToValue';\nimport useDecorator, { useOnBlur, useOnChange } from './hooks/useDecorator';\nimport useUIDecorator from './hooks/useUIDecorator';\nimport useCacheRemove from './hooks/useCacheRemove';\nimport useFieldProps from './hooks/useFieldProps';\nimport ScrollToError from './widget/ScrollToError';\nimport EnterSubmit from './widget/EnterSubmit';\nimport MaxLabelProvider from './widget/MaxLabelProvider';\nimport SizeProvider from './widget/SizeProvider';\nimport FormStore from './widget/FormStore';\nimport { useField } from '@kne/react-form';\n\nexport const hooks = {\n useField,\n useFieldProps,\n useBlurDecorator,\n useChangeDecorator,\n useCheckedToValue,\n useDecorator,\n useOnBlur,\n useOnChange,\n useUIDecorator,\n useCacheRemove\n};\n\nexport const hoc = {\n withChecked\n};\n\nexport const widget = {\n ScrollToError,\n EnterSubmit,\n MaxLabelProvider,\n FormStore,\n SizeProvider\n};\n\nexport const utils = {};\n\nconst api = {\n hooks,\n hoc,\n widget,\n utils\n};\n\nexport { default as preset } from './preset';\n\nexport default api;\n","import React from 'react';\n\nconst useCheckedToValue = ({checked, ...props}) => {\n return {\n ...props,\n value: checked\n };\n};\n\nexport default useCheckedToValue;\n\nexport const withChecked = (WrappedComponent) => {\n return ({value, ...props}) => <WrappedComponent {...props} checked={value}/>\n};","import { useFormContext } from '@kne/react-form';\n\nconst useCacheRemove = () => {\n const { emitter } = useFormContext();\n return () => {\n emitter.emit('form-widget:store:remove');\n };\n};\n\nexport default useCacheRemove;\n","import { useEffect } from 'react';\nimport { useFormContext } from '@kne/react-form';\nimport { get } from 'lodash';\n\nconst ScrollToError = ({ scrollProps = {} }) => {\n const { emitter } = useFormContext();\n useEffect(() => {\n const subscription = emitter.addListener('form:submit:error', errors => {\n const el = get(errors, '[0].fieldRef.current');\n el && typeof el.scrollIntoView === 'function' && el.scrollIntoView(scrollProps);\n });\n return () => {\n subscription && subscription.remove();\n };\n }, [emitter]);\n\n return null;\n};\n\nexport default ScrollToError;\n","import React, { useCallback } from 'react';\nimport { useFormContext } from '@kne/react-form';\n\nconst EnterSubmit = ({ type = 'div', children, ...props }) => {\n const { emitter } = useFormContext();\n const handlerKeyUp = useCallback(e => {\n if (e.keyCode === 13) {\n emitter.emit('form:submit');\n }\n }, [emitter]);\n\n return React.createElement(type, Object.assign({}, props, {\n onKeyUp: handlerKeyUp\n }), children);\n};\n\nexport default EnterSubmit;\n","import { useEffect, useRef } from 'react';\nimport { useFormContext } from '@kne/react-form';\nimport localStorage from '@kne/local-storage';\n\n\nconst FormStore = ({ cache }) => {\n const name = useRef(`REACT_FORM_STORE_${cache}`);\n const fieldsRef = useRef(new Map());\n const { emitter, openApi } = useFormContext();\n useEffect(() => {\n const data = localStorage.getItem(name.current) || {};\n\n const subscriptionFieldReady = emitter.addListener('form:field:ready', (field) => {\n if (data[field.path]) {\n emitter.emit(`form-field:input:${field.id}`, { value: data[field.path].value });\n }\n });\n\n const subscriptionChange = emitter.addListener('form:field:set-value', ({ id, value, path }) => {\n if (value === void 0) {\n return;\n }\n fieldsRef.current.set(id, { id, value, path });\n const preData = Object.assign({}, localStorage.getItem(name.current));\n preData[path] = { id, value, path };\n localStorage.setItem(name.current, preData);\n });\n\n const subscriptionSubmit = emitter.addListener('form:submit:success', () => {\n localStorage.removeItem(name.current);\n });\n\n const subscriptionRemove = emitter.addListener('form-widget:store:remove', () => {\n localStorage.removeItem(name.current);\n });\n\n return () => {\n subscriptionFieldReady && subscriptionFieldReady.remove();\n subscriptionChange && subscriptionChange.remove();\n subscriptionSubmit && subscriptionSubmit.remove();\n subscriptionRemove && subscriptionRemove.remove();\n };\n }, [emitter]);\n return null;\n};\n\nexport default FormStore;\n","/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n","var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n","var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n","/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n","var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n","var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n","var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n","import {preset as presetRules} from '@kne/react-form';\nimport merge from 'lodash/merge';\nimport {preset as formHelperPreset} from '@kne/react-form-helper';\n\nexport const globalParams = {\n type: 'default', size: 'middle', rules: {}, formModal: {}, resetButton: {}, submitButton: {}, field: {}\n};\n\nexport default (props) => {\n const defaultProps = {};\n merge(globalParams, props);\n Object.keys(globalParams.field).forEach((name) => {\n defaultProps[name] = (globalParams.field[name] || {}).defaultProps;\n });\n formHelperPreset({\n field: defaultProps, globalProps: globalParams.globalProps\n });\n presetRules(globalParams.rules);\n};\n","import React, {forwardRef} from 'react';\nimport classnames from 'classnames';\nimport ReactForm from '@kne/react-form';\nimport {widget} from '@kne/react-form-helper';\nimport './assets/index.scss';\nimport {globalParams} from './preset';\n\nexport * from '@kne/react-form';\nexport {hooks, widget, utils, hoc} from '@kne/react-form-helper';\n\nconst {ScrollToError, EnterSubmit, FormStore, MaxLabelProvider, SizeProvider} = widget;\n\nconst Form = forwardRef((originProps, ref) => {\n const {\n className, cache, enterSubmit = false, scrollToError = true, scrollProps = {\n block: 'center'\n }, type: originType, size: originSize, children, ...props\n } = originProps;\n const baseClass = 'react-form';\n let computedClass = baseClass;\n const {type, size} = Object.assign({\n type: 'default', size: 'middle'\n }, globalParams, originProps);\n if (type !== 'default') {\n computedClass += `--${type}`;\n }\n\n if (size !== 'middle') {\n computedClass += `--${size}`;\n }\n\n const maxLabel = <MaxLabelProvider>\n {children}\n </MaxLabelProvider>;\n\n return (<form className={classnames(baseClass, computedClass, className)} onSubmit={(e) => {\n e.preventDefault();\n e.stopPropagation();\n }}>\n <SizeProvider value={{size}}>\n <ReactForm {...props} ref={ref}>\n {cache ? <FormStore cache={cache}/> : null}\n {scrollToError ? <ScrollToError scrollProps={scrollProps}/> : null}\n {enterSubmit ? <EnterSubmit>\n {maxLabel}\n </EnterSubmit> : maxLabel}\n </ReactForm>\n </SizeProvider>\n </form>);\n});\n\n/*Form.propTypes = {\n className: PropTypes.string,\n type: PropTypes.oneOf(['inline', 'default', 'inner']),\n size: PropTypes.oneOf(['small', 'middle', 'large']),\n enterSubmit: PropTypes.bool,\n scrollToError: PropTypes.bool,\n scrollProps: PropTypes.shape({\n block: PropTypes.oneOf(['start', 'center', 'end', 'nearest']),\n behavior: PropTypes.oneOf(['auto', 'smooth']),\n inline: PropTypes.oneOf(['start', 'center', 'end', 'nearest'])\n })\n};*/\n\nexport default Form;\n","import {TreeSelect} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst _TreeSelect = (props) => {\n props = Object.assign({}, {\n fieldName: 'treeSelect'\n }, props);\n const render = useOnChange(Object.assign({placeholder: `请选择${props.label || ''}`}, props));\n return render(TreeSelect);\n};\n\n_TreeSelect.Field = TreeSelect;\n\n_TreeSelect.TreeNode = TreeSelect.TreeNode;\n\nexport default _TreeSelect;\n","import {TimePicker} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst {RangePicker} = TimePicker;\n\nconst _TimePicker = (props) => {\n props = Object.assign({}, {\n fieldName: 'timePicker'\n }, props);\n const render = useOnChange(Object.assign({placeholder: `请选择${props.label || ''}`}, props));\n return render(TimePicker);\n};\n\n_TimePicker.Field = TimePicker;\n\nconst _RangePicker = (props) => {\n props = Object.assign({}, {\n fieldName: 'rangeTimePicker'\n }, props);\n const render = useOnChange(Object.assign({placeholder: `请选择${props.label || ''}`}, props));\n return render(RangePicker);\n};\n\n_RangePicker.Field = RangePicker;\n\n_TimePicker.RangePicker = _RangePicker;\n\nexport default _TimePicker;\n","import {Input} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useDecorator} = hooks;\n\nconst TextArea = (props) => {\n props = Object.assign({}, {\n fieldName: 'textArea'\n }, props);\n const render = useDecorator(Object.assign({placeholder: `请输入${props.label}`}, props));\n return render(Input.TextArea);\n};\n\nTextArea.Field = Input.TextArea;\n\nexport default TextArea;\n","import {Switch as _Switch} from 'antd';\nimport {hooks, hoc} from '@kne/react-form-helper';\n\nconst {useOnChange, useCheckedToValue} = hooks;\nconst {withChecked} = hoc;\nconst WithSwitch = withChecked(_Switch);\n\nconst Switch = (props) => {\n props = Object.assign({}, {\n fieldName: 'switch'\n }, props);\n const checkedProps = useCheckedToValue(props);\n const render = useOnChange(checkedProps);\n return render(WithSwitch);\n};\n\nSwitch.Field = _Switch;\n\nexport default Switch;\n","import {Select} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst _Select = (props) => {\n props = Object.assign({}, {\n fieldName: 'select'\n }, props);\n const render = useOnChange(Object.assign({placeholder: `请选择${props.label || ''}`}, props));\n return render(Select);\n};\n_Select.Field = Select;\n_Select.Option = Select.Option;\n_Select.OptGroup = Select.OptGroup;\n\nexport default _Select;\n","import React, {useCallback} from 'react';\nimport {Radio} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst RadioGroup = ({onChange, ...props}) => {\n props = Object.assign({}, {\n fieldName: 'radioGroup'\n }, props);\n const handler = useCallback((e) => {\n onChange && onChange(e.target.value);\n }, [onChange]);\n return <Radio.Group {...props} onChange={handler}/>\n};\n\nconst _RadioGroup = (props) => {\n const render = useOnChange(props);\n return render(RadioGroup);\n};\n\n_RadioGroup.Field = RadioGroup;\n_RadioGroup.Radio = Radio;\n\nexport default _RadioGroup;\n","import {InputNumber} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useDecorator} = hooks;\n\nconst InputNumberField = (props) => {\n props = Object.assign({}, {\n fieldName: 'inputNumber', autoComplete: 'off'\n }, props);\n const render = useDecorator(Object.assign({placeholder: `请输入${props.label}`}, props));\n return render(InputNumber);\n};\n\nInputNumberField.Field = InputNumber;\n\nexport default InputNumberField;\n","import {Input} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useDecorator} = hooks;\n\nconst InputField = (props) => {\n props = Object.assign({}, {\n fieldName: 'input', autoComplete: 'off'\n }, props);\n const render = useDecorator(Object.assign({placeholder: `请输入${props.label}`}, props));\n return render(Input);\n};\n\nInputField.Field = Input;\n\nInputField.Password = (props) => {\n props = Object.assign({}, {\n fieldName: 'password', autoComplete: 'off'\n }, props);\n const render = useDecorator(Object.assign({placeholder: `请输入${props.label}`}, props));\n return render(Input.Password);\n};\n\nInputField.Password.Field = Input.Password;\n\nexport default InputField;\n","import {Button, DatePicker} from 'antd';\nimport React, {useRef, useMemo} from 'react'\nimport dayjs from 'dayjs'\nimport {get} from 'lodash'\nimport useControlValue from '@kne/use-control-value'\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst PickerToday = ({soFarText, startProps, endProps, ...props}) => {\n const [data, onChange] = useControlValue(props);\n const ref_d = useRef();\n const newData = useMemo(() => {\n // console.log('......', data);\n const s = get(data, 0, '');\n const d = get(data, 1, '');\n const p = get(props, ['placeholder'], ['开始日期', '结束日期']);\n return {\n start: s ? dayjs(s) : '',\n end: d === '至今' ? null : (d ? dayjs(d) : ''),\n showZj: d === '至今',\n placeholder: p\n }\n }, [data]);\n\n const startChange = (v) => {\n // 比较日期大小\n if (!newData.showZj && newData.end && v && newData.end.isBefore(v)) {\n onChange([newData.end, v]);\n return\n }\n onChange([v || '', newData.showZj ? '至今' : newData.end]);\n };\n\n const endChange = (v) => {\n if (newData.start && v && v.isBefore(newData.start)) {\n onChange([v, newData.start]);\n return\n }\n onChange([newData.start, v || '']);\n };\n\n const foot = () => {\n return (<Button type={newData.showZj ? 'primary' : 'default'} onClick={(v) => {\n ref_d.current.blur();\n onChange([newData.start || '', '至今']);\n }}>\n {soFarText || '至今'}\n </Button>)\n }\n return (<div style={{display: 'flex'}}>\n <DatePicker {...{\n showToday: false, ...props, placeholder: newData.placeholder[0], ...startProps, value: newData.start\n }}\n onChange={startChange}/>\n <div className={'svg_box'}>\n <svg viewBox=\"0 0 1024 1024\" focusable=\"false\" data-icon=\"swap-right\" width=\"1em\" height=\"1em\"\n fill=\"currentColor\" aria-hidden=\"true\">\n <path\n d=\"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z\"/>\n </svg>\n </div>\n <div className={newData.showZj ? 'data_range_picker data_range_picker_dis' : 'data_range_picker'}>\n <span className={newData.showZj ? 'zhijin zhijin_show' : 'zhijin'}>{soFarText || '至今'}</span>\n <DatePicker {...{\n showToday: false, ...props,\n placeholder: newData.showZj ? '' : newData.placeholder[1], ...endProps,\n value: newData.end\n }} ref={ref_d}\n onChange={endChange} renderExtraFooter={foot}/>\n </div>\n </div>);\n}\n\n\nconst RangePickerToday = (props) => {\n props = Object.assign({}, {\n fieldName: 'rangePickerToday'\n }, props);\n const render = useOnChange(props);\n return render(PickerToday);\n};\n\nRangePickerToday.Field = PickerToday;\n\nexport default RangePickerToday;\n","import {DatePicker} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst {MonthPicker, RangePicker, WeekPicker} = DatePicker;\n\nconst _DatePicker = (props) => {\n props = Object.assign({}, {\n fieldName: 'datePicker'\n }, props);\n const render = useOnChange(Object.assign({placeholder: `请选择${props.label || ''}`}, props));\n return render(DatePicker);\n};\n\n_DatePicker.Field = DatePicker;\n\nconst _MonthPicker = (props) => {\n props = Object.assign({}, {\n fieldName: 'monthDatePicker'\n }, props);\n const render = useOnChange(Object.assign({placeholder: ['开始时间', '结束时间']}, props));\n return render(MonthPicker);\n};\n\n_MonthPicker.Field = MonthPicker;\n\nconst _RangePicker = (props) => {\n props = Object.assign({}, {\n fieldName: 'rangeDatePicker'\n }, props);\n const render = useOnChange(Object.assign({placeholder: ['开始时间', '结束时间']}, props));\n return render(RangePicker);\n};\n\n_RangePicker.Field = RangePicker;\n\nconst _WeekPicker = (props) => {\n props = Object.assign({}, {\n fieldName: 'weekDatePicker'\n }, props);\n const render = useOnChange(Object.assign({placeholder: ['开始时间', '结束时间']}, props));\n return render(WeekPicker);\n};\n\n_WeekPicker.Field = WeekPicker;\n\n_DatePicker.MonthPicker = _MonthPicker;\n_DatePicker.RangePicker = _RangePicker;\n_DatePicker.WeekPicker = _WeekPicker;\n\n\nexport default _DatePicker;\n","import {Checkbox} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst _CheckboxGroup = Checkbox.Group;\n\nconst CheckboxGroup = (props) => {\n props = Object.assign({}, {\n fieldName: 'checkboxGroup'\n }, props);\n const render = useOnChange(props);\n return render(_CheckboxGroup);\n};\n\nCheckboxGroup.Checkbox = Checkbox;\nCheckboxGroup.Field = _CheckboxGroup;\n\nexport default CheckboxGroup;\n","import {Checkbox as _Checkbox} from 'antd';\nimport {hooks, hoc} from '@kne/react-form-helper';\n\nconst {useOnChange, useCheckedToValue} = hooks;\nconst {withChecked} = hoc;\n\nconst WithCheckbox = withChecked(_Checkbox);\n\nconst Checkbox = (props) => {\n props = Object.assign({}, {\n fieldName: 'checkbox'\n }, props);\n const checkedProps = useCheckedToValue(Object.assign({}, props, {\n onChange: (e) => {\n e.target.type = 'checkbox';\n props.onChange && props.onChange(e);\n }\n }));\n const render = useOnChange(checkedProps);\n return render(WithCheckbox);\n};\n\nCheckbox.Field = _Checkbox;\nexport default Checkbox;\n","import {Cascader as _Cascader} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst Cascader = (props) => {\n props = Object.assign({}, {\n fieldName: 'cascader'\n }, props);\n const render = useOnChange(props);\n return render(_Cascader);\n};\n\nCascader.Field = _Cascader;\n\nexport default Cascader;\n\n","import {Rate as _Rate} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst Rate = (props) => {\n props = Object.assign({}, {\n fieldName: 'rate'\n }, props);\n const render = useOnChange(Object.assign({}, props));\n return render(_Rate);\n};\n\nRate.Field = _Rate;\n\nexport default Rate;\n","import {Slider as _Slider} from 'antd';\nimport {hooks} from '@kne/react-form-helper';\n\nconst {useOnChange} = hooks;\n\nconst Slider = (props) => {\n props = Object.assign({}, {\n fieldName: 'slider'\n }, props);\n const render = useOnChange(Object.assign({}, props));\n return render(_Slider);\n};\n\nSlider.Field = _Slider;\n\nexport default Slider;\n","import React from 'react';\nimport {useReset} from '@kne/react-form';\nimport {Button} from 'antd';\n\nconst ResetButton = (props) => {\n const resetProps = useReset();\n return (\n <Button {...resetProps} {...props}/>\n );\n};\n\nexport default ResetButton;\n","import React from 'react';\nimport {useSubmit} from '@kne/react-form';\nimport {Button} from 'antd';\n\nconst SubmitButton = ({type = 'primary', realtime, disabled = false, ...props}) => {\n const {isPass, isLoading, ...submitProps} = useSubmit(props);\n return (<Button type={type} loading={isLoading}\n disabled={disabled || (realtime ? !isPass : false)} {...props} {...submitProps}/>);\n};\n\nexport default SubmitButton;\n","import React from 'react';\nimport {hooks} from '@kne/react-form-helper';\nimport {Button} from 'antd';\n\nconst {useCacheRemove} = hooks;\n\nconst CancelButton = ({onClick, ...props}) => {\n const remove = useCacheRemove();\n return (<Button {...props} onClick={(...args) => {\n remove();\n onClick && onClick(...args);\n }}/>);\n};\n\nexport default CancelButton;\n","import Form from './Form';\nimport TreeSelect from './fields/TreeSelect';\nimport TimePicker from './fields/TimePicker';\nimport TextArea from './fields/TextArea';\nimport Switch from './fields/Switch';\nimport Select from './fields/Select';\nimport RadioGroup from './fields/RadioGroup';\nimport InputNumber from './fields/InputNumber';\nimport Input from './fields/Input';\nimport DatePickerToday from './fields/DatePickerToday';\nimport DatePicker from './fields/DatePicker';\nimport CheckboxGroup from './fields/CheckboxGroup';\nimport Checkbox from './fields/Checkbox';\nimport Cascader from './fields/Cascader';\nimport Rate from './fields/Rate';\nimport Slider from './fields/Slider';\n\nexport * from './Form';\nexport default Form;\nexport const FormAntd = Form;\nexport {default as preset} from './preset';\nexport {default as ResetButton} from './ResetButton';\nexport {default as SubmitButton} from './SubmitButton';\nexport {default as CancelButton} from './CancelButton';\nexport {\n TreeSelect,\n TimePicker,\n TextArea,\n Switch,\n Select,\n RadioGroup,\n InputNumber,\n Input,\n DatePickerToday,\n DatePicker,\n CheckboxGroup,\n Checkbox,\n Cascader,\n Rate,\n Slider\n};\n\nexport const fields = {\n TreeSelect,\n TimePicker,\n TextArea,\n Switch,\n Select,\n RadioGroup,\n InputNumber,\n Input,\n DatePickerToday,\n DatePicker,\n CheckboxGroup,\n Checkbox,\n Cascader,\n Rate,\n Slider\n};\n","var assignMergeValue = require('./_assignMergeValue'),\n cloneBuffer = require('./_cloneBuffer'),\n cloneTypedArray = require('./_cloneTypedArray'),\n copyArray = require('./_copyArray'),\n initCloneObject = require('./_initCloneObject'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLikeObject = require('./isArrayLikeObject'),\n isBuffer = require('./isBuffer'),\n isFunction = require('./isFunction'),\n isObject = require('./isObject'),\n isPlainObject = require('./isPlainObject'),\n isTypedArray = require('./isTypedArray'),\n safeGet = require('./_safeGet'),\n toPlainObject = require('./toPlainObject');\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n","var baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n","/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n","var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return copyObject(value, keysIn(value));\n}\n\nmodule.exports = toPlainObject;\n","var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n"],"names":["baseGetTag","require","getPrototype","isObjectLike","funcProto","Function","prototype","objectProto","Object","funcToString","toString","hasOwnProperty","objectCtorString","call","module","exports","value","proto","Ctor","constructor","Stack","assignMergeValue","baseFor","baseMergeDeep","isObject","keysIn","safeGet","baseMerge","object","source","srcIndex","customizer","stack","srcValue","key","newValue","undefined","constant","defineProperty","identity","baseSetToString","func","string","thisArg","args","length","apply","merge","createAssigner","setToString","shortOut","memoize","text","fontSize","options","assign","fontFamily","fontWeight","_Object$assign","ctx","document","createElement","getContext","font","concat","measureText","width","obj","keys","map","join","localStorage","cache","async","getValue","expire","arguments","getItem","setItem","target","window","dataType","JSON","parse","Date","now","removeItem","Number","Boolean","e","stringify","useBlurDecorator","_ref","triggerValidate","onBlur","others","_objectWithoutPropertiesLoose","_excluded$5","handlerBlur","useCallback","_extends","useChangeDecorator","onChange","_excluded$4","hasChanged","useRef","validate","handlerChange","current","useEffect","context$2","createContext","Provider","Provider$2","context$1","size","Provider$1","Consumer","context","FieldPropsProvider","_ref4","props","children","React","useUIDecorator","name","rule","description","className","label","labelRender","labelTips","labelHidden","errMsg","errState","isValueChanged","wrappedClassName","fieldRef","important","ignoreLabelWidth","associationOptions","_excluded$2","useFormSize","useContext","isREQ","setIsREQ","useState","isSubmit","setIsSubmit","emitter","useFormContext","labelWidth","useMaxLabelWidth","maxWidth","split","indexOf","subscription","addListener","remove","WrappedComponent","style","minWidth","stateClassName","_ref5","computedErrorClassName","isReq","ref","classnames","globalParams","field","preset","defaultPropsAssign","fieldName","_excluded$1","globalProps","hooks","useField","useFieldProps","useCheckedToValue","checked","_excluded$3","useDecorator","_ref2","realtime","_excluded2","fieldProps","debounce","changeProps","blurProps","realtimeProps","useOnBlur","useOnChange","useCacheRemove","emit","hoc","withChecked","_excluded2$1","widget","ScrollToError","_ref6","scrollProps","_scrollProps","errors","el","get","scrollIntoView","EnterSubmit","type","_excluded","handlerKeyUp","keyCode","onKeyUp","MaxLabelProvider","_ref3","minLabelWidth","setMaxWidth","fields","root","useLayoutEffect","querySelector","getComputedStyle","getPropertyValue","Math","max","uniq","querySelectorAll","item","innerText","str","textWidth","FormStore","_ref7","fieldsRef","Map","openApi","data","subscriptionFieldReady","path","id","subscriptionChange","_ref8","set","preData","subscriptionSubmit","subscriptionRemove","SizeProvider","utils","nativeMax","start","transform","index","array","Array","otherArgs","this","overRest","fromRight","iteratee","keysFunc","iterable","eq","isArrayLike","isIndex","baseAssignValue","rules","formModal","resetButton","submitButton","defaultProps","forEach","preset$1","preset$2","Form","forwardRef","originProps","enterSubmit","scrollToError","block","baseClass","computedClass","maxLabel","onSubmit","preventDefault","stopPropagation","ReactForm__default","useOnChange$b","_TreeSelect","placeholder","render","TreeSelect","Field","TreeNode","useOnChange$a","RangePicker","RangePicker$1","TimePicker","_TimePicker","_RangePicker$1","useDecorator$2","TextArea","Input","useOnChange$9","useCheckedToValue$1","withChecked$1","WithSwitch","Switch$1","Switch","checkedProps","useOnChange$8","_Select","Select","Option","OptGroup","useOnChange$7","RadioGroup","handler","Radio","Group","_RadioGroup","useDecorator$1","InputNumberField","autoComplete","InputNumber","InputField","Password","useOnChange$6","PickerToday","soFarText","startProps","endProps","useControlValue","ref_d","newData","useMemo","s","d","p","dayjs","end","showZj","display","DatePicker","showToday","v","isBefore","viewBox","focusable","height","fill","renderExtraFooter","foot","Button","onClick","blur","RangePickerToday","useOnChange$5","MonthPicker","WeekPicker","_DatePicker","_MonthPicker","_RangePicker","_WeekPicker","useOnChange$4","_CheckboxGroup","Checkbox$1","CheckboxGroup","Checkbox","useOnChange$3","WithCheckbox","useOnChange$2","Cascader","Cascader$1","useOnChange$1","Rate","Rate$1","Slider","Slider$1","ResetButton","resetProps","useReset","SubmitButton","disabled","_useSubmit","useSubmit","isPass","isLoading","submitProps","loading","CancelButton","FormAntd","cloneBuffer","cloneTypedArray","copyArray","initCloneObject","isArguments","isArray","isArrayLikeObject","isBuffer","isFunction","isPlainObject","isTypedArray","toPlainObject","mergeFunc","objValue","stacked","isCommon","isArr","isBuff","isTyped","baseRest","isIterateeCall","assigner","sources","guard","nativeNow","count","lastCalled","stamp","remaining","copyObject","createBaseFor"],"ignoreList":[],"sourceRoot":""}
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[7589,7987],{8151(o,e,n){n.r(e),n.d(e,{default:()=>H,manifest:()=>M});var r=n(22978),c=n(62902),s=n(77091),m=n(25724),t=n(43728),p=n(56026),a=n(73650),i=n(17540),u=n(18495),l=n(46631),b=n(20031),w=n(9745),h=n(74199),k=n(91707),D=n(68223),A=n(89896),F=n(32159),B=n(93314),g=n(45426),I=n(85772),f=n(71384),d=n(46312),C=n(21763),v=n(58419),G=n(45516),L=n(28928),P=n(38799),S=n(28967),T=n(12027),_=n(52616),x=n(70467),y=n(91026);const H={ButtonGroup:r.A,Common:c.A,ConfirmButton:s.A,Content:m.A,Descriptions:t.A,Drawer:p.A,Enum:a.A,Features:i.A,FetchButton:u.A,File:l.A,FileList:b.A,FilePreview:w.A,Filter:h.A,FlexBox:k.A,FormInfo:D.A,Global:A.A,HelperGuide:F.A,HistoryStore:B.A,Icon:g.A,Image:I.A,InfoPage:f.A,Intl:d.A,Layout:C.A,LoadingButton:v.A,Menu:G.A,Modal:L.A,Navigation:P.A,Permissions:S.A,StateBar:T.A,StateTag:_.A,Table:x.A,Tooltip:y.A},M={name:"components-core",version:"0.4.54","open-version":!0,"public-url":"/components-core",modules:[{name:"ButtonGroup",baseDir:"/home/runner/work/components-core/components-core/src/components/ButtonGroup"},{name:"Common",baseDir:"/home/runner/work/components-core/components-core/src/components/Common"},{name:"ConfirmButton",baseDir:"/home/runner/work/components-core/components-core/src/components/ConfirmButton"},{name:"Content",baseDir:"/home/runner/work/components-core/components-core/src/components/Content"},{name:"Descriptions",baseDir:"/home/runner/work/components-core/components-core/src/components/Descriptions"},{name:"Drawer",baseDir:"/home/runner/work/components-core/components-core/src/components/Drawer"},{name:"Enum",baseDir:"/home/runner/work/components-core/components-core/src/components/Enum"},{name:"Features",baseDir:"/home/runner/work/components-core/components-core/src/components/Features"},{name:"FetchButton",baseDir:"/home/runner/work/components-core/components-core/src/components/FetchButton"},{name:"File",baseDir:"/home/runner/work/components-core/components-core/src/components/File"},{name:"FileList",baseDir:"/home/runner/work/components-core/components-core/src/components/FileList"},{name:"FilePreview",baseDir:"/home/runner/work/components-core/components-core/src/components/FilePreview"},{name:"Filter",baseDir:"/home/runner/work/components-core/components-core/src/components/Filter"},{name:"FlexBox",baseDir:"/home/runner/work/components-core/components-core/src/components/FlexBox"},{name:"FormInfo",baseDir:"/home/runner/work/components-core/components-core/src/components/FormInfo"},{name:"Global",baseDir:"/home/runner/work/components-core/components-core/src/components/Global"},{name:"HelperGuide",baseDir:"/home/runner/work/components-core/components-core/src/components/HelperGuide"},{name:"HistoryStore",baseDir:"/home/runner/work/components-core/components-core/src/components/HistoryStore"},{name:"Icon",baseDir:"/home/runner/work/components-core/components-core/src/components/Icon"},{name:"Image",baseDir:"/home/runner/work/components-core/components-core/src/components/Image"},{name:"InfoPage",baseDir:"/home/runner/work/components-core/components-core/src/components/InfoPage"},{name:"Intl",baseDir:"/home/runner/work/components-core/components-core/src/components/Intl"},{name:"Layout",baseDir:"/home/runner/work/components-core/components-core/src/components/Layout"},{name:"LoadingButton",baseDir:"/home/runner/work/components-core/components-core/src/components/LoadingButton"},{name:"Menu",baseDir:"/home/runner/work/components-core/components-core/src/components/Menu"},{name:"Modal",baseDir:"/home/runner/work/components-core/components-core/src/components/Modal"},{name:"Navigation",baseDir:"/home/runner/work/components-core/components-core/src/components/Navigation"},{name:"Permissions",baseDir:"/home/runner/work/components-core/components-core/src/components/Permissions"},{name:"StateBar",baseDir:"/home/runner/work/components-core/components-core/src/components/StateBar"},{name:"StateTag",baseDir:"/home/runner/work/components-core/components-core/src/components/StateTag"},{name:"Table",baseDir:"/home/runner/work/components-core/components-core/src/components/Table"},{name:"Tooltip",baseDir:"/home/runner/work/components-core/components-core/src/components/Tooltip"}]}}}]);
2
- //# sourceMappingURL=7589.a82e22ec.chunk.js.map
1
+ "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[7589,7987],{8151(o,e,n){n.r(e),n.d(e,{default:()=>H,manifest:()=>M});var r=n(22978),c=n(62902),s=n(77091),m=n(25724),t=n(43728),p=n(56026),a=n(73650),i=n(17540),u=n(18495),l=n(46631),b=n(20031),w=n(9745),h=n(74199),k=n(91707),D=n(68223),A=n(89896),F=n(32159),B=n(93314),g=n(45426),I=n(85772),f=n(71384),d=n(46312),C=n(21763),v=n(58419),G=n(45516),L=n(28928),P=n(38799),S=n(28967),T=n(12027),_=n(52616),x=n(70467),y=n(91026);const H={ButtonGroup:r.A,Common:c.A,ConfirmButton:s.A,Content:m.A,Descriptions:t.A,Drawer:p.A,Enum:a.A,Features:i.A,FetchButton:u.A,File:l.A,FileList:b.A,FilePreview:w.A,Filter:h.A,FlexBox:k.A,FormInfo:D.A,Global:A.A,HelperGuide:F.A,HistoryStore:B.A,Icon:g.A,Image:I.A,InfoPage:f.A,Intl:d.A,Layout:C.A,LoadingButton:v.A,Menu:G.A,Modal:L.A,Navigation:P.A,Permissions:S.A,StateBar:T.A,StateTag:_.A,Table:x.A,Tooltip:y.A},M={name:"components-core",version:"0.4.57","open-version":!0,"public-url":"/components-core",modules:[{name:"ButtonGroup",baseDir:"/home/runner/work/components-core/components-core/src/components/ButtonGroup"},{name:"Common",baseDir:"/home/runner/work/components-core/components-core/src/components/Common"},{name:"ConfirmButton",baseDir:"/home/runner/work/components-core/components-core/src/components/ConfirmButton"},{name:"Content",baseDir:"/home/runner/work/components-core/components-core/src/components/Content"},{name:"Descriptions",baseDir:"/home/runner/work/components-core/components-core/src/components/Descriptions"},{name:"Drawer",baseDir:"/home/runner/work/components-core/components-core/src/components/Drawer"},{name:"Enum",baseDir:"/home/runner/work/components-core/components-core/src/components/Enum"},{name:"Features",baseDir:"/home/runner/work/components-core/components-core/src/components/Features"},{name:"FetchButton",baseDir:"/home/runner/work/components-core/components-core/src/components/FetchButton"},{name:"File",baseDir:"/home/runner/work/components-core/components-core/src/components/File"},{name:"FileList",baseDir:"/home/runner/work/components-core/components-core/src/components/FileList"},{name:"FilePreview",baseDir:"/home/runner/work/components-core/components-core/src/components/FilePreview"},{name:"Filter",baseDir:"/home/runner/work/components-core/components-core/src/components/Filter"},{name:"FlexBox",baseDir:"/home/runner/work/components-core/components-core/src/components/FlexBox"},{name:"FormInfo",baseDir:"/home/runner/work/components-core/components-core/src/components/FormInfo"},{name:"Global",baseDir:"/home/runner/work/components-core/components-core/src/components/Global"},{name:"HelperGuide",baseDir:"/home/runner/work/components-core/components-core/src/components/HelperGuide"},{name:"HistoryStore",baseDir:"/home/runner/work/components-core/components-core/src/components/HistoryStore"},{name:"Icon",baseDir:"/home/runner/work/components-core/components-core/src/components/Icon"},{name:"Image",baseDir:"/home/runner/work/components-core/components-core/src/components/Image"},{name:"InfoPage",baseDir:"/home/runner/work/components-core/components-core/src/components/InfoPage"},{name:"Intl",baseDir:"/home/runner/work/components-core/components-core/src/components/Intl"},{name:"Layout",baseDir:"/home/runner/work/components-core/components-core/src/components/Layout"},{name:"LoadingButton",baseDir:"/home/runner/work/components-core/components-core/src/components/LoadingButton"},{name:"Menu",baseDir:"/home/runner/work/components-core/components-core/src/components/Menu"},{name:"Modal",baseDir:"/home/runner/work/components-core/components-core/src/components/Modal"},{name:"Navigation",baseDir:"/home/runner/work/components-core/components-core/src/components/Navigation"},{name:"Permissions",baseDir:"/home/runner/work/components-core/components-core/src/components/Permissions"},{name:"StateBar",baseDir:"/home/runner/work/components-core/components-core/src/components/StateBar"},{name:"StateTag",baseDir:"/home/runner/work/components-core/components-core/src/components/StateTag"},{name:"Table",baseDir:"/home/runner/work/components-core/components-core/src/components/Table"},{name:"Tooltip",baseDir:"/home/runner/work/components-core/components-core/src/components/Tooltip"}]}}}]);
2
+ //# sourceMappingURL=7589.affbfe09.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static/js/7589.a82e22ec.chunk.js","mappings":"oiBA+BoD,SAAgBA,YAAW,IAACC,OAAM,IAACC,cAAa,IAACC,QAAO,IAACC,aAAY,IAACC,OAAM,IAACC,KAAI,IAACC,SAAQ,IAACC,YAAW,IAACC,KAAI,IAACC,SAAQ,IAACC,YAAW,IAACC,OAAM,IAACC,QAAO,IAACC,SAAQ,IAACC,OAAM,IAACC,YAAW,IAACC,aAAY,IAACC,KAAI,IAACC,MAAK,IAACC,SAAQ,IAACC,KAAI,IAACC,OAAM,IAACC,cAAa,IAACC,KAAI,IAACC,MAAK,IAACC,WAAU,IAACC,YAAW,IAACC,SAAQ,IAACC,SAAQ,IAACC,MAAK,IAACC,QAAOA,EAAAA,GAC/UC,EAAW,CAAC,KAAO,kBAAkB,QAAU,SAAS,gBAAe,EAAK,aAAa,mBAAmB,QAAU,CAAC,CAAC,KAAO,cAAc,QAAU,gFAAgF,CAAC,KAAO,SAAS,QAAU,2EAA2E,CAAC,KAAO,gBAAgB,QAAU,kFAAkF,CAAC,KAAO,UAAU,QAAU,4EAA4E,CAAC,KAAO,eAAe,QAAU,iFAAiF,CAAC,KAAO,SAAS,QAAU,2EAA2E,CAAC,KAAO,OAAO,QAAU,yEAAyE,CAAC,KAAO,WAAW,QAAU,6EAA6E,CAAC,KAAO,cAAc,QAAU,gFAAgF,CAAC,KAAO,OAAO,QAAU,yEAAyE,CAAC,KAAO,WAAW,QAAU,6EAA6E,CAAC,KAAO,cAAc,QAAU,gFAAgF,CAAC,KAAO,SAAS,QAAU,2EAA2E,CAAC,KAAO,UAAU,QAAU,4EAA4E,CAAC,KAAO,WAAW,QAAU,6EAA6E,CAAC,KAAO,SAAS,QAAU,2EAA2E,CAAC,KAAO,cAAc,QAAU,gFAAgF,CAAC,KAAO,eAAe,QAAU,iFAAiF,CAAC,KAAO,OAAO,QAAU,yEAAyE,CAAC,KAAO,QAAQ,QAAU,0EAA0E,CAAC,KAAO,WAAW,QAAU,6EAA6E,CAAC,KAAO,OAAO,QAAU,yEAAyE,CAAC,KAAO,SAAS,QAAU,2EAA2E,CAAC,KAAO,gBAAgB,QAAU,kFAAkF,CAAC,KAAO,OAAO,QAAU,yEAAyE,CAAC,KAAO,QAAQ,QAAU,0EAA0E,CAAC,KAAO,aAAa,QAAU,+EAA+E,CAAC,KAAO,cAAc,QAAU,gFAAgF,CAAC,KAAO,WAAW,QAAU,6EAA6E,CAAC,KAAO,WAAW,QAAU,6EAA6E,CAAC,KAAO,QAAQ,QAAU,0EAA0E,CAAC,KAAO,UAAU,QAAU,6E","sources":["../node_modules/readme/modules.js"],"sourcesContent":["import ButtonGroup from '@components/ButtonGroup/README.md';\nimport Common from '@components/Common/README.md';\nimport ConfirmButton from '@components/ConfirmButton/README.md';\nimport Content from '@components/Content/README.md';\nimport Descriptions from '@components/Descriptions/README.md';\nimport Drawer from '@components/Drawer/README.md';\nimport Enum from '@components/Enum/README.md';\nimport Features from '@components/Features/README.md';\nimport FetchButton from '@components/FetchButton/README.md';\nimport File from '@components/File/README.md';\nimport FileList from '@components/FileList/README.md';\nimport FilePreview from '@components/FilePreview/README.md';\nimport Filter from '@components/Filter/README.md';\nimport FlexBox from '@components/FlexBox/README.md';\nimport FormInfo from '@components/FormInfo/README.md';\nimport Global from '@components/Global/README.md';\nimport HelperGuide from '@components/HelperGuide/README.md';\nimport HistoryStore from '@components/HistoryStore/README.md';\nimport Icon from '@components/Icon/README.md';\nimport Image from '@components/Image/README.md';\nimport InfoPage from '@components/InfoPage/README.md';\nimport Intl from '@components/Intl/README.md';\nimport Layout from '@components/Layout/README.md';\nimport LoadingButton from '@components/LoadingButton/README.md';\nimport Menu from '@components/Menu/README.md';\nimport Modal from '@components/Modal/README.md';\nimport Navigation from '@components/Navigation/README.md';\nimport Permissions from '@components/Permissions/README.md';\nimport StateBar from '@components/StateBar/README.md';\nimport StateTag from '@components/StateTag/README.md';\nimport Table from '@components/Table/README.md';\nimport Tooltip from '@components/Tooltip/README.md';export default {ButtonGroup,Common,ConfirmButton,Content,Descriptions,Drawer,Enum,Features,FetchButton,File,FileList,FilePreview,Filter,FlexBox,FormInfo,Global,HelperGuide,HistoryStore,Icon,Image,InfoPage,Intl,Layout,LoadingButton,Menu,Modal,Navigation,Permissions,StateBar,StateTag,Table,Tooltip};\nexport const manifest = {\"name\":\"components-core\",\"version\":\"0.4.54\",\"open-version\":true,\"public-url\":\"/components-core\",\"modules\":[{\"name\":\"ButtonGroup\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/ButtonGroup\"},{\"name\":\"Common\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Common\"},{\"name\":\"ConfirmButton\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/ConfirmButton\"},{\"name\":\"Content\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Content\"},{\"name\":\"Descriptions\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Descriptions\"},{\"name\":\"Drawer\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Drawer\"},{\"name\":\"Enum\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Enum\"},{\"name\":\"Features\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Features\"},{\"name\":\"FetchButton\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/FetchButton\"},{\"name\":\"File\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/File\"},{\"name\":\"FileList\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/FileList\"},{\"name\":\"FilePreview\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/FilePreview\"},{\"name\":\"Filter\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Filter\"},{\"name\":\"FlexBox\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/FlexBox\"},{\"name\":\"FormInfo\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/FormInfo\"},{\"name\":\"Global\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Global\"},{\"name\":\"HelperGuide\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/HelperGuide\"},{\"name\":\"HistoryStore\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/HistoryStore\"},{\"name\":\"Icon\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Icon\"},{\"name\":\"Image\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Image\"},{\"name\":\"InfoPage\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/InfoPage\"},{\"name\":\"Intl\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Intl\"},{\"name\":\"Layout\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Layout\"},{\"name\":\"LoadingButton\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/LoadingButton\"},{\"name\":\"Menu\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Menu\"},{\"name\":\"Modal\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Modal\"},{\"name\":\"Navigation\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Navigation\"},{\"name\":\"Permissions\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Permissions\"},{\"name\":\"StateBar\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/StateBar\"},{\"name\":\"StateTag\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/StateTag\"},{\"name\":\"Table\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Table\"},{\"name\":\"Tooltip\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Tooltip\"}]};"],"names":["ButtonGroup","Common","ConfirmButton","Content","Descriptions","Drawer","Enum","Features","FetchButton","File","FileList","FilePreview","Filter","FlexBox","FormInfo","Global","HelperGuide","HistoryStore","Icon","Image","InfoPage","Intl","Layout","LoadingButton","Menu","Modal","Navigation","Permissions","StateBar","StateTag","Table","Tooltip","manifest"],"ignoreList":[],"sourceRoot":""}
1
+ {"version":3,"file":"static/js/7589.affbfe09.chunk.js","mappings":"oiBA+BoD,SAAgBA,YAAW,IAACC,OAAM,IAACC,cAAa,IAACC,QAAO,IAACC,aAAY,IAACC,OAAM,IAACC,KAAI,IAACC,SAAQ,IAACC,YAAW,IAACC,KAAI,IAACC,SAAQ,IAACC,YAAW,IAACC,OAAM,IAACC,QAAO,IAACC,SAAQ,IAACC,OAAM,IAACC,YAAW,IAACC,aAAY,IAACC,KAAI,IAACC,MAAK,IAACC,SAAQ,IAACC,KAAI,IAACC,OAAM,IAACC,cAAa,IAACC,KAAI,IAACC,MAAK,IAACC,WAAU,IAACC,YAAW,IAACC,SAAQ,IAACC,SAAQ,IAACC,MAAK,IAACC,QAAOA,EAAAA,GAC/UC,EAAW,CAAC,KAAO,kBAAkB,QAAU,SAAS,gBAAe,EAAK,aAAa,mBAAmB,QAAU,CAAC,CAAC,KAAO,cAAc,QAAU,gFAAgF,CAAC,KAAO,SAAS,QAAU,2EAA2E,CAAC,KAAO,gBAAgB,QAAU,kFAAkF,CAAC,KAAO,UAAU,QAAU,4EAA4E,CAAC,KAAO,eAAe,QAAU,iFAAiF,CAAC,KAAO,SAAS,QAAU,2EAA2E,CAAC,KAAO,OAAO,QAAU,yEAAyE,CAAC,KAAO,WAAW,QAAU,6EAA6E,CAAC,KAAO,cAAc,QAAU,gFAAgF,CAAC,KAAO,OAAO,QAAU,yEAAyE,CAAC,KAAO,WAAW,QAAU,6EAA6E,CAAC,KAAO,cAAc,QAAU,gFAAgF,CAAC,KAAO,SAAS,QAAU,2EAA2E,CAAC,KAAO,UAAU,QAAU,4EAA4E,CAAC,KAAO,WAAW,QAAU,6EAA6E,CAAC,KAAO,SAAS,QAAU,2EAA2E,CAAC,KAAO,cAAc,QAAU,gFAAgF,CAAC,KAAO,eAAe,QAAU,iFAAiF,CAAC,KAAO,OAAO,QAAU,yEAAyE,CAAC,KAAO,QAAQ,QAAU,0EAA0E,CAAC,KAAO,WAAW,QAAU,6EAA6E,CAAC,KAAO,OAAO,QAAU,yEAAyE,CAAC,KAAO,SAAS,QAAU,2EAA2E,CAAC,KAAO,gBAAgB,QAAU,kFAAkF,CAAC,KAAO,OAAO,QAAU,yEAAyE,CAAC,KAAO,QAAQ,QAAU,0EAA0E,CAAC,KAAO,aAAa,QAAU,+EAA+E,CAAC,KAAO,cAAc,QAAU,gFAAgF,CAAC,KAAO,WAAW,QAAU,6EAA6E,CAAC,KAAO,WAAW,QAAU,6EAA6E,CAAC,KAAO,QAAQ,QAAU,0EAA0E,CAAC,KAAO,UAAU,QAAU,6E","sources":["../node_modules/readme/modules.js"],"sourcesContent":["import ButtonGroup from '@components/ButtonGroup/README.md';\nimport Common from '@components/Common/README.md';\nimport ConfirmButton from '@components/ConfirmButton/README.md';\nimport Content from '@components/Content/README.md';\nimport Descriptions from '@components/Descriptions/README.md';\nimport Drawer from '@components/Drawer/README.md';\nimport Enum from '@components/Enum/README.md';\nimport Features from '@components/Features/README.md';\nimport FetchButton from '@components/FetchButton/README.md';\nimport File from '@components/File/README.md';\nimport FileList from '@components/FileList/README.md';\nimport FilePreview from '@components/FilePreview/README.md';\nimport Filter from '@components/Filter/README.md';\nimport FlexBox from '@components/FlexBox/README.md';\nimport FormInfo from '@components/FormInfo/README.md';\nimport Global from '@components/Global/README.md';\nimport HelperGuide from '@components/HelperGuide/README.md';\nimport HistoryStore from '@components/HistoryStore/README.md';\nimport Icon from '@components/Icon/README.md';\nimport Image from '@components/Image/README.md';\nimport InfoPage from '@components/InfoPage/README.md';\nimport Intl from '@components/Intl/README.md';\nimport Layout from '@components/Layout/README.md';\nimport LoadingButton from '@components/LoadingButton/README.md';\nimport Menu from '@components/Menu/README.md';\nimport Modal from '@components/Modal/README.md';\nimport Navigation from '@components/Navigation/README.md';\nimport Permissions from '@components/Permissions/README.md';\nimport StateBar from '@components/StateBar/README.md';\nimport StateTag from '@components/StateTag/README.md';\nimport Table from '@components/Table/README.md';\nimport Tooltip from '@components/Tooltip/README.md';export default {ButtonGroup,Common,ConfirmButton,Content,Descriptions,Drawer,Enum,Features,FetchButton,File,FileList,FilePreview,Filter,FlexBox,FormInfo,Global,HelperGuide,HistoryStore,Icon,Image,InfoPage,Intl,Layout,LoadingButton,Menu,Modal,Navigation,Permissions,StateBar,StateTag,Table,Tooltip};\nexport const manifest = {\"name\":\"components-core\",\"version\":\"0.4.57\",\"open-version\":true,\"public-url\":\"/components-core\",\"modules\":[{\"name\":\"ButtonGroup\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/ButtonGroup\"},{\"name\":\"Common\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Common\"},{\"name\":\"ConfirmButton\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/ConfirmButton\"},{\"name\":\"Content\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Content\"},{\"name\":\"Descriptions\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Descriptions\"},{\"name\":\"Drawer\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Drawer\"},{\"name\":\"Enum\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Enum\"},{\"name\":\"Features\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Features\"},{\"name\":\"FetchButton\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/FetchButton\"},{\"name\":\"File\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/File\"},{\"name\":\"FileList\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/FileList\"},{\"name\":\"FilePreview\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/FilePreview\"},{\"name\":\"Filter\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Filter\"},{\"name\":\"FlexBox\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/FlexBox\"},{\"name\":\"FormInfo\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/FormInfo\"},{\"name\":\"Global\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Global\"},{\"name\":\"HelperGuide\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/HelperGuide\"},{\"name\":\"HistoryStore\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/HistoryStore\"},{\"name\":\"Icon\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Icon\"},{\"name\":\"Image\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Image\"},{\"name\":\"InfoPage\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/InfoPage\"},{\"name\":\"Intl\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Intl\"},{\"name\":\"Layout\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Layout\"},{\"name\":\"LoadingButton\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/LoadingButton\"},{\"name\":\"Menu\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Menu\"},{\"name\":\"Modal\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Modal\"},{\"name\":\"Navigation\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Navigation\"},{\"name\":\"Permissions\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Permissions\"},{\"name\":\"StateBar\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/StateBar\"},{\"name\":\"StateTag\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/StateTag\"},{\"name\":\"Table\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Table\"},{\"name\":\"Tooltip\",\"baseDir\":\"/home/runner/work/components-core/components-core/src/components/Tooltip\"}]};"],"names":["ButtonGroup","Common","ConfirmButton","Content","Descriptions","Drawer","Enum","Features","FetchButton","File","FileList","FilePreview","Filter","FlexBox","FormInfo","Global","HelperGuide","HistoryStore","Icon","Image","InfoPage","Intl","Layout","LoadingButton","Menu","Modal","Navigation","Permissions","StateBar","StateTag","Table","Tooltip","manifest"],"ignoreList":[],"sourceRoot":""}
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_kne_components_components_core=self.webpackChunk_kne_components_components_core||[]).push([[760,2908],{29053(e,s,t){t.r(s),t.d(s,{computedIsPass:()=>h,default:()=>P,usePermissions:()=>q,usePermissionsPass:()=>y});var n=t(89379),r=t(53986),o=t(73884),i=t(55199),a=t(33097),u=t.n(a),l=t(83136),c=t.n(l);const m="style_outer__vbHB9__2jD5x";var p=t(72752),_=t(70579);const d=["type","className","tagName","message","request","children"],h=e=>{let{permissions:s,request:t}=e;return!(Array.isArray(t)&&t.length>0)||t.some(e=>(s||[]).indexOf(e)>-1)},q=()=>{const{global:e}=(0,p.useGlobalContext)(),{permissions:s,permissionsPath:t}=(0,p.usePreset)();return{permissions:e.permissions||s||t&&u()(e,t)||[]}},y=e=>{let{request:s}=e;const{permissions:t}=q();return h({permissions:t,request:s})},P=e=>{let{type:s="hidden",className:t,tagName:a="span",message:u="\u60a8\u6682\u65e0\u6743\u9650\uff0c\u8bf7\u8054\u7cfb\u7ba1\u7406\u5458",request:l,children:p}=e,h=(0,r.A)(e,d);const q=y({request:l});return"function"===typeof p?p({isPass:q,type:s,request:l}):!0===q?p:"error"===s?(0,_.jsx)(i.Result,{status:"403",subTitle:u}):"tooltip"===s?(0,_.jsx)(i.Tooltip,{title:u,children:(0,o.createElement)(a,(0,n.A)((0,n.A)({},h),{},{className:c()(m,t)}),p)}):null}}}]);
2
+ //# sourceMappingURL=760.b5b1b5c1.chunk.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"static/js/760.13bfaff3.chunk.js","mappings":"6UACA,QAAwB,4B,gGCMXA,EAAiBC,IAA6B,IAA5B,YAACC,EAAW,QAAEC,GAAQF,EACjD,QAAOG,MAAMC,QAAQF,IAAYA,EAAQG,OAAS,IAAIH,EAAQI,KAAMC,IAAgBN,GAAe,IAAIO,QAAQD,IAAe,IAGrHE,EAAiBA,KAC1B,MAAM,OAACC,IAAUC,EAAAA,EAAAA,qBACX,YAACV,EAAW,gBAAEW,IAAmBC,EAAAA,EAAAA,aACvC,MAAO,CACHZ,YAAaS,EAAOT,aAAeA,GAAgBW,GAAmBE,IAAIJ,EAAQE,IAAqB,KAIlGG,EAAqBC,IAAgB,IAAf,QAACd,GAAQc,EACxC,MAAM,YAACf,GAAeQ,IACtB,OAAOV,EAAe,CAACE,cAAaC,aAkCxC,EA/BoBe,IAQQ,IARP,KACIC,EAAO,SAAQ,UACfC,EAAS,QACTC,EAAU,OAAM,QAChBC,EAAU,2EAAc,QACxBnB,EAAO,SACPoB,GAEHL,EADMM,GAAKC,EAAAA,EAAAA,GAAAP,EAAAQ,GAE7B,MAAMC,EAASX,EAAmB,CAACb,YACnC,MAAwB,oBAAboB,EACAA,EAAS,CAACI,SAAQR,OAAMhB,aAGpB,IAAXwB,EACOJ,EAGE,UAATJ,GACOS,EAAAA,EAAAA,KAACC,EAAAA,OAAM,CAACC,OAAO,MAAMC,SAAUT,IAG7B,YAATH,GACQS,EAAAA,EAAAA,KAACI,EAAAA,QAAO,CAACC,MAAOX,EAAQC,UAC3BW,EAAAA,EAAAA,eAAcb,GAAOc,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAA,GAAMX,GAAK,IAAEJ,UAAWgB,IAAWC,EAAgBjB,KAAaG,KAIvF,K","sources":["webpack://@kne-components/components-core/./src/components/Permissions/style.module.scss?e327","components/Permissions/index.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"outer\":\"style_outer__vbHB9__7yeOh\"};","import {createElement} from \"react\";\nimport {Result, Tooltip} from \"antd\";\nimport get from \"lodash/get\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\nimport {useGlobalContext, usePreset} from \"@components/Global\";\n\nexport const computedIsPass = ({permissions, request}) => {\n return Array.isArray(request) && request.length > 0 ? request.some((currentKey) => (permissions || []).indexOf(currentKey) > -1) : true;\n};\n\nexport const usePermissions = () => {\n const {global} = useGlobalContext();\n const {permissions, permissionsPath} = usePreset();\n return {\n permissions: global.permissions || permissions || (permissionsPath && get(global, permissionsPath)) || [],\n };\n};\n\nexport const usePermissionsPass = ({request}) => {\n const {permissions} = usePermissions();\n return computedIsPass({permissions, request});\n};\n\nconst Permissions = ({\n type = 'hidden',\n className,\n tagName = 'span',\n message = '您暂无权限,请联系管理员',\n request,\n children,\n ...props\n }) => {\n const isPass = usePermissionsPass({request});\n if (typeof children === \"function\") {\n return children({isPass, type, request});\n }\n\n if (isPass === true) {\n return children;\n }\n\n if (type === \"error\") {\n return <Result status=\"403\" subTitle={message}/>;\n }\n\n if (type === \"tooltip\") {\n return (<Tooltip title={message}>\n {createElement(tagName, {...props, className: classnames(style[\"outer\"], className)}, children)}\n </Tooltip>);\n }\n\n return null;\n};\n\nexport default Permissions;\n"],"names":["computedIsPass","_ref","permissions","request","Array","isArray","length","some","currentKey","indexOf","usePermissions","global","useGlobalContext","permissionsPath","usePreset","get","usePermissionsPass","_ref2","_ref3","type","className","tagName","message","children","props","_objectWithoutProperties","_excluded","isPass","_jsx","Result","status","subTitle","Tooltip","title","createElement","_objectSpread","classnames","style"],"ignoreList":[],"sourceRoot":""}
1
+ {"version":3,"file":"static/js/760.b5b1b5c1.chunk.js","mappings":"6UACA,QAAwB,4B,gGCMXA,EAAiBC,IAA6B,IAA5B,YAACC,EAAW,QAAEC,GAAQF,EACjD,QAAOG,MAAMC,QAAQF,IAAYA,EAAQG,OAAS,IAAIH,EAAQI,KAAMC,IAAgBN,GAAe,IAAIO,QAAQD,IAAe,IAGrHE,EAAiBA,KAC1B,MAAM,OAACC,IAAUC,EAAAA,EAAAA,qBACX,YAACV,EAAW,gBAAEW,IAAmBC,EAAAA,EAAAA,aACvC,MAAO,CACHZ,YAAaS,EAAOT,aAAeA,GAAgBW,GAAmBE,IAAIJ,EAAQE,IAAqB,KAIlGG,EAAqBC,IAAgB,IAAf,QAACd,GAAQc,EACxC,MAAM,YAACf,GAAeQ,IACtB,OAAOV,EAAe,CAACE,cAAaC,aAkCxC,EA/BoBe,IAQQ,IARP,KACIC,EAAO,SAAQ,UACfC,EAAS,QACTC,EAAU,OAAM,QAChBC,EAAU,2EAAc,QACxBnB,EAAO,SACPoB,GAEHL,EADMM,GAAKC,EAAAA,EAAAA,GAAAP,EAAAQ,GAE7B,MAAMC,EAASX,EAAmB,CAACb,YACnC,MAAwB,oBAAboB,EACAA,EAAS,CAACI,SAAQR,OAAMhB,aAGpB,IAAXwB,EACOJ,EAGE,UAATJ,GACOS,EAAAA,EAAAA,KAACC,EAAAA,OAAM,CAACC,OAAO,MAAMC,SAAUT,IAG7B,YAATH,GACQS,EAAAA,EAAAA,KAACI,EAAAA,QAAO,CAACC,MAAOX,EAAQC,UAC3BW,EAAAA,EAAAA,eAAcb,GAAOc,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAA,GAAMX,GAAK,IAAEJ,UAAWgB,IAAWC,EAAgBjB,KAAaG,KAIvF,K","sources":["webpack://@kne-components/components-core/./src/components/Permissions/style.module.scss?e327","components/Permissions/index.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"outer\":\"style_outer__vbHB9__2jD5x\"};","import {createElement} from \"react\";\nimport {Result, Tooltip} from \"antd\";\nimport get from \"lodash/get\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\nimport {useGlobalContext, usePreset} from \"@components/Global\";\n\nexport const computedIsPass = ({permissions, request}) => {\n return Array.isArray(request) && request.length > 0 ? request.some((currentKey) => (permissions || []).indexOf(currentKey) > -1) : true;\n};\n\nexport const usePermissions = () => {\n const {global} = useGlobalContext();\n const {permissions, permissionsPath} = usePreset();\n return {\n permissions: global.permissions || permissions || (permissionsPath && get(global, permissionsPath)) || [],\n };\n};\n\nexport const usePermissionsPass = ({request}) => {\n const {permissions} = usePermissions();\n return computedIsPass({permissions, request});\n};\n\nconst Permissions = ({\n type = 'hidden',\n className,\n tagName = 'span',\n message = '您暂无权限,请联系管理员',\n request,\n children,\n ...props\n }) => {\n const isPass = usePermissionsPass({request});\n if (typeof children === \"function\") {\n return children({isPass, type, request});\n }\n\n if (isPass === true) {\n return children;\n }\n\n if (type === \"error\") {\n return <Result status=\"403\" subTitle={message}/>;\n }\n\n if (type === \"tooltip\") {\n return (<Tooltip title={message}>\n {createElement(tagName, {...props, className: classnames(style[\"outer\"], className)}, children)}\n </Tooltip>);\n }\n\n return null;\n};\n\nexport default Permissions;\n"],"names":["computedIsPass","_ref","permissions","request","Array","isArray","length","some","currentKey","indexOf","usePermissions","global","useGlobalContext","permissionsPath","usePreset","get","usePermissionsPass","_ref2","_ref3","type","className","tagName","message","children","props","_objectWithoutProperties","_excluded","isPass","_jsx","Result","status","subTitle","Tooltip","title","createElement","_objectSpread","classnames","style"],"ignoreList":[],"sourceRoot":""}