"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([[2504],{

/***/ "./src/web/component/common/DeleteConfirmModal.less":
/*!**********************************************************!*\
  !*** ./src/web/component/common/DeleteConfirmModal.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\"] = ({\"delete-confirm-modal-body\":\"avmkIDAN_delete-confirm-modal-body\",\"delete-confirm-text\":\"ZaossPzc_delete-confirm-text\",\"delete-confirm-modal-footer\":\"XlctXH4w_delete-confirm-modal-footer\",\"delete-confirm-modal\":\"mvC8bIYZ_delete-confirm-modal\",\"delete_content\":\"xWk32Shl_delete_content\",\"desc\":\"WbBnVV9C_desc\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9jb21tb24vRGVsZXRlQ29uZmlybU1vZGFsLmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvd2ViL2NvbXBvbmVudC9jb21tb24vRGVsZXRlQ29uZmlybU1vZGFsLmxlc3M/MGZiYyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCBkZWZhdWx0IHtcImRlbGV0ZS1jb25maXJtLW1vZGFsLWJvZHlcIjpcImF2bWtJREFOX2RlbGV0ZS1jb25maXJtLW1vZGFsLWJvZHlcIixcImRlbGV0ZS1jb25maXJtLXRleHRcIjpcIlphb3NzUHpjX2RlbGV0ZS1jb25maXJtLXRleHRcIixcImRlbGV0ZS1jb25maXJtLW1vZGFsLWZvb3RlclwiOlwiWGxjdFhINHdfZGVsZXRlLWNvbmZpcm0tbW9kYWwtZm9vdGVyXCIsXCJkZWxldGUtY29uZmlybS1tb2RhbFwiOlwibXZDOGJJWVpfZGVsZXRlLWNvbmZpcm0tbW9kYWxcIixcImRlbGV0ZV9jb250ZW50XCI6XCJ4V2szMlNobF9kZWxldGVfY29udGVudFwiLFwiZGVzY1wiOlwiV2JCblZWOUNfZGVzY1wifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/web/component/common/DeleteConfirmModal.less\n");

/***/ }),

/***/ "./src/web/component/common/card/CommonStatisticCard.less":
/*!****************************************************************!*\
  !*** ./src/web/component/common/card/CommonStatisticCard.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\"] = ({\"common_card_wrapper\":\"c6XDQGJ9_common_card_wrapper\",\"container\":\"-TiBgXPs_container\",\"item\":\"_9O+mDSJy_item\",\"num\":\"DBOZi6yc_num\",\"label\":\"jz59CPS2_label\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9jb21tb24vY2FyZC9Db21tb25TdGF0aXN0aWNDYXJkLmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvd2ViL2NvbXBvbmVudC9jb21tb24vY2FyZC9Db21tb25TdGF0aXN0aWNDYXJkLmxlc3M/NGE4OCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCBkZWZhdWx0IHtcImNvbW1vbl9jYXJkX3dyYXBwZXJcIjpcImM2WERRR0o5X2NvbW1vbl9jYXJkX3dyYXBwZXJcIixcImNvbnRhaW5lclwiOlwiLVRpQmdYUHNfY29udGFpbmVyXCIsXCJpdGVtXCI6XCJfOU8rbURTSnlfaXRlbVwiLFwibnVtXCI6XCJEQk9aaTZ5Y19udW1cIixcImxhYmVsXCI6XCJqejU5Q1BTMl9sYWJlbFwifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/web/component/common/card/CommonStatisticCard.less\n");

/***/ }),

/***/ "./src/web/component/home/ColorSelectField.less":
/*!******************************************************!*\
  !*** ./src/web/component/home/ColorSelectField.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\"] = ({\"color_select\":\"_1HkjQSHw_color_select\",\"title\":\"crbQCtIx_title\",\"value\":\"PnRDTUl3_value\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9ob21lL0NvbG9yU2VsZWN0RmllbGQubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy93ZWIvY29tcG9uZW50L2hvbWUvQ29sb3JTZWxlY3RGaWVsZC5sZXNzPzYzNzIiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJjb2xvcl9zZWxlY3RcIjpcIl8xSGtqUVNId19jb2xvcl9zZWxlY3RcIixcInRpdGxlXCI6XCJjcmJRQ3RJeF90aXRsZVwiLFwidmFsdWVcIjpcIlBuUkRUVWwzX3ZhbHVlXCJ9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/web/component/home/ColorSelectField.less\n");

/***/ }),

/***/ "./src/web/component/permission/PlatformRoleSetting.less":
/*!***************************************************************!*\
  !*** ./src/web/component/permission/PlatformRoleSetting.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\"] = ({\"wrapper\":\"-JCQQuwM_wrapper\",\"switch_item\":\"Phy-AljC_switch_item\",\"label\":\"ldLo2r85_label\",\"btn_area\":\"svTybwIV_btn_area\",\"tips\":\"uaS3owjX_tips\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9wZXJtaXNzaW9uL1BsYXRmb3JtUm9sZVNldHRpbmcubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy93ZWIvY29tcG9uZW50L3Blcm1pc3Npb24vUGxhdGZvcm1Sb2xlU2V0dGluZy5sZXNzPzA4OTMiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJ3cmFwcGVyXCI6XCItSkNRUXV3TV93cmFwcGVyXCIsXCJzd2l0Y2hfaXRlbVwiOlwiUGh5LUFsakNfc3dpdGNoX2l0ZW1cIixcImxhYmVsXCI6XCJsZExvMnI4NV9sYWJlbFwiLFwiYnRuX2FyZWFcIjpcInN2VHlid0lWX2J0bl9hcmVhXCIsXCJ0aXBzXCI6XCJ1YVMzb3dqWF90aXBzXCJ9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/web/component/permission/PlatformRoleSetting.less\n");

/***/ }),

/***/ "./src/web/layout/home/RoleSettingModalLayout.less":
/*!*********************************************************!*\
  !*** ./src/web/layout/home/RoleSettingModalLayout.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\"] = ({\"setting_wrapper\":\"pyZNxWiK_setting_wrapper\",\"side\":\"S--Nuun1_side\",\"content\":\"lnsJ0Pyn_content\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2xheW91dC9ob21lL1JvbGVTZXR0aW5nTW9kYWxMYXlvdXQubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy93ZWIvbGF5b3V0L2hvbWUvUm9sZVNldHRpbmdNb2RhbExheW91dC5sZXNzPzJhYzIiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJzZXR0aW5nX3dyYXBwZXJcIjpcInB5Wk54V2lLX3NldHRpbmdfd3JhcHBlclwiLFwic2lkZVwiOlwiUy0tTnV1bjFfc2lkZVwiLFwiY29udGVudFwiOlwibG5zSjBQeW5fY29udGVudFwifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/web/layout/home/RoleSettingModalLayout.less\n");

/***/ }),

/***/ "./src/web/layout/home/ThemeConfigPopLayout.less":
/*!*******************************************************!*\
  !*** ./src/web/layout/home/ThemeConfigPopLayout.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\"] = ({\"theme_config\":\"W8BT-C7u_theme_config\",\"container\":\"HdNcaduD_container\",\"config_title\":\"bNoDmAwh_config_title\",\"config_content\":\"j+qJ8tVW_config_content\",\"field_wrapper\":\"Bq-XkmpI_field_wrapper\",\"field_title\":\"wLTUQVNO_field_title\",\"nav_style\":\"jWf9S1Lr_nav_style\",\"nav_style_item\":\"DHGEcusF_nav_style_item\",\"img\":\"rxFnD4nW_img\",\"desc\":\"CWl-YZYP_desc\",\"img_nav_bg_bar\":\"kqDT9xDf_img_nav_bg_bar\",\"active\":\"Gn7s8G7Y_active\",\"field_group\":\"_6pbo98be_field_group\",\"field\":\"sgU2ska3_field\",\"field_title_wrapper\":\"DvLuR2WN_field_title_wrapper\",\"field_name_title\":\"_94ZuOj8h_field_name_title\",\"tip\":\"Q4U9Q21B_tip\",\"field_color_title\":\"dI+Cn10c_field_color_title\",\"footer\":\"Hgn1pe1b_footer\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2xheW91dC9ob21lL1RoZW1lQ29uZmlnUG9wTGF5b3V0Lmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvd2ViL2xheW91dC9ob21lL1RoZW1lQ29u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bjEwY19maWVsZF9jb2xvcl90aXRsZVwiLFwiZm9vdGVyXCI6XCJIZ24xcGUxYl9mb290ZXJcIn07Il0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/web/layout/home/ThemeConfigPopLayout.less\n");

/***/ }),

/***/ "./src/web/layout/home/UserInfoModalLayout.less":
/*!******************************************************!*\
  !*** ./src/web/layout/home/UserInfoModalLayout.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\"] = ({\"user_info\":\"_2T756X+h_user_info\",\"item\":\"zopCz4ml_item\",\"title\":\"WprfM4Ce_title\",\"table\":\"avPrKPbU_table\",\"container\":\"ytQm31U8_container\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2xheW91dC9ob21lL1VzZXJJbmZvTW9kYWxMYXlvdXQubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy93ZWIvbGF5b3V0L2hvbWUvVXNlckluZm9Nb2RhbExheW91dC5sZXNzP2FiOGEiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJ1c2VyX2luZm9cIjpcIl8yVDc1NlgraF91c2VyX2luZm9cIixcIml0ZW1cIjpcInpvcEN6NG1sX2l0ZW1cIixcInRpdGxlXCI6XCJXcHJmTTRDZV90aXRsZVwiLFwidGFibGVcIjpcImF2UHJLUGJVX3RhYmxlXCIsXCJjb250YWluZXJcIjpcInl0UW0zMVU4X2NvbnRhaW5lclwifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/web/layout/home/UserInfoModalLayout.less\n");

/***/ }),

/***/ "./src/web/layout/home/UserPopLayout.less":
/*!************************************************!*\
  !*** ./src/web/layout/home/UserPopLayout.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\"] = ({\"user_info_body\":\"_2ryGvqRp_user_info_body\",\"info\":\"Gtz0I9O8_info\",\"usr\":\"T6E-9p+b_usr\",\"title\":\"VS5ufCi4_title\",\"campany\":\"_1G62QM17_campany\",\"item\":\"WNotWEVK_item\",\"login_out\":\"IeDe28cG_login_out\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2xheW91dC9ob21lL1VzZXJQb3BMYXlvdXQubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy93ZWIvbGF5b3V0L2hvbWUvVXNlclBvcExheW91dC5sZXNzPzAwNzciXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJ1c2VyX2luZm9fYm9keVwiOlwiXzJyeUd2cVJwX3VzZXJfaW5mb19ib2R5XCIsXCJpbmZvXCI6XCJHdHowSTlPOF9pbmZvXCIsXCJ1c3JcIjpcIlQ2RS05cCtiX3VzclwiLFwidGl0bGVcIjpcIlZTNXVmQ2k0X3RpdGxlXCIsXCJjYW1wYW55XCI6XCJfMUc2MlFNMTdfY2FtcGFueVwiLFwiaXRlbVwiOlwiV05vdFdFVktfaXRlbVwiLFwibG9naW5fb3V0XCI6XCJJZURlMjhjR19sb2dpbl9vdXRcIn07Il0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/web/layout/home/UserPopLayout.less\n");

/***/ }),

