"use strict";
/*
 * ATTENTION: An "eval-source-map" devtool has been used.
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
(self["webpackChunknocode_platform"] = self["webpackChunknocode_platform"] || []).push([[4632],{

/***/ "./src/web/component/apps/AppCreatModeGroup.less":
/*!*******************************************************!*\
  !*** ./src/web/component/apps/AppCreatModeGroup.less ***!
  \*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"appcreatmode_group\":\"vlzy7rhu_appcreatmode_group\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9hcHBzL0FwcENyZWF0TW9kZUdyb3VwLmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvd2ViL2NvbXBvbmVudC9hcHBzL0FwcENyZWF0TW9kZUdyb3VwLmxlc3M/NmZlYSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCBkZWZhdWx0IHtcImFwcGNyZWF0bW9kZV9ncm91cFwiOlwidmx6eTdyaHVfYXBwY3JlYXRtb2RlX2dyb3VwXCJ9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/web/component/apps/AppCreatModeGroup.less\n");

/***/ }),

/***/ "./src/web/component/common/FlowStatusTag.less":
/*!*****************************************************!*\
  !*** ./src/web/component/common/FlowStatusTag.less ***!
  \*****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"tag\":\"B0BB54zw_tag\",\"success\":\"vNynaJ6y_success\",\"error\":\"xV9OxNu3_error\",\"warning\":\"rc2CssHi_warning\",\"going\":\"IeZiZcJw_going\",\"reject\":\"vZjZ7H70_reject\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9jb21tb24vRmxvd1N0YXR1c1RhZy5sZXNzIiwibWFwcGluZ3MiOiI7QUFBQTtBQUNBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vbm9jb2RlLXBsYXRmb3JtLy4vc3JjL3dlYi9jb21wb25lbnQvY29tbW9uL0Zsb3dTdGF0dXNUYWcubGVzcz85MGFlIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxuZXhwb3J0IGRlZmF1bHQge1widGFnXCI6XCJCMEJCNTR6d190YWdcIixcInN1Y2Nlc3NcIjpcInZOeW5hSjZ5X3N1Y2Nlc3NcIixcImVycm9yXCI6XCJ4VjlPeE51M19lcnJvclwiLFwid2FybmluZ1wiOlwicmMyQ3NzSGlfd2FybmluZ1wiLFwiZ29pbmdcIjpcIkllWmlaY0p3X2dvaW5nXCIsXCJyZWplY3RcIjpcInZaalo3SDcwX3JlamVjdFwifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/web/component/common/FlowStatusTag.less\n");

/***/ }),

/***/ "./src/web/component/common/Header.less":
/*!**********************************************!*\
  !*** ./src/web/component/common/Header.less ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"header\":\"EKFI1FZG_header\",\"header_main\":\"o69fZx-U_header_main\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9jb21tb24vSGVhZGVyLmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvd2ViL2NvbXBvbmVudC9jb21tb24vSGVhZGVyLmxlc3M/N2UzNSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCBkZWZhdWx0IHtcImhlYWRlclwiOlwiRUtGSTFGWkdfaGVhZGVyXCIsXCJoZWFkZXJfbWFpblwiOlwibzY5Zlp4LVVfaGVhZGVyX21haW5cIn07Il0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/web/component/common/Header.less\n");

/***/ }),

/***/ "./src/web/component/common/card/AppCard.less":
/*!****************************************************!*\
  !*** ./src/web/component/common/card/AppCard.less ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"app_card_item\":\"qqozk-YR_app_card_item\",\"collect\":\"YHmhkuCR_collect\",\"collect_active_icon\":\"Z4L7QVnh_collect_active_icon\",\"collect_icon\":\"lnQICj6J_collect_icon\",\"app_card_item_div\":\"_11Pm6+-V_app_card_item_div\",\"app_info\":\"bDSVtlkW_app_info\",\"icon\":\"tLB6nJx+_icon\",\"datas\":\"o4YuZbNp_datas\",\"title\":\"Wzms12WN_title\",\"des\":\"lrwCx7Mc_des\",\"app_status\":\"nrDd0-1d_app_status\",\"running\":\"mdwTi052_running\",\"standby\":\"vJ-ThJ3m_standby\",\"more\":\"GegLDyU8_more\",\"card_action\":\"RdI2SZVz_card_action\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9jb21tb24vY2FyZC9BcHBDYXJkLmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvd2ViL2NvbXBvbmVudC9jb21tb24vY2FyZC9BcHBDYXJkLmxlc3M/OTY0YiJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCBkZWZhdWx0IHtcImFwcF9jYXJkX2l0ZW1cIjpcInFxb3prLVlSX2FwcF9jYXJkX2l0ZW1cIixcImNvbGxlY3RcIjpcIllIbWhrdUNSX2NvbGxlY3RcIixcImNvbGxlY3RfYWN0aXZlX2ljb25cIjpcIlo0TDdRVm5oX2NvbGxlY3RfYWN0aXZlX2ljb25cIixcImNvbGxlY3RfaWNvblwiOlwibG5RSUNqNkpfY29sbGVjdF9pY29uXCIsXCJhcHBfY2FyZF9pdGVtX2RpdlwiOlwiXzExUG02Ky1WX2FwcF9jYXJkX2l0ZW1fZGl2XCIsXCJhcHBfaW5mb1wiOlwiYkRTVnRsa1dfYXBwX2luZm9cIixcImljb25cIjpcInRMQjZuSngrX2ljb25cIixcImRhdGFzXCI6XCJvNFl1WmJOcF9kYXRhc1wiLFwidGl0bGVcIjpcIld6bXMxMldOX3RpdGxlXCIsXCJkZXNcIjpcImxyd0N4N01jX2Rlc1wiLFwiYXBwX3N0YXR1c1wiOlwibnJEZDAtMWRfYXBwX3N0YXR1c1wiLFwicnVubmluZ1wiOlwibWR3VGkwNTJfcnVubmluZ1wiLFwic3RhbmRieVwiOlwidkotVGhKM21fc3RhbmRieVwiLFwibW9yZVwiOlwiR2VnTER5VThfbW9yZVwiLFwiY2FyZF9hY3Rpb25cIjpcIlJkSTJTWlZ6X2NhcmRfYWN0aW9uXCJ9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/web/component/common/card/AppCard.less\n");

/***/ }),

/***/ "./src/web/component/home/AppListItem.less":
/*!*************************************************!*\
  !*** ./src/web/component/home/AppListItem.less ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"app_list_item\":\"yfM2Nx6f_app_list_item\",\"e\":\"zAQ-aUsH_e\",\"app_info\":\"Trk+p-qa_app_info\",\"title\":\"rhn5vLlZ_title\",\"des\":\"Q6Z8Y72b_des\",\"icon\":\"KxaW3URy_icon\",\"app_status\":\"QdUOXdsT_app_status\",\"creater\":\"XCQR2Eu+_creater\",\"collect\":\"xqtKowiF_collect\",\"collect_active_icon\":\"pboh0ja1_collect_active_icon\",\"collect_icon\":\"GFsM5X74_collect_icon\",\"time\":\"_7kpuslVZ_time\",\"app_actions\":\"_0r1heb43_app_actions\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9ob21lL0FwcExpc3RJdGVtLmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvd2ViL2NvbXBvbmVudC9ob21lL0FwcExpc3RJdGVtLmxlc3M/YTIxNSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCBkZWZhdWx0IHtcImFwcF9saXN0X2l0ZW1cIjpcInlmTTJOeDZmX2FwcF9saXN0X2l0ZW1cIixcImVcIjpcInpBUS1hVXNIX2VcIixcImFwcF9pbmZvXCI6XCJUcmsrcC1xYV9hcHBfaW5mb1wiLFwidGl0bGVcIjpcInJobjV2TGxaX3RpdGxlXCIsXCJkZXNcIjpcIlE2WjhZNzJiX2Rlc1wiLFwiaWNvblwiOlwiS3hhVzNVUnlfaWNvblwiLFwiYXBwX3N0YXR1c1wiOlwiUWRVT1hkc1RfYXBwX3N0YXR1c1wiLFwiY3JlYXRlclwiOlwiWENRUjJFdStfY3JlYXRlclwiLFwiY29sbGVjdFwiOlwieHF0S293aUZfY29sbGVjdFwiLFwiY29sbGVjdF9hY3RpdmVfaWNvblwiOlwicGJvaDBqYTFfY29sbGVjdF9hY3RpdmVfaWNvblwiLFwiY29sbGVjdF9pY29uXCI6XCJHRnNNNVg3NF9jb2xsZWN0X2ljb25cIixcInRpbWVcIjpcIl83a3B1c2xWWl90aW1lXCIsXCJhcHBfYWN0aW9uc1wiOlwiXzByMWhlYjQzX2FwcF9hY3Rpb25zXCJ9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/web/component/home/AppListItem.less\n");

/***/ }),

/***/ "./src/web/component/home/ImportAppModal.less":
/*!****************************************************!*\
  !*** ./src/web/component/home/ImportAppModal.less ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"create_form_by_import_body\":\"b3igw5Dd_create_form_by_import_body\",\"importmodal_step\":\"rAu39Kkw_importmodal_step\",\"upload\":\"HNESRAKA_upload\",\"upload_add\":\"gJUjCTd4_upload_add\",\"upload_text\":\"Xd5r9wKl_upload_text\",\"upload_tips\":\"+QAFgyC5_upload_tips\",\"upload_tips_text\":\"jrHEsFJh_upload_tips_text\",\"upload_tips_template\":\"+dJEWEvT_upload_tips_template\",\"upload_progress\":\"KQYafmDg_upload_progress\",\"upload_progress_text\":\"_0QhnW8mJ_upload_progress_text\",\"import\":\"_0H9bu-bD_import\",\"import_msg\":\"gUkwb4s6_import_msg\",\"import_img\":\"GzaHink0_import_img\",\"create_form_by_import_body_uploadtext\":\"f+v0+US9_create_form_by_import_body_uploadtext\",\"create_form_by_import_footer\":\"_1uEm1EQM_create_form_by_import_footer\",\"create_form_by_import_footer_btn\":\"_2GQ8fu15_create_form_by_import_footer_btn\",\"pre\":\"pp4mMup2_pre\",\"create_form_by_import\":\"AlyE08Tp_create_form_by_import\",\"pt24\":\"R5FQOJAq_pt24\",\"form\":\"Ie7cFuPI_form\",\"form_item\":\"odyxOMDP_form_item\",\"title\":\"r+zws5ya_title\",\"require\":\"g7YC2kHW_require\",\"list\":\"sxfbVgcJ_list\",\"spin_container\":\"UkUVHjcC_spin_container\",\"spin_container_content\":\"Fh0MuvQp_spin_container_content\",\"text\":\"ZvK9ikd2_text\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9ob21lL0ltcG9ydEFwcE1vZGFsLmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvd2ViL2NvbXBvbmVudC9ob21lL0ltcG9ydEFwcE1vZGFsLmxlc3M/NmE1YyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjd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VyXCIsXCJjcmVhdGVfZm9ybV9ieV9pbXBvcnRfZm9vdGVyX2J0blwiOlwiXzJHUThmdTE1X2NyZWF0ZV9mb3JtX2J5X2ltcG9ydF9mb290ZXJfYnRuXCIsXCJwcmVcIjpcInBwNG1NdXAyX3ByZVwiLFwiY3JlYXRlX2Zvcm1fYnlfaW1wb3J0XCI6XCJBbHlFMDhUcF9jcmVhdGVfZm9ybV9ieV9pbXBvcnRcIixcInB0MjRcIjpcIlI1RlFPSkFxX3B0MjRcIixcImZvcm1cIjpcIkllN2NGdVBJX2Zvcm1cIixcImZvcm1faXRlbVwiOlwib2R5eE9NRFBfZm9ybV9pdGVtXCIsXCJ0aXRsZVwiOlwicit6d3M1eWFfdGl0bGVcIixcInJlcXVpcmVcIjpcImc3WUMya0hXX3JlcXVpcmVcIixcImxpc3RcIjpcInN4ZmJWZ2NKX2xpc3RcIixcInNwaW5fY29udGFpbmVyXCI6XCJVa1VWSGpjQ19zcGluX2NvbnRhaW5lclwiLFwic3Bpbl9jb250YWluZXJfY29udGVudFwiOlwiRmgwTXV2UXBfc3Bpbl9jb250YWluZXJfY29udGVudFwiLFwidGV4dFwiOlwiWnZLOWlrZDJfdGV4dFwifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/web/component/home/ImportAppModal.less\n");

/***/ }),

/***/ "./src/web/layout/home/AppCardLayout.less":
/*!************************************************!*\
  !*** ./src/web/layout/home/AppCardLayout.less ***!
  \************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"app_list_box\":\"tME+-qlB_app_list_box\",\"list\":\"u3Fp6VZD_list\",\"loading\":\"pOH6Wx8I_loading\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2xheW91dC9ob21lL0FwcENhcmRMYXlvdXQubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy93ZWIvbGF5b3V0L2hvbWUvQXBwQ2FyZExheW91dC5sZXNzP2JiOWUiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJhcHBfbGlzdF9ib3hcIjpcInRNRSstcWxCX2FwcF9saXN0X2JveFwiLFwibGlzdFwiOlwidTNGcDZWWkRfbGlzdFwiLFwibG9hZGluZ1wiOlwicE9INld4OElfbG9hZGluZ1wifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/web/layout/home/AppCardLayout.less\n");

/***/ }),

/***/ "./src/web/layout/home/AppConfigLayout.less":
/*!**************************************************!*\
  !*** ./src/web/layout/home/AppConfigLayout.less ***!
  \**************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"create_box\":\"hh0K-UML_create_box\",\"create_app_body\":\"bsudCqsh_create_app_body\",\"item\":\"nMs0irXH_item\",\"edit_avatar\":\"_655Wn9Ul_edit_avatar\",\"avatar\":\"KMJl7q9j_avatar\",\"edit\":\"QzzttY2i_edit\",\"create_app_footer\":\"Vh1o2gBj_create_app_footer\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2xheW91dC9ob21lL0FwcENvbmZpZ0xheW91dC5sZXNzIiwibWFwcGluZ3MiOiI7QUFBQTtBQUNBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vbm9jb2RlLXBsYXRmb3JtLy4vc3JjL3dlYi9sYXlvdXQvaG9tZS9BcHBDb25maWdMYXlvdXQubGVzcz9iZjNkIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxuZXhwb3J0IGRlZmF1bHQge1wiY3JlYXRlX2JveFwiOlwiaGgwSy1VTUxfY3JlYXRlX2JveFwiLFwiY3JlYXRlX2FwcF9ib2R5XCI6XCJic3VkQ3FzaF9jcmVhdGVfYXBwX2JvZHlcIixcIml0ZW1cIjpcIm5NczBpclhIX2l0ZW1cIixcImVkaXRfYXZhdGFyXCI6XCJfNjU1V245VWxfZWRpdF9hdmF0YXJcIixcImF2YXRhclwiOlwiS01KbDdxOWpfYXZhdGFyXCIsXCJlZGl0XCI6XCJRenp0dFkyaV9lZGl0XCIsXCJjcmVhdGVfYXBwX2Zvb3RlclwiOlwiVmgxbzJnQmpfY3JlYXRlX2FwcF9mb290ZXJcIn07Il0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/web/layout/home/AppConfigLayout.less\n");

/***/ }),

/***/ "./src/web/layout/home/AppListLayout.less":
/*!************************************************!*\
  !*** ./src/web/layout/home/AppListLayout.less ***!
  \************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"app_list_table\":\"vqcoXYr8_app_list_table\",\"header\":\"fR39i4JD_header\",\"app_list_tr\":\"MqDFqhWi_app_list_tr\",\"app_info\":\"MUDQptGh_app_info\",\"app_status\":\"BT7zKHRC_app_status\",\"creater\":\"ECcWS1nf_creater\",\"collect\":\"rJ2ty3x5_collect\",\"time\":\"m9gh-3db_time\",\"app_actions\":\"_2JhWbnlS_app_actions\",\"list\":\"_7FPPcshD_list\",\"box\":\"WBzN56QW_box\",\"app_list_body\":\"_6EN4CRrl_app_list_body\",\"loading\":\"ldaREjsw_loading\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2xheW91dC9ob21lL0FwcExpc3RMYXlvdXQubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy93ZWIvbGF5b3V0L2hvbWUvQXBwTGlzdExheW91dC5sZXNzPzcxMDUiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJhcHBfbGlzdF90YWJsZVwiOlwidnFjb1hZcjhfYXBwX2xpc3RfdGFibGVcIixcImhlYWRlclwiOlwiZlIzOWk0SkRfaGVhZGVyXCIsXCJhcHBfbGlzdF90clwiOlwiTXFERnFoV2lfYXBwX2xpc3RfdHJcIixcImFwcF9pbmZvXCI6XCJNVURRcHRHaF9hcHBfaW5mb1wiLFwiYXBwX3N0YXR1c1wiOlwiQlQ3ektIUkNfYXBwX3N0YXR1c1wiLFwiY3JlYXRlclwiOlwiRUNjV1MxbmZfY3JlYXRlclwiLFwiY29sbGVjdFwiOlwickoydHkzeDVfY29sbGVjdFwiLFwidGltZVwiOlwibTlnaC0zZGJfdGltZVwiLFwiYXBwX2FjdGlvbnNcIjpcIl8ySmhXYm5sU19hcHBfYWN0aW9uc1wiLFwibGlzdFwiOlwiXzdGUFBjc2hEX2xpc3RcIixcImJveFwiOlwiV0J6TjU2UVdfYm94XCIsXCJhcHBfbGlzdF9ib2R5XCI6XCJfNkVONENScmxfYXBwX2xpc3RfYm9keVwiLFwibG9hZGluZ1wiOlwibGRhUkVqc3dfbG9hZGluZ1wifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/web/layout/home/AppListLayout.less\n");

/***/ }),

