@kne-components/components-core 0.4.43 → 0.4.45
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.
- package/build/asset-manifest.json +119 -119
- package/build/index.html +1 -1
- package/build/remoteEntry.js +1 -1
- package/build/remoteEntry.js.map +1 -1
- package/build/static/css/{1014.086aa33e.chunk.css → 1014.270eca57.chunk.css} +2 -2
- package/build/static/css/{6454.086aa33e.chunk.css.map → 1014.270eca57.chunk.css.map} +1 -1
- package/build/static/css/1742.12f27291.chunk.css +2 -0
- package/build/static/css/1742.12f27291.chunk.css.map +1 -0
- package/build/static/css/{1996.17626355.chunk.css → 1996.e97d56df.chunk.css} +2 -2
- package/build/static/css/{1996.17626355.chunk.css.map → 1996.e97d56df.chunk.css.map} +1 -1
- package/build/static/css/2004.33c1e186.chunk.css +2 -0
- package/build/static/css/{2004.9a904cf9.chunk.css.map → 2004.33c1e186.chunk.css.map} +1 -1
- package/build/static/css/2307.0ec76807.chunk.css +2 -0
- package/build/static/css/{2307.65a670f2.chunk.css.map → 2307.0ec76807.chunk.css.map} +1 -1
- package/build/static/css/254.b513f3ff.chunk.css +2 -0
- package/build/static/css/{254.0d3ecca7.chunk.css.map → 254.b513f3ff.chunk.css.map} +1 -1
- package/build/static/css/{2908.9fb96a7f.chunk.css → 2908.84eb11a3.chunk.css} +2 -2
- package/build/static/css/{2908.9fb96a7f.chunk.css.map → 2908.84eb11a3.chunk.css.map} +1 -1
- package/build/static/css/3404.6f0b882e.chunk.css +2 -0
- package/build/static/css/{3404.8431d58f.chunk.css.map → 3404.6f0b882e.chunk.css.map} +1 -1
- package/build/static/css/3625.d84a60b5.chunk.css +2 -0
- package/build/static/css/{3625.b64de729.chunk.css.map → 3625.d84a60b5.chunk.css.map} +1 -1
- package/build/static/css/3771.accb9a83.chunk.css +2 -0
- package/build/static/css/{3771.608d94b7.chunk.css.map → 3771.accb9a83.chunk.css.map} +1 -1
- package/build/static/css/{3790.848e83b6.chunk.css → 3790.8118caa7.chunk.css} +2 -2
- package/build/static/css/{3790.848e83b6.chunk.css.map → 3790.8118caa7.chunk.css.map} +1 -1
- package/build/static/css/5195.b239bddb.chunk.css +2 -0
- package/build/static/css/{5195.900cc6e5.chunk.css.map → 5195.b239bddb.chunk.css.map} +1 -1
- package/build/static/css/5582.877dc4db.chunk.css +2 -0
- package/build/static/css/5582.877dc4db.chunk.css.map +1 -0
- package/build/static/css/5674.49c3a29d.chunk.css +2 -0
- package/build/static/css/{5674.9abc57ff.chunk.css.map → 5674.49c3a29d.chunk.css.map} +1 -1
- package/build/static/css/{6454.086aa33e.chunk.css → 6454.270eca57.chunk.css} +2 -2
- package/build/static/css/{1014.086aa33e.chunk.css.map → 6454.270eca57.chunk.css.map} +1 -1
- package/build/static/css/{6617.086aa33e.chunk.css → 6617.270eca57.chunk.css} +2 -2
- package/build/static/css/{6617.086aa33e.chunk.css.map → 6617.270eca57.chunk.css.map} +1 -1
- package/build/static/css/{6763.3a48e682.chunk.css → 6763.5cb27d52.chunk.css} +2 -2
- package/build/static/css/{6763.3a48e682.chunk.css.map → 6763.5cb27d52.chunk.css.map} +1 -1
- package/build/static/css/7227.65ee4c4e.chunk.css +2 -0
- package/build/static/css/{7227.5a3d59f7.chunk.css.map → 7227.65ee4c4e.chunk.css.map} +1 -1
- package/build/static/css/{7338.086aa33e.chunk.css → 7338.270eca57.chunk.css} +2 -2
- package/build/static/css/{7338.086aa33e.chunk.css.map → 7338.270eca57.chunk.css.map} +1 -1
- package/build/static/css/7477.98ad0ba7.chunk.css +2 -0
- package/build/static/css/7477.98ad0ba7.chunk.css.map +1 -0
- package/build/static/css/{7569.d0338e03.chunk.css → 7569.ce87712d.chunk.css} +2 -2
- package/build/static/css/{7569.d0338e03.chunk.css.map → 7569.ce87712d.chunk.css.map} +1 -1
- package/build/static/css/{7589.3c23807a.chunk.css → 7589.e72d7a14.chunk.css} +2 -2
- package/build/static/css/{7589.3c23807a.chunk.css.map → 7589.e72d7a14.chunk.css.map} +1 -1
- package/build/static/css/{760.0e588740.chunk.css → 760.9d94b7ab.chunk.css} +2 -2
- package/build/static/css/{760.0e588740.chunk.css.map → 760.9d94b7ab.chunk.css.map} +1 -1
- package/build/static/css/7857.ec76e428.chunk.css +2 -0
- package/build/static/css/7857.ec76e428.chunk.css.map +1 -0
- package/build/static/css/833.deb93503.chunk.css +2 -0
- package/build/static/css/833.deb93503.chunk.css.map +1 -0
- package/build/static/css/{8593.8e76886f.chunk.css → 8593.4a9031dc.chunk.css} +2 -2
- package/build/static/css/{8593.8e76886f.chunk.css.map → 8593.4a9031dc.chunk.css.map} +1 -1
- package/build/static/css/{8812.9fb96a7f.chunk.css → 8812.84eb11a3.chunk.css} +2 -2
- package/build/static/css/{8812.9fb96a7f.chunk.css.map → 8812.84eb11a3.chunk.css.map} +1 -1
- package/build/static/css/9556.78fa406b.chunk.css +2 -0
- package/build/static/css/{9556.c7d295b9.chunk.css.map → 9556.78fa406b.chunk.css.map} +1 -1
- package/build/static/js/{1014.1fafe7a5.chunk.js → 1014.40be68ab.chunk.js} +1 -1
- package/build/static/js/1742.190ff95f.chunk.js +2 -0
- package/build/static/js/{1742.95ab9458.chunk.js.map → 1742.190ff95f.chunk.js.map} +1 -1
- package/build/static/js/1996.758be72d.chunk.js +2 -0
- package/build/static/js/{1996.23d83596.chunk.js.map → 1996.758be72d.chunk.js.map} +1 -1
- package/build/static/js/{2004.7da6e106.chunk.js → 2004.74384107.chunk.js} +3 -3
- package/build/static/js/{2004.7da6e106.chunk.js.map → 2004.74384107.chunk.js.map} +1 -1
- package/build/static/js/2086.04de3393.chunk.js +3 -0
- package/build/static/js/2086.04de3393.chunk.js.map +1 -0
- package/build/static/js/{2242.c61ba7cf.chunk.js → 2242.a0059cca.chunk.js} +2 -2
- package/build/static/js/{2242.c61ba7cf.chunk.js.map → 2242.a0059cca.chunk.js.map} +1 -1
- package/build/static/js/{254.ad98cab8.chunk.js → 254.54f5f58b.chunk.js} +2 -2
- package/build/static/js/{254.ad98cab8.chunk.js.map → 254.54f5f58b.chunk.js.map} +1 -1
- package/build/static/js/{3404.a30876ff.chunk.js → 3404.b93a548c.chunk.js} +3 -3
- package/build/static/js/{3404.a30876ff.chunk.js.map → 3404.b93a548c.chunk.js.map} +1 -1
- package/build/static/js/{3625.0b04804d.chunk.js → 3625.db151aab.chunk.js} +2 -2
- package/build/static/js/{3625.0b04804d.chunk.js.map → 3625.db151aab.chunk.js.map} +1 -1
- package/build/static/js/{3771.02e3498d.chunk.js → 3771.d4bd749c.chunk.js} +2 -2
- package/build/static/js/{3771.02e3498d.chunk.js.map → 3771.d4bd749c.chunk.js.map} +1 -1
- package/build/static/js/{3790.94f2135d.chunk.js → 3790.6af26115.chunk.js} +2 -2
- package/build/static/js/{3790.94f2135d.chunk.js.map → 3790.6af26115.chunk.js.map} +1 -1
- package/build/static/js/3856.23c16ed0.chunk.js +2 -0
- package/build/static/js/{3856.c1896b55.chunk.js.map → 3856.23c16ed0.chunk.js.map} +1 -1
- package/build/static/js/{4189.c2d140dc.chunk.js → 4189.473f9ca6.chunk.js} +3 -3
- package/build/static/js/{4189.c2d140dc.chunk.js.map → 4189.473f9ca6.chunk.js.map} +1 -1
- package/build/static/js/4474.1059ef67.chunk.js +2 -0
- package/build/static/js/{4474.df8d87ce.chunk.js.map → 4474.1059ef67.chunk.js.map} +1 -1
- package/build/static/js/4880.d42b9726.chunk.js +2 -0
- package/build/static/js/4880.d42b9726.chunk.js.map +1 -0
- package/build/static/js/5195.d3ea6ecc.chunk.js +2 -0
- package/build/static/js/{5195.59a3b2c6.chunk.js.map → 5195.d3ea6ecc.chunk.js.map} +1 -1
- package/build/static/js/{5674.759f1ec6.chunk.js → 5674.8d9c60e9.chunk.js} +2 -2
- package/build/static/js/{5674.759f1ec6.chunk.js.map → 5674.8d9c60e9.chunk.js.map} +1 -1
- package/build/static/js/{6454.b4a93eda.chunk.js → 6454.db19f6ca.chunk.js} +1 -1
- package/build/static/js/6617.5e0fd87c.chunk.js +1 -0
- package/build/static/js/6658.322f7f2e.chunk.js +2 -0
- package/build/static/js/6658.322f7f2e.chunk.js.map +1 -0
- package/build/static/js/{6763.83929758.chunk.js → 6763.77f6d956.chunk.js} +2 -2
- package/build/static/js/{6763.83929758.chunk.js.map → 6763.77f6d956.chunk.js.map} +1 -1
- package/build/static/js/7227.3a5d8032.chunk.js +3 -0
- package/build/static/js/{7227.0e223742.chunk.js.map → 7227.3a5d8032.chunk.js.map} +1 -1
- package/build/static/js/{7338.1e5f1a05.chunk.js → 7338.acdb1965.chunk.js} +2 -2
- package/build/static/js/{7338.1e5f1a05.chunk.js.map → 7338.acdb1965.chunk.js.map} +1 -1
- package/build/static/js/{7589.4af4312f.chunk.js → 7589.03d16dce.chunk.js} +2 -2
- package/build/static/js/{7589.4af4312f.chunk.js.map → 7589.03d16dce.chunk.js.map} +1 -1
- package/build/static/js/7591.a8577d0a.chunk.js +2 -0
- package/build/static/js/7591.a8577d0a.chunk.js.map +1 -0
- package/build/static/js/{760.bd878686.chunk.js → 760.7adc7293.chunk.js} +2 -2
- package/build/static/js/{760.bd878686.chunk.js.map → 760.7adc7293.chunk.js.map} +1 -1
- package/build/static/js/7857.3ddc9e5b.chunk.js +2 -0
- package/build/static/js/{7857.72948013.chunk.js.map → 7857.3ddc9e5b.chunk.js.map} +1 -1
- package/build/static/js/{7899.b2705260.chunk.js → 7899.633b8c99.chunk.js} +2 -2
- package/build/static/js/{7899.b2705260.chunk.js.map → 7899.633b8c99.chunk.js.map} +1 -1
- package/build/static/js/{833.0d85be06.chunk.js → 833.816bfa8f.chunk.js} +2 -2
- package/build/static/js/{833.0d85be06.chunk.js.map → 833.816bfa8f.chunk.js.map} +1 -1
- package/build/static/js/8593.92a539df.chunk.js +2 -0
- package/build/static/js/{8593.af9ad39a.chunk.js.map → 8593.92a539df.chunk.js.map} +1 -1
- package/build/static/js/{9556.fa9f4cdb.chunk.js → 9556.46180fc4.chunk.js} +3 -3
- package/build/static/js/{9556.fa9f4cdb.chunk.js.map → 9556.46180fc4.chunk.js.map} +1 -1
- package/build/static/js/main.3f3ac682.js +2 -0
- package/build/static/js/main.3f3ac682.js.map +1 -0
- package/package.json +2 -2
- package/build/static/css/1742.6ebbba2d.chunk.css +0 -2
- package/build/static/css/1742.6ebbba2d.chunk.css.map +0 -1
- package/build/static/css/2004.9a904cf9.chunk.css +0 -2
- package/build/static/css/2307.65a670f2.chunk.css +0 -2
- package/build/static/css/254.0d3ecca7.chunk.css +0 -2
- package/build/static/css/3404.8431d58f.chunk.css +0 -2
- package/build/static/css/3625.b64de729.chunk.css +0 -2
- package/build/static/css/3771.608d94b7.chunk.css +0 -2
- package/build/static/css/5195.900cc6e5.chunk.css +0 -2
- package/build/static/css/5582.c6f071ae.chunk.css +0 -2
- package/build/static/css/5582.c6f071ae.chunk.css.map +0 -1
- package/build/static/css/5674.9abc57ff.chunk.css +0 -2
- package/build/static/css/7227.5a3d59f7.chunk.css +0 -2
- package/build/static/css/7477.e73b3696.chunk.css +0 -2
- package/build/static/css/7477.e73b3696.chunk.css.map +0 -1
- package/build/static/css/7857.31cc7105.chunk.css +0 -2
- package/build/static/css/7857.31cc7105.chunk.css.map +0 -1
- package/build/static/css/833.d02b68fc.chunk.css +0 -2
- package/build/static/css/833.d02b68fc.chunk.css.map +0 -1
- package/build/static/css/9556.c7d295b9.chunk.css +0 -2
- package/build/static/js/1742.95ab9458.chunk.js +0 -2
- package/build/static/js/1996.23d83596.chunk.js +0 -2
- package/build/static/js/2086.849184aa.chunk.js +0 -3
- package/build/static/js/2086.849184aa.chunk.js.map +0 -1
- package/build/static/js/3856.c1896b55.chunk.js +0 -2
- package/build/static/js/4474.df8d87ce.chunk.js +0 -2
- package/build/static/js/4880.e0cdb4f8.chunk.js +0 -2
- package/build/static/js/4880.e0cdb4f8.chunk.js.map +0 -1
- package/build/static/js/5195.59a3b2c6.chunk.js +0 -2
- package/build/static/js/6617.758ea269.chunk.js +0 -1
- package/build/static/js/6658.2f9b1334.chunk.js +0 -2
- package/build/static/js/6658.2f9b1334.chunk.js.map +0 -1
- package/build/static/js/7227.0e223742.chunk.js +0 -3
- package/build/static/js/7591.2de20087.chunk.js +0 -2
- package/build/static/js/7591.2de20087.chunk.js.map +0 -1
- package/build/static/js/7857.72948013.chunk.js +0 -2
- package/build/static/js/8593.af9ad39a.chunk.js +0 -2
- package/build/static/js/main.643e7381.js +0 -2
- package/build/static/js/main.643e7381.js.map +0 -1
- /package/build/static/js/{2004.7da6e106.chunk.js.LICENSE.txt → 2004.74384107.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{2086.849184aa.chunk.js.LICENSE.txt → 2086.04de3393.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{3404.a30876ff.chunk.js.LICENSE.txt → 3404.b93a548c.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{4189.c2d140dc.chunk.js.LICENSE.txt → 4189.473f9ca6.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{7227.0e223742.chunk.js.LICENSE.txt → 7227.3a5d8032.chunk.js.LICENSE.txt} +0 -0
- /package/build/static/js/{9556.fa9f4cdb.chunk.js.LICENSE.txt → 9556.46180fc4.chunk.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"static/js/254.ad98cab8.chunk.js","mappings":"0TAIA,MAMA,GANmBA,EAAAA,EAAAA,wBAAuB,CACtCC,cAAe,QAASC,SAAU,CAC9B,QAASC,EAAAA,QAAM,QAASC,EAAAA,SACzBC,UAAW,c,kDCGZC,EAAYC,IAAiB,IAAhB,SAACC,GAASD,EACzB,MAAOE,EAAUC,IAAeC,EAAAA,EAAAA,WAAS,GACnCC,GAASC,EAAAA,EAAAA,cACT,OAACC,IAAUC,EAAAA,EAAAA,oBACXC,EAAWC,IAAIL,EAAQ,WAAY,CAAC,GAM1C,OALAM,EAAAA,EAAAA,WAAU,KACNC,QAAQC,SAAQC,EAAAA,EAAAA,GAAWL,EAAU,CAACF,YAAUQ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C,GAASC,EAAAA,EAAAA,aACf,OAAQre,GACNoe,GACEzc,EAAAA,EAAAA,GACEd,OAAOC,OAAO,CAAC,EAAGd,EAAO,CAAE4B,UAAWC,EAAAA,EAAM,oBAKvCyc,EAAoBte,IAC/B,MAAMue,EAAaJ,IACnB,OAAOhe,EAAAA,EAAAA,KAACuC,EAAAA,GAAWlC,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAA,GAAKR,GAAK,IAAE2C,UAAW4b,K,yGC4F5Cxf,EAAAA,EAAAA,QAAO,CACLyf,KAAM3E,IAvHY,CAClB,CACE,SACA,IAAM,CACJ,CAAExZ,MAAO,IAAKma,YAAa,UAC3B,CACEna,MAAO,IACPma,YAAa,YAInB,CACE,UACA,IAAM,CACJ,CAAEA,YAAa,eAAMna,MAAO,KAC5B,CACEma,YAAa,eACbna,MAAO,OAIb,CACE,UACA,IAAM,CACJ,CAAEma,YAAa,SAAKna,MAAO,KAC3B,CACEma,YAAa,SACbna,MAAO,OAIb,CACE,YACA,IAAM,CACJ,CAAEma,YAAa,2BAAQna,MAAO,4BAC9B,CACEma,YAAa,2BACbna,MAAO,4BAET,CAAEma,YAAa,eAAMna,MAAO,gBAC5B,CACEma,YAAa,2BACbna,MAAO,8BAIb,CACE,iBACA,IAAM,CACJ,CACEA,MAAO,EACPma,YAAa,gBAEf,CACEna,MAAO,EACPma,YAAa,gBAEf,CACEna,MAAO,EACPma,YAAa,gBAEf,CACEna,MAAO,EACPma,YAAa,gBAEf,CACEna,MAAO,EACPma,YAAa,sBAEf,CACEna,MAAO,EACPma,YAAa,wBAInB,CACE,aACA,IAAM,CACJ,CACEA,YAAa,eACbna,MAAO,IAET,CACEma,YAAa,eACbna,MAAO,IAET,CACEma,YAAa,eACbna,MAAO,IAET,CACEma,YAAa,eACbna,MAAO,IAET,CACEma,YAAa,eACbna,MAAO,IAET,CACEma,YAAa,iCACbna,MAAO,IAET,CACEma,YAAa,iCACbna,MAAO,IAET,CACEma,YAAa,qBACbna,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,EAAYT,EACpBiB,CAAOssB,GAGlB3jB,EAAOzI,MAAQosB,EACf3jB,EAAOyjB,aAAeA,EAEtB,S,eC3XA,IAAIe,EAAWpY,EAAQ,OAmCvBE,EAAOC,QAPP,SAAmB9V,GACjB,IAAIoe,EAAS2P,EAAS/tB,GAClBguB,EAAY5P,EAAS,EAEzB,OAAOA,IAAWA,EAAU4P,EAAY5P,EAAS4P,EAAY5P,EAAU,CACzE,C","sources":["components/FormInfo/withLocale.js","components/FormInfo/Form.js","components/FormInfo/fields/AddressSelect.js","components/FormInfo/FormModal.js","components/FormInfo/fields/InputUpperCase/index.js","components/FormInfo/fields/ColorPicker.js","components/FormInfo/fields/Switch/index.js","components/FormInfo/fields/index.js","webpack://@kne-components/components-core/./src/components/FormInfo/SelectInnerInput/style.module.scss?b967","components/FormInfo/SelectInnerInput/context.js","components/FormInfo/SelectInnerInput/index.js","components/File/Download.js","components/File/List/index.js","components/File/index.js","components/FormInfo/locale/en-US.js","../node_modules/lodash/dropRight.js","webpack://@kne-components/components-core/./src/components/Tooltip/style.module.scss?c30c","components/Tooltip/Tooltip.js","components/Tooltip/TooltipInfoLabel.js","components/Tooltip/TooltipFetch.js","components/FormInfo/fields/AdvancedSelect.js","components/FormInfo/FormItem.js","components/FormInfo/fields/SuperSelect.js","components/FormInfo/FormApiButton.js","webpack://@kne-components/components-core/./src/components/FormInfo/fields/SalaryInput/style.module.scss?6af8","components/FormInfo/fields/SalaryInput/index.js","components/FormInfo/ErrorTip.js","components/FormInfo/FormLangProvider.js","components/FormInfo/HelperGuideLabel.js","webpack://@kne-components/components-core/./src/components/FormInfo/style.module.scss?d1ff","components/FormInfo/FormDrawer.js","components/Enum/index.js","components/FormInfo/locale/index.js","components/FormInfo/fields/TypeDateRangePicker.js","components/FormInfo/preset.js","components/HelperGuide/locale/index.js","webpack://@kne-components/components-core/./src/components/HelperGuide/style.module.scss?bc31","components/HelperGuide/index.js","components/FormInfo/computedModalCommonProps.js","components/FormInfo/fields/IndustrySelect.js","components/FormInfo/locale/zh-CN.js","components/FormInfo/fields/FunctionSelect.js","components/FormInfo/fields/Cascader.js","components/FormInfo/fields/Text/index.js","components/FormInfo/formModule.js","webpack://@kne-components/components-core/./src/components/FormInfo/fields/Upload/style.module.scss?391a","components/FormInfo/fields/Upload/index.js","webpack://@kne-components/components-core/./src/components/FormInfo/fields/MoneyInput/style.module.scss?25be","components/FormInfo/fields/MoneyInput/index.js","components/FormInfo/FormStepModal.js","components/FormInfo/index.js","webpack://@kne-components/components-core/./src/components/FormInfo/fields/Avatar/style.module.scss?d6b0","components/FormInfo/fields/Avatar/index.js","../node_modules/lodash/toInteger.js"],"sourcesContent":["import {createWithIntlProvider} from '@kne/react-intl';\nimport zhCN from './locale/zh-CN';\nimport enUS from './locale/en-US';\n\nconst withLocale = createWithIntlProvider({\n defaultLocale: 'zh-CN', messages: {\n 'zh-CN': zhCN, 'en-US': enUS\n }, namespace: 'form-info'\n});\n\nexport default withLocale;\n","import {forwardRef, useEffect, useState} from \"react\";\nimport {usePreset, useGlobalContext} from \"@components/Global\";\nimport get from \"lodash/get\";\nimport formPreset from \"@components/FormInfo/preset\";\nimport FormLangProvider from \"@components/FormInfo/FormLangProvider\";\nimport {Form as ReactForm} from '@kne/form-info';\nimport {Provider as HelperGuideProvider} from \"@components/FormInfo/HelperGuideLabel\";\nimport '@kne/form-info/dist/index.css';\nimport withLocale from \"./withLocale\";\n\nconst SetPreset = ({children}) => {\n const [isPreset, setIsPreset] = useState(false);\n const preset = usePreset();\n const {locale} = useGlobalContext();\n const formInfo = get(preset, \"formInfo\", {});\n useEffect(() => {\n Promise.resolve(formPreset(formInfo, {locale})).then(() => {\n setIsPreset(true);\n });\n }, [formInfo, locale]);\n if (!isPreset) {\n return null;\n }\n return children;\n};\n\nconst Form = withLocale(forwardRef(({helperGuideName, lang, ...props}, ref) => {\n return (<FormLangProvider value={lang}>\n <HelperGuideProvider value={helperGuideName}>\n <SetPreset>\n <ReactForm {...props} ref={ref}/>\n </SetPreset>\n </HelperGuideProvider>\n </FormLangProvider>);\n}));\nexport default Form;\n","import { hooks } from \"@kne/react-form-antd\";\nimport { AddressInputField, AddressSelectField } from \"@components/Common\";\n\nconst { useOnChange, useDecorator } = hooks;\nconst AddressSelect = (props) => {\n const render = useOnChange(\n Object.assign({}, { placeholder: \"请选择\" + props.label }, props)\n );\n return render(AddressSelectField);\n};\n\nAddressSelect.Field = AddressSelectField;\nAddressSelect.AddressEnum = AddressSelectField.AddressEnum;\nAddressSelect.createAddressApi = AddressSelectField.createAddressApi;\nAddressSelect.withAddressApi = AddressSelectField.withAddressApi;\n\nexport default AddressSelect;\n\nexport const AddressInput = (props) => {\n const render = useDecorator(\n Object.assign(\n {},\n {\n placeholder: \"请选择\" + props.label,\n inputPlaceholder: \"请输入\" + props.label,\n },\n props\n )\n );\n return render(AddressInputField);\n};\n\nAddressInput.Field = AddressInputField;\n","import Modal, { useModal } from \"@components/Modal\";\nimport FetchButton from \"@common/components/FetchButton\";\nimport { Button } from \"antd\";\nimport computedCommonProps from \"./computedModalCommonProps\";\nimport style from \"./style.module.scss\";\n\nconst FormModal = (props) => {\n return (\n <Modal\n {...computedCommonProps(\n Object.assign({}, props, { className: style[\"form-modal\"] })\n )}\n />\n );\n};\n\nexport default FormModal;\n\nexport const useFormModal = () => {\n const modal = useModal();\n return (props) =>\n modal(\n computedCommonProps(\n Object.assign({}, props, { className: style[\"form-modal\"] })\n )\n );\n};\n\nexport const FormModalButton = ({ classNames, ...props }) => {\n const formModal = useFormModal();\n if (!props.api) {\n const { modalProps, ...others } = props;\n return (\n <Button\n {...others}\n onClick={() => {\n formModal(modalProps);\n }}\n />\n );\n }\n return <FetchButton {...props} modalFunc={formModal} />;\n};\n","import { Input } from \"antd\";\nimport useControlValue from \"@kne/use-control-value\";\nimport { createWithRemoteLoader } from \"@kne/remote-loader\";\n\nconst InputUpperCaseField = ({ ...props }) => {\n const [value, onChange] = useControlValue(props);\n\n return (\n <Input\n {...props}\n value={value}\n onChange={(e) => {\n onChange(\n e.target.value ? e.target.value.toUpperCase() : e.target.value,\n e\n );\n }}\n />\n );\n};\n\nconst InputUpperCase = createWithRemoteLoader({\n modules: [\"FormInfo@formModule\"],\n})(({ remoteModules, ...props }) => {\n const [formModule] = remoteModules;\n const { hooks } = formModule;\n const { useDecorator } = hooks;\n const render = useDecorator(\n Object.assign({ placeholder: `请输入${props.label || \"\"}` }, props)\n );\n return render(InputUpperCaseField);\n});\n\nInputUpperCase.field = InputUpperCaseField;\n\nexport default InputUpperCase;\n","import {hooks} from \"@kne/react-form-antd\";\nimport {ColorPicker as ColorPickerFieldAntd} from 'antd';\n\nconst {useOnChange} = hooks;\n\nconst ColorPickerField = (props) => {\n return <ColorPickerFieldAntd {...props} onChange={(value) => {\n return props.onChange(value.toHexString());\n }}/>;\n};\n\nconst ColorPicker = (props) => {\n const render = useOnChange(Object.assign({}, props));\n return render(ColorPickerField);\n};\n\nColorPicker.Field = ColorPicker;\nexport default ColorPicker;\n","import { Switch as AntdSwitch, Space } from \"antd\";\nimport { hooks, hoc } from \"@kne/react-form-antd\";\n\nconst { useOnChange, useCheckedToValue } = hooks;\nconst { withChecked } = hoc;\nconst WithSwitch = withChecked(({ checked, children = null, ...props }) => {\n return (\n <Space>\n <AntdSwitch checked={checked} {...props} />\n {typeof children === \"function\" ? children({ checked }) : children}\n </Space>\n );\n});\n\nconst Switch = (props) => {\n props = Object.assign(\n {},\n {\n fieldName: \"switch\",\n },\n props\n );\n const checkedProps = useCheckedToValue(props);\n const render = useOnChange(checkedProps);\n return render(WithSwitch);\n};\n\nSwitch.Field = AntdSwitch;\n\nexport default Switch;\n","import {\n DatePicker as ReactDatePicker,\n DatePickerToday as ReactDatePickerToday,\n Input as ReactInput,\n InputNumber as ReactInputNumber,\n Select as ReactSelect,\n TextArea as ReactTextArea,\n TimePicker as ReactTimePicker,\n TreeSelect as ReactTreeSelect,\n RadioGroup,\n Checkbox,\n CheckboxGroup,\n Rate,\n Slider,\n} from \"@kne/react-form-antd\";\nimport AdvancedSelectField from \"./AdvancedSelect\";\nimport SuperSelectField, {\n SuperSelectTableList as SuperSelectTableListField, SuperSelectTree, SuperSelectUser as SuperSelectUserField,\n} from \"./SuperSelect\";\nimport AddressSelect, {AddressInput} from \"./AddressSelect\";\nimport Cascader from \"./Cascader\";\nimport ColorPicker from './ColorPicker';\nimport FunctionSelect from \"./FunctionSelect\";\nimport IndustrySelect from \"./IndustrySelect\";\nimport MoneyInput from \"./MoneyInput\";\nimport PhoneNumber from \"./PhoneNumber\";\nimport Switch from \"./Switch\";\nimport Upload from \"./Upload\";\nimport Avatar from \"./Avatar\";\nimport SalaryInput from \"./SalaryInput\";\nimport InputUpperCaseField from \"./InputUpperCase\";\nimport compose from \"@kne/compose\";\nimport {forwardRef} from \"react\";\nimport {useIntl} from '@kne/react-intl';\nimport {useGroup} from \"@kne/react-form-antd\";\nimport get from \"lodash/get\";\nimport {get as _get} from \"lodash\";\nimport {useFormLang} from \"@components/FormInfo/FormLangProvider\";\nimport TypeDateRangePicker from \"./TypeDateRangePicker\";\nimport Tooltip from \"@components/Tooltip\";\nimport Icon from \"@components/Icon\";\nimport {Space} from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"../style.module.scss\";\n\nconst createWithFieldDecorator = (decoratorList) => (WrappedComponent) => {\n const TargetComponent = compose(...decoratorList)(({forwardedRef, label, placeholder, ...props}) => {\n return (<WrappedComponent\n {...props}\n label={label}\n placeholder={placeholder}\n labelRender={() => props.tips ? (<Space>\n {label}\n <Tooltip content={props.tips}>\n <span\n className={classnames(style[\"field-tips\"], {\n [style[\"label-hidden\"]]: props.labelHidden,\n })}\n >\n <Icon type=\"icon-xinxi-miaobian\"/>\n </span>\n </Tooltip>\n </Space>) : (label)}\n ref={forwardedRef}\n />)\n });\n const ForwardComponent = forwardRef((props, ref) => {\n return <TargetComponent {...props} forwardedRef={ref}/>;\n });\n Object.keys(WrappedComponent)\n .filter((key) => {\n return [\"$$typeof\", \"render\", \"field\"].indexOf(key) === -1;\n })\n .forEach((key) => {\n ForwardComponent[key] = WrappedComponent[key];\n });\n\n return ForwardComponent;\n};\n\nconst withInputDefaultPlaceholder = (WrappedComponent) => {\n return ({placeholder, label, ...props}) => {\n const {formatMessage} = useIntl();\n return (<WrappedComponent\n {...props}\n label={label}\n placeholder={placeholder || formatMessage({id: 'defaultInputPlaceholder'}, {label})}\n />);\n };\n};\n\nconst withSelectDefaultPlaceholder = (WrappedComponent) => {\n return ({placeholder, label, ...props}) => {\n const {formatMessage} = useIntl();\n return <WrappedComponent\n {...props}\n label={label}\n placeholder={placeholder || formatMessage({id: 'defaultSelectPlaceholder'}, {label})}\n />;\n }\n};\n\nconst withLang = (WrappedComponent) => {\n return (props) => {\n const group = useGroup();\n const groupName = get(group, \"name\");\n const groupIndex = _get(group, \"index\");\n const lang = useFormLang();\n if (lang && Array.isArray(lang) && lang.length > 0) {\n return lang.map((item) => {\n if (typeof item === \"string\") {\n return <WrappedComponent {...props} key={item}/>;\n }\n const {name, label, options} = item;\n const ignoreList = get(options, \"ignore\", []), disabledList = get(options, \"disabled\", []),\n fields = get(options, \"fields\", []);\n const getCurrentField = (item) => props.name === item.name && !(item.hasOwnProperty(\"groupName\") && item.groupName !== groupName) && !(item.hasOwnProperty(\"groupIndex\") && item.groupIndex !== groupIndex);\n\n if (ignoreList.length > 0 && ignoreList.find(getCurrentField)) {\n return null;\n }\n\n if (fields.length > 0 && !fields.find(getCurrentField)) {\n return null;\n }\n\n let newProps = Object.assign({}, props, {\n name: get(options, \"nameTransform\", (name, langName) => `${name}${langName}`)(props.name, name),\n label: get(options, \"labelTransform\", (label, langLabel) => label && `${label}${langLabel}`)(props.label, label),\n });\n\n if (disabledList.length > 0 && disabledList.find(getCurrentField)) {\n newProps.disabled = true;\n newProps.rule = \"\";\n }\n return <WrappedComponent {...newProps} key={name}/>;\n });\n }\n\n return <WrappedComponent {...props} />;\n };\n};\n\nconst Input = createWithFieldDecorator([withLang, withInputDefaultPlaceholder])(ReactInput);\n\nconst InputNumber = createWithFieldDecorator([withLang, withInputDefaultPlaceholder,])(ReactInputNumber);\nInput.Password = createWithFieldDecorator([withLang, withInputDefaultPlaceholder,])(ReactInput.Password);\n\nconst DatePicker = createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(ReactDatePicker);\nDatePicker.MonthPicker = createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(ReactDatePicker.MonthPicker);\n\nDatePicker.RangePicker = createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(ReactDatePicker.RangePicker);\n\nDatePicker.WeekPicker = createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(ReactDatePicker.WeekPicker);\n\nconst TimePicker = createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(ReactTimePicker);\n\nTimePicker.RangePicker = createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(ReactTimePicker.RangePicker);\n\nconst DatePickerToday = createWithFieldDecorator([withLang])(({placeholder, label, soFarText, ...props}) => {\n const {formatMessage} = useIntl({moduleName: \"FormInfo\"});\n return (<ReactDatePickerToday\n {...props}\n label={label}\n placeholder={[formatMessage({id: \"startDate\"}), formatMessage({id: \"endDate\"}),]}\n soFarText={soFarText || formatMessage({id: \"soFarText\"})}\n />);\n});\n\nconst fields = {\n Input,\n Checkbox,\n Password: Input.Password,\n InputNumber,\n DatePicker,\n MonthPicker: DatePicker.MonthPicker,\n WeekPicker: DatePicker.WeekPicker,\n DateRangePicker: DatePicker.RangePicker,\n TimeRangePicker: TimePicker.RangePicker,\n TimePicker,\n DatePickerToday,\n RadioGroup: createWithFieldDecorator([withLang])(RadioGroup),\n CheckboxGroup: createWithFieldDecorator([withLang])(CheckboxGroup),\n Rate: createWithFieldDecorator([withLang])(Rate),\n Switch: createWithFieldDecorator([withLang])(Switch),\n Slider: createWithFieldDecorator([withLang])(Slider),\n SalaryInput: createWithFieldDecorator([withLang, withInputDefaultPlaceholder])(SalaryInput),\n TypeDateRangePicker: createWithFieldDecorator([withLang])(TypeDateRangePicker),\n MoneyInput: createWithFieldDecorator([withLang, withInputDefaultPlaceholder])(MoneyInput),\n PhoneNumber: createWithFieldDecorator([withLang, withInputDefaultPlaceholder])(PhoneNumber),\n Upload: createWithFieldDecorator([withLang])(Upload),\n Avatar: createWithFieldDecorator([withLang])(Avatar),\n FunctionSelect: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(FunctionSelect),\n IndustrySelect: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(IndustrySelect),\n Cascader: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder])(Cascader),\n ColorPicker: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder])(ColorPicker),\n AddressSelect: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(AddressSelect),\n AddressInput: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(AddressInput),\n TreeSelect: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(ReactTreeSelect),\n ReactInputNumber: createWithFieldDecorator([withLang, withInputDefaultPlaceholder,])(ReactInputNumber),\n InputUpperCase: createWithFieldDecorator([withLang, withInputDefaultPlaceholder,])(InputUpperCaseField),\n Select: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder])(ReactSelect),\n TextArea: createWithFieldDecorator([withLang, withInputDefaultPlaceholder])(ReactTextArea),\n AdvancedSelect: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(AdvancedSelectField),\n SuperSelect: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(SuperSelectField),\n SuperSelectTableList: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(SuperSelectTableListField),\n SuperSelectUser: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(SuperSelectUserField),\n SuperSelectTree: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(SuperSelectTree),\n};\n\nexport default fields;\n\nexport const fieldDecorator = {\n createWithFieldDecorator, withInputDefaultPlaceholder, withSelectDefaultPlaceholder, withLang,\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"ant-tag\":\"style_ant-tag__7ct2q__A3Atd\",\"overlay\":\"style_overlay__CXfU5__A3Atd\",\"input\":\"style_input__+OpvV__A3Atd\",\"is-disabled\":\"style_is-disabled__uX4qq__A3Atd\",\"input-icon\":\"style_input-icon__E3NjK__A3Atd\",\"large\":\"style_large__vMozz__A3Atd\",\"small\":\"style_small__ubqQ+__A3Atd\",\"input-inner\":\"style_input-inner__sY-6k__A3Atd\",\"input-custom\":\"style_input-custom__Kxq3n__A3Atd\",\"display-content\":\"style_display-content__qA1jn__A3Atd\",\"overlay-footer-extra\":\"style_overlay-footer-extra__yCzWX__A3Atd\",\"selected-tag\":\"style_selected-tag__BZsMM__A3Atd\",\"selected-tag-list\":\"style_selected-tag-list__As0ho__A3Atd\",\"selected-tag-inner\":\"style_selected-tag-inner__2NH59__A3Atd\",\"text-inner\":\"style_text-inner__Bq2Ji__A3Atd\",\"placeholder\":\"style_placeholder__odotY__A3Atd\",\"is-modal\":\"style_is-modal__4cj8L__A3Atd\",\"overlay-content\":\"style_overlay-content__kpGRn__A3Atd\"};","import createContext from \"@common/utils/createContext\";\n\nexport const { context, useContext, Provider, Consumer } = createContext();\n\nexport default context;\n","import style from \"./style.module.scss\";\nimport { Provider, useContext } from \"./context\";\nimport {\n forwardRef,\n useEffect,\n useImperativeHandle,\n useRef,\n useState,\n} from \"react\";\nimport useControlValue from \"@kne/use-control-value\";\nimport { withFetch } from \"@kne/react-fetch\";\nimport get from \"lodash/get\";\nimport { App, Popover, Space, Tag } from \"antd\";\nimport classnames from \"classnames\";\nimport Modal from \"@components/Modal\";\nimport Icon from \"@components/Icon\";\nimport isNil from \"lodash/isNil\";\nimport clone from \"lodash/clone\";\nimport last from \"lodash/last\";\nimport SimpleBar from \"@common/components/SimpleBar\";\n\nconst createValueWithMaxLength =\n ({ maxLength, single, setValue, value, message }) =>\n (newValue) =>\n setValue(\n (() => {\n if (\n !single &&\n Number.isInteger(maxLength) &&\n maxLength > 0 &&\n newValue.length > maxLength\n ) {\n message(`最多选择${maxLength}个`);\n return value;\n }\n return newValue;\n })()\n );\n\nconst renderDisplayLabel = ({ single, value, mapping, onClose }) => {\n if (!value || !Array.isArray(value) || value.length === 0) {\n return null;\n }\n\n if (single) {\n return (\n <span className={style[\"text-inner\"]}>\n {get(mapping.get(value[0]), \"label\") || value[0]}\n </span>\n );\n }\n\n return value.map((item) => {\n const mappingItem = mapping.get(item);\n return (\n <Tag\n key={item}\n className={style[\"display-tag\"]}\n closable\n onClose={(e) => {\n e.preventDefault();\n onClose(item, mappingItem);\n }}\n >\n <span className={style[\"tag-inner\"]}>\n {get(mappingItem, \"label\") || item}\n </span>\n </Tag>\n );\n });\n};\n\nconst ModalContent = forwardRef(\n (\n {\n value: propsValue,\n onChange,\n extra,\n showSelectedTag,\n renderSelectedContent,\n children,\n ...props\n },\n ref\n ) => {\n const [value, setValue] = useState(propsValue);\n const propsValueRef = useRef(propsValue);\n propsValueRef.current = propsValue;\n const [modalOpen, setModalOpen] = useState(false);\n const { message } = App.useApp();\n const setValueWithMaxLength = createValueWithMaxLength({\n maxLength: props.maxLength,\n single: props.single,\n setValue,\n value,\n message: message.error,\n });\n useEffect(() => {\n if (modalOpen) {\n setValue(propsValueRef.current);\n }\n }, [modalOpen]);\n useImperativeHandle(ref, () => {\n return {\n modalOpen: () => {\n setModalOpen(true);\n },\n close: () => {\n setModalOpen(false);\n },\n };\n });\n return (\n <Modal\n {...props}\n open={modalOpen}\n onConfirm={() => {\n onChange(value);\n }}\n onClose={() => {\n setModalOpen(false);\n }}\n footer={\n (showSelectedTag || extra) && (\n <Space direction=\"vertical\" className={style[\"overlay-footer\"]}>\n {extra && (\n <div className={style[\"overlay-footer-extra\"]}>{extra}</div>\n )}\n {showSelectedTag &&\n renderSelectedContent({\n value,\n setValue: setValueWithMaxLength,\n })}\n </Space>\n )\n }\n >\n {typeof children === \"function\"\n ? children({ value, setValue: setValueWithMaxLength })\n : children}\n </Modal>\n );\n }\n);\n\nconst PopupContent = forwardRef(\n (\n {\n value,\n setValue,\n children,\n renderSelectedContent,\n showSelectedTag,\n placement,\n inputContent,\n single,\n extra,\n overlayWidth,\n wrapClassName,\n ...props\n },\n ref\n ) => {\n const [open, setOpen] = useState(false);\n useImperativeHandle(\n ref,\n () => {\n return {\n close: () => {\n setOpen(false);\n },\n };\n },\n []\n );\n return (\n <Popover\n {...props}\n open={open}\n onOpenChange={setOpen}\n overlayClassName={style[\"overlay\"]}\n arrow={false}\n content={\n <div\n style={overlayWidth ? { \"--overlay-width\": overlayWidth } : {}}\n className={style[\"overlay-content\"]}\n onClick={(e) => {\n e.stopPropagation();\n }}\n >\n <div className={style[\"overlay-inner\"]}>\n {typeof children === \"function\"\n ? children({\n value,\n setValue: (newValue) => {\n !(single && value[0] === newValue[0]) &&\n setValue(newValue);\n single && setOpen(false);\n },\n })\n : children}\n </div>\n {(showSelectedTag || extra) && (\n <div className={style[\"overlay-footer\"]}>\n {extra && (\n <div className={style[\"overlay-footer-extra\"]}>{extra}</div>\n )}\n {showSelectedTag && renderSelectedContent({ value, setValue })}\n </div>\n )}\n </div>\n }\n trigger=\"click\"\n placement={placement}\n >\n <div className={style[\"input-inner\"]}>{inputContent}</div>\n </Popover>\n );\n }\n);\n\nconst DisplayLabel = withFetch(\n ({ setFetchApi, wrapClassName, ...fetchApi }) => {\n const [hover, setHover] = useState(false);\n const modalRef = useRef(null);\n const popupRef = useRef(null);\n const selectInnerContext = useContext();\n const { valueState, mapping, props } = selectInnerContext;\n const [value, setValue] = valueState;\n const {\n single,\n placement,\n getPopupContainer,\n placeholder,\n isPopup,\n disabled,\n showSelectedTag,\n extra,\n inputContent: inputContentRender,\n } = props;\n const fetchApiRef = useRef(fetchApi);\n fetchApiRef.current = fetchApi;\n\n useEffect(() => {\n setFetchApi(\n Object.assign({}, fetchApiRef.current, {\n data: fetchApi.data,\n isComplete: fetchApi.isComplete,\n })\n );\n }, [fetchApi.data, setFetchApi, fetchApi.isComplete]);\n\n const inner = renderDisplayLabel({\n single,\n value,\n mapping,\n onClose: (item) => {\n setValue((value) => {\n const newValue = value.slice(0);\n const index = value.indexOf(item);\n index > -1 && newValue.splice(index, 1);\n return newValue;\n });\n },\n });\n\n const renderSelectedContent = ({ value, setValue }) => (\n <Space className={style[\"selected-tag\"]} align={\"center\"} wrap>\n <div>\n 已选\n {!props.single &&\n Number.isInteger(props.maxLength) &&\n props.maxLength > 0\n ? `(${value.length}/${props.maxLength})`\n : \"\"}\n :\n </div>\n <SimpleBar className={style[\"selected-tag-list\"]}>\n <div className={style[\"selected-tag-inner\"]}>\n {renderDisplayLabel({\n value,\n mapping,\n onClose: (item) => {\n setValue((value) => {\n const newValue = value.slice(0);\n const index = value.indexOf(item);\n index > -1 && newValue.splice(index, 1);\n return newValue;\n });\n },\n })}\n </div>\n </SimpleBar>\n </Space>\n );\n\n const inputContent = inputContentRender ? (\n inputContentRender(selectInnerContext)\n ) : (\n <Space\n className={style[\"display-content\"]}\n onMouseOver={() => {\n setHover(true);\n }}\n onMouseOut={() => {\n setHover(false);\n }}\n >\n <div>\n {inner || <span className={style[\"placeholder\"]}>{placeholder}</span>}\n </div>\n {hover && value && value.length > 0 && !disabled ? (\n <Icon\n className={classnames(\n style[\"close\"],\n style[\"input-icon\"],\n \"close\",\n \"input-icon\"\n )}\n type=\"icon-shibai\"\n onClick={(e) => {\n e.stopPropagation();\n setValue([]);\n }}\n />\n ) : (\n <Icon\n className={classnames(\n style[\"input-icon\"],\n \"input-icon-arrow\",\n \"input-icon\"\n )}\n type=\"icon-arrow-thin-down\"\n />\n )}\n </Space>\n );\n\n if (isPopup) {\n return (\n <PopupContent\n ref={popupRef}\n overlayWidth={props.overlayWidth}\n value={value}\n setValue={setValue}\n single={single}\n inputContent={inputContent}\n extra={\n typeof extra === \"function\"\n ? extra({\n close: () => popupRef.current.close(),\n context: selectInnerContext,\n })\n : extra\n }\n renderSelectedContent={renderSelectedContent}\n showSelectedTag={showSelectedTag}\n trigger=\"click\"\n placement={placement}\n getPopupContainer={getPopupContainer}\n >\n {props.children}\n </PopupContent>\n );\n }\n\n return (\n <div\n className={style[\"input-inner\"]}\n onClick={() => {\n modalRef.current.modalOpen();\n }}\n >\n <ModalContent\n size={props.modalSize}\n ref={modalRef}\n single={props.single}\n maxLength={props.maxLength}\n disabledScroller\n wrapClassName={classnames(\n style[\"overlay\"],\n style[\"is-modal\"],\n wrapClassName\n )}\n title={props.placeholder}\n value={value}\n onChange={setValue}\n extra={\n typeof extra === \"function\"\n ? extra({\n close: () => modalRef.current.close(),\n context: selectInnerContext,\n })\n : extra\n }\n showSelectedTag={showSelectedTag}\n renderSelectedContent={renderSelectedContent}\n >\n {props.children}\n </ModalContent>\n {inputContent}\n </div>\n );\n }\n);\n\nconst getValueInType = (value, mapping, type) => {\n if (type !== \"all\") {\n return value;\n }\n return value.map((item) => mapping.get(item));\n};\n\nconst setValueInType = (value, setMapping, type) => {\n if (type !== \"all\") {\n return value;\n }\n setMapping(value);\n return value.map((item) => item.value);\n};\n\nconst SelectInnerInput = ({\n api,\n className,\n displayItems,\n wrapClassName,\n ...props\n}) => {\n const [searchText, setSearchText] = useState(\"\");\n const [mapping, setMapping] = useState(\n new Map(displayItems.map((item) => [item.value, item]))\n );\n const [fetchApi, setFetchApi] = useState({});\n const { message } = App.useApp();\n const appendMapping = (items) => {\n const newItems = items.filter((item) => mapping.get(item.value) !== item);\n if (newItems.length === 0) {\n return;\n }\n\n setMapping((mapping) => {\n const newMapping = clone(mapping);\n newItems.forEach((item) => {\n newMapping.set(item.value, item);\n });\n return newMapping;\n });\n };\n\n const transformValue = (value) => {\n return setValueInType(\n props.single ? (isNil(value) ? [] : [value]) : value || [],\n appendMapping,\n props.valueType\n );\n };\n\n const [value, setValue] = useControlValue(\n Object.assign(\n {},\n props,\n {\n onChange: (value) => {\n const newValue = getValueInType(value, mapping, props.valueType);\n props.onChange &&\n props.onChange(props.single ? last(newValue) : newValue);\n },\n },\n \"value\" in props\n ? { value: transformValue(props.value) }\n : { defaultValue: transformValue(props.defaultValue) }\n )\n );\n\n const setValueWithMaxLength = createValueWithMaxLength({\n maxLength: props.maxLength,\n single: props.single,\n setValue,\n value,\n message: message.error,\n });\n\n return (\n <Provider\n value={{\n mapping,\n searchText,\n setSearchText,\n appendMapping,\n setItems: (data) => {\n fetchApi.setData(data);\n appendMapping(get(props.dataFormat(data), \"list\", []));\n },\n fetchApi,\n valueState: [value, setValueWithMaxLength],\n props,\n }}\n >\n <div\n className={classnames(\n style[\n `input${\n props.inputContent && typeof props.inputContent === \"function\"\n ? \"-custom\"\n : \"\"\n }`\n ],\n className\n )}\n >\n <DisplayLabel\n {...api}\n wrapClassName={wrapClassName}\n loading={null}\n setFetchApi={setFetchApi}\n onRequestSuccess={(data) => {\n appendMapping(get(props.dataFormat(data), \"list\", []));\n api.onRequestSuccess && api.onRequestSuccess(data);\n }}\n />\n </div>\n </Provider>\n );\n};\n\nSelectInnerInput.defaultProps = {\n placeholder: \"请选择\",\n displayItems: [],\n extra: null,\n api: {\n loader: () => [],\n },\n dataFormat: (data) => {\n return { list: data };\n },\n placement: \"bottomLeft\",\n getPopupContainer: null,\n showSelectedTag: true,\n};\n\nSelectInnerInput.useContext = useContext;\n\nexport default SelectInnerInput;\n","import { Download, useDownload, downloadBlobFile } from \"@kne/react-file\";\n\nDownload.useDownload = useDownload;\nDownload.downloadBlobFile = downloadBlobFile;\n\nexport default Download;\nexport { useDownload, downloadBlobFile };\n","import {FileList, FileListOptionButtons} from \"@kne/react-file\";\nimport dropRight from \"lodash/dropRight\";\nimport last from \"lodash/last\";\nimport FormInfo, {Input, useFormModal} from \"@components/FormInfo\";\nimport Modal from \"@components/Modal\";\n\nconst useEdit = ({apis}) => {\n const formModal = useFormModal();\n return typeof apis?.onEditModalShow === 'function' ? apis.onEditModalShow : (item, apis) => {\n const modalApi = formModal({\n size: \"small\",\n title: \"修改文件名称\",\n formProps: {\n data: {\n name: dropRight(item.filename.split(\".\")).join(\".\"),\n },\n onSubmit: async (data) => {\n const res =\n apis?.onEdit &&\n (await apis?.onEdit({\n formData: Object.assign({}, data, {\n name: `${data.name}.${last(item.filename.split(\".\"))}`,\n }),\n item,\n }));\n if (res !== false) {\n modalApi.close();\n }\n },\n },\n children: (\n <FormInfo\n column={1}\n list={[<Input name=\"name\" label={\"文件名称\"} rule=\"REQ LEN-0-100\"/>]}\n />\n ),\n });\n };\n};\n\nconst List = ({apis, ...p}) => {\n const handlerEdit = useEdit({apis});\n return (\n <FileList\n {...p}\n apis={apis}\n onEdit={(item) => handlerEdit(item, apis)}\n onDelete={apis?.onDelete}\n renderModal={typeof p.renderModal === 'function' ? p.renderModal : ({onCancel, ...modalProps}) => {\n return <Modal {...Object.assign({}, modalProps)} onClose={onCancel}/>;\n }}\n />\n );\n};\n\nconst OptionButtons = (props) => {\n const handlerEdit = useEdit({apis: props.apis});\n return (\n <FileListOptionButtons\n {...props}\n onEdit={(item) => handlerEdit(item, props.apis)}\n onDelete={props.apis?.onDelete}\n renderModal={typeof props.renderModal === 'function' ? props.renderModal : ({onCancel, ...modalProps}) => {\n return <Modal {...Object.assign({}, modalProps)} onClose={onCancel}/>;\n }}\n />\n );\n};\n\nexport default List;\n\nexport {OptionButtons};\n","import \"@kne/react-file/dist/index.css\";\nimport useRefCallback from \"@kne/use-ref-callback\";\nimport {\n FileButton as FileButtonBase, useFileModalProps, download\n} from \"@kne/react-file\";\nimport Modal, {useModal} from \"@components/Modal\";\nimport classnames from \"classnames\";\n\nexport const FileButton = (p) => {\n return (<FileButtonBase\n {...Object.assign({}, p, {\n modalProps: {\n renderModal: ({onCancel, ...modalProps}) => {\n return (<Modal {...Object.assign({}, modalProps)} onClose={onCancel}/>);\n },\n },\n })}\n />);\n};\n\nexport const FileLink = (p) => {\n const {className, ...props} = Object.assign({}, p);\n return (<FileButton\n {...props}\n className={classnames(className, \"btn-no-padding\")}\n type=\"link\"\n >\n {props.children || props.filename || props.originName}\n </FileButton>);\n};\n\nexport const useFileModal = (p) => {\n const {title, children, footer} = useFileModalProps(Object.assign({}, p));\n const modal = useModal();\n return useRefCallback(() => {\n return modal({\n title, children, footer,\n });\n });\n};\n\nexport {download};\nexport {default as Download, downloadBlobFile, useDownload} from \"./Download\";\nexport {default as List, OptionButtons} from \"./List\";\nexport {default, PrintButton} from \"./File\";","const message = {\n addText: \"Add\",\n addSomeThing: \"Add {label}\",\n delText: \"Delete\",\n selectedTextAdvanced: \"Selected\",\n delConfirm: \"Are you sure you want to delete this {name}?\",\n defaultInputPlaceholder: \"Please enter {label}\",\n defaultSelectPlaceholder: \"Please select {label}\",\n startDate: \"Start Date\",\n endDate: \"End Date\",\n soFarText: \"Hitherto\",\n uploadButtonText: \"Click Upload\",\n uploadTips: \"Support extension {extensionNames}, single file size does not exceed {fileSize} M, upload up to {maxLength} attachments\",\n yuan: \"yuan\",\n thousand: \"ten thousand yuan\",\n salaryType: \"Salary type\",\n Cancel: \"Cancel\",\n Save: \"Save\",\n Next: \"Next\",\n Complete: \"Complete\",\n Crop: \"Crop\",\n Preview: \"Preview\",\n PictureFormat: \"Picture Format: \",\n ImageSize: \"Image Size: \",\n ReUpload: \"Re-upload\",\n UploadFailed: \"Upload Failed{msg}\",\n NotExceeding: \"Not exceeding {size}M\",\n FileNotExceeding: \"File {name} not exceeding {size}MB!\",\n Rotate: \"Rotate\",\n ImageFull: \"Image Full\",\n Size: \"Image Size\",\n};\n\nexport default message;\n","var baseSlice = require('./_baseSlice'),\n toInteger = require('./toInteger');\n\n/**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\nfunction dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n}\n\nmodule.exports = dropRight;\n","// extracted by mini-css-extract-plugin\nexport default {\"tooltip\":\"style_tooltip__zHGMI__A3Atd\",\"large\":\"style_large__lvmsm__A3Atd\",\"small\":\"style_small__nUt0r__A3Atd\",\"popup-content\":\"style_popup-content__-rKQN__A3Atd\",\"title\":\"style_title__1EQPq__A3Atd\",\"important-info\":\"style_important-info__qTSZY__A3Atd\",\"error\":\"style_error__yTTq3__A3Atd\",\"warning\":\"style_warning__CMJxz__A3Atd\",\"success\":\"style_success__AvJVx__A3Atd\",\"sub-title\":\"style_sub-title__uD8CH__A3Atd\",\"content\":\"style_content__lzgUz__A3Atd\",\"alone\":\"style_alone__q6q82__A3Atd\",\"fetch-content\":\"style_fetch-content__tEOEV__A3Atd\",\"fetch-loading\":\"style_fetch-loading__tN-WB__A3Atd\",\"title-info-icon\":\"style_title-info-icon__iY8Q+__A3Atd\"};","import { Space, Tooltip as AntdTooltip } from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\n\nconst Tooltip = ({\n overlayClassName,\n title,\n size,\n subtitle,\n content,\n importantInfo,\n importantInfoType,\n moreInfo,\n ...props\n}) => {\n return (\n <AntdTooltip\n {...props}\n rootClassName={classnames(overlayClassName, style[\"tooltip\"], {\n [style[\"small\"]]: size === \"small\",\n [style[\"large\"]]: size === \"large\",\n })}\n title={\n <Space direction=\"vertical\" className={style[\"popup-content\"]}>\n {title && <div className={style[\"title\"]}>{title}</div>}\n {importantInfo && (\n <div\n className={classnames(style[\"important-info\"], {\n [style[\"success\"]]: importantInfoType === \"success\",\n [style[\"warning\"]]: importantInfoType === \"warning\",\n [style[\"error\"]]: importantInfoType === \"error\",\n })}\n >\n {importantInfo}\n </div>\n )}\n {subtitle && <div className={style[\"sub-title\"]}>{subtitle}</div>}\n {content && (\n <div\n className={classnames(style[\"content\"], {\n [style[\"alone\"]]: [\n title,\n subtitle,\n importantInfo,\n moreInfo,\n ].every((item) => !item),\n })}\n >\n {content}\n </div>\n )}\n {moreInfo && <div>{moreInfo}</div>}\n </Space>\n }\n />\n );\n};\n\nexport default Tooltip;\n","import style from \"./style.module.scss\";\nimport Tooltip from \"./Tooltip\";\nimport Icon from \"@components/Icon\";\n\nconst TooltipInfoLabel = ({ title, tooltipTitle }) => {\n return (\n <div>\n {title}\n {tooltipTitle ? (\n <Tooltip {...tooltipTitle}>\n <span>\n <Icon\n type=\"icon-xinxi-miaobian\"\n className={style[\"title-info-icon\"]}\n size={14}\n />\n </span>\n </Tooltip>\n ) : null}\n </div>\n );\n};\n\nexport default TooltipInfoLabel;\n","import {useState} from \"react\";\nimport {useFetch} from \"@kne/react-fetch\";\nimport {Spin} from \"antd\";\nimport style from \"./style.module.scss\";\nimport Tooltip from \"./Tooltip\";\nimport classnames from \"classnames\";\n\nconst TooltipFetch = ({\n api, children, fetchContent, showLoading = true, loadingClassName, force, ...props\n }) => {\n const [open, setOpen] = useState(false);\n const fetchApi = useFetch(Object.assign({}, api, {auto: false}));\n const {isComplete, isLoading, data, send} = fetchApi;\n return (<Tooltip\n {...Object.assign({}, props, isComplete ? fetchContent(data, fetchApi) : {})}\n open={open}\n onOpenChange={async (open) => {\n if (open && (!isComplete || force)) {\n await send({type: \"refresh\"});\n }\n setOpen(open);\n }}\n >\n <span className={style[\"fetch-content\"]}>\n {children}\n {showLoading && isLoading ? (<Spin\n size=\"small\"\n className={classnames(loadingClassName, style[\"fetch-loading\"])}\n />) : null}\n </span>\n </Tooltip>);\n};\n\nexport default TooltipFetch;\n","import { hooks } from \"@kne/react-form-antd\";\nimport {\n AdvancedSelectField,\n createListField,\n TableField,\n UserField,\n} from \"@components/Common\";\n\nconst { useOnChange } = hooks;\n\nconst createdField = (WrappedComponent) => {\n const List = (props) => {\n const render = useOnChange(\n Object.assign({}, { placeholder: \"请选择\" + props.label }, props)\n );\n return render(WrappedComponent);\n };\n\n List.field = List.Field = WrappedComponent;\n\n return List;\n};\n\nexport const createdList = ({ renderList, defaultProps }) =>\n createdField(\n createListField({\n renderList,\n defaultProps,\n })\n );\n\nexport const User = createdField(UserField);\nexport const Table = createdField(TableField);\n\nconst AdvancedSelect = createdField(AdvancedSelectField);\nAdvancedSelect.createdList = createdList;\nAdvancedSelect.User = User;\nAdvancedSelect.Table = Table;\nexport default AdvancedSelect;\n","import { useFormContext } from \"@kne/react-form-antd\";\n\nconst FormItem = ({ children }) => {\n const { openApi, formData } = useFormContext();\n return children({ ...openApi, formData });\n};\n\nexport default FormItem;\n","import {hooks} from \"@kne/react-form-antd\";\nimport {\n SuperSelectField, SuperSelectTableListField, SuperSelectTreeField,\n} from \"@components/Common\";\nimport {SuperSelectUserField} from \"../../../common/components/SuperSelectField\";\n\nconst {useOnChange} = hooks;\n\nconst createdField = (WrappedComponent) => {\n const List = (props) => {\n const render = useOnChange(Object.assign({}, {placeholder: \"请选择\" + props.label}, props));\n return render(WrappedComponent);\n };\n\n List.field = List.Field = WrappedComponent;\n\n return List;\n};\nconst SuperSelect = createdField(SuperSelectField);\nexport const SuperSelectUser = createdField(SuperSelectUserField);\nexport const SuperSelectTableList = createdField(SuperSelectTableListField);\nexport const SuperSelectTree = createdField(SuperSelectTreeField);\nexport default SuperSelect;\n","import { useFormContext } from \"@kne/react-form-antd\";\nimport LoadingButton from \"@components/LoadingButton\";\n\nconst FormApiButton = ({ onClick, ...props }) => {\n const context = useFormContext();\n return (\n <LoadingButton\n {...props}\n onClick={(e) => {\n return onClick(context, e);\n }}\n />\n );\n};\n\nexport default FormApiButton;\n","// extracted by mini-css-extract-plugin\nexport default {\"salary\":\"style_salary__sUOtT__A3Atd\",\"salary-type\":\"style_salary-type__Sl1LC__A3Atd\",\"input-number\":\"style_input-number__eoEZr__A3Atd\",\"full\":\"style_full__NPqJm__A3Atd\",\"input-group\":\"style_input-group__toLB7__A3Atd\",\"input-group-no-mb\":\"style_input-group-no-mb__C4nzh__A3Atd\"};","import React, {cloneElement} from \"react\";\nimport {withFetch} from \"@kne/react-fetch\";\nimport {hooks} from \"@kne/react-form-antd\";\nimport useSimulationBlur from \"@kne/use-simulation-blur\";\nimport {Col, Input, InputNumber, Row, Select} from \"antd\";\nimport style from \"./style.module.scss\";\nimport {IntlProvider, useIntl} from \"@components/Intl\";\nimport importMessages from \"../../locale\";\nimport Enum from \"@components/Enum\";\nimport useControlValue from \"@kne/use-control-value\";\nimport {get} from \"lodash\";\n\nconst SelectField = withFetch(({data, ...props}) => {\n return <Select {...props} options={data}/>;\n});\n\nconst {useDecorator, useUIDecorator} = hooks;\n\nexport const InputNumberField = (props) => {\n const render = useUIDecorator(props);\n return render(InputNumber);\n};\nconst numberFormat = (value) => {\n if (!value) return \"\";\n const _value = isNaN(Number(value)) ? value : Math.abs(Number(value));\n return value.split(\".\")[1] && value.split(\".\")[1].length > 2 ? _value.toFixed(2) : _value;\n};\n\nconst FormField = ({children, isError}) => {\n return (<div\n style={{marginBottom: 0}}\n className={`react-form__field ${isError ? \"is-error\" : \"\"}`}\n >\n <div className=\"react-form__field-main\">\n <div className=\"react-form__field-input\">\n {cloneElement(children, {className: \"react-form__field-component\"})}\n </div>\n </div>\n </div>);\n};\n\nconst SalaryInputField = ({\n getPopupContainer,\n onBlur,\n api,\n isRange = true,\n placeholder,\n disabled,\n showMonth,\n remindUnit,\n req,\n ...props\n }) => {\n const [value, onChange] = useControlValue(props);\n const {formatMessage} = useIntl({moduleName: \"FormInfo\"});\n const _placeholder = formatMessage({id: \"defaultSelectPlaceholder\"}, {label: \"\"});\n const _placeholderInput = formatMessage({id: \"defaultInputPlaceholder\"}, {label: \"\"});\n\n const isTenThousand = [6].indexOf(get(value, \"type\")) > -1, isFace = get(value, \"type\") === 1,\n isOther = get(value, \"type\") === 7;\n\n const transform = (value) => {\n if (!value) {\n return;\n }\n return isTenThousand ? value / 10000 : value;\n };\n\n const ref = useSimulationBlur(onBlur ? onBlur : () => {\n });\n\n return (<div ref={ref} className={style[\"salary\"]}>\n <Row wrap={false} gutter={10}>\n <Col>\n <SelectField\n className={style[\"salary-type\"]}\n {...api}\n value={get(value, \"type\")}\n onChange={(type) => {\n onChange && onChange(Object.assign({}, isFace ? {} : value, {\n type, min: \"\", max: \"\",\n }));\n }}\n placeholder={placeholder || _placeholder}\n getPopupContainer={getPopupContainer}\n disabled={disabled}\n />\n </Col>\n {isFace ? null : (<Col flex={1}>\n {isRange && (<Row\n className={remindUnit && [5, 6].includes(value?.type) ? style[\"input-group\"] : style[\"input-group-no-mb\"]}\n wrap={false}\n >\n <Col flex={1}>\n <FormField isError={!get(value, \"min\") && req}>\n <InputNumber\n disabled={disabled}\n placeholder={_placeholderInput}\n formatter={numberFormat}\n value={transform(get(value, \"min\"))}\n style={{\n textAlign: \"center\",\n }}\n onChange={(min) => {\n onChange(Object.assign({}, value, {\n min: isTenThousand ? min * 10000 : min,\n }));\n }}\n // status={'warning'}\n description={remindUnit && [5, 6].includes(value?.type) ? (\n <span style={{color: \"#fc3333\"}}>\n 注意:\n <Enum\n name={value?.type}\n moduleName=\"salaryTypeEnum\"\n />\n 的单位为\n {isTenThousand ? formatMessage({id: \"thousand\"}) : isOther ? \"\" : formatMessage({id: \"yuan\"})}\n </span>) : null}\n />\n </FormField>\n </Col>\n <Col>\n <Input\n style={{\n width: 30, borderLeft: 0, borderRight: 0, pointerEvents: \"none\",\n }}\n placeholder=\"~\"\n disabled\n />\n </Col>\n <Col flex={1}>\n <FormField isError={!get(value, \"max\") && req}>\n <InputNumber\n disabled={disabled}\n placeholder={_placeholderInput}\n formatter={numberFormat}\n value={transform(get(value, \"max\"))}\n style={{\n textAlign: \"center\",\n }}\n addonAfter={isTenThousand ? formatMessage({id: \"thousand\"}) : isOther ? \"\" : formatMessage({id: \"yuan\"})}\n onChange={(max) => {\n onChange(Object.assign({}, value, {\n max: isTenThousand ? max * 10000 : max,\n }));\n }}\n />\n </FormField>\n </Col>\n {get(value, \"type\") === 5 && showMonth && (<Col>\n <span\n className={get(value, \"max\") && get(value, \"min\") && !get(value, \"month\") && req ? \"error\" : \"\"}\n >\n <span className={style[\"input-number\"]}>X</span>\n <InputNumber\n min={12}\n disabled={disabled}\n value={get(value, \"month\")}\n onChange={(v) => {\n onChange(Object.assign({}, value, {month: v}));\n }}\n style={{\n width: 100, textAlign: \"center\",\n }}\n placeholder=\"数量\"\n addonAfter=\"月\"\n />\n </span>\n </Col>)}\n </Row>)}\n {!isRange && !isOther && (<InputNumber\n disabled={disabled}\n min={0}\n max={100000000}\n placeholder={_placeholderInput}\n className={style.full}\n formatter={numberFormat}\n value={transform(get(value, \"max\"))}\n style={{\n textAlign: \"center\",\n }}\n addonAfter={isTenThousand ? formatMessage({id: \"thousand\"}) : isOther ? \"\" : formatMessage({id: \"yuan\"})}\n onChange={(max) => {\n onChange(Object.assign({}, value, {\n max: isTenThousand ? max * 10000 : max,\n }));\n }}\n />)}\n {!isRange && isOther && (<Input\n disabled={disabled}\n placeholder={_placeholderInput}\n className={style.full}\n onChange={(e) => {\n onChange(Object.assign({}, value, {max: e.target.value}));\n }}\n value={get(value, \"max\")}\n style={{\n textAlign: \"center\",\n }}\n />)}\n </Col>)}\n </Row>\n </div>);\n};\n\nconst defaultPropsApi = {\n loader: () => {\n return [{\n value: 1, label: \"面议\",\n }, {\n value: 2, label: \"时薪\",\n }, {\n value: 3, label: \"日薪\",\n }, {\n value: 4, label: \"周薪\",\n }, {\n value: 5, label: \"月薪\",\n }, {\n value: 6, label: \"年薪\",\n },];\n },\n};\n\nconst defaultPropsValue = {\n type: 5, min: \"\", max: \"\", month: 12,\n};\n\nconst SalaryField = ({api = defaultPropsApi, defaultValue = defaultPropsValue, ...props}) => {\n return (<IntlProvider moduleName=\"FormInfo\" importMessages={importMessages}>\n <SalaryInputField {...props} api={api} defaultValue={defaultValue}/>\n </IntlProvider>);\n};\n\nconst SalaryInput = (props) => {\n const render = useDecorator({\n ...props, req: props?.rule?.indexOf(\"REQ\") > -1,\n });\n return render(SalaryField);\n};\n\nSalaryInput.Field = SalaryField;\n\nexport default SalaryInput;\n","import {useFormContext, util} from \"@kne/react-form-antd\";\nimport {Popover} from \"antd\";\nimport {useLayoutEffect, useState, useRef, useEffect} from \"react\";\nimport classnames from \"classnames\";\nimport useClickOutside from \"@kne/use-click-outside\";\nimport style from \"./style.module.scss\";\n\nconst useErrorMsg = ({name, groupName, groupIndex}) => {\n const {emitter, formState} = useFormContext();\n const targetFieldInfo = useRef({name, groupName, groupIndex});\n targetFieldInfo.current = {name, groupName, groupIndex};\n const formStateRef = useRef(formState);\n formStateRef.current = formState;\n const [currentError, setCurrentError] = useState(null);\n useEffect(() => {\n const target = emitter.addListener(\n \"form-field-validate-complete\",\n ({id, validate}) => {\n const field = formStateRef.current[id];\n if (!field) {\n return;\n }\n const currentField = targetFieldInfo.current;\n if (\n field.name === currentField.name &&\n (!currentField.groupName ||\n (field.groupName === currentField.groupName &&\n field.groupIndex === currentField.groupIndex))\n ) {\n setCurrentError(\n validate.status === 2\n ? Object.assign({}, validate, {\n label: field.label,\n errMsg: util.compileErrMsg(validate.msg, field.label),\n })\n : null\n );\n }\n }\n );\n return () => {\n target && target.remove();\n };\n }, [emitter]);\n return currentError;\n};\n\nconst ErrorTip = ({\n name,\n groupName,\n overlayClassName,\n errorRender = () => {\n return null;\n },\n groupIndex,\n children,\n }) => {\n const currentError = useErrorMsg({name, groupName, groupIndex});\n const [isHover, setIsHover] = useState(false);\n const open = currentError && isHover;\n const errorContent =\n open &&\n errorRender(\n Object.assign({}, currentError, {closeHover: () => setIsHover(false)})\n );\n const popoverChildrenRef = useRef(null),\n popoverContentRef = useRef(null);\n\n const outerRef = useClickOutside(() => {\n setIsHover(false);\n });\n outerRef.current = {\n contains: (target) => {\n return (\n popoverChildrenRef.current.contains(target) ||\n (popoverContentRef.current &&\n popoverContentRef.current.contains(target))\n );\n },\n };\n const [width, setWidth] = useState(0);\n useLayoutEffect(() => {\n const callback = () => {\n const target = popoverChildrenRef.current.querySelector(\n \".react-form__field-component\"\n );\n target && setWidth(target.clientWidth);\n };\n callback();\n const resizeObserver = new ResizeObserver(callback);\n resizeObserver.observe(popoverChildrenRef.current);\n const mutationObserver = new MutationObserver(callback);\n mutationObserver.observe(popoverChildrenRef.current, {\n subtree: true,\n childList: true,\n });\n return () => {\n mutationObserver.disconnect();\n resizeObserver.disconnect();\n };\n }, []);\n return (\n <Popover\n open={!!errorContent}\n rootClassName={classnames(\n overlayClassName,\n style[\"error-tip-overlay\"]\n )}\n content={\n errorContent && (\n <div\n ref={popoverContentRef}\n style={{width}}\n className={classnames(style[\"error-tip-overlay-content\"])}\n >\n {errorContent}\n </div>\n )\n }\n placement=\"bottom\"\n transitionName={\"ant-slide-up\"}\n arrow={false}\n >\n <div\n className={classnames(\"error-tip\")}\n ref={popoverChildrenRef}\n onMouseEnter={() => {\n setIsHover(true);\n }}\n >\n {children}\n </div>\n </Popover>\n );\n};\n\nexport default ErrorTip;\n","import { createContext, useContext } from \"react\";\n\nconst context = createContext([]);\n\nexport const { Provider, Consumer } = context;\n\nexport const useFormLang = () => {\n return useContext(context);\n};\n\nexport default Provider;\n","import HelperGuide from \"@components/HelperGuide\";\nimport { createContext, useContext as useReactContext } from \"react\";\nimport { useGroup } from \"@kne/react-form-antd\";\nimport style from \"./style.module.scss\";\n\nconst context = createContext(\"\");\nexport const { Provider } = context;\n\nconst useContext = () => {\n return useReactContext(context);\n};\n\nconst HelperGuideLabel = ({ name }) => {\n const helperGuideName = useContext();\n const group = useGroup();\n return (\n helperGuideName && (\n <HelperGuide\n className={style[\"helper-guide-field\"]}\n name={\n helperGuideName + \"-\" + (group.name ? group.name + \"-\" : \"\") + name\n }\n />\n )\n );\n};\n\nexport default HelperGuideLabel;\n","// extracted by mini-css-extract-plugin\nexport default {\"form-outer\":\"style_form-outer__IWUs0__A3Atd\",\"form-drawer\":\"style_form-drawer__uYDXS__A3Atd\",\"table-list\":\"style_table-list__6lp-A__A3Atd\",\"list-item\":\"style_list-item__hVzQa__A3Atd\",\"table-list-inner\":\"style_table-list-inner__uc8DK__A3Atd\",\"table-list-field\":\"style_table-list-field__JSJfB__A3Atd\",\"table-list-header\":\"style_table-list-header__KXvKa__A3Atd\",\"is-req\":\"style_is-req__LfXQf__A3Atd\",\"table-list-extra\":\"style_table-list-extra__faYTK__A3Atd\",\"list-btn\":\"style_list-btn__WKYkm__A3Atd\",\"form-info\":\"style_form-info__B8bAP__A3Atd\",\"list-part\":\"style_list-part__Ld0GA__A3Atd\",\"is-important\":\"style_is-important__vaBk1__A3Atd\",\"list-item-part\":\"style_list-item-part__MzKP7__A3Atd\",\"money-input\":\"style_money-input__J86Pb__A3Atd\",\"money-description\":\"style_money-description__Gz3p7__A3Atd\",\"components-upload-wrapper\":\"style_components-upload-wrapper__Ir0gz__A3Atd\",\"textarea-wrapped-component\":\"style_textarea-wrapped-component__r1oKc__A3Atd\",\"helper-guide-field\":\"style_helper-guide-field__Wke3w__A3Atd\",\"error-tip-overlay\":\"style_error-tip-overlay__aNCGc__A3Atd\",\"error-tip-overlay-content\":\"style_error-tip-overlay-content__kDOoQ__A3Atd\",\"column-not-layout\":\"style_column-not-layout__+SXC+__A3Atd\",\"mult-field-item\":\"style_mult-field-item__eS0nJ__A3Atd\",\"react-form__field-label\":\"style_react-form__field-label__2U91E__A3Atd\",\"mult-field-add-btn\":\"style_mult-field-add-btn__5Baxz__A3Atd\",\"form-step-section\":\"style_form-step-section__RvkHy__A3Atd\"};","import Drawer, { useDrawer } from \"@components/Drawer\";\nimport FetchButton from \"@common/components/FetchButton\";\nimport style from \"./style.module.scss\";\nimport computedCommonProps from \"./computedModalCommonProps\";\n\nconst FormDrawer = (props) => {\n return (\n <Drawer\n {...computedCommonProps(\n Object.assign({}, props, { className: style[\"form-drawer\"] })\n )}\n />\n );\n};\n\nexport default FormDrawer;\n\nexport const useFormDrawer = () => {\n const drawer = useDrawer();\n return (props) =>\n drawer(\n computedCommonProps(\n Object.assign({}, props, { className: style[\"form-drawer\"] })\n )\n );\n};\n\nexport const FormDrawerButton = (props) => {\n const formDrawer = useFormDrawer();\n return <FetchButton {...props} modalFunc={formDrawer} />;\n};\n","import { preset } from \"@kne/react-enum\";\nimport transform from \"lodash/transform\";\n\nconst baseLoaders = [\n [\n \"gender\",\n () => [\n { value: \"M\", description: \"男\" },\n {\n value: \"F\",\n description: \"女\",\n },\n ],\n ],\n [\n \"marital\",\n () => [\n { description: \"已婚\", value: \"Y\" },\n {\n description: \"未婚\",\n value: \"N\",\n },\n ],\n ],\n [\n \"confirm\",\n () => [\n { description: \"是\", value: \"Y\" },\n {\n description: \"否\",\n value: \"N\",\n },\n ],\n ],\n [\n \"political\",\n () => [\n { description: \"中共党员\", value: \"中共党员\" },\n {\n description: \"共青团员\",\n value: \"共青团员\",\n },\n { description: \"群众\", value: \"群众\" },\n {\n description: \"其他党派\",\n value: \"其他党派\",\n },\n ],\n ],\n [\n \"phoneStateEnum\",\n () => [\n {\n value: 0,\n description: \"空号\",\n },\n {\n value: 1,\n description: \"实号\",\n },\n {\n value: 2,\n description: \"停机\",\n },\n {\n value: 3,\n description: \"库无\",\n },\n {\n value: 4,\n description: \"沉默号\",\n },\n {\n value: 5,\n description: \"风险号\",\n },\n ],\n ],\n [\n \"degreeEnum\",\n () => [\n {\n description: \"初中\",\n value: 10,\n },\n {\n description: \"中专\",\n value: 20,\n },\n {\n description: \"高中\",\n value: 30,\n },\n {\n description: \"大专\",\n value: 40,\n },\n {\n description: \"本科\",\n value: 50,\n },\n {\n description: \"硕士研究生\",\n value: 60,\n },\n {\n description: \"博士研究生\",\n value: 70,\n },\n {\n description: \"博士后\",\n value: 75,\n },\n {\n description: \"学历不限\",\n value: 999,\n },\n ],\n ],\n];\n\npreset({\n base: transform(\n baseLoaders,\n (result, value) => {\n result[value[0]] = value[1];\n },\n {}\n ),\n});\n\nexport { default } from \"@kne/react-enum\";\n","const importMessages = (locale) => {\n return {\n \"en-US\": () => import(\"./en-US\"),\n \"zh-CN\": () => import(\"./zh-CN\"),\n }[locale]();\n};\n\nexport default importMessages;\n","import TypeDateRangePickerField from \"@common/components/TypeDateRangePickerField\";\nimport { hooks } from \"@kne/react-form-antd\";\n\nconst { useOnChange } = hooks;\n\nconst TypeDateRangePicker = (props) => {\n const render = useOnChange(Object.assign({}, {}, props));\n return render(TypeDateRangePickerField);\n};\n\nTypeDateRangePicker.Field = TypeDateRangePickerField;\n\nexport default TypeDateRangePicker;\n","import {interceptors, preset, RULES} from \"@kne/react-form-antd\";\nimport dayjs from \"dayjs\";\nimport merge from \"lodash/merge\";\nimport get from \"lodash/get\";\nimport transform from 'lodash/transform';\nimport \"@kne/react-form-antd/dist/index.css\";\nimport {PHONE_NUMBER_INPUT} from \"./fields/PhoneNumber\";\nimport HelperGuideLabel from \"@components/FormInfo/HelperGuideLabel\";\nimport {loadModule} from \"@kne/remote-loader\";\n\nconst _olderREQ = RULES.REQ;\nconst _olderLEN = RULES.LEN;\n\nconst formPreset = async (options, otherOptions) => {\n const {locale} = Object.assign({}, otherOptions);\n\n interceptors.input.use(\"photo-string\", (value) => {\n if (value && typeof value === \"string\") {\n const [id, params] = value.split(\"?\");\n const searchParams = new URLSearchParams(params);\n return Object.assign({}, {id}, transform(Array.from(searchParams.entries()), (result, value) => {\n result[value[0]] = value[1];\n }, {}));\n }\n return value;\n });\n\n interceptors.output.use(\"photo-string\", (value) => {\n if (!value || typeof value === \"string\") {\n return value;\n }\n return `${value?.id}${value?.filename ? `?filename=${value?.filename}` : ''}`;\n });\n\n interceptors.input.use(\"photo-string-list\", (value) => {\n if (value && Array.isArray(value) && value.length > 0) {\n return value.map((item) => {\n const [id, params] = item.split(\"?\");\n const searchParams = new URLSearchParams(params);\n return Object.assign({}, {id}, transform(Array.from(searchParams.entries()), (result, value) => {\n result[value[0]] = value[1];\n }, {}));\n });\n }\n return value;\n });\n\n interceptors.output.use(\"photo-string-list\", (value) => {\n if (value && Array.isArray(value) && value.length > 0) {\n return value.map((item) => {\n return `${item?.id}${item?.filename ? `?filename=${item?.filename}` : ''}`;\n });\n }\n return value;\n });\n\n interceptors.input.use(\"to-array\", (value) => {\n return Array.isArray(value) ? value[0] : value;\n });\n\n interceptors.output.use(\"to-array\", (value) => {\n return [value];\n });\n\n interceptors.input.use(\"array-single\", (value) => {\n return value ? [value] : [];\n });\n\n interceptors.output.use(\"array-single\", (value) => {\n return value ? value[0] : null;\n });\n\n interceptors.input.use(\"boolean-number\", (value) => {\n return value === 1 || value === \"1\";\n });\n\n interceptors.output.use(\"boolean-number\", (value) => {\n return value ? 1 : 0;\n });\n\n interceptors.input.use(\"un-boolean\", (value) => {\n return !value;\n });\n\n interceptors.output.use(\"un-boolean\", (value) => {\n return !value;\n });\n\n interceptors.output.use(\"object-output-value\", (value) => {\n if (!value) {\n return value;\n }\n return value.value || value.id;\n });\n\n interceptors.output.use(\"array-output-value\", (value) => {\n if (!(Array.isArray(value) && value.length > 0)) {\n return [];\n }\n return value.map((value) => value.value || value.id);\n });\n\n interceptors.input.use(\"date-string\", (value) => {\n return value ? dayjs(value) : null;\n });\n\n interceptors.output.use(\"date-string\", (value) => {\n return value ? new Date(value.valueOf()).toISOString() : \"\";\n });\n\n interceptors.input.use(\"date-range-string\", (value) => {\n if (!Array.isArray(value)) {\n return [];\n }\n\n const output = [];\n\n if (value[0]) {\n output.push(dayjs(value[0]));\n }\n if (value[0] && value[1] && value[1] === \"sofar\") {\n output.push(\"至今\");\n }\n if (value[0] && value[1] && value[1] !== \"至今\") {\n output.push(dayjs(value[1]));\n }\n\n return output;\n });\n\n interceptors.output.use(\"date-range-string\", (value) => {\n if (!Array.isArray(value)) {\n return [];\n }\n\n const output = [];\n\n if (value[0]) {\n output.push(new Date(value[0].valueOf()).toISOString());\n }\n if (value[0] && value[1] && value[1] === \"至今\") {\n output.push(\"sofar\");\n }\n if (value[0] && value[1] && value[1] !== \"至今\") {\n output.push(new Date(value[1].valueOf()).toISOString());\n }\n return output;\n });\n\n interceptors.output.use(\"file-format\", (value) => {\n if (!Array.isArray(value)) {\n return [];\n }\n return value.map((item) => Object.assign({}, item, {\n id: item.id || item.ossId, originalName: item.filename,\n }));\n });\n\n interceptors.input.use(\"file-format\", (value) => {\n if (!Array.isArray(value)) {\n return [];\n }\n return value.map((item) => ({\n id: item.id || item.ossId, ossId: item.id || item.ossId, filename: item.originalName || item.filename,\n }));\n });\n\n const {default: loadCountyList} = await loadModule(\"components-iconfont:CountyFlag@load\");\n const countyList = await loadCountyList();\n\n const countyAbMap = new Map(countyList.map(({ab, country_code}) => [ab, country_code]));\n const countyCodeMap = new Map(countyList.map(({ab, country_code}) => [country_code, ab]));\n\n interceptors.output.use(\"phone-number-string\", (value) => {\n if (!(value?.code && value?.value)) {\n return \"\";\n }\n\n return `+${countyAbMap.get(value.code)} ${value.value.replace(/\\s+/g, \"\")}`;\n });\n\n interceptors.input.use(\"phone-number-string\", (value) => {\n if (!value) {\n return {};\n }\n const matcher = value.match(/^\\+(\\d+)\\s(.*)/);\n if (!(matcher && matcher.length >= 3)) {\n return {code: countyCodeMap.get(86), value};\n }\n return {code: countyCodeMap.get(Number(matcher[1])), value: matcher[2]};\n });\n\n const getLocaleMsg = (type, values) => {\n values = Object.assign({}, values);\n const mapping = {\n REQ: {\n \"zh-CN\": \"%s不能为空\", \"en-US\": \"%s cannot be empty \",\n }, EMAIL: {\n \"zh-CN\": \"请输入有效的%s\", \"en-US\": \"Please enter a valid %s\",\n }, LENGTH_EQUAL: {\n \"zh-CN\": `%s必须等于${values.end}`, \"en-US\": `%s must be equal to ${values.end}`,\n }, LENGTH_MORE: {\n \"zh-CN\": `%s必须大于${values.start}`, \"en-US\": `%s must be greater than ${values.start}`,\n }, LENGTH_LESS: {\n \"zh-CN\": `%s必须小于${values.end}`, \"en-US\": `%s must be less than ${values.end}`,\n },\n };\n const target = get(mapping, `${type}.${locale}`);\n if (target) {\n return target;\n }\n return get(mapping, `${type}.zh-CN`);\n };\n\n preset(merge({}, {\n type: \"inner\", rules: {\n REQ: (...args) => {\n return Object.assign({}, _olderREQ(...args), {\n errMsg: getLocaleMsg(\"REQ\"),\n });\n }, LEN: (...args) => {\n const [value, start, end] = args;\n let ruleName = \"\";\n if (end === start && value.length !== Number(end)) {\n ruleName = \"LENGTH_EQUAL\";\n }\n if (value.length < start) {\n ruleName = \"LENGTH_MORE\";\n }\n if (end && value.length > end) {\n ruleName = \"LENGTH_LESS\";\n }\n return Object.assign({}, _olderLEN(...args), {\n errMsg: getLocaleMsg(ruleName, {start, end}),\n });\n }, EMAIL: function (value) {\n return {\n result: /^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+$/.test(value),\n errMsg: getLocaleMsg('EMAIL')\n };\n }, PHONE_NUMBER_INPUT, ARRAY_LENGTH: (value, start, end) => {\n if (end === start && value.length !== Number(end)) {\n return {\n result: false, errMsg: getLocaleMsg(\"LENGTH_EQUAL\", {start, end}),\n };\n }\n if (value.length < start) {\n return {\n result: false, errMsg: getLocaleMsg(\"LENGTH_MORE\", {start, end}),\n };\n }\n if (end && value.length > end) {\n return {\n result: false, errMsg: getLocaleMsg(\"LENGTH_LESS\", {start, end}),\n };\n }\n return {result: true};\n },\n }, field: {\n datePicker: {\n defaultProps: {\n interceptor: \"date-string\",\n },\n }, rangeDatePicker: {\n defaultProps: {\n interceptor: \"date-range-string\",\n },\n }, inputNumber: {\n defaultProps: {\n changeOnWheel: false,\n },\n }, textArea: {\n defaultProps: {\n autoSize: {\n minRows: 2, maxRows: 6,\n },\n },\n },\n }, globalProps: {\n labelTips: (props) => {\n return <HelperGuideLabel {...props} />;\n },\n },\n }, typeof options === \"function\" ? options({interceptors, RULES}) : options));\n};\n\nexport default formPreset;\n","const importMessages = (locale) => {\n return {\n \"en-US\": () => import(\"./en-US\"),\n \"zh-CN\": () => import(\"./zh-CN\"),\n }[locale]();\n};\n\nexport default importMessages;\n","// extracted by mini-css-extract-plugin\nexport default {\"helper-guide\":\"style_helper-guide__K5xFw__A3Atd\",\"inner\":\"style_inner__bMKeU__A3Atd\",\"content\":\"style_content__xTfWZ__A3Atd\",\"link\":\"style_link__93j7O__A3Atd\"};","import importMessages from \"./locale\";\nimport { IntlProvider } from \"@components/Intl\";\nimport Icon from \"@components/Icon\";\nimport { Space, Typography } from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\nimport Enum from \"@components/Enum\";\n\nconst HelperGuide = ({ name, className }) => {\n return (\n <IntlProvider importMessages={importMessages} moduleName=\"HelperGuide\">\n <Enum moduleName=\"helperGuide\" name={name}>\n {(data) => {\n return (\n data &&\n data.value && (\n <div className={classnames(style[\"helper-guide\"], className)}>\n <Space className={style[\"inner\"]}>\n <Icon colorful type=\"icon-color-bangzhuyindao\" />\n <span className={style[\"content\"]}>{data.content}</span>\n {data.url && (\n <Typography.Link\n className={style[\"link\"]}\n href={data.url}\n target=\"_blank\"\n >\n 查看帮助\n <Icon type=\"icon-shuangjiantou-right\" />\n </Typography.Link>\n )}\n </Space>\n </div>\n )\n );\n }}\n </Enum>\n </IntlProvider>\n );\n};\n\nexport default HelperGuide;\n","import {CancelButton, SubmitButton} from \"@kne/react-form-antd\";\nimport {FormattedMessage} from '@kne/react-intl';\nimport {Form} from \"./formModule\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\n\nconst computedCommonProps = ({\n className,\n withDecorator,\n footerButtons,\n formProps,\n cancelText,\n saveText,\n autoClose = true,\n ...modalProps\n }) => {\n return {\n ...modalProps, footerButtons: footerButtons || [{\n children: cancelText || <FormattedMessage id=\"Cancel\"/>, ButtonComponent: CancelButton,\n }, {\n type: \"primary\",\n children: saveText || <FormattedMessage id=\"Save\"/>,\n ButtonComponent: SubmitButton,\n autoClose: false,\n },], withDecorator: (render, args) => {\n const innerRender = (props) => {\n const {\n onSubmit, key, ..._formProps\n } = Object.assign({}, typeof formProps === \"function\" ? formProps(props) : formProps);\n\n return (<Form\n {..._formProps}\n onSubmit={async (data, ...args) => {\n const res = onSubmit && (await onSubmit(data, Object.assign({}, props), ...args));\n if (res !== false) {\n autoClose && props.close();\n }\n }}\n >\n {render(props)}\n </Form>);\n };\n return typeof withDecorator === \"function\" ? withDecorator(innerRender, args) : innerRender(args);\n }, className: classnames(className, style[\"form-outer\"]),\n };\n};\n\nexport default computedCommonProps;\n","import { IndustrySelectField } from \"@components/Common\";\nimport { hooks } from \"@kne/react-form-antd\";\n\nconst { useOnChange } = hooks;\n\nconst IndustrySelect = (props) => {\n const render = useOnChange(\n Object.assign({}, { placeholder: \"请选择\" + props.label }, props)\n );\n return render(IndustrySelectField);\n};\n\nIndustrySelect.Field = IndustrySelectField;\nIndustrySelect.Enum = IndustrySelectField.Enum;\n\nexport default IndustrySelect;\n","const message = {\n addText: \"添加\",\n addSomeThing: \"添加{label}\",\n delText: \"删除\",\n selectedTextAdvanced: \"已选\",\n delConfirm: \"确定要删除这条{name}吗?\",\n defaultInputPlaceholder: \"请输入{label}\",\n defaultSelectPlaceholder: \"请选择{label}\",\n startDate: \"开始日期\",\n endDate: \"结束日期\",\n soFarText: \"至今\",\n uploadButtonText: \"点击上传\",\n uploadTips: \"支持扩展名{extensionNames},单个文件大小不超过{fileSize}M,最多上传{maxLength}个附件\",\n yuan: \"元\",\n thousand: \"万元\",\n salaryType: \"薪资类型\",\n Cancel: \"取消\",\n Save: \"保存\",\n Next: \"下一步\",\n Complete: \"完成\",\n Crop: \"裁剪\",\n Preview: \"预览\",\n PictureFormat: \"图片格式:\",\n ImageSize: \"图片尺寸:\",\n ReUpload: \"重新上传\",\n UploadFailed: \"上传失败{msg}\",\n NotExceeding: \"不超过{size}M\",\n FileNotExceeding: \"文件{name}不能超过{size}MB!\",\n Rotate: \"旋转\",\n ImageFull: \"充满\",\n Size: \"大小\",\n};\n\nexport default message;\n","import { FunctionSelectField } from \"@components/Common\";\nimport { hooks } from \"@kne/react-form-antd\";\n\nconst { useOnChange } = hooks;\n\nconst FunctionSelect = (props) => {\n const render = useOnChange(\n Object.assign({}, { placeholder: \"请选择\" + props.label }, props)\n );\n return render(FunctionSelectField);\n};\n\nFunctionSelect.Field = FunctionSelectField;\nFunctionSelect.Enum = FunctionSelectField.Enum;\n\nexport default FunctionSelect;\n","import { hooks } from \"@kne/react-form-antd\";\nimport { CascaderField, createTreeUtils } from \"@components/Common\";\nconst { useOnChange } = hooks;\n\nconst Cascader = (props) => {\n const render = useOnChange(\n Object.assign({}, { placeholder: \"请选择\" + props.label }, props)\n );\n return render(CascaderField);\n};\n\nCascader.Field = CascaderField;\nCascader.createTreeUtils = createTreeUtils;\n\nexport { createTreeUtils };\nexport default Cascader;\n","import { hooks } from \"@kne/react-form-antd\";\nimport { Input, Typography } from \"antd\";\nimport useControlValue from \"@kne/use-control-value\";\n\nconst { useDecorator } = hooks;\n\nconst TextField = ({ children, ...props }) => {\n const [value] = useControlValue(props);\n return (\n <Typography.Text {...props}>\n <div style={{ height: 0, width: 0, overflow: \"hidden\" }}>\n <Input value={value} />\n </div>\n {children ? children : value}\n </Typography.Text>\n );\n};\n\nconst Text = (props) => {\n const render = useDecorator(props);\n return render(TextField);\n};\n\nText.Field = TextField;\n\nexport default Text;\n","import * as reactFormAntd from \"@kne/react-form-antd\";\nimport {\n DatePicker as ReactDatePicker,\n DatePickerToday as ReactDatePickerToday,\n Input as ReactInput,\n InputNumber as ReactInputNumber,\n Select as ReactSelect,\n TextArea as ReactTextArea,\n TimePicker as ReactTimePicker,\n TreeSelect as ReactTreeSelect,\n Rate,\n Switch,\n Slider,\n} from \"@kne/react-form-antd\";\nimport Form from \"./Form\";\nimport {useIntl} from '@kne/react-intl';\nimport {forwardRef} from \"react\";\nimport FormItem from \"./FormItem\";\nimport style from \"./style.module.scss\";\nimport AdvancedSelectField from \"./fields/AdvancedSelect\";\nimport SuperSelectField, {\n SuperSelectTableList as SuperSelectTableListField,\n SuperSelectUser as SuperSelectUserField,\n SuperSelectTree as SuperSelectTreeField\n} from \"./fields/SuperSelect\";\nimport AddressSelect, {\n AddressInput as AddressInputField,\n} from \"./fields/AddressSelect\";\nimport Cascader from \"./fields/Cascader\";\nimport FunctionSelect from \"./fields/FunctionSelect\";\nimport IndustrySelect from \"./fields/IndustrySelect\";\nimport MoneyInput from \"./fields/MoneyInput\";\nimport PhoneNumber from \"./fields/PhoneNumber\";\nimport Upload from \"./fields/Upload\";\nimport Avatar from \"./fields/Avatar\";\nimport SalaryInput from \"./fields/SalaryInput\";\nimport InputUpperCaseField from \"./fields/InputUpperCase\";\nimport TypeDateRangePicker from \"./fields/TypeDateRangePicker\";\nimport Text from \"./fields/Text\";\nimport ErrorTip from \"./ErrorTip\";\n\nconst withInputDefaultPlaceholder = (WrappedComponent) => {\n const TargetComponent = forwardRef(({placeholder, label, ...props}, ref) => {\n const {formatMessage} = useIntl();\n\n return <WrappedComponent\n {...props}\n ref={ref}\n label={label}\n placeholder={placeholder || formatMessage({id: 'defaultInputPlaceholder'}, {label})}\n />;\n });\n Object.keys(WrappedComponent)\n .filter((key) => {\n return [\"$$typeof\", \"render\", \"field\"].indexOf(key) === -1;\n })\n .forEach((key) => {\n TargetComponent[key] = WrappedComponent[key];\n });\n\n return TargetComponent;\n};\n\nconst withTextAreaDefaultPlaceholder = (WrappedComponent) => ({placeholder, label, className, ...props}) => {\n const {formatMessage} = useIntl();\n return <div className={style[\"textarea-wrapped-component\"]}>\n <WrappedComponent\n {...props}\n label={label}\n placeholder={placeholder || formatMessage({id: 'defaultInputPlaceholder'}, {label})}\n />\n </div>;\n};\n\nconst withSelectDefaultPlaceholder = (WrappedComponent) => {\n const TargetComponent = forwardRef(({placeholder, label, ...props}, ref) => {\n const {formatMessage} = useIntl();\n return <WrappedComponent\n {...props}\n ref={ref}\n label={label}\n placeholder={placeholder || formatMessage({id: 'defaultSelectPlaceholder'}, {label})}\n />;\n });\n\n Object.keys(WrappedComponent)\n .filter((key) => {\n return [\"$$typeof\", \"render\", \"field\"].indexOf(key) === -1;\n })\n .forEach((key) => {\n TargetComponent[key] = WrappedComponent[key];\n });\n\n return TargetComponent;\n};\n\nexport {default as ErrorTip} from \"./ErrorTip\";\n\nexport {default as FormItem} from \"./FormItem\";\n\n// export { default as AdvancedSelect } from \"./fields/AdvancedSelect\";\nexport const AdvancedSelect = withSelectDefaultPlaceholder(AdvancedSelectField);\nexport const SuperSelect = withSelectDefaultPlaceholder(SuperSelectField);\nexport const SuperSelectTableList = withSelectDefaultPlaceholder(SuperSelectTableListField);\nexport const SuperSelectUser = withSelectDefaultPlaceholder(SuperSelectUserField);\n\nexport const SuperSelectTree = withSelectDefaultPlaceholder(SuperSelectTreeField);\n\nexport {default as AddressSelect} from \"./fields/AddressSelect\";\nexport const AddressInput = withSelectDefaultPlaceholder(AddressInputField);\n\nexport {\n Cascader,\n FunctionSelect,\n IndustrySelect,\n MoneyInput,\n PhoneNumber,\n Upload,\n Avatar,\n SalaryInput,\n Text,\n Rate,\n Switch,\n Slider,\n TypeDateRangePicker,\n};\nexport const InputUpperCase = withInputDefaultPlaceholder(InputUpperCaseField);\nexport const Input = withInputDefaultPlaceholder(ReactInput);\nInput.Password = withInputDefaultPlaceholder(ReactInput.Password);\n\nexport const TextArea = withTextAreaDefaultPlaceholder(ReactTextArea);\n\nexport const Select = withSelectDefaultPlaceholder(ReactSelect);\n\nexport const InputNumber = withInputDefaultPlaceholder(ReactInputNumber);\n\nexport const TreeSelect = withSelectDefaultPlaceholder(ReactTreeSelect);\n\nexport const TimePicker = withSelectDefaultPlaceholder(ReactTimePicker);\n\nTimePicker.RangePicker = withSelectDefaultPlaceholder(ReactTimePicker.RangePicker);\n\nexport const DatePicker = withSelectDefaultPlaceholder(ReactDatePicker);\n\nDatePicker.MonthPicker = withSelectDefaultPlaceholder(ReactDatePicker.MonthPicker);\n\nDatePicker.RangePicker = withSelectDefaultPlaceholder(ReactDatePicker.RangePicker);\n\nDatePicker.WeekPicker = withSelectDefaultPlaceholder(ReactDatePicker.WeekPicker);\n\nexport const DatePickerToday = ({\n placeholder, label, soFarText, ...props\n }) => {\n const {formatMessage} = useIntl({moduleName: \"FormInfo\"});\n return (<ReactDatePickerToday\n {...props}\n label={label}\n placeholder={[formatMessage({id: \"startDate\"}), formatMessage({id: \"endDate\"}),]}\n soFarText={soFarText || formatMessage({id: \"soFarText\"})}\n />);\n};\n\nexport {Form};\n\nexport const formModule = Object.assign({}, reactFormAntd, {\n Input,\n InputUpperCase,\n TextArea,\n Select,\n InputNumber,\n TreeSelect,\n TimePicker,\n DatePicker,\n DatePickerToday,\n Form,\n FormItem,\n AdvancedSelect,\n SuperSelect,\n SuperSelectTableList,\n SuperSelectUser,\n SuperSelectTree,\n AddressSelect,\n AddressInput,\n MoneyInput,\n PhoneNumber,\n Cascader,\n FunctionSelect,\n IndustrySelect,\n TypeDateRangePicker,\n Upload,\n Avatar,\n SalaryInput,\n Text,\n Rate,\n Switch,\n Slider,\n ErrorTip,\n});\n","// extracted by mini-css-extract-plugin\nexport default {\"upload\":\"style_upload__t422Q__A3Atd\",\"upload-list\":\"style_upload-list__Q9HDc__A3Atd\",\"upload-input\":\"style_upload-input__vXk4w__A3Atd\",\"tips\":\"style_tips__3Gpnu__A3Atd\"};","import {Space, Flex} from \"antd\";\nimport classnames from \"classnames\";\nimport useControlValue from \"@kne/use-control-value\";\nimport style from \"./style.module.scss\";\nimport {List as FileList} from \"@components/File\";\nimport {hooks} from \"@kne/react-form-antd\";\nimport {createWithIntl, useIntl} from '@components/Intl';\nimport omit from \"lodash/omit\";\nimport {InputFileButton, useFileUpload} from \"@common/hocs/withInputFile\";\nimport importMessages from \"@components/FormInfo/locale\";\n\nconst {useOnChange} = hooks;\n\nconst UploadField = createWithIntl({\n importMessages, moduleName: 'FormInfo'\n})((p) => {\n const {formatMessage} = useIntl({moduleName: \"FormInfo\"});\n const {\n className,\n fileSize,\n maxLength,\n multiple,\n size,\n accept,\n children,\n renderTips,\n showUploadList,\n onSave,\n ossUpload,\n onUpload,\n getPermission,\n concurrentCount,\n ...props\n } = Object.assign({}, {\n defaultValue: [],\n children: formatMessage({id: 'uploadButtonText'}),\n accept: [\n \".pdf\",\n \".jpg\",\n \".png\",\n \".jpeg\",\n \".doc\",\n \".docx\",\n \".xls\",\n \".xlsx\",\n \".html\",\n \".msg\",\n \".eml\",\n \".zip\",\n ],\n renderTips: (defaultTips) => {\n return defaultTips;\n },\n multiple: true,\n showUploadList: true,\n maxLength: 10,\n fileSize: 30,\n concurrentCount: 10\n }, p);\n const [propsValue, onChange] = useControlValue(props);\n const value = propsValue || [];\n const {fileList: uploadingList, onFileSelected} = useFileUpload({\n multiple,\n onSave,\n onUpload: ossUpload || onUpload,\n fileSize,\n maxLength,\n value,\n onChange,\n concurrentCount,\n });\n const previewFileList = [...uploadingList, ...value];\n const tipsText = renderTips(formatMessage({id: 'uploadTips'}, {\n extensionNames: accept\n .map((str) => str.replace(/^\\./, \"\"))\n .join(\",\"), maxLength, fileSize\n }),\n {\n fileSize,\n maxLength,\n accept,\n }\n );\n\n return (\n <Space direction=\"vertical\">\n <Flex align=\"start\" gap={8} vertical>\n <InputFileButton\n {...omit(props, [\"value\", \"onChange\"])}\n size={size}\n multiple={multiple}\n accept={accept}\n className={classnames(style[\"upload\"], className)}\n onChange={onFileSelected}\n >\n {children}\n </InputFileButton>\n {tipsText && <div className={style[\"tips\"]}>{tipsText}</div>}\n </Flex>\n {showUploadList && previewFileList.length > 0 && (\n <FileList\n className={style[\"upload-list\"]}\n dataSource={previewFileList}\n infoItemRenders={[]}\n getPermission={\n getPermission\n ? getPermission\n : (type) => {\n return type === \"delete\";\n }\n }\n apis={{\n onDelete: (target) => {\n const newList = value.slice(0);\n const index = newList.indexOf(target);\n index > -1 && newList.splice(index, 1);\n onChange(newList);\n },\n }}\n />\n )}\n </Space>\n );\n});\n\nconst Upload = ({interceptor = \"file-format\", ...props}) => {\n const render = useOnChange({interceptor, ...props});\n return render(UploadField);\n};\n\nUpload.Field = UploadField;\n\nexport default Upload;\n","// extracted by mini-css-extract-plugin\nexport default {\"money-input\":\"style_money-input__Pyur7__A3Atd\",\"money-description\":\"style_money-description__9pFk4__A3Atd\"};","import useControlValue from \"@kne/use-control-value\";\nimport { hooks, util, formUtils } from \"@kne/react-form-antd\";\nimport { InputNumber } from \"antd\";\nimport changeMoneyToChinese, {\n MAX_NUM,\n} from \"@common/utils/changeMoneyToChinese\";\nimport style from \"./style.module.scss\";\nimport classnames from \"classnames\";\nimport merge from \"lodash/merge\";\nimport { useState } from \"react\";\n\nconst { isNotEmpty } = util || formUtils;\nconst { useOnChange } = hooks;\nconst MoneyInputField = ({\n chineseEmpty,\n className,\n showError,\n errorDesc,\n transformMoneyToChinese,\n onBlur,\n moneyFormat,\n ...props\n}) => {\n const [status, setStatus] = useState(\"\");\n const [value, onChange] = useControlValue(props);\n const inputNumberProps = merge(\n {\n controls: false,\n precision: 2,\n addonAfter: \"元\",\n },\n props,\n {\n max: isNotEmpty(props.max)\n ? props.max > MAX_NUM\n ? MAX_NUM\n : props.max\n : MAX_NUM,\n }\n );\n return (\n <div className={classnames(className, \"money-input\", style[\"money-input\"])}>\n <InputNumber\n {...inputNumberProps}\n status={status}\n formatter={\n moneyFormat\n ? (value) => {\n return `${value}`.replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n }\n : null\n }\n parser={(parserValue) => {\n const value = moneyFormat\n ? parserValue?.replace(/\\$\\s?|(,*)/g, \"\")\n : parserValue;\n if (isNotEmpty(value)) {\n if (\n Number(value) > Number(inputNumberProps.max) ||\n (isNotEmpty(inputNumberProps.min) &&\n Number(value) < Number(inputNumberProps.min))\n ) {\n setStatus(\"error\");\n }\n } else {\n setStatus(\"\");\n }\n return isNotEmpty(value) ? Number(value) : null;\n }}\n onChange={(val) => {\n onChange(val);\n }}\n onBlur={(e) => {\n onBlur && onBlur(e, setStatus);\n }}\n />\n <div className={classnames(style[\"money-description\"])}>\n {status === \"error\" && showError\n ? errorDesc\n : isNotEmpty(value)\n ? changeMoneyToChinese(\n transformMoneyToChinese ? transformMoneyToChinese(value) : value\n )\n : chineseEmpty}\n </div>\n </div>\n );\n};\n\nconst MoneyInput = (props) => {\n const render = useOnChange(\n Object.assign({ placeholder: `请输入${props.label || \"\"}` }, props)\n );\n return render(MoneyInputField);\n};\n\nMoneyInput.Field = MoneyInputField;\nMoneyInput.toChineseCharacter = changeMoneyToChinese;\n\nexport default MoneyInput;\n","import Modal, {useModal} from \"@components/Modal\";\nimport {useState, useRef} from \"react\";\nimport {CancelButton, SubmitButton} from \"@kne/react-form-antd\";\nimport FetchButton from \"@common/components/FetchButton\";\nimport {IntlProvider, FormattedMessage} from \"@components/Intl\";\nimport style from \"./style.module.scss\";\nimport importMessages from \"./locale\";\nimport {Button, Steps, Flex} from \"antd\";\nimport computedModalCommonProps from \"./computedModalCommonProps\";\n\nconst localeModuleName = \"FormInfo\";\n\nconst FormStepState = ({items, children}) => {\n const [currentIndex, setCurrentIndex] = useState(0);\n const stepCacheRef = useRef({});\n return children({\n currentIndex,\n setCurrentIndex,\n stepCacheRef,\n isLastStep: currentIndex === items.length - 1,\n currentProps: Object.assign({}, items[currentIndex]),\n });\n};\n\nconst computedCommonProps = ({\n footerButtons,\n cancelText,\n completeText,\n nextText,\n items,\n withDecorator,\n autoClose = true,\n ...others\n }) => {\n return computedModalCommonProps(Object.assign({}, others, {\n footerButtons: ({currentIndex, isLastStep}) => {\n const {footerButtons} = Object.assign({}, items[currentIndex]);\n return (footerButtons || [{\n children: (<IntlProvider\n importMessages={importMessages}\n moduleName={localeModuleName}\n >\n {cancelText || (<FormattedMessage\n id={\"Cancel\"}\n moduleName={localeModuleName}\n />)}\n </IntlProvider>), ButtonComponent: CancelButton,\n }, {\n type: \"primary\", children: (<IntlProvider\n importMessages={importMessages}\n moduleName={localeModuleName}\n >\n {isLastStep ? completeText || (<FormattedMessage\n id={\"Complete\"}\n moduleName={localeModuleName}\n />) : nextText || (<FormattedMessage\n id={\"Next\"}\n moduleName={localeModuleName}\n />)}\n </IntlProvider>), ButtonComponent: SubmitButton, autoClose: false,\n },]);\n },\n withDecorator: (render, args) => {\n const innerRender = (props) => {\n return (<FormStepState items={items}>\n {({\n currentIndex, isLastStep, setCurrentIndex, currentProps, stepCacheRef,\n }) => {\n const {formProps, title, ...otherProps} = currentProps;\n const {\n onSubmit, ..._formProps\n } = typeof formProps === \"function\" ? formProps(props) : formProps;\n\n const formData = Object.assign({}, _formProps.data, stepCacheRef.current[currentIndex]?.data);\n\n return render(Object.assign({}, props, otherProps, {\n currentIndex, isLastStep, setCurrentIndex, stepCacheRef, stepSection: (<Steps\n className={style[\"form-step-section\"]}\n current={currentIndex}\n items={items.map(({title}) => ({title}))}\n />), formProps: Object.assign({}, _formProps, {\n key: currentIndex, data: formData, onSubmit: async (data, ...args) => {\n stepCacheRef.current[currentIndex] = {data};\n const res = onSubmit && (await onSubmit(data, Object.assign({}, props, {\n currentIndex, isLastStep, setCurrentIndex, currentProps, stepCacheRef,\n }), ...args));\n stepCacheRef.current[currentIndex] = Object.assign({}, stepCacheRef.current[currentIndex], {\n output: res\n });\n if (autoClose && !isLastStep && res !== false) {\n setCurrentIndex((currentIndex) => currentIndex + 1);\n }\n if (!isLastStep) {\n return false;\n }\n return res;\n },\n }),\n }));\n }}\n </FormStepState>);\n };\n return typeof withDecorator === \"function\" ? withDecorator(innerRender, args) : innerRender(args);\n },\n formProps: ({formProps, ...others}) => Object.assign({}, others, formProps),\n children: ({children, stepSection, ...props}) => {\n return (<Flex vertical gap={24}>\n <Flex justify=\"center\">{stepSection}</Flex>\n {typeof children === \"function\" ? children(props) : children}\n </Flex>);\n },\n }));\n};\n\nconst FormStepModal = (props) => {\n return (<Modal\n {...computedCommonProps(Object.assign({}, props, {className: style[\"form-modal\"]}))}\n />);\n};\n\nexport default FormStepModal;\n\nexport const useFormStepModal = () => {\n const modal = useModal();\n return (props) => modal(computedCommonProps(Object.assign({}, props, {className: style[\"form-modal\"]})));\n};\n\nexport const FormStepModalButton = (props) => {\n const formModal = useFormStepModal();\n if (!props.api) {\n const {modalProps, ...others} = props;\n return (<Button\n {...others}\n onClick={() => {\n formModal(modalProps);\n }}\n />);\n }\n return <FetchButton {...props} modalFunc={formModal}/>;\n};\n","import preset from \"./preset\";\nimport fields, {fieldDecorator} from \"./fields\";\nimport {List, TableList, default as FormInfo} from \"@kne/form-info\";\nimport FormApiButton from \"./FormApiButton\";\nimport FormModal, {useFormModal, FormModalButton} from \"./FormModal\";\nimport FormStepModal, {\n useFormStepModal,\n FormStepModalButton,\n} from \"./FormStepModal\";\nimport FormDrawer, {useFormDrawer, FormDrawerButton} from \"./FormDrawer\";\nimport Form from \"./Form\";\nimport FormItem from \"./FormItem\";\nimport ErrorTip from \"./ErrorTip\";\nimport {MultiField} from \"@kne/form-info\";\nimport {\n SubmitButton,\n CancelButton,\n useFormContext,\n hooks,\n widget,\n utils,\n formUtils,\n} from \"@kne/react-form-antd\";\n\npreset();\n\nFormInfo.fields = fields;\nFormInfo.List = List;\nFormInfo.TableList = TableList;\nFormInfo.FormApiButton = FormApiButton;\nFormInfo.FormModal = FormModal;\nFormInfo.useFormModal = useFormModal;\nFormInfo.FormModalButton = FormModalButton;\nFormInfo.FormStepModal = FormStepModal;\nFormInfo.useFormStepModal = useFormStepModal;\nFormInfo.FormStepModalButton = FormStepModalButton;\nFormInfo.FormDrawer = FormDrawer;\nFormInfo.useFormDrawer = useFormDrawer;\nFormInfo.FormDrawerButton = FormDrawerButton;\nFormInfo.Form = Form;\nFormInfo.FormItem = FormItem;\nFormInfo.ErrorTip = ErrorTip;\nFormInfo.SubmitButton = SubmitButton;\nFormInfo.CancelButton = CancelButton;\nFormInfo.fieldDecorator = fieldDecorator;\nFormInfo.MultiField = MultiField;\nFormInfo.useFormContext = useFormContext;\nFormInfo.hooks = hooks;\nFormInfo.widget = widget;\nFormInfo.utils = utils;\nFormInfo.formUtils = formUtils;\n\nexport * from \"@kne/react-form-antd\";\n\nexport * from \"./formModule\";\n\nexport {\n Form,\n FormItem,\n ErrorTip,\n fields,\n fieldDecorator,\n List,\n TableList,\n FormApiButton,\n FormModal,\n useFormModal,\n FormModalButton,\n FormStepModal,\n useFormStepModal,\n FormStepModalButton,\n FormDrawer,\n useFormDrawer,\n FormDrawerButton,\n MultiField,\n};\n\nexport {default as SelectInnerInput} from \"./SelectInnerInput\";\n\nexport default FormInfo;\n","// extracted by mini-css-extract-plugin\nexport default {\"upload-btn\":\"style_upload-btn__-6XtP__A3Atd\",\"square\":\"style_square__UPkfA__A3Atd\",\"is-loading\":\"style_is-loading__wx6Pd__A3Atd\",\"upload-btn-tips\":\"style_upload-btn-tips__YtxWz__A3Atd\",\"drop-tips\":\"style_drop-tips__N-v59__A3Atd\",\"preview-area\":\"style_preview-area__aV3SN__A3Atd\"};","import {forwardRef, useLayoutEffect, useRef, useState} from \"react\";\nimport withInputFile, {InputFileLink} from \"@common/hocs/withInputFile\";\nimport Image from \"@components/Image\";\nimport {usePreset} from \"@components/Global\";\nimport {useModal} from \"@components/Modal\";\nimport Icon from \"@components/Icon\";\nimport {\n Avatar as AntdAvatar, Col, message, Row, Slider, Space, Spin, Tooltip,\n} from \"antd\";\nimport AvatarEditor from \"react-avatar-editor\";\nimport get from \"lodash/get\";\nimport classnames from \"classnames\";\nimport {useDebouncedCallback} from \"use-debounce\";\nimport {hooks} from \"@kne/react-form-antd\";\nimport merge from \"lodash/merge\";\nimport style from \"./style.module.scss\";\nimport defaultAvatarIcon from \"../../../../defaultAvatar.svg\";\nimport {IntlProvider, FormattedMessage, useIntl} from \"@components/Intl\";\nimport importMessages from \"@components/FormInfo/locale\";\nimport {createWithIntl} from \"../../../Intl\";\n\nconst {useOnChange} = hooks;\n\nconst AvatarDisplay = Image.Avatar;\n\nconst localeModuleName = \"FormInfo\";\n\nconst UploadButton = withInputFile(({\n className,\n icon,\n loading,\n value,\n gender,\n width,\n height,\n children,\n shape,\n defaultAvatar,\n displayAvatar,\n apis,\n }) => {\n const inner = (<>\n <AvatarDisplay\n {...Object.assign({}, typeof displayAvatar === 'function' ? displayAvatar(value) : {id: get(value, \"id\")})}\n gender={gender}\n width={(64 * width) / height}\n height={64}\n shape={shape}\n defaultAvatar={defaultAvatar}\n apis={apis}\n />\n <div className={style[\"upload-btn-tips\"]}>\n {icon || <Icon type=\"icon-chuanzhaopian\" size={16}/>}\n </div>\n {children}\n </>);\n return (<div\n className={classnames(className, style[\"upload-btn\"], {\n [style[\"is-loading\"]]: loading, [style[\"square\"]]: shape === \"square\" || !(width && width === height),\n })}\n style={{width: (64 * width) / height}}\n >\n {loading ? <Spin>{inner}</Spin> : inner}\n </div>);\n});\n\nconst dataURLtoBlob = (dataURL) => {\n let arr = dataURL.split(\",\");\n // 注意base64的最后面中括号和引号是不转译的\n let _arr = arr[1].substring(0, arr[1].length - 2);\n let mime = arr[0].match(/:(.*?);/)[1], bstr = atob(_arr), n = bstr.length, u8arr = new Uint8Array(n);\n while (n--) {\n u8arr[n] = bstr.charCodeAt(n);\n }\n return new Blob([u8arr], {\n type: mime,\n });\n};\n\nconst ControlAvatarEditor = forwardRef(({\n image: propsImage,\n width,\n height,\n borderRadius,\n preview,\n fileSize,\n accept,\n renderTips,\n getApi,\n shape,\n border = 1,\n ...props\n }, ref) => {\n const intl = useIntl({moduleName: localeModuleName});\n const [baseWidth, setBaseWidth] = useState(0);\n const outerRef = useRef(null);\n const [image, setImage] = useState(propsImage);\n const [scale, setScale] = useState(1);\n const [rotate, setRotate] = useState(0);\n const [previewImg, setPreviewImg] = useState(\"\");\n const editorRef = useRef(null);\n\n useLayoutEffect(() => {\n setBaseWidth((outerRef.current.clientWidth * 2) / 3);\n }, []);\n getApi({\n getImage: () => {\n const canvas = editorRef.current.getImage();\n\n const targetCanvas = document.createElement(\"canvas\");\n const targetCtx = targetCanvas.getContext(\"2d\");\n targetCanvas.width = width;\n targetCanvas.height = height;\n\n targetCtx.drawImage(canvas, 0, 0, targetCanvas.width, targetCanvas.height);\n\n return new window.File([dataURLtoBlob(targetCanvas.toDataURL())], image.name, {type: image.type});\n },\n });\n const makePreviewInner = () => {\n setPreviewImg(editorRef.current.getImage().toDataURL());\n };\n const makePreview = useDebouncedCallback(makePreviewInner, 500);\n\n return (<div ref={outerRef}>\n <Row wrap={false} align=\"middle\">\n <Col span={preview ? 16 : 24}>\n {baseWidth && (<Space direction=\"vertical\">\n <AvatarEditor\n {...props}\n ref={editorRef}\n image={image}\n scale={scale}\n rotate={rotate}\n width={baseWidth - border * 2}\n height={(height * baseWidth) / width - (border * 2 * height) / width}\n border={border}\n color={[0, 0, 0, 0.6]}\n borderRadius={(borderRadius * baseWidth) / width}\n onImageReady={makePreviewInner}\n onImageChange={makePreview}\n />\n <div className={style[\"drop-tips\"]}>\n {renderTips(`${intl.formatMessage({id: \"PictureFormat\"})}${accept\n .map((str) => str.replace(/^\\./, \"\"))\n .join(\" \")} ${intl.formatMessage({\n id: \"ImageSize\",\n })}${intl.formatMessage({id: \"NotExceeding\"}, {size: fileSize})}`, {\n accept, fileSize,\n })}\n </div>\n <Row gutter={14} align=\"middle\">\n <Col>\n <Tooltip\n title={intl.formatMessage({id: \"Rotate\"})}\n placement=\"bottom\"\n >\n <Icon\n type=\"icon-xuanzhuan\"\n onClick={() => {\n setRotate((rotate) => {\n return (rotate - 90) % 360;\n });\n }}\n />\n </Tooltip>\n </Col>\n <Col>\n <Tooltip\n title={intl.formatMessage({id: \"ImageFull\"})}\n placement=\"bottom\"\n >\n <Icon\n type=\"icon-chongman\"\n onClick={() => {\n setScale(1);\n }}\n />\n </Tooltip>\n </Col>\n <Col flex={1}>\n <Slider\n tooltip={{\n placement: \"bottom\", formatter: () => intl.formatMessage({id: \"Size\"}),\n }}\n value={scale}\n step={0.05}\n min={0.2}\n max={3}\n onChange={setScale}\n />\n </Col>\n <Col>\n <InputFileLink\n accept={accept}\n onChange={(fileList) => {\n if (fileList[0].size > fileSize * 1024 * 1024) {\n message.error(intl.formatMessage({id: \"FileNotExceeding\"}, {\n name: fileList[0].name, size: fileSize\n }));\n return;\n }\n setRotate(0);\n setScale(1);\n setImage(fileList[0]);\n }}\n >\n {intl.formatMessage({id: 'ReUpload'})}\n </InputFileLink>\n </Col>\n </Row>\n </Space>)}\n </Col>\n {preview && (<Col span={8}>\n <div className={style[\"preview-area\"]}>\n <Space direction=\"vertical\">\n <AntdAvatar\n src={previewImg}\n // alt=\"预览\"\n shape={shape}\n style={{\n width: baseWidth / 2 - 36, height: ((baseWidth / 2 - 36) * height) / width,\n }}\n />\n <div\n style={{\n textAlign: \"center\",\n }}\n >\n {intl.formatMessage({id: 'Preview'})}\n </div>\n </Space>\n </div>\n </Col>)}\n </Row>\n </div>);\n});\n\nconst useDropModal = () => {\n const modal = useModal();\n return (props) => {\n const {\n image,\n width,\n height,\n borderRadius,\n getApi,\n preview,\n fileSize,\n accept,\n renderTips,\n border,\n dropModalSize,\n ...others\n } = Object.assign({}, {\n title: \"编辑头像\",\n width: 200,\n height: 200,\n borderRadius: props.shape === \"circle\" && props.width && props.width === props.height ? props.width / 2 : 2,\n preview: true,\n }, props);\n return modal({\n ...others, size: dropModalSize, children: (<ControlAvatarEditor\n preview={preview}\n fileSize={fileSize}\n accept={accept}\n getApi={getApi}\n renderTips={renderTips}\n width={width}\n height={height}\n shape={props.shape === \"circle\" && props.width && props.width === props.height ? \"circle\" : \"square\"}\n borderRadius={borderRadius}\n image={image}\n border={border}\n scale={1}\n rotate={0}\n />),\n });\n };\n};\n\nconst AvatarField = createWithIntl({importMessages, moduleName: \"FormInfo\"})(({\n value,\n gender,\n fileSize = 2,\n accept = [\".jpg\", \".png\", \".jpeg\"],\n openEditor = true,\n apis: currentApis,\n renderTips = (defaultTips) => {\n return defaultTips;\n },\n onChange,\n shape = \"circle\",\n width = 200,\n height = 200,\n title = <IntlProvider\n importMessages={importMessages}\n moduleName=\"FormInfo\">\n <FormattedMessage id={\"Crop\"}\n moduleName=\"FormInfo\"/>\n </IntlProvider>,\n border = 1,\n icon,\n dropModalSize = \"small\",\n defaultAvatar = defaultAvatarIcon,\n displayAvatar,\n }) => {\n const [loading, setLoading] = useState(false);\n const {apis: baseApis} = usePreset();\n const apis = merge({}, baseApis, currentApis);\n const ossUpload = apis.ossUpload || apis.upload || apis.file?.upload;\n const dropRef = useRef(null);\n const dropModal = useDropModal();\n const intl = useIntl({moduleName: localeModuleName});\n return (<UploadButton\n value={value}\n gender={gender}\n accept={accept}\n width={width}\n height={height}\n shape={shape}\n icon={icon}\n loading={loading}\n defaultAvatar={defaultAvatar}\n displayAvatar={displayAvatar}\n apis={apis}\n onChange={(fileList) => {\n if (fileList[0].size > fileSize * 1024 * 1024) {\n message.error(intl.formatMessage({id: \"FileNotExceeding\"}, {\n name: fileList[0].name, size: fileSize\n }));\n return;\n }\n const doUpload = (file) => {\n setLoading(true);\n return ossUpload({file})\n .then(({data}) => {\n if (data.code !== 0) {\n message.error(intl.formatMessage({id: \"UploadFailed\"}, {msg: data.msg ? \":\" + data.msg : \"\"}));\n return;\n }\n onChange(data.data);\n })\n .finally(() => {\n setLoading(false);\n });\n };\n if (openEditor) {\n dropModal({\n image: fileList[0],\n width,\n height,\n title,\n shape,\n border,\n dropModalSize,\n getApi: (api) => (dropRef.current = api),\n fileSize,\n accept,\n renderTips,\n onConfirm: () => {\n doUpload(dropRef.current.getImage());\n },\n });\n return;\n }\n doUpload(fileList[0]);\n }}\n />);\n});\n\nconst Avatar = (props) => {\n const render = useOnChange(props);\n return render(AvatarField);\n};\n\nAvatar.Field = AvatarField;\nAvatar.useDropModal = useDropModal;\n\nexport default Avatar;\n","var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n"],"names":["createWithIntlProvider","defaultLocale","messages","zhCN","enUS","namespace","SetPreset","_ref","children","isPreset","setIsPreset","useState","preset","usePreset","locale","useGlobalContext","formInfo","get","useEffect","Promise","resolve","formPreset","then","withLocale","forwardRef","_ref2","ref","helperGuideName","lang","props","_objectWithoutProperties","_excluded","_jsx","FormLangProvider","value","HelperGuideProvider","ReactForm","_objectSpread","useOnChange","useDecorator","hooks","AddressSelect","Object","assign","placeholder","label","render","AddressSelectField","Field","AddressEnum","createAddressApi","withAddressApi","AddressInput","inputPlaceholder","AddressInputField","Modal","computedCommonProps","className","style","useFormModal","modal","useModal","FormModalButton","classNames","formModal","api","modalProps","others","_excluded2","Button","onClick","FetchButton","modalFunc","InputUpperCaseField","_objectDestructuringEmpty","onChange","useControlValue","Input","e","target","toUpperCase","InputUpperCase","createWithRemoteLoader","modules","remoteModules","formModule","concat","field","ColorPickerField","ColorPickerFieldAntd","toHexString","ColorPicker","useCheckedToValue","withChecked","hoc","WithSwitch","checked","_jsxs","Space","AntdSwitch","Switch","fieldName","checkedProps","createWithFieldDecorator","decoratorList","WrappedComponent","TargetComponent","compose","forwardedRef","labelRender","tips","Tooltip","content","classnames","labelHidden","Icon","type","ForwardComponent","keys","filter","key","indexOf","forEach","withInputDefaultPlaceholder","formatMessage","useIntl","id","withSelectDefaultPlaceholder","_ref3","_excluded3","withLang","group","useGroup","groupName","groupIndex","_get","useFormLang","Array","isArray","length","map","item","_createElement","name","options","ignoreList","disabledList","fields","getCurrentField","hasOwnProperty","find","newProps","langName","langLabel","disabled","rule","ReactInput","InputNumber","ReactInputNumber","Password","DatePicker","ReactDatePicker","MonthPicker","RangePicker","WeekPicker","TimePicker","ReactTimePicker","DatePickerToday","_ref4","soFarText","_excluded4","moduleName","ReactDatePickerToday","Checkbox","DateRangePicker","TimeRangePicker","RadioGroup","CheckboxGroup","Rate","Slider","SalaryInput","TypeDateRangePicker","MoneyInput","PhoneNumber","Upload","Avatar","FunctionSelect","IndustrySelect","Cascader","TreeSelect","ReactTreeSelect","Select","ReactSelect","TextArea","ReactTextArea","AdvancedSelect","AdvancedSelectField","SuperSelect","SuperSelectField","SuperSelectTableList","SuperSelectTableListField","SuperSelectUser","SuperSelectUserField","SuperSelectTree","fieldDecorator","context","useContext","Provider","Consumer","createContext","createValueWithMaxLength","maxLength","single","setValue","message","newValue","Number","isInteger","renderDisplayLabel","mapping","onClose","mappingItem","Tag","closable","preventDefault","ModalContent","propsValue","extra","showSelectedTag","renderSelectedContent","propsValueRef","useRef","current","modalOpen","setModalOpen","App","useApp","setValueWithMaxLength","error","useImperativeHandle","close","open","onConfirm","footer","direction","PopupContent","placement","inputContent","overlayWidth","wrapClassName","setOpen","Popover","onOpenChange","overlayClassName","arrow","stopPropagation","trigger","DisplayLabel","withFetch","_ref5","setFetchApi","fetchApi","hover","setHover","modalRef","popupRef","selectInnerContext","valueState","getPopupContainer","isPopup","inputContentRender","fetchApiRef","data","isComplete","inner","slice","index","splice","_ref6","align","wrap","SimpleBar","onMouseOver","onMouseOut","size","modalSize","disabledScroller","title","SelectInnerInput","_ref7","displayItems","searchText","setSearchText","setMapping","Map","appendMapping","items","newItems","newMapping","clone","set","transformValue","setValueInType","isNil","valueType","getValueInType","last","defaultValue","setItems","setData","dataFormat","loading","onRequestSuccess","defaultProps","loader","list","Download","useDownload","downloadBlobFile","useEdit","apis","onEditModalShow","modalApi","formProps","dropRight","filename","split","join","onSubmit","async","onEdit","formData","FormInfo","column","OptionButtons","_props$apis","handlerEdit","FileListOptionButtons","onDelete","renderModal","onCancel","p","FileList","FileButton","FileButtonBase","FileLink","_Object$assign","originName","useFileModal","useFileModalProps","useRefCallback","addText","addSomeThing","delText","selectedTextAdvanced","delConfirm","defaultInputPlaceholder","defaultSelectPlaceholder","startDate","endDate","uploadButtonText","uploadTips","yuan","thousand","salaryType","Cancel","Save","Next","Complete","Crop","Preview","PictureFormat","ImageSize","ReUpload","UploadFailed","NotExceeding","FileNotExceeding","Rotate","ImageFull","Size","baseSlice","require","toInteger","module","exports","array","n","guard","undefined","subtitle","importantInfo","importantInfoType","moreInfo","AntdTooltip","rootClassName","every","tooltipTitle","fetchContent","showLoading","loadingClassName","force","useFetch","auto","isLoading","send","Spin","createdField","List","User","UserField","Table","TableField","createdList","renderList","createListField","openApi","useFormContext","SuperSelectTreeField","LoadingButton","SelectField","useUIDecorator","numberFormat","_value","isNaN","Math","abs","toFixed","FormField","isError","marginBottom","cloneElement","SalaryInputField","onBlur","isRange","showMonth","remindUnit","req","_placeholder","_placeholderInput","isTenThousand","isFace","isOther","transform","useSimulationBlur","Row","gutter","Col","min","max","flex","includes","formatter","textAlign","description","color","Enum","width","borderLeft","borderRight","pointerEvents","addonAfter","v","month","defaultPropsApi","defaultPropsValue","SalaryField","IntlProvider","importMessages","_props$rule","errorRender","currentError","emitter","formState","targetFieldInfo","formStateRef","setCurrentError","addListener","validate","currentField","status","errMsg","util","compileErrMsg","msg","remove","useErrorMsg","isHover","setIsHover","errorContent","closeHover","popoverChildrenRef","popoverContentRef","useClickOutside","contains","setWidth","useLayoutEffect","callback","querySelector","clientWidth","resizeObserver","ResizeObserver","observe","mutationObserver","MutationObserver","subtree","childList","disconnect","transitionName","onMouseEnter","useReactContext","HelperGuide","Drawer","useFormDrawer","drawer","useDrawer","FormDrawerButton","formDrawer","base","result","en-US","zh-CN","TypeDateRangePickerField","_olderREQ","RULES","REQ","_olderLEN","LEN","otherOptions","interceptors","input","use","params","searchParams","URLSearchParams","from","entries","output","dayjs","Date","valueOf","toISOString","push","ossId","originalName","default","loadCountyList","loadModule","countyList","countyAbMap","ab","country_code","countyCodeMap","code","replace","matcher","match","getLocaleMsg","values","EMAIL","LENGTH_EQUAL","end","LENGTH_MORE","start","LENGTH_LESS","merge","rules","arguments","_len","args","_key","ruleName","test","PHONE_NUMBER_INPUT","ARRAY_LENGTH","datePicker","interceptor","rangeDatePicker","inputNumber","changeOnWheel","textArea","autoSize","minRows","maxRows","globalProps","labelTips","HelperGuideLabel","colorful","url","Typography","Link","href","withDecorator","footerButtons","cancelText","saveText","autoClose","FormattedMessage","ButtonComponent","CancelButton","SubmitButton","innerRender","_formProps","Form","IndustrySelectField","FunctionSelectField","CascaderField","createTreeUtils","TextField","Text","height","overflow","reactFormAntd","FormItem","ErrorTip","UploadField","createWithIntl","accept","renderTips","defaultTips","multiple","showUploadList","fileSize","concurrentCount","onSave","ossUpload","onUpload","getPermission","fileList","uploadingList","onFileSelected","useFileUpload","previewFileList","tipsText","extensionNames","str","Flex","gap","vertical","InputFileButton","omit","dataSource","infoItemRenders","newList","isNotEmpty","formUtils","MoneyInputField","chineseEmpty","showError","errorDesc","transformMoneyToChinese","moneyFormat","setStatus","inputNumberProps","controls","precision","MAX_NUM","parser","parserValue","val","changeMoneyToChinese","toChineseCharacter","localeModuleName","FormStepState","currentIndex","setCurrentIndex","stepCacheRef","isLastStep","currentProps","completeText","nextText","computedModalCommonProps","_stepCacheRef$current","otherProps","stepSection","Steps","res","_ref8","_excluded5","justify","useFormStepModal","FormStepModalButton","_excluded6","TableList","FormApiButton","FormModal","FormStepModal","FormDrawer","MultiField","widget","utils","AvatarDisplay","Image","UploadButton","withInputFile","icon","gender","shape","defaultAvatar","displayAvatar","_Fragment","dataURLtoBlob","dataURL","arr","_arr","substring","mime","bstr","atob","u8arr","Uint8Array","charCodeAt","Blob","ControlAvatarEditor","image","propsImage","borderRadius","preview","getApi","border","intl","baseWidth","setBaseWidth","outerRef","setImage","scale","setScale","rotate","setRotate","previewImg","setPreviewImg","editorRef","getImage","canvas","targetCanvas","document","createElement","targetCtx","getContext","drawImage","window","File","toDataURL","makePreviewInner","makePreview","useDebouncedCallback","span","AvatarEditor","onImageReady","onImageChange","tooltip","step","InputFileLink","AntdAvatar","src","useDropModal","dropModalSize","AvatarField","_apis$file","openEditor","currentApis","defaultAvatarIcon","setLoading","baseApis","upload","file","dropRef","dropModal","doUpload","finally","toFinite","remainder"],"ignoreList":[],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"static/js/254.54f5f58b.chunk.js","mappings":"0TAIA,MAMA,GANmBA,EAAAA,EAAAA,wBAAuB,CACtCC,cAAe,QAASC,SAAU,CAC9B,QAASC,EAAAA,QAAM,QAASC,EAAAA,SACzBC,UAAW,c,kDCGZC,EAAYC,IAAiB,IAAhB,SAACC,GAASD,EACzB,MAAOE,EAAUC,IAAeC,EAAAA,EAAAA,WAAS,GACnCC,GAASC,EAAAA,EAAAA,cACT,OAACC,IAAUC,EAAAA,EAAAA,oBACXC,EAAWC,IAAIL,EAAQ,WAAY,CAAC,GAM1C,OALAM,EAAAA,EAAAA,WAAU,KACNC,QAAQC,SAAQC,EAAAA,EAAAA,GAAWL,EAAU,CAACF,YAAUQ,KAAK,KACjDZ,GAAY,MAEjB,CAACM,EAAUF,IACTL,EAGED,EAFI,MAcf,EATae,GAAWC,EAAAA,EAAAA,YAAW,CAAAC,EAAoCC,KAAS,IAA5C,gBAACC,EAAe,KAAEC,GAAeH,EAANI,GAAKC,EAAAA,EAAAA,GAAAL,EAAAM,GAChE,OAAQC,EAAAA,EAAAA,KAACC,EAAAA,GAAgB,CAACC,MAAON,EAAKpB,UAClCwB,EAAAA,EAAAA,KAACG,EAAAA,EAAmB,CAACD,MAAOP,EAAgBnB,UACxCwB,EAAAA,EAAAA,KAAC1B,EAAS,CAAAE,UACNwB,EAAAA,EAAAA,KAACI,EAAAA,MAASC,EAAAA,EAAAA,IAAAA,EAAAA,EAAAA,GAAA,GAAKR,GAAK,IAAEH,IAAKA,a,8EC3B3C,MAAM,YAAEY,EAAW,aAAEC,GAAiBC,EAAAA,MAChCC,EAAiBZ,GACNS,EACbI,OAAOC,OAAO,CAAC,EAAG,CAAEC,YAAa,qBAAQf,EAAMgB,OAAShB,GAE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vDiB,KAAMoe,EAAS,GAAGpe,KAAM6I,KAAMiV,KAItC,MAAMkJ,EAAYH,IACdH,GAAW,GACJzI,EAAU,CAAC4I,SACbtuB,KAAKkJ,IAAa,IAAZ,KAACwG,GAAKxG,EACS,IAAdwG,EAAKwR,KAIT7d,EAASqM,EAAKA,MAHV1D,EAAAA,QAAQwB,MAAMie,EAAKnlB,cAAc,CAACE,GAAI,gBAAiB,CAACqW,IAAKnN,EAAKmN,IAAM,IAAMnN,EAAKmN,IAAM,QAKhG6R,QAAQ,KACLP,GAAW,MAGnBH,EACAQ,EAAU,CACNrD,MAAOtF,EAAS,GAChB3K,QACAyJ,SACAlU,QACAyZ,QACAsB,SACAqC,gBACAtC,OAAS5oB,GAAS4rB,EAAQrhB,QAAUvK,EACpC4iB,WACAL,SACAC,aACAvX,UAAWA,KACP6gB,EAASF,EAAQrhB,QAAQmf,eAKrCoC,EAAS5I,EAAS,SAKxB1b,EAAU5J,GACGS,EAAYT,EACpBiB,CAAOssB,GAGlB3jB,EAAOzI,MAAQosB,EACf3jB,EAAOyjB,aAAeA,EAEtB,S,eC3XA,IAAIe,EAAWpY,EAAQ,OAmCvBE,EAAOC,QAPP,SAAmB9V,GACjB,IAAIoe,EAAS2P,EAAS/tB,GAClBguB,EAAY5P,EAAS,EAEzB,OAAOA,IAAWA,EAAU4P,EAAY5P,EAAS4P,EAAY5P,EAAU,CACzE,C","sources":["components/FormInfo/withLocale.js","components/FormInfo/Form.js","components/FormInfo/fields/AddressSelect.js","components/FormInfo/FormModal.js","components/FormInfo/fields/InputUpperCase/index.js","components/FormInfo/fields/ColorPicker.js","components/FormInfo/fields/Switch/index.js","components/FormInfo/fields/index.js","webpack://@kne-components/components-core/./src/components/FormInfo/SelectInnerInput/style.module.scss?b967","components/FormInfo/SelectInnerInput/context.js","components/FormInfo/SelectInnerInput/index.js","components/File/Download.js","components/File/List/index.js","components/File/index.js","components/FormInfo/locale/en-US.js","../node_modules/lodash/dropRight.js","webpack://@kne-components/components-core/./src/components/Tooltip/style.module.scss?c30c","components/Tooltip/Tooltip.js","components/Tooltip/TooltipInfoLabel.js","components/Tooltip/TooltipFetch.js","components/FormInfo/fields/AdvancedSelect.js","components/FormInfo/FormItem.js","components/FormInfo/fields/SuperSelect.js","components/FormInfo/FormApiButton.js","webpack://@kne-components/components-core/./src/components/FormInfo/fields/SalaryInput/style.module.scss?6af8","components/FormInfo/fields/SalaryInput/index.js","components/FormInfo/ErrorTip.js","components/FormInfo/FormLangProvider.js","components/FormInfo/HelperGuideLabel.js","webpack://@kne-components/components-core/./src/components/FormInfo/style.module.scss?d1ff","components/FormInfo/FormDrawer.js","components/Enum/index.js","components/FormInfo/locale/index.js","components/FormInfo/fields/TypeDateRangePicker.js","components/FormInfo/preset.js","components/HelperGuide/locale/index.js","webpack://@kne-components/components-core/./src/components/HelperGuide/style.module.scss?bc31","components/HelperGuide/index.js","components/FormInfo/computedModalCommonProps.js","components/FormInfo/fields/IndustrySelect.js","components/FormInfo/locale/zh-CN.js","components/FormInfo/fields/FunctionSelect.js","components/FormInfo/fields/Cascader.js","components/FormInfo/fields/Text/index.js","components/FormInfo/formModule.js","webpack://@kne-components/components-core/./src/components/FormInfo/fields/Upload/style.module.scss?391a","components/FormInfo/fields/Upload/index.js","webpack://@kne-components/components-core/./src/components/FormInfo/fields/MoneyInput/style.module.scss?25be","components/FormInfo/fields/MoneyInput/index.js","components/FormInfo/FormStepModal.js","components/FormInfo/index.js","webpack://@kne-components/components-core/./src/components/FormInfo/fields/Avatar/style.module.scss?d6b0","components/FormInfo/fields/Avatar/index.js","../node_modules/lodash/toInteger.js"],"sourcesContent":["import {createWithIntlProvider} from '@kne/react-intl';\nimport zhCN from './locale/zh-CN';\nimport enUS from './locale/en-US';\n\nconst withLocale = createWithIntlProvider({\n defaultLocale: 'zh-CN', messages: {\n 'zh-CN': zhCN, 'en-US': enUS\n }, namespace: 'form-info'\n});\n\nexport default withLocale;\n","import {forwardRef, useEffect, useState} from \"react\";\nimport {usePreset, useGlobalContext} from \"@components/Global\";\nimport get from \"lodash/get\";\nimport formPreset from \"@components/FormInfo/preset\";\nimport FormLangProvider from \"@components/FormInfo/FormLangProvider\";\nimport {Form as ReactForm} from '@kne/form-info';\nimport {Provider as HelperGuideProvider} from \"@components/FormInfo/HelperGuideLabel\";\nimport '@kne/form-info/dist/index.css';\nimport withLocale from \"./withLocale\";\n\nconst SetPreset = ({children}) => {\n const [isPreset, setIsPreset] = useState(false);\n const preset = usePreset();\n const {locale} = useGlobalContext();\n const formInfo = get(preset, \"formInfo\", {});\n useEffect(() => {\n Promise.resolve(formPreset(formInfo, {locale})).then(() => {\n setIsPreset(true);\n });\n }, [formInfo, locale]);\n if (!isPreset) {\n return null;\n }\n return children;\n};\n\nconst Form = withLocale(forwardRef(({helperGuideName, lang, ...props}, ref) => {\n return (<FormLangProvider value={lang}>\n <HelperGuideProvider value={helperGuideName}>\n <SetPreset>\n <ReactForm {...props} ref={ref}/>\n </SetPreset>\n </HelperGuideProvider>\n </FormLangProvider>);\n}));\nexport default Form;\n","import { hooks } from \"@kne/react-form-antd\";\nimport { AddressInputField, AddressSelectField } from \"@components/Common\";\n\nconst { useOnChange, useDecorator } = hooks;\nconst AddressSelect = (props) => {\n const render = useOnChange(\n Object.assign({}, { placeholder: \"请选择\" + props.label }, props)\n );\n return render(AddressSelectField);\n};\n\nAddressSelect.Field = AddressSelectField;\nAddressSelect.AddressEnum = AddressSelectField.AddressEnum;\nAddressSelect.createAddressApi = AddressSelectField.createAddressApi;\nAddressSelect.withAddressApi = AddressSelectField.withAddressApi;\n\nexport default AddressSelect;\n\nexport const AddressInput = (props) => {\n const render = useDecorator(\n Object.assign(\n {},\n {\n placeholder: \"请选择\" + props.label,\n inputPlaceholder: \"请输入\" + props.label,\n },\n props\n )\n );\n return render(AddressInputField);\n};\n\nAddressInput.Field = AddressInputField;\n","import Modal, { useModal } from \"@components/Modal\";\nimport FetchButton from \"@common/components/FetchButton\";\nimport { Button } from \"antd\";\nimport computedCommonProps from \"./computedModalCommonProps\";\nimport style from \"./style.module.scss\";\n\nconst FormModal = (props) => {\n return (\n <Modal\n {...computedCommonProps(\n Object.assign({}, props, { className: style[\"form-modal\"] })\n )}\n />\n );\n};\n\nexport default FormModal;\n\nexport const useFormModal = () => {\n const modal = useModal();\n return (props) =>\n modal(\n computedCommonProps(\n Object.assign({}, props, { className: style[\"form-modal\"] })\n )\n );\n};\n\nexport const FormModalButton = ({ classNames, ...props }) => {\n const formModal = useFormModal();\n if (!props.api) {\n const { modalProps, ...others } = props;\n return (\n <Button\n {...others}\n onClick={() => {\n formModal(modalProps);\n }}\n />\n );\n }\n return <FetchButton {...props} modalFunc={formModal} />;\n};\n","import { Input } from \"antd\";\nimport useControlValue from \"@kne/use-control-value\";\nimport { createWithRemoteLoader } from \"@kne/remote-loader\";\n\nconst InputUpperCaseField = ({ ...props }) => {\n const [value, onChange] = useControlValue(props);\n\n return (\n <Input\n {...props}\n value={value}\n onChange={(e) => {\n onChange(\n e.target.value ? e.target.value.toUpperCase() : e.target.value,\n e\n );\n }}\n />\n );\n};\n\nconst InputUpperCase = createWithRemoteLoader({\n modules: [\"FormInfo@formModule\"],\n})(({ remoteModules, ...props }) => {\n const [formModule] = remoteModules;\n const { hooks } = formModule;\n const { useDecorator } = hooks;\n const render = useDecorator(\n Object.assign({ placeholder: `请输入${props.label || \"\"}` }, props)\n );\n return render(InputUpperCaseField);\n});\n\nInputUpperCase.field = InputUpperCaseField;\n\nexport default InputUpperCase;\n","import {hooks} from \"@kne/react-form-antd\";\nimport {ColorPicker as ColorPickerFieldAntd} from 'antd';\n\nconst {useOnChange} = hooks;\n\nconst ColorPickerField = (props) => {\n return <ColorPickerFieldAntd {...props} onChange={(value) => {\n return props.onChange(value.toHexString());\n }}/>;\n};\n\nconst ColorPicker = (props) => {\n const render = useOnChange(Object.assign({}, props));\n return render(ColorPickerField);\n};\n\nColorPicker.Field = ColorPicker;\nexport default ColorPicker;\n","import { Switch as AntdSwitch, Space } from \"antd\";\nimport { hooks, hoc } from \"@kne/react-form-antd\";\n\nconst { useOnChange, useCheckedToValue } = hooks;\nconst { withChecked } = hoc;\nconst WithSwitch = withChecked(({ checked, children = null, ...props }) => {\n return (\n <Space>\n <AntdSwitch checked={checked} {...props} />\n {typeof children === \"function\" ? children({ checked }) : children}\n </Space>\n );\n});\n\nconst Switch = (props) => {\n props = Object.assign(\n {},\n {\n fieldName: \"switch\",\n },\n props\n );\n const checkedProps = useCheckedToValue(props);\n const render = useOnChange(checkedProps);\n return render(WithSwitch);\n};\n\nSwitch.Field = AntdSwitch;\n\nexport default Switch;\n","import {\n DatePicker as ReactDatePicker,\n DatePickerToday as ReactDatePickerToday,\n Input as ReactInput,\n InputNumber as ReactInputNumber,\n Select as ReactSelect,\n TextArea as ReactTextArea,\n TimePicker as ReactTimePicker,\n TreeSelect as ReactTreeSelect,\n RadioGroup,\n Checkbox,\n CheckboxGroup,\n Rate,\n Slider,\n} from \"@kne/react-form-antd\";\nimport AdvancedSelectField from \"./AdvancedSelect\";\nimport SuperSelectField, {\n SuperSelectTableList as SuperSelectTableListField, SuperSelectTree, SuperSelectUser as SuperSelectUserField,\n} from \"./SuperSelect\";\nimport AddressSelect, {AddressInput} from \"./AddressSelect\";\nimport Cascader from \"./Cascader\";\nimport ColorPicker from './ColorPicker';\nimport FunctionSelect from \"./FunctionSelect\";\nimport IndustrySelect from \"./IndustrySelect\";\nimport MoneyInput from \"./MoneyInput\";\nimport PhoneNumber from \"./PhoneNumber\";\nimport Switch from \"./Switch\";\nimport Upload from \"./Upload\";\nimport Avatar from \"./Avatar\";\nimport SalaryInput from \"./SalaryInput\";\nimport InputUpperCaseField from \"./InputUpperCase\";\nimport compose from \"@kne/compose\";\nimport {forwardRef} from \"react\";\nimport {useIntl} from '@kne/react-intl';\nimport {useGroup} from \"@kne/react-form-antd\";\nimport get from \"lodash/get\";\nimport {get as _get} from \"lodash\";\nimport {useFormLang} from \"@components/FormInfo/FormLangProvider\";\nimport TypeDateRangePicker from \"./TypeDateRangePicker\";\nimport Tooltip from \"@components/Tooltip\";\nimport Icon from \"@components/Icon\";\nimport {Space} from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"../style.module.scss\";\n\nconst createWithFieldDecorator = (decoratorList) => (WrappedComponent) => {\n const TargetComponent = compose(...decoratorList)(({forwardedRef, label, placeholder, ...props}) => {\n return (<WrappedComponent\n {...props}\n label={label}\n placeholder={placeholder}\n labelRender={() => props.tips ? (<Space>\n {label}\n <Tooltip content={props.tips}>\n <span\n className={classnames(style[\"field-tips\"], {\n [style[\"label-hidden\"]]: props.labelHidden,\n })}\n >\n <Icon type=\"icon-xinxi-miaobian\"/>\n </span>\n </Tooltip>\n </Space>) : (label)}\n ref={forwardedRef}\n />)\n });\n const ForwardComponent = forwardRef((props, ref) => {\n return <TargetComponent {...props} forwardedRef={ref}/>;\n });\n Object.keys(WrappedComponent)\n .filter((key) => {\n return [\"$$typeof\", \"render\", \"field\"].indexOf(key) === -1;\n })\n .forEach((key) => {\n ForwardComponent[key] = WrappedComponent[key];\n });\n\n return ForwardComponent;\n};\n\nconst withInputDefaultPlaceholder = (WrappedComponent) => {\n return ({placeholder, label, ...props}) => {\n const {formatMessage} = useIntl();\n return (<WrappedComponent\n {...props}\n label={label}\n placeholder={placeholder || formatMessage({id: 'defaultInputPlaceholder'}, {label})}\n />);\n };\n};\n\nconst withSelectDefaultPlaceholder = (WrappedComponent) => {\n return ({placeholder, label, ...props}) => {\n const {formatMessage} = useIntl();\n return <WrappedComponent\n {...props}\n label={label}\n placeholder={placeholder || formatMessage({id: 'defaultSelectPlaceholder'}, {label})}\n />;\n }\n};\n\nconst withLang = (WrappedComponent) => {\n return (props) => {\n const group = useGroup();\n const groupName = get(group, \"name\");\n const groupIndex = _get(group, \"index\");\n const lang = useFormLang();\n if (lang && Array.isArray(lang) && lang.length > 0) {\n return lang.map((item) => {\n if (typeof item === \"string\") {\n return <WrappedComponent {...props} key={item}/>;\n }\n const {name, label, options} = item;\n const ignoreList = get(options, \"ignore\", []), disabledList = get(options, \"disabled\", []),\n fields = get(options, \"fields\", []);\n const getCurrentField = (item) => props.name === item.name && !(item.hasOwnProperty(\"groupName\") && item.groupName !== groupName) && !(item.hasOwnProperty(\"groupIndex\") && item.groupIndex !== groupIndex);\n\n if (ignoreList.length > 0 && ignoreList.find(getCurrentField)) {\n return null;\n }\n\n if (fields.length > 0 && !fields.find(getCurrentField)) {\n return null;\n }\n\n let newProps = Object.assign({}, props, {\n name: get(options, \"nameTransform\", (name, langName) => `${name}${langName}`)(props.name, name),\n label: get(options, \"labelTransform\", (label, langLabel) => label && `${label}${langLabel}`)(props.label, label),\n });\n\n if (disabledList.length > 0 && disabledList.find(getCurrentField)) {\n newProps.disabled = true;\n newProps.rule = \"\";\n }\n return <WrappedComponent {...newProps} key={name}/>;\n });\n }\n\n return <WrappedComponent {...props} />;\n };\n};\n\nconst Input = createWithFieldDecorator([withLang, withInputDefaultPlaceholder])(ReactInput);\n\nconst InputNumber = createWithFieldDecorator([withLang, withInputDefaultPlaceholder,])(ReactInputNumber);\nInput.Password = createWithFieldDecorator([withLang, withInputDefaultPlaceholder,])(ReactInput.Password);\n\nconst DatePicker = createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(ReactDatePicker);\nDatePicker.MonthPicker = createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(ReactDatePicker.MonthPicker);\n\nDatePicker.RangePicker = createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(ReactDatePicker.RangePicker);\n\nDatePicker.WeekPicker = createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(ReactDatePicker.WeekPicker);\n\nconst TimePicker = createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(ReactTimePicker);\n\nTimePicker.RangePicker = createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(ReactTimePicker.RangePicker);\n\nconst DatePickerToday = createWithFieldDecorator([withLang])(({placeholder, label, soFarText, ...props}) => {\n const {formatMessage} = useIntl({moduleName: \"FormInfo\"});\n return (<ReactDatePickerToday\n {...props}\n label={label}\n placeholder={[formatMessage({id: \"startDate\"}), formatMessage({id: \"endDate\"}),]}\n soFarText={soFarText || formatMessage({id: \"soFarText\"})}\n />);\n});\n\nconst fields = {\n Input,\n Checkbox,\n Password: Input.Password,\n InputNumber,\n DatePicker,\n MonthPicker: DatePicker.MonthPicker,\n WeekPicker: DatePicker.WeekPicker,\n DateRangePicker: DatePicker.RangePicker,\n TimeRangePicker: TimePicker.RangePicker,\n TimePicker,\n DatePickerToday,\n RadioGroup: createWithFieldDecorator([withLang])(RadioGroup),\n CheckboxGroup: createWithFieldDecorator([withLang])(CheckboxGroup),\n Rate: createWithFieldDecorator([withLang])(Rate),\n Switch: createWithFieldDecorator([withLang])(Switch),\n Slider: createWithFieldDecorator([withLang])(Slider),\n SalaryInput: createWithFieldDecorator([withLang, withInputDefaultPlaceholder])(SalaryInput),\n TypeDateRangePicker: createWithFieldDecorator([withLang])(TypeDateRangePicker),\n MoneyInput: createWithFieldDecorator([withLang, withInputDefaultPlaceholder])(MoneyInput),\n PhoneNumber: createWithFieldDecorator([withLang, withInputDefaultPlaceholder])(PhoneNumber),\n Upload: createWithFieldDecorator([withLang])(Upload),\n Avatar: createWithFieldDecorator([withLang])(Avatar),\n FunctionSelect: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(FunctionSelect),\n IndustrySelect: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(IndustrySelect),\n Cascader: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder])(Cascader),\n ColorPicker: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder])(ColorPicker),\n AddressSelect: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(AddressSelect),\n AddressInput: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(AddressInput),\n TreeSelect: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(ReactTreeSelect),\n ReactInputNumber: createWithFieldDecorator([withLang, withInputDefaultPlaceholder,])(ReactInputNumber),\n InputUpperCase: createWithFieldDecorator([withLang, withInputDefaultPlaceholder,])(InputUpperCaseField),\n Select: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder])(ReactSelect),\n TextArea: createWithFieldDecorator([withLang, withInputDefaultPlaceholder])(ReactTextArea),\n AdvancedSelect: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(AdvancedSelectField),\n SuperSelect: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(SuperSelectField),\n SuperSelectTableList: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(SuperSelectTableListField),\n SuperSelectUser: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(SuperSelectUserField),\n SuperSelectTree: createWithFieldDecorator([withLang, withSelectDefaultPlaceholder,])(SuperSelectTree),\n};\n\nexport default fields;\n\nexport const fieldDecorator = {\n createWithFieldDecorator, withInputDefaultPlaceholder, withSelectDefaultPlaceholder, withLang,\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"ant-tag\":\"style_ant-tag__7ct2q__-0IeQ\",\"overlay\":\"style_overlay__CXfU5__-0IeQ\",\"input\":\"style_input__+OpvV__-0IeQ\",\"is-disabled\":\"style_is-disabled__uX4qq__-0IeQ\",\"input-icon\":\"style_input-icon__E3NjK__-0IeQ\",\"large\":\"style_large__vMozz__-0IeQ\",\"small\":\"style_small__ubqQ+__-0IeQ\",\"input-inner\":\"style_input-inner__sY-6k__-0IeQ\",\"input-custom\":\"style_input-custom__Kxq3n__-0IeQ\",\"display-content\":\"style_display-content__qA1jn__-0IeQ\",\"overlay-footer-extra\":\"style_overlay-footer-extra__yCzWX__-0IeQ\",\"selected-tag\":\"style_selected-tag__BZsMM__-0IeQ\",\"selected-tag-list\":\"style_selected-tag-list__As0ho__-0IeQ\",\"selected-tag-inner\":\"style_selected-tag-inner__2NH59__-0IeQ\",\"text-inner\":\"style_text-inner__Bq2Ji__-0IeQ\",\"placeholder\":\"style_placeholder__odotY__-0IeQ\",\"is-modal\":\"style_is-modal__4cj8L__-0IeQ\",\"overlay-content\":\"style_overlay-content__kpGRn__-0IeQ\"};","import createContext from \"@common/utils/createContext\";\n\nexport const { context, useContext, Provider, Consumer } = createContext();\n\nexport default context;\n","import style from \"./style.module.scss\";\nimport { Provider, useContext } from \"./context\";\nimport {\n forwardRef,\n useEffect,\n useImperativeHandle,\n useRef,\n useState,\n} from \"react\";\nimport useControlValue from \"@kne/use-control-value\";\nimport { withFetch } from \"@kne/react-fetch\";\nimport get from \"lodash/get\";\nimport { App, Popover, Space, Tag } from \"antd\";\nimport classnames from \"classnames\";\nimport Modal from \"@components/Modal\";\nimport Icon from \"@components/Icon\";\nimport isNil from \"lodash/isNil\";\nimport clone from \"lodash/clone\";\nimport last from \"lodash/last\";\nimport SimpleBar from \"@common/components/SimpleBar\";\n\nconst createValueWithMaxLength =\n ({ maxLength, single, setValue, value, message }) =>\n (newValue) =>\n setValue(\n (() => {\n if (\n !single &&\n Number.isInteger(maxLength) &&\n maxLength > 0 &&\n newValue.length > maxLength\n ) {\n message(`最多选择${maxLength}个`);\n return value;\n }\n return newValue;\n })()\n );\n\nconst renderDisplayLabel = ({ single, value, mapping, onClose }) => {\n if (!value || !Array.isArray(value) || value.length === 0) {\n return null;\n }\n\n if (single) {\n return (\n <span className={style[\"text-inner\"]}>\n {get(mapping.get(value[0]), \"label\") || value[0]}\n </span>\n );\n }\n\n return value.map((item) => {\n const mappingItem = mapping.get(item);\n return (\n <Tag\n key={item}\n className={style[\"display-tag\"]}\n closable\n onClose={(e) => {\n e.preventDefault();\n onClose(item, mappingItem);\n }}\n >\n <span className={style[\"tag-inner\"]}>\n {get(mappingItem, \"label\") || item}\n </span>\n </Tag>\n );\n });\n};\n\nconst ModalContent = forwardRef(\n (\n {\n value: propsValue,\n onChange,\n extra,\n showSelectedTag,\n renderSelectedContent,\n children,\n ...props\n },\n ref\n ) => {\n const [value, setValue] = useState(propsValue);\n const propsValueRef = useRef(propsValue);\n propsValueRef.current = propsValue;\n const [modalOpen, setModalOpen] = useState(false);\n const { message } = App.useApp();\n const setValueWithMaxLength = createValueWithMaxLength({\n maxLength: props.maxLength,\n single: props.single,\n setValue,\n value,\n message: message.error,\n });\n useEffect(() => {\n if (modalOpen) {\n setValue(propsValueRef.current);\n }\n }, [modalOpen]);\n useImperativeHandle(ref, () => {\n return {\n modalOpen: () => {\n setModalOpen(true);\n },\n close: () => {\n setModalOpen(false);\n },\n };\n });\n return (\n <Modal\n {...props}\n open={modalOpen}\n onConfirm={() => {\n onChange(value);\n }}\n onClose={() => {\n setModalOpen(false);\n }}\n footer={\n (showSelectedTag || extra) && (\n <Space direction=\"vertical\" className={style[\"overlay-footer\"]}>\n {extra && (\n <div className={style[\"overlay-footer-extra\"]}>{extra}</div>\n )}\n {showSelectedTag &&\n renderSelectedContent({\n value,\n setValue: setValueWithMaxLength,\n })}\n </Space>\n )\n }\n >\n {typeof children === \"function\"\n ? children({ value, setValue: setValueWithMaxLength })\n : children}\n </Modal>\n );\n }\n);\n\nconst PopupContent = forwardRef(\n (\n {\n value,\n setValue,\n children,\n renderSelectedContent,\n showSelectedTag,\n placement,\n inputContent,\n single,\n extra,\n overlayWidth,\n wrapClassName,\n ...props\n },\n ref\n ) => {\n const [open, setOpen] = useState(false);\n useImperativeHandle(\n ref,\n () => {\n return {\n close: () => {\n setOpen(false);\n },\n };\n },\n []\n );\n return (\n <Popover\n {...props}\n open={open}\n onOpenChange={setOpen}\n overlayClassName={style[\"overlay\"]}\n arrow={false}\n content={\n <div\n style={overlayWidth ? { \"--overlay-width\": overlayWidth } : {}}\n className={style[\"overlay-content\"]}\n onClick={(e) => {\n e.stopPropagation();\n }}\n >\n <div className={style[\"overlay-inner\"]}>\n {typeof children === \"function\"\n ? children({\n value,\n setValue: (newValue) => {\n !(single && value[0] === newValue[0]) &&\n setValue(newValue);\n single && setOpen(false);\n },\n })\n : children}\n </div>\n {(showSelectedTag || extra) && (\n <div className={style[\"overlay-footer\"]}>\n {extra && (\n <div className={style[\"overlay-footer-extra\"]}>{extra}</div>\n )}\n {showSelectedTag && renderSelectedContent({ value, setValue })}\n </div>\n )}\n </div>\n }\n trigger=\"click\"\n placement={placement}\n >\n <div className={style[\"input-inner\"]}>{inputContent}</div>\n </Popover>\n );\n }\n);\n\nconst DisplayLabel = withFetch(\n ({ setFetchApi, wrapClassName, ...fetchApi }) => {\n const [hover, setHover] = useState(false);\n const modalRef = useRef(null);\n const popupRef = useRef(null);\n const selectInnerContext = useContext();\n const { valueState, mapping, props } = selectInnerContext;\n const [value, setValue] = valueState;\n const {\n single,\n placement,\n getPopupContainer,\n placeholder,\n isPopup,\n disabled,\n showSelectedTag,\n extra,\n inputContent: inputContentRender,\n } = props;\n const fetchApiRef = useRef(fetchApi);\n fetchApiRef.current = fetchApi;\n\n useEffect(() => {\n setFetchApi(\n Object.assign({}, fetchApiRef.current, {\n data: fetchApi.data,\n isComplete: fetchApi.isComplete,\n })\n );\n }, [fetchApi.data, setFetchApi, fetchApi.isComplete]);\n\n const inner = renderDisplayLabel({\n single,\n value,\n mapping,\n onClose: (item) => {\n setValue((value) => {\n const newValue = value.slice(0);\n const index = value.indexOf(item);\n index > -1 && newValue.splice(index, 1);\n return newValue;\n });\n },\n });\n\n const renderSelectedContent = ({ value, setValue }) => (\n <Space className={style[\"selected-tag\"]} align={\"center\"} wrap>\n <div>\n 已选\n {!props.single &&\n Number.isInteger(props.maxLength) &&\n props.maxLength > 0\n ? `(${value.length}/${props.maxLength})`\n : \"\"}\n :\n </div>\n <SimpleBar className={style[\"selected-tag-list\"]}>\n <div className={style[\"selected-tag-inner\"]}>\n {renderDisplayLabel({\n value,\n mapping,\n onClose: (item) => {\n setValue((value) => {\n const newValue = value.slice(0);\n const index = value.indexOf(item);\n index > -1 && newValue.splice(index, 1);\n return newValue;\n });\n },\n })}\n </div>\n </SimpleBar>\n </Space>\n );\n\n const inputContent = inputContentRender ? (\n inputContentRender(selectInnerContext)\n ) : (\n <Space\n className={style[\"display-content\"]}\n onMouseOver={() => {\n setHover(true);\n }}\n onMouseOut={() => {\n setHover(false);\n }}\n >\n <div>\n {inner || <span className={style[\"placeholder\"]}>{placeholder}</span>}\n </div>\n {hover && value && value.length > 0 && !disabled ? (\n <Icon\n className={classnames(\n style[\"close\"],\n style[\"input-icon\"],\n \"close\",\n \"input-icon\"\n )}\n type=\"icon-shibai\"\n onClick={(e) => {\n e.stopPropagation();\n setValue([]);\n }}\n />\n ) : (\n <Icon\n className={classnames(\n style[\"input-icon\"],\n \"input-icon-arrow\",\n \"input-icon\"\n )}\n type=\"icon-arrow-thin-down\"\n />\n )}\n </Space>\n );\n\n if (isPopup) {\n return (\n <PopupContent\n ref={popupRef}\n overlayWidth={props.overlayWidth}\n value={value}\n setValue={setValue}\n single={single}\n inputContent={inputContent}\n extra={\n typeof extra === \"function\"\n ? extra({\n close: () => popupRef.current.close(),\n context: selectInnerContext,\n })\n : extra\n }\n renderSelectedContent={renderSelectedContent}\n showSelectedTag={showSelectedTag}\n trigger=\"click\"\n placement={placement}\n getPopupContainer={getPopupContainer}\n >\n {props.children}\n </PopupContent>\n );\n }\n\n return (\n <div\n className={style[\"input-inner\"]}\n onClick={() => {\n modalRef.current.modalOpen();\n }}\n >\n <ModalContent\n size={props.modalSize}\n ref={modalRef}\n single={props.single}\n maxLength={props.maxLength}\n disabledScroller\n wrapClassName={classnames(\n style[\"overlay\"],\n style[\"is-modal\"],\n wrapClassName\n )}\n title={props.placeholder}\n value={value}\n onChange={setValue}\n extra={\n typeof extra === \"function\"\n ? extra({\n close: () => modalRef.current.close(),\n context: selectInnerContext,\n })\n : extra\n }\n showSelectedTag={showSelectedTag}\n renderSelectedContent={renderSelectedContent}\n >\n {props.children}\n </ModalContent>\n {inputContent}\n </div>\n );\n }\n);\n\nconst getValueInType = (value, mapping, type) => {\n if (type !== \"all\") {\n return value;\n }\n return value.map((item) => mapping.get(item));\n};\n\nconst setValueInType = (value, setMapping, type) => {\n if (type !== \"all\") {\n return value;\n }\n setMapping(value);\n return value.map((item) => item.value);\n};\n\nconst SelectInnerInput = ({\n api,\n className,\n displayItems,\n wrapClassName,\n ...props\n}) => {\n const [searchText, setSearchText] = useState(\"\");\n const [mapping, setMapping] = useState(\n new Map(displayItems.map((item) => [item.value, item]))\n );\n const [fetchApi, setFetchApi] = useState({});\n const { message } = App.useApp();\n const appendMapping = (items) => {\n const newItems = items.filter((item) => mapping.get(item.value) !== item);\n if (newItems.length === 0) {\n return;\n }\n\n setMapping((mapping) => {\n const newMapping = clone(mapping);\n newItems.forEach((item) => {\n newMapping.set(item.value, item);\n });\n return newMapping;\n });\n };\n\n const transformValue = (value) => {\n return setValueInType(\n props.single ? (isNil(value) ? [] : [value]) : value || [],\n appendMapping,\n props.valueType\n );\n };\n\n const [value, setValue] = useControlValue(\n Object.assign(\n {},\n props,\n {\n onChange: (value) => {\n const newValue = getValueInType(value, mapping, props.valueType);\n props.onChange &&\n props.onChange(props.single ? last(newValue) : newValue);\n },\n },\n \"value\" in props\n ? { value: transformValue(props.value) }\n : { defaultValue: transformValue(props.defaultValue) }\n )\n );\n\n const setValueWithMaxLength = createValueWithMaxLength({\n maxLength: props.maxLength,\n single: props.single,\n setValue,\n value,\n message: message.error,\n });\n\n return (\n <Provider\n value={{\n mapping,\n searchText,\n setSearchText,\n appendMapping,\n setItems: (data) => {\n fetchApi.setData(data);\n appendMapping(get(props.dataFormat(data), \"list\", []));\n },\n fetchApi,\n valueState: [value, setValueWithMaxLength],\n props,\n }}\n >\n <div\n className={classnames(\n style[\n `input${\n props.inputContent && typeof props.inputContent === \"function\"\n ? \"-custom\"\n : \"\"\n }`\n ],\n className\n )}\n >\n <DisplayLabel\n {...api}\n wrapClassName={wrapClassName}\n loading={null}\n setFetchApi={setFetchApi}\n onRequestSuccess={(data) => {\n appendMapping(get(props.dataFormat(data), \"list\", []));\n api.onRequestSuccess && api.onRequestSuccess(data);\n }}\n />\n </div>\n </Provider>\n );\n};\n\nSelectInnerInput.defaultProps = {\n placeholder: \"请选择\",\n displayItems: [],\n extra: null,\n api: {\n loader: () => [],\n },\n dataFormat: (data) => {\n return { list: data };\n },\n placement: \"bottomLeft\",\n getPopupContainer: null,\n showSelectedTag: true,\n};\n\nSelectInnerInput.useContext = useContext;\n\nexport default SelectInnerInput;\n","import { Download, useDownload, downloadBlobFile } from \"@kne/react-file\";\n\nDownload.useDownload = useDownload;\nDownload.downloadBlobFile = downloadBlobFile;\n\nexport default Download;\nexport { useDownload, downloadBlobFile };\n","import {FileList, FileListOptionButtons} from \"@kne/react-file\";\nimport dropRight from \"lodash/dropRight\";\nimport last from \"lodash/last\";\nimport FormInfo, {Input, useFormModal} from \"@components/FormInfo\";\nimport Modal from \"@components/Modal\";\n\nconst useEdit = ({apis}) => {\n const formModal = useFormModal();\n return typeof apis?.onEditModalShow === 'function' ? apis.onEditModalShow : (item, apis) => {\n const modalApi = formModal({\n size: \"small\",\n title: \"修改文件名称\",\n formProps: {\n data: {\n name: dropRight(item.filename.split(\".\")).join(\".\"),\n },\n onSubmit: async (data) => {\n const res =\n apis?.onEdit &&\n (await apis?.onEdit({\n formData: Object.assign({}, data, {\n name: `${data.name}.${last(item.filename.split(\".\"))}`,\n }),\n item,\n }));\n if (res !== false) {\n modalApi.close();\n }\n },\n },\n children: (\n <FormInfo\n column={1}\n list={[<Input name=\"name\" label={\"文件名称\"} rule=\"REQ LEN-0-100\"/>]}\n />\n ),\n });\n };\n};\n\nconst List = ({apis, ...p}) => {\n const handlerEdit = useEdit({apis});\n return (\n <FileList\n {...p}\n apis={apis}\n onEdit={(item) => handlerEdit(item, apis)}\n onDelete={apis?.onDelete}\n renderModal={typeof p.renderModal === 'function' ? p.renderModal : ({onCancel, ...modalProps}) => {\n return <Modal {...Object.assign({}, modalProps)} onClose={onCancel}/>;\n }}\n />\n );\n};\n\nconst OptionButtons = (props) => {\n const handlerEdit = useEdit({apis: props.apis});\n return (\n <FileListOptionButtons\n {...props}\n onEdit={(item) => handlerEdit(item, props.apis)}\n onDelete={props.apis?.onDelete}\n renderModal={typeof props.renderModal === 'function' ? props.renderModal : ({onCancel, ...modalProps}) => {\n return <Modal {...Object.assign({}, modalProps)} onClose={onCancel}/>;\n }}\n />\n );\n};\n\nexport default List;\n\nexport {OptionButtons};\n","import \"@kne/react-file/dist/index.css\";\nimport useRefCallback from \"@kne/use-ref-callback\";\nimport {\n FileButton as FileButtonBase, useFileModalProps, download\n} from \"@kne/react-file\";\nimport Modal, {useModal} from \"@components/Modal\";\nimport classnames from \"classnames\";\n\nexport const FileButton = (p) => {\n return (<FileButtonBase\n {...Object.assign({}, p, {\n modalProps: {\n renderModal: ({onCancel, ...modalProps}) => {\n return (<Modal {...Object.assign({}, modalProps)} onClose={onCancel}/>);\n },\n },\n })}\n />);\n};\n\nexport const FileLink = (p) => {\n const {className, ...props} = Object.assign({}, p);\n return (<FileButton\n {...props}\n className={classnames(className, \"btn-no-padding\")}\n type=\"link\"\n >\n {props.children || props.filename || props.originName}\n </FileButton>);\n};\n\nexport const useFileModal = (p) => {\n const {title, children, footer} = useFileModalProps(Object.assign({}, p));\n const modal = useModal();\n return useRefCallback(() => {\n return modal({\n title, children, footer,\n });\n });\n};\n\nexport {download};\nexport {default as Download, downloadBlobFile, useDownload} from \"./Download\";\nexport {default as List, OptionButtons} from \"./List\";\nexport {default, PrintButton} from \"./File\";","const message = {\n addText: \"Add\",\n addSomeThing: \"Add {label}\",\n delText: \"Delete\",\n selectedTextAdvanced: \"Selected\",\n delConfirm: \"Are you sure you want to delete this {name}?\",\n defaultInputPlaceholder: \"Please enter {label}\",\n defaultSelectPlaceholder: \"Please select {label}\",\n startDate: \"Start Date\",\n endDate: \"End Date\",\n soFarText: \"Hitherto\",\n uploadButtonText: \"Click Upload\",\n uploadTips: \"Support extension {extensionNames}, single file size does not exceed {fileSize} M, upload up to {maxLength} attachments\",\n yuan: \"yuan\",\n thousand: \"ten thousand yuan\",\n salaryType: \"Salary type\",\n Cancel: \"Cancel\",\n Save: \"Save\",\n Next: \"Next\",\n Complete: \"Complete\",\n Crop: \"Crop\",\n Preview: \"Preview\",\n PictureFormat: \"Picture Format: \",\n ImageSize: \"Image Size: \",\n ReUpload: \"Re-upload\",\n UploadFailed: \"Upload Failed{msg}\",\n NotExceeding: \"Not exceeding {size}M\",\n FileNotExceeding: \"File {name} not exceeding {size}MB!\",\n Rotate: \"Rotate\",\n ImageFull: \"Image Full\",\n Size: \"Image Size\",\n};\n\nexport default message;\n","var baseSlice = require('./_baseSlice'),\n toInteger = require('./toInteger');\n\n/**\n * Creates a slice of `array` with `n` elements dropped from the end.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Array\n * @param {Array} array The array to query.\n * @param {number} [n=1] The number of elements to drop.\n * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n * @returns {Array} Returns the slice of `array`.\n * @example\n *\n * _.dropRight([1, 2, 3]);\n * // => [1, 2]\n *\n * _.dropRight([1, 2, 3], 2);\n * // => [1]\n *\n * _.dropRight([1, 2, 3], 5);\n * // => []\n *\n * _.dropRight([1, 2, 3], 0);\n * // => [1, 2, 3]\n */\nfunction dropRight(array, n, guard) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return [];\n }\n n = (guard || n === undefined) ? 1 : toInteger(n);\n n = length - n;\n return baseSlice(array, 0, n < 0 ? 0 : n);\n}\n\nmodule.exports = dropRight;\n","// extracted by mini-css-extract-plugin\nexport default {\"tooltip\":\"style_tooltip__zHGMI__-0IeQ\",\"large\":\"style_large__lvmsm__-0IeQ\",\"small\":\"style_small__nUt0r__-0IeQ\",\"popup-content\":\"style_popup-content__-rKQN__-0IeQ\",\"title\":\"style_title__1EQPq__-0IeQ\",\"important-info\":\"style_important-info__qTSZY__-0IeQ\",\"error\":\"style_error__yTTq3__-0IeQ\",\"warning\":\"style_warning__CMJxz__-0IeQ\",\"success\":\"style_success__AvJVx__-0IeQ\",\"sub-title\":\"style_sub-title__uD8CH__-0IeQ\",\"content\":\"style_content__lzgUz__-0IeQ\",\"alone\":\"style_alone__q6q82__-0IeQ\",\"fetch-content\":\"style_fetch-content__tEOEV__-0IeQ\",\"fetch-loading\":\"style_fetch-loading__tN-WB__-0IeQ\",\"title-info-icon\":\"style_title-info-icon__iY8Q+__-0IeQ\"};","import { Space, Tooltip as AntdTooltip } from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\n\nconst Tooltip = ({\n overlayClassName,\n title,\n size,\n subtitle,\n content,\n importantInfo,\n importantInfoType,\n moreInfo,\n ...props\n}) => {\n return (\n <AntdTooltip\n {...props}\n rootClassName={classnames(overlayClassName, style[\"tooltip\"], {\n [style[\"small\"]]: size === \"small\",\n [style[\"large\"]]: size === \"large\",\n })}\n title={\n <Space direction=\"vertical\" className={style[\"popup-content\"]}>\n {title && <div className={style[\"title\"]}>{title}</div>}\n {importantInfo && (\n <div\n className={classnames(style[\"important-info\"], {\n [style[\"success\"]]: importantInfoType === \"success\",\n [style[\"warning\"]]: importantInfoType === \"warning\",\n [style[\"error\"]]: importantInfoType === \"error\",\n })}\n >\n {importantInfo}\n </div>\n )}\n {subtitle && <div className={style[\"sub-title\"]}>{subtitle}</div>}\n {content && (\n <div\n className={classnames(style[\"content\"], {\n [style[\"alone\"]]: [\n title,\n subtitle,\n importantInfo,\n moreInfo,\n ].every((item) => !item),\n })}\n >\n {content}\n </div>\n )}\n {moreInfo && <div>{moreInfo}</div>}\n </Space>\n }\n />\n );\n};\n\nexport default Tooltip;\n","import style from \"./style.module.scss\";\nimport Tooltip from \"./Tooltip\";\nimport Icon from \"@components/Icon\";\n\nconst TooltipInfoLabel = ({ title, tooltipTitle }) => {\n return (\n <div>\n {title}\n {tooltipTitle ? (\n <Tooltip {...tooltipTitle}>\n <span>\n <Icon\n type=\"icon-xinxi-miaobian\"\n className={style[\"title-info-icon\"]}\n size={14}\n />\n </span>\n </Tooltip>\n ) : null}\n </div>\n );\n};\n\nexport default TooltipInfoLabel;\n","import {useState} from \"react\";\nimport {useFetch} from \"@kne/react-fetch\";\nimport {Spin} from \"antd\";\nimport style from \"./style.module.scss\";\nimport Tooltip from \"./Tooltip\";\nimport classnames from \"classnames\";\n\nconst TooltipFetch = ({\n api, children, fetchContent, showLoading = true, loadingClassName, force, ...props\n }) => {\n const [open, setOpen] = useState(false);\n const fetchApi = useFetch(Object.assign({}, api, {auto: false}));\n const {isComplete, isLoading, data, send} = fetchApi;\n return (<Tooltip\n {...Object.assign({}, props, isComplete ? fetchContent(data, fetchApi) : {})}\n open={open}\n onOpenChange={async (open) => {\n if (open && (!isComplete || force)) {\n await send({type: \"refresh\"});\n }\n setOpen(open);\n }}\n >\n <span className={style[\"fetch-content\"]}>\n {children}\n {showLoading && isLoading ? (<Spin\n size=\"small\"\n className={classnames(loadingClassName, style[\"fetch-loading\"])}\n />) : null}\n </span>\n </Tooltip>);\n};\n\nexport default TooltipFetch;\n","import { hooks } from \"@kne/react-form-antd\";\nimport {\n AdvancedSelectField,\n createListField,\n TableField,\n UserField,\n} from \"@components/Common\";\n\nconst { useOnChange } = hooks;\n\nconst createdField = (WrappedComponent) => {\n const List = (props) => {\n const render = useOnChange(\n Object.assign({}, { placeholder: \"请选择\" + props.label }, props)\n );\n return render(WrappedComponent);\n };\n\n List.field = List.Field = WrappedComponent;\n\n return List;\n};\n\nexport const createdList = ({ renderList, defaultProps }) =>\n createdField(\n createListField({\n renderList,\n defaultProps,\n })\n );\n\nexport const User = createdField(UserField);\nexport const Table = createdField(TableField);\n\nconst AdvancedSelect = createdField(AdvancedSelectField);\nAdvancedSelect.createdList = createdList;\nAdvancedSelect.User = User;\nAdvancedSelect.Table = Table;\nexport default AdvancedSelect;\n","import { useFormContext } from \"@kne/react-form-antd\";\n\nconst FormItem = ({ children }) => {\n const { openApi, formData } = useFormContext();\n return children({ ...openApi, formData });\n};\n\nexport default FormItem;\n","import {hooks} from \"@kne/react-form-antd\";\nimport {\n SuperSelectField, SuperSelectTableListField, SuperSelectTreeField,\n} from \"@components/Common\";\nimport {SuperSelectUserField} from \"../../../common/components/SuperSelectField\";\n\nconst {useOnChange} = hooks;\n\nconst createdField = (WrappedComponent) => {\n const List = (props) => {\n const render = useOnChange(Object.assign({}, {placeholder: \"请选择\" + props.label}, props));\n return render(WrappedComponent);\n };\n\n List.field = List.Field = WrappedComponent;\n\n return List;\n};\nconst SuperSelect = createdField(SuperSelectField);\nexport const SuperSelectUser = createdField(SuperSelectUserField);\nexport const SuperSelectTableList = createdField(SuperSelectTableListField);\nexport const SuperSelectTree = createdField(SuperSelectTreeField);\nexport default SuperSelect;\n","import { useFormContext } from \"@kne/react-form-antd\";\nimport LoadingButton from \"@components/LoadingButton\";\n\nconst FormApiButton = ({ onClick, ...props }) => {\n const context = useFormContext();\n return (\n <LoadingButton\n {...props}\n onClick={(e) => {\n return onClick(context, e);\n }}\n />\n );\n};\n\nexport default FormApiButton;\n","// extracted by mini-css-extract-plugin\nexport default {\"salary\":\"style_salary__sUOtT__-0IeQ\",\"salary-type\":\"style_salary-type__Sl1LC__-0IeQ\",\"input-number\":\"style_input-number__eoEZr__-0IeQ\",\"full\":\"style_full__NPqJm__-0IeQ\",\"input-group\":\"style_input-group__toLB7__-0IeQ\",\"input-group-no-mb\":\"style_input-group-no-mb__C4nzh__-0IeQ\"};","import React, {cloneElement} from \"react\";\nimport {withFetch} from \"@kne/react-fetch\";\nimport {hooks} from \"@kne/react-form-antd\";\nimport useSimulationBlur from \"@kne/use-simulation-blur\";\nimport {Col, Input, InputNumber, Row, Select} from \"antd\";\nimport style from \"./style.module.scss\";\nimport {IntlProvider, useIntl} from \"@components/Intl\";\nimport importMessages from \"../../locale\";\nimport Enum from \"@components/Enum\";\nimport useControlValue from \"@kne/use-control-value\";\nimport {get} from \"lodash\";\n\nconst SelectField = withFetch(({data, ...props}) => {\n return <Select {...props} options={data}/>;\n});\n\nconst {useDecorator, useUIDecorator} = hooks;\n\nexport const InputNumberField = (props) => {\n const render = useUIDecorator(props);\n return render(InputNumber);\n};\nconst numberFormat = (value) => {\n if (!value) return \"\";\n const _value = isNaN(Number(value)) ? value : Math.abs(Number(value));\n return value.split(\".\")[1] && value.split(\".\")[1].length > 2 ? _value.toFixed(2) : _value;\n};\n\nconst FormField = ({children, isError}) => {\n return (<div\n style={{marginBottom: 0}}\n className={`react-form__field ${isError ? \"is-error\" : \"\"}`}\n >\n <div className=\"react-form__field-main\">\n <div className=\"react-form__field-input\">\n {cloneElement(children, {className: \"react-form__field-component\"})}\n </div>\n </div>\n </div>);\n};\n\nconst SalaryInputField = ({\n getPopupContainer,\n onBlur,\n api,\n isRange = true,\n placeholder,\n disabled,\n showMonth,\n remindUnit,\n req,\n ...props\n }) => {\n const [value, onChange] = useControlValue(props);\n const {formatMessage} = useIntl({moduleName: \"FormInfo\"});\n const _placeholder = formatMessage({id: \"defaultSelectPlaceholder\"}, {label: \"\"});\n const _placeholderInput = formatMessage({id: \"defaultInputPlaceholder\"}, {label: \"\"});\n\n const isTenThousand = [6].indexOf(get(value, \"type\")) > -1, isFace = get(value, \"type\") === 1,\n isOther = get(value, \"type\") === 7;\n\n const transform = (value) => {\n if (!value) {\n return;\n }\n return isTenThousand ? value / 10000 : value;\n };\n\n const ref = useSimulationBlur(onBlur ? onBlur : () => {\n });\n\n return (<div ref={ref} className={style[\"salary\"]}>\n <Row wrap={false} gutter={10}>\n <Col>\n <SelectField\n className={style[\"salary-type\"]}\n {...api}\n value={get(value, \"type\")}\n onChange={(type) => {\n onChange && onChange(Object.assign({}, isFace ? {} : value, {\n type, min: \"\", max: \"\",\n }));\n }}\n placeholder={placeholder || _placeholder}\n getPopupContainer={getPopupContainer}\n disabled={disabled}\n />\n </Col>\n {isFace ? null : (<Col flex={1}>\n {isRange && (<Row\n className={remindUnit && [5, 6].includes(value?.type) ? style[\"input-group\"] : style[\"input-group-no-mb\"]}\n wrap={false}\n >\n <Col flex={1}>\n <FormField isError={!get(value, \"min\") && req}>\n <InputNumber\n disabled={disabled}\n placeholder={_placeholderInput}\n formatter={numberFormat}\n value={transform(get(value, \"min\"))}\n style={{\n textAlign: \"center\",\n }}\n onChange={(min) => {\n onChange(Object.assign({}, value, {\n min: isTenThousand ? min * 10000 : min,\n }));\n }}\n // status={'warning'}\n description={remindUnit && [5, 6].includes(value?.type) ? (\n <span style={{color: \"#fc3333\"}}>\n 注意:\n <Enum\n name={value?.type}\n moduleName=\"salaryTypeEnum\"\n />\n 的单位为\n {isTenThousand ? formatMessage({id: \"thousand\"}) : isOther ? \"\" : formatMessage({id: \"yuan\"})}\n </span>) : null}\n />\n </FormField>\n </Col>\n <Col>\n <Input\n style={{\n width: 30, borderLeft: 0, borderRight: 0, pointerEvents: \"none\",\n }}\n placeholder=\"~\"\n disabled\n />\n </Col>\n <Col flex={1}>\n <FormField isError={!get(value, \"max\") && req}>\n <InputNumber\n disabled={disabled}\n placeholder={_placeholderInput}\n formatter={numberFormat}\n value={transform(get(value, \"max\"))}\n style={{\n textAlign: \"center\",\n }}\n addonAfter={isTenThousand ? formatMessage({id: \"thousand\"}) : isOther ? \"\" : formatMessage({id: \"yuan\"})}\n onChange={(max) => {\n onChange(Object.assign({}, value, {\n max: isTenThousand ? max * 10000 : max,\n }));\n }}\n />\n </FormField>\n </Col>\n {get(value, \"type\") === 5 && showMonth && (<Col>\n <span\n className={get(value, \"max\") && get(value, \"min\") && !get(value, \"month\") && req ? \"error\" : \"\"}\n >\n <span className={style[\"input-number\"]}>X</span>\n <InputNumber\n min={12}\n disabled={disabled}\n value={get(value, \"month\")}\n onChange={(v) => {\n onChange(Object.assign({}, value, {month: v}));\n }}\n style={{\n width: 100, textAlign: \"center\",\n }}\n placeholder=\"数量\"\n addonAfter=\"月\"\n />\n </span>\n </Col>)}\n </Row>)}\n {!isRange && !isOther && (<InputNumber\n disabled={disabled}\n min={0}\n max={100000000}\n placeholder={_placeholderInput}\n className={style.full}\n formatter={numberFormat}\n value={transform(get(value, \"max\"))}\n style={{\n textAlign: \"center\",\n }}\n addonAfter={isTenThousand ? formatMessage({id: \"thousand\"}) : isOther ? \"\" : formatMessage({id: \"yuan\"})}\n onChange={(max) => {\n onChange(Object.assign({}, value, {\n max: isTenThousand ? max * 10000 : max,\n }));\n }}\n />)}\n {!isRange && isOther && (<Input\n disabled={disabled}\n placeholder={_placeholderInput}\n className={style.full}\n onChange={(e) => {\n onChange(Object.assign({}, value, {max: e.target.value}));\n }}\n value={get(value, \"max\")}\n style={{\n textAlign: \"center\",\n }}\n />)}\n </Col>)}\n </Row>\n </div>);\n};\n\nconst defaultPropsApi = {\n loader: () => {\n return [{\n value: 1, label: \"面议\",\n }, {\n value: 2, label: \"时薪\",\n }, {\n value: 3, label: \"日薪\",\n }, {\n value: 4, label: \"周薪\",\n }, {\n value: 5, label: \"月薪\",\n }, {\n value: 6, label: \"年薪\",\n },];\n },\n};\n\nconst defaultPropsValue = {\n type: 5, min: \"\", max: \"\", month: 12,\n};\n\nconst SalaryField = ({api = defaultPropsApi, defaultValue = defaultPropsValue, ...props}) => {\n return (<IntlProvider moduleName=\"FormInfo\" importMessages={importMessages}>\n <SalaryInputField {...props} api={api} defaultValue={defaultValue}/>\n </IntlProvider>);\n};\n\nconst SalaryInput = (props) => {\n const render = useDecorator({\n ...props, req: props?.rule?.indexOf(\"REQ\") > -1,\n });\n return render(SalaryField);\n};\n\nSalaryInput.Field = SalaryField;\n\nexport default SalaryInput;\n","import {useFormContext, util} from \"@kne/react-form-antd\";\nimport {Popover} from \"antd\";\nimport {useLayoutEffect, useState, useRef, useEffect} from \"react\";\nimport classnames from \"classnames\";\nimport useClickOutside from \"@kne/use-click-outside\";\nimport style from \"./style.module.scss\";\n\nconst useErrorMsg = ({name, groupName, groupIndex}) => {\n const {emitter, formState} = useFormContext();\n const targetFieldInfo = useRef({name, groupName, groupIndex});\n targetFieldInfo.current = {name, groupName, groupIndex};\n const formStateRef = useRef(formState);\n formStateRef.current = formState;\n const [currentError, setCurrentError] = useState(null);\n useEffect(() => {\n const target = emitter.addListener(\n \"form-field-validate-complete\",\n ({id, validate}) => {\n const field = formStateRef.current[id];\n if (!field) {\n return;\n }\n const currentField = targetFieldInfo.current;\n if (\n field.name === currentField.name &&\n (!currentField.groupName ||\n (field.groupName === currentField.groupName &&\n field.groupIndex === currentField.groupIndex))\n ) {\n setCurrentError(\n validate.status === 2\n ? Object.assign({}, validate, {\n label: field.label,\n errMsg: util.compileErrMsg(validate.msg, field.label),\n })\n : null\n );\n }\n }\n );\n return () => {\n target && target.remove();\n };\n }, [emitter]);\n return currentError;\n};\n\nconst ErrorTip = ({\n name,\n groupName,\n overlayClassName,\n errorRender = () => {\n return null;\n },\n groupIndex,\n children,\n }) => {\n const currentError = useErrorMsg({name, groupName, groupIndex});\n const [isHover, setIsHover] = useState(false);\n const open = currentError && isHover;\n const errorContent =\n open &&\n errorRender(\n Object.assign({}, currentError, {closeHover: () => setIsHover(false)})\n );\n const popoverChildrenRef = useRef(null),\n popoverContentRef = useRef(null);\n\n const outerRef = useClickOutside(() => {\n setIsHover(false);\n });\n outerRef.current = {\n contains: (target) => {\n return (\n popoverChildrenRef.current.contains(target) ||\n (popoverContentRef.current &&\n popoverContentRef.current.contains(target))\n );\n },\n };\n const [width, setWidth] = useState(0);\n useLayoutEffect(() => {\n const callback = () => {\n const target = popoverChildrenRef.current.querySelector(\n \".react-form__field-component\"\n );\n target && setWidth(target.clientWidth);\n };\n callback();\n const resizeObserver = new ResizeObserver(callback);\n resizeObserver.observe(popoverChildrenRef.current);\n const mutationObserver = new MutationObserver(callback);\n mutationObserver.observe(popoverChildrenRef.current, {\n subtree: true,\n childList: true,\n });\n return () => {\n mutationObserver.disconnect();\n resizeObserver.disconnect();\n };\n }, []);\n return (\n <Popover\n open={!!errorContent}\n rootClassName={classnames(\n overlayClassName,\n style[\"error-tip-overlay\"]\n )}\n content={\n errorContent && (\n <div\n ref={popoverContentRef}\n style={{width}}\n className={classnames(style[\"error-tip-overlay-content\"])}\n >\n {errorContent}\n </div>\n )\n }\n placement=\"bottom\"\n transitionName={\"ant-slide-up\"}\n arrow={false}\n >\n <div\n className={classnames(\"error-tip\")}\n ref={popoverChildrenRef}\n onMouseEnter={() => {\n setIsHover(true);\n }}\n >\n {children}\n </div>\n </Popover>\n );\n};\n\nexport default ErrorTip;\n","import { createContext, useContext } from \"react\";\n\nconst context = createContext([]);\n\nexport const { Provider, Consumer } = context;\n\nexport const useFormLang = () => {\n return useContext(context);\n};\n\nexport default Provider;\n","import HelperGuide from \"@components/HelperGuide\";\nimport { createContext, useContext as useReactContext } from \"react\";\nimport { useGroup } from \"@kne/react-form-antd\";\nimport style from \"./style.module.scss\";\n\nconst context = createContext(\"\");\nexport const { Provider } = context;\n\nconst useContext = () => {\n return useReactContext(context);\n};\n\nconst HelperGuideLabel = ({ name }) => {\n const helperGuideName = useContext();\n const group = useGroup();\n return (\n helperGuideName && (\n <HelperGuide\n className={style[\"helper-guide-field\"]}\n name={\n helperGuideName + \"-\" + (group.name ? group.name + \"-\" : \"\") + name\n }\n />\n )\n );\n};\n\nexport default HelperGuideLabel;\n","// extracted by mini-css-extract-plugin\nexport default {\"form-outer\":\"style_form-outer__IWUs0__-0IeQ\",\"form-drawer\":\"style_form-drawer__uYDXS__-0IeQ\",\"table-list\":\"style_table-list__6lp-A__-0IeQ\",\"list-item\":\"style_list-item__hVzQa__-0IeQ\",\"table-list-inner\":\"style_table-list-inner__uc8DK__-0IeQ\",\"table-list-field\":\"style_table-list-field__JSJfB__-0IeQ\",\"table-list-header\":\"style_table-list-header__KXvKa__-0IeQ\",\"is-req\":\"style_is-req__LfXQf__-0IeQ\",\"table-list-extra\":\"style_table-list-extra__faYTK__-0IeQ\",\"list-btn\":\"style_list-btn__WKYkm__-0IeQ\",\"form-info\":\"style_form-info__B8bAP__-0IeQ\",\"list-part\":\"style_list-part__Ld0GA__-0IeQ\",\"is-important\":\"style_is-important__vaBk1__-0IeQ\",\"list-item-part\":\"style_list-item-part__MzKP7__-0IeQ\",\"money-input\":\"style_money-input__J86Pb__-0IeQ\",\"money-description\":\"style_money-description__Gz3p7__-0IeQ\",\"components-upload-wrapper\":\"style_components-upload-wrapper__Ir0gz__-0IeQ\",\"textarea-wrapped-component\":\"style_textarea-wrapped-component__r1oKc__-0IeQ\",\"helper-guide-field\":\"style_helper-guide-field__Wke3w__-0IeQ\",\"error-tip-overlay\":\"style_error-tip-overlay__aNCGc__-0IeQ\",\"error-tip-overlay-content\":\"style_error-tip-overlay-content__kDOoQ__-0IeQ\",\"column-not-layout\":\"style_column-not-layout__+SXC+__-0IeQ\",\"mult-field-item\":\"style_mult-field-item__eS0nJ__-0IeQ\",\"react-form__field-label\":\"style_react-form__field-label__2U91E__-0IeQ\",\"mult-field-add-btn\":\"style_mult-field-add-btn__5Baxz__-0IeQ\",\"form-step-section\":\"style_form-step-section__RvkHy__-0IeQ\"};","import Drawer, { useDrawer } from \"@components/Drawer\";\nimport FetchButton from \"@common/components/FetchButton\";\nimport style from \"./style.module.scss\";\nimport computedCommonProps from \"./computedModalCommonProps\";\n\nconst FormDrawer = (props) => {\n return (\n <Drawer\n {...computedCommonProps(\n Object.assign({}, props, { className: style[\"form-drawer\"] })\n )}\n />\n );\n};\n\nexport default FormDrawer;\n\nexport const useFormDrawer = () => {\n const drawer = useDrawer();\n return (props) =>\n drawer(\n computedCommonProps(\n Object.assign({}, props, { className: style[\"form-drawer\"] })\n )\n );\n};\n\nexport const FormDrawerButton = (props) => {\n const formDrawer = useFormDrawer();\n return <FetchButton {...props} modalFunc={formDrawer} />;\n};\n","import { preset } from \"@kne/react-enum\";\nimport transform from \"lodash/transform\";\n\nconst baseLoaders = [\n [\n \"gender\",\n () => [\n { value: \"M\", description: \"男\" },\n {\n value: \"F\",\n description: \"女\",\n },\n ],\n ],\n [\n \"marital\",\n () => [\n { description: \"已婚\", value: \"Y\" },\n {\n description: \"未婚\",\n value: \"N\",\n },\n ],\n ],\n [\n \"confirm\",\n () => [\n { description: \"是\", value: \"Y\" },\n {\n description: \"否\",\n value: \"N\",\n },\n ],\n ],\n [\n \"political\",\n () => [\n { description: \"中共党员\", value: \"中共党员\" },\n {\n description: \"共青团员\",\n value: \"共青团员\",\n },\n { description: \"群众\", value: \"群众\" },\n {\n description: \"其他党派\",\n value: \"其他党派\",\n },\n ],\n ],\n [\n \"phoneStateEnum\",\n () => [\n {\n value: 0,\n description: \"空号\",\n },\n {\n value: 1,\n description: \"实号\",\n },\n {\n value: 2,\n description: \"停机\",\n },\n {\n value: 3,\n description: \"库无\",\n },\n {\n value: 4,\n description: \"沉默号\",\n },\n {\n value: 5,\n description: \"风险号\",\n },\n ],\n ],\n [\n \"degreeEnum\",\n () => [\n {\n description: \"初中\",\n value: 10,\n },\n {\n description: \"中专\",\n value: 20,\n },\n {\n description: \"高中\",\n value: 30,\n },\n {\n description: \"大专\",\n value: 40,\n },\n {\n description: \"本科\",\n value: 50,\n },\n {\n description: \"硕士研究生\",\n value: 60,\n },\n {\n description: \"博士研究生\",\n value: 70,\n },\n {\n description: \"博士后\",\n value: 75,\n },\n {\n description: \"学历不限\",\n value: 999,\n },\n ],\n ],\n];\n\npreset({\n base: transform(\n baseLoaders,\n (result, value) => {\n result[value[0]] = value[1];\n },\n {}\n ),\n});\n\nexport { default } from \"@kne/react-enum\";\n","const importMessages = (locale) => {\n return {\n \"en-US\": () => import(\"./en-US\"),\n \"zh-CN\": () => import(\"./zh-CN\"),\n }[locale]();\n};\n\nexport default importMessages;\n","import TypeDateRangePickerField from \"@common/components/TypeDateRangePickerField\";\nimport { hooks } from \"@kne/react-form-antd\";\n\nconst { useOnChange } = hooks;\n\nconst TypeDateRangePicker = (props) => {\n const render = useOnChange(Object.assign({}, {}, props));\n return render(TypeDateRangePickerField);\n};\n\nTypeDateRangePicker.Field = TypeDateRangePickerField;\n\nexport default TypeDateRangePicker;\n","import {interceptors, preset, RULES} from \"@kne/react-form-antd\";\nimport dayjs from \"dayjs\";\nimport merge from \"lodash/merge\";\nimport get from \"lodash/get\";\nimport transform from 'lodash/transform';\nimport \"@kne/react-form-antd/dist/index.css\";\nimport {PHONE_NUMBER_INPUT} from \"./fields/PhoneNumber\";\nimport HelperGuideLabel from \"@components/FormInfo/HelperGuideLabel\";\nimport {loadModule} from \"@kne/remote-loader\";\n\nconst _olderREQ = RULES.REQ;\nconst _olderLEN = RULES.LEN;\n\nconst formPreset = async (options, otherOptions) => {\n const {locale} = Object.assign({}, otherOptions);\n\n interceptors.input.use(\"photo-string\", (value) => {\n if (value && typeof value === \"string\") {\n const [id, params] = value.split(\"?\");\n const searchParams = new URLSearchParams(params);\n return Object.assign({}, {id}, transform(Array.from(searchParams.entries()), (result, value) => {\n result[value[0]] = value[1];\n }, {}));\n }\n return value;\n });\n\n interceptors.output.use(\"photo-string\", (value) => {\n if (!value || typeof value === \"string\") {\n return value;\n }\n return `${value?.id}${value?.filename ? `?filename=${value?.filename}` : ''}`;\n });\n\n interceptors.input.use(\"photo-string-list\", (value) => {\n if (value && Array.isArray(value) && value.length > 0) {\n return value.map((item) => {\n const [id, params] = item.split(\"?\");\n const searchParams = new URLSearchParams(params);\n return Object.assign({}, {id}, transform(Array.from(searchParams.entries()), (result, value) => {\n result[value[0]] = value[1];\n }, {}));\n });\n }\n return value;\n });\n\n interceptors.output.use(\"photo-string-list\", (value) => {\n if (value && Array.isArray(value) && value.length > 0) {\n return value.map((item) => {\n return `${item?.id}${item?.filename ? `?filename=${item?.filename}` : ''}`;\n });\n }\n return value;\n });\n\n interceptors.input.use(\"to-array\", (value) => {\n return Array.isArray(value) ? value[0] : value;\n });\n\n interceptors.output.use(\"to-array\", (value) => {\n return [value];\n });\n\n interceptors.input.use(\"array-single\", (value) => {\n return value ? [value] : [];\n });\n\n interceptors.output.use(\"array-single\", (value) => {\n return value ? value[0] : null;\n });\n\n interceptors.input.use(\"boolean-number\", (value) => {\n return value === 1 || value === \"1\";\n });\n\n interceptors.output.use(\"boolean-number\", (value) => {\n return value ? 1 : 0;\n });\n\n interceptors.input.use(\"un-boolean\", (value) => {\n return !value;\n });\n\n interceptors.output.use(\"un-boolean\", (value) => {\n return !value;\n });\n\n interceptors.output.use(\"object-output-value\", (value) => {\n if (!value) {\n return value;\n }\n return value.value || value.id;\n });\n\n interceptors.output.use(\"array-output-value\", (value) => {\n if (!(Array.isArray(value) && value.length > 0)) {\n return [];\n }\n return value.map((value) => value.value || value.id);\n });\n\n interceptors.input.use(\"date-string\", (value) => {\n return value ? dayjs(value) : null;\n });\n\n interceptors.output.use(\"date-string\", (value) => {\n return value ? new Date(value.valueOf()).toISOString() : \"\";\n });\n\n interceptors.input.use(\"date-range-string\", (value) => {\n if (!Array.isArray(value)) {\n return [];\n }\n\n const output = [];\n\n if (value[0]) {\n output.push(dayjs(value[0]));\n }\n if (value[0] && value[1] && value[1] === \"sofar\") {\n output.push(\"至今\");\n }\n if (value[0] && value[1] && value[1] !== \"至今\") {\n output.push(dayjs(value[1]));\n }\n\n return output;\n });\n\n interceptors.output.use(\"date-range-string\", (value) => {\n if (!Array.isArray(value)) {\n return [];\n }\n\n const output = [];\n\n if (value[0]) {\n output.push(new Date(value[0].valueOf()).toISOString());\n }\n if (value[0] && value[1] && value[1] === \"至今\") {\n output.push(\"sofar\");\n }\n if (value[0] && value[1] && value[1] !== \"至今\") {\n output.push(new Date(value[1].valueOf()).toISOString());\n }\n return output;\n });\n\n interceptors.output.use(\"file-format\", (value) => {\n if (!Array.isArray(value)) {\n return [];\n }\n return value.map((item) => Object.assign({}, item, {\n id: item.id || item.ossId, originalName: item.filename,\n }));\n });\n\n interceptors.input.use(\"file-format\", (value) => {\n if (!Array.isArray(value)) {\n return [];\n }\n return value.map((item) => ({\n id: item.id || item.ossId, ossId: item.id || item.ossId, filename: item.originalName || item.filename,\n }));\n });\n\n const {default: loadCountyList} = await loadModule(\"components-iconfont:CountyFlag@load\");\n const countyList = await loadCountyList();\n\n const countyAbMap = new Map(countyList.map(({ab, country_code}) => [ab, country_code]));\n const countyCodeMap = new Map(countyList.map(({ab, country_code}) => [country_code, ab]));\n\n interceptors.output.use(\"phone-number-string\", (value) => {\n if (!(value?.code && value?.value)) {\n return \"\";\n }\n\n return `+${countyAbMap.get(value.code)} ${value.value.replace(/\\s+/g, \"\")}`;\n });\n\n interceptors.input.use(\"phone-number-string\", (value) => {\n if (!value) {\n return {};\n }\n const matcher = value.match(/^\\+(\\d+)\\s(.*)/);\n if (!(matcher && matcher.length >= 3)) {\n return {code: countyCodeMap.get(86), value};\n }\n return {code: countyCodeMap.get(Number(matcher[1])), value: matcher[2]};\n });\n\n const getLocaleMsg = (type, values) => {\n values = Object.assign({}, values);\n const mapping = {\n REQ: {\n \"zh-CN\": \"%s不能为空\", \"en-US\": \"%s cannot be empty \",\n }, EMAIL: {\n \"zh-CN\": \"请输入有效的%s\", \"en-US\": \"Please enter a valid %s\",\n }, LENGTH_EQUAL: {\n \"zh-CN\": `%s必须等于${values.end}`, \"en-US\": `%s must be equal to ${values.end}`,\n }, LENGTH_MORE: {\n \"zh-CN\": `%s必须大于${values.start}`, \"en-US\": `%s must be greater than ${values.start}`,\n }, LENGTH_LESS: {\n \"zh-CN\": `%s必须小于${values.end}`, \"en-US\": `%s must be less than ${values.end}`,\n },\n };\n const target = get(mapping, `${type}.${locale}`);\n if (target) {\n return target;\n }\n return get(mapping, `${type}.zh-CN`);\n };\n\n preset(merge({}, {\n type: \"inner\", rules: {\n REQ: (...args) => {\n return Object.assign({}, _olderREQ(...args), {\n errMsg: getLocaleMsg(\"REQ\"),\n });\n }, LEN: (...args) => {\n const [value, start, end] = args;\n let ruleName = \"\";\n if (end === start && value.length !== Number(end)) {\n ruleName = \"LENGTH_EQUAL\";\n }\n if (value.length < start) {\n ruleName = \"LENGTH_MORE\";\n }\n if (end && value.length > end) {\n ruleName = \"LENGTH_LESS\";\n }\n return Object.assign({}, _olderLEN(...args), {\n errMsg: getLocaleMsg(ruleName, {start, end}),\n });\n }, EMAIL: function (value) {\n return {\n result: /^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+$/.test(value),\n errMsg: getLocaleMsg('EMAIL')\n };\n }, PHONE_NUMBER_INPUT, ARRAY_LENGTH: (value, start, end) => {\n if (end === start && value.length !== Number(end)) {\n return {\n result: false, errMsg: getLocaleMsg(\"LENGTH_EQUAL\", {start, end}),\n };\n }\n if (value.length < start) {\n return {\n result: false, errMsg: getLocaleMsg(\"LENGTH_MORE\", {start, end}),\n };\n }\n if (end && value.length > end) {\n return {\n result: false, errMsg: getLocaleMsg(\"LENGTH_LESS\", {start, end}),\n };\n }\n return {result: true};\n },\n }, field: {\n datePicker: {\n defaultProps: {\n interceptor: \"date-string\",\n },\n }, rangeDatePicker: {\n defaultProps: {\n interceptor: \"date-range-string\",\n },\n }, inputNumber: {\n defaultProps: {\n changeOnWheel: false,\n },\n }, textArea: {\n defaultProps: {\n autoSize: {\n minRows: 2, maxRows: 6,\n },\n },\n },\n }, globalProps: {\n labelTips: (props) => {\n return <HelperGuideLabel {...props} />;\n },\n },\n }, typeof options === \"function\" ? options({interceptors, RULES}) : options));\n};\n\nexport default formPreset;\n","const importMessages = (locale) => {\n return {\n \"en-US\": () => import(\"./en-US\"),\n \"zh-CN\": () => import(\"./zh-CN\"),\n }[locale]();\n};\n\nexport default importMessages;\n","// extracted by mini-css-extract-plugin\nexport default {\"helper-guide\":\"style_helper-guide__K5xFw__-0IeQ\",\"inner\":\"style_inner__bMKeU__-0IeQ\",\"content\":\"style_content__xTfWZ__-0IeQ\",\"link\":\"style_link__93j7O__-0IeQ\"};","import importMessages from \"./locale\";\nimport { IntlProvider } from \"@components/Intl\";\nimport Icon from \"@components/Icon\";\nimport { Space, Typography } from \"antd\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\nimport Enum from \"@components/Enum\";\n\nconst HelperGuide = ({ name, className }) => {\n return (\n <IntlProvider importMessages={importMessages} moduleName=\"HelperGuide\">\n <Enum moduleName=\"helperGuide\" name={name}>\n {(data) => {\n return (\n data &&\n data.value && (\n <div className={classnames(style[\"helper-guide\"], className)}>\n <Space className={style[\"inner\"]}>\n <Icon colorful type=\"icon-color-bangzhuyindao\" />\n <span className={style[\"content\"]}>{data.content}</span>\n {data.url && (\n <Typography.Link\n className={style[\"link\"]}\n href={data.url}\n target=\"_blank\"\n >\n 查看帮助\n <Icon type=\"icon-shuangjiantou-right\" />\n </Typography.Link>\n )}\n </Space>\n </div>\n )\n );\n }}\n </Enum>\n </IntlProvider>\n );\n};\n\nexport default HelperGuide;\n","import {CancelButton, SubmitButton} from \"@kne/react-form-antd\";\nimport {FormattedMessage} from '@kne/react-intl';\nimport {Form} from \"./formModule\";\nimport classnames from \"classnames\";\nimport style from \"./style.module.scss\";\n\nconst computedCommonProps = ({\n className,\n withDecorator,\n footerButtons,\n formProps,\n cancelText,\n saveText,\n autoClose = true,\n ...modalProps\n }) => {\n return {\n ...modalProps, footerButtons: footerButtons || [{\n children: cancelText || <FormattedMessage id=\"Cancel\"/>, ButtonComponent: CancelButton,\n }, {\n type: \"primary\",\n children: saveText || <FormattedMessage id=\"Save\"/>,\n ButtonComponent: SubmitButton,\n autoClose: false,\n },], withDecorator: (render, args) => {\n const innerRender = (props) => {\n const {\n onSubmit, key, ..._formProps\n } = Object.assign({}, typeof formProps === \"function\" ? formProps(props) : formProps);\n\n return (<Form\n {..._formProps}\n onSubmit={async (data, ...args) => {\n const res = onSubmit && (await onSubmit(data, Object.assign({}, props), ...args));\n if (res !== false) {\n autoClose && props.close();\n }\n }}\n >\n {render(props)}\n </Form>);\n };\n return typeof withDecorator === \"function\" ? withDecorator(innerRender, args) : innerRender(args);\n }, className: classnames(className, style[\"form-outer\"]),\n };\n};\n\nexport default computedCommonProps;\n","import { IndustrySelectField } from \"@components/Common\";\nimport { hooks } from \"@kne/react-form-antd\";\n\nconst { useOnChange } = hooks;\n\nconst IndustrySelect = (props) => {\n const render = useOnChange(\n Object.assign({}, { placeholder: \"请选择\" + props.label }, props)\n );\n return render(IndustrySelectField);\n};\n\nIndustrySelect.Field = IndustrySelectField;\nIndustrySelect.Enum = IndustrySelectField.Enum;\n\nexport default IndustrySelect;\n","const message = {\n addText: \"添加\",\n addSomeThing: \"添加{label}\",\n delText: \"删除\",\n selectedTextAdvanced: \"已选\",\n delConfirm: \"确定要删除这条{name}吗?\",\n defaultInputPlaceholder: \"请输入{label}\",\n defaultSelectPlaceholder: \"请选择{label}\",\n startDate: \"开始日期\",\n endDate: \"结束日期\",\n soFarText: \"至今\",\n uploadButtonText: \"点击上传\",\n uploadTips: \"支持扩展名{extensionNames},单个文件大小不超过{fileSize}M,最多上传{maxLength}个附件\",\n yuan: \"元\",\n thousand: \"万元\",\n salaryType: \"薪资类型\",\n Cancel: \"取消\",\n Save: \"保存\",\n Next: \"下一步\",\n Complete: \"完成\",\n Crop: \"裁剪\",\n Preview: \"预览\",\n PictureFormat: \"图片格式:\",\n ImageSize: \"图片尺寸:\",\n ReUpload: \"重新上传\",\n UploadFailed: \"上传失败{msg}\",\n NotExceeding: \"不超过{size}M\",\n FileNotExceeding: \"文件{name}不能超过{size}MB!\",\n Rotate: \"旋转\",\n ImageFull: \"充满\",\n Size: \"大小\",\n};\n\nexport default message;\n","import { FunctionSelectField } from \"@components/Common\";\nimport { hooks } from \"@kne/react-form-antd\";\n\nconst { useOnChange } = hooks;\n\nconst FunctionSelect = (props) => {\n const render = useOnChange(\n Object.assign({}, { placeholder: \"请选择\" + props.label }, props)\n );\n return render(FunctionSelectField);\n};\n\nFunctionSelect.Field = FunctionSelectField;\nFunctionSelect.Enum = FunctionSelectField.Enum;\n\nexport default FunctionSelect;\n","import { hooks } from \"@kne/react-form-antd\";\nimport { CascaderField, createTreeUtils } from \"@components/Common\";\nconst { useOnChange } = hooks;\n\nconst Cascader = (props) => {\n const render = useOnChange(\n Object.assign({}, { placeholder: \"请选择\" + props.label }, props)\n );\n return render(CascaderField);\n};\n\nCascader.Field = CascaderField;\nCascader.createTreeUtils = createTreeUtils;\n\nexport { createTreeUtils };\nexport default Cascader;\n","import { hooks } from \"@kne/react-form-antd\";\nimport { Input, Typography } from \"antd\";\nimport useControlValue from \"@kne/use-control-value\";\n\nconst { useDecorator } = hooks;\n\nconst TextField = ({ children, ...props }) => {\n const [value] = useControlValue(props);\n return (\n <Typography.Text {...props}>\n <div style={{ height: 0, width: 0, overflow: \"hidden\" }}>\n <Input value={value} />\n </div>\n {children ? children : value}\n </Typography.Text>\n );\n};\n\nconst Text = (props) => {\n const render = useDecorator(props);\n return render(TextField);\n};\n\nText.Field = TextField;\n\nexport default Text;\n","import * as reactFormAntd from \"@kne/react-form-antd\";\nimport {\n DatePicker as ReactDatePicker,\n DatePickerToday as ReactDatePickerToday,\n Input as ReactInput,\n InputNumber as ReactInputNumber,\n Select as ReactSelect,\n TextArea as ReactTextArea,\n TimePicker as ReactTimePicker,\n TreeSelect as ReactTreeSelect,\n Rate,\n Switch,\n Slider,\n} from \"@kne/react-form-antd\";\nimport Form from \"./Form\";\nimport {useIntl} from '@kne/react-intl';\nimport {forwardRef} from \"react\";\nimport FormItem from \"./FormItem\";\nimport style from \"./style.module.scss\";\nimport AdvancedSelectField from \"./fields/AdvancedSelect\";\nimport SuperSelectField, {\n SuperSelectTableList as SuperSelectTableListField,\n SuperSelectUser as SuperSelectUserField,\n SuperSelectTree as SuperSelectTreeField\n} from \"./fields/SuperSelect\";\nimport AddressSelect, {\n AddressInput as AddressInputField,\n} from \"./fields/AddressSelect\";\nimport Cascader from \"./fields/Cascader\";\nimport FunctionSelect from \"./fields/FunctionSelect\";\nimport IndustrySelect from \"./fields/IndustrySelect\";\nimport MoneyInput from \"./fields/MoneyInput\";\nimport PhoneNumber from \"./fields/PhoneNumber\";\nimport Upload from \"./fields/Upload\";\nimport Avatar from \"./fields/Avatar\";\nimport SalaryInput from \"./fields/SalaryInput\";\nimport InputUpperCaseField from \"./fields/InputUpperCase\";\nimport TypeDateRangePicker from \"./fields/TypeDateRangePicker\";\nimport Text from \"./fields/Text\";\nimport ErrorTip from \"./ErrorTip\";\n\nconst withInputDefaultPlaceholder = (WrappedComponent) => {\n const TargetComponent = forwardRef(({placeholder, label, ...props}, ref) => {\n const {formatMessage} = useIntl();\n\n return <WrappedComponent\n {...props}\n ref={ref}\n label={label}\n placeholder={placeholder || formatMessage({id: 'defaultInputPlaceholder'}, {label})}\n />;\n });\n Object.keys(WrappedComponent)\n .filter((key) => {\n return [\"$$typeof\", \"render\", \"field\"].indexOf(key) === -1;\n })\n .forEach((key) => {\n TargetComponent[key] = WrappedComponent[key];\n });\n\n return TargetComponent;\n};\n\nconst withTextAreaDefaultPlaceholder = (WrappedComponent) => ({placeholder, label, className, ...props}) => {\n const {formatMessage} = useIntl();\n return <div className={style[\"textarea-wrapped-component\"]}>\n <WrappedComponent\n {...props}\n label={label}\n placeholder={placeholder || formatMessage({id: 'defaultInputPlaceholder'}, {label})}\n />\n </div>;\n};\n\nconst withSelectDefaultPlaceholder = (WrappedComponent) => {\n const TargetComponent = forwardRef(({placeholder, label, ...props}, ref) => {\n const {formatMessage} = useIntl();\n return <WrappedComponent\n {...props}\n ref={ref}\n label={label}\n placeholder={placeholder || formatMessage({id: 'defaultSelectPlaceholder'}, {label})}\n />;\n });\n\n Object.keys(WrappedComponent)\n .filter((key) => {\n return [\"$$typeof\", \"render\", \"field\"].indexOf(key) === -1;\n })\n .forEach((key) => {\n TargetComponent[key] = WrappedComponent[key];\n });\n\n return TargetComponent;\n};\n\nexport {default as ErrorTip} from \"./ErrorTip\";\n\nexport {default as FormItem} from \"./FormItem\";\n\n// export { default as AdvancedSelect } from \"./fields/AdvancedSelect\";\nexport const AdvancedSelect = withSelectDefaultPlaceholder(AdvancedSelectField);\nexport const SuperSelect = withSelectDefaultPlaceholder(SuperSelectField);\nexport const SuperSelectTableList = withSelectDefaultPlaceholder(SuperSelectTableListField);\nexport const SuperSelectUser = withSelectDefaultPlaceholder(SuperSelectUserField);\n\nexport const SuperSelectTree = withSelectDefaultPlaceholder(SuperSelectTreeField);\n\nexport {default as AddressSelect} from \"./fields/AddressSelect\";\nexport const AddressInput = withSelectDefaultPlaceholder(AddressInputField);\n\nexport {\n Cascader,\n FunctionSelect,\n IndustrySelect,\n MoneyInput,\n PhoneNumber,\n Upload,\n Avatar,\n SalaryInput,\n Text,\n Rate,\n Switch,\n Slider,\n TypeDateRangePicker,\n};\nexport const InputUpperCase = withInputDefaultPlaceholder(InputUpperCaseField);\nexport const Input = withInputDefaultPlaceholder(ReactInput);\nInput.Password = withInputDefaultPlaceholder(ReactInput.Password);\n\nexport const TextArea = withTextAreaDefaultPlaceholder(ReactTextArea);\n\nexport const Select = withSelectDefaultPlaceholder(ReactSelect);\n\nexport const InputNumber = withInputDefaultPlaceholder(ReactInputNumber);\n\nexport const TreeSelect = withSelectDefaultPlaceholder(ReactTreeSelect);\n\nexport const TimePicker = withSelectDefaultPlaceholder(ReactTimePicker);\n\nTimePicker.RangePicker = withSelectDefaultPlaceholder(ReactTimePicker.RangePicker);\n\nexport const DatePicker = withSelectDefaultPlaceholder(ReactDatePicker);\n\nDatePicker.MonthPicker = withSelectDefaultPlaceholder(ReactDatePicker.MonthPicker);\n\nDatePicker.RangePicker = withSelectDefaultPlaceholder(ReactDatePicker.RangePicker);\n\nDatePicker.WeekPicker = withSelectDefaultPlaceholder(ReactDatePicker.WeekPicker);\n\nexport const DatePickerToday = ({\n placeholder, label, soFarText, ...props\n }) => {\n const {formatMessage} = useIntl({moduleName: \"FormInfo\"});\n return (<ReactDatePickerToday\n {...props}\n label={label}\n placeholder={[formatMessage({id: \"startDate\"}), formatMessage({id: \"endDate\"}),]}\n soFarText={soFarText || formatMessage({id: \"soFarText\"})}\n />);\n};\n\nexport {Form};\n\nexport const formModule = Object.assign({}, reactFormAntd, {\n Input,\n InputUpperCase,\n TextArea,\n Select,\n InputNumber,\n TreeSelect,\n TimePicker,\n DatePicker,\n DatePickerToday,\n Form,\n FormItem,\n AdvancedSelect,\n SuperSelect,\n SuperSelectTableList,\n SuperSelectUser,\n SuperSelectTree,\n AddressSelect,\n AddressInput,\n MoneyInput,\n PhoneNumber,\n Cascader,\n FunctionSelect,\n IndustrySelect,\n TypeDateRangePicker,\n Upload,\n Avatar,\n SalaryInput,\n Text,\n Rate,\n Switch,\n Slider,\n ErrorTip,\n});\n","// extracted by mini-css-extract-plugin\nexport default {\"upload\":\"style_upload__t422Q__-0IeQ\",\"upload-list\":\"style_upload-list__Q9HDc__-0IeQ\",\"upload-input\":\"style_upload-input__vXk4w__-0IeQ\",\"tips\":\"style_tips__3Gpnu__-0IeQ\"};","import {Space, Flex} from \"antd\";\nimport classnames from \"classnames\";\nimport useControlValue from \"@kne/use-control-value\";\nimport style from \"./style.module.scss\";\nimport {List as FileList} from \"@components/File\";\nimport {hooks} from \"@kne/react-form-antd\";\nimport {createWithIntl, useIntl} from '@components/Intl';\nimport omit from \"lodash/omit\";\nimport {InputFileButton, useFileUpload} from \"@common/hocs/withInputFile\";\nimport importMessages from \"@components/FormInfo/locale\";\n\nconst {useOnChange} = hooks;\n\nconst UploadField = createWithIntl({\n importMessages, moduleName: 'FormInfo'\n})((p) => {\n const {formatMessage} = useIntl({moduleName: \"FormInfo\"});\n const {\n className,\n fileSize,\n maxLength,\n multiple,\n size,\n accept,\n children,\n renderTips,\n showUploadList,\n onSave,\n ossUpload,\n onUpload,\n getPermission,\n concurrentCount,\n ...props\n } = Object.assign({}, {\n defaultValue: [],\n children: formatMessage({id: 'uploadButtonText'}),\n accept: [\n \".pdf\",\n \".jpg\",\n \".png\",\n \".jpeg\",\n \".doc\",\n \".docx\",\n \".xls\",\n \".xlsx\",\n \".html\",\n \".msg\",\n \".eml\",\n \".zip\",\n ],\n renderTips: (defaultTips) => {\n return defaultTips;\n },\n multiple: true,\n showUploadList: true,\n maxLength: 10,\n fileSize: 30,\n concurrentCount: 10\n }, p);\n const [propsValue, onChange] = useControlValue(props);\n const value = propsValue || [];\n const {fileList: uploadingList, onFileSelected} = useFileUpload({\n multiple,\n onSave,\n onUpload: ossUpload || onUpload,\n fileSize,\n maxLength,\n value,\n onChange,\n concurrentCount,\n });\n const previewFileList = [...uploadingList, ...value];\n const tipsText = renderTips(formatMessage({id: 'uploadTips'}, {\n extensionNames: accept\n .map((str) => str.replace(/^\\./, \"\"))\n .join(\",\"), maxLength, fileSize\n }),\n {\n fileSize,\n maxLength,\n accept,\n }\n );\n\n return (\n <Space direction=\"vertical\">\n <Flex align=\"start\" gap={8} vertical>\n <InputFileButton\n {...omit(props, [\"value\", \"onChange\"])}\n size={size}\n multiple={multiple}\n accept={accept}\n className={classnames(style[\"upload\"], className)}\n onChange={onFileSelected}\n >\n {children}\n </InputFileButton>\n {tipsText && <div className={style[\"tips\"]}>{tipsText}</div>}\n </Flex>\n {showUploadList && previewFileList.length > 0 && (\n <FileList\n className={style[\"upload-list\"]}\n dataSource={previewFileList}\n infoItemRenders={[]}\n getPermission={\n getPermission\n ? getPermission\n : (type) => {\n return type === \"delete\";\n }\n }\n apis={{\n onDelete: (target) => {\n const newList = value.slice(0);\n const index = newList.indexOf(target);\n index > -1 && newList.splice(index, 1);\n onChange(newList);\n },\n }}\n />\n )}\n </Space>\n );\n});\n\nconst Upload = ({interceptor = \"file-format\", ...props}) => {\n const render = useOnChange({interceptor, ...props});\n return render(UploadField);\n};\n\nUpload.Field = UploadField;\n\nexport default Upload;\n","// extracted by mini-css-extract-plugin\nexport default {\"money-input\":\"style_money-input__Pyur7__-0IeQ\",\"money-description\":\"style_money-description__9pFk4__-0IeQ\"};","import useControlValue from \"@kne/use-control-value\";\nimport { hooks, util, formUtils } from \"@kne/react-form-antd\";\nimport { InputNumber } from \"antd\";\nimport changeMoneyToChinese, {\n MAX_NUM,\n} from \"@common/utils/changeMoneyToChinese\";\nimport style from \"./style.module.scss\";\nimport classnames from \"classnames\";\nimport merge from \"lodash/merge\";\nimport { useState } from \"react\";\n\nconst { isNotEmpty } = util || formUtils;\nconst { useOnChange } = hooks;\nconst MoneyInputField = ({\n chineseEmpty,\n className,\n showError,\n errorDesc,\n transformMoneyToChinese,\n onBlur,\n moneyFormat,\n ...props\n}) => {\n const [status, setStatus] = useState(\"\");\n const [value, onChange] = useControlValue(props);\n const inputNumberProps = merge(\n {\n controls: false,\n precision: 2,\n addonAfter: \"元\",\n },\n props,\n {\n max: isNotEmpty(props.max)\n ? props.max > MAX_NUM\n ? MAX_NUM\n : props.max\n : MAX_NUM,\n }\n );\n return (\n <div className={classnames(className, \"money-input\", style[\"money-input\"])}>\n <InputNumber\n {...inputNumberProps}\n status={status}\n formatter={\n moneyFormat\n ? (value) => {\n return `${value}`.replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n }\n : null\n }\n parser={(parserValue) => {\n const value = moneyFormat\n ? parserValue?.replace(/\\$\\s?|(,*)/g, \"\")\n : parserValue;\n if (isNotEmpty(value)) {\n if (\n Number(value) > Number(inputNumberProps.max) ||\n (isNotEmpty(inputNumberProps.min) &&\n Number(value) < Number(inputNumberProps.min))\n ) {\n setStatus(\"error\");\n }\n } else {\n setStatus(\"\");\n }\n return isNotEmpty(value) ? Number(value) : null;\n }}\n onChange={(val) => {\n onChange(val);\n }}\n onBlur={(e) => {\n onBlur && onBlur(e, setStatus);\n }}\n />\n <div className={classnames(style[\"money-description\"])}>\n {status === \"error\" && showError\n ? errorDesc\n : isNotEmpty(value)\n ? changeMoneyToChinese(\n transformMoneyToChinese ? transformMoneyToChinese(value) : value\n )\n : chineseEmpty}\n </div>\n </div>\n );\n};\n\nconst MoneyInput = (props) => {\n const render = useOnChange(\n Object.assign({ placeholder: `请输入${props.label || \"\"}` }, props)\n );\n return render(MoneyInputField);\n};\n\nMoneyInput.Field = MoneyInputField;\nMoneyInput.toChineseCharacter = changeMoneyToChinese;\n\nexport default MoneyInput;\n","import Modal, {useModal} from \"@components/Modal\";\nimport {useState, useRef} from \"react\";\nimport {CancelButton, SubmitButton} from \"@kne/react-form-antd\";\nimport FetchButton from \"@common/components/FetchButton\";\nimport {IntlProvider, FormattedMessage} from \"@components/Intl\";\nimport style from \"./style.module.scss\";\nimport importMessages from \"./locale\";\nimport {Button, Steps, Flex} from \"antd\";\nimport computedModalCommonProps from \"./computedModalCommonProps\";\n\nconst localeModuleName = \"FormInfo\";\n\nconst FormStepState = ({items, children}) => {\n const [currentIndex, setCurrentIndex] = useState(0);\n const stepCacheRef = useRef({});\n return children({\n currentIndex,\n setCurrentIndex,\n stepCacheRef,\n isLastStep: currentIndex === items.length - 1,\n currentProps: Object.assign({}, items[currentIndex]),\n });\n};\n\nconst computedCommonProps = ({\n footerButtons,\n cancelText,\n completeText,\n nextText,\n items,\n withDecorator,\n autoClose = true,\n ...others\n }) => {\n return computedModalCommonProps(Object.assign({}, others, {\n footerButtons: ({currentIndex, isLastStep}) => {\n const {footerButtons} = Object.assign({}, items[currentIndex]);\n return (footerButtons || [{\n children: (<IntlProvider\n importMessages={importMessages}\n moduleName={localeModuleName}\n >\n {cancelText || (<FormattedMessage\n id={\"Cancel\"}\n moduleName={localeModuleName}\n />)}\n </IntlProvider>), ButtonComponent: CancelButton,\n }, {\n type: \"primary\", children: (<IntlProvider\n importMessages={importMessages}\n moduleName={localeModuleName}\n >\n {isLastStep ? completeText || (<FormattedMessage\n id={\"Complete\"}\n moduleName={localeModuleName}\n />) : nextText || (<FormattedMessage\n id={\"Next\"}\n moduleName={localeModuleName}\n />)}\n </IntlProvider>), ButtonComponent: SubmitButton, autoClose: false,\n },]);\n },\n withDecorator: (render, args) => {\n const innerRender = (props) => {\n return (<FormStepState items={items}>\n {({\n currentIndex, isLastStep, setCurrentIndex, currentProps, stepCacheRef,\n }) => {\n const {formProps, title, ...otherProps} = currentProps;\n const {\n onSubmit, ..._formProps\n } = typeof formProps === \"function\" ? formProps(props) : formProps;\n\n const formData = Object.assign({}, _formProps.data, stepCacheRef.current[currentIndex]?.data);\n\n return render(Object.assign({}, props, otherProps, {\n currentIndex, isLastStep, setCurrentIndex, stepCacheRef, stepSection: (<Steps\n className={style[\"form-step-section\"]}\n current={currentIndex}\n items={items.map(({title}) => ({title}))}\n />), formProps: Object.assign({}, _formProps, {\n key: currentIndex, data: formData, onSubmit: async (data, ...args) => {\n stepCacheRef.current[currentIndex] = {data};\n const res = onSubmit && (await onSubmit(data, Object.assign({}, props, {\n currentIndex, isLastStep, setCurrentIndex, currentProps, stepCacheRef,\n }), ...args));\n stepCacheRef.current[currentIndex] = Object.assign({}, stepCacheRef.current[currentIndex], {\n output: res\n });\n if (autoClose && !isLastStep && res !== false) {\n setCurrentIndex((currentIndex) => currentIndex + 1);\n }\n if (!isLastStep) {\n return false;\n }\n return res;\n },\n }),\n }));\n }}\n </FormStepState>);\n };\n return typeof withDecorator === \"function\" ? withDecorator(innerRender, args) : innerRender(args);\n },\n formProps: ({formProps, ...others}) => Object.assign({}, others, formProps),\n children: ({children, stepSection, ...props}) => {\n return (<Flex vertical gap={24}>\n <Flex justify=\"center\">{stepSection}</Flex>\n {typeof children === \"function\" ? children(props) : children}\n </Flex>);\n },\n }));\n};\n\nconst FormStepModal = (props) => {\n return (<Modal\n {...computedCommonProps(Object.assign({}, props, {className: style[\"form-modal\"]}))}\n />);\n};\n\nexport default FormStepModal;\n\nexport const useFormStepModal = () => {\n const modal = useModal();\n return (props) => modal(computedCommonProps(Object.assign({}, props, {className: style[\"form-modal\"]})));\n};\n\nexport const FormStepModalButton = (props) => {\n const formModal = useFormStepModal();\n if (!props.api) {\n const {modalProps, ...others} = props;\n return (<Button\n {...others}\n onClick={() => {\n formModal(modalProps);\n }}\n />);\n }\n return <FetchButton {...props} modalFunc={formModal}/>;\n};\n","import preset from \"./preset\";\nimport fields, {fieldDecorator} from \"./fields\";\nimport {List, TableList, default as FormInfo} from \"@kne/form-info\";\nimport FormApiButton from \"./FormApiButton\";\nimport FormModal, {useFormModal, FormModalButton} from \"./FormModal\";\nimport FormStepModal, {\n useFormStepModal,\n FormStepModalButton,\n} from \"./FormStepModal\";\nimport FormDrawer, {useFormDrawer, FormDrawerButton} from \"./FormDrawer\";\nimport Form from \"./Form\";\nimport FormItem from \"./FormItem\";\nimport ErrorTip from \"./ErrorTip\";\nimport {MultiField} from \"@kne/form-info\";\nimport {\n SubmitButton,\n CancelButton,\n useFormContext,\n hooks,\n widget,\n utils,\n formUtils,\n} from \"@kne/react-form-antd\";\n\npreset();\n\nFormInfo.fields = fields;\nFormInfo.List = List;\nFormInfo.TableList = TableList;\nFormInfo.FormApiButton = FormApiButton;\nFormInfo.FormModal = FormModal;\nFormInfo.useFormModal = useFormModal;\nFormInfo.FormModalButton = FormModalButton;\nFormInfo.FormStepModal = FormStepModal;\nFormInfo.useFormStepModal = useFormStepModal;\nFormInfo.FormStepModalButton = FormStepModalButton;\nFormInfo.FormDrawer = FormDrawer;\nFormInfo.useFormDrawer = useFormDrawer;\nFormInfo.FormDrawerButton = FormDrawerButton;\nFormInfo.Form = Form;\nFormInfo.FormItem = FormItem;\nFormInfo.ErrorTip = ErrorTip;\nFormInfo.SubmitButton = SubmitButton;\nFormInfo.CancelButton = CancelButton;\nFormInfo.fieldDecorator = fieldDecorator;\nFormInfo.MultiField = MultiField;\nFormInfo.useFormContext = useFormContext;\nFormInfo.hooks = hooks;\nFormInfo.widget = widget;\nFormInfo.utils = utils;\nFormInfo.formUtils = formUtils;\n\nexport * from \"@kne/react-form-antd\";\n\nexport * from \"./formModule\";\n\nexport {\n Form,\n FormItem,\n ErrorTip,\n fields,\n fieldDecorator,\n List,\n TableList,\n FormApiButton,\n FormModal,\n useFormModal,\n FormModalButton,\n FormStepModal,\n useFormStepModal,\n FormStepModalButton,\n FormDrawer,\n useFormDrawer,\n FormDrawerButton,\n MultiField,\n};\n\nexport {default as SelectInnerInput} from \"./SelectInnerInput\";\n\nexport default FormInfo;\n","// extracted by mini-css-extract-plugin\nexport default {\"upload-btn\":\"style_upload-btn__-6XtP__-0IeQ\",\"square\":\"style_square__UPkfA__-0IeQ\",\"is-loading\":\"style_is-loading__wx6Pd__-0IeQ\",\"upload-btn-tips\":\"style_upload-btn-tips__YtxWz__-0IeQ\",\"drop-tips\":\"style_drop-tips__N-v59__-0IeQ\",\"preview-area\":\"style_preview-area__aV3SN__-0IeQ\"};","import {forwardRef, useLayoutEffect, useRef, useState} from \"react\";\nimport withInputFile, {InputFileLink} from \"@common/hocs/withInputFile\";\nimport Image from \"@components/Image\";\nimport {usePreset} from \"@components/Global\";\nimport {useModal} from \"@components/Modal\";\nimport Icon from \"@components/Icon\";\nimport {\n Avatar as AntdAvatar, Col, message, Row, Slider, Space, Spin, Tooltip,\n} from \"antd\";\nimport AvatarEditor from \"react-avatar-editor\";\nimport get from \"lodash/get\";\nimport classnames from \"classnames\";\nimport {useDebouncedCallback} from \"use-debounce\";\nimport {hooks} from \"@kne/react-form-antd\";\nimport merge from \"lodash/merge\";\nimport style from \"./style.module.scss\";\nimport defaultAvatarIcon from \"../../../../defaultAvatar.svg\";\nimport {IntlProvider, FormattedMessage, useIntl} from \"@components/Intl\";\nimport importMessages from \"@components/FormInfo/locale\";\nimport {createWithIntl} from \"../../../Intl\";\n\nconst {useOnChange} = hooks;\n\nconst AvatarDisplay = Image.Avatar;\n\nconst localeModuleName = \"FormInfo\";\n\nconst UploadButton = withInputFile(({\n className,\n icon,\n loading,\n value,\n gender,\n width,\n height,\n children,\n shape,\n defaultAvatar,\n displayAvatar,\n apis,\n }) => {\n const inner = (<>\n <AvatarDisplay\n {...Object.assign({}, typeof displayAvatar === 'function' ? displayAvatar(value) : {id: get(value, \"id\")})}\n gender={gender}\n width={(64 * width) / height}\n height={64}\n shape={shape}\n defaultAvatar={defaultAvatar}\n apis={apis}\n />\n <div className={style[\"upload-btn-tips\"]}>\n {icon || <Icon type=\"icon-chuanzhaopian\" size={16}/>}\n </div>\n {children}\n </>);\n return (<div\n className={classnames(className, style[\"upload-btn\"], {\n [style[\"is-loading\"]]: loading, [style[\"square\"]]: shape === \"square\" || !(width && width === height),\n })}\n style={{width: (64 * width) / height}}\n >\n {loading ? <Spin>{inner}</Spin> : inner}\n </div>);\n});\n\nconst dataURLtoBlob = (dataURL) => {\n let arr = dataURL.split(\",\");\n // 注意base64的最后面中括号和引号是不转译的\n let _arr = arr[1].substring(0, arr[1].length - 2);\n let mime = arr[0].match(/:(.*?);/)[1], bstr = atob(_arr), n = bstr.length, u8arr = new Uint8Array(n);\n while (n--) {\n u8arr[n] = bstr.charCodeAt(n);\n }\n return new Blob([u8arr], {\n type: mime,\n });\n};\n\nconst ControlAvatarEditor = forwardRef(({\n image: propsImage,\n width,\n height,\n borderRadius,\n preview,\n fileSize,\n accept,\n renderTips,\n getApi,\n shape,\n border = 1,\n ...props\n }, ref) => {\n const intl = useIntl({moduleName: localeModuleName});\n const [baseWidth, setBaseWidth] = useState(0);\n const outerRef = useRef(null);\n const [image, setImage] = useState(propsImage);\n const [scale, setScale] = useState(1);\n const [rotate, setRotate] = useState(0);\n const [previewImg, setPreviewImg] = useState(\"\");\n const editorRef = useRef(null);\n\n useLayoutEffect(() => {\n setBaseWidth((outerRef.current.clientWidth * 2) / 3);\n }, []);\n getApi({\n getImage: () => {\n const canvas = editorRef.current.getImage();\n\n const targetCanvas = document.createElement(\"canvas\");\n const targetCtx = targetCanvas.getContext(\"2d\");\n targetCanvas.width = width;\n targetCanvas.height = height;\n\n targetCtx.drawImage(canvas, 0, 0, targetCanvas.width, targetCanvas.height);\n\n return new window.File([dataURLtoBlob(targetCanvas.toDataURL())], image.name, {type: image.type});\n },\n });\n const makePreviewInner = () => {\n setPreviewImg(editorRef.current.getImage().toDataURL());\n };\n const makePreview = useDebouncedCallback(makePreviewInner, 500);\n\n return (<div ref={outerRef}>\n <Row wrap={false} align=\"middle\">\n <Col span={preview ? 16 : 24}>\n {baseWidth && (<Space direction=\"vertical\">\n <AvatarEditor\n {...props}\n ref={editorRef}\n image={image}\n scale={scale}\n rotate={rotate}\n width={baseWidth - border * 2}\n height={(height * baseWidth) / width - (border * 2 * height) / width}\n border={border}\n color={[0, 0, 0, 0.6]}\n borderRadius={(borderRadius * baseWidth) / width}\n onImageReady={makePreviewInner}\n onImageChange={makePreview}\n />\n <div className={style[\"drop-tips\"]}>\n {renderTips(`${intl.formatMessage({id: \"PictureFormat\"})}${accept\n .map((str) => str.replace(/^\\./, \"\"))\n .join(\" \")} ${intl.formatMessage({\n id: \"ImageSize\",\n })}${intl.formatMessage({id: \"NotExceeding\"}, {size: fileSize})}`, {\n accept, fileSize,\n })}\n </div>\n <Row gutter={14} align=\"middle\">\n <Col>\n <Tooltip\n title={intl.formatMessage({id: \"Rotate\"})}\n placement=\"bottom\"\n >\n <Icon\n type=\"icon-xuanzhuan\"\n onClick={() => {\n setRotate((rotate) => {\n return (rotate - 90) % 360;\n });\n }}\n />\n </Tooltip>\n </Col>\n <Col>\n <Tooltip\n title={intl.formatMessage({id: \"ImageFull\"})}\n placement=\"bottom\"\n >\n <Icon\n type=\"icon-chongman\"\n onClick={() => {\n setScale(1);\n }}\n />\n </Tooltip>\n </Col>\n <Col flex={1}>\n <Slider\n tooltip={{\n placement: \"bottom\", formatter: () => intl.formatMessage({id: \"Size\"}),\n }}\n value={scale}\n step={0.05}\n min={0.2}\n max={3}\n onChange={setScale}\n />\n </Col>\n <Col>\n <InputFileLink\n accept={accept}\n onChange={(fileList) => {\n if (fileList[0].size > fileSize * 1024 * 1024) {\n message.error(intl.formatMessage({id: \"FileNotExceeding\"}, {\n name: fileList[0].name, size: fileSize\n }));\n return;\n }\n setRotate(0);\n setScale(1);\n setImage(fileList[0]);\n }}\n >\n {intl.formatMessage({id: 'ReUpload'})}\n </InputFileLink>\n </Col>\n </Row>\n </Space>)}\n </Col>\n {preview && (<Col span={8}>\n <div className={style[\"preview-area\"]}>\n <Space direction=\"vertical\">\n <AntdAvatar\n src={previewImg}\n // alt=\"预览\"\n shape={shape}\n style={{\n width: baseWidth / 2 - 36, height: ((baseWidth / 2 - 36) * height) / width,\n }}\n />\n <div\n style={{\n textAlign: \"center\",\n }}\n >\n {intl.formatMessage({id: 'Preview'})}\n </div>\n </Space>\n </div>\n </Col>)}\n </Row>\n </div>);\n});\n\nconst useDropModal = () => {\n const modal = useModal();\n return (props) => {\n const {\n image,\n width,\n height,\n borderRadius,\n getApi,\n preview,\n fileSize,\n accept,\n renderTips,\n border,\n dropModalSize,\n ...others\n } = Object.assign({}, {\n title: \"编辑头像\",\n width: 200,\n height: 200,\n borderRadius: props.shape === \"circle\" && props.width && props.width === props.height ? props.width / 2 : 2,\n preview: true,\n }, props);\n return modal({\n ...others, size: dropModalSize, children: (<ControlAvatarEditor\n preview={preview}\n fileSize={fileSize}\n accept={accept}\n getApi={getApi}\n renderTips={renderTips}\n width={width}\n height={height}\n shape={props.shape === \"circle\" && props.width && props.width === props.height ? \"circle\" : \"square\"}\n borderRadius={borderRadius}\n image={image}\n border={border}\n scale={1}\n rotate={0}\n />),\n });\n };\n};\n\nconst AvatarField = createWithIntl({importMessages, moduleName: \"FormInfo\"})(({\n value,\n gender,\n fileSize = 2,\n accept = [\".jpg\", \".png\", \".jpeg\"],\n openEditor = true,\n apis: currentApis,\n renderTips = (defaultTips) => {\n return defaultTips;\n },\n onChange,\n shape = \"circle\",\n width = 200,\n height = 200,\n title = <IntlProvider\n importMessages={importMessages}\n moduleName=\"FormInfo\">\n <FormattedMessage id={\"Crop\"}\n moduleName=\"FormInfo\"/>\n </IntlProvider>,\n border = 1,\n icon,\n dropModalSize = \"small\",\n defaultAvatar = defaultAvatarIcon,\n displayAvatar,\n }) => {\n const [loading, setLoading] = useState(false);\n const {apis: baseApis} = usePreset();\n const apis = merge({}, baseApis, currentApis);\n const ossUpload = apis.ossUpload || apis.upload || apis.file?.upload;\n const dropRef = useRef(null);\n const dropModal = useDropModal();\n const intl = useIntl({moduleName: localeModuleName});\n return (<UploadButton\n value={value}\n gender={gender}\n accept={accept}\n width={width}\n height={height}\n shape={shape}\n icon={icon}\n loading={loading}\n defaultAvatar={defaultAvatar}\n displayAvatar={displayAvatar}\n apis={apis}\n onChange={(fileList) => {\n if (fileList[0].size > fileSize * 1024 * 1024) {\n message.error(intl.formatMessage({id: \"FileNotExceeding\"}, {\n name: fileList[0].name, size: fileSize\n }));\n return;\n }\n const doUpload = (file) => {\n setLoading(true);\n return ossUpload({file})\n .then(({data}) => {\n if (data.code !== 0) {\n message.error(intl.formatMessage({id: \"UploadFailed\"}, {msg: data.msg ? \":\" + data.msg : \"\"}));\n return;\n }\n onChange(data.data);\n })\n .finally(() => {\n setLoading(false);\n });\n };\n if (openEditor) {\n dropModal({\n image: fileList[0],\n width,\n height,\n title,\n shape,\n border,\n dropModalSize,\n getApi: (api) => (dropRef.current = api),\n fileSize,\n accept,\n renderTips,\n onConfirm: () => {\n doUpload(dropRef.current.getImage());\n },\n });\n return;\n }\n doUpload(fileList[0]);\n }}\n />);\n});\n\nconst Avatar = (props) => {\n const render = useOnChange(props);\n return render(AvatarField);\n};\n\nAvatar.Field = AvatarField;\nAvatar.useDropModal = useDropModal;\n\nexport default Avatar;\n","var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n"],"names":["createWithIntlProvider","defaultLocale","messages","zhCN","enUS","namespace","SetPreset","_ref","children","isPreset","setIsPreset","useState","preset","usePreset","locale","useGlobalContext","formInfo","get","useEffect","Promise","resolve","formPreset","then","withLocale","forwardRef","_ref2","ref","helperGuideName","lang","props","_objectWithoutProperties","_excluded","_jsx","FormLangProvider","value","HelperGuideProvider","ReactForm","_objectSpread","useOnChange","useDecorator","hooks","AddressSelect","Object","assign","placeholder","label","render","AddressSelectField","Field","AddressEnum","createAddressApi","withAddressApi","AddressInput","inputPlaceholder","AddressInputField","Modal","computedCommonProps","className","style","useFormModal","modal","useModal","FormModalButton","classNames","formModal","api","modalProps","others","_excluded2","Button","onClick","FetchButton","modalFunc","InputUpperCaseField","_objectDestructuringEmpty","onChange","useControlValue","Input","e","target","toUpperCase","InputUpperCase","createWithRemoteLoader","modules","remoteModules","formModule","concat","field","ColorPickerField","ColorPickerFieldAntd","toHexString","ColorPicker","useCheckedToValue","withChecked","hoc","WithSwitch","checked","_jsxs","Space","AntdSwitch","Switch","fieldName","checkedProps","createWithFieldDecorator","decoratorList","WrappedComponent","TargetComponent","compose","forwardedRef","labelRender","tips","Tooltip","content","classnames","labelHidden","Icon","type","ForwardComponent","keys","filter","key","indexOf","forEach","withInputDefaultPlaceholder","formatMessage","useIntl","id","withSelectDefaultPlaceholder","_ref3","_excluded3","withLang","group","useGroup","groupName","groupIndex","_get","useFormLang","Array","isArray","length","map","item","_createElement","name","options","ignoreList","disabledList","fields","getCurrentField","hasOwnProperty","find","newProps","langName","langLabel","disabled","rule","ReactInput","InputNumber","ReactInputNumber","Password","DatePicker","ReactDatePicker","MonthPicker","RangePicker","WeekPicker","TimePicker","ReactTimePicker","DatePickerToday","_ref4","soFarText","_excluded4","moduleName","ReactDatePickerToday","Checkbox","DateRangePicker","TimeRangePicker","RadioGroup","CheckboxGroup","Rate","Slider","SalaryInput","TypeDateRangePicker","MoneyInput","PhoneNumber","Upload","Avatar","FunctionSelect","IndustrySelect","Cascader","TreeSelect","ReactTreeSelect","Select","ReactSelect","TextArea","ReactTextArea","AdvancedSelect","AdvancedSelectField","SuperSelect","SuperSelectField","SuperSelectTableList","SuperSelectTableListField","SuperSelectUser","SuperSelectUserField","SuperSelectTree","fieldDecorator","context","useContext","Provider","Consumer","createContext","createValueWithMaxLength","maxLength","single","setValue","message","newValue","Number","isInteger","renderDisplayLabel","mapping","onClose","mappingItem","Tag","closable","preventDefault","ModalContent","propsValue","extra","showSelectedTag","renderSelectedContent","propsValueRef","useRef","current","modalOpen","setModalOpen","App","useApp","setValueWithMaxLength","error","useImperativeHandle","close","open","onConfirm","footer","direction","PopupContent","placement","inputContent","overlayWidth","wrapClassName","setOpen","Popover","onOpenChange","overlayClassName","arrow","stopPropagation","trigger","DisplayLabel","withFetch","_ref5","setFetchApi","fetchApi","hover","setHover","modalRef","popupRef","selectInnerContext","valueState","getPopupContainer","isPopup","inputContentRender","fetchApiRef","data","isComplete","inner","slice","index","splice","_ref6","align","wrap","SimpleBar","onMouseOver","onMouseOut","size","modalSize","disabledScroller","title","SelectInnerInput","_ref7","displayItems","searchText","setSearchText","setMapping","Map","appendMapping","items","newItems","newMapping","clone","set","transformValue","setValueInType","isNil","valueType","getValueInType","last","defaultValue","setItems","setData","dataFormat","loading","onRequestSuccess","defaultProps","loader","list","Download","useDownload","downloadBlobFile","useEdit","apis","onEditModalShow","modalApi","formProps","dropRight","filename","split","join","onSubmit","async","onEdit","formData","FormInfo","column","OptionButtons","_props$apis","handlerEdit","FileListOptionButtons","onDelete","renderModal","onCancel","p","FileList","FileButton","FileButtonBase","FileLink","_Object$assign","originName","useFileModal","useFileModalProps","useRefCallback","addText","addSomeThing","delText","selectedTextAdvanced","delConfirm","defaultInputPlaceholder","defaultSelectPlaceholder","startDate","endDate","uploadButtonText","uploadTips","yuan","thousand","salaryType","Cancel","Save","Next","Complete","Crop","Preview","PictureFormat","ImageSize","ReUpload","UploadFailed","NotExceeding","FileNotExceeding","Rotate","ImageFull","Size","baseSlice","require","toInteger","module","exports","array","n","guard","undefined","subtitle","importantInfo","importantInfoType","moreInfo","AntdTooltip","rootClassName","every","tooltipTitle","fetchContent","showLoading","loadingClassName","force","useFetch","auto","isLoading","send","Spin","createdField","List","User","UserField","Table","TableField","createdList","renderList","createListField","openApi","useFormContext","SuperSelectTreeField","LoadingButton","SelectField","useUIDecorator","numberFormat","_value","isNaN","Math","abs","toFixed","FormField","isError","marginBottom","cloneElement","SalaryInputField","onBlur","isRange","showMonth","remindUnit","req","_placeholder","_placeholderInput","isTenThousand","isFace","isOther","transform","useSimulationBlur","Row","gutter","Col","min","max","flex","includes","formatter","textAlign","description","color","Enum","width","borderLeft","borderRight","pointerEvents","addonAfter","v","month","defaultPropsApi","defaultPropsValue","SalaryField","IntlProvider","importMessages","_props$rule","errorRender","currentError","emitter","formState","targetFieldInfo","formStateRef","setCurrentError","addListener","validate","currentField","status","errMsg","util","compileErrMsg","msg","remove","useErrorMsg","isHover","setIsHover","errorContent","closeHover","popoverChildrenRef","popoverContentRef","useClickOutside","contains","setWidth","useLayoutEffect","callback","querySelector","clientWidth","resizeObserver","ResizeObserver","observe","mutationObserver","MutationObserver","subtree","childList","disconnect","transitionName","onMouseEnter","useReactContext","HelperGuide","Drawer","useFormDrawer","drawer","useDrawer","FormDrawerButton","formDrawer","base","result","en-US","zh-CN","TypeDateRangePickerField","_olderREQ","RULES","REQ","_olderLEN","LEN","otherOptions","interceptors","input","use","params","searchParams","URLSearchParams","from","entries","output","dayjs","Date","valueOf","toISOString","push","ossId","originalName","default","loadCountyList","loadModule","countyList","countyAbMap","ab","country_code","countyCodeMap","code","replace","matcher","match","getLocaleMsg","values","EMAIL","LENGTH_EQUAL","end","LENGTH_MORE","start","LENGTH_LESS","merge","rules","arguments","_len","args","_key","ruleName","test","PHONE_NUMBER_INPUT","ARRAY_LENGTH","datePicker","interceptor","rangeDatePicker","inputNumber","changeOnWheel","textArea","autoSize","minRows","maxRows","globalProps","labelTips","HelperGuideLabel","colorful","url","Typography","Link","href","withDecorator","footerButtons","cancelText","saveText","autoClose","FormattedMessage","ButtonComponent","CancelButton","SubmitButton","innerRender","_formProps","Form","IndustrySelectField","FunctionSelectField","CascaderField","createTreeUtils","TextField","Text","height","overflow","reactFormAntd","FormItem","ErrorTip","UploadField","createWithIntl","accept","renderTips","defaultTips","multiple","showUploadList","fileSize","concurrentCount","onSave","ossUpload","onUpload","getPermission","fileList","uploadingList","onFileSelected","useFileUpload","previewFileList","tipsText","extensionNames","str","Flex","gap","vertical","InputFileButton","omit","dataSource","infoItemRenders","newList","isNotEmpty","formUtils","MoneyInputField","chineseEmpty","showError","errorDesc","transformMoneyToChinese","moneyFormat","setStatus","inputNumberProps","controls","precision","MAX_NUM","parser","parserValue","val","changeMoneyToChinese","toChineseCharacter","localeModuleName","FormStepState","currentIndex","setCurrentIndex","stepCacheRef","isLastStep","currentProps","completeText","nextText","computedModalCommonProps","_stepCacheRef$current","otherProps","stepSection","Steps","res","_ref8","_excluded5","justify","useFormStepModal","FormStepModalButton","_excluded6","TableList","FormApiButton","FormModal","FormStepModal","FormDrawer","MultiField","widget","utils","AvatarDisplay","Image","UploadButton","withInputFile","icon","gender","shape","defaultAvatar","displayAvatar","_Fragment","dataURLtoBlob","dataURL","arr","_arr","substring","mime","bstr","atob","u8arr","Uint8Array","charCodeAt","Blob","ControlAvatarEditor","image","propsImage","borderRadius","preview","getApi","border","intl","baseWidth","setBaseWidth","outerRef","setImage","scale","setScale","rotate","setRotate","previewImg","setPreviewImg","editorRef","getImage","canvas","targetCanvas","document","createElement","targetCtx","getContext","drawImage","window","File","toDataURL","makePreviewInner","makePreview","useDebouncedCallback","span","AvatarEditor","onImageReady","onImageChange","tooltip","step","InputFileLink","AntdAvatar","src","useDropModal","dropModalSize","AvatarField","_apis$file","openEditor","currentApis","defaultAvatarIcon","setLoading","baseApis","upload","file","dropRef","dropModal","doUpload","finally","toFinite","remainder"],"ignoreList":[],"sourceRoot":""}
|