/***/ "./src/web/layout/home/UsingManageModalLayout.less":
/*!*********************************************************!*\
  !*** ./src/web/layout/home/UsingManageModalLayout.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\"] = ({\"using_container\":\"_1IML9IB2_using_container\",\"card\":\"C8xq6ijN_card\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2xheW91dC9ob21lL1VzaW5nTWFuYWdlTW9kYWxMYXlvdXQubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy93ZWIvbGF5b3V0L2hvbWUvVXNpbmdNYW5hZ2VNb2RhbExheW91dC5sZXNzPzA0NmQiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJ1c2luZ19jb250YWluZXJcIjpcIl8xSU1MOUlCMl91c2luZ19jb250YWluZXJcIixcImNhcmRcIjpcIkM4eHE2aWpOX2NhcmRcIn07Il0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/web/layout/home/UsingManageModalLayout.less\n");

/***/ }),

/***/ "./src/constants/uploadUrl.ts":
/*!************************************!*\
  !*** ./src/constants/uploadUrl.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.UPLOAD_IMAGE_URL = void 0;\nvar UPLOAD_IMAGE_URL = exports.UPLOAD_IMAGE_URL = 'nocode/v2/nocode_sys/image';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvY29uc3RhbnRzL3VwbG9hZFVybC50cyIsIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvY29uc3RhbnRzL3VwbG9hZFVybC50cz9mODM1Il0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBVUExPQURfSU1BR0VfVVJMID0gJ25vY29kZS92Mi9ub2NvZGVfc3lzL2ltYWdlJ1xuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/constants/uploadUrl.ts\n");

/***/ }),

/***/ "./src/web/component/common/DeleteConfirmModal.jsx":
/*!*********************************************************!*\
  !*** ./src/web/component/common/DeleteConfirmModal.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\"] = exports.InputConfirmModal = void 0;\nvar _trim = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/trim */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.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 _WebUI = __webpack_require__(/*! nocode_component/WebUI */ \"webpack/container/remote/nocode_component/WebUI\");\nvar _delete_confirm = _interopRequireDefault(__webpack_require__(/*! @@/assets/img/delete_confirm.png */ \"./assets/img/delete_confirm.png\"));\nvar _DeleteConfirmModal = _interopRequireDefault(__webpack_require__(/*! ./DeleteConfirmModal.less */ \"./src/web/component/common/DeleteConfirmModal.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 ModalBody = function ModalBody(_ref) {\n  var text = _ref.text,\n    onCancel = _ref.onCancel,\n    onConfirm = _ref.onConfirm;\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _DeleteConfirmModal.default['delete-confirm-modal-body']\n  }, /*#__PURE__*/_react.default.createElement(\"img\", {\n    src: _delete_confirm.default,\n    width: 168,\n    height: 96,\n    alt: \"\\u786E\\u8BA4\\u5220\\u9664\"\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _DeleteConfirmModal.default['delete-confirm-text']\n  }, text)), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _DeleteConfirmModal.default['delete-confirm-modal-footer']\n  }, /*#__PURE__*/_react.default.createElement(_kdesign.Button, {\n    size: \"middle\",\n    onClick: onCancel,\n    style: {\n      marginRight: '24px'\n    }\n  }, \"\\u53D6\\u6D88\"), /*#__PURE__*/_react.default.createElement(_kdesign.Button, {\n    size: \"middle\",\n    type: \"primary\",\n    onClick: onConfirm\n  }, \"\\u786E\\u5B9A\")));\n};\nvar DeleteConfirmModal = function DeleteConfirmModal(_ref2) {\n  var visible = _ref2.visible,\n    text = _ref2.text,\n    onConfirm = _ref2.onConfirm,\n    onCancel = _ref2.onCancel,\n    onVisibleChange = _ref2.onVisibleChange;\n  var _useState = (0, _react.useState)(visible),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    modalVisible = _useState2[0],\n    setModalVisible = _useState2[1];\n  (0, _react.useEffect)(function () {\n    if (modalVisible !== visible) {\n      setModalVisible(visible);\n    }\n  }, [visible]);\n  var handleCancel = function handleCancel() {\n    setModalVisible(false);\n    onVisibleChange(false);\n    onCancel === null || onCancel === void 0 || onCancel();\n  };\n  var handleConfirm = function handleConfirm() {\n    setModalVisible(false);\n    onVisibleChange(false);\n    onConfirm === null || onConfirm === void 0 || onConfirm();\n  };\n  return /*#__PURE__*/_react.default.createElement(_kdesign.Modal, {\n    className: _DeleteConfirmModal.default['delete-confirm-modal'],\n    showline: false,\n    title: null,\n    body: /*#__PURE__*/_react.default.createElement(ModalBody, {\n      text: text,\n      onCancel: handleCancel,\n      onConfirm: handleConfirm\n    }),\n    footer: null,\n    closable: false,\n    width: 480\n    // height={368}\n    ,\n    visible: visible,\n    keyboard: false\n  });\n};\n\n// interface InputConfirmInterface {\n//   visible: Boolean;\n//   type: string; // 默认delete，icon类型;\n//   title: string;\n//   desc: string;\n//   disabledActions: Array<string>;\n//   label: string; // 输入框label\n//   requireInput: string; // input期望值\n//   validateMsg: string; // 校验失败提示语\n//   onAction: (key: string) => void;\n//   onOk: (value: string) => void;\n// }\n// 删除名name确认框\nvar InputConfirmModal = exports.InputConfirmModal = (0, _react.memo)(function (props) {\n  var _props$visible = props.visible,\n    visible = _props$visible === void 0 ? true : _props$visible,\n    _props$type = props.type,\n    type = _props$type === void 0 ? 'delete' : _props$type,\n    title = props.title,\n    desc = props.desc,\n    disabledActions = props.disabledActions,\n    label = props.label,\n    requireInput = props.requireInput,\n    _props$validateMsg = props.validateMsg,\n    validateMsg = _props$validateMsg === void 0 ? '请输入' : _props$validateMsg,\n    onAction = props.onAction;\n  var _Form$useForm = _kdesign.Form.useForm(),\n    _Form$useForm2 = (0, _slicedToArray2.default)(_Form$useForm, 1),\n    form = _Form$useForm2[0];\n  var _useState3 = (0, _react.useState)(),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    value = _useState4[0],\n    setValue = _useState4[1];\n  var handleAction = (0, _react.useCallback)(function (key) {\n    form.validateFields().then(function () {\n      onAction === null || onAction === void 0 || onAction(key, value);\n    }).catch(function (e) {\n      onAction === null || onAction === void 0 || onAction(key);\n    });\n  }, [onAction, value]);\n  return /*#__PURE__*/_react.default.createElement(_WebUI.ConfirmModal, {\n    visible: visible,\n    type: type,\n    disabledActions: disabledActions,\n    title: title,\n    content: /*#__PURE__*/_react.default.createElement(\"div\", {\n      className: _DeleteConfirmModal.default.delete_content\n    }, /*#__PURE__*/_react.default.createElement(\"div\", {\n      className: _DeleteConfirmModal.default.desc\n    }, desc), /*#__PURE__*/_react.default.createElement(_kdesign.Form, {\n      layout: \"vertical\",\n      form: form,\n      labelWidth: \"100%\",\n      wrapperWidth: \"100%\"\n    }, /*#__PURE__*/_react.default.createElement(_kdesign.Form.Item, {\n      label: label || '请输入',\n      name: \"name\",\n      required: true,\n      validateTrigger: \"onBlur\",\n      rules: [{\n        required: true,\n        message: validateMsg\n      }, {\n        type: 'string',\n        validator: function validator(rule, value, callback, source, options) {\n          if (!(value !== null && value !== void 0 && (0, _trim.default)(value).call(value))) {\n            return [new Error(validateMsg)];\n          } else {\n            return [];\n          }\n        }\n      }]\n    }, /*#__PURE__*/_react.default.createElement(_kdesign.Input, {\n      type: \"text\",\n      borderType: \"bordered\",\n      size: \"large\",\n      placeholder: \"\\u8BF7\\u8F93\\u5165\",\n      maxLength: 50,\n      value: value,\n      onChange: function onChange(e) {\n        return setValue(e.target.value);\n      }\n    })))),\n    onAction: handleAction\n  });\n});\nInputConfirmModal.displayName = 'InputConfirmModal';\nvar _default = exports[\"default\"] = DeleteConfirmModal;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/web/component/common/DeleteConfirmModal.jsx\n");

/***/ }),

/***/ "./src/web/component/common/card/CommonStatisticCard.tsx":
/*!***************************************************************!*\
  !*** ./src/web/component/common/card/CommonStatisticCard.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 _CardWrapper = _interopRequireDefault(__webpack_require__(/*! ./CardWrapper */ \"./src/web/component/common/card/CardWrapper.tsx\"));\nvar _CommonStatisticCard = _interopRequireDefault(__webpack_require__(/*! ./CommonStatisticCard.less */ \"./src/web/component/common/card/CommonStatisticCard.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 CommonStatisticCard = (0, _react.memo)(function (props) {\n  var title = props.title,\n    list = props.list,\n    itemWidth = props.itemWidth,\n    className = props.className;\n  return /*#__PURE__*/_react.default.createElement(_CardWrapper.default, {\n    wrapperClassName: className,\n    className: _CommonStatisticCard.default.common_card_wrapper,\n    title: title\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _CommonStatisticCard.default.container\n  }, list === null || list === void 0 ? void 0 : (0, _map.default)(list).call(list, function (item) {\n    var num = item.num,\n      label = item.label;\n    return /*#__PURE__*/_react.default.createElement(\"div\", {\n      className: _CommonStatisticCard.default.item,\n      style: {\n        width: itemWidth\n      },\n      key: label\n    }, /*#__PURE__*/_react.default.createElement(\"div\", {\n      className: _CommonStatisticCard.default.num\n    }, num), /*#__PURE__*/_react.default.createElement(\"div\", {\n      className: _CommonStatisticCard.default.label\n    }, label));\n  })));\n});\nCommonStatisticCard.displayName = 'CommonStatisticCard';\nvar _default = exports[\"default\"] = CommonStatisticCard;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9jb21tb24vY2FyZC9Db21tb25TdGF0aXN0aWNDYXJkLnRzeCIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBRUE7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUFBO0FBR0E7QUFBQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFHQTtBQUtBO0FBRUE7QUFBQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy93ZWIvY29tcG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AgICAgIH1cbiAgICAgIDwvZGl2PlxuICAgIDwvQ2FyZFdyYXBwZXI+XG4gIClcbn0pXG5cbkNvbW1vblN0YXRpc3RpY0NhcmQuZGlzcGxheU5hbWUgPSAnQ29tbW9uU3RhdGlzdGljQ2FyZCdcbmV4cG9ydCBkZWZhdWx0IENvbW1vblN0YXRpc3RpY0NhcmRcbiJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/web/component/common/card/CommonStatisticCard.tsx\n");

/***/ }),

/***/ "./src/web/component/home/ColorSelectField.tsx":
/*!*****************************************************!*\
  !*** ./src/web/component/home/ColorSelectField.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 _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _WebUI = __webpack_require__(/*! nocode_component/WebUI */ \"webpack/container/remote/nocode_component/WebUI\");\nvar _ColorSelectField = _interopRequireDefault(__webpack_require__(/*! ./ColorSelectField.less */ \"./src/web/component/home/ColorSelectField.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 ColorSelectField = (0, _react.memo)(function (props) {\n  var title = props.title,\n    value = props.value,\n    className = props.className,\n    onChange = props.onChange;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(className, _ColorSelectField.default.color_select)\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ColorSelectField.default.title\n  }, title), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ColorSelectField.default.value\n  }, /*#__PURE__*/_react.default.createElement(_WebUI.ColorPicker, {\n    value: value,\n    onChange: onChange\n  })));\n});\nvar _default = exports[\"default\"] = ColorSelectField;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2NvbXBvbmVudC9ob21lL0NvbG9yU2VsZWN0RmllbGQudHN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FB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dXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/web/component/home/ColorSelectField.tsx\n");