/***/ "./src/web/layout/home/AppMessageLayout.less":
/*!***************************************************!*\
  !*** ./src/web/layout/home/AppMessageLayout.less ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"msg_box\":\"_6Oik9w2D_msg_box\",\"nav\":\"JCI0xlsP_nav\",\"list\":\"mX+o6k8m_list\",\"item\":\"eSukv5L0_item\",\"content\":\"aCCTO5rH_content\",\"icon\":\"v4krGOfy_icon\",\"msg\":\"IXT1UkFU_msg\",\"flow\":\"_72wNXq3s_flow\",\"info\":\"MmcZzz2e_info\",\"title\":\"sSdxgvP5_title\",\"sub_title\":\"ii705ZF1_sub_title\",\"time\":\"p--8RcP-_time\",\"dot\":\"isl39IbD_dot\",\"loading\":\"_5qqXcj+E_loading\",\"no_msg\":\"EWmNb5Cx_no_msg\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2xheW91dC9ob21lL0FwcE1lc3NhZ2VMYXlvdXQubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy93ZWIvbGF5b3V0L2hvbWUvQXBwTWVzc2FnZUxheW91dC5sZXNzP2JkOTUiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJtc2dfYm94XCI6XCJfNk9pazl3MkRfbXNnX2JveFwiLFwibmF2XCI6XCJKQ0kweGxzUF9uYXZcIixcImxpc3RcIjpcIm1YK282azhtX2xpc3RcIixcIml0ZW1cIjpcImVTdWt2NUwwX2l0ZW1cIixcImNvbnRlbnRcIjpcImFDQ1RPNXJIX2NvbnRlbnRcIixcImljb25cIjpcInY0a3JHT2Z5X2ljb25cIixcIm1zZ1wiOlwiSVhUMVVrRlVfbXNnXCIsXCJmbG93XCI6XCJfNzJ3TlhxM3NfZmxvd1wiLFwiaW5mb1wiOlwiTW1jWnp6MmVfaW5mb1wiLFwidGl0bGVcIjpcInNTZHhndlA1X3RpdGxlXCIsXCJzdWJfdGl0bGVcIjpcImlpNzA1WkYxX3N1Yl90aXRsZVwiLFwidGltZVwiOlwicC0tOFJjUC1fdGltZVwiLFwiZG90XCI6XCJpc2wzOUliRF9kb3RcIixcImxvYWRpbmdcIjpcIl81cXFYY2orRV9sb2FkaW5nXCIsXCJub19tc2dcIjpcIkVXbU5iNUN4X25vX21zZ1wifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/web/layout/home/AppMessageLayout.less\n");

/***/ }),

/***/ "./src/web/layout/home/HeaderLayout.less":
/*!***********************************************!*\
  !*** ./src/web/layout/home/HeaderLayout.less ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"app_header\":\"wox0T7g7_app_header\",\"logo\":\"_3a8Pn6s7_logo\",\"logo_bg_img\":\"gXOi5mB1_logo_bg_img\",\"split_line\":\"SDrj7EhU_split_line\",\"platformName\":\"LaPGoDyG_platformName\",\"nav\":\"TSeaP4bz_nav\",\"curr\":\"hhwSmWGx_curr\",\"user\":\"_9bbJwcsc_user\",\"btn\":\"-J5poooq_btn\",\"avatar\":\"mmRseCnw_avatar\",\"user_info_pop\":\"_4w3QhE1v_user_info_pop\",\"user_msg\":\"S7DXNEqX_user_msg\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2xheW91dC9ob21lL0hlYWRlckxheW91dC5sZXNzIiwibWFwcGluZ3MiOiI7QUFBQTtBQUNBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vbm9jb2RlLXBsYXRmb3JtLy4vc3JjL3dlYi9sYXlvdXQvaG9tZS9IZWFkZXJMYXlvdXQubGVzcz9jOTA1Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxuZXhwb3J0IGRlZmF1bHQge1wiYXBwX2hlYWRlclwiOlwid294MFQ3ZzdfYXBwX2hlYWRlclwiLFwibG9nb1wiOlwiXzNhOFBuNnM3X2xvZ29cIixcImxvZ29fYmdfaW1nXCI6XCJnWE9pNW1CMV9sb2dvX2JnX2ltZ1wiLFwic3BsaXRfbGluZVwiOlwiU0RyajdFaFVfc3BsaXRfbGluZVwiLFwicGxhdGZvcm1OYW1lXCI6XCJMYVBHb0R5R19wbGF0Zm9ybU5hbWVcIixcIm5hdlwiOlwiVFNlYVA0YnpfbmF2XCIsXCJjdXJyXCI6XCJoaHdTbVdHeF9jdXJyXCIsXCJ1c2VyXCI6XCJfOWJiSndjc2NfdXNlclwiLFwiYnRuXCI6XCItSjVwb29vcV9idG5cIixcImF2YXRhclwiOlwibW1Sc2VDbndfYXZhdGFyXCIsXCJ1c2VyX2luZm9fcG9wXCI6XCJfNHczUWhFMXZfdXNlcl9pbmZvX3BvcFwiLFwidXNlcl9tc2dcIjpcIlM3RFhORXFYX3VzZXJfbXNnXCJ9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/web/layout/home/HeaderLayout.less\n");

/***/ }),

/***/ "./src/web/pages/home/all/AllAppsPage.less":
/*!*************************************************!*\
  !*** ./src/web/pages/home/all/AllAppsPage.less ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"app_box\":\"_5Zm+t-Vp_app_box\",\"app_main\":\"Gx92JGJi_app_main\",\"loading\":\"EsRRRF4U_loading\",\"app_main_hidden\":\"f7kokLhA_app_main_hidden\",\"app_nav\":\"OEIl+W5e_app_nav\",\"btn_group\":\"Hs0yLtWU_btn_group\",\"app_filter\":\"V4XUixQX_app_filter\",\"list_type\":\"_1xMbWZBG_list_type\",\"curr\":\"WLbhpwUx_curr\",\"not_curr\":\"c1+6Vo9W_not_curr\",\"del_box\":\"_8x0a14Te_del_box\",\"des\":\"tUjEiw5e_des\",\"hidden\":\"LHZO8VtO_hidden\",\"skeleton\":\"mjMqZ-uv_skeleton\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL3BhZ2VzL2hvbWUvYWxsL0FsbEFwcHNQYWdlLmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvd2ViL3BhZ2VzL2hvbWUvYWxsL0FsbEFwcHNQYWdlLmxlc3M/MjFlZSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCBkZWZhdWx0IHtcImFwcF9ib3hcIjpcIl81Wm0rdC1WcF9hcHBfYm94XCIsXCJhcHBfbWFpblwiOlwiR3g5MkpHSmlfYXBwX21haW5cIixcImxvYWRpbmdcIjpcIkVzUlJSRjRVX2xvYWRpbmdcIixcImFwcF9tYWluX2hpZGRlblwiOlwiZjdrb2tMaEFfYXBwX21haW5faGlkZGVuXCIsXCJhcHBfbmF2XCI6XCJPRUlsK1c1ZV9hcHBfbmF2XCIsXCJidG5fZ3JvdXBcIjpcIkhzMHlMdFdVX2J0bl9ncm91cFwiLFwiYXBwX2ZpbHRlclwiOlwiVjRYVWl4UVhfYXBwX2ZpbHRlclwiLFwibGlzdF90eXBlXCI6XCJfMXhNYldaQkdfbGlzdF90eXBlXCIsXCJjdXJyXCI6XCJXTGJocHdVeF9jdXJyXCIsXCJub3RfY3VyclwiOlwiYzErNlZvOVdfbm90X2N1cnJcIixcImRlbF9ib3hcIjpcIl84eDBhMTRUZV9kZWxfYm94XCIsXCJkZXNcIjpcInRVakVpdzVlX2Rlc1wiLFwiaGlkZGVuXCI6XCJMSFpPOFZ0T19oaWRkZW5cIixcInNrZWxldG9uXCI6XCJtak1xWi11dl9za2VsZXRvblwifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/web/pages/home/all/AllAppsPage.less\n");

/***/ }),

/***/ "./src/web/pages/home/all/AppsNodataPage.less":
/*!****************************************************!*\
  !*** ./src/web/pages/home/all/AppsNodataPage.less ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"appsnodata\":\"_5CY851Kb_appsnodata\",\"appsnodata_img\":\"ru-uY+u2_appsnodata_img\",\"appsnodata_tips\":\"XWQVj6Hs_appsnodata_tips\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL3BhZ2VzL2hvbWUvYWxsL0FwcHNOb2RhdGFQYWdlLmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvd2ViL3BhZ2VzL2hvbWUvYWxsL0FwcHNOb2RhdGFQYWdlLmxlc3M/MmZmYSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCBkZWZhdWx0IHtcImFwcHNub2RhdGFcIjpcIl81Q1k4NTFLYl9hcHBzbm9kYXRhXCIsXCJhcHBzbm9kYXRhX2ltZ1wiOlwicnUtdVkrdTJfYXBwc25vZGF0YV9pbWdcIixcImFwcHNub2RhdGFfdGlwc1wiOlwiWFdRVmo2SHNfYXBwc25vZGF0YV90aXBzXCJ9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/web/pages/home/all/AppsNodataPage.less\n");

/***/ }),

/***/ "./src/web/pages/home/flow/FlowCenter.less":
/*!*************************************************!*\
  !*** ./src/web/pages/home/flow/FlowCenter.less ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"container\":\"gTbQx6dw_container\",\"aside\":\"ndu1FWAz_aside\",\"active\":\"Hd7TwAGK_active\",\"main\":\"mNKS3un9_main\",\"box\":\"lbChfplS_box\",\"btns\":\"V5amKci1_btns\",\"list\":\"oyTKguKV_list\",\"bg\":\"lDW8h-xP_bg\",\"bg_main\":\"GQCVuyaL_bg_main\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL3BhZ2VzL2hvbWUvZmxvdy9GbG93Q2VudGVyLmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvd2ViL3BhZ2VzL2hvbWUvZmxvdy9GbG93Q2VudGVyLmxlc3M/YzZjNiJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCBkZWZhdWx0IHtcImNvbnRhaW5lclwiOlwiZ1RiUXg2ZHdfY29udGFpbmVyXCIsXCJhc2lkZVwiOlwibmR1MUZXQXpfYXNpZGVcIixcImFjdGl2ZVwiOlwiSGQ3VHdBR0tfYWN0aXZlXCIsXCJtYWluXCI6XCJtTktTM3VuOV9tYWluXCIsXCJib3hcIjpcImxiQ2hmcGxTX2JveFwiLFwiYnRuc1wiOlwiVjVhbUtjaTFfYnRuc1wiLFwibGlzdFwiOlwib3lUS2d1S1ZfbGlzdFwiLFwiYmdcIjpcImxEVzhoLXhQX2JnXCIsXCJiZ19tYWluXCI6XCJHUUNWdXlhTF9iZ19tYWluXCJ9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/web/pages/home/flow/FlowCenter.less\n");

/***/ }),

/***/ "./src/constants/defaultIcon.ts":
/*!**************************************!*\
  !*** ./src/constants/defaultIcon.ts ***!
  \**************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.DEFAULT_FORM_IMAGE = exports.DEFAULT_APP_IMAGE = void 0;\nvar DEFAULT_APP_IMAGE = exports.DEFAULT_APP_IMAGE = 'nocode/v2/nocode_sys/common/svgs/create_svg?color=%233987ED&svg=svg18'; // 默认应用图标\nvar DEFAULT_FORM_IMAGE = exports.DEFAULT_FORM_IMAGE = 'nocode/v2/nocode_sys/common/svgs/create_svg_line?color=%233987ED&svg=svg64'; // 默认表单图标//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvY29uc3RhbnRzL2RlZmF1bHRJY29uLnRzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTtBQUNBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vbm9jb2RlLXBsYXRmb3JtLy4vc3JjL2NvbnN0YW50cy9kZWZhdWx0SWNvbi50cz9jM2ZjIl0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBERUZBVUxUX0FQUF9JTUFHRSA9ICdub2NvZGUvdjIvbm9jb2RlX3N5cy9jb21tb24vc3Zncy9jcmVhdGVfc3ZnP2NvbG9yPSUyMzM5ODdFRCZzdmc9c3ZnMTgnIC8vIOm7mOiupOW6lOeUqOWbvuagh1xuZXhwb3J0IGNvbnN0IERFRkFVTFRfRk9STV9JTUFHRSA9ICdub2NvZGUvdjIvbm9jb2RlX3N5cy9jb21tb24vc3Zncy9jcmVhdGVfc3ZnX2xpbmU/Y29sb3I9JTIzMzk4N0VEJnN2Zz1zdmc2NCcgLy8g6buY6K6k6KGo5Y2V5Zu+5qCHXG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/constants/defaultIcon.ts\n");

/***/ }),

/***/ "./src/hooks/useIntersectionObserver.ts":
/*!**********************************************!*\
  !*** ./src/hooks/useIntersectionObserver.ts ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _sliceInstanceProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\");\nvar _Array$from = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js\");\nvar _Symbol = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js\");\nvar _getIteratorMethod = __webpack_require__(/*! @babel/runtime-corejs3/core-js/get-iterator-method */ \"../../node_modules/@babel/runtime-corejs3/core-js/get-iterator-method.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = exports.addIntersectionObserver = void 0;\nvar _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/slicedToArray.js\"));\nvar _react = __webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\");\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof _Symbol !== \"undefined\" && _getIteratorMethod(o) || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { var _context; if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = _sliceInstanceProperty(_context = Object.prototype.toString.call(o)).call(_context, 8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return _Array$from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; } // import { useEffect } from 'react'\n/**\n * 元素侦听是否在可视区域通用函数\n * 因dom为REF时，无法实时刷新useIntersectionObserver，无法获取最新的DOM致使callback无法实时触发，最终使用改成常规函数\n * @param dom\n * @param callback\n * @returns\n */\nvar addIntersectionObserver = exports.addIntersectionObserver = function addIntersectionObserver(dom, callback) {\n  if (!dom) return;\n  var intersectionObserver = new window.IntersectionObserver(function (entries) {\n    if (entries[0].intersectionRatio <= 0) return;\n    entries[0].isIntersecting && (callback === null || callback === void 0 ? void 0 : callback());\n  });\n  // 侦听是否在可视区域\n  dom && intersectionObserver.observe(dom);\n  return function () {\n    // 卸载时有可能为null\n    intersectionObserver === null || intersectionObserver === void 0 || intersectionObserver.disconnect();\n  };\n};\n\n/**\n * 监听是否在可视区域\n * @param dom 需要监听的DOM\n * @returns boolean\n */\nvar useInViewport = function useInViewport(dom) {\n  var _useState = (0, _react.useState)(false),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    inViewport = _useState2[0],\n    setInViewport = _useState2[1];\n  (0, _react.useEffect)(function () {\n    if (!dom) return function () {};\n    var intersectionObserver = new window.IntersectionObserver(function (entries) {\n      var _iterator = _createForOfIteratorHelper(entries),\n        _step;\n      try {\n        for (_iterator.s(); !(_step = _iterator.n()).done;) {\n          var entry = _step.value;\n          setInViewport(entry.isIntersecting);\n        }\n      } catch (err) {\n        _iterator.e(err);\n      } finally {\n        _iterator.f();\n      }\n    });\n    // 侦听是否在可视区域\n    dom && intersectionObserver.observe(dom);\n    return function () {\n      // 卸载时有可能为null\n      dom && (intersectionObserver === null || intersectionObserver === void 0 ? void 0 : intersectionObserver.disconnect());\n    };\n  }, [dom]);\n  return inViewport;\n};\nvar _default = exports[\"default\"] = useInViewport;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvaG9va3MvdXNlSW50ZXJzZWN0aW9uT2JzZXJ2ZXIudHMiLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OztBQUVBO0FBQUE7QUFBQTtBQUFBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvaG9va3MvdXNlSW50ZXJzZWN0aW9uT2JzZXJ2ZXIudHM/MTMyYiJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBpbXBvcnQgeyB1c2VFZmZlY3QgfSBmcm9tICdyZWFjdCdcblxuaW1wb3J0IHsgdXNlRWZmZWN0LCB1c2VTdGF0ZSB9IGZyb20gJ3JlYWN0J1xuXG4vKipcbiAqIOWFg+e0oOS+puWQrOaYr+WQpuWcqOWPr+inhuWMuuWfn+mAmueUqOWHveaVsFxuICog5ZugZG9t5Li6UkVG5pe277yM5peg5rOV5a6e5pe25Yi35pawdXNlSW50ZXJzZWN0aW9uT2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ZmVjdCgoKSA9PiB7XG4gICAgaWYgKCFkb20pIHJldHVybiAoKSA9PiB7fVxuICAgIGNvbnN0IGludGVyc2VjdGlvbk9ic2VydmVyID0gbmV3IHdpbmRvdy5JbnRlcnNlY3Rpb25PYnNlcnZlcigoZW50cmllcykgPT4ge1xuICAgICAgZm9yIChjb25zdCBlbnRyeSBvZiBlbnRyaWVzKSB7XG4gICAgICAgIHNldEluVmlld3BvcnQoZW50cnkuaXNJbnRlcnNlY3RpbmcpXG4gICAgICB9XG4gICAgfSlcbiAgICAvLyDkvqblkKzmmK/lkKblnKjlj6/op4bljLrln59cbiAgICBkb20gJiYgaW50ZXJzZWN0aW9uT2JzZXJ2ZXIub2JzZXJ2ZShkb20pXG4gICAgcmV0dXJuICgpID0+IHsgLy8g5Y246L295pe25pyJ5Y+v6IO95Li6bnVsbFxuICAgICAgZG9tICYmIGludGVyc2VjdGlvbk9ic2VydmVyPy5kaXNjb25uZWN0KClcbiAgICB9XG4gIH0sIFtkb21dKVxuICByZXR1cm4gaW5WaWV3cG9ydFxufVxuZXhwb3J0IGRlZmF1bHQgdXNlSW5WaWV3cG9ydFxuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/hooks/useIntersectionObserver.ts\n");

/***/ }),

/***/ "./src/web/component/apps/AppCreatModeGroup.tsx":
/*!******************************************************!*\
  !*** ./src/web/component/apps/AppCreatModeGroup.tsx ***!
  \******************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = exports.appCreatModeList = exports.CREATE_TEMPLATE_APP = exports.CREATE_EMPTY_APP = exports.CREATE_APP_BY_IMPORT = void 0;\nvar _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _concat = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\"));\nvar _react = _interopRequireDefault(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _WebUI = __webpack_require__(/*! nocode_component/WebUI */ \"webpack/container/remote/nocode_component/WebUI\");\nvar _useAppContext2 = _interopRequireDefault(__webpack_require__(/*! @/hooks/useAppContext */ \"./src/hooks/useAppContext.js\"));\nvar _AppCreatModeGroup = _interopRequireDefault(__webpack_require__(/*! ./AppCreatModeGroup.less */ \"./src/web/component/apps/AppCreatModeGroup.less\"));\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2022-12-09 11:47:42\n * @LastEditTime: 2024-01-08 17:27:26\n * @Last Modified by: jianhang_he\n */\n\nvar CREATE_EMPTY_APP = exports.CREATE_EMPTY_APP = 'createEmptyApp'; // 创建空白应用\nvar CREATE_TEMPLATE_APP = exports.CREATE_TEMPLATE_APP = 'creatTemplateApp'; // 创建模板应用\nvar CREATE_APP_BY_IMPORT = exports.CREATE_APP_BY_IMPORT = 'createAppByImport'; // 通过导入创建应用\nvar appCreatModeList = exports.appCreatModeList = [{\n  key: CREATE_EMPTY_APP,\n  name: '创建空白应用',\n  iconType: 'zengjia-yuan',\n  btnType: 'primary',\n  custom: 'as_cba'\n}, {\n  key: CREATE_TEMPLATE_APP,\n  name: '从模板创建应用',\n  iconType: 'moban2',\n  custom: 'as_cta'\n}, {\n  key: CREATE_APP_BY_IMPORT,\n  name: '通过导入创建应用',\n  iconPrefix: 'ncicon',\n  iconType: 'daoru2',\n  custom: 'as_cabi'\n}];\n/**\n * @description 创建app方式\n * @returns\n */\nvar AppCreatModeGroup = function AppCreatModeGroup(_ref) {\n  var appId = _ref.appId,\n    _onClick = _ref.onClick,\n    options = _ref.options;\n  var _useAppContext = (0, _useAppContext2.default)(),\n    state = _useAppContext.state;\n  var userInfo = state.userInfo;\n  var _ref2 = userInfo || {},\n    createApp = _ref2.createApp;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppCreatModeGroup.default.appcreatmode_group\n  }, (0, _map.default)(options).call(options, function (item) {\n    var _context;\n    var key = item.key,\n      name = item.name,\n      iconType = item.iconType,\n      btnType = item.btnType,\n      custom = item.custom,\n      iconPrefix = item.iconPrefix;\n    return /*#__PURE__*/_react.default.createElement(_WebUI.BtnField, {\n      key: key,\n      type: btnType || 'second',\n      icon: {\n        prefix: iconPrefix || 'nocodeplatformicon',\n        type: iconType\n      },\n      onClick: function onClick() {\n        return _onClick(key);\n      },\n      disabled: !createApp,\n      \"data-nc-action\": (0, _concat.default)(_context = \"\".concat(appId, \"||\")).call(_context, custom)\n    }, name);\n  }));\n};\nvar _default = exports[\"default\"] = AppCreatModeGroup;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9hcHBzL0FwcENyZWF0TW9kZUdyb3VwLnRzeCIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBT0E7QUFDQTtBQUNBO0FBQ0E7QUFWQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFlQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFPQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBSUE7QUFG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c3RvbX1gfVxuICAgICAgICAgICAgPntuYW1lfVxuICAgICAgICAgICAgPC9CdXR0b24+XG4gICAgICAgICAgKVxuICAgICAgICB9KVxuICAgICAgfVxuICAgIDwvZGl2PlxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IEFwcENyZWF0TW9kZUdyb3VwXG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/web/component/apps/AppCreatModeGroup.tsx\n");