/***/ }),

/***/ "./src/web/component/permission/PlatformRoleSetting.tsx":
/*!**************************************************************!*\
  !*** ./src/web/component/permission/PlatformRoleSetting.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 _trim = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/trim */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.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 _kdesign = __webpack_require__(/*! kd_libs/kdesign1 */ \"webpack/container/remote/kd_libs/kdesign1\");\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _PlatformRoleSetting = _interopRequireDefault(__webpack_require__(/*! ./PlatformRoleSetting.less */ \"./src/web/component/permission/PlatformRoleSetting.less\"));\nvar _reducer = __webpack_require__(/*! @/utils/reducer */ \"./src/utils/reducer.ts\");\nvar _PersonAuthorize = _interopRequireDefault(__webpack_require__(/*! ./PersonAuthorize */ \"./src/web/component/permission/PersonAuthorize.tsx\"));\nvar _OrgAuthorize = _interopRequireDefault(__webpack_require__(/*! ./OrgAuthorize */ \"./src/web/component/permission/OrgAuthorize.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; }\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; }\nvar nameTips = '请输入角色名称';\nvar NAME = 'name';\nvar PlatformRoleSetting = (0, _react.memo)(function (props) {\n  // 注：null在初始赋值里算有值，不会被改成{}\n  var className = props.className,\n    height = props.height,\n    _props$role = props.role,\n    role = _props$role === void 0 ? {} : _props$role,\n    confirmLocked = props.confirmLocked,\n    onConfirm = props.onConfirm;\n  var _Form$useForm = _kdesign.Form.useForm(),\n    _Form$useForm2 = (0, _slicedToArray2.default)(_Form$useForm, 1),\n    form = _Form$useForm2[0];\n  var _useReducer = (0, _react.useReducer)(_reducer.assignDataReducer, role),\n    _useReducer2 = (0, _slicedToArray2.default)(_useReducer, 2),\n    formData = _useReducer2[0],\n    dispatchFormData = _useReducer2[1];\n  (0, _react.useEffect)(function () {\n    dispatchFormData(role);\n    form.setFieldsValue({\n      name: role === null || role === void 0 ? void 0 : role.name\n    });\n  }, [role]);\n  var handleManageChange = (0, _react.useCallback)(function (v) {\n    dispatchFormData({\n      manage: v,\n      userScope: [],\n      orgScope: []\n    });\n  }, []);\n  var handleConfirm = (0, _react.useCallback)(function () {\n    var formName = form.getFieldValue(NAME);\n    if (!formName) {\n      (0, _utils.showNotice)('warnning', nameTips);\n      return;\n    }\n    if (!formData.manage && !formData.orgScope.length && !formData.userScope.length) {\n      (0, _utils.showNotice)('warnning', '请至少选择一个可授权组织或人员');\n      return;\n    }\n    onConfirm === null || onConfirm === void 0 || onConfirm(_objectSpread(_objectSpread({}, formData), {}, {\n      name: formName\n    }));\n  }, [formData]);\n  return (\n    /*#__PURE__*/\n    // 设置min-height是为了内容框撑满容器，24外边距\n    _react.default.createElement(\"div\", {\n      className: (0, _classnames.default)(_PlatformRoleSetting.default.wrapper, className),\n      style: {\n        minHeight: height - 24\n      }\n    }, role && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_kdesign.Form, {\n      layout: \"vertical\",\n      form: form,\n      labelWidth: \"100%\",\n      wrapperWidth: \"100%\"\n    }, /*#__PURE__*/_react.default.createElement(_kdesign.Form.Item, {\n      label: /*#__PURE__*/_react.default.createElement(\"span\", {\n        title: \"\\u89D2\\u8272\\u7684\\u540D\\u79F0\"\n      }, \"\\u89D2\\u8272\\u540D\\u79F0\"),\n      name: NAME,\n      required: true,\n      validateTrigger: \"onBlur\",\n      rules: [{\n        required: true,\n        message: nameTips\n      }, {\n        type: 'string',\n        validator: function validator(rule, value) {\n          if (!(value !== null && value !== void 0 && (0, _trim.default)(value).call(value))) {\n            return [new Error(nameTips)];\n          } else {\n            return [];\n          }\n        }\n      }]\n    }, /*#__PURE__*/_react.default.createElement(_kdesign.Input, {\n      type: \"text\",\n      borderType: \"bordered\",\n      size: \"large\",\n      placeholder: \"\\u8BF7\\u8F93\\u5165\\u89D2\\u8272\\u540D\\u79F0\",\n      maxLength: 30\n      // value={formData.name}\n      ,\n      onChange: function onChange(e) {\n        return dispatchFormData({\n          name: e.target.value\n        });\n      }\n    })), /*#__PURE__*/_react.default.createElement(_kdesign.Form.Item, {\n      label: /*#__PURE__*/_react.default.createElement(\"span\", {\n        title: \"\\u89D2\\u8272\\u7684\\u63CF\\u8FF0\"\n      }, \"\\u63CF\\u8FF0\"),\n      name: \"desc\"\n    }, /*#__PURE__*/_react.default.createElement(_kdesign.Input, {\n      type: \"text\",\n      borderType: \"bordered\",\n      size: \"large\",\n      placeholder: \"\\u8BF7\\u8F93\\u5165\\u63CF\\u8FF0\",\n      maxLength: 50,\n      value: formData.desc,\n      onChange: function onChange(e) {\n        return dispatchFormData({\n          desc: e.target.value\n        });\n      }\n    })), /*#__PURE__*/_react.default.createElement(_kdesign.Form.Item, {\n      label: /*#__PURE__*/_react.default.createElement(\"span\", {\n        title: \"\\u9009\\u62E9\\u53EF\\u4EE5\\u4F7F\\u7528\\u8BE5\\u89D2\\u8272\\u7684\\u7EC4\\u7EC7\"\n      }, \"\\u6388\\u6743\\u7EC4\\u7EC7\"),\n      name: \"orgs\"\n    }, /*#__PURE__*/_react.default.createElement(_OrgAuthorize.default, {\n      value: formData.orgs,\n      onChange: function onChange(v) {\n        return dispatchFormData({\n          orgs: v\n        });\n      }\n    })), /*#__PURE__*/_react.default.createElement(_kdesign.Form.Item, {\n      label: /*#__PURE__*/_react.default.createElement(\"span\", {\n        title: \"\\u9009\\u62E9\\u53EF\\u4EE5\\u4F7F\\u7528\\u8BE5\\u89D2\\u8272\\u7684\\u4EBA\\u5458\"\n      }, \"\\u6388\\u6743\\u4EBA\\u5458\"),\n      name: \"users\"\n    }, /*#__PURE__*/_react.default.createElement(_PersonAuthorize.default, {\n      value: formData.users,\n      onChange: function onChange(v) {\n        return dispatchFormData({\n          users: v\n        });\n      }\n    })), /*#__PURE__*/_react.default.createElement(_kdesign.Form.Item, {\n      className: _PlatformRoleSetting.default.switch_item,\n      label: /*#__PURE__*/_react.default.createElement(\"span\", {\n        className: _PlatformRoleSetting.default.label,\n        title: \"\\u8BBE\\u7F6E\\u89D2\\u8272\\u7684\\u5E73\\u53F0\\u7BA1\\u7406\\u6743\"\n      }, \"\\u5E73\\u53F0\\u7BA1\\u7406\\u6743\", /*#__PURE__*/_react.default.createElement(\"div\", {\n        className: _PlatformRoleSetting.default.tips\n      }, \"\\uFF08\\u5177\\u5907\\u5E73\\u53F0\\u7684\\u4F7F\\u7528\\u7BA1\\u7406\\u3001\\u6743\\u9650\\u7BA1\\u7406\\u548C\\u5E94\\u7528\\u521B\\u5EFA\\u7B49\\u6743\\u9650\\uFF09\")),\n      name: \"manage\"\n    }, /*#__PURE__*/_react.default.createElement(_kdesign.Switch, {\n      checked: formData.manage,\n      onChange: handleManageChange\n    })), !formData.manage && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_kdesign.Form.Item, {\n      className: _PlatformRoleSetting.default.switch_item,\n      label: /*#__PURE__*/_react.default.createElement(\"span\", {\n        title: \"\\u8BBE\\u7F6E\\u89D2\\u8272\\u7684\\u5E94\\u7528\\u521B\\u5EFA\\u6743\"\n      }, \"\\u5E94\\u7528\\u521B\\u5EFA\\u6743\"),\n      name: \"create\"\n    }, /*#__PURE__*/_react.default.createElement(_kdesign.Switch, {\n      checked: formData.create,\n      disabled: true,\n      onChange: function onChange(v) {\n        return dispatchFormData({\n          appCreate: v\n        });\n      }\n    })), /*#__PURE__*/_react.default.createElement(_kdesign.Form.Item, {\n      label: /*#__PURE__*/_react.default.createElement(\"span\", {\n        title: \"\\u8BBE\\u7F6E\\u89D2\\u8272\\u5728\\u5E94\\u7528\\u53EF\\u6388\\u6743\\u7684\\u7EC4\\u7EC7\"\n      }, \"\\u5E94\\u7528\\u53EF\\u6388\\u6743\\u7EC4\\u7EC7\"),\n      name: \"orgScope\"\n    }, /*#__PURE__*/_react.default.createElement(_OrgAuthorize.default, {\n      value: formData.orgScope,\n      onChange: function onChange(v) {\n        return dispatchFormData({\n          orgScope: v\n        });\n      }\n    })), /*#__PURE__*/_react.default.createElement(_kdesign.Form.Item, {\n      label: /*#__PURE__*/_react.default.createElement(\"span\", {\n        title: \"\\u8BBE\\u7F6E\\u89D2\\u8272\\u5728\\u5E94\\u7528\\u53EF\\u6388\\u6743\\u7684\\u4EBA\\u5458\"\n      }, \"\\u5E94\\u7528\\u53EF\\u6388\\u6743\\u4EBA\\u5458\"),\n      name: \"userScope\"\n    }, /*#__PURE__*/_react.default.createElement(_PersonAuthorize.default, {\n      value: formData.userScope,\n      onChange: function onChange(v) {\n        return dispatchFormData({\n          userScope: v\n        });\n      }\n    })))), /*#__PURE__*/_react.default.createElement(\"div\", {\n      className: _PlatformRoleSetting.default.btn_area\n    }, /*#__PURE__*/_react.default.createElement(_kdesign.Button, {\n      type: \"primary\",\n      onClick: handleConfirm,\n      disabled: confirmLocked\n    }, \"\\u4FDD\\u5B58\"))))\n  );\n});\nPlatformRoleSetting.displayName = 'PlatformRoleSetting';\nvar _default = exports[\"default\"] = PlatformRoleSetting;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/web/component/permission/PlatformRoleSetting.tsx\n");

/***/ }),