/***/ }),

/***/ "./src/web/component/common/AppIcon.tsx":
/*!**********************************************!*\
  !*** ./src/web/component/common/AppIcon.tsx ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _react = _interopRequireDefault(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nvar _WebUI = __webpack_require__(/*! nocode_component/WebUI */ \"webpack/container/remote/nocode_component/WebUI\");\nvar AppIcon = function AppIcon(_ref) {\n  var src = _ref.src,\n    className = _ref.className,\n    style = _ref.style,\n    onClick = _ref.onClick;\n  // 兼容IE\n  var backgroundColor = (0, _utils.getQueryString)('color', src) || '';\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: className,\n    style: style,\n    onClick: onClick\n  }, /*#__PURE__*/_react.default.createElement(_WebUI.Image, {\n    src: (0, _utils.getUrlWithDataCenter)((0, _utils.getFullUrl)(src)),\n    style: {\n      backgroundColor: backgroundColor\n    }\n  }));\n};\nvar _default = exports[\"default\"] = AppIcon;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9jb21tb24vQXBwSWNvbi50c3giLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFTQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBR0E7QUFBQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy93ZWIvY29tcG9uZW50L2NvbW1vbi9BcHBJY29uLnRzeD9jMDg4Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyBGQyB9IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHsgZ2V0RnVsbFVybCwgZ2V0UXVlcnlTdHJpbmcsIGdldFVybFdpdGhEYXRhQ2VudGVyIH0gZnJvbSAnQC91dGlscydcbmltcG9ydCB7IEltYWdlIH0gZnJvbSAnbm9jb2RlX2NvbXBvbmVudC9XZWJVSSdcblxuaW50ZXJmYWNlIEFwcEljb25Qcm9wc3tcbiAgc3JjOnN0cmluZztcbiAgY2xhc3NOYW1lPzpzdHJpbmc7XG4gIHN0eWxlPzphbnk7XG4gIG9uQ2xpY2s/OiAoKT0+dm9pZDtcbn1cblxuY29uc3QgQXBwSWNvbjpGQzxBcHBJY29uUHJvcHM+ID0gKHsgc3JjLCBjbGFzc05hbWUsIHN0eWxlLCBvbkNsaWNrIH06QXBwSWNvblByb3BzKSA9PiB7XG4gIC8vIOWFvOWuuUlFXG4gIGNvbnN0IGJhY2tncm91bmRDb2xvciA9IGdldFF1ZXJ5U3RyaW5nKCdjb2xvcicsIHNyYykgfHwgJydcbiAgcmV0dXJuIChcbiAgICA8ZGl2IGNsYXNzTmFtZT17Y2xhc3NOYW1lfSBzdHlsZT17c3R5bGV9IG9uQ2xpY2s9e29uQ2xpY2t9PlxuICAgICAgPEltYWdlIHNyYz17Z2V0VXJsV2l0aERhdGFDZW50ZXIoZ2V0RnVsbFVybChzcmMpKX0gc3R5bGU9e3sgYmFja2dyb3VuZENvbG9yIH19IC8+XG4gICAgPC9kaXY+XG4gIClcbn1cblxuZXhwb3J0IGRlZmF1bHQgQXBwSWNvblxuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/web/component/common/AppIcon.tsx\n");

/***/ }),

/***/ "./src/web/component/common/FlowStatusTag.tsx":
/*!****************************************************!*\
  !*** ./src/web/component/common/FlowStatusTag.tsx ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _WebUI = __webpack_require__(/*! nocode_component/WebUI */ \"webpack/container/remote/nocode_component/WebUI\");\nvar _FlowStatusTag = _interopRequireDefault(__webpack_require__(/*! ./FlowStatusTag.less */ \"./src/web/component/common/FlowStatusTag.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2023-04-06 16:22:00\n * @LastEditTime: 2023-12-20 15:06:02\n * @Last Modified by: jianhang_he\n */\n\n// 节点状态标签颜色\nvar classList = {\n  willApproval: _FlowStatusTag.default.warning,\n  // 待审批\n  approve: _FlowStatusTag.default.success,\n  // 同意\n  handled: _FlowStatusTag.default.sucess,\n  // (\"已完成\")\n  done: _FlowStatusTag.default.success,\n  // (\"已完成\")\n  terminate: _FlowStatusTag.default.reject,\n  // 否决\n  withdraw: _FlowStatusTag.default.reject,\n  // (\"已撤回\")\n  exception_terminate: _FlowStatusTag.default.error,\n  // (\"异常终止\")\n  willHandled: _FlowStatusTag.default.going,\n  // (\"处理中\")\n  launch: _FlowStatusTag.default.going // (\"处理中\")\n};\nvar FlowStatusTag = (0, _react.memo)(function (_ref) {\n  var status = _ref.status,\n    text = _ref.text,\n    className = _ref.className;\n  return /*#__PURE__*/_react.default.createElement(_WebUI.Tag, {\n    className: (0, _classnames.default)(classList[status] || classList.launch, className)\n  }, text);\n});\nFlowStatusTag.displayName = 'FlowStatusTag';\nvar _default = exports[\"default\"] = FlowStatusTag;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9jb21tb24vRmxvd1N0YXR1c1RhZy50c3giLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFPQTtBQUNBO0FBRUE7QUFDQTtBQUFBO0FBQUE7QUFYQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFPQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUNBO0FBUUE7QUFJQTtBQUZBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBQUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvd2ViL2NvbXBvbmVudC9jb21tb24vRmxvd1N0YXR1c1RhZy50c3g/MzJhMCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogQERlc2NyaXB0aW9uOlxuICogQEF1dGhvcjogamlhbmhhbmdfaGVcbiAqIEBEYXRlOiAyMDIzLTA0LTA2IDE2OjIyOjAwXG4gKiBATGFzdEVkaXRUaW1lOiAyMDIzLTEyLTIwIDE1OjA2OjAyXG4gKiBATGFzdCBNb2RpZmllZCBieTogamlhbmhhbmdfaGVcbiAqL1xuaW1wb3J0IFJlYWN0LCB7IG1lbW8sIEZDIH0gZnJvbSAncmVhY3QnXG5pbXBvcnQgeyBUYWcgfSBmcm9tICdub2NvZGVfY29tcG9uZW50L1dlYlVJJ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c3NMaXN0LmxhdW5jaCwgY2xhc3NOYW1lKX0+e3RleHR9PC9UYWc+XG59KVxuXG5GbG93U3RhdHVzVGFnLmRpc3BsYXlOYW1lID0gJ0Zsb3dTdGF0dXNUYWcnXG5cbmV4cG9ydCBkZWZhdWx0IEZsb3dTdGF0dXNUYWdcbiJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/web/component/common/FlowStatusTag.tsx\n");

/***/ }),

/***/ "./src/web/component/common/Header.jsx":
/*!*********************************************!*\
  !*** ./src/web/component/common/Header.jsx ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Header = _interopRequireDefault(__webpack_require__(/*! ./Header.less */ \"./src/web/component/common/Header.less\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nvar Header = (0, _react.memo)(function (_ref) {\n  var children = _ref.children,\n    className = _ref.className;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_Header.default.header, className)\n  }, children === null || children === void 0 ? void 0 : (0, _map.default)(children).call(children, function (item, index) {\n    return _react.default.cloneElement(item, {\n      key: index\n    });\n  }));\n});\nHeader.displayName = 'Header';\nvar HeaderLeft = (0, _react.memo)(function (_ref2) {\n  var children = _ref2.children,\n    className = _ref2.className;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: className\n  }, children);\n});\nHeaderLeft.displayName = 'HeaderLeft';\nvar HeaderMain = (0, _react.memo)(function (_ref3) {\n  var children = _ref3.children,\n    className = _ref3.className;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_Header.default.header_main, className)\n  }, children);\n});\nHeaderMain.displayName = 'HeaderMain';\nHeader.Left = HeaderLeft;\nHeader.Main = HeaderMain;\nHeader.Right = HeaderLeft;\nvar _default = exports[\"default\"] = Header;//# sour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AgIDwvZGl2PlxuICApXG59KVxuXG5IZWFkZXIuZGlzcGxheU5hbWUgPSAnSGVhZGVyJ1xuXG5jb25zdCBIZWFkZXJMZWZ0ID0gbWVtbygoe1xuICBjaGlsZHJlbixcbiAgY2xhc3NOYW1lXG59KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdiBjbGFzc05hbWU9e2NsYXNzTmFtZX0+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgPC9kaXY+XG4gIClcbn0pXG5cbkhlYWRlckxlZnQuZGlzcGxheU5hbWUgPSAnSGVhZGVyTGVmdCdcblxuY29uc3QgSGVhZGVyTWFpbiA9IG1lbW8oKHtcbiAgY2hpbGRyZW4sXG4gIGNsYXNzTmFtZVxufSkgPT4ge1xuICByZXR1cm4gKFxuICAgIDxkaXYgY2xhc3NOYW1lPXtjbGFzc25hbWVzKHN0eWxlcy5oZWFkZXJfbWFpbiwgY2xhc3NOYW1lKX0+XG4gICAgICB7Y2hpbGRyZW59XG4gICAgPC9kaXY+XG4gIClcbn0pXG5cbkhlYWRlck1haW4uZGlzcGxheU5hbWUgPSAnSGVhZGVyTWFpbidcblxuSGVhZGVyLkxlZnQgPSBIZWFkZXJMZWZ0XG5IZWFkZXIuTWFpbiA9IEhlYWRlck1haW5cbkhlYWRlci5SaWdodCA9IEhlYWRlckxlZnRcblxuZXhwb3J0IGRlZmF1bHQgSGVhZGVyXG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/web/component/common/Header.jsx\n");

/***/ }),

/***/ "./src/web/component/common/card/AppCard.tsx":
/*!***************************************************!*\
  !*** ./src/web/component/common/card/AppCard.tsx ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _concat = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\"));\nvar _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/slicedToArray.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _kdesign = __webpack_require__(/*! kd_libs/kdesign1 */ \"webpack/container/remote/kd_libs/kdesign1\");\nvar _AppCard = _interopRequireDefault(__webpack_require__(/*! ./AppCard.less */ \"./src/web/component/common/card/AppCard.less\"));\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nvar _useNocodeNavigate = _interopRequireDefault(__webpack_require__(/*! @/route/useNocodeNavigate */ \"./src/route/useNocodeNavigate.ts\"));\nvar _AppIcon = _interopRequireDefault(__webpack_require__(/*! ../AppIcon */ \"./src/web/component/common/AppIcon.tsx\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2023-02-16 18:53:07\n * @LastEditTime: 2023-02-21 20:36:51\n * @Last Modified by: jianhang_he\n */\n\n// import Link from '@/route/NocodeLink'\n\n// import icon from '@@/assets/img/icon.svg'\n/**\n * 应用列表子组件，显示应用信息\n * @param {Object} props\n * @returns jsx\n */\n\nvar AppCardItem = function AppCardItem(props) {\n  var _context;\n  var data = props.data,\n    del = props.del,\n    index = props.index,\n    appId = props.appId,\n    handleExport = props.onExport;\n  var deploystatus = data.deploystatus,\n    description = data.description,\n    id = data.id,\n    image = data.image,\n    name = data.name,\n    collect = data.collect;\n  var navigator = (0, _useNocodeNavigate.default)();\n  var ref = (0, _react.useRef)(null);\n  var menu = /*#__PURE__*/_react.default.createElement(_kdesign.Dropdown.Menu, null, /*#__PURE__*/_react.default.createElement(_kdesign.Dropdown.Item, {\n    key: \"open|\".concat(id),\n    \"data-nc-action\": \"\".concat(appId, \"||as_app_set\")\n  }, \"\\u914D\\u7F6E\\u5E94\\u7528\"), /*#__PURE__*/_react.default.createElement(_kdesign.Dropdown.Item, {\n    key: \"export|\".concat(id)\n  }, \"\\u5BFC\\u51FA\\u5E94\\u7528\"), /*#__PURE__*/_react.default.createElement(_kdesign.Dropdown.Item, {\n    key: \"del|\".concat(id),\n    \"data-nc-action\": \"\".concat(appId, \"||as_app_del\")\n  }, \"\\u5220\\u9664\\u5E94\\u7528\"));\n  var onItemClick = (0, _react.useCallback)(function (key) {\n    var _ref = (key === null || key === void 0 ? void 0 : key.split('|')) || ['', ''],\n      _ref2 = (0, _slicedToArray2.default)(_ref, 2),\n      action = _ref2[0],\n      id = _ref2[1];\n    switch (action) {\n      case 'open':\n        (0, _utils.openner)(\"/\".concat(id, \"/admin\"));\n        break;\n      case 'del':\n        del(id);\n        break;\n      case 'export':\n        handleExport(id);\n        break;\n    }\n  }, [del, handleExport]);\n  var handleClick = (0, _react.useCallback)(function () {\n    (0, _utils.openner)(\"/\".concat(id, \"/home\"));\n  }, []);\n  // const isRunning = deploystatus === '2'\n\n  // 兼容IE\n  var backgroundColor = window.isIE ? (0, _utils.getQueryString)('color', image) : '';\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    ref: ref,\n    className: _AppCard.default.app_card_item,\n    \"data-index\": index\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    onClick: handleClick,\n    className: _AppCard.default.app_card_item_div,\n    \"data-nc-action\": \"\".concat(appId, \"||as_app\")\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppCard.default.app_info\n  }, /*#__PURE__*/_react.default.createElement(_AppIcon.default, {\n    className: _AppCard.default.icon,\n    src: image\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppCard.default.datas\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppCard.default.title,\n    title: name\n  }, name), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppCard.default.des,\n    title: description\n  }, description || '暂无描述')))), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppCard.default.app_status\n  }, /*#__PURE__*/_react.default.createElement(_kdesign.Dropdown, {\n    placement: \"bottomRight\",\n    popperClassName: _AppCard.default.card_action,\n    getPopupContainer: function getPopupContainer(node) {\n      return node;\n    },\n    onItemClick: onItemClick,\n    menu: menu\n  }, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"gengduo\",\n    className: _AppCard.default.more\n  }))), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppCard.default.collect,\n    \"data-nc-action\": (0, _concat.default)(_context = \"\".concat(appId, \"||\")).call(_context, collect ? 'as_app_cfav' : 'as_app_fav'),\n    onClick: function onClick() {\n      return props.collect(index);\n    }\n  }, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: collect ? 'xinxing-mian' : 'xinxing-xian',\n    className: collect ? _AppCard.default.collect_active_icon : _AppCard.default.collect_icon\n  })));\n};\nvar _default = exports[\"default\"] = _react.default.memo(AppCardItem);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/web/component/common/card/AppCard.tsx\n");

/***/ }),

/***/ "./src/web/component/home/AppListItem.tsx":
/*!************************************************!*\
  !*** ./src/web/component/home/AppListItem.tsx ***!
  \************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _concat = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _kdesign = __webpack_require__(/*! kd_libs/kdesign1 */ \"webpack/container/remote/kd_libs/kdesign1\");\nvar _AppListItem = _interopRequireDefault(__webpack_require__(/*! ./AppListItem.less */ \"./src/web/component/home/AppListItem.less\"));\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nvar _WebUI = __webpack_require__(/*! nocode_component/WebUI */ \"webpack/container/remote/nocode_component/WebUI\");\nvar _AppIcon = _interopRequireDefault(__webpack_require__(/*! @/web/component/common/AppIcon */ \"./src/web/component/common/AppIcon.tsx\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n// import { Link } from 'react-router-dom'\n\n// import useNocodeNavigate from '@/route/useNocodeNavigate'\n\n/**\n * 应用列表子组件\n * @param {*} props\n * @returns\n */\nvar AppListItem = function AppListItem(_ref) {\n  var _context;\n  var data = _ref.data,\n    collect = _ref.collect,\n    index = _ref.index,\n    onDelete = _ref.onDelete,\n    handleExport = _ref.onExport,\n    appId = _ref.appId;\n  // const navigator: any = useNocodeNavigate()\n  // console.log(data.description)\n  var handleClick = (0, _react.useCallback)(function () {\n    (0, _utils.openner)(\"/\".concat(data.id, \"/home\"));\n  }, []);\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListItem.default.app_list_item\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListItem.default.app_info,\n    \"data-nc-action\": \"\".concat(appId, \"||as_app\"),\n    onClick: handleClick\n  }, /*#__PURE__*/_react.default.createElement(_AppIcon.default, {\n    className: _AppListItem.default.icon,\n    src: data.image\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListItem.default.datas\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListItem.default.title,\n    title: data.name\n  }, data.name), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListItem.default.des,\n    title: data.description\n  }, data.description || '暂无描述'))), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListItem.default.collect\n  }, data.collect ? /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    \"data-nc-action\": \"\".concat(appId, \"||as_app_cfav\"),\n    prefix: \"nocodeplatformicon\",\n    type: \"xinxing-mian\",\n    onClick: function onClick() {\n      return collect(index);\n    },\n    className: _AppListItem.default.collect_active_icon\n  }) : /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    \"data-nc-action\": \"\".concat(appId, \"||as_app_fav\"),\n    prefix: \"nocodeplatformicon\",\n    type: \"xinxing-xian\",\n    onClick: function onClick() {\n      return collect(index);\n    },\n    className: _AppListItem.default.collect_icon\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListItem.default.creater\n  }, data.creater.name), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListItem.default.time\n  }, (0, _concat.default)(_context = \"\".concat(data.modifier.name, \" | \")).call(_context, data.modifydate || data.createdate)), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListItem.default.app_actions\n  }, /*#__PURE__*/_react.default.createElement(_WebUI.BtnField, {\n    \"data-nc-action\": \"\".concat(appId, \"||as_app_set\"),\n    type: \"text\",\n    major: true,\n    onClick: function onClick() {\n      return (0, _utils.openner)(\"/\".concat(data.id, \"/admin\"));\n    }\n  }, \"\\u914D\\u7F6E\\u5E94\\u7528\"), /*#__PURE__*/_react.default.createElement(_WebUI.BtnField, {\n    \"data-nc-action\": \"\".concat(appId, \"||as_app_set\"),\n    type: \"text\",\n    major: true,\n    onClick: function onClick() {\n      return handleExport(data.id);\n    }\n  }, \"\\u5BFC\\u51FA\\u5E94\\u7528\"), /*#__PURE__*/_react.default.createElement(_WebUI.BtnField, {\n    \"data-nc-action\": \"\".concat(appId, \"||as_app_del\"),\n    type: \"text\",\n    major: true,\n    onClick: function onClick() {\n      return onDelete === null || onDelete === void 0 ? void 0 : onDelete(data.id);\n    }\n  }, \"\\u5220\\u9664\\u5E94\\u7528\")));\n};\nvar _default = exports[\"default\"] = _react.default.memo(AppListItem);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/web/component/home/AppListItem.tsx\n");