/***/ "./src/web/layout/home/RoleSettingModalLayout.tsx":
/*!********************************************************!*\
  !*** ./src/web/layout/home/RoleSettingModalLayout.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.newRole = exports[\"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 _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/regenerator */ \"../../node_modules/@babel/runtime-corejs3/regenerator/index.js\"));\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/defineProperty.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 _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _SideBar = _interopRequireDefault(__webpack_require__(/*! @/web/component/permission/SideBar */ \"./src/web/component/permission/SideBar.tsx\"));\nvar _PlatformRoleSetting = _interopRequireDefault(__webpack_require__(/*! @/web/component/permission/PlatformRoleSetting */ \"./src/web/component/permission/PlatformRoleSetting.tsx\"));\nvar _RoleSettingModalLayout = _interopRequireDefault(__webpack_require__(/*! ./RoleSettingModalLayout.less */ \"./src/web/layout/home/RoleSettingModalLayout.less\"));\nvar _home = __webpack_require__(/*! @/actions/home */ \"./src/actions/home.js\");\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nvar _DeleteConfirmModal = __webpack_require__(/*! @/web/component/common/DeleteConfirmModal */ \"./src/web/component/common/DeleteConfirmModal.jsx\");\nvar _AdminPermissionPage = __webpack_require__(/*! @/web/pages/admin/permission/AdminPermissionPage */ \"./src/web/pages/admin/permission/AdminPermissionPage.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; } /*\n * @Description: 平台授权\n * @Author: xiaoman_xie\n * @Date: 2023-12-26 11:25:56\n * @LastEditTime: 2024-02-26 15:21:18\n * @Last Modified by: xiaoman_xie\n */\nvar newRole = exports.newRole = {\n  name: '未命名角色',\n  desc: '',\n  users: [],\n  orgs: [],\n  manage: true,\n  create: true,\n  userScope: [],\n  orgScope: []\n};\nvar RoleSettingModalLayout = (0, _react.memo)(function (props) {\n  var _currentHoverRole$cur, _currentHoverRole$cur3;\n  var modalHeight = props.modalHeight;\n  var _useState = (0, _react.useState)(newRole),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    role = _useState2[0],\n    setRole = _useState2[1];\n  var _useState3 = (0, _react.useState)([]),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    roleList = _useState4[0],\n    setRoleList = _useState4[1];\n  var _useState5 = (0, _react.useState)(''),\n    _useState6 = (0, _slicedToArray2.default)(_useState5, 2),\n    activeRoleId = _useState6[0],\n    setActiveRoleId = _useState6[1];\n  var _useState7 = (0, _react.useState)([]),\n    _useState8 = (0, _slicedToArray2.default)(_useState7, 2),\n    disabledActions = _useState8[0],\n    setDisabledActions = _useState8[1];\n  var _useState9 = (0, _react.useState)(false),\n    _useState10 = (0, _slicedToArray2.default)(_useState9, 2),\n    delModalVisible = _useState10[0],\n    setDelModalVisible = _useState10[1];\n  var _useState11 = (0, _react.useState)(false),\n    _useState12 = (0, _slicedToArray2.default)(_useState11, 2),\n    confirmLocked = _useState12[0],\n    setConfirmLocked = _useState12[1];\n  var currentHoverRole = (0, _react.useRef)(null);\n  (0, _react.useEffect)(function () {\n    initRoleList();\n  }, []);\n  (0, _react.useEffect)(function () {\n    if (activeRoleId) {\n      getRoleInfoById(activeRoleId);\n    } else {\n      setRole(null);\n    }\n  }, [activeRoleId]);\n\n  // 获取角色列表\n  var initRoleList = /*#__PURE__*/function () {\n    var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(selectRoleId) {\n      var res, _res$rows, rows, _rows$;\n      return _regenerator.default.wrap(function _callee$(_context) {\n        while (1) switch (_context.prev = _context.next) {\n          case 0:\n            _context.prev = 0;\n            _context.next = 3;\n            return (0, _home.getManageRoleList)();\n          case 3:\n            res = _context.sent;\n            _res$rows = res.rows, rows = _res$rows === void 0 ? [] : _res$rows;\n            setRoleList(rows);\n            // 列表为空时，role传null，不会展示角色编辑页面\n            if (selectRoleId) {\n              setActiveRoleId(selectRoleId);\n            } else {\n              setActiveRoleId((rows === null || rows === void 0 || (_rows$ = rows[0]) === null || _rows$ === void 0 ? void 0 : _rows$.id) || '');\n            }\n            _context.next = 12;\n            break;\n          case 9:\n            _context.prev = 9;\n            _context.t0 = _context[\"catch\"](0);\n            (0, _utils.showNotice)('error', (_context.t0 === null || _context.t0 === void 0 ? void 0 : _context.t0.message) || '加载失败');\n          case 12:\n          case \"end\":\n            return _context.stop();\n        }\n      }, _callee, null, [[0, 9]]);\n    }));\n    return function initRoleList(_x) {\n      return _ref.apply(this, arguments);\n    };\n  }();\n\n  // 保存新角色并刷新角色信息\n  var saveRoleAndRefresh = (0, _react.useCallback)( /*#__PURE__*/function () {\n    var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(newRole, msg) {\n      var param, _yield$saveManageRole, failCount, result, _result$, roleId;\n      return _regenerator.default.wrap(function _callee2$(_context2) {\n        while (1) switch (_context2.prev = _context2.next) {\n          case 0:\n            param = {\n              data: [newRole]\n            };\n            _context2.prev = 1;\n            _context2.next = 4;\n            return (0, _home.saveManageRole)(param);\n          case 4:\n            _yield$saveManageRole = _context2.sent;\n            failCount = _yield$saveManageRole.failCount;\n            result = _yield$saveManageRole.result;\n            if (failCount === '0') {\n              (0, _utils.showNotice)('success', msg || '新增角色成功');\n              roleId = result === null || result === void 0 || (_result$ = result[0]) === null || _result$ === void 0 ? void 0 : _result$.id;\n              initRoleList(roleId);\n            }\n            _context2.next = 13;\n            break;\n          case 10:\n            _context2.prev = 10;\n            _context2.t0 = _context2[\"catch\"](1);\n            (0, _utils.showNotice)('error', getErrMsg(_context2.t0));\n          case 13:\n          case \"end\":\n            return _context2.stop();\n        }\n      }, _callee2, null, [[1, 10]]);\n    }));\n    return function (_x2, _x3) {\n      return _ref2.apply(this, arguments);\n    };\n  }(), [initRoleList]);\n  var handleAddRole = (0, _react.useCallback)(function () {\n    saveRoleAndRefresh(newRole, '新增角色成功');\n  }, [saveRoleAndRefresh]);\n  var deleteRole = (0, _react.useCallback)( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {\n    var closeMessage, id, nextSelectedId, param, res, failCount;\n    return _regenerator.default.wrap(function _callee3$(_context3) {\n      while (1) switch (_context3.prev = _context3.next) {\n        case 0:\n          setDisabledActions(['ok', 'cancel']);\n          closeMessage = (0, _utils.showLoadingMessage)('角色删除中，请稍候...');\n          id = currentHoverRole.current.id;\n          if (id) {\n            _context3.next = 5;\n            break;\n          }\n          return _context3.abrupt(\"return\");\n        case 5:\n          // 删除角色，自动选中相邻角色\n          nextSelectedId = activeRoleId;\n          if (activeRoleId === id) {\n            nextSelectedId = (0, _AdminPermissionPage.getNextSelectedId)(id, roleList);\n          }\n          param = [{\n            id: id\n          }];\n          _context3.prev = 8;\n          _context3.next = 11;\n          return (0, _home.deleteManageRole)(param);\n        case 11:\n          res = _context3.sent;\n          failCount = res.failCount; // setRoleList(rows)\n          if (failCount === '0') {\n            closeMessage({\n              type: 'success',\n              content: '删除成功'\n            });\n            setDelModalVisible(false);\n            initRoleList(nextSelectedId);\n          }\n          _context3.next = 19;\n          break;\n        case 16:\n          _context3.prev = 16;\n          _context3.t0 = _context3[\"catch\"](8);\n          closeMessage({\n            type: 'error',\n            content: (_context3.t0 === null || _context3.t0 === void 0 ? void 0 : _context3.t0.message) || '删除失败'\n          });\n        case 19:\n          setDisabledActions([]);\n        case 20:\n        case \"end\":\n          return _context3.stop();\n      }\n    }, _callee3, null, [[8, 16]]);\n  })), [activeRoleId, initRoleList, (_currentHoverRole$cur = currentHoverRole.current) === null || _currentHoverRole$cur === void 0 ? void 0 : _currentHoverRole$cur.id]);\n\n  // 确认删除回调\n  var onDeleteActions = (0, _react.useCallback)(function (key, value) {\n    if (key === 'ok') {\n      var _currentHoverRole$cur2;\n      if (value === ((_currentHoverRole$cur2 = currentHoverRole.current) === null || _currentHoverRole$cur2 === void 0 ? void 0 : _currentHoverRole$cur2.name)) {\n        deleteRole();\n      } else {\n        (0, _utils.showNotice)('error', '名称输入错误，删除失败');\n      }\n    } else {\n      setDelModalVisible(false);\n    }\n  }, [deleteRole]);\n  var handleDeleteRole = (0, _react.useCallback)(function (r) {\n    setDelModalVisible(true);\n    currentHoverRole.current = r;\n  }, []);\n  var handleCopyRole = (0, _react.useCallback)(function (r) {\n    var id = r.id;\n    var newRole = {\n      id: id,\n      copy: true\n    };\n    saveRoleAndRefresh(newRole, '复制角色成功');\n  }, []);\n  var handleSortRole = /*#__PURE__*/function () {\n    var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(newList) {\n      var param, _yield$saveManageRole2, failCount;\n      return _regenerator.default.wrap(function _callee4$(_context4) {\n        while (1) switch (_context4.prev = _context4.next) {\n          case 0:\n            param = {\n              data: (0, _map.default)(newList).call(newList, function (item) {\n                return {\n                  id: item.id\n                };\n              }),\n              reorder: true\n            };\n            _context4.prev = 1;\n            _context4.next = 4;\n            return (0, _home.saveManageRole)(param);\n          case 4:\n            _yield$saveManageRole2 = _context4.sent;\n            failCount = _yield$saveManageRole2.failCount;\n            if (failCount === '0') {\n              (0, _utils.showNotice)('success', '排序成功');\n            }\n            _context4.next = 12;\n            break;\n          case 9:\n            _context4.prev = 9;\n            _context4.t0 = _context4[\"catch\"](1);\n            (0, _utils.showNotice)('error', (_context4.t0 === null || _context4.t0 === void 0 ? void 0 : _context4.t0.message) || '排序失败');\n          case 12:\n          case \"end\":\n            return _context4.stop();\n        }\n      }, _callee4, null, [[1, 9]]);\n    }));\n    return function handleSortRole(_x4) {\n      return _ref4.apply(this, arguments);\n    };\n  }();\n  var getRoleInfoById = /*#__PURE__*/function () {\n    var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(roleId) {\n      var res, _res$rows2, rows;\n      return _regenerator.default.wrap(function _callee5$(_context5) {\n        while (1) switch (_context5.prev = _context5.next) {\n          case 0:\n            if (roleId) {\n              _context5.next = 2;\n              break;\n            }\n            return _context5.abrupt(\"return\");\n          case 2:\n            _context5.prev = 2;\n            _context5.next = 5;\n            return (0, _home.getManageRoleDetail)(roleId);\n          case 5:\n            res = _context5.sent;\n            _res$rows2 = res.rows, rows = _res$rows2 === void 0 ? [] : _res$rows2; // 新增的角色没有应用可授权人员、组织，会复用上个角色的，这里给默认值\n            setRole(rows[0] ? _objectSpread(_objectSpread({}, newRole), rows[0]) : null);\n            _context5.next = 13;\n            break;\n          case 10:\n            _context5.prev = 10;\n            _context5.t0 = _context5[\"catch\"](2);\n            (0, _utils.showNotice)('error', (_context5.t0 === null || _context5.t0 === void 0 ? void 0 : _context5.t0.message) || '排序失败');\n          case 13:\n          case \"end\":\n            return _context5.stop();\n        }\n      }, _callee5, null, [[2, 10]]);\n    }));\n    return function getRoleInfoById(_x5) {\n      return _ref5.apply(this, arguments);\n    };\n  }();\n  var handleConfirm = (0, _react.useCallback)( /*#__PURE__*/function () {\n    var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(newRole) {\n      var closeMessage, param, _yield$saveManageRole3, failCount, result, _result$2, roleId;\n      return _regenerator.default.wrap(function _callee6$(_context6) {\n        while (1) switch (_context6.prev = _context6.next) {\n          case 0:\n            setConfirmLocked(true);\n            closeMessage = (0, _utils.showLoadingMessage)('保存中，请稍候...');\n            _context6.prev = 2;\n            param = {\n              data: [newRole]\n            };\n            _context6.next = 6;\n            return (0, _home.saveManageRole)(param);\n          case 6:\n            _yield$saveManageRole3 = _context6.sent;\n            failCount = _yield$saveManageRole3.failCount;\n            result = _yield$saveManageRole3.result;\n            if (failCount === '0') {\n              closeMessage({\n                type: 'success',\n                content: '保存成功'\n              });\n              roleId = result === null || result === void 0 || (_result$2 = result[0]) === null || _result$2 === void 0 ? void 0 : _result$2.id;\n              initRoleList(roleId);\n              setConfirmLocked(false);\n            }\n            _context6.next = 16;\n            break;\n          case 12:\n            _context6.prev = 12;\n            _context6.t0 = _context6[\"catch\"](2);\n            closeMessage({\n              type: 'error',\n              content: getErrMsg(_context6.t0)\n            });\n            setConfirmLocked(false);\n          case 16:\n          case \"end\":\n            return _context6.stop();\n        }\n      }, _callee6, null, [[2, 12]]);\n    }));\n    return function (_x6) {\n      return _ref6.apply(this, arguments);\n    };\n  }(), [saveRoleAndRefresh]);\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _RoleSettingModalLayout.default.setting_wrapper\n  }, /*#__PURE__*/_react.default.createElement(_SideBar.default, {\n    activeRoleId: activeRoleId,\n    setActiveRoleId: setActiveRoleId,\n    roleList: roleList,\n    onAdd: handleAddRole,\n    onDelete: handleDeleteRole,\n    onCopy: handleCopyRole,\n    onSort: handleSortRole\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _RoleSettingModalLayout.default.content\n  }, /*#__PURE__*/_react.default.createElement(_PlatformRoleSetting.default, {\n    height: modalHeight - 48,\n    role: role,\n    onConfirm: handleConfirm,\n    confirmLocked: confirmLocked,\n    key: role === null || role === void 0 ? void 0 : role.id\n  })), delModalVisible && /*#__PURE__*/_react.default.createElement(_DeleteConfirmModal.InputConfirmModal, {\n    title: \"\\u786E\\u5B9A\\u8981\\u5220\\u9664\\u89D2\\u8272\\\"\".concat(((_currentHoverRole$cur3 = currentHoverRole.current) === null || _currentHoverRole$cur3 === void 0 ? void 0 : _currentHoverRole$cur3.name) || '', \"\\\"\\u5417\\uFF1F\"),\n    desc: \"\\u5220\\u9664\\u89D2\\u8272\\u540E\\uFF0C\\u8BE5\\u89D2\\u8272\\u6388\\u6743\\u7684\\u7EC4\\u7EC7\\u3001\\u4EBA\\u5458\\u6743\\u9650\\u5C06\\u4E00\\u5E76\\u5220\\u9664\\uFF0C\\u4E0D\\u53EF\\u6062\\u590D\",\n    disabledActions: disabledActions,\n    label: \"\\u8BF7\\u8F93\\u5165\\u8BE5\\u89D2\\u8272\\u540D\\u79F0\",\n    validateMsg: \"\\u8BF7\\u8F93\\u5165\\u8BE5\\u89D2\\u8272\\u540D\\u79F0\",\n    onAction: onDeleteActions\n  }));\n});\nvar getErrMsg = function getErrMsg(err) {\n  var _data$result;\n  var data = err.data,\n    message = err.message;\n  var detailMsg = data === null || data === void 0 || (_data$result = data.result) === null || _data$result === void 0 || (_data$result = _data$result[0]) === null || _data$result === void 0 || (_data$result = _data$result.errors) === null || _data$result === void 0 || (_data$result = _data$result[0]) === null || _data$result === void 0 || (_data$result = _data$result.rowMsg) === null || _data$result === void 0 ? void 0 : _data$result[0];\n  return detailMsg || message;\n};\nRoleSettingModalLayout.displayName = 'RoleSettingModalLayout';\nvar _default = exports[\"default\"] = RoleSettingModalLayout;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/web/layout/home/RoleSettingModalLayout.tsx\n");

/***/ }),

/***/ "./src/web/layout/home/ThemeConfigPopLayout.tsx":
/*!******************************************************!*\
  !*** ./src/web/layout/home/ThemeConfigPopLayout.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 _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 _concat = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\"));\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/defineProperty.js\"));\nvar _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/toConsumableArray.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 _ThemeConfigPopLayout = _interopRequireDefault(__webpack_require__(/*! ./ThemeConfigPopLayout.less */ \"./src/web/layout/home/ThemeConfigPopLayout.less\"));\nvar _WebUI = __webpack_require__(/*! nocode_component/WebUI */ \"webpack/container/remote/nocode_component/WebUI\");\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _theme_follow = _interopRequireDefault(__webpack_require__(/*! @@/assets/img/theme_follow.png */ \"./assets/img/theme_follow.png\"));\nvar _theme_dark = _interopRequireDefault(__webpack_require__(/*! @@/assets/img/theme_dark.png */ \"./assets/img/theme_dark.png\"));\nvar _theme_light = _interopRequireDefault(__webpack_require__(/*! @@/assets/img/theme_light.png */ \"./assets/img/theme_light.png\"));\nvar _uploadUrl = __webpack_require__(/*! @/constants/uploadUrl */ \"./src/constants/uploadUrl.ts\");\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nvar _theme = __webpack_require__(/*! @/theme/ */ \"./src/theme/index.tsx\");\nvar _app = __webpack_require__(/*! @/app */ \"./src/app.jsx\");\nvar _ColorSelectField = _interopRequireDefault(__webpack_require__(/*! @/web/component/home/ColorSelectField */ \"./src/web/component/home/ColorSelectField.tsx\"));\nvar _reactDom = __webpack_require__(/*! kd_libs/react-dom */ \"webpack/container/remote/kd_libs/react-dom\");\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 ThemeConfigPopLayout = function ThemeConfigPopLayout(_ref) {\n  var _context;\n  var visible = _ref.visible,\n    onClose = _ref.onClose,\n    _ref$appId = _ref.appId,\n    appId = _ref$appId === void 0 ? '' : _ref$appId,\n    _ref$formId = _ref.formId,\n    formId = _ref$formId === void 0 ? '' : _ref$formId;\n  var themeContext = (0, _react.useContext)(_theme.ThemeContext) || {};\n  var _ref2 = (0, _react.useContext)(_app.Context) || {},\n    state = _ref2.state;\n  var theme = themeContext.theme,\n    onThemeChange = themeContext.onThemeChange,\n    onThemeConfirm = themeContext.onThemeConfirm,\n    onResetTheme = themeContext.onResetTheme,\n    onInitTheme = themeContext.onInitTheme;\n  var _useState = (0, _react.useState)(''),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    navStyle = _useState2[0],\n    setNavStyle = _useState2[1];\n  var _useState3 = (0, _react.useState)(''),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    themeColor = _useState4[0],\n    setThemeColor = _useState4[1];\n  var _useState5 = (0, _react.useState)(''),\n    _useState6 = (0, _slicedToArray2.default)(_useState5, 2),\n    infoColor = _useState6[0],\n    setInfoColor = _useState6[1];\n  var _useState7 = (0, _react.useState)(''),\n    _useState8 = (0, _slicedToArray2.default)(_useState7, 2),\n    successColor = _useState8[0],\n    setSuccessColor = _useState8[1];\n  var _useState9 = (0, _react.useState)(''),\n    _useState10 = (0, _slicedToArray2.default)(_useState9, 2),\n    warningColor = _useState10[0],\n    setWarningColor = _useState10[1];\n  var _useState11 = (0, _react.useState)(''),\n    _useState12 = (0, _slicedToArray2.default)(_useState11, 2),\n    errorColor = _useState12[0],\n    setErrorColor = _useState12[1];\n  var _useState13 = (0, _react.useState)(''),\n    _useState14 = (0, _slicedToArray2.default)(_useState13, 2),\n    platformName = _useState14[0],\n    setPlatformName = _useState14[1];\n  var _useState15 = (0, _react.useState)(''),\n    _useState16 = (0, _slicedToArray2.default)(_useState15, 2),\n    platformNameColor = _useState16[0],\n    setPlatformNameColor = _useState16[1];\n  var _useState17 = (0, _react.useState)(''),\n    _useState18 = (0, _slicedToArray2.default)(_useState17, 2),\n    logo = _useState18[0],\n    setLogo = _useState18[1];\n  var _useState19 = (0, _react.useState)([]),\n    _useState20 = (0, _slicedToArray2.default)(_useState19, 2),\n    logoFileList = _useState20[0],\n    setLogoFileList = _useState20[1];\n  (0, _react.useEffect)(function () {\n    var _ref3 = theme || {},\n      themeColor = _ref3.themeColor,\n      infoColor = _ref3.infoColor,\n      successColor = _ref3.successColor,\n      warningColor = _ref3.warningColor,\n      errorColor = _ref3.errorColor,\n      navStyle = _ref3.navStyle,\n      logo = _ref3.logo,\n      platformName = _ref3.platformName,\n      platformNameColor = _ref3.platformNameColor;\n    (0, _reactDom.unstable_batchedUpdates)(function () {\n      var _state$fileServer;\n      setThemeColor(themeColor);\n      setInfoColor(infoColor);\n      setSuccessColor(successColor);\n      setWarningColor(warningColor);\n      setErrorColor(errorColor);\n      setPlatformName(platformName);\n      setPlatformNameColor(platformNameColor);\n      setLogo(logo);\n      !(0, _includes.default)(logo).call(logo, \"/\".concat(\"ncp\", \"/\")) && setLogoFileList([{\n        uid: '-1',\n        name: 'image1.png',\n        status: 'success',\n        size: 1234,\n        url: (0, _includes.default)(logo).call(logo, 'data:image') ? logo : (state === null || state === void 0 || (_state$fileServer = state.fileServer) === null || _state$fileServer === void 0 ? void 0 : _state$fileServer.imageUrl) + logo\n      }]);\n      setNavStyle(navStyle);\n    });\n  }, [theme, state === null || state === void 0 ? void 0 : state.fileServer]);\n  var themeResult = (0, _react.useMemo)(function () {\n    return {\n      themeColor: themeColor,\n      infoColor: infoColor,\n      successColor: successColor,\n      warningColor: warningColor,\n      errorColor: errorColor,\n      navStyle: navStyle,\n      logo: logo,\n      platformName: platformName,\n      platformNameColor: platformNameColor\n    };\n  }, [navStyle, logo, themeColor, infoColor, successColor, warningColor, errorColor, navStyle, platformName, platformNameColor]);\n  var handleThemeColorChange = (0, _react.useCallback)(function (themeColor) {\n    onThemeChange === null || onThemeChange === void 0 || onThemeChange({\n      themeColor: themeColor\n    });\n    setThemeColor(themeColor);\n  }, [onThemeChange]);\n  var handleSuccessColorChange = (0, _react.useCallback)(function (successColor) {\n    onThemeChange === null || onThemeChange === void 0 || onThemeChange({\n      successColor: successColor\n    });\n    setSuccessColor(successColor);\n  }, [onThemeChange]);\n  var handleInfoColorChange = (0, _react.useCallback)(function (infoColor) {\n    onThemeChange === null || onThemeChange === void 0 || onThemeChange({\n      infoColor: infoColor\n    });\n    setInfoColor(infoColor);\n  }, [onThemeChange]);\n  var handleWarningColorChange = (0, _react.useCallback)(function (warningColor) {\n    onThemeChange === null || onThemeChange === void 0 || onThemeChange({\n      warningColor: warningColor\n    });\n    setWarningColor(warningColor);\n  }, [onThemeChange]);\n  var handleErrorColorChange = (0, _react.useCallback)(function (errorColor) {\n    onThemeChange === null || onThemeChange === void 0 || onThemeChange({\n      errorColor: errorColor\n    });\n    setErrorColor(errorColor);\n  }, [onThemeChange]);\n  var handlePlatformNameColorChange = (0, _react.useCallback)(function (platformNameColor) {\n    onThemeChange === null || onThemeChange === void 0 || onThemeChange({\n      platformNameColor: platformNameColor\n    });\n    setPlatformNameColor(platformNameColor);\n  }, [onThemeChange]);\n  var handlePlatformNameChange = (0, _react.useCallback)(function (platformName) {\n    // 特殊字符校验\n    var reg = new RegExp(\"[`~!_\\+@#$^&*()=|{}':;',\\\\[\\\\].<>《》/?~！@#￥……&*（）——|{}【】‘；：”“'。，、？]\");\n    if (reg.test(platformName)) return;\n    onThemeChange === null || onThemeChange === void 0 || onThemeChange({\n      platformName: platformName\n    });\n    setPlatformName(platformName);\n  }, [onThemeChange]);\n\n  // 设置标题栏主题名称\n  var handleNavStyleChange = (0, _react.useCallback)(function (style) {\n    var _document$querySelect;\n    setNavStyle(style);\n    onThemeChange({\n      navStyle: style\n    });\n    (_document$querySelect = document.querySelector('html')) === null || _document$querySelect === void 0 || _document$querySelect.setAttribute('data-theme', style);\n  }, [onThemeChange]);\n  var handleConfirm = (0, _react.useCallback)(function () {\n    onThemeConfirm(themeResult, onClose);\n  }, [onThemeConfirm, themeResult]);\n  var handleResetDefault = (0, _react.useCallback)(function () {\n    onResetTheme === null || onResetTheme === void 0 || onResetTheme();\n    setLogoFileList([]);\n  }, [onResetTheme]);\n  var handleClose = (0, _react.useCallback)(function () {\n    onInitTheme();\n    onClose();\n  }, [onClose, onInitTheme]);\n  var handleUploadLogo = (0, _react.useCallback)(function (_ref4) {\n    var file = _ref4.file,\n      fileList = _ref4.fileList;\n    if (file.status === 'done' && file.response.status) {\n      var uid = file.uid,\n        name = file.name,\n        size = file.size,\n        response = file.response;\n      var url = response.data.url;\n      // const data = {\n      //   url: file.response.data.url,\n      //   status: 'success',\n      //   uploadTime: Date.now()\n      // }\n      // uploadRef.current.set(file.uid, { uid, name, size, ...data }) // Map存储已上传的文件信息\n\n      var newList = (0, _map.default)(fileList).call(fileList, function (item) {\n        if (item.uid === uid) item.status = 'success';\n        return item;\n      });\n      setLogoFileList((0, _toConsumableArray2.default)(newList));\n      setLogo(url);\n      onThemeChange({\n        logo: url\n      });\n    }\n  }, [onThemeChange]);\n  var handleRemove = (0, _react.useCallback)(function (file) {\n    setLogoFileList([]);\n    if (!(theme !== null && theme !== void 0 && theme.logo)) return;\n    setLogo(theme.logo);\n    onThemeChange({\n      logo: ''\n    });\n    return true;\n  }, [theme, onThemeChange]);\n  var colorItems = (0, _react.useMemo)(function () {\n    return [{\n      title: '主题色',\n      value: themeColor,\n      onChange: handleThemeColorChange\n    }, {\n      title: '信息色',\n      // 用于表示操作信息的 Token 序列，如 Alert 、Tag、 Progress 等组件都有用到该组梯度变量。\n      value: infoColor,\n      onChange: handleInfoColorChange\n    }, {\n      title: '成功色',\n      value: successColor,\n      onChange: handleSuccessColorChange\n    }, {\n      title: '警示色',\n      value: warningColor,\n      onChange: handleWarningColorChange\n    }, {\n      title: '错误色',\n      value: errorColor,\n      onChange: handleErrorColorChange\n    }];\n  }, [themeColor, infoColor, successColor, warningColor, errorColor, handleErrorColorChange, handleWarningColorChange, handleInfoColorChange, handleThemeColorChange]);\n  return /*#__PURE__*/_react.default.createElement(_kdesign.Drawer, {\n    placement: \"right\",\n    visible: visible,\n    onClose: handleClose,\n    destroyOnClose: true,\n    title: \"\\u4E3B\\u9898\\u914D\\u7F6E\",\n    width: 480,\n    mask: false,\n    keyboard: false,\n    className: _ThemeConfigPopLayout.default.theme_config\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.container\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.config_title\n  }, \"\\u8272\\u5F69\\u914D\\u7F6E\"), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.config_content\n  }, (0, _map.default)(colorItems).call(colorItems, function (item, index) {\n    var title = item.title,\n      value = item.value,\n      onChange = item.onChange;\n    return /*#__PURE__*/_react.default.createElement(_ColorSelectField.default, {\n      key: index,\n      title: title,\n      value: value,\n      className: _ThemeConfigPopLayout.default.field_wrapper,\n      onChange: onChange\n    });\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.config_title\n  }, \"\\u54C1\\u724C\\u914D\\u7F6E\"), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.field_title\n  }, \"\\u5BFC\\u822A\\u680F\\u98CE\\u683C\"), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.nav_style\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_ThemeConfigPopLayout.default.nav_style_item, (0, _defineProperty2.default)({}, _ThemeConfigPopLayout.default.active, navStyle === 'light'))\n  }, /*#__PURE__*/_react.default.createElement(\"img\", {\n    src: _theme_light.default,\n    className: _ThemeConfigPopLayout.default.img,\n    onClick: function onClick() {\n      return handleNavStyleChange('light');\n    }\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.desc\n  }, \"\\u6D45\\u8272\")), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_ThemeConfigPopLayout.default.nav_style_item, (0, _defineProperty2.default)({}, _ThemeConfigPopLayout.default.active, navStyle === 'dark'))\n  }, /*#__PURE__*/_react.default.createElement(\"img\", {\n    src: _theme_dark.default,\n    className: _ThemeConfigPopLayout.default.img,\n    onClick: function onClick() {\n      return handleNavStyleChange('dark');\n    }\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.desc\n  }, \"\\u6DF1\\u8272\")), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_ThemeConfigPopLayout.default.nav_style_item, (0, _defineProperty2.default)({}, _ThemeConfigPopLayout.default.active, navStyle === 'theme'))\n  }, /*#__PURE__*/_react.default.createElement(\"img\", {\n    src: _theme_follow.default,\n    className: _ThemeConfigPopLayout.default.img,\n    onClick: function onClick() {\n      return handleNavStyleChange('theme');\n    }\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.desc\n  }, \"\\u8DDF\\u968F\\u4E3B\\u9898\"), /*#__PURE__*/_react.default.createElement(\"i\", {\n    className: _ThemeConfigPopLayout.default.img_nav_bg_bar,\n    style: {\n      backgroundColor: themeColor\n    }\n  }))), /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(\"div\", null)), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.field_title\n  }, \"Logo\"), /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(_WebUI.Picture, {\n    fileList: logoFileList,\n    uploadNum: {\n      max: 1\n    },\n    noticeInfo: \"\\u5EFA\\u8BAE\\u4E0A\\u4F20\\u5C0F\\u4E8E200K\\u7684png\\u56FE\\u7247\",\n    onRemove: handleRemove\n    // onDownload={}\n    ,\n    onChange: handleUploadLogo,\n    enablePreview: true,\n    action: (0, _utils.getFullImageUrl)(_uploadUrl.UPLOAD_IMAGE_URL),\n    data: {\n      action: 'upload',\n      tempstorage: false\n    },\n    accept: \".jpg,.jpeg,.png\"\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.field_group\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.field\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.field_title_wrapper\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.field_name_title\n  }, \"\\u5E73\\u53F0\\u540D\\u79F0\"), /*#__PURE__*/_react.default.createElement(_kdesign.Tooltip, {\n    tip: \"\\u8BF7\\u8BBE\\u7F6E\\u4E0D\\u8D85\\u8FC712\\u4E2A\\u5B57\\u7684\\u5E73\\u53F0\\u540D\\u79F0\"\n  }, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    type: \"wenhao\",\n    prefix: \"nocodeplatformicon\",\n    className: _ThemeConfigPopLayout.default.tip\n  }))), /*#__PURE__*/_react.default.createElement(_WebUI.Text, {\n    value: platformName,\n    maxLength: 12,\n    onChange: handlePlatformNameChange,\n    borderType: \"bordered\"\n  })), /*#__PURE__*/_react.default.createElement(_ColorSelectField.default, {\n    title: \"\\u5E73\\u53F0\\u540D\\u79F0\\u6587\\u5B57\\u8272\",\n    value: platformNameColor,\n    onChange: handlePlatformNameColorChange\n  }))), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ThemeConfigPopLayout.default.footer\n  }, /*#__PURE__*/_react.default.createElement(_WebUI.BtnField, {\n    text: \"\\u6062\\u590D\\u9ED8\\u8BA4\",\n    size: \"small\",\n    onClick: handleResetDefault\n  }), /*#__PURE__*/_react.default.createElement(_WebUI.BtnField, {\n    type: \"primary\",\n    text: \"\\u786E\\u5B9A\",\n    size: \"small\",\n    \"data-nc-action\": (0, _concat.default)(_context = \"\".concat(appId, \"|\")).call(_context, formId, \"|ts_comf\"),\n    onClick: handleConfirm\n  })));\n};\nvar _default = exports[\"default\"] = (0, _react.memo)(ThemeConfigPopLayout);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/web/layout/home/ThemeConfigPopLayout.tsx\n");