/***/ }),

/***/ "./src/web/component/home/ImportAppModal.tsx":
/*!***************************************************!*\
  !*** ./src/web/component/home/ImportAppModal.tsx ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/regenerator */ \"../../node_modules/@babel/runtime-corejs3/regenerator/index.js\"));\nvar _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/asyncToGenerator */ \"../../node_modules/@babel/runtime-corejs3/helpers/asyncToGenerator.js\"));\nvar _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/slicedToArray.js\"));\nvar _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _parseInt2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/parse-int */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/parse-int.js\"));\nvar _includes = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\"));\nvar _promise = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _kdesign = __webpack_require__(/*! kd_libs/kdesign1 */ \"webpack/container/remote/kd_libs/kdesign1\");\nvar _WebUI = __webpack_require__(/*! nocode_component/WebUI */ \"webpack/container/remote/nocode_component/WebUI\");\nvar _ImportExportModal = _interopRequireDefault(__webpack_require__(/*! ../apps/ImportExportModal */ \"./src/web/component/apps/ImportExportModal.jsx\"));\nvar _UploadContainer = _interopRequireDefault(__webpack_require__(/*! ../apps/Import/UploadContainer */ \"./src/web/component/apps/Import/UploadContainer.jsx\"));\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nvar _reducer = __webpack_require__(/*! @/utils/reducer */ \"./src/utils/reducer.ts\");\nvar _home = __webpack_require__(/*! @/actions/home */ \"./src/actions/home.js\");\nvar _CreateAppModal = _interopRequireDefault(__webpack_require__(/*! ../common/templates/CreateAppModal */ \"./src/web/component/common/templates/CreateAppModal.tsx\"));\nvar _CircleProgress = _interopRequireDefault(__webpack_require__(/*! ../apps/CircleProgress */ \"./src/web/component/apps/CircleProgress.jsx\"));\nvar _useDebounce = _interopRequireDefault(__webpack_require__(/*! @/hooks/useDebounce */ \"./src/hooks/useDebounce.tsx\"));\nvar _useFakeLoading2 = _interopRequireDefault(__webpack_require__(/*! @/hooks/useFakeLoading */ \"./src/hooks/useFakeLoading.ts\"));\nvar _useAppContext2 = _interopRequireDefault(__webpack_require__(/*! @/hooks/useAppContext */ \"./src/hooks/useAppContext.js\"));\nvar _ImportAppModal = _interopRequireDefault(__webpack_require__(/*! ./ImportAppModal.less */ \"./src/web/component/home/ImportAppModal.less\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nvar Step = /*#__PURE__*/function (Step) {\n  Step[Step[\"CHOOSE_FILE\"] = 0] = \"CHOOSE_FILE\";\n  Step[Step[\"PENDING\"] = 1] = \"PENDING\";\n  return Step;\n}(Step || {});\nvar INIT_CREATE_APP_STATE = {\n  visible: false,\n  // 创建应用弹窗显示、隐藏\n  appInfo: {},\n  withData: true\n};\nvar CREATE_APP_FOOTER_PROPS = {\n  dataKey: 'withData',\n  text: '保留表单记录'\n};\n\n// 可允许上传的excel类型\nvar FILE_ACCEPT_LIST = ['application/zip',\n// zip文件\n'application/x-zip-compressed'];\n\n// 上传状态\nvar UPLOADING = 'uploading'; // 上传中\nvar UPLOAD_SUCCESS = 'done'; // 上传成功\n\n// 当前步骤相关的信息\nvar INIT_IMPORT_STATE = {\n  curStepIndex: Step.CHOOSE_FILE\n};\nvar ImportStep = function ImportStep(_ref) {\n  var currentData = _ref.currentData,\n    stepInfo = _ref.stepInfo;\n  var _ref2 = currentData || {},\n    curIndex = _ref2.curIndex,\n    curStatus = _ref2.curStatus;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ImportAppModal.default.importmodal_step\n  }, /*#__PURE__*/_react.default.createElement(_kdesign.Steps, {\n    current: curIndex,\n    status: curStatus || 'process'\n  }, (0, _map.default)(stepInfo).call(stepInfo, function (item, index) {\n    return /*#__PURE__*/_react.default.createElement(_kdesign.Step, {\n      key: index,\n      title: item.title\n    });\n  })));\n};\n\n// 上传文件\nvar ChooseFile = (0, _react.memo)(function (_ref3) {\n  var handleUploadSucess = _ref3.onUploadSuccess;\n  var _useState = (0, _react.useState)(0),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    percent = _useState2[0],\n    setPercent = _useState2[1];\n  var _useState3 = (0, _react.useState)(false),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    isUploading = _useState4[0],\n    setIsUploading = _useState4[1];\n  var _useAppContext = (0, _useAppContext2.default)(),\n    state = _useAppContext.state;\n  var _state$sysConfig = state.sysConfig,\n    sysConfig = _state$sysConfig === void 0 ? {} : _state$sysConfig;\n  var beforeUpload = function beforeUpload(file) {\n    var type = file.type;\n    var sysAttachUploadMaxSize = (0, _parseInt2.default)((sysConfig.maxAttachmentUploadSize || 1052428800) / 1024 / 1024);\n    var maxSize = Math.min(sysAttachUploadMaxSize, 100);\n    if (!(0, _includes.default)(FILE_ACCEPT_LIST).call(FILE_ACCEPT_LIST, type)) {\n      (0, _utils.showNotice)('warnning', '上传的文件不是Zip文件，请重新选择');\n      return false;\n    }\n    var isSizeEnabled = file.size / 1024 / 1024 < maxSize;\n    if (!isSizeEnabled) {\n      (0, _utils.showNotice)('warnning', \"\\u4E0A\\u4F20\\u6587\\u4EF6\\u9700\\u8981\\u5C0F\\u4E8E\".concat(maxSize, \"M\\uFF0C\\u8BF7\\u91CD\\u65B0\\u9009\\u62E9\"));\n      return false;\n    }\n    return _promise.default.resolve(file);\n  };\n\n  // 上传文件中\n  var onUploading = function onUploading(file) {\n    if (!isUploading) {\n      setIsUploading(true);\n    }\n    var uploadPercent = file.percent;\n    setPercent((0, _parseInt2.default)(uploadPercent));\n  };\n  var onUploadChange = function onUploadChange(_ref4) {\n    var _ref4$file = _ref4.file,\n      file = _ref4$file === void 0 ? {} : _ref4$file;\n    var status = file.status;\n    switch (status) {\n      case UPLOADING:\n        // 上传中\n        onUploading(file);\n        break;\n      case UPLOAD_SUCCESS:\n        // 上传完成\n        setIsUploading(false);\n        var _ref5 = file.response.data || {},\n          _ref5$url = _ref5.url,\n          url = _ref5$url === void 0 ? '' : _ref5$url;\n        handleUploadSucess(url);\n        break;\n      default:\n        console.error(\"\\u672A\\u77E5\\u4E0A\\u4F20\\u72B6\\u6001 \".concat(status, \" \"));\n        break;\n    }\n  };\n  if (isUploading) {\n    return /*#__PURE__*/_react.default.createElement(\"div\", {\n      style: {\n        paddingTop: 122\n      }\n    }, /*#__PURE__*/_react.default.createElement(_CircleProgress.default, {\n      percent: percent,\n      textMap: [percent === 100 ? '文件已上传，即将导入应用，请耐心等待' : '文件上传中，请耐心等待']\n    }));\n  }\n  return /*#__PURE__*/_react.default.createElement(_UploadContainer.default, {\n    beforeUpload: beforeUpload,\n    onChange: onUploadChange,\n    accept: \".zip\",\n    tempstorage: false,\n    renderUploadText: function renderUploadText() {\n      return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"p\", {\n        className: _ImportAppModal.default.create_form_by_import_body_uploadtext\n      }, \"\\u70B9\\u51FB\\u6216\\u62D6\\u52A8\\u6587\\u4EF6\\u5230\\u6B64\\u4F4D\\u7F6E\\u4E0A\\u4F20\"));\n    }\n  });\n});\nChooseFile.displayName = 'ChooseFile';\nvar ImportAppModal = (0, _react.memo)(function (_ref6) {\n  var visible = _ref6.visible,\n    onClose = _ref6.onClose,\n    onSuccess = _ref6.onSuccess;\n  var _useReducer = (0, _react.useReducer)(_reducer.assignDataReducer, INIT_IMPORT_STATE),\n    _useReducer2 = (0, _slicedToArray2.default)(_useReducer, 2),\n    state = _useReducer2[0],\n    dispatch = _useReducer2[1];\n  var _useReducer3 = (0, _react.useReducer)(_reducer.assignDataReducer, INIT_CREATE_APP_STATE),\n    _useReducer4 = (0, _slicedToArray2.default)(_useReducer3, 2),\n    createAppState = _useReducer4[0],\n    dispatchCreateAppState = _useReducer4[1];\n  var curStepIndex = state.curStepIndex;\n  var importFileUrl = (0, _react.useRef)('');\n  var STEP_INFO = (0, _react.useMemo)(function () {\n    return [{\n      title: '上传Zip文件'\n    }, {\n      title: '导入应用'\n    }];\n  }, []);\n  var fakeLoadingBegin = function fakeLoadingBegin() {\n    dispatch({\n      curStepIndex: Step.PENDING\n    });\n  };\n  var fakeLoadingOver = function fakeLoadingOver() {\n    dispatch({\n      curStepIndex: Step.CHOOSE_FILE\n    });\n    onClose();\n  };\n  var _useFakeLoading = (0, _useFakeLoading2.default)({\n      timeOut: 10,\n      beginCallBack: fakeLoadingBegin,\n      overCallBack: fakeLoadingOver\n    }),\n    beginLoading = _useFakeLoading.begin,\n    schedule = _useFakeLoading.schedule,\n    overLoading = _useFakeLoading.over;\n\n  // 上传成功后，开始导入\n  var startImport = (0, _react.useCallback)( /*#__PURE__*/function () {\n    var _ref7 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(fileUrl) {\n      var res, _ref8, name, icon, description, withData, appInfo, message;\n      return _regenerator.default.wrap(function _callee$(_context) {\n        while (1) switch (_context.prev = _context.next) {\n          case 0:\n            if (fileUrl) {\n              _context.next = 3;\n              break;\n            }\n            (0, _utils.showNotice)('warning', '导入地址不存在');\n            return _context.abrupt(\"return\");\n          case 3:\n            beginLoading();\n            _context.prev = 4;\n            _context.next = 7;\n            return (0, _home.appImport)({\n              pre: 'true',\n              file: fileUrl\n            });\n          case 7:\n            res = _context.sent;\n            if (res) {\n              _ref8 = (res === null || res === void 0 ? void 0 : res.extra) || {}, name = _ref8.name, icon = _ref8.image, description = _ref8.description, withData = _ref8.withData;\n              appInfo = {\n                name: name,\n                icon: icon,\n                description: description\n              };\n              overLoading();\n              dispatchCreateAppState({\n                visible: true,\n                appInfo: appInfo,\n                withData: withData\n              });\n              importFileUrl.current = fileUrl;\n            }\n            _context.next = 16;\n            break;\n          case 11:\n            _context.prev = 11;\n            _context.t0 = _context[\"catch\"](4);\n            overLoading();\n            message = _context.t0.message;\n            _WebUI.WebMsg.showConfirmModal({\n              type: 'fail',\n              title: '导入失败',\n              content: message,\n              actions: [{\n                text: '我知道了',\n                key: 'ok'\n              }]\n            });\n          case 16:\n          case \"end\":\n            return _context.stop();\n        }\n      }, _callee, null, [[4, 11]]);\n    }));\n    return function (_x) {\n      return _ref7.apply(this, arguments);\n    };\n  }(), [beginLoading, overLoading, dispatchCreateAppState]);\n\n  // 步骤对应的内容\n  var ImportStepContent = (0, _react.useMemo)(function () {\n    return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, curStepIndex === Step.CHOOSE_FILE && /*#__PURE__*/_react.default.createElement(ChooseFile, {\n      onUploadSuccess: startImport\n    }), curStepIndex === Step.PENDING && /*#__PURE__*/_react.default.createElement(\"div\", {\n      style: {\n        paddingTop: 122\n      }\n    }, /*#__PURE__*/_react.default.createElement(_CircleProgress.default, {\n      percent: schedule,\n      textMap: ['导入应用中，请耐心等待']\n    })));\n  }, [curStepIndex, schedule, startImport]);\n  var bodyNode = (0, _react.useMemo)(function () {\n    return /*#__PURE__*/_react.default.createElement(\"div\", {\n      className: _ImportAppModal.default.create_form_by_import_body\n    }, /*#__PURE__*/_react.default.createElement(ImportStep, {\n      currentData: {\n        curIndex: curStepIndex\n      },\n      stepInfo: STEP_INFO\n    }), ImportStepContent);\n  }, [state, ImportStepContent]);\n\n  // 关闭弹窗\n  var handleCloseModal = function handleCloseModal() {\n    onClose === null || onClose === void 0 || onClose();\n  };\n  var handleCreateApp = (0, _react.useCallback)( /*#__PURE__*/function () {\n    var _ref9 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(data) {\n      var name, description, image, withData, closeMessage, res, _ref10, _ref10$appId, appId, message;\n      return _regenerator.default.wrap(function _callee2$(_context2) {\n        while (1) switch (_context2.prev = _context2.next) {\n          case 0:\n            name = data.name, description = data.description, image = data.icon, withData = data.withData;\n            closeMessage = (0, _utils.showLoadingMessage)('正在创建应用，请稍候...');\n            _context2.prev = 2;\n            _context2.next = 5;\n            return (0, _home.appImport)({\n              name: name,\n              description: description,\n              image: image,\n              withData: String(withData),\n              file: importFileUrl.current\n            });\n          case 5:\n            res = _context2.sent;\n            _ref10 = res.extra || {}, _ref10$appId = _ref10.appId, appId = _ref10$appId === void 0 ? '' : _ref10$appId;\n            onSuccess === null || onSuccess === void 0 || onSuccess();\n            closeMessage({\n              type: 'success',\n              content: '创建应用成功'\n            });\n            if (appId) {\n              (0, _utils.openner)(\"/\".concat(appId, \"/home\"));\n            }\n            _context2.next = 18;\n            break;\n          case 12:\n            _context2.prev = 12;\n            _context2.t0 = _context2[\"catch\"](2);\n            console.log(_context2.t0);\n            message = _context2.t0.message;\n            closeMessage();\n            _WebUI.WebMsg.showConfirmModal({\n              type: 'fail',\n              title: '导入失败',\n              content: message,\n              actions: [{\n                text: '我知道了',\n                key: 'ok'\n              }]\n            });\n          case 18:\n            importFileUrl.current = '';\n          case 19:\n          case \"end\":\n            return _context2.stop();\n        }\n      }, _callee2, null, [[2, 12]]);\n    }));\n    return function (_x2) {\n      return _ref9.apply(this, arguments);\n    };\n  }(), []);\n  var debounceCreateApp = (0, _useDebounce.default)(handleCreateApp, 500);\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_ImportExportModal.default, {\n    className: _ImportAppModal.default.create_form_by_import,\n    title: \"\\u5BFC\\u5165\\u5E94\\u7528\",\n    titleTips: \"\\u5C06\\u5E94\\u7528\\u6587\\u4EF6\\u5BFC\\u5165\\u4EE5\\u521B\\u5EFA\\u4E00\\u4E2A\\u65B0\\u7684\\u5E94\\u7528\",\n    height: 520,\n    body: bodyNode,\n    visible: visible,\n    onClose: handleCloseModal,\n    renderFooter: function renderFooter() {\n      return null;\n    }\n  }), /*#__PURE__*/_react.default.createElement(_CreateAppModal.default, {\n    title: \"\\u901A\\u8FC7\\u5BFC\\u5165\\u521B\\u5EFA\\u5E94\\u7528\",\n    showFooterCheckbox: createAppState.withData,\n    footerCheckBoxProps: CREATE_APP_FOOTER_PROPS,\n    value: createAppState.appInfo,\n    visible: createAppState.visible,\n    setVisible: function setVisible(vi) {\n      return dispatchCreateAppState({\n        visible: vi\n      });\n    },\n    onConfirm: debounceCreateApp\n  }));\n});\nImportAppModal.displayName = 'ImportAppModal';\nvar _default = exports[\"default\"] = ImportAppModal;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/web/component/home/ImportAppModal.tsx\n");

/***/ }),

/***/ "./src/web/component/skeleton/allAppsPageSkeleton.ts":
/*!***********************************************************!*\
  !*** ./src/web/component/skeleton/allAppsPageSkeleton.ts ***!
  \***********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.allAppsPageSkeleton = void 0;\n/*\n * @Description: 应用中心-全部应用-骨架屏\n * @Author: john_xin_gu\n * @Date: 2023-07-26 19:12:56\n * @LastEditTime: 2023-09-07 14:55:09\n * @Last Modified by: john_xin_gu\n */\n\nvar allAppsPageSkeleton = exports.allAppsPageSkeleton = [{\n  width: '100%',\n  height: '100%',\n  flexDirection: 'column',\n  child: [{\n    width: 'auto',\n    height: '36px',\n    margin: '20px calc((100% - 1180px) / 2)',\n    type: 'HEAD',\n    child: [{\n      width: 'auto',\n      height: '36px',\n      child: [{\n        width: '128px',\n        height: '36px',\n        type: 'INPUT',\n        margin: '0px'\n      }, {\n        width: '142px',\n        height: '36px',\n        type: 'INPUT'\n      }]\n    }, {\n      width: 'auto',\n      height: '28px',\n      child: [{\n        width: '200px',\n        height: '28px',\n        type: 'INPUT'\n      }, {\n        width: '120px',\n        height: '28px',\n        type: 'INPUT'\n      }, {\n        width: '52px',\n        height: '28px',\n        type: 'INPUT'\n      }]\n    }]\n  }, {\n    width: 'auto',\n    height: 'auto',\n    margin: '0px calc((100% - 1180px) / 2)',\n    flexWrap: 'wrap',\n    child: [{\n      width: '280px',\n      height: '156px',\n      type: 'CARD',\n      repeat: 16,\n      child: [{\n        width: '40px',\n        height: '40px',\n        type: 'INPUT',\n        margin: '20px 0px 0px 16px'\n      }, {\n        width: '196px',\n        height: '120px',\n        flexDirection: 'column',\n        margin: '20px 0px 0px 12px',\n        child: [{\n          width: 'auto',\n          height: '16px',\n          margin: '0px 0px 12px 0px',\n          type: 'HEAD',\n          child: [{\n            width: '64px',\n            height: '16px',\n            margin: '0px',\n            type: 'INPUT'\n          }, {\n            width: '16px',\n            height: '16px',\n            type: 'INPUT'\n          }]\n        }, {\n          width: '196px',\n          height: '12px',\n          type: 'INPUT',\n          margin: '0px 0px 8px 0px'\n        }, {\n          width: '120px',\n          height: '12px',\n          type: 'INPUT',\n          margin: '0px 0px 40px 0px'\n        }, {\n          width: 'auto',\n          height: '20px',\n          justifyContent: 'flex-end',\n          child: [{\n            width: '20px',\n            height: '20px',\n            margin: '0px',\n            type: 'INPUT'\n          }]\n        }]\n      }]\n    }]\n  }]\n}];//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/web/component/skeleton/allAppsPageSkeleton.ts\n");

/***/ }),

/***/ "./src/web/layout/home/AppCardLayout.tsx":
/*!***********************************************!*\
  !*** ./src/web/layout/home/AppCardLayout.tsx ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _AppCardLayout = _interopRequireDefault(__webpack_require__(/*! ./AppCardLayout.less */ \"./src/web/layout/home/AppCardLayout.less\"));\nvar _AppCard = _interopRequireDefault(__webpack_require__(/*! @/web/component/common/card/AppCard */ \"./src/web/component/common/card/AppCard.tsx\"));\nvar _useIntersectionObserver = __webpack_require__(/*! @/hooks/useIntersectionObserver */ \"./src/hooks/useIntersectionObserver.ts\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n// 卡片列表UI\nfunction AppCardLayout(props) {\n  var appDatas = props.data,\n    collect = props.collect,\n    refresh = props.refresh,\n    loadMore = props.loadMore,\n    noMore = props.noMore,\n    onDelete = props.onDelete,\n    appId = props.appId,\n    onExport = props.onExport;\n  var cardList = (0, _react.useRef)(null);\n  var loadRef = (0, _react.useRef)(null);\n  (0, _react.useEffect)(function () {\n    var clearObserver = (0, _useIntersectionObserver.addIntersectionObserver)(loadRef.current, function () {\n      !noMore && (loadMore === null || loadMore === void 0 ? void 0 : loadMore());\n    });\n    return function () {\n      return clearObserver === null || clearObserver === void 0 ? void 0 : clearObserver();\n    };\n  }, [loadRef.current, loadMore, noMore]);\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    ref: cardList,\n    className: _AppCardLayout.default.app_list_box\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppCardLayout.default.list\n  }, appDatas.length > 0 && (0, _map.default)(appDatas).call(appDatas, function (item, index) {\n    return /*#__PURE__*/_react.default.createElement(_AppCard.default, {\n      key: item.id,\n      appId: appId,\n      data: item,\n      del: onDelete,\n      collect: collect,\n      onExport: onExport,\n      index: index\n    });\n  })), !noMore && /*#__PURE__*/_react.default.createElement(\"div\", {\n    ref: loadRef,\n    className: _AppCardLayout.default.loading\n  }, \"\\u52A0\\u8F7D\\u4E2D\\uFF0C\\u8BF7\\u7A0D\\u5019\")));\n}\nvar _default = exports[\"default\"] = (0, _react.memo)(AppCardLayout);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2xheW91dC9ob21lL0FwcENhcmRMYXlvdXQudHN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQWFBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUdB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VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/web/layout/home/AppCardLayout.tsx\n");

/***/ }),

/***/ "./src/web/layout/home/AppConfigLayout.tsx":
/*!*************************************************!*\
  !*** ./src/web/layout/home/AppConfigLayout.tsx ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _kdesign = __webpack_require__(/*! kd_libs/kdesign1 */ \"webpack/container/remote/kd_libs/kdesign1\");\nvar _AppConfigLayout = _interopRequireDefault(__webpack_require__(/*! ./AppConfigLayout.less */ \"./src/web/layout/home/AppConfigLayout.less\"));\nvar _home = __webpack_require__(/*! @/actions/home */ \"./src/actions/home.js\");\nvar _AppConfigItem = _interopRequireDefault(__webpack_require__(/*! @/web/component/admin/AppConfigItem */ \"./src/web/component/admin/AppConfigItem.tsx\"));\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/**\n * 应用创建/更新组件\n * @param {{visible: Boolean, setVisible: Function, success: Function}} props\n * @param { Boolean } visible 显示/隐藏Modal\n * @param { Function } setVisible 显示/隐藏函数\n * @param { Function } success 创建/更新成功后，回调函数\n * @returns jsx\n */\n\n// 请求参数\nvar appConfigParam = {\n  id: '',\n  name: '',\n  // image: 'nocode/v2/nocode_sys/common/svgs/create_svg?color=%233987ED&svg=svg18',\n  image: '',\n  description: ''\n};\nvar AppConfigLayout = function AppConfigLayout(props) {\n  var visible = props.visible,\n    setVisible = props.setVisible,\n    success = props.success;\n  var handleRef = (0, _react.useRef)(null);\n\n  // 底部按钮UI\n  var Footer = function Footer() {\n    return /*#__PURE__*/_react.default.createElement(\"div\", {\n      className: _AppConfigLayout.default.create_app_footer\n    }, /*#__PURE__*/_react.default.createElement(_kdesign.Button, {\n      size: \"small\",\n      onClick: function onClick() {\n        return setVisible(false);\n      }\n    }, \"\\u53D6\\u6D88\"), /*#__PURE__*/_react.default.createElement(_kdesign.Button, {\n      size: \"small\",\n      type: \"primary\",\n      onClick: handleOnOk\n    }, \"\\u786E\\u5B9A\"));\n  };\n\n  /**\n   * 点击弹窗确定按钮\n   */\n  var handleOnOk = (0, _react.useCallback)(function () {\n    if (!appConfigParam.name || !appConfigParam.image) {\n      handleRef.current.setError(true);\n      return;\n    }\n    (0, _home.configApp)(appConfigParam).then(function (res) {\n      success(res);\n    }).catch(function (err) {\n      return (0, _utils.showNotice)('error', err.message);\n    });\n    setVisible(false);\n  }, []);\n\n  /**\n   * AppConfigItem更新数据时，同时更新父组件数据\n   */\n  var updateAppInfo = (0, _react.useCallback)(function (data) {\n    // console.log('updateAppInfo', data)\n    appConfigParam = data;\n  }, []);\n  var onApi = (0, _react.useCallback)(function (info) {\n    handleRef.current = info;\n  }, []);\n  (0, _react.useEffect)(function () {\n    if (!visible) {\n      appConfigParam = {\n        id: '',\n        name: '',\n        image: '',\n        description: ''\n      };\n    }\n  }, [visible]);\n  return /*#__PURE__*/_react.default.createElement(_kdesign.Modal, {\n    type: \"normal\",\n    closable: true,\n    mask: true,\n    destroyOnClose: true,\n    className: _AppConfigLayout.default.create_box,\n    bodyStyle: {\n      padding: 24\n    },\n    title: \"\\u521B\\u5EFA\\u7A7A\\u767D\\u5E94\\u7528\",\n    body: /*#__PURE__*/_react.default.createElement(_AppConfigItem.default, {\n      onApi: onApi,\n      data: appConfigParam,\n      update: updateAppInfo\n    }),\n    footer: /*#__PURE__*/_react.default.createElement(Footer, null),\n    height: 436,\n    visible: visible,\n    keyboard: false,\n    maskClosable: false,\n    onCancel: function onCancel() {\n      return setVisible(false);\n    }\n  });\n};\nvar _default = exports[\"default\"] = _react.default.memo(AppConfigLayout);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/web/layout/home/AppConfigLayout.tsx\n");

/***/ }),

/***/ "./src/web/layout/home/AppListLayout.tsx":
/*!***********************************************!*\
  !*** ./src/web/layout/home/AppListLayout.tsx ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _AppListLayout = _interopRequireDefault(__webpack_require__(/*! ./AppListLayout.less */ \"./src/web/layout/home/AppListLayout.less\"));\nvar _AppListItem = _interopRequireDefault(__webpack_require__(/*! @/web/component/home/AppListItem */ \"./src/web/component/home/AppListItem.tsx\"));\nvar _useIntersectionObserver = __webpack_require__(/*! @/hooks/useIntersectionObserver */ \"./src/hooks/useIntersectionObserver.ts\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nvar AppListLayout = (0, _react.forwardRef)(function (props, ref) {\n  var data = props.data,\n    noMore = props.noMore,\n    loadMore = props.loadMore,\n    onDelete = props.onDelete,\n    onExport = props.onExport,\n    appId = props.appId;\n  var loadRef = (0, _react.useRef)(null);\n  (0, _react.useEffect)(function () {\n    var clearObserver = (0, _useIntersectionObserver.addIntersectionObserver)(loadRef.current, function () {\n      !noMore && (loadMore === null || loadMore === void 0 ? void 0 : loadMore());\n    });\n    return function () {\n      return clearObserver === null || clearObserver === void 0 ? void 0 : clearObserver();\n    };\n  }, [loadRef.current, loadMore, noMore]);\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListLayout.default.app_list_table\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListLayout.default.header\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListLayout.default.app_list_tr\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListLayout.default.app_info\n  }, \"\\u5E94\\u7528\\u540D\\u79F0\"), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListLayout.default.collect\n  }, \"\\u6536\\u85CF\\u5E94\\u7528\"), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListLayout.default.creater\n  }, \"\\u521B\\u5EFA\\u4EBA\"), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListLayout.default.time\n  }, \"\\u6700\\u540E\\u66F4\\u65B0\"), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListLayout.default.app_actions\n  }, \"\\u64CD\\u4F5C\"))), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListLayout.default.list\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppListLayout.default.box\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    ref: ref,\n    className: _AppListLayout.default.app_list_body\n  }, /*#__PURE__*/_react.default.createElement(\"div\", null, data.length > 0 && (0, _map.default)(data).call(data, function (item, index) {\n    return /*#__PURE__*/_react.default.createElement(_AppListItem.default, {\n      key: item.id,\n      appId: appId,\n      data: item,\n      index: index,\n      collect: props === null || props === void 0 ? void 0 : props.collect,\n      onDelete: onDelete,\n      onExport: onExport\n    });\n  })), !noMore && /*#__PURE__*/_react.default.createElement(\"div\", {\n    ref: loadRef,\n    className: _AppListLayout.default.loading\n  }, \"\\u52A0\\u8F7D\\u4E2D\\uFF0C\\u8BF7\\u7A0D\\u5019\")))));\n});\nvar _default = exports[\"default\"] = _react.default.memo(AppListLayout);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2xheW91dC9ob21lL0FwcExpc3RMYXlvdXQudHN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQVdBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUFBO0FBRUE7QUFBQTtBQUNBO0FBQUE7QUFFQTtBQUFBO0FBQ0E7QUFBQTtBQUdBO0FBQUE7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBRUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFHQTtBQUFBO0FBQUE7QUFNQTtBQUFBIiwic291cmNlcyI6WyJ3ZW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zdHlsZS5hcHBfbGlzdF9ib2R5fT5cbiAgICAgICAgICAgIDxkaXY+XG4gICAgICAgICAgICAgIHtkYXRhLmxlbmd0aCA+IDAgJiYgZGF0YS5tYXAoKGl0ZW06YW55LCBpbmRleDpudW1iZXIpID0+IDxBcHBMaXN0SXRlbSBrZXk9e2l0ZW0uaWR9IGFwcElkPXthcHBJZH0gZGF0YT17aXRlbX0gaW5kZXg9e2luZGV4fSBjb2xsZWN0PXtwcm9wcz8uY29sbGVjdH0gb25EZWxldGU9e29uRGVsZXRlfSBvbkV4cG9ydD17b25FeHBvcnR9IC8+KX1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgey8qIOWKoOi9veabtOWkmiAqL31cbiAgICAgICAgICAgIHshbm9Nb3JlICYmIDxkaXYgcmVmPXtsb2FkUmVmfSBjbGFzc05hbWU9e3N0eWxlLmxvYWRpbmd9PuWKoOi9veS4re+8jOivt+eojeWAmTwvZGl2Pn1cbiAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgKVxufSlcblxuZXhwb3J0IGRlZmF1bHQgUmVhY3QubWVtbyhBcHBMaXN0TGF5b3V0KVxuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/web/layout/home/AppListLayout.tsx\n");

/***/ }),

/***/ "./src/web/layout/home/AppMessageLayout.tsx":
/*!**************************************************!*\
  !*** ./src/web/layout/home/AppMessageLayout.tsx ***!
  \**************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/defineProperty.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _kdesign = __webpack_require__(/*! kd_libs/kdesign1 */ \"webpack/container/remote/kd_libs/kdesign1\");\nvar _AppMessageLayout = _interopRequireDefault(__webpack_require__(/*! ./AppMessageLayout.less */ \"./src/web/layout/home/AppMessageLayout.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _noMsg = _interopRequireDefault(__webpack_require__(/*! @@/assets/img/no-msg.png */ \"./assets/img/no-msg.png\"));\nvar _useIntersectionObserver = __webpack_require__(/*! @/hooks/useIntersectionObserver */ \"./src/hooks/useIntersectionObserver.ts\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2023-03-15 20:54:29\n * @LastEditTime: 2023-03-16 21:00:15\n * @Last Modified by: jianhang_he\n */\n\n// import { cleanWFUnread } from '@/actions/home'\n\nvar ListItem = (0, _react.memo)(function (_ref) {\n  var item = _ref.item,\n    onItemClick = _ref.onItemClick,\n    appId = _ref.appId;\n  var handleClick = (0, _react.useCallback)(function () {\n    onItemClick === null || onItemClick === void 0 || onItemClick(item);\n  }, [onItemClick]);\n  var isFlow = item.type === 'WF_TO_HANDLED_TASK'; // 是否为流程消息\n  var css = (0, _classnames.default)(_AppMessageLayout.default.icon, (0, _defineProperty2.default)({}, _AppMessageLayout.default.flow, isFlow), (0, _defineProperty2.default)({}, _AppMessageLayout.default.msg, !isFlow));\n  var icon = isFlow ? 'liucheng' : 'laba'; // 显示流程还是消息图标\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppMessageLayout.default.item,\n    \"data-nc-action\": \"\".concat(appId, \"||tb_mc_mes\"),\n    onClick: handleClick\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppMessageLayout.default.content\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: css\n  }, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    type: icon,\n    prefix: \"nocodeplatformicon\"\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppMessageLayout.default.info\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppMessageLayout.default.title,\n    title: item.content\n  }, /*#__PURE__*/_react.default.createElement(\"span\", null, item.sendername, \"\\uFF1A\"), item.content), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppMessageLayout.default.sub_title\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppMessageLayout.default.time\n  }, item.createdate), item.readstate === 'unread' && /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppMessageLayout.default.dot\n  })))));\n});\n\n/**\n * 消息中心列表弹窗\n * @param onClose 关闭函数\n * @param data 列表数据\n * @param noMore 无更多数据\n * @param fetchData 请求数据,加载更多\n * @returns\n */\nvar AppMessageLayout = (0, _react.memo)(function (_ref2) {\n  var onClose = _ref2.onClose,\n    data = _ref2.data,\n    noMore = _ref2.noMore,\n    fetchData = _ref2.fetchData,\n    onItemClick = _ref2.onItemClick,\n    appId = _ref2.appId;\n  var loadRef = (0, _react.useRef)(null);\n  (0, _react.useEffect)(function () {\n    var clearObserver = (0, _useIntersectionObserver.addIntersectionObserver)(loadRef.current, function () {\n      !noMore && (fetchData === null || fetchData === void 0 ? void 0 : fetchData(data));\n    });\n    return function () {\n      return clearObserver === null || clearObserver === void 0 ? void 0 : clearObserver();\n    };\n  }, [loadRef.current, fetchData, noMore, data]);\n\n  // console.log('AppMessageLayout', data, noMore)\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppMessageLayout.default.msg_box\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppMessageLayout.default.nav\n  }, /*#__PURE__*/_react.default.createElement(\"div\", null, \"\\u6D88\\u606F\\u4E2D\\u5FC3\"), /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    type: \"close\",\n    onClick: onClose\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppMessageLayout.default.list\n  }, noMore && data.length === 0 ? /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppMessageLayout.default.no_msg\n  }, /*#__PURE__*/_react.default.createElement(\"img\", {\n    src: _noMsg.default\n  }), /*#__PURE__*/_react.default.createElement(\"span\", null, \"\\u6682\\u65E0\\u6D88\\u606F\")) : (0, _map.default)(data).call(data, function (item) {\n    return /*#__PURE__*/_react.default.createElement(ListItem, {\n      key: item.id,\n      item: item,\n      appId: appId,\n      onItemClick: onItemClick\n    });\n  }), !noMore && /*#__PURE__*/_react.default.createElement(\"div\", {\n    ref: loadRef,\n    className: _AppMessageLayout.default.loading\n  }, \"\\u52A0\\u8F7D\\u4E2D\\uFF0C\\u8BF7\\u7A0D\\u5019\"))));\n});\nListItem.displayName = 'FlowListItem';\nAppMessageLayout.displayName = 'AppMessageLayout';\nvar _default = exports[\"default\"] = AppMessageLayout;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/web/layout/home/AppMessageLayout.tsx\n");

/***/ }),