/***/ }),

/***/ "./src/web/layout/home/UserInfoModalLayout.tsx":
/*!*****************************************************!*\
  !*** ./src/web/layout/home/UserInfoModalLayout.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 _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 = _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 _UserInfoModalLayout = _interopRequireDefault(__webpack_require__(/*! ./UserInfoModalLayout.less */ \"./src/web/layout/home/UserInfoModalLayout.less\"));\n/**\n * 个人中心/员工信息弹窗，所有数据由reducer管理\n * @returns\n */\nvar UserInfoModalLayout = function UserInfoModalLayout(_ref) {\n  var _data$orgs;\n  var data = _ref.data;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.user_info\n  }, /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.item\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.title\n  }, \"\\u5458\\u5DE5\\u7F16\\u53F7\"), /*#__PURE__*/_react.default.createElement(\"div\", null, (data === null || data === void 0 ? void 0 : data.number) || '-')), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.item\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.title\n  }, \"\\u59D3\\u540D\"), /*#__PURE__*/_react.default.createElement(\"div\", null, (data === null || data === void 0 ? void 0 : data.name) || '-'))), /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.item\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.title\n  }, \"\\u5934\\u50CF\"), /*#__PURE__*/_react.default.createElement(_WebUI.Avatar, {\n    src: data === null || data === void 0 ? void 0 : data.avatar,\n    alt: \"\"\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.item\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.title\n  }, \"\\u6027\\u522B\"), /*#__PURE__*/_react.default.createElement(\"div\", null, (data === null || data === void 0 ? void 0 : data.gender) || '-'))), /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.item\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.title\n  }, \"\\u751F\\u65E5\"), /*#__PURE__*/_react.default.createElement(\"div\", null, (data === null || data === void 0 ? void 0 : data.birthday) || '-')), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.item\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.title\n  }, \"\\u624B\\u673A\\u53F7\"), /*#__PURE__*/_react.default.createElement(\"div\", null, (data === null || data === void 0 ? void 0 : data.phone) || '-'))), /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.item\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.title\n  }, \"\\u90AE\\u7BB1\"), /*#__PURE__*/_react.default.createElement(\"div\", null, (data === null || data === void 0 ? void 0 : data.email) || '-'))), (data === null || data === void 0 ? void 0 : data.orgs) && (data === null || data === void 0 ? void 0 : data.orgs.length) > 0 && /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserInfoModalLayout.default.table\n  }, /*#__PURE__*/_react.default.createElement(\"table\", {\n    cellSpacing: 1,\n    cellPadding: 1\n  }, /*#__PURE__*/_react.default.createElement(\"tr\", null, /*#__PURE__*/_react.default.createElement(\"th\", null, \"\\u6240\\u5C5E\\u7EC4\\u7EC7\\u7F16\\u7801\"), /*#__PURE__*/_react.default.createElement(\"th\", null, \"\\u7EC4\\u7EC7\\u540D\\u79F0\")), data === null || data === void 0 || (_data$orgs = data.orgs) === null || _data$orgs === void 0 ? void 0 : (0, _map.default)(_data$orgs).call(_data$orgs, function (item, index) {\n    return /*#__PURE__*/_react.default.createElement(\"tr\", {\n      key: item.orgNum + index\n    }, /*#__PURE__*/_react.default.createElement(\"td\", null, item.orgNum), /*#__PURE__*/_react.default.createElement(\"td\", null, item.orgName));\n  }))));\n};\nvar _default = exports[\"default\"] = _react.default.memo(UserInfoModalLayout);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2xheW91dC9ob21lL1VzZXJJbmZvTW9kYWxMYXlvdXQudHN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7OztBQUFBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUFBO0FBRUE7QUFBQTtBQUNBO0FBQUE7QUFHQTtBQUFBO0FBQ0E7QUFBQTtBQUtBO0FBQUE7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBRUE7QUFBQTtBQUNBO0FBQUE7QUFLQTtBQUFBO0FBQ0E7QUFBQTtBQUdBO0FBQUE7QUFDQTtBQUFBO0FBS0E7QUFBQTtBQUNBO0FBQUE7QUFVQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBT0E7QUFDQTtBQUFBO0FBS0E7QUFLQTtBQUNBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vbm9jb2RlLXBsYXRmb3JtLy4vc3JjL3dlYi9sYXlvdXQvaG9tZS9Vc2VySW5mb01vZGFsTGF5b3V0LnRzeD80NGY4Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFj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VuZ3RoID4gMCAmJiAoXG4gICAgICA8ZGl2IGNsYXNzTmFtZT17c3R5bGUudGFibGV9PlxuICAgICAgICA8dGFibGUgY2VsbFNwYWNpbmc9ezF9IGNlbGxQYWRkaW5nPXsxfT5cbiAgICAgICAgICA8dHI+XG4gICAgICAgICAgICA8dGg+5omA5bGe57uE57uH57yW56CBPC90aD5cbiAgICAgICAgICAgIDx0aD7nu4Tnu4flkI3np7A8L3RoPlxuICAgICAgICAgIDwvdHI+XG4gICAgICAgICAge1xuICAgICAgICAgICAgZGF0YT8ub3Jncz8ubWFwKChpdGVtOmFueSwgaW5kZXg6bnVtYmVyKSA9PiB7XG4gICAgICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICAgICAgPHRyIGtleT17aXRlbS5vcmdOdW0gKyBpbmRleH0+XG4gICAgICAgICAgICAgICAgICA8dGQ+e2l0ZW0ub3JnTnVtfTwvdGQ+XG4gICAgICAgICAgICAgICAgICA8dGQ+e2l0ZW0ub3JnTmFtZX08L3RkPlxuICAgICAgICAgICAgICAgIDwvdHI+XG4gICAgICAgICAgICAgIClcbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgfVxuICAgICAgICA8L3RhYmxlPlxuICAgICAgPC9kaXY+XG4gICAgKX1cbiAgPC9kaXY+XG4pXG5cbmV4cG9ydCBkZWZhdWx0IFJlYWN0Lm1lbW8oVXNlckluZm9Nb2RhbExheW91dClcbiJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/web/layout/home/UserInfoModalLayout.tsx\n");