/***/ "./src/web/layout/home/HeaderLayout.tsx":
/*!**********************************************!*\
  !*** ./src/web/layout/home/HeaderLayout.tsx ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _concat = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\"));\nvar _includes = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\"));\nvar _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _indexOf = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js\"));\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/defineProperty.js\"));\nvar _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/slicedToArray.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _reactDom = __webpack_require__(/*! kd_libs/react-dom */ \"webpack/container/remote/kd_libs/react-dom\");\nvar _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"../../node_modules/react-router-dom/index.js\");\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _reactI18next = __webpack_require__(/*! react-i18next */ \"../../node_modules/react-i18next/dist/es/index.js\");\nvar _kdesign = __webpack_require__(/*! kd_libs/kdesign1 */ \"webpack/container/remote/kd_libs/kdesign1\");\nvar _HeaderLayout = _interopRequireDefault(__webpack_require__(/*! ./HeaderLayout.less */ \"./src/web/layout/home/HeaderLayout.less\"));\nvar _Header = _interopRequireDefault(__webpack_require__(/*! @/web/component/common/Header */ \"./src/web/component/common/Header.jsx\"));\nvar _app = __webpack_require__(/*! @/app */ \"./src/app.jsx\");\nvar _UserPopLayout = _interopRequireDefault(__webpack_require__(/*! @/web/layout/home/UserPopLayout */ \"./src/web/layout/home/UserPopLayout.tsx\"));\nvar _NocodeLink = _interopRequireDefault(__webpack_require__(/*! @/route/NocodeLink */ \"./src/route/NocodeLink.tsx\"));\nvar _AppMessageLayout = _interopRequireDefault(__webpack_require__(/*! ./AppMessageLayout */ \"./src/web/layout/home/AppMessageLayout.tsx\"));\nvar _HomeContainer = _interopRequireDefault(__webpack_require__(/*! @/web/component/home/HomeContainer */ \"./src/web/component/home/HomeContainer.tsx\"));\nvar _theme = __webpack_require__(/*! @/theme/ */ \"./src/theme/index.tsx\");\nvar _home = __webpack_require__(/*! @/actions/home */ \"./src/actions/home.js\");\nvar _WebUI = __webpack_require__(/*! nocode_component/WebUI */ \"webpack/container/remote/nocode_component/WebUI\");\nvar _service = __webpack_require__(/*! @/service */ \"./src/service/index.ts\");\nvar _PopBill = _interopRequireDefault(__webpack_require__(/*! @/web/component/apps/PopBill */ \"./src/web/component/apps/PopBill.tsx\"));\nvar _immer = _interopRequireDefault(__webpack_require__(/*! kd_libs/immer */ \"webpack/container/remote/kd_libs/immer\"));\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2023-02-13 19:09:11\n * @LastEditTime: 2024-07-25 13:49:58\n * @Last Modified by: jianhang_he\n */\n\n// import { setDocumentTitle } from '@/utils'\n\n/**\n * 零代码主页头部模块, 消息中心数据请求迁到头部执行\n * @returns jsx\n */\n\nvar HomeHeaderLayout = function HomeHeaderLayout() {\n  var _useTranslation = (0, _reactI18next.useTranslation)(),\n    t = _useTranslation.t;\n  var _useContext = (0, _react.useContext)(_app.Context),\n    state = _useContext.state;\n  var userInfo = state.userInfo,\n    rootConfig = state.rootConfig,\n    fileServer = state.fileServer; // 用户信息\n  var _useLocation = (0, _reactRouterDom.useLocation)(),\n    pathname = _useLocation.pathname;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    visible = _useState2[0],\n    setVisible = _useState2[1];\n  var _useState3 = (0, _react.useState)(false),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    msgVisible = _useState4[0],\n    setMsgVisible = _useState4[1]; // 消息弹窗可见\n  var _useState5 = (0, _react.useState)(false),\n    _useState6 = (0, _slicedToArray2.default)(_useState5, 2),\n    flowVisible = _useState6[0],\n    setFlowVisible = _useState6[1]; // 流程弹窗可见\n  var _useState7 = (0, _react.useState)({}),\n    _useState8 = (0, _slicedToArray2.default)(_useState7, 2),\n    bosConfig = _useState8[0],\n    setBosConfig = _useState8[1]; // 流程BOS配置信息\n  var themeContext = (0, _react.useContext)(_theme.ThemeContext) || {};\n  var theme = themeContext.theme; // 主题上下文\n  var userRef = (0, _react.useRef)(null); // 用户弹窗\n  var _useState9 = (0, _react.useState)([]),\n    _useState10 = (0, _slicedToArray2.default)(_useState9, 2),\n    data = _useState10[0],\n    setData = _useState10[1]; // 消息列表\n  var _useState11 = (0, _react.useState)(false),\n    _useState12 = (0, _slicedToArray2.default)(_useState11, 2),\n    noMore = _useState12[0],\n    setNomore = _useState12[1]; // 没更多数据\n  var _useState13 = (0, _react.useState)(false),\n    _useState14 = (0, _slicedToArray2.default)(_useState13, 2),\n    showEdit = _useState14[0],\n    setShowEdit = _useState14[1]; // 显示编辑按钮\n  var page = (0, _react.useRef)({\n    page_no: 1,\n    page_size: 10\n  }); // 消息列表分页\n  var loading = (0, _react.useRef)(false); // 消息内容加载中\n  // const msgUnreadRef = useRef<any>({ msgIds: [] }) // 消息内容加载中\n\n  var linkList = [{\n    name: t('home.key0001'),\n    // 开始\n    link: '/home'\n  }, {\n    name: t('home.key0002'),\n    // 全部应用\n    link: '/app'\n  }, {\n    name: t('home.key0003'),\n    // 模板市场\n    link: '/template'\n  }, {\n    name: t('home.key0004'),\n    // 流程中心\n    link: '/flow'\n  }];\n  var USER_ACTION = ['tb_h_tab', 'tb_as_tab', 'tb_ts_tab', 'tb_fs_tab'];\n\n  /**\n   * 请求消息列表数据\n   * @param data 原列表数据, 用于loadmore\n   */\n  var fetchData = (0, _react.useCallback)(function () {\n    var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n    if (data.length > 0 && noMore || loading.current) return;\n    if (data.length > 0) page.current.page_no++;\n    loading.current = true;\n    (0, _home.getWFMessage)(page.current).then(function (res) {\n      loading.current = false;\n      var datas = (0, _concat.default)(data).call(data, (res === null || res === void 0 ? void 0 : res.rows) || []); // 合并数据\n      // getAllIds(datas)\n      (0, _reactDom.unstable_batchedUpdates)(function () {\n        setData(datas);\n        setNomore(res.lastPage);\n      });\n    });\n  }, [noMore]);\n\n  // 当平台发送系统消息时，刷新消息列表\n  var handleVisibleChange = (0, _react.useCallback)(function (v) {\n    page.current.page_no = 1;\n    if (v) {\n      fetchData();\n    }\n    setMsgVisible(v);\n  }, [fetchData]);\n\n  // 监听未读消息\n  var _MessageService$on = _service.MessageService.on(_service.MessageService.topic.NOCODE_MESSAGE_CENTER),\n    _MessageService$on2 = (0, _slicedToArray2.default)(_MessageService$on, 2),\n    unReadCount = _MessageService$on2[0],\n    setUnReadCount = _MessageService$on2[1];\n\n  // 获取未读消息数量\n  var getUnreadMessage = (0, _react.useCallback)(function () {\n    (0, _home.getWFUnread)().then(function (result) {\n      setUnReadCount((result === null || result === void 0 ? void 0 : result.totalCount) || 0);\n    });\n  }, []);\n\n  /**\n   * 点击流程节点\n   * @param info 节点信息\n   */\n  var onFlowItemClick = (0, _react.useCallback)(function (info) {\n    var businessKey = info.businessKey,\n      procInstId = info.procInstId,\n      entityNumber = info.entityNumber,\n      readstate = info.readstate,\n      type = info.type,\n      id = info.id,\n      activityId = info.activityId,\n      nodeBusinessKey = info.nodeBusinessKey,\n      appId = info.appId;\n    if (type === 'WF_TO_HANDLED_TASK') {\n      // 待办任务\n      var options = {\n        appId: appId,\n        Status: 'view',\n        pkId: businessKey,\n        targetFormId: entityNumber,\n        procInstId: procInstId,\n        formId: 'bos_nocode_bill',\n        taskId: id,\n        rootPageId: state === null || state === void 0 ? void 0 : state.rootConfig.pageId\n      };\n      if (activityId && nodeBusinessKey) {\n        options.Status = 'edit';\n        options.userTaskActivityId = activityId;\n        options.userTaskBusinessKey = nodeBusinessKey;\n        options.userTaskCurrentUserId = userInfo === null || userInfo === void 0 ? void 0 : userInfo.id;\n      }\n      (0, _reactDom.unstable_batchedUpdates)(function () {\n        setShowEdit(!!(activityId && nodeBusinessKey));\n        setMsgVisible(false);\n        setFlowVisible(true);\n        setBosConfig(options);\n      });\n      return;\n    }\n    if (type === 'WF_MESSAGE_NODE' && readstate === 'unread') {\n      // 清除未读标识\n      (0, _home.cleanWFUnread)({\n        msgIds: [id]\n      }).then(function () {\n        (0, _reactDom.unstable_batchedUpdates)(function () {\n          setUnReadCount(unReadCount - 1);\n          setData((0, _immer.default)(function (draf) {\n            draf.some(function (item) {\n              if (item.id === id) {\n                item.readstate = 'read';\n                return true;\n              }\n              return false;\n            });\n          }));\n        });\n      });\n    }\n  }, [data, state === null || state === void 0 ? void 0 : state.rootConfig, unReadCount, setFlowVisible, setBosConfig, _home.cleanWFUnread]);\n  (0, _react.useEffect)(function () {\n    // fetchData()\n    getUnreadMessage();\n  }, []);\n\n  // 添加消息监听\n  // 目前只有主页的四个tab会触发（工作台，全部应用，模板市场，流程中心）\n  (0, _react.useEffect)(function () {\n    rootConfig && _service.MessageService.connect(rootConfig);\n  }, [rootConfig]);\n\n  // useEffect(() => {\n  //   setDocumentTitle('无代码平台')\n  // }, [])\n  var logo = (0, _react.useMemo)(function () {\n    var _context, _context2;\n    if (!theme.logo) return '';\n    return (0, _includes.default)(_context = theme.logo).call(_context, \"/\".concat(\"ncp\", \"/\")) || (0, _includes.default)(_context2 = theme.logo).call(_context2, 'data:image') ? theme.logo : (0, _utils.getUrlWithDataCenter)(fileServer.imageUrl + theme.logo);\n  }, [theme.logo, fileServer.imageUrl]);\n  var appId = (0, _react.useMemo)(function () {\n    return 'root-' + pathname.split('/')[1];\n  }, [pathname]);\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Header.default, {\n    className: _HeaderLayout.default.app_header\n  }, /*#__PURE__*/_react.default.createElement(_Header.default.Left, {\n    className: _HeaderLayout.default.logo\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _HeaderLayout.default.logo_bg_img\n  }, /*#__PURE__*/_react.default.createElement(\"img\", {\n    src: logo,\n    height: 28\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _HeaderLayout.default.split_line\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _HeaderLayout.default.platformName\n  }, theme.platformName)), /*#__PURE__*/_react.default.createElement(_Header.default.Main, {\n    className: _HeaderLayout.default.nav\n  }, (0, _map.default)(linkList).call(linkList, function (_ref, index) {\n    var _context3;\n    var name = _ref.name,\n      link = _ref.link;\n    if (!link) return /*#__PURE__*/_react.default.createElement(\"a\", {\n      key: name\n    }, /*#__PURE__*/_react.default.createElement(\"p\", null, name));\n    return /*#__PURE__*/_react.default.createElement(_NocodeLink.default, {\n      key: link,\n      \"data-nc-action\": (0, _concat.default)(_context3 = \"\".concat(appId, \"||\")).call(_context3, USER_ACTION[index]),\n      className: (0, _classnames.default)((0, _defineProperty2.default)({}, _HeaderLayout.default.curr, (0, _indexOf.default)(pathname).call(pathname, link) === 0)),\n      to: link\n    }, /*#__PURE__*/_react.default.createElement(\"p\", {\n      title: name\n    }, name));\n  })), /*#__PURE__*/_react.default.createElement(_Header.default.Right, {\n    className: _HeaderLayout.default.user\n  }, /*#__PURE__*/_react.default.createElement(_kdesign.Tooltip, {\n    placement: \"bottomRight\",\n    visible: msgVisible,\n    popperClassName: _HeaderLayout.default.user_msg,\n    onVisibleChange: handleVisibleChange,\n    trigger: \"click\",\n    arrow: false,\n    tip: /*#__PURE__*/_react.default.createElement(_AppMessageLayout.default, {\n      data: data,\n      appId: appId,\n      noMore: noMore,\n      fetchData: fetchData,\n      onItemClick: onFlowItemClick,\n      onClose: function onClose() {\n        return setMsgVisible(false);\n      }\n    })\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    \"data-nc-action\": \"\".concat(appId, \"||tb_mc_bn\"),\n    className: _HeaderLayout.default.btn\n  }, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"xiaoxizhongxin\"\n  }), t('home.message'), unReadCount > 0 && /*#__PURE__*/_react.default.createElement(_kdesign.Badge, {\n    count: unReadCount\n  }))), /*#__PURE__*/_react.default.createElement(_kdesign.Tooltip, {\n    placement: \"bottomRight\",\n    trigger: \"click\",\n    visible: visible,\n    arrow: false,\n    onVisibleChange: function onVisibleChange(v) {\n      return setVisible(v);\n    },\n    popperClassName: _HeaderLayout.default.user_info_pop,\n    tip: /*#__PURE__*/_react.default.createElement(_UserPopLayout.default, {\n      appId: appId,\n      ref: userRef,\n      setVisible: setVisible,\n      data: userInfo\n    })\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    \"data-nc-action\": \"\".concat(appId, \"||tb_head_bn\")\n  }, /*#__PURE__*/_react.default.createElement(_WebUI.Avatar, {\n    className: _HeaderLayout.default.avatar,\n    src: userInfo === null || userInfo === void 0 ? void 0 : userInfo.avatar\n  }))))), /*#__PURE__*/_react.default.createElement(_HomeContainer.default, null, /*#__PURE__*/_react.default.createElement(_reactRouterDom.Outlet, null)), flowVisible && /*#__PURE__*/_react.default.createElement(_PopBill.default, {\n    visible: flowVisible,\n    config: bosConfig,\n    viewAuth: true,\n    showCopy: true,\n    showEdit: showEdit,\n    detailShareReqireLogin: true,\n    detailShareNotReqireLogin: true,\n    close: function close() {\n      return setFlowVisible(false);\n    }\n  }));\n};\nvar _default = exports[\"default\"] = _react.default.memo(HomeHeaderLayout);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/web/layout/home/HeaderLayout.tsx\n");

/***/ }),

/***/ "./src/web/pages/home/all/AllAppsPage.tsx":
/*!************************************************!*\
  !*** ./src/web/pages/home/all/AllAppsPage.tsx ***!
  \************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _trimInstanceProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/trim */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.js\");\nvar _Object$keys = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\nvar _Object$getOwnPropertySymbols = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\nvar _filterInstanceProperty2 = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _Object$getOwnPropertyDescriptors = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js\");\nvar _Object$defineProperties = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-properties.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/defineProperty.js\"));\nvar _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/slicedToArray.js\"));\nvar _promise = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js\"));\nvar _concat = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\"));\nvar _filter = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\"));\nvar _find = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\"));\nvar _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _kdesign = __webpack_require__(/*! kd_libs/kdesign1 */ \"webpack/container/remote/kd_libs/kdesign1\");\nvar _immer = _interopRequireDefault(__webpack_require__(/*! kd_libs/immer */ \"webpack/container/remote/kd_libs/immer\"));\nvar _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"../../node_modules/react-router-dom/index.js\");\nvar _AllAppsPage = _interopRequireDefault(__webpack_require__(/*! ./AllAppsPage.less */ \"./src/web/pages/home/all/AllAppsPage.less\"));\nvar _AppConfigLayout = _interopRequireDefault(__webpack_require__(/*! @/web/layout/home/AppConfigLayout */ \"./src/web/layout/home/AppConfigLayout.tsx\"));\nvar _home = __webpack_require__(/*! @/actions/home */ \"./src/actions/home.js\");\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nvar _useDebounce = _interopRequireDefault(__webpack_require__(/*! @/hooks/useDebounce */ \"./src/hooks/useDebounce.tsx\"));\nvar _AppListLayout = _interopRequireDefault(__webpack_require__(/*! @/web/layout/home/AppListLayout */ \"./src/web/layout/home/AppListLayout.tsx\"));\nvar _AppCardLayout = _interopRequireDefault(__webpack_require__(/*! @/web/layout/home/AppCardLayout */ \"./src/web/layout/home/AppCardLayout.tsx\"));\nvar _actionNames = __webpack_require__(/*! @/reducer/actionNames */ \"./src/reducer/actionNames.js\");\nvar _AppCreatModeGroup = _interopRequireWildcard(__webpack_require__(/*! @/web/component/apps/AppCreatModeGroup */ \"./src/web/component/apps/AppCreatModeGroup.tsx\"));\nvar _AppsNodataPage = _interopRequireDefault(__webpack_require__(/*! ./AppsNodataPage */ \"./src/web/pages/home/all/AppsNodataPage.tsx\"));\nvar _SearchInput = _interopRequireDefault(__webpack_require__(/*! @/web/component/common/SearchInput */ \"./src/web/component/common/SearchInput.tsx\"));\nvar _WebUI = __webpack_require__(/*! nocode_component/WebUI */ \"webpack/container/remote/nocode_component/WebUI\");\nvar _no_search_data = _interopRequireDefault(__webpack_require__(/*! @@/assets/img/no_search_data.png */ \"./assets/img/no_search_data.png\"));\nvar _empty = _interopRequireDefault(__webpack_require__(/*! @@/assets/img/empty.png */ \"./assets/img/empty.png\"));\nvar _useFetchHook = __webpack_require__(/*! @/hooks/useFetchHook */ \"./src/hooks/useFetchHook.ts\");\nvar _api = __webpack_require__(/*! @/ajax/api */ \"./src/ajax/api.js\");\nvar _useNocodeNavigate = _interopRequireDefault(__webpack_require__(/*! @/route/useNocodeNavigate */ \"./src/route/useNocodeNavigate.ts\"));\nvar _reactDom = __webpack_require__(/*! kd_libs/react-dom */ \"webpack/container/remote/kd_libs/react-dom\");\nvar _storageTools = __webpack_require__(/*! @/utils/storageTools */ \"./src/utils/storageTools.ts\");\nvar _allAppsPageSkeleton = __webpack_require__(/*! @/web/component/skeleton/allAppsPageSkeleton */ \"./src/web/component/skeleton/allAppsPageSkeleton.ts\");\nvar _useAppContext2 = _interopRequireDefault(__webpack_require__(/*! @/hooks/useAppContext */ \"./src/hooks/useAppContext.js\"));\nvar _PageEventService = __webpack_require__(/*! @/service/PageEventService */ \"./src/service/PageEventService.ts\");\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _ImportAppModal = _interopRequireDefault(__webpack_require__(/*! @/web/component/home/ImportAppModal */ \"./src/web/component/home/ImportAppModal.tsx\"));\nvar _ExportApp = _interopRequireDefault(__webpack_require__(/*! @/web/component/home/ExportApp */ \"./src/web/component/home/ExportApp.tsx\"));\nvar _reducer = __webpack_require__(/*! @/utils/reducer */ \"./src/utils/reducer.ts\");\nvar _lodash = __webpack_require__(/*! kd_libs/lodash */ \"webpack/container/remote/kd_libs/lodash\");\nvar _constants = __webpack_require__(/*! @/constants */ \"./src/constants/index.ts\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty2(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; } // import { Context } from '@/app'\n// import CreateAppByTemplate from '@/web/component/home/CreateAppByTemplate'\n// 应用过滤条件\nvar appFilter = [{\n  label: '全部应用',\n  value: 0,\n  key: 'as_fil_as'\n}, {\n  label: '我创建的',\n  value: 1,\n  key: 'as_fil_mc'\n}, {\n  label: '我收藏的',\n  value: 2,\n  key: 'as_fil_mf'\n}];\nvar INIT_EXPORT_INFO = {\n  visible: false,\n  appInfo: {}\n};\n\n// 删除弹窗内容\nvar DelBody = (0, _react.memo)(function (_ref) {\n  var data = _ref.data,\n    form = _ref.form;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AllAppsPage.default.del_box\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AllAppsPage.default.des\n  }, \"\\u5220\\u9664\\u5E94\\u7528\\u540E\\uFF0C\\u8868\\u5355\\u3001\\u6D41\\u7A0B\\u3001\\u62A5\\u8868\\u53CA\\u6570\\u636E\\u7B49\\u4E5F\\u5C06\\u4E00\\u5E76\\u5220\\u9664\\uFF0C\\u4E0D\\u53EF\\u6062\\u590D\"), /*#__PURE__*/_react.default.createElement(_kdesign.Form, {\n    layout: \"vertical\",\n    form: form\n  }, /*#__PURE__*/_react.default.createElement(_kdesign.Form.Item, {\n    label: \"\\u5E94\\u7528\\u540D\\u79F0\",\n    name: \"appName\",\n    required: true,\n    rules: [{\n      validator: function validator(_, value) {\n        return data.name === value ? _promise.default.resolve() : _promise.default.reject(new Error('应用名不正确'));\n      }\n    }]\n  }, /*#__PURE__*/_react.default.createElement(_WebUI.Text, {\n    placeholder: \"\\u8BF7\\u8F93\\u5165\\u8BE5\\u5E94\\u7528\\u540D\\u79F0\"\n  }))));\n});\n\n// const listShowType = window.localStorage.getItem('NOCODE_APP_LIST_TYPE') // 获取列表展示方式\n/**\n * 应用中心界面\n * @returns\n */\nfunction AllAppsPage() {\n  var _useState = (0, _react.useState)([]),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    appDatas = _useState2[0],\n    setAppDatas = _useState2[1]; // APP列表数据\n  var _useState3 = (0, _react.useState)('card'),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    showType = _useState4[0],\n    setShowType = _useState4[1]; // 展示方式 ['card','list']\n  var _useState5 = (0, _react.useState)(false),\n    _useState6 = (0, _slicedToArray2.default)(_useState5, 2),\n    modalVisible = _useState6[0],\n    setModalVisible = _useState6[1]; // 创建应用Modal弹窗开关\n  var _useState7 = (0, _react.useState)(false),\n    _useState8 = (0, _slicedToArray2.default)(_useState7, 2),\n    importModalVisible = _useState8[0],\n    setImportModalVisible = _useState8[1]; // 导入应用弹窗显示、隐藏\n  var _useReducer = (0, _react.useReducer)(_reducer.assignDataReducer, INIT_EXPORT_INFO),\n    _useReducer2 = (0, _slicedToArray2.default)(_useReducer, 2),\n    exportInfo = _useReducer2[0],\n    dispatchExportInfo = _useReducer2[1];\n  var _useState9 = (0, _react.useState)(''),\n    _useState10 = (0, _slicedToArray2.default)(_useState9, 2),\n    keyword = _useState10[0],\n    setKeyword = _useState10[1]; // APP名称关键字\n  var _useState11 = (0, _react.useState)(0),\n    _useState12 = (0, _slicedToArray2.default)(_useState11, 2),\n    conduct = _useState12[0],\n    setConduct = _useState12[1]; // APP行为，创建/收藏\n  var loading = (0, _react.useRef)(false); // 加载中\n  var _useState13 = (0, _react.useState)(true),\n    _useState14 = (0, _slicedToArray2.default)(_useState13, 2),\n    skeletonVisable = _useState14[0],\n    setSketonVisable = _useState14[1]; // 骨架屏是否显示\n  var _useState15 = (0, _react.useState)(true),\n    _useState16 = (0, _slicedToArray2.default)(_useState15, 2),\n    noMore = _useState16[0],\n    setNoMore = _useState16[1]; // 最后一页\n  // const [tempModalVisible, setTempModalVisible] = useState(false) // 根据模板创建\n  // 缺省页面不能直接用appDatas.length来判断，\n  // 1、初始状态就是为0，会先显示缺省再展示列表。需要使用额外的状态判断\n  // 2、搜索也会置空\n  var _useState17 = (0, _react.useState)(false),\n    _useState18 = (0, _slicedToArray2.default)(_useState17, 2),\n    isNodata = _useState18[0],\n    setIsNodata = _useState18[1];\n  var _useState19 = (0, _react.useState)(true),\n    _useState20 = (0, _slicedToArray2.default)(_useState19, 2),\n    isInitStatus = _useState20[0],\n    setIsInitStatus = _useState20[1];\n  var _useAppContext = (0, _useAppContext2.default)(),\n    dispatch = _useAppContext.dispatch,\n    sendUiData = _useAppContext.sendUiData,\n    state = _useAppContext.state;\n  var rootConfig = state.rootConfig;\n  var pageParam = (0, _react.useRef)({\n    page_size: 20,\n    page_no: 1,\n    filter: '',\n    app_filter: 0\n  }); // 页码\n  var cardRef = (0, _react.useRef)(null);\n  var listRef = (0, _react.useRef)(null);\n  var _Form$useForm = _kdesign.Form.useForm(),\n    _Form$useForm2 = (0, _slicedToArray2.default)(_Form$useForm, 1),\n    delForm = _Form$useForm2[0];\n  var navigate = (0, _useNocodeNavigate.default)();\n  var Option = _kdesign.Select.Option;\n  var _useLocation = (0, _reactRouterDom.useLocation)(),\n    pathname = _useLocation.pathname;\n  var appId = (0, _react.useMemo)(function () {\n    return 'root-' + pathname.split('/')[1];\n  }, [pathname]);\n\n  // 请求回来之后，更新页面\n  var refreshPage = (0, _react.useCallback)(function (res, apps, loadMore) {\n    (0, _reactDom.unstable_batchedUpdates)(function () {\n      skeletonVisable && setSketonVisable(false);\n      isInitStatus && setIsInitStatus(false);\n      if (res) {\n        var data = loadMore ? (0, _concat.default)(apps).call(apps, res.rows) : res.rows;\n        // changeNoDataStatus(data)\n        setAppDatas(data);\n        setIsNodata(data.length === 0 && !(0, _filter.default)(pageParam.current) && pageParam.current.app_filter === 0);\n        !loadMore && resetScroll();\n      } else {\n        setAppDatas([]);\n      }\n    });\n  }, [appDatas]);\n\n  /**\n   * 获取/更新数据\n   * @param {Function} cb 回调函数\n   */\n  var fetchData = (0, _react.useCallback)(function (params) {\n    var loadMore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n    var save = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n    // if (loading.current) return\n    pageParam.current = _objectSpread(_objectSpread({}, pageParam.current), params);\n    loading.current = true;\n    // 读取缓存数据\n    // !isSearch && getStoreData(APP_LIST_DATA, pageParam.current).then((res:any) => {\n    //   res && refreshPage(res, appDatas, loadMore)\n    // })\n    (0, _home.getAppList)(pageParam.current, dispatch).then(function (res) {\n      loading.current = false;\n      setNoMore(res.lastPage);\n      refreshPage(res, appDatas, loadMore);\n      // 缓存数据\n      save && (0, _useFetchHook.setStoreData)(_api.APP_LIST_DATA, pageParam.current, res);\n    });\n  }, [appDatas, refreshPage]);\n  var debounceFetch = (0, _useDebounce.default)(fetchData);\n  var debouncePublish = (0, _useDebounce.default)(_PageEventService.publishSearchUserEvent); // 搜索事件上报，增加防抖\n\n  (0, _react.useLayoutEffect)(function () {\n    // 读取缓存数据，先从缓存里获取\n    (0, _useFetchHook.getStoreData)(_api.APP_LIST_DATA, pageParam.current).then(function (res) {\n      res && refreshPage(res, [], false);\n      fetchData({}, false, true);\n    });\n    (0, _storageTools.getStorage)('NOCODE_APP_LIST_TYPE').then(function (listShowType) {\n      // 获取列表展示方式\n      if (listShowType && listShowType !== showType) setShowType(listShowType);\n    });\n  }, []);\n\n  /**\n   * 应用收藏/取消收藏-函数\n   * @param {Number} index 应用在数组里的下标\n   */\n  var setCollect = (0, _react.useCallback)(function (index) {\n    var info = appDatas[index];\n    var param = {\n      id: info.id,\n      collect: !info.collect\n    };\n    (0, _home.configApp)(param).then(function (res) {\n      res && setAppDatas((0, _immer.default)(function (draft) {\n        draft[index].collect = !info.collect;\n      }));\n      dispatch({\n        type: _actionNames.UPDATE_APP_INFO_BY_ID,\n        payload: {\n          id: info.id,\n          value: _objectSpread(_objectSpread({}, info), param)\n        }\n      });\n    }).catch(function (err) {\n      return (0, _utils.showNotice)('error', err.message);\n    });\n  }, [appDatas, sendUiData]);\n\n  // 滚动条位置置顶，兼容IE\n  var resetScroll = (0, _react.useCallback)(function () {\n    var _window;\n    var box = showType === 'card' ? cardRef.current : listRef.current;\n    (_window = window) !== null && _window !== void 0 && _window.isIE ? box === null || box === void 0 ? void 0 : box.scrollTop(0) : box === null || box === void 0 ? void 0 : box.scroll([0, 0]);\n  }, [showType]);\n\n  /**\n   * 获取/更新数据, 成功之后在新窗口打开页面\n   */\n  var updateSuccess = (0, _react.useCallback)(function (res) {\n    debounceFetch({\n      page_no: 1\n    });\n    resetScroll();\n    (0, _utils.openner)(\"/\".concat(res.result[0].id, \"/admin\"));\n  }, [resetScroll, debounceFetch]);\n\n  // 点击“从模板创建应用”\n  var handleClickCreateAppByTemp = function handleClickCreateAppByTemp() {\n    navigate('/template');\n  };\n\n  // 搜索框变更\n  var onTextChange = (0, _react.useCallback)(function (text) {\n    var key = (0, _trimInstanceProperty(_lodash))(text);\n    if (keyword === key) return;\n    setKeyword(key);\n    var filter = key ? \"name CS '\".concat(key, \"'\") : ''; // 关键字\n    debounceFetch({\n      page_no: 1,\n      filter: filter\n    }, false, true);\n    debouncePublish({\n      appId: appId,\n      formId: '',\n      action: 'as_srh'\n    });\n  }, [debounceFetch, appId, debouncePublish, keyword, fetchData]);\n\n  // 收藏/创建select变更\n  var onSelectChange = (0, _react.useCallback)(function (v) {\n    setConduct(v);\n    debounceFetch({\n      app_filter: v,\n      page_no: 1\n    });\n  }, [sendUiData, debounceFetch, setConduct]);\n\n  /**\n   * 修改列表展示方式\n   * @param {String} type card / list\n   */\n  var changeShowType = (0, _react.useCallback)(function (type) {\n    setShowType(type);\n    (0, _storageTools.setStorage)('NOCODE_APP_LIST_TYPE', type);\n  }, [sendUiData, setShowType, _storageTools.setStorage]);\n\n  /**\n   * 显示更多组件\n   */\n  var handleMore = (0, _react.useCallback)(function () {\n    if (loading.current || noMore) return;\n    pageParam.current.page_no++;\n    fetchData({}, true);\n  }, [fetchData, appDatas]);\n  var refresh = (0, _react.useCallback)(function () {\n    // setKeyword('')\n    debounceFetch({\n      page_no: 1\n    });\n  }, [debounceFetch]);\n\n  /**\n   * 删除应用\n   * @param {string} id 应用ID\n   */\n  var deleteApp = (0, _react.useCallback)(function (id) {\n    var curApp = (0, _filter.default)(appDatas).call(appDatas, function (item) {\n      return item.id === id;\n    })[0];\n    _WebUI.WebMsg.showConfirmModal({\n      type: 'delete',\n      title: \"\\u786E\\u5B9A\\u8981\\u5220\\u9664\\u5E94\\u7528\\u201C\".concat(curApp.name, \"\\u201D\\u5417\\uFF1F\"),\n      content: /*#__PURE__*/_react.default.createElement(DelBody, {\n        data: curApp,\n        form: delForm\n      }),\n      onAction: function onAction(key) {\n        if (key === 'ok') {\n          (0, _PageEventService.publishClickUserEvent)({\n            appId: appId,\n            formId: '',\n            action: 'as_app_del_comf'\n          });\n          return delForm.validateFields().then(function () {\n            (0, _home.delApp)(id).then(function (res) {\n              delForm.resetFields();\n              if (res) {\n                refresh();\n                (0, _utils.showNotice)('success', '删除成功');\n              }\n            });\n          }).catch(function () {\n            return false;\n          });\n        } else {\n          delForm.resetFields();\n        }\n      }\n    });\n  }, [refresh, showType, appDatas, delForm, sendUiData]);\n\n  /**\n   * @description 点击应用创建方式\n   */\n  var handleClickAppCreatMode = function handleClickAppCreatMode(key) {\n    var _document$activeEleme;\n    (_document$activeEleme = document.activeElement) === null || _document$activeEleme === void 0 || _document$activeEleme.blur();\n    if (!(0, _utils.isCNLanguage)(rootConfig)) {\n      return (0, _utils.showNotice)('warnning', _constants.LANG_INVALID);\n    }\n    // 创建空白应用\n    if (key === _AppCreatModeGroup.CREATE_EMPTY_APP) {\n      setModalVisible(true);\n      return;\n    }\n    // 通过导入创建应用\n    if (key === _AppCreatModeGroup.CREATE_APP_BY_IMPORT) {\n      return setImportModalVisible(true);\n    }\n\n    // 创建模板应用\n    if (key === _AppCreatModeGroup.CREATE_TEMPLATE_APP) {\n      handleClickCreateAppByTemp();\n    }\n  };\n  var handleExportApp = function handleExportApp(id) {\n    var appInfo = (0, _find.default)(appDatas).call(appDatas, function (item) {\n      return item.id === id;\n    }) || {};\n    dispatchExportInfo({\n      visible: true,\n      appInfo: appInfo\n    });\n  };\n  var handleImportAppSuccess = function handleImportAppSuccess() {\n    refresh();\n  };\n  var EmptyDataRenderer = (0, _react.useMemo)(function () {\n    var NoDataDesc = keyword !== null && keyword !== void 0 && keyword.length ? '暂无搜索结果' : conduct === 1 ? '暂无创建的应用' : '暂无收藏的应用';\n    var NoDataImg = keyword !== null && keyword !== void 0 && keyword.length ? _no_search_data.default : _empty.default;\n    return /*#__PURE__*/_react.default.createElement(_WebUI.EmptyData, {\n      desc: NoDataDesc,\n      src: NoDataImg,\n      imageWidth: 224,\n      imageHeight: 128,\n      textGap: 16\n    });\n  }, [keyword, conduct]);\n  (0, _react.useEffect)(function () {\n    (0, _utils.setDocumentTitle)(_constants.ALLAPPS);\n  }, []);\n  if (isInitStatus) {\n    return null;\n  }\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: skeletonVisable ? _AllAppsPage.default.skeleton : _AllAppsPage.default.hidden\n  }, /*#__PURE__*/_react.default.createElement(_WebUI.Skeleton, {\n    options: _allAppsPageSkeleton.allAppsPageSkeleton\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AllAppsPage.default.app_box\n  }, isNodata ? /*#__PURE__*/_react.default.createElement(_AppsNodataPage.default, {\n    appId: appId,\n    onClickAppCreatMode: handleClickAppCreatMode\n  }) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AllAppsPage.default.app_nav\n  }, /*#__PURE__*/_react.default.createElement(_AppCreatModeGroup.default, {\n    options: _AppCreatModeGroup.appCreatModeList,\n    onClick: handleClickAppCreatMode\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AllAppsPage.default.app_filter\n  }, /*#__PURE__*/_react.default.createElement(_SearchInput.default, {\n    size: \"small\",\n    allowClear: true,\n    value: keyword,\n    prefix: /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n      prefix: \"nocodeplatformicon\",\n      type: \"sousuo\"\n    }),\n    onChange: onTextChange,\n    placeholder: \"\\u641C\\u7D22\\u5E94\\u7528\\u540D\\u79F0\",\n    borderType: \"bordered\"\n  }), /*#__PURE__*/_react.default.createElement(_kdesign.Select, {\n    placeholder: \"\\u8BF7\\u9009\\u62E9\",\n    size: \"small\",\n    borderType: \"bordered\",\n    onChange: onSelectChange,\n    value: conduct\n  }, (0, _map.default)(appFilter).call(appFilter, function (item) {\n    var _context;\n    return /*#__PURE__*/_react.default.createElement(Option, {\n      key: item.value,\n      value: item.value\n    }, /*#__PURE__*/_react.default.createElement(\"span\", {\n      \"data-nc-action\": (0, _concat.default)(_context = \"\".concat(appId, \"||\")).call(_context, item.key)\n    }, item.label));\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AllAppsPage.default.list_type\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: showType === 'card' ? _AllAppsPage.default.curr : _AllAppsPage.default.not_curr,\n    \"data-nc-action\": \"\".concat(appId, \"||as_cv\"),\n    title: \"\\u5361\\u7247\\u89C6\\u56FE\",\n    onClick: function onClick() {\n      return changeShowType('card');\n    }\n  }, \" \", /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"kapianshitu\"\n  }), \" \"), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: showType !== 'card' ? _AllAppsPage.default.curr : _AllAppsPage.default.not_curr,\n    \"data-nc-action\": \"\".concat(appId, \"||as_lv\"),\n    title: \"\\u5217\\u8868\\u89C6\\u56FE\",\n    onClick: function onClick() {\n      return changeShowType('list');\n    }\n  }, \" \", /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"liebiao\"\n  }), \" \")))), /*#__PURE__*/_react.default.createElement(\"div\", {\n    ref: cardRef,\n    className: modalVisible ? (0, _classnames.default)(_AllAppsPage.default.app_main, _AllAppsPage.default.app_main_hidden) : _AllAppsPage.default.app_main\n  }, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, showType === 'card' ? /*#__PURE__*/_react.default.createElement(_AppCardLayout.default, {\n    appId: appId,\n    data: appDatas,\n    onDelete: deleteApp,\n    onExport: handleExportApp,\n    collect: setCollect,\n    refresh: refresh,\n    loadMore: handleMore,\n    noMore: noMore\n  }) : /*#__PURE__*/_react.default.createElement(_AppListLayout.default, {\n    appId: appId,\n    ref: listRef,\n    onDelete: deleteApp,\n    onExport: handleExportApp,\n    data: appDatas,\n    collect: setCollect,\n    loadMore: handleMore,\n    noMore: noMore\n  }), !(appDatas !== null && appDatas !== void 0 && appDatas.length) && !loading.current && (conduct === 0 && keyword || conduct !== 0) && EmptyDataRenderer)))), /*#__PURE__*/_react.default.createElement(_AppConfigLayout.default, {\n    visible: modalVisible,\n    setVisible: setModalVisible,\n    success: updateSuccess\n  }), /*#__PURE__*/_react.default.createElement(_ImportAppModal.default, {\n    visible: importModalVisible,\n    onClose: function onClose() {\n      return setImportModalVisible(false);\n    },\n    onSuccess: handleImportAppSuccess\n  }), /*#__PURE__*/_react.default.createElement(_ExportApp.default, {\n    visible: exportInfo.visible,\n    appInfo: exportInfo.appInfo,\n    onClose: function onClose() {\n      return dispatchExportInfo({\n        visible: false\n      });\n    }\n  }));\n}\nvar _default = exports[\"default\"] = AllAppsPage;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/web/pages/home/all/AllAppsPage.tsx\n");