/***/ }),

/***/ "./src/web/layout/home/UserPopLayout.tsx":
/*!***********************************************!*\
  !*** ./src/web/layout/home/UserPopLayout.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 _includes = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.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 _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 _WebUI = __webpack_require__(/*! nocode_component/WebUI */ \"webpack/container/remote/nocode_component/WebUI\");\nvar _UserPopLayout = _interopRequireDefault(__webpack_require__(/*! ./UserPopLayout.less */ \"./src/web/layout/home/UserPopLayout.less\"));\nvar _ThemeConfigPopLayout = _interopRequireDefault(__webpack_require__(/*! ./ThemeConfigPopLayout */ \"./src/web/layout/home/ThemeConfigPopLayout.tsx\"));\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nvar _UserInfoModalLayout = _interopRequireDefault(__webpack_require__(/*! ./UserInfoModalLayout */ \"./src/web/layout/home/UserInfoModalLayout.tsx\"));\nvar _RoleSettingModalLayout = _interopRequireDefault(__webpack_require__(/*! ./RoleSettingModalLayout */ \"./src/web/layout/home/RoleSettingModalLayout.tsx\"));\nvar _UsingManageModalLayout = _interopRequireDefault(__webpack_require__(/*! ./UsingManageModalLayout */ \"./src/web/layout/home/UsingManageModalLayout.tsx\"));\nvar _useAppContext2 = _interopRequireDefault(__webpack_require__(/*! @/hooks/useAppContext */ \"./src/hooks/useAppContext.js\"));\nvar _home = __webpack_require__(/*! @/actions/home */ \"./src/actions/home.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-02-13 19:09:11\n * @LastEditTime: 2024-01-17 09:38:38\n * @Last Modified by: jianhang_he\n */\n/**\n * 点击用户头像弹窗--pop\n * @param {{setVisible: Function, data: Object}}\n * @param setVisible 设置显示隐藏\n * @param data 用户信息\n * @returns JSX\n */\n\n// const UserInfoModalLayout = lazy(() => import('./UserInfoModalLayout'))\nvar CompanyModal = (0, _react.lazy)(function () {\n  return Promise.all(/*! import() | w-modal */[__webpack_require__.e(1000), __webpack_require__.e(2656)]).then(__webpack_require__.t.bind(__webpack_require__, /*! @/web/layout/home/CompanyModalLayout */ \"./src/web/layout/home/CompanyModalLayout.tsx\", 23));\n});\n// const ThemeConfigPopLayout = lazy(() => import('./ThemeConfigPopLayout'))\n\nvar RoleSettingModalHeight = (0, _utils.getModalHeight)();\nvar NoAuthItems = ['center', 'company'];\nvar UserPopLayout = (0, _react.forwardRef)(function (_ref, ref) {\n  var _context, _context2;\n  var _ref$data = _ref.data,\n    data = _ref$data === void 0 ? {} : _ref$data,\n    setVisible = _ref.setVisible,\n    handleClickTheme = _ref.handleClickTheme,\n    handleClickLogout = _ref.handleClickLogout,\n    _ref$appId = _ref.appId,\n    appId = _ref$appId === void 0 ? '' : _ref$appId,\n    _ref$formId = _ref.formId,\n    formId = _ref$formId === void 0 ? '' : _ref$formId;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    themeConfigVi = _useState2[0],\n    setThemeConfigVi = _useState2[1];\n  var _useAppContext = (0, _useAppContext2.default)(),\n    state = _useAppContext.state,\n    dispatch = _useAppContext.dispatch;\n  var userInfo = state.userInfo;\n  var _ref2 = userInfo || {},\n    isAdminUser = _ref2.isAdminUser;\n  var onThemeConfigClick = (0, _react.useCallback)(function () {\n    if (handleClickTheme) return handleClickTheme();\n    setThemeConfigVi(true);\n  }, [handleClickTheme]);\n  var onCloseThemeConfig = (0, _react.useCallback)(function () {\n    setThemeConfigVi(false);\n  }, []);\n\n  /**\n   * 显示员工信息\n   */\n  var showStaffModal = (0, _react.useCallback)(function () {\n    var height = (0, _utils.autoModalHeight)(520, 640, 640, /*#__PURE__*/_react.default.createElement(_UserInfoModalLayout.default, {\n      data: data\n    }));\n    _kdesign.Modal.confirm({\n      title: '个人中心',\n      showline: true,\n      footer: null,\n      titleIcon: null,\n      width: 640,\n      height: height,\n      type: 'normal',\n      bodyStyle: {\n        padding: 0,\n        overflow: 'hidden'\n      },\n      body: /*#__PURE__*/_react.default.createElement(_react.Suspense, {\n        fallback: /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)\n      }, /*#__PURE__*/_react.default.createElement(_UserInfoModalLayout.default, {\n        data: data\n      })),\n      closable: true,\n      maskClosable: false\n    });\n  }, [data]);\n  var showCompany = function showCompany() {\n    var height = (0, _utils.autoModalHeight)(520, 748);\n    _kdesign.Modal.confirm({\n      title: '企业管理',\n      showline: true,\n      titleIcon: null,\n      footer: null,\n      width: 960,\n      height: height,\n      type: 'normal',\n      bodyStyle: {\n        padding: 0,\n        display: 'flex',\n        overflow: 'hidden',\n        flexBasis: 0\n      },\n      body: /*#__PURE__*/_react.default.createElement(_react.Suspense, {\n        fallback: /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)\n      }, \" \", /*#__PURE__*/_react.default.createElement(CompanyModal, null), \" \"),\n      closable: true,\n      maskClosable: false\n    });\n  };\n  var showRoleSetting = function showRoleSetting() {\n    _kdesign.Modal.confirm({\n      title: '平台授权',\n      showline: true,\n      titleIcon: null,\n      footer: null,\n      width: 1112,\n      height: RoleSettingModalHeight,\n      type: 'normal',\n      bodyStyle: {\n        padding: 0,\n        display: 'flex',\n        overflow: 'hidden',\n        flexBasis: 0,\n        backgroundColor: '#F8FAFC'\n      },\n      body: /*#__PURE__*/_react.default.createElement(_react.Suspense, {\n        fallback: /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)\n      }, \" \", /*#__PURE__*/_react.default.createElement(_RoleSettingModalLayout.default, {\n        modalHeight: RoleSettingModalHeight\n      }), \" \"),\n      closable: true,\n      maskClosable: false\n    });\n  };\n  var showUsingManage = function showUsingManage() {\n    _kdesign.Modal.confirm({\n      title: '使用管理',\n      showline: true,\n      titleIcon: null,\n      footer: null,\n      width: 960,\n      // height: 372, // 完整版\n      height: 216,\n      type: 'normal',\n      bodyStyle: {\n        padding: 0,\n        display: 'flex',\n        overflow: 'hidden',\n        flexBasis: 0,\n        backgroundColor: '#F8FAFC'\n      },\n      body: /*#__PURE__*/_react.default.createElement(_react.Suspense, {\n        fallback: /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null)\n      }, \" \", /*#__PURE__*/_react.default.createElement(_UsingManageModalLayout.default, null), \" \"),\n      closable: true,\n      maskClosable: false\n    });\n  };\n  var onItemClick = function onItemClick(key) {\n    return function () {\n      // 不用验权的项\n      if ((0, _includes.default)(NoAuthItems).call(NoAuthItems, key)) {\n        switch (key) {\n          case 'center':\n            showStaffModal();\n            break;\n          case 'company':\n            showCompany();\n            break;\n        }\n        setVisible(false);\n        return;\n      }\n      // 要验权的项\n      (0, _home.getUserInfo)(dispatch).then(function (info) {\n        var _info$rows;\n        setVisible(false);\n        var _ref3 = (info === null || info === void 0 || (_info$rows = info.rows) === null || _info$rows === void 0 ? void 0 : _info$rows[0]) || {},\n          curAuth = _ref3.isAdminUser;\n        if (curAuth) {\n          switch (key) {\n            case 'role':\n              showRoleSetting();\n              break;\n            case 'use':\n              showUsingManage();\n              break;\n            case 'thema':\n              onThemeConfigClick();\n              break;\n          }\n        } else {\n          (0, _utils.showNotice)('warnning', '暂无权限');\n        }\n      });\n    };\n  };\n\n  // useEffect(() => {\n  //   document.body.addEventListener('click', () => setVisible(false))\n  //   return () => document.body.removeEventListener('click', () => console.log('unmount'))\n  // }, [])\n  // 退出重新登录后的URL\n  // const url = encodeURIComponent(window.location.pathname.replace(window.__domainurl__, '/'))\n  var url = encodeURIComponent(window.location.pathname.replace(window.__domainurl__, ''));\n  var userDataAction = (0, _concat.default)(_context = \"\".concat(appId || '', \"|\")).call(_context, formId || '');\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserPopLayout.default.user_info_body\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserPopLayout.default.info\n  }, /*#__PURE__*/_react.default.createElement(_WebUI.Avatar, {\n    src: data === null || data === void 0 ? void 0 : data.avatar,\n    size: 48\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserPopLayout.default.usr\n  }, /*#__PURE__*/_react.default.createElement(\"p\", {\n    className: _UserPopLayout.default.title\n  }, data === null || data === void 0 ? void 0 : data.name), /*#__PURE__*/_react.default.createElement(\"p\", {\n    className: _UserPopLayout.default.campany\n  }, data === null || data === void 0 ? void 0 : data.company))), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserPopLayout.default.item,\n    onClick: onItemClick('center'),\n    \"data-nc-action\": \"\".concat(userDataAction, \"|tb_menu_pc\")\n  }, /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"gerenzhongxin\"\n  }), /*#__PURE__*/_react.default.createElement(\"span\", null, \"\\u4E2A\\u4EBA\\u4E2D\\u5FC3\")), /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"jinru\"\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserPopLayout.default.item,\n    onClick: onItemClick('company'),\n    \"data-nc-action\": \"\".concat(userDataAction, \"|tb_menu_em\")\n  }, /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"qiyeguanli\"\n  }), /*#__PURE__*/_react.default.createElement(\"span\", null, \"\\u4F01\\u4E1A\\u7BA1\\u7406\")), /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"jinru\"\n  })), isAdminUser && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserPopLayout.default.item,\n    onClick: onItemClick('role')\n  }, /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"yingyongquanxian\"\n  }), /*#__PURE__*/_react.default.createElement(\"span\", null, \"\\u5E73\\u53F0\\u6388\\u6743\")), /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"jinru\"\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserPopLayout.default.item,\n    onClick: onItemClick('use')\n  }, /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"fenxi-xian\"\n  }), /*#__PURE__*/_react.default.createElement(\"span\", null, \"\\u4F7F\\u7528\\u7BA1\\u7406\")), /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"jinru\"\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserPopLayout.default.item,\n    onClick: onItemClick('thema'),\n    \"data-nc-action\": \"\".concat(userDataAction, \"|tb_menu_ts\")\n  }, /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"diaoseban\"\n  }), /*#__PURE__*/_react.default.createElement(\"span\", null, \"\\u4E3B\\u9898\\u914D\\u7F6E\")), /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"jinru\"\n  }))), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UserPopLayout.default.login_out,\n    onClick: handleClickLogout,\n    \"data-nc-action\": \"\".concat(userDataAction, \"|tb_out\")\n  }, handleClickLogout ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"tuichu\"\n  }), \"\\u9000\\u51FA\\u767B\\u5F55\") : /*#__PURE__*/_react.default.createElement(\"a\", {\n    href: (0, _utils.getUrlWithDataCenter)((0, _concat.default)(_context2 = \"\".concat(window.__domainurl__, \"auth/logout.do?redirect=\")).call(_context2, url)),\n    target: \"_self\"\n  }, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"tuichu\"\n  }), \"\\u9000\\u51FA\\u767B\\u5F55\")), themeConfigVi && /*#__PURE__*/_react.default.createElement(_ThemeConfigPopLayout.default, {\n    appId: appId,\n    formId: formId,\n    onClose: onCloseThemeConfig,\n    visible: themeConfigVi\n  }));\n});\nvar _default = exports[\"default\"] = (0, _react.memo)(UserPopLayout);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/web/layout/home/UserPopLayout.tsx\n");

/***/ }),

/***/ "./src/web/layout/home/UsingManageModalLayout.tsx":
/*!********************************************************!*\
  !*** ./src/web/layout/home/UsingManageModalLayout.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 _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/regenerator */ \"../../node_modules/@babel/runtime-corejs3/regenerator/index.js\"));\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/extends.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 _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _UsingManageModalLayout = _interopRequireDefault(__webpack_require__(/*! ./UsingManageModalLayout.less */ \"./src/web/layout/home/UsingManageModalLayout.less\"));\nvar _CommonStatisticCard = _interopRequireDefault(__webpack_require__(/*! @/web/component/common/card/CommonStatisticCard */ \"./src/web/component/common/card/CommonStatisticCard.tsx\"));\nvar _home = __webpack_require__(/*! @/actions/home */ \"./src/actions/home.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: xiaoman_xie\n * @Date: 2023-12-27 17:01:18\n * @LastEditTime: 2024-01-09 16:51:59\n * @Last Modified by: xiaoman_xie\n */\n\n// 完整版\n// const handleInfo = (info) => {\n//   const { appNums, formNums, recordNums } = info\n//   return [{\n//     title: '许可',\n//     list: [{\n//       num: 10,\n//       label: '许可数量'\n//     }, {\n//       num: 10,\n//       label: '授权用户数量'\n//     }],\n//     itemWidth: 446\n//   }, {\n//     title: '使用',\n//     list: [{\n//       num: appNums,\n//       label: '应用总数'\n//     }, {\n//       num: formNums,\n//       label: '表单总数（上限1000个）'\n//     }, {\n//       num: 5918,\n//       label: '表单记录总数'\n//     }, {\n//       num: recordNums,\n//       label: '流程总数'\n//     }, {\n//       num: 10,\n//       label: '流程记录总数'\n//     }],\n//     itemWidth: 117\n//   }]\n// }\n\n// 简易版\nvar handleInfo = function handleInfo(info) {\n  var appNums = info.appNums,\n    formNums = info.formNums;\n  return [{\n    title: '使用',\n    list: [{\n      num: appNums,\n      label: '应用总数'\n    }, {\n      num: formNums,\n      label: '表单总数（上限1000个）'\n    }],\n    itemWidth: 446\n  }];\n};\nvar UsingManageModal = (0, _react.memo)(function () {\n  var _useState = (0, _react.useState)([]),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    platInfo = _useState2[0],\n    setPlatInfo = _useState2[1];\n  (0, _react.useEffect)( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {\n    var _res$rows;\n    var res, info;\n    return _regenerator.default.wrap(function _callee$(_context) {\n      while (1) switch (_context.prev = _context.next) {\n        case 0:\n          _context.next = 2;\n          return (0, _home.getPaltInfo)();\n        case 2:\n          res = _context.sent;\n          info = res === null || res === void 0 || (_res$rows = res.rows) === null || _res$rows === void 0 ? void 0 : _res$rows[0];\n          info && setPlatInfo(handleInfo(info));\n        case 5:\n        case \"end\":\n          return _context.stop();\n      }\n    }, _callee);\n  })), []);\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _UsingManageModalLayout.default.using_container\n  }, platInfo === null || platInfo === void 0 ? void 0 : (0, _map.default)(platInfo).call(platInfo, function (item) {\n    return /*#__PURE__*/_react.default.createElement(_CommonStatisticCard.default, (0, _extends2.default)({\n      className: _UsingManageModalLayout.default.card,\n      key: item.title\n    }, item));\n  }));\n});\nUsingManageModal.displayName = 'UsingManageModal';\nvar _default = exports[\"default\"] = UsingManageModal;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvd2ViL2xheW91dC9ob21lL1VzaW5nTWFuYWdlTW9kYWxMYXlvdXQudHN4IiwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7QUFPQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFWQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFNQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFFQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0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An6KGo5Y2V5oC75pWw77yI5LiK6ZmQMTAwMOS4qu+8iSdcbiAgICB9XSxcbiAgICBpdGVtV2lkdGg6IDQ0NlxuICB9XVxufVxuXG5jb25zdCBVc2luZ01hbmFnZU1vZGFsID0gbWVtbygoKSA9PiB7XG4gIGNvbnN0IFtwbGF0SW5mbywgc2V0UGxhdEluZm9dID0gdXNlU3RhdGUoW10pXG4gIHVzZUVmZmVjdChhc3luYyAoKSA9PiB7XG4gICAgY29uc3QgcmVzID0gYXdhaXQgZ2V0UGFsdEluZm8oKVxuICAgIGNvbnN0IGluZm8gPSByZXM/LnJvd3M/LlswXVxuICAgIGluZm8gJiYgc2V0UGxhdEluZm8oaGFuZGxlSW5mbyhpbmZvKSlcbiAgfSwgW10pXG5cbiAgcmV0dXJuIChcbiAgICA8ZGl2IGNsYXNzTmFtZT17c3R5bGVzLnVzaW5nX2NvbnRhaW5lcn0+XG4gICAgICB7XG4gICAgICAgIHBsYXRJbmZvPy5tYXAoaXRlbSA9PiB7XG4gICAgICAgICAgcmV0dXJuIDxDb21tb25TdGF0aXN0aWNDYXJkIGNsYXNzTmFtZT17c3R5bGVzLmNhcmR9IGtleT17aXRlbS50aXRsZX0gey4uLml0ZW19IC8+XG4gICAgICAgIH0pXG4gICAgICB9XG4gICAgPC9kaXY+XG4gIClcbn0pXG5cblVzaW5nTWFuYWdlTW9kYWwuZGlzcGxheU5hbWUgPSAnVXNpbmdNYW5hZ2VNb2RhbCdcbmV4cG9ydCBkZWZhdWx0IFVzaW5nTWFuYWdlTW9kYWxcbiJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/web/layout/home/UsingManageModalLayout.tsx\n");

/***/ }),

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

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

/***/ }),

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

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

/***/ }),

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

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

/***/ }),

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

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

/***/ })

}]);