/***/ }),

/***/ "./src/web/pages/home/all/AppsNodataPage.tsx":
/*!***************************************************!*\
  !*** ./src/web/pages/home/all/AppsNodataPage.tsx ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _react = _interopRequireDefault(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _AppCreatModeGroup = _interopRequireWildcard(__webpack_require__(/*! @/web/component/apps/AppCreatModeGroup */ \"./src/web/component/apps/AppCreatModeGroup.tsx\"));\nvar _apps_nodata = _interopRequireDefault(__webpack_require__(/*! @@/assets/img/apps_nodata.png */ \"./assets/img/apps_nodata.png\"));\nvar _AppsNodataPage = _interopRequireDefault(__webpack_require__(/*! ./AppsNodataPage.less */ \"./src/web/pages/home/all/AppsNodataPage.less\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2022-12-09 11:46:34\n * @LastEditTime: 2022-12-09 13:33:15\n * @Last Modified by: jianhang_he\n */\n\nvar tips = '您还没有应用，点击下方按钮创建';\nvar AppsNodataPage = function AppsNodataPage(_ref) {\n  var appId = _ref.appId,\n    onClickAppCreatMode = _ref.onClickAppCreatMode;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _AppsNodataPage.default.appsnodata\n  }, /*#__PURE__*/_react.default.createElement(\"img\", {\n    className: _AppsNodataPage.default.appsnodata_img,\n    src: _apps_nodata.default,\n    alt: tips\n  }), /*#__PURE__*/_react.default.createElement(\"span\", {\n    className: _AppsNodataPage.default.appsnodata_tips\n  }, tips), /*#__PURE__*/_react.default.createElement(_AppCreatModeGroup.default, {\n    appId: appId,\n    options: _AppCreatModeGroup.appCreatModeList,\n    onClick: onClickAppCreatMode\n  }));\n};\nvar _default = exports[\"default\"] = AppsNodataPage;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL3BhZ2VzL2hvbWUvYWxsL0FwcHNOb2RhdGFQYWdlLnRzeCIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQU9BO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQVhBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQVlBO0FBRUE7QUFHQTtBQURBO0FBRUE7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFHQTtBQUFBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vbm9jb2RlLXBsYXRmb3JtLy4vc3JjL3dlYi9wYWdlcy9ob21lL2FsbC9BcHBzTm9kYXRhUGFnZS50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c30gLz5cbiAgICAgIDxzcGFuIGNsYXNzTmFtZT17c3R5bGVzLmFwcHNub2RhdGFfdGlwc30+e3RpcHN9PC9zcGFuPlxuICAgICAgPEFwcENyZWF0TW9kZUdyb3VwIGFwcElkPXthcHBJZH0gb3B0aW9ucz17YXBwQ3JlYXRNb2RlTGlzdH0gb25DbGljaz17b25DbGlja0FwcENyZWF0TW9kZX0gLz5cbiAgICA8L2Rpdj5cbiAgKVxufVxuXG5leHBvcnQgZGVmYXVsdCBBcHBzTm9kYXRhUGFnZVxuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/web/pages/home/all/AppsNodataPage.tsx\n");

/***/ }),

/***/ "./src/web/pages/home/flow/FlowCenter.tsx":
/*!************************************************!*\
  !*** ./src/web/pages/home/flow/FlowCenter.tsx ***!
  \************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _Object$keys = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js\");\nvar _Object$getOwnPropertySymbols = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js\");\nvar _filterInstanceProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _Object$getOwnPropertyDescriptors = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js\");\nvar _Object$defineProperties = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-properties.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _concat = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\"));\nvar _includes = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\"));\nvar _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/defineProperty.js\"));\nvar _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/slicedToArray.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _reactDom = __webpack_require__(/*! kd_libs/react-dom */ \"webpack/container/remote/kd_libs/react-dom\");\nvar _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"../../node_modules/react-router-dom/index.js\");\nvar _kdesign = __webpack_require__(/*! kd_libs/kdesign1 */ \"webpack/container/remote/kd_libs/kdesign1\");\nvar _PopBill = _interopRequireDefault(__webpack_require__(/*! @/web/component/apps/PopBill */ \"./src/web/component/apps/PopBill.tsx\"));\nvar _FlowCenter = _interopRequireDefault(__webpack_require__(/*! ./FlowCenter.less */ \"./src/web/pages/home/flow/FlowCenter.less\"));\nvar _WebUI = __webpack_require__(/*! nocode_component/WebUI */ \"webpack/container/remote/nocode_component/WebUI\");\nvar _useFetchHook = __webpack_require__(/*! @/hooks/useFetchHook */ \"./src/hooks/useFetchHook.ts\");\nvar _api = __webpack_require__(/*! @/ajax/api */ \"./src/ajax/api.js\");\nvar _useNocodeNavigate = _interopRequireDefault(__webpack_require__(/*! @/route/useNocodeNavigate */ \"./src/route/useNocodeNavigate.ts\"));\nvar _FlowStatusTag = _interopRequireDefault(__webpack_require__(/*! @/web/component/common/FlowStatusTag */ \"./src/web/component/common/FlowStatusTag.tsx\"));\nvar _useAppContext2 = _interopRequireDefault(__webpack_require__(/*! @/hooks/useAppContext */ \"./src/hooks/useAppContext.js\"));\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nvar _HomeContainer = _interopRequireDefault(__webpack_require__(/*! ../../../component/home/HomeContainer */ \"./src/web/component/home/HomeContainer.tsx\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; } // import { config, data } from './flowmock'\n// import { getTaskListConfig, getTaskListData } from '@/actions/home'\nvar menu = [\n// { key: 'all', title: '全部', type: 'quanbu2' },\n{\n  key: 'toHandle',\n  title: '待办任务',\n  icon: 'daichuli',\n  custom: 'fs_menu_todo',\n  detail: 'fs_todo_detail'\n}, {\n  key: 'handled',\n  title: '已办任务',\n  icon: 'yichuli1',\n  custom: 'fs_menu_finish',\n  detail: 'fs_finish_detail'\n}, {\n  key: 'toApply',\n  title: '在办申请',\n  icon: 'daishenpi',\n  custom: 'fs_menu_going',\n  detail: 'fs_going_detail'\n}, {\n  key: 'applyed',\n  title: '已办申请',\n  icon: 'yishenpi',\n  custom: 'fs_menu_end',\n  detail: 'fs_end_detail'\n}];\nvar FlowCenter = function FlowCenter() {\n  var _context, _context2;\n  var _useParams = (0, _reactRouterDom.useParams)(),\n    _useParams$flowType = _useParams.flowType,\n    flowType = _useParams$flowType === void 0 ? 'toHandle' : _useParams$flowType;\n  var navigate = (0, _useNocodeNavigate.default)();\n  var _useAppContext = (0, _useAppContext2.default)(),\n    state = _useAppContext.state;\n  var _useState = (0, _react.useState)([]),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    column = _useState2[0],\n    setColumn = _useState2[1];\n  var _useState3 = (0, _react.useState)(false),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    visible = _useState4[0],\n    setVisible = _useState4[1];\n  var _useState5 = (0, _react.useState)({\n      page_no: 1,\n      page_size: 20\n    }),\n    _useState6 = (0, _slicedToArray2.default)(_useState5, 2),\n    page = _useState6[0],\n    setPage = _useState6[1];\n  var _useState7 = (0, _react.useState)({}),\n    _useState8 = (0, _slicedToArray2.default)(_useState7, 2),\n    bill = _useState8[0],\n    setBill = _useState8[1];\n  var _useState9 = (0, _react.useState)(false),\n    _useState10 = (0, _slicedToArray2.default)(_useState9, 2),\n    showEdit = _useState10[0],\n    setShowEdit = _useState10[1];\n  var _useGetHook = (0, _useFetchHook.useGetHook)((0, _concat.default)(_context = \"\".concat(_api.TASK_LIST_CONFIG, \"?type=\")).call(_context, flowType), null),\n    listConfig = _useGetHook.data; // 获取列表数据\n  var _useGetHook2 = (0, _useFetchHook.useGetHook)((0, _concat.default)(_context2 = \"\".concat(_api.TASK_DATA_SOURCE, \"?type=\")).call(_context2, flowType), page),\n    data = _useGetHook2.data,\n    refresh = _useGetHook2.refresh; // 获取列表配置数据\n  // const [flowId, setFlowId] = useState('')\n  var detailAction = (0, _react.useRef)('fs_todo_detail');\n  var stateRef = (0, _react.useRef)(state);\n  (0, _react.useEffect)(function () {\n    stateRef.current = state;\n  }, [state]);\n\n  /**\n   * 菜单点击\n   */\n  var menuClick = (0, _react.useCallback)(function (item) {\n    setPage(_objectSpread(_objectSpread({}, page), {}, {\n      page_no: 1\n    }));\n    navigate('/flow/' + item.key);\n    detailAction.current = item.detail;\n  }, []);\n\n  /**\n   * 点击列表\n   */\n  var itemClick = (0, _react.useCallback)(function (value, record, rowIndex) {\n    var _context3;\n    var appId = record.appId,\n      businessKey = record.businessKey,\n      targetFormId = record.targetFormId,\n      procInstId = record.procInstId,\n      nodeBusinessKey = record.nodeBusinessKey,\n      activityId = record.activityId,\n      handleState = record.handleState,\n      id = record.id;\n    console.log('item click', value, record, rowIndex);\n    var _stateRef$current = stateRef.current,\n      rootConfig = _stateRef$current.rootConfig,\n      userInfo = _stateRef$current.userInfo;\n    var options = {\n      Status: 'view',\n      appId: appId,\n      // 应用ID\n      pkId: businessKey,\n      // 表单记录ID\n      targetFormId: targetFormId,\n      // 表单ID\n      procInstId: procInstId,\n      // 流程实例ID\n      formId: 'bos_nocode_bill',\n      rootPageId: rootConfig === null || rootConfig === void 0 ? void 0 : rootConfig.pageId // 根节点ID\n    };\n    // 如果是待办/已办任务里的录入节点\n    if ((0, _includes.default)(_context3 = ['toHandle', 'handled']).call(_context3, flowType)) {\n      var _context4;\n      options.taskId = id;\n      if ((0, _includes.default)(_context4 = ['willHandled', 'handled']).call(_context4, handleState)) {\n        options.userTaskBusinessKey = nodeBusinessKey; // 录入表单pkid\n        options.userTaskActivityId = activityId; // 录入节点nodeId\n        options.userTaskCurrentUserId = userInfo === null || userInfo === void 0 ? void 0 : userInfo.id; // 录入节点nodeId\n        options.Status = handleState === 'willHandled' ? 'edit' : 'view';\n      }\n    }\n    (0, _reactDom.unstable_batchedUpdates)(function () {\n      // 录入流程，需要显示保存按钮\n      setShowEdit(handleState === 'willHandled');\n      setBill(options);\n      setVisible(true);\n    });\n    // setFlowId(record.procInstId)\n  }, [flowType]);\n\n  /**\n   * 格式化列数据\n   */\n  var formatTableColumn = (0, _react.useCallback)(function (config) {\n    var list = config.rows[0].listItemConfig;\n    var col = [];\n    list.forEach(function (item) {\n      item.display && col.push({\n        code: item.number,\n        title: item.name,\n        lock: item.locked,\n        width: item.width || 200,\n        render: function render(value, record, rowIndex) {\n          if (item.number === 'handleStateDesc' && record.handleStateDesc) {\n            return /*#__PURE__*/_react.default.createElement(_FlowStatusTag.default, {\n              status: record.handleState,\n              text: record.handleStateDesc\n            });\n          }\n          return /*#__PURE__*/_react.default.createElement(\"div\", {\n            className: \"text\",\n            title: value\n          }, value);\n        }\n      });\n    });\n    col.push({\n      code: 'operator',\n      title: '操作',\n      lock: true,\n      width: 100,\n      render: function render(value, record, rowIndex) {\n        return /*#__PURE__*/_react.default.createElement(_WebUI.BtnField, {\n          major: true,\n          type: \"text\",\n          \"data-nc-action\": \"root-flow||\".concat(detailAction.current),\n          onClick: function onClick() {\n            return itemClick(value, record, rowIndex);\n          },\n          text: \"\\u8BE6\\u60C5\"\n        });\n      }\n    });\n    setColumn(col);\n  }, [itemClick]);\n\n  // 格式化列数据\n  (0, _react.useEffect)(function () {\n    listConfig && formatTableColumn(listConfig);\n  }, [listConfig]);\n  (0, _react.useEffect)(function () {\n    (0, _utils.setDocumentTitle)('流程中心');\n  }, []);\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowCenter.default.container\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowCenter.default.aside\n  }, (0, _map.default)(menu).call(menu, function (item) {\n    return /*#__PURE__*/_react.default.createElement(\"div\", {\n      key: item.key,\n      \"data-nc-action\": \"root-flow||\".concat(item.custom),\n      onClick: function onClick() {\n        return menuClick(item);\n      },\n      className: item.key === flowType ? _FlowCenter.default.active : null\n    }, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n      type: item.icon,\n      prefix: \"nocodeplatformicon\"\n    }), /*#__PURE__*/_react.default.createElement(\"span\", null, item.title));\n  })), /*#__PURE__*/_react.default.createElement(_HomeContainer.default, {\n    className: _FlowCenter.default.bg,\n    mainClassName: _FlowCenter.default.bg_main\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowCenter.default.main\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowCenter.default.box\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowCenter.default.list\n  }, /*#__PURE__*/_react.default.createElement(_WebUI.DataGridLayout, {\n    tableColumn: column,\n    searchNode: false,\n    buttonNode: false,\n    totalNode: false,\n    data: data,\n    rowSelection: false,\n    onPageChange: function onPageChange(num, size) {\n      return setPage({\n        page_no: num,\n        page_size: size\n      });\n    }\n  })))))), visible && /*#__PURE__*/_react.default.createElement(_PopBill.default, {\n    visible: visible,\n    close: function close() {\n      return setVisible(false);\n    },\n    billList: [],\n    config: bill,\n    showCopy: true,\n    showEdit: showEdit,\n    viewAuth: true,\n    onRefresh: refresh,\n    detailShareReqireLogin: true,\n    detailShareNotReqireLogin: true\n  }));\n};\nvar _default = exports[\"default\"] = (0, _react.memo)(FlowCenter);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/web/pages/home/flow/FlowCenter.tsx\n");

/***/ }),

/***/ "./src/web/pages/home/template/index.jsx":
/*!***********************************************!*\
  !*** ./src/web/pages/home/template/index.jsx ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _index = _interopRequireDefault(__webpack_require__(/*! @/web/component/common/templates/index */ \"./src/web/component/common/templates/index.tsx\"));\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nvar Template = function Template() {\n  (0, _react.useEffect)(function () {\n    (0, _utils.setDocumentTitle)('模板市场');\n  }, []);\n  return /*#__PURE__*/_react.default.createElement(_index.default, {\n    showSearcher: true\n  });\n};\nvar _default = exports[\"default\"] = Template;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL3BhZ2VzL2hvbWUvdGVtcGxhdGUvaW5kZXguanN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBR0E7QUFBQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy93ZWIvcGFnZXMvaG9tZS90ZW1wbGF0ZS9pbmRleC5qc3g/Zjg1NCJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHt1c2VFZmZlY3R9IGZyb20gJ3JlYWN0J1xuaW1wb3J0IFRlbXBsYXRlQ2VudGVyIGZyb20gJ0Avd2ViL2NvbXBvbmVudC9jb21tb24vdGVtcGxhdGVzL2luZGV4J1xuaW1wb3J0IHtzZXREb2N1bWVudFRpdGxlfSBmcm9tICdAL3V0aWxzJ1xuXG5jb25zdCBUZW1wbGF0ZSA9ICgpID0+IHtcbiAgdXNlRWZmZWN0KCgpID0+IHtcbiAgICBzZXREb2N1bWVudFRpdGxlKCfmqKHmnb/luILlnLonKVxuICB9LCBbXSlcbiAgcmV0dXJuIChcbiAgICA8VGVtcGxhdGVDZW50ZXJcbiAgICAgIHNob3dTZWFyY2hlclxuICAgIC8+XG4gIClcbn1cblxuZXhwb3J0IGRlZmF1bHQgVGVtcGxhdGVcbiJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/web/pages/home/template/index.jsx\n");

/***/ }),

/***/ "./assets/img/apps_nodata.png":
/*!************************************!*\
  !*** ./assets/img/apps_nodata.png ***!
  \************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

module.exports = __webpack_require__.p + "ncp/nocode/images/79163d1a17e7b47cd58d.png";

/***/ }),

/***/ "./assets/img/no-msg.png":
/*!*******************************!*\
  !*** ./assets/img/no-msg.png ***!
  \*******************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

module.exports = __webpack_require__.p + "ncp/nocode/images/a76882f06d2a0be6410d.png";

/***/ }),

/***/ "./assets/img/no_search_data.png":
/*!***************************************!*\
  !*** ./assets/img/no_search_data.png ***!
  \***************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

module.exports = __webpack_require__.p + "ncp/nocode/images/678da89065eaddf0f5b9.png";

/***/ })

}]);