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

/***/ "./src/mobile/component/apps/StatisticPopUp.less":
/*!*******************************************************!*\
  !*** ./src/mobile/component/apps/StatisticPopUp.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\"] = ({\"popup\":\"MedmhCc9_popup\",\"card_empty\":\"X3GkFD5l_card_empty\",\"empty_text\":\"E-F5iF7K_empty_text\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9hcHBzL1N0YXRpc3RpY1BvcFVwLmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9hcHBzL1N0YXRpc3RpY1BvcFVwLmxlc3M/NWQ2YSJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCBkZWZhdWx0IHtcInBvcHVwXCI6XCJNZWRtaENjOV9wb3B1cFwiLFwiY2FyZF9lbXB0eVwiOlwiWDNHa0ZENWxfY2FyZF9lbXB0eVwiLFwiZW1wdHlfdGV4dFwiOlwiRS1GNWlGN0tfZW1wdHlfdGV4dFwifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/mobile/component/apps/StatisticPopUp.less\n");

/***/ }),

/***/ "./src/mobile/component/common/Collapse.less":
/*!***************************************************!*\
  !*** ./src/mobile/component/common/Collapse.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\"] = ({\"collapse\":\"RJWK3-+K_collapse\",\"collapse_panel_header\":\"YUIdlg8U_collapse_panel_header\",\"collapse_panel_header_main\":\"tcoEERJw_collapse_panel_header_main\",\"collapse_panel_header_arrow_icon\":\"VPvh0tfW_collapse_panel_header_arrow_icon\",\"collapse_panel_header_arrow_icon_expand\":\"MrYTlaT-_collapse_panel_header_arrow_icon_expand\",\"collapse_panel_content\":\"_0oFj8rRC_collapse_panel_content\",\"collapse_panel_content_hidden\":\"gSP+kLEl_collapse_panel_content_hidden\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vQ29sbGFwc2UubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy9tb2JpbGUvY29tcG9uZW50L2NvbW1vbi9Db2xsYXBzZS5sZXNzPzViNzciXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJjb2xsYXBzZVwiOlwiUkpXSzMtK0tfY29sbGFwc2VcIixcImNvbGxhcHNlX3BhbmVsX2hlYWRlclwiOlwiWVVJZGxnOFVfY29sbGFwc2VfcGFuZWxfaGVhZGVyXCIsXCJjb2xsYXBzZV9wYW5lbF9oZWFkZXJfbWFpblwiOlwidGNvRUVSSndfY29sbGFwc2VfcGFuZWxfaGVhZGVyX21haW5cIixcImNvbGxhcHNlX3BhbmVsX2hlYWRlcl9hcnJvd19pY29uXCI6XCJWUHZoMHRmV19jb2xsYXBzZV9wYW5lbF9oZWFkZXJfYXJyb3dfaWNvblwiLFwiY29sbGFwc2VfcGFuZWxfaGVhZGVyX2Fycm93X2ljb25fZXhwYW5kXCI6XCJNcllUbGFULV9jb2xsYXBzZV9wYW5lbF9oZWFkZXJfYXJyb3dfaWNvbl9leHBhbmRcIixcImNvbGxhcHNlX3BhbmVsX2NvbnRlbnRcIjpcIl8wb0ZqOHJSQ19jb2xsYXBzZV9wYW5lbF9jb250ZW50XCIsXCJjb2xsYXBzZV9wYW5lbF9jb250ZW50X2hpZGRlblwiOlwiZ1NQK2tMRWxfY29sbGFwc2VfcGFuZWxfY29udGVudF9oaWRkZW5cIn07Il0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/mobile/component/common/Collapse.less\n");

/***/ }),

/***/ "./src/mobile/component/common/DataGrid/index.less":
/*!*********************************************************!*\
  !*** ./src/mobile/component/common/DataGrid/index.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\"] = ({\"table_view_grid_wrapper\":\"ShCVy8A9_table_view_grid_wrapper\",\"table_toggle_btn_wrapper\":\"l-ouz0Qh_table_toggle_btn_wrapper\",\"table_toggle_btn\":\"dF4DXW+x_table_toggle_btn\",\"font\":\"_0A5GcYKK_font\",\"table_horizontal\":\"v7TI5A0v_table_horizontal\",\"table_toggle_btn_wrapper_horizontal\":\"Uw2yvRQx_table_toggle_btn_wrapper_horizontal\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vRGF0YUdyaWQvaW5kZXgubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy9tb2JpbGUvY29tcG9uZW50L2NvbW1vbi9EYXRhR3JpZC9pbmRleC5sZXNzP2I3ODAiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJ0YWJsZV92aWV3X2dyaWRfd3JhcHBlclwiOlwiU2hDVnk4QTlfdGFibGVfdmlld19ncmlkX3dyYXBwZXJcIixcInRhYmxlX3RvZ2dsZV9idG5fd3JhcHBlclwiOlwibC1vdXowUWhfdGFibGVfdG9nZ2xlX2J0bl93cmFwcGVyXCIsXCJ0YWJsZV90b2dnbGVfYnRuXCI6XCJkRjREWFcreF90YWJsZV90b2dnbGVfYnRuXCIsXCJmb250XCI6XCJfMEE1R2NZS0tfZm9udFwiLFwidGFibGVfaG9yaXpvbnRhbFwiOlwidjdUSTVBMHZfdGFibGVfaG9yaXpvbnRhbFwiLFwidGFibGVfdG9nZ2xlX2J0bl93cmFwcGVyX2hvcml6b250YWxcIjpcIlV3Mnl2UlF4X3RhYmxlX3RvZ2dsZV9idG5fd3JhcHBlcl9ob3Jpem9udGFsXCJ9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/mobile/component/common/DataGrid/index.less\n");

/***/ }),

/***/ "./src/mobile/component/common/Dropdown.less":
/*!***************************************************!*\
  !*** ./src/mobile/component/common/Dropdown.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\"] = ({\"popup\":\"_24rd4JoP_popup\",\"menu\":\"SGoUjTPO_menu\",\"item\":\"eDA+UWe2_item\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vRHJvcGRvd24ubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy9tb2JpbGUvY29tcG9uZW50L2NvbW1vbi9Ecm9wZG93bi5sZXNzP2NiZTIiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJwb3B1cFwiOlwiXzI0cmQ0Sm9QX3BvcHVwXCIsXCJtZW51XCI6XCJTR29ValRQT19tZW51XCIsXCJpdGVtXCI6XCJlREErVVdlMl9pdGVtXCJ9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/mobile/component/common/Dropdown.less\n");

/***/ }),

/***/ "./src/mobile/component/common/FooterBtns.less":
/*!*****************************************************!*\
  !*** ./src/mobile/component/common/FooterBtns.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\"] = ({\"footerbtns\":\"P4JiD7Lg_footerbtns\",\"button\":\"KSTYsSPi_button\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vRm9vdGVyQnRucy5sZXNzIiwibWFwcGluZ3MiOiI7QUFBQTtBQUNBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vbm9jb2RlLXBsYXRmb3JtLy4vc3JjL21vYmlsZS9jb21wb25lbnQvY29tbW9uL0Zvb3RlckJ0bnMubGVzcz9iZjg0Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxuZXhwb3J0IGRlZmF1bHQge1wiZm9vdGVyYnRuc1wiOlwiUDRKaUQ3TGdfZm9vdGVyYnRuc1wiLFwiYnV0dG9uXCI6XCJLU1RZc1NQaV9idXR0b25cIn07Il0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/mobile/component/common/FooterBtns.less\n");

/***/ }),

/***/ "./src/mobile/component/common/ListFilterSetting/ListFilterRefBill.less":
/*!******************************************************************************!*\
  !*** ./src/mobile/component/common/ListFilterSetting/ListFilterRefBill.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\"] = ({\"ref-bill-option\":\"+oBEuJ0u_ref-bill-option\",\"ref-bill-option-title\":\"Ss00zqM6_ref-bill-option-title\",\"ref-bill-option-desc\":\"HIEvw0n6_ref-bill-option-desc\",\"ref-bill-option-empty\":\"MILWai+7_ref-bill-option-empty\",\"ref-bill-extra\":\"ogxI8+qW_ref-bill-extra\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vTGlzdEZpbHRlclNldHRpbmcvTGlzdEZpbHRlclJlZkJpbGwubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy9tb2JpbGUvY29tcG9uZW50L2NvbW1vbi9MaXN0RmlsdGVyU2V0dGluZy9MaXN0RmlsdGVyUmVmQmlsbC5sZXNzP2FiOWUiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJyZWYtYmlsbC1vcHRpb25cIjpcIitvQkV1SjB1X3JlZi1iaWxsLW9wdGlvblwiLFwicmVmLWJpbGwtb3B0aW9uLXRpdGxlXCI6XCJTczAwenFNNl9yZWYtYmlsbC1vcHRpb24tdGl0bGVcIixcInJlZi1iaWxsLW9wdGlvbi1kZXNjXCI6XCJISUV2dzBuNl9yZWYtYmlsbC1vcHRpb24tZGVzY1wiLFwicmVmLWJpbGwtb3B0aW9uLWVtcHR5XCI6XCJNSUxXYWkrN19yZWYtYmlsbC1vcHRpb24tZW1wdHlcIixcInJlZi1iaWxsLWV4dHJhXCI6XCJvZ3hJOCtxV19yZWYtYmlsbC1leHRyYVwifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/mobile/component/common/ListFilterSetting/ListFilterRefBill.less\n");

/***/ }),

/***/ "./src/mobile/component/common/ListFilterSetting/ListFilterSettingPopup.less":
/*!***********************************************************************************!*\
  !*** ./src/mobile/component/common/ListFilterSetting/ListFilterSettingPopup.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\"] = ({\"table_filter\":\"KrCVnp5G_table_filter\",\"filter_content\":\"PipMMjst_filter_content\",\"nodata\":\"LyBlJvXI_nodata\",\"maintips\":\"_6Otj9+tj_maintips\",\"operatetips\":\"w7qcj7Qj_operatetips\",\"btn\":\"_6D6Vs4EB_btn\",\"filter_item\":\"u1wTl41z_filter_item\",\"item_header\":\"_5F0vB4vz_item_header\",\"title\":\"cEKjRhPr_title\",\"delicon\":\"chmbDILp_delicon\",\"select_container\":\"_09fzpj0Z_select_container\",\"condition_selectBox\":\"oTsg+Lwn_condition_selectBox\",\"condition_select\":\"pqnX3S6F_condition_select\",\"value_selectbox\":\"mlACFWg1_value_selectbox\",\"withcond_select\":\"YCGtP4fG_withcond_select\",\"footerbtns\":\"uFWjM3hI_footerbtns\",\"button\":\"WKK59QF-_button\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vTGlzdEZpbHRlclNldHRpbmcvTGlzdEZpbHRlclNldHRpbmdQb3B1cC5sZXNzIiwibWFwcGluZ3MiOiI7QUFBQTtBQUNBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vbm9jb2RlLXBsYXRmb3JtLy4vc3JjL21vYmlsZS9jb21wb25lbnQvY29tbW9uL0xpc3RGaWx0ZXJTZXR0aW5nL0xpc3RGaWx0ZXJTZXR0aW5nUG9wdXAubGVzcz84OGQ5Il0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxuZXhwb3J0IGRlZmF1bHQge1widGFibGVfZmlsdGVyXCI6XCJLckNWbnA1R190YWJsZV9maWx0ZXJcIixcImZpbHRlcl9jb250ZW50XCI6XCJQaXBNTWpzdF9maWx0ZXJfY29udGVudFwiLFwibm9kYXRhXCI6XCJMeUJsSnZYSV9ub2RhdGFcIixcIm1haW50aXBzXCI6XCJfNk90ajkrdGpfbWFpbnRpcHNcIixcIm9wZXJhdGV0aXBzXCI6XCJ3N3FjajdRal9vcGVyYXRldGlwc1wiLFwiYnRuXCI6XCJfNkQ2VnM0RUJfYnRuXCIsXCJmaWx0ZXJfaXRlbVwiOlwidTF3VGw0MXpfZmlsdGVyX2l0ZW1cIixcIml0ZW1faGVhZGVyXCI6XCJfNUYwdkI0dnpfaXRlbV9oZWFkZXJcIixcInRpdGxlXCI6XCJjRUtqUmhQcl90aXRsZVwiLFwiZGVsaWNvblwiOlwiY2htYkRJTHBfZGVsaWNvblwiLFwic2VsZWN0X2NvbnRhaW5lclwiOlwiXzA5ZnpwajBaX3NlbGVjdF9jb250YWluZXJcIixcImNvbmRpdGlvbl9zZWxlY3RCb3hcIjpcIm9Uc2crTHduX2NvbmRpdGlvbl9zZWxlY3RCb3hcIixcImNvbmRpdGlvbl9zZWxlY3RcIjpcInBxblgzUzZGX2NvbmRpdGlvbl9zZWxlY3RcIixcInZhbHVlX3NlbGVjdGJveFwiOlwibWxBQ0ZXZzFfdmFsdWVfc2VsZWN0Ym94XCIsXCJ3aXRoY29uZF9zZWxlY3RcIjpcIllDR3RQNGZHX3dpdGhjb25kX3NlbGVjdFwiLFwiZm9vdGVyYnRuc1wiOlwidUZXak0zaElfZm9vdGVyYnRuc1wiLFwiYnV0dG9uXCI6XCJXS0s1OVFGLV9idXR0b25cIn07Il0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/mobile/component/common/ListFilterSetting/ListFilterSettingPopup.less\n");

/***/ }),

/***/ "./src/mobile/component/common/ListFilterSetting/ListItemSettingPopup.less":
/*!*********************************************************************************!*\
  !*** ./src/mobile/component/common/ListFilterSetting/ListItemSettingPopup.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\"] = ({\"popup\":\"m+O5AcM1_popup\",\"box\":\"KZC7ATdA_box\",\"tip\":\"_9DW135-1_tip\",\"title\":\"u8tt+702_title\",\"close\":\"BmXfEoN3_close\",\"data_list\":\"EISZ81Ln_data_list\",\"item\":\"ivjkTRUS_item\",\"delete\":\"rE0GUg0W_delete\",\"content\":\"hj8FBI7U_content\",\"values\":\"_5JQIh35k_values\",\"footer\":\"_2DL1xmlo_footer\",\"selected\":\"sxLCbjMb_selected\",\"checkbox-wrapper\":\"K89+mDrt_checkbox-wrapper\",\"checkbox\":\"kOjRTnai_checkbox\",\"desc\":\"IMLDxmH6_desc\",\"confirm\":\"BA1GYNhx_confirm\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vTGlzdEZpbHRlclNldHRpbmcvTGlzdEl0ZW1TZXR0aW5nUG9wdXAubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy9tb2JpbGUvY29tcG9uZW50L2NvbW1vbi9MaXN0RmlsdGVyU2V0dGluZy9MaXN0SXRlbVNldHRpbmdQb3B1cC5sZXNzP2FhZmMiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJwb3B1cFwiOlwibStPNUFjTTFfcG9wdXBcIixcImJveFwiOlwiS1pDN0FUZEFfYm94XCIsXCJ0aXBcIjpcIl85RFcxMzUtMV90aXBcIixcInRpdGxlXCI6XCJ1OHR0KzcwMl90aXRsZVwiLFwiY2xvc2VcIjpcIkJtWGZFb04zX2Nsb3NlXCIsXCJkYXRhX2xpc3RcIjpcIkVJU1o4MUxuX2RhdGFfbGlzdFwiLFwiaXRlbVwiOlwiaXZqa1RSVVNfaXRlbVwiLFwiZGVsZXRlXCI6XCJyRTBHVWcwV19kZWxldGVcIixcImNvbnRlbnRcIjpcImhqOEZCSTdVX2NvbnRlbnRcIixcInZhbHVlc1wiOlwiXzVKUUloMzVrX3ZhbHVlc1wiLFwiZm9vdGVyXCI6XCJfMkRMMXhtbG9fZm9vdGVyXCIsXCJzZWxlY3RlZFwiOlwic3hMQ2JqTWJfc2VsZWN0ZWRcIixcImNoZWNrYm94LXdyYXBwZXJcIjpcIks4OSttRHJ0X2NoZWNrYm94LXdyYXBwZXJcIixcImNoZWNrYm94XCI6XCJrT2pSVG5haV9jaGVja2JveFwiLFwiZGVzY1wiOlwiSU1MRHhtSDZfZGVzY1wiLFwiY29uZmlybVwiOlwiQkExR1lOaHhfY29uZmlybVwifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/mobile/component/common/ListFilterSetting/ListItemSettingPopup.less\n");

/***/ }),

/***/ "./src/mobile/component/common/SelectListPopup.less":
/*!**********************************************************!*\
  !*** ./src/mobile/component/common/SelectListPopup.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\"] = ({\"popup\":\"tRh6-wHo_popup\",\"box\":\"_7nCtjkdG_box\",\"tip\":\"RUN3A021_tip\",\"title\":\"+VAMnlG3_title\",\"close\":\"Gqg1C2zI_close\",\"data_list\":\"y8BPNdwm_data_list\",\"item\":\"YsHuAgNF_item\",\"delete\":\"a1rUz6Gt_delete\",\"content\":\"aBu+6+SQ_content\",\"values\":\"CHcfU8aW_values\",\"field_value\":\"_8S1EyQpe_field_value\",\"split\":\"-UwaKa27_split\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vU2VsZWN0TGlzdFBvcHVwLmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vU2VsZWN0TGlzdFBvcHVwLmxlc3M/MjlhMiJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCBkZWZhdWx0IHtcInBvcHVwXCI6XCJ0Umg2LXdIb19wb3B1cFwiLFwiYm94XCI6XCJfN25DdGprZEdfYm94XCIsXCJ0aXBcIjpcIlJVTjNBMDIxX3RpcFwiLFwidGl0bGVcIjpcIitWQU1ubEczX3RpdGxlXCIsXCJjbG9zZVwiOlwiR3FnMUMyeklfY2xvc2VcIixcImRhdGFfbGlzdFwiOlwieThCUE5kd21fZGF0YV9saXN0XCIsXCJpdGVtXCI6XCJZc0h1QWdORl9pdGVtXCIsXCJkZWxldGVcIjpcImExclV6Nkd0X2RlbGV0ZVwiLFwiY29udGVudFwiOlwiYUJ1KzYrU1FfY29udGVudFwiLFwidmFsdWVzXCI6XCJDSGNmVThhV192YWx1ZXNcIixcImZpZWxkX3ZhbHVlXCI6XCJfOFMxRXlRcGVfZmllbGRfdmFsdWVcIixcInNwbGl0XCI6XCItVXdhS2EyN19zcGxpdFwifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/mobile/component/common/SelectListPopup.less\n");

/***/ }),

/***/ "./src/mobile/layout/apps/home/FooterLayout.less":
/*!*******************************************************!*\
  !*** ./src/mobile/layout/apps/home/FooterLayout.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\"] = ({\"footerlayout\":\"_05ODacM8_footerlayout\",\"button_group\":\"_8PVoKjeX_button_group\",\"batch_button\":\"JTIdAxvu_batch_button\",\"button\":\"_1wYQln-g_button\",\"check\":\"_83Bwv7kL_check\",\"checkbox\":\"kEnhiXK7_checkbox\",\"selected\":\"oBOxEKjX_selected\",\"selected_count\":\"+63mIcPp_selected_count\",\"trigger\":\"tP48BYxd_trigger\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2xheW91dC9hcHBzL2hvbWUvRm9vdGVyTGF5b3V0Lmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvbW9iaWxlL2xheW91dC9hcHBzL2hvbWUvRm9vdGVyTGF5b3V0Lmxlc3M/N2IyOCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCBkZWZhdWx0IHtcImZvb3RlcmxheW91dFwiOlwiXzA1T0RhY004X2Zvb3RlcmxheW91dFwiLFwiYnV0dG9uX2dyb3VwXCI6XCJfOFBWb0tqZVhfYnV0dG9uX2dyb3VwXCIsXCJiYXRjaF9idXR0b25cIjpcIkpUSWRBeHZ1X2JhdGNoX2J1dHRvblwiLFwiYnV0dG9uXCI6XCJfMXdZUWxuLWdfYnV0dG9uXCIsXCJjaGVja1wiOlwiXzgzQnd2N2tMX2NoZWNrXCIsXCJjaGVja2JveFwiOlwia0VuaGlYSzdfY2hlY2tib3hcIixcInNlbGVjdGVkXCI6XCJvQk94RUtqWF9zZWxlY3RlZFwiLFwic2VsZWN0ZWRfY291bnRcIjpcIis2M21JY1BwX3NlbGVjdGVkX2NvdW50XCIsXCJ0cmlnZ2VyXCI6XCJ0UDQ4Qll4ZF90cmlnZ2VyXCJ9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/mobile/layout/apps/home/FooterLayout.less\n");

/***/ }),

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

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"headerlayout\":\"_9SC7QDua_headerlayout\",\"headerlayout_item\":\"gxkRVkZj_headerlayout_item\",\"headerlayout_icon\":\"fZJSOkFe_headerlayout_icon\",\"active\":\"Z+Pc-h6t_active\",\"menu\":\"X-vXfe-p_menu\",\"menu_text\":\"QjskyplP_menu_text\",\"menu_icon\":\"SAPdvM84_menu_icon\",\"menu_scroll\":\"wckNLF6l_menu_scroll\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2xheW91dC9hcHBzL2hvbWUvSGVhZGVyTGF5b3V0Lmxlc3MiLCJtYXBwaW5ncyI6IjtBQUFBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvbW9iaWxlL2xheW91dC9hcHBzL2hvbWUvSGVhZGVyTGF5b3V0Lmxlc3M/Nzk1YyJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyBleHRyYWN0ZWQgYnkgbWluaS1jc3MtZXh0cmFjdC1wbHVnaW5cbmV4cG9ydCBkZWZhdWx0IHtcImhlYWRlcmxheW91dFwiOlwiXzlTQzdRRHVhX2hlYWRlcmxheW91dFwiLFwiaGVhZGVybGF5b3V0X2l0ZW1cIjpcImd4a1JWa1pqX2hlYWRlcmxheW91dF9pdGVtXCIsXCJoZWFkZXJsYXlvdXRfaWNvblwiOlwiZlpKU09rRmVfaGVhZGVybGF5b3V0X2ljb25cIixcImFjdGl2ZVwiOlwiWitQYy1oNnRfYWN0aXZlXCIsXCJtZW51XCI6XCJYLXZYZmUtcF9tZW51XCIsXCJtZW51X3RleHRcIjpcIlFqc2t5cGxQX21lbnVfdGV4dFwiLFwibWVudV9pY29uXCI6XCJTQVBkdk04NF9tZW51X2ljb25cIixcIm1lbnVfc2Nyb2xsXCI6XCJ3Y2tOTEY2bF9tZW51X3Njcm9sbFwifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/mobile/layout/apps/home/HeaderLayout.less\n");

/***/ }),

/***/ "./src/mobile/layout/apps/home/SideNavLayout.less":
/*!********************************************************!*\
  !*** ./src/mobile/layout/apps/home/SideNavLayout.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\"] = ({\"ellipsis\":\"znv30WkG_ellipsis\",\"sidenavlayout\":\"UAcGG7jI_sidenavlayout\",\"sidenavlayout_header\":\"vSxEy5uV_sidenavlayout_header\",\"sidenavlayout_header_icon\":\"NEk5lKq-_sidenavlayout_header_icon\",\"sidenavlayout_header_title\":\"Rk-SxaE3_sidenavlayout_header_title\",\"sidenavlayout_content\":\"DIsGEPcu_sidenavlayout_content\",\"sidenavlayout_content_empty\":\"LX-YyPCy_sidenavlayout_content_empty\",\"sidenavlayout_content_empty_img\":\"_38DQ-uSm_sidenavlayout_content_empty_img\",\"sidenavlayout_content_empty_text\":\"zAZV9ZoE_sidenavlayout_content_empty_text\",\"sidenavlayout_content_main\":\"otrDyr4D_sidenavlayout_content_main\",\"sidenavlayout_content_main_group\":\"pcA8JxhF_sidenavlayout_content_main_group\",\"sidenavlayout_content_main_group_icon\":\"GIedlOrs_sidenavlayout_content_main_group_icon\",\"sidenavlayout_content_main_group_title\":\"HfgKs8Ot_sidenavlayout_content_main_group_title\",\"sidenavlayout_content_main_item\":\"BWGlQyBQ_sidenavlayout_content_main_item\",\"sidenavlayout_content_main_item_main\":\"TsHFhdcs_sidenavlayout_content_main_item_main\",\"sidenavlayout_content_main_item_icon\":\"_7UBoEYJ+_sidenavlayout_content_main_item_icon\",\"sidenavlayout_content_main_item_title\":\"_8szJ1-jG_sidenavlayout_content_main_item_title\",\"sidenavlayout_content_main_item_selected\":\"zak-bGCB_sidenavlayout_content_main_item_selected\",\"sidenavlayout_content_footer\":\"_32fYjy5a_sidenavlayout_content_footer\",\"sidenavlayout_content_footer_item\":\"Jn84eXpW_sidenavlayout_content_footer_item\",\"sidenavlayout_content_footer_icon\":\"_7EHDbJnJ_sidenavlayout_content_footer_icon\",\"sidenavlayout_content_footer_name\":\"cG-Gzdag_sidenavlayout_content_footer_name\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2xheW91dC9hcHBzL2hvbWUvU2lkZU5hdkxheW91dC5sZXNzIiwibWFwcGluZ3MiOiI7QUFBQTtBQUNBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vbm9jb2RlLXBsYXRmb3JtLy4vc3JjL21vYmlsZS9sYXlvdXQvYXBwcy9ob21lL1NpZGVOYXZMYXlvdXQubGVzcz9hMDMzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxuZXhwb3J0IGRlZmF1bHQge1wiZWxsaXBzaXNcIjpcInpudjMwV2tHX2VsbGlwc2lzXCIsXCJzaWRlbmF2bGF5b3V0XCI6XCJVQWNHRzdqSV9zaWRlbmF2bGF5b3V0XCIsXCJzaWRlbmF2bGF5b3V0X2hlYWRlclwiOlwidlN4RXk1dVZfc2lkZW5hdmxheW91dF9oZWFkZXJcIixcInNpZGVuYXZsYXlvdXRfaGVhZGVyX2ljb25cIjpcIk5FazVsS3EtX3NpZGVuYXZsYXlvdXRfaGVhZGVyX2ljb25cIixcInNpZGVuYXZsYXlvdXRfaGVhZGVyX3RpdGxlXCI6XCJSay1TeGFFM19zaWRlbmF2bGF5b3V0X2hlYWRlcl90aXRsZVwiLFwic2lkZW5hdmxheW91dF9jb250ZW50XCI6XCJESXNHRVBjdV9zaWRlbmF2bGF5b3V0X2NvbnRlbnRcIixcInNpZGVuYXZsYXlvdXRfY29udGVudF9lbXB0eVwiOlwiTFgtWXlQQ3lfc2lkZW5hdmxheW91dF9jb250ZW50X2VtcHR5XCIsXCJzaWRlbmF2bGF5b3V0X2NvbnRlbnRfZW1wdHlfaW1nXCI6XCJfMzhEUS11U21fc2lkZW5hdmxheW91dF9jb250ZW50X2VtcHR5X2ltZ1wiLFwic2lkZW5hdmxheW91dF9jb250ZW50X2VtcHR5X3RleHRcIjpcInpBWlY5Wm9FX3NpZGVuYXZsYXlvdXRfY29udGVudF9lbXB0eV90ZXh0XCIsXCJzaWRlbmF2bGF5b3V0X2NvbnRlbnRfbWFpblwiOlwib3RyRHlyNERfc2lkZW5hdmxheW91dF9jb250ZW50X21haW5cIixcInNpZGVuYXZsYXlvdXRfY29udGVudF9tYWluX2dyb3VwXCI6XCJwY0E4SnhoRl9zaWRlbmF2bGF5b3V0X2NvbnRlbnRfbWFpbl9ncm91cFwiLFwic2lkZW5hdmxheW91dF9jb250ZW50X21haW5fZ3JvdXBfaWNvblwiOlwiR0llZGxPcnNfc2lkZW5hdmxheW91dF9jb250ZW50X21haW5fZ3JvdXBfaWNvblwiLFwic2lkZW5hdmxheW91dF9jb250ZW50X21haW5fZ3JvdXBfdGl0bGVcIjpcIkhmZ0tzOE90X3NpZGVuYXZsYXlvdXRfY29udGVudF9tYWluX2dyb3VwX3RpdGxlXCIsXCJzaWRlbmF2bGF5b3V0X2NvbnRlbnRfbWFpbl9pdGVtXCI6XCJCV0dsUXlCUV9zaWRlbmF2bGF5b3V0X2NvbnRlbnRfbWFpbl9pdGVtXCIsXCJzaWRlbmF2bGF5b3V0X2NvbnRlbnRfbWFpbl9pdGVtX21haW5cIjpcIlRzSEZoZGNzX3NpZGVuYXZsYXlvdXRfY29udGVudF9tYWluX2l0ZW1fbWFpblwiLFwic2lkZW5hdmxheW91dF9jb250ZW50X21haW5faXRlbV9pY29uXCI6XCJfN1VCb0VZSitfc2lkZW5hdmxheW91dF9jb250ZW50X21haW5faXRlbV9pY29uXCIsXCJzaWRlbmF2bGF5b3V0X2NvbnRlbnRfbWFpbl9pdGVtX3RpdGxlXCI6XCJfOHN6SjEtakdfc2lkZW5hdmxheW91dF9jb250ZW50X21haW5faXRlbV90aXRsZVwiLFwic2lkZW5hdmxheW91dF9jb250ZW50X21haW5faXRlbV9zZWxlY3RlZFwiOlwiemFrLWJHQ0Jfc2lkZW5hdmxheW91dF9jb250ZW50X21haW5faXRlbV9zZWxlY3RlZFwiLFwic2lkZW5hdmxheW91dF9jb250ZW50X2Zvb3RlclwiOlwiXzMyZllqeTVhX3NpZGVuYXZsYXlvdXRfY29udGVudF9mb290ZXJcIixcInNpZGVuYXZsYXlvdXRfY29udGVudF9mb290ZXJfaXRlbVwiOlwiSm44NGVYcFdfc2lkZW5hdmxheW91dF9jb250ZW50X2Zvb3Rlcl9pdGVtXCIsXCJzaWRlbmF2bGF5b3V0X2NvbnRlbnRfZm9vdGVyX2ljb25cIjpcIl83RUhEYkpuSl9zaWRlbmF2bGF5b3V0X2NvbnRlbnRfZm9vdGVyX2ljb25cIixcInNpZGVuYXZsYXlvdXRfY29udGVudF9mb290ZXJfbmFtZVwiOlwiY0ctR3pkYWdfc2lkZW5hdmxheW91dF9jb250ZW50X2Zvb3Rlcl9uYW1lXCJ9OyJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/mobile/layout/apps/home/SideNavLayout.less\n");

/***/ }),

/***/ "./src/mobile/pages/apps/home/MobileAppHomePage.less":
/*!***********************************************************!*\
  !*** ./src/mobile/pages/apps/home/MobileAppHomePage.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\"] = ({\"apphomepage\":\"_1y95SnYm_apphomepage\",\"apphomepage_loading\":\"vglX-HOP_apphomepage_loading\",\"apphomepage_container\":\"fd64HHaz_apphomepage_container\",\"apphomepage_container_main\":\"_9X9GYXI0_apphomepage_container_main\",\"table_view_container\":\"Ym9HCm3H_table_view_container\",\"custom\":\"W9SaVbga_custom\",\"custom_wrapper\":\"gB0lSBRB_custom_wrapper\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL3BhZ2VzL2FwcHMvaG9tZS9Nb2JpbGVBcHBIb21lUGFnZS5sZXNzIiwibWFwcGluZ3MiOiI7QUFBQTtBQUNBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vbm9jb2RlLXBsYXRmb3JtLy4vc3JjL21vYmlsZS9wYWdlcy9hcHBzL2hvbWUvTW9iaWxlQXBwSG9tZVBhZ2UubGVzcz81NThhIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxuZXhwb3J0IGRlZmF1bHQge1wiYXBwaG9tZXBhZ2VcIjpcIl8xeTk1U25ZbV9hcHBob21lcGFnZVwiLFwiYXBwaG9tZXBhZ2VfbG9hZGluZ1wiOlwidmdsWC1IT1BfYXBwaG9tZXBhZ2VfbG9hZGluZ1wiLFwiYXBwaG9tZXBhZ2VfY29udGFpbmVyXCI6XCJmZDY0SEhhel9hcHBob21lcGFnZV9jb250YWluZXJcIixcImFwcGhvbWVwYWdlX2NvbnRhaW5lcl9tYWluXCI6XCJfOVg5R1lYSTBfYXBwaG9tZXBhZ2VfY29udGFpbmVyX21haW5cIixcInRhYmxlX3ZpZXdfY29udGFpbmVyXCI6XCJZbTlIQ20zSF90YWJsZV92aWV3X2NvbnRhaW5lclwiLFwiY3VzdG9tXCI6XCJXOVNhVmJnYV9jdXN0b21cIixcImN1c3RvbV93cmFwcGVyXCI6XCJnQjBsU0JSQl9jdXN0b21fd3JhcHBlclwifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/mobile/pages/apps/home/MobileAppHomePage.less\n");

/***/ }),

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

eval("\n\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 _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/regenerator */ \"../../node_modules/@babel/runtime-corejs3/regenerator/index.js\"));\nvar _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 = __webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\");\nvar _eventEmit = _interopRequireDefault(__webpack_require__(/*! @/utils/eventEmit */ \"./src/utils/eventEmit.js\"));\nvar _apps = __webpack_require__(/*! @/actions/apps */ \"./src/actions/apps.ts\");\nvar _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"../../node_modules/react-router-dom/index.js\");\nvar _useEventEmit = __webpack_require__(/*! @/hooks/useEventEmit */ \"./src/hooks/useEventEmit.ts\");\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:rfc\n * @Author: jianhang_he\n * @Date: 2023-11-03 17:26:25\n * @LastEditTime: 2024-01-09 15:41:35\n * @Last Modified by: jianhang_he\n */\nvar useFilterRefBill = function useFilterRefBill(props) {\n  var _ref = props || {},\n    propsAppId = _ref.appId,\n    defaultQueryParams = _ref.defaultQueryParams,\n    queryCallback = _ref.queryCallback;\n  var _ref2 = defaultQueryParams || {},\n    _ref2$pageSize = _ref2.pageSize,\n    defaultPageSize = _ref2$pageSize === void 0 ? 20 : _ref2$pageSize;\n  var _useParams = (0, _reactRouterDom.useParams)(),\n    appId = _useParams.appId; // 应用ID\n  var curAppId = propsAppId || appId;\n  var _useState = (0, _react.useState)(),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    queryParams = _useState2[0],\n    setQueryParams = _useState2[1];\n\n  // 请求列表信息\n  var batchInvokeQuery = /*#__PURE__*/function () {\n    var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(id, params) {\n      var args, data;\n      return _regenerator.default.wrap(function _callee$(_context) {\n        while (1) switch (_context.prev = _context.next) {\n          case 0:\n            args = _objectSpread({\n              env: '1',\n              page_size: (params === null || params === void 0 ? void 0 : params.page_size) || defaultPageSize || 20,\n              page_no: (params === null || params === void 0 ? void 0 : params.page_no) || 1\n            }, params);\n            setQueryParams(args); // 多个相同关联表单的时候，需要判断参数是否相同，因此外抛一个参数\n            // F7弹窗需要显示所有信息\n            // params.page_size && params.page_no && (delete args.select)\n            _context.next = 4;\n            return (0, _apps.loadFormDataList)(curAppId, id, args);\n          case 4:\n            data = _context.sent;\n            queryCallback === null || queryCallback === void 0 || queryCallback();\n            (0, _useEventEmit.publishEvent)('setQuery', {\n              args: {\n                formId: id,\n                param: args\n              },\n              data: data\n            });\n          case 7:\n          case \"end\":\n            return _context.stop();\n        }\n      }, _callee);\n    }));\n    return function batchInvokeQuery(_x, _x2) {\n      return _ref3.apply(this, arguments);\n    };\n  }();\n  var batchInvokeTable = /*#__PURE__*/function () {\n    var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(params) {\n      var res;\n      return _regenerator.default.wrap(function _callee2$(_context2) {\n        while (1) switch (_context2.prev = _context2.next) {\n          case 0:\n            _context2.prev = 0;\n            _context2.next = 3;\n            return (0, _apps.queryEntryData)(params === null || params === void 0 ? void 0 : params.appId, params === null || params === void 0 ? void 0 : params.formId, params === null || params === void 0 ? void 0 : params.pkId, {\n              page_size: (params === null || params === void 0 ? void 0 : params.page_size) || 10,\n              page_no: (params === null || params === void 0 ? void 0 : params.page_no) || 1,\n              entry: params === null || params === void 0 ? void 0 : params.entry\n            });\n          case 3:\n            res = _context2.sent;\n            params === null || params === void 0 || params.callback(res);\n            _context2.next = 10;\n            break;\n          case 7:\n            _context2.prev = 7;\n            _context2.t0 = _context2[\"catch\"](0);\n            console.log('请求列表数据失败', _context2.t0);\n          case 10:\n          case \"end\":\n            return _context2.stop();\n        }\n      }, _callee2, null, [[0, 7]]);\n    }));\n    return function batchInvokeTable(_x3) {\n      return _ref4.apply(this, arguments);\n    };\n  }();\n  var batchInvokeListConfig = /*#__PURE__*/function () {\n    var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(id, params) {\n      var data;\n      return _regenerator.default.wrap(function _callee3$(_context3) {\n        while (1) switch (_context3.prev = _context3.next) {\n          case 0:\n            _context3.next = 2;\n            return (0, _apps.getFormDataListSetting)(curAppId, id, params.env, {\n              selects: params.displayProp\n            });\n          case 2:\n            data = _context3.sent;\n            // console.log('batchInvokeListConfig', data);\n\n            (0, _useEventEmit.publishEvent)('setListConfig', {\n              args: {\n                formId: id\n              },\n              data: data\n            });\n          case 4:\n          case \"end\":\n            return _context3.stop();\n        }\n      }, _callee3);\n    }));\n    return function batchInvokeListConfig(_x4, _x5) {\n      return _ref5.apply(this, arguments);\n    };\n  }();\n  var addControlAction = function addControlAction(methodName, listener) {\n    _eventEmit.default.on(methodName, listener);\n    return function () {\n      _eventEmit.default.off(methodName, listener);\n    };\n  };\n  var refBillProps = {\n    batchInvokeQuery: batchInvokeQuery,\n    addControlAction: _useEventEmit.addEventListener,\n    baseUrl: window.__nocode_file_host__,\n    batchInvoke: function batchInvoke() {},\n    // F7里面的筛选面板才需要用到发送请求\n    batchInvokeTable: batchInvokeTable,\n    // onDownLoad,\n    batchInvokeListConfig: batchInvokeListConfig,\n    getControlText: function getControlText(info) {\n      var lang = 'zh_CN';\n      return (info === null || info === void 0 ? void 0 : info[lang]) || '';\n    },\n    queryParams: queryParams\n  };\n  return refBillProps;\n};\nvar _default = exports[\"default\"] = useFilterRefBill;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/hooks/useFilterRefBill.tsx\n");

/***/ }),

/***/ "./src/mobile/component/apps/StatisticPopUp.tsx":
/*!******************************************************!*\
  !*** ./src/mobile/component/apps/StatisticPopUp.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 _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 _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"../../node_modules/react-router-dom/index.js\");\nvar _MobUI = __webpack_require__(/*! nocode_component/MobUI */ \"webpack/container/remote/nocode_component/MobUI\");\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _StatisticPopUp = _interopRequireDefault(__webpack_require__(/*! ./StatisticPopUp.less */ \"./src/mobile/component/apps/StatisticPopUp.less\"));\nvar _home_empty = _interopRequireDefault(__webpack_require__(/*! @@/assets/img/home_empty.png */ \"./assets/img/home_empty.png\"));\nvar _StatisticCard = _interopRequireDefault(__webpack_require__(/*! ../common/Card/StatisticCard */ \"./src/mobile/component/common/Card/StatisticCard.tsx\"));\nvar _env = __webpack_require__(/*! @/constants/env */ \"./src/constants/env.js\");\nvar _apps = __webpack_require__(/*! @/actions/apps */ \"./src/actions/apps.ts\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nvar NoCard = function NoCard() {\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _StatisticPopUp.default.card_empty\n  }, /*#__PURE__*/_react.default.createElement(\"img\", {\n    src: _home_empty.default,\n    alt: \"\\u6682\\u65E0\\u5361\\u7247\",\n    width: 320,\n    height: 160\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _StatisticPopUp.default.empty_text\n  }, \"\\u6682\\u65E0\\u5361\\u7247\\uFF0C\\u8BF7\\u5728PC\\u7AEF\\u6DFB\\u52A0\"));\n};\nvar StatisticPopUp = (0, _react.memo)(function (_ref) {\n  var visible = _ref.visible,\n    setVisible = _ref.setVisible,\n    _ref$title = _ref.title,\n    title = _ref$title === void 0 ? '统计' : _ref$title;\n  var _useState = (0, _react.useState)(null),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    cardList = _useState2[0],\n    setCardList = _useState2[1];\n  var _useParams = (0, _reactRouterDom.useParams)(),\n    appId = _useParams.appId,\n    formId = _useParams.targetFormId;\n\n  // 获取卡片列表\n  var initAllCards = (0, _react.useCallback)( /*#__PURE__*/function () {\n    var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(callback) {\n      var res, _ref3, _ref3$rows, list, message;\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, _apps.getStartCard)(appId, formId, _env.ENV_APP);\n          case 3:\n            res = _context.sent;\n            _ref3 = res || {}, _ref3$rows = _ref3.rows, list = _ref3$rows === void 0 ? [] : _ref3$rows;\n            setCardList(list);\n            callback && callback();\n            _context.next = 15;\n            break;\n          case 9:\n            _context.prev = 9;\n            _context.t0 = _context[\"catch\"](0);\n            console.log(_context.t0);\n            message = _context.t0.message;\n            _MobUI.WebMsg.showToast({\n              type: 2,\n              content: message\n            });\n            setCardList([]);\n          case 15:\n          case \"end\":\n            return _context.stop();\n        }\n      }, _callee, null, [[0, 9]]);\n    }));\n    return function (_x) {\n      return _ref2.apply(this, arguments);\n    };\n  }(), [setCardList, appId, formId]);\n  (0, _react.useEffect)(function () {\n    if (visible) {\n      initAllCards();\n    }\n  }, [visible]);\n  var renderCards = function renderCards() {\n    return cardList === null || cardList === void 0 ? void 0 : (0, _map.default)(cardList).call(cardList, function (item) {\n      var cardId = item.cardId,\n        title = item.title;\n      var cardConfig = {\n        qingCardId: cardId\n      };\n      return /*#__PURE__*/_react.default.createElement(_StatisticCard.default, {\n        key: cardId,\n        config: cardConfig,\n        title: title,\n        style: {\n          marginLeft: '12px',\n          marginRight: '12px'\n        }\n      });\n    });\n  };\n  return /*#__PURE__*/_react.default.createElement(_kdesignm.Popup, {\n    placement: \"bottom\",\n    visible: visible,\n    onClose: function onClose() {\n      return setVisible(false);\n    },\n    title: title,\n    className: _StatisticPopUp.default.popup,\n    radius: true\n  }, cardList && (cardList.length ? renderCards() : /*#__PURE__*/_react.default.createElement(NoCard, null)));\n});\nStatisticPopUp.displayName = 'StatisticPopUp';\nvar _default = exports[\"default\"] = StatisticPopUp;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/component/apps/StatisticPopUp.tsx\n");

/***/ }),

/***/ "./src/mobile/component/common/Card/index.ts":
/*!***************************************************!*\
  !*** ./src/mobile/component/common/Card/index.ts ***!
  \***************************************************/
/***/ (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\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\n_Object$defineProperty(exports, \"Card\", {\n  enumerable: true,\n  get: function get() {\n    return _Card.default;\n  }\n});\n_Object$defineProperty(exports, \"FIELD_MAP\", {\n  enumerable: true,\n  get: function get() {\n    return _Card.FIELD_MAP;\n  }\n});\nvar _Card = _interopRequireWildcard(__webpack_require__(/*! ./Card */ \"./src/mobile/component/common/Card/Card.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; }//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vQ2FyZC9pbmRleC50cyIsIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUFBO0FBQUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vQ2FyZC9pbmRleC50cz9hMzQxIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBDYXJkLCB7IEZJRUxEX01BUCB9IGZyb20gXCIuL0NhcmRcIlxuZXhwb3J0IHtcbiAgQ2FyZCxcbiAgRklFTERfTUFQXG59XG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/mobile/component/common/Card/index.ts\n");

/***/ }),

/***/ "./src/mobile/component/common/Collapse.tsx":
/*!**************************************************!*\
  !*** ./src/mobile/component/common/Collapse.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 _indexOf = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js\"));\nvar _splice = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.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 _includes = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\"));\nvar _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/slicedToArray.js\"));\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/defineProperty.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _lodash = __webpack_require__(/*! kd_libs/lodash */ \"webpack/container/remote/kd_libs/lodash\");\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _Collapse = _interopRequireDefault(__webpack_require__(/*! ./Collapse.less */ \"./src/mobile/component/common/Collapse.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; }\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: jianhang_he\n * @Date: 2022-12-19 16:31:57\n * @LastEditTime: 2024-08-21 16:13:40\n * @Last Modified by: jianhang_he\n */\nvar getDefaultActivePanelKeys = function getDefaultActivePanelKeys(activeKey, defaultActiveKey) {\n  if (!(0, _lodash.isUndefined)(activeKey)) {\n    return Array.isArray(activeKey) ? activeKey : [activeKey];\n  }\n  if (!(0, _lodash.isUndefined)(defaultActiveKey)) {\n    return Array.isArray(defaultActiveKey) ? defaultActiveKey : [defaultActiveKey];\n  }\n  return [];\n};\n\n/**\n * 折叠面板内容\n */\nvar CollapsePanel = function CollapsePanel(_ref) {\n  var title = _ref.title,\n    renderTitle = _ref.renderTitle,\n    children = _ref.children,\n    style = _ref.style,\n    className = _ref.className,\n    panelKey = _ref.panelKey,\n    expand = _ref.expand,\n    onChange = _ref.onChange;\n  /**\n   * 点击切换面板可见\n   */\n  var handleClickChangePanelVisible = function handleClickChangePanelVisible() {\n    onChange === null || onChange === void 0 || onChange(panelKey);\n  };\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_Collapse.default.collapse_panel_header, className),\n    style: style,\n    onClick: handleClickChangePanelVisible\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _Collapse.default.collapse_panel_header_main\n  }, typeof renderTitle === 'function' ? renderTitle(expand) : title), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _Collapse.default.collapse_panel_header_arrow\n  }, /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    className: (0, _classnames.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, _Collapse.default.collapse_panel_header_arrow_icon_expand, expand), _Collapse.default.collapse_panel_header_arrow_icon, !expand)),\n    prefix: \"nocodeplatformicon\",\n    type: \"fangxiangyou\"\n  }))), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_Collapse.default.collapse_panel_content, (0, _defineProperty2.default)({}, _Collapse.default.collapse_panel_content_hidden, !expand))\n  }, children));\n};\nCollapsePanel.displayName = 'CollapsePanel';\nvar Collapse = (0, _react.memo)((0, _react.forwardRef)(function (_ref2, ref) {\n  var activeKey = _ref2.activeKey,\n    defaultActiveKey = _ref2.defaultActiveKey,\n    children = _ref2.children,\n    onChange = _ref2.onChange,\n    style = _ref2.style;\n  var collapseRef = ref || (0, _react.useRef)();\n  var _useState = (0, _react.useState)(getDefaultActivePanelKeys(activeKey, defaultActiveKey)),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    activePanelKeys = _useState2[0],\n    setActivePanelKeys = _useState2[1];\n\n  /**\n   * 切换面板\n   * @param key\n   */\n  var onPanelChange = function onPanelChange(key) {\n    var keyIndex = (0, _indexOf.default)(activePanelKeys).call(activePanelKeys, key);\n    if (keyIndex > -1) {\n      (0, _splice.default)(activePanelKeys).call(activePanelKeys, keyIndex, 1);\n    } else {\n      activePanelKeys.push(key);\n    }\n    var newActivePanelKeys = (0, _lodash.clone)(activePanelKeys);\n    onChange === null || onChange === void 0 || onChange(newActivePanelKeys);\n    setActivePanelKeys(newActivePanelKeys);\n  };\n  var renderPanel = function renderPanel() {\n    var _context;\n    return (0, _map.default)(_context = _react.default.Children).call(_context, children, function (item) {\n      var _item$type;\n      if ((item === null || item === void 0 || (_item$type = item.type) === null || _item$type === void 0 ? void 0 : _item$type.displayName) !== 'CollapsePanel') {\n        console.warn('Collapse的children必须为Collapse.Panel');\n        return item;\n      }\n      var panelKey = item.props.panelKey;\n      // const expand = getPanelExpand(item.props?.panelKey, accordion, activePanelKey)\n      // const defaultExpand = getPanelExpand(item.props?.panelKey, accordion, defaultActiveKey)\n      return _react.default.cloneElement(item, _objectSpread({\n        onChange: onPanelChange,\n        expand: (0, _includes.default)(activePanelKeys).call(activePanelKeys, panelKey)\n      }, item.props));\n    });\n  };\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _Collapse.default.collapse,\n    style: style,\n    ref: collapseRef\n  }, renderPanel());\n}));\nCollapse.Panel = CollapsePanel;\nCollapse.displayName = 'Collapse';\nvar _default = exports[\"default\"] = Collapse;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/component/common/Collapse.tsx\n");

/***/ }),

/***/ "./src/mobile/component/common/DataGrid/index.tsx":
/*!********************************************************!*\
  !*** ./src/mobile/component/common/DataGrid/index.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});\n_Object$defineProperty(exports, \"TableViewGridContext\", {\n  enumerable: true,\n  get: function get() {\n    return _MobUI.TableViewGridContext;\n  }\n});\nexports[\"default\"] = void 0;\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/defineProperty.js\"));\nvar _concat = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _MobUI = __webpack_require__(/*! nocode_component/MobUI */ \"webpack/container/remote/nocode_component/MobUI\");\nvar _index = _interopRequireDefault(__webpack_require__(/*! ./index.less */ \"./src/mobile/component/common/DataGrid/index.less\"));\nvar _useAppContext2 = _interopRequireDefault(__webpack_require__(/*! @/hooks/useAppContext */ \"./src/hooks/useAppContext.js\"));\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _reactDom = _interopRequireDefault(__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 Table = function Table(props) {\n  var horizontalProps = props.horizontal,\n    onToggleHorizontal = props.onToggleHorizontal,\n    getTransformOriginRef = props.getTransformOriginRef;\n  var _useAppContext = (0, _useAppContext2.default)(),\n    state = _useAppContext.state;\n  var _state$fileServer$ima = state.fileServer.imageUrl,\n    imageUrl = _state$fileServer$ima === void 0 ? '' : _state$fileServer$ima;\n  var transformOriginRef = (0, _react.useRef)(null);\n  var transformOriginEle = getTransformOriginRef() || transformOriginRef.current;\n  (0, _react.useLayoutEffect)(function () {\n    // const transformOriginEle = getTransformOriginRef() || transformOriginRef.current\n    if (!transformOriginEle) return;\n    if (horizontalProps) {\n      var _transformOriginEle$p2, _context;\n      var _transformOriginEle$p = (_transformOriginEle$p2 = transformOriginEle.parentElement) === null || _transformOriginEle$p2 === void 0 ? void 0 : _transformOriginEle$p2.getBoundingClientRect(),\n        height = _transformOriginEle$p.height,\n        width = _transformOriginEle$p.width;\n      var transformOrigin = Math.floor(width / 2);\n      // opacity: 0.99 解决chrome85.0.4183.102版本的bug，横屏时导致竖屏按钮被表格遮住的问题\n      transformOriginEle.style.cssText = (0, _concat.default)(_context = \"transform: rotateZ(90deg);transform-origin: \".concat(transformOrigin, \"px \")).call(_context, transformOrigin, \"px;\\n        height: 100vw;width:100vh; opacity: 0.99; position: absolute; overflow: hidden;\");\n    } else {\n      transformOriginEle.style.cssText = '';\n    }\n  }, [transformOriginRef.current, horizontalProps, transformOriginEle]);\n\n  // const [horizontal, setHorizontal] = useState(false)\n\n  // useEffect(() => {\n  //   setHorizontal(horizontalProps)\n  // }, [horizontalProps])\n\n  // const handleSetHorizontal = useCallback(() => {\n  //   setHorizontal(!horizontal)\n  // }, [])\n\n  var portalToggleBtn = _reactDom.default.createPortal( /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_index.default.table_toggle_btn_wrapper, (0, _defineProperty2.default)({}, _index.default.table_toggle_btn_wrapper_horizontal, horizontalProps))\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _index.default.table_toggle_btn,\n    onClick: onToggleHorizontal\n  }, /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    type: horizontalProps ? 'shuping' : 'hengping',\n    prefix: \"nocodeplatformicon\"\n  }), /*#__PURE__*/_react.default.createElement(\"p\", {\n    className: _index.default.font\n  }, horizontalProps ? '竖屏' : '横屏'))), document.body);\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    ref: transformOriginRef,\n    className: (0, _classnames.default)(_index.default.table_view_grid_wrapper)\n  }, /*#__PURE__*/_react.default.createElement(_MobUI.TableViewGridContext.Provider, {\n    value: {\n      baseUrl: imageUrl\n    }\n  }, /*#__PURE__*/_react.default.createElement(_MobUI.TableViewGrid, props))), portalToggleBtn);\n};\nvar _default = exports[\"default\"] = (0, _react.memo)(Table);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/component/common/DataGrid/index.tsx\n");

/***/ }),

/***/ "./src/mobile/component/common/Dropdown.tsx":
/*!**************************************************!*\
  !*** ./src/mobile/component/common/Dropdown.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 _find = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\"));\nvar _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _slice = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.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 _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _Dropdown = _interopRequireDefault(__webpack_require__(/*! ./Dropdown.less */ \"./src/mobile/component/common/Dropdown.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2023-09-18 13:43:02\n * @LastEditTime: 2024-05-13 13:37:03\n * @Last Modified by: jianhang_he\n */\n\nvar Dropdown = (0, _react.memo)(function (props) {\n  var onItemClick = props.onItemClick,\n    menu = props.menu,\n    trigger = props.trigger,\n    children = props.children,\n    dropdownClassName = props.dropdownClassName,\n    _props$gap = props.gap,\n    gap = _props$gap === void 0 ? 6 : _props$gap;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    visible = _useState2[0],\n    setVisible = _useState2[1];\n  var _useState3 = (0, _react.useState)({}),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    popperStyle = _useState4[0],\n    setPopperStyle = _useState4[1];\n  var childRef = (0, _react.useRef)();\n  var tipRef = (0, _react.useRef)();\n  var handleItemClick = (0, _react.useCallback)(function (key) {\n    setVisible(false);\n    onItemClick === null || onItemClick === void 0 || onItemClick(key);\n  }, [onItemClick]);\n  (0, _react.useEffect)(function () {\n    if (!tipRef.current || !childRef.current) return;\n    var width = childRef.current.clientWidth;\n    setPopperStyle({\n      width: width + 'px'\n    });\n    // tipRef.current.style.width = width + 'px'\n  }, [childRef.current, tipRef.current]);\n  var handleVisibleChange = (0, _react.useCallback)(function (vi) {\n    setVisible(vi);\n  }, []);\n  if (menu.type.displayName !== 'Menu') {\n    console.warn('menu must be type of Menu');\n    return /*#__PURE__*/_react.default.createElement(\"div\", null);\n  }\n  var newMenu = _react.default.cloneElement(menu, {\n    onItemClick: handleItemClick,\n    ref: tipRef\n  });\n  var newChildren = _react.default.cloneElement(children, {\n    ref: childRef\n  });\n  var tip = /*#__PURE__*/_react.default.createElement(\"div\", {\n    ref: tipRef,\n    className: _Dropdown.default.dropdown\n  }, newMenu);\n  return /*#__PURE__*/_react.default.createElement(_kdesignm.Tooltip, {\n    tip: newMenu,\n    popperStyle: popperStyle,\n    gap: gap,\n    popperClassName: (0, _classnames.default)(_Dropdown.default.popup, dropdownClassName),\n    trigger: trigger || 'click',\n    arrow: false,\n    visible: visible,\n    onVisibleChange: handleVisibleChange\n  }, newChildren);\n});\nvar Item = function Item(props) {\n  var id = props.id,\n    children = props.children,\n    onClick = props.onClick,\n    className = props.className;\n  var handleClick = (0, _react.useCallback)(function () {\n    onClick === null || onClick === void 0 || onClick(id);\n  }, [onClick, id]);\n  return /*#__PURE__*/_react.default.createElement(\"span\", {\n    className: (0, _classnames.default)(_Dropdown.default.item, className),\n    onClick: handleClick\n  }, children);\n};\nvar Menu = (0, _react.forwardRef)(function (props, ref) {\n  var children = props.children,\n    onClick = props.onClick,\n    onItemClick = props.onItemClick,\n    className = props.className;\n  var childs = _react.default.Children.toArray(children);\n  if ((0, _find.default)(childs).call(childs, function (item) {\n    return item.type !== Item;\n  })) {\n    console.warn('Dropdown.Menu children must be type of Item');\n    return;\n  }\n  var newChilds = (0, _map.default)(childs).call(childs, function (child) {\n    var _child$key;\n    return _react.default.cloneElement(child, {\n      onClick: onItemClick || onClick,\n      id: (_child$key = child.key) === null || _child$key === void 0 ? void 0 : (0, _slice.default)(_child$key).call(_child$key, 2)\n    });\n  });\n  var menu = /*#__PURE__*/_react.default.createElement(\"div\", {\n    ref: ref,\n    className: (0, _classnames.default)(_Dropdown.default.menu, className)\n  }, newChilds);\n  return menu;\n});\nItem.displayName = 'Item';\nMenu.displayName = 'Menu';\nDropdown.displayName = 'Dropdown';\nDropdown.Menu = Menu;\nDropdown.Item = Item;\nvar _default = exports[\"default\"] = Dropdown;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/component/common/Dropdown.tsx\n");

/***/ }),

/***/ "./src/mobile/component/common/FooterBtns.tsx":
/*!****************************************************!*\
  !*** ./src/mobile/component/common/FooterBtns.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 _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _FooterBtns = _interopRequireDefault(__webpack_require__(/*! ./FooterBtns.less */ \"./src/mobile/component/common/FooterBtns.less\"));\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar FooterBtns = function FooterBtns(props) {\n  var className = props.className,\n    btns = props.btns;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_FooterBtns.default.footerbtns, className)\n  }, (0, _map.default)(btns).call(btns, function (item, index) {\n    var text = item.text,\n      handleClick = item.handleClick;\n    return /*#__PURE__*/_react.default.createElement(_kdesignm.Button, {\n      className: _FooterBtns.default.button,\n      onClick: handleClick,\n      type: index < btns.length - 1 ? 'second' : 'primary'\n    }, text);\n  }));\n};\nvar _default = exports[\"default\"] = FooterBtns;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vRm9vdGVyQnRucy50c3giLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFXQTtBQUNBO0FBQUE7QUFDQTtBQUNBO0FBQUE7QUFHQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBSUE7QUFBQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy9tb2JpbGUvY29tcG9uZW50L2NvbW1vbi9Gb290ZXJCdG5zLnRzeD9mOTNhIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCdcbmltcG9ydCBjbGFzc05hbWVzIGZyb20gJ2NsYXNzbmFtZXMnXG5pbXBvcnQgc3R5bGVzIGZyb20gJy4vRm9vdGVyQnRucy5sZXNzJ1xuaW1wb3J0IHsgQnV0dG9uIH0gZnJvbSAna2Rlc2lnbi1tb2JpbGUnXG5cbmludGVyZmFjZSBCdG5UeXBlIHtcbiAgdGV4dDogc3RyaW5nLFxuICBoYW5kbGVDbGljazogKCkgPT4gdm9pZFxufVxuXG5pbnRlcmZhY2UgRm9vdGVyVHlwZSB7XG4gIGNsYXNzTmFtZT86IHN0cmluZyxcbiAgYnRuczogQXJyYXk8QnRuVHlwZT5cbn1cbmNvbnN0IEZvb3RlckJ0bnM6IFJlYWN0LkZDPEZvb3RlclR5cGU+ID0gKHByb3BzKSA9PiB7XG4gIGNvbnN0IHsgY2xhc3NOYW1lLCBidG5zIH0gPSBwcm9wc1xuICByZXR1cm4gKFxuICAgIDxkaXYgY2xhc3NOYW1lPXtjbGFzc05hbWVzKHN0eWxlcy5mb290ZXJidG5zLCBjbGFzc05hbWUpfT5cbiAgICAgIHtcbiAgICAgICAgYnRucy5tYXAoIChpdGVtLCBpbmRleCkgPT4ge1xuICAgICAgICAgIGNvbnN0IHsgdGV4dCwgaGFuZGxlQ2xpY2sgfSA9IGl0ZW1cbiAgICAgICAgICByZXR1cm4gPEJ1dHRvbiBjbGFzc05hbWU9e3N0eWxlcy5idXR0b259IG9uQ2xpY2s9e2hhbmRsZUNsaWNrfSB0eXBlPXtpbmRleCA8IGJ0bnMubGVuZ3RoIC0gMSA/ICdzZWNvbmQnIDogJ3ByaW1hcnknfT57dGV4dH08L0J1dHRvbj5cbiAgICAgICAgfSlcbiAgICAgIH1cbiAgICA8L2Rpdj5cbiAgKVxufVxuXG5leHBvcnQgZGVmYXVsdCBGb290ZXJCdG5zIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/mobile/component/common/FooterBtns.tsx\n");

/***/ }),

/***/ "./src/mobile/component/common/ListFilterSetting/ListFilterContent.tsx":
/*!*****************************************************************************!*\
  !*** ./src/mobile/component/common/ListFilterSetting/ListFilterContent.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 _filterInstanceProperty2 = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _Object$getOwnPropertyDescriptors = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js\");\nvar _Object$defineProperties = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-properties.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/extends.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 _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/objectWithoutProperties */ \"../../node_modules/@babel/runtime-corejs3/helpers/objectWithoutProperties.js\"));\nvar _find = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\"));\nvar _includes = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\"));\nvar _filter = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\"));\nvar _concat = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\"));\nvar _slice = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js\"));\nvar _splice = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js\"));\nvar _setTimeout2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/set-timeout.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 _findIndex = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.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 _ListFilterSettingPopup = _interopRequireDefault(__webpack_require__(/*! ./ListFilterSettingPopup.less */ \"./src/mobile/component/common/ListFilterSetting/ListFilterSettingPopup.less\"));\nvar _FooterBtns = _interopRequireDefault(__webpack_require__(/*! ../FooterBtns */ \"./src/mobile/component/common/FooterBtns.tsx\"));\nvar _SelectPopup = __webpack_require__(/*! ../SelectPopup */ \"./src/mobile/component/common/SelectPopup.tsx\");\nvar _lodash = __webpack_require__(/*! kd_libs/lodash */ \"webpack/container/remote/kd_libs/lodash\");\nvar _listFilterUtil = __webpack_require__(/*! @/utils/listFilterUtil */ \"./src/utils/listFilterUtil.ts\");\nvar _ListFilterNoData = _interopRequireDefault(__webpack_require__(/*! ./ListFilterNoData */ \"./src/mobile/component/common/ListFilterSetting/ListFilterNoData.tsx\"));\nvar _ListFilterContentItem = _interopRequireDefault(__webpack_require__(/*! ./ListFilterContentItem */ \"./src/mobile/component/common/ListFilterSetting/ListFilterContentItem.tsx\"));\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nvar _excluded = [\"fieldCaption\", \"items\"],\n  _excluded2 = [\"value\"];\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty2(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }\nvar FilterContent = (0, _react.memo)(function (_ref) {\n  var _ref$listFilterConfig = _ref.listFilterConfig,\n    listFilterConfig = _ref$listFilterConfig === void 0 ? [] : _ref$listFilterConfig,\n    configFilterItemsProps = _ref.configFilterItems,\n    handleSubmit = _ref.handleSubmit,\n    enumValueList = _ref.enumValueList,\n    addFilterValueList = _ref.addFilterValueList;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    addVisible = _useState2[0],\n    setAddVisible = _useState2[1];\n  var _useState3 = (0, _react.useState)((0, _listFilterUtil.getDefaultFilterList)(configFilterItemsProps, listFilterConfig)),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    filterList = _useState4[0],\n    setFilterList = _useState4[1];\n\n  // 获取并设置枚举值，curIndex为当前筛选项的index\n  // const setEnumOptions = useCallback((item, curIndex) => {\n  //   const nowConfiguredFilterItems = []\n  //   filterList?.forEach((v, index) => {\n  //     // 剔除当前筛选项，作为查询枚举值时的条件\n  //     index !== curIndex && nowConfiguredFilterItems.push({\n  //       compareType: v.compareType,\n  //       fieldName: v.fieldName,\n  //       value: v.submitValue || v.value || []\n  //     })\n  //   })\n  //   return () => {\n  //     addFilterValueList({ filterInfo: item })\n  //   }\n  // }, [filterList])\n\n  var getFilterConfig = (0, _react.useCallback)(function (fieldName) {\n    return (0, _find.default)(listFilterConfig).call(listFilterConfig, function (item) {\n      return item.fieldName === fieldName;\n    }) || {};\n  }, [listFilterConfig]);\n\n  // 过滤已选条件 newFilterList---当前所有筛选项，own---当前筛选项的compareType\n  var filterCompareTypes = (0, _react.useCallback)(function (_ref2) {\n    var _getFilterConfig;\n    var fieldName = _ref2.fieldName,\n      _ref2$newFilterList = _ref2.newFilterList,\n      newFilterList = _ref2$newFilterList === void 0 ? filterList : _ref2$newFilterList,\n      own = _ref2.own;\n    var completeTypes = ((_getFilterConfig = getFilterConfig(fieldName)) === null || _getFilterConfig === void 0 ? void 0 : _getFilterConfig.compareTypes) || [];\n    var selectedTypes = [];\n    newFilterList.forEach(function (item) {\n      if (item.fieldName === fieldName) {\n        selectedTypes.push(item.compareType);\n      }\n    });\n    // 一个字段只允许有一个等于存在值筛选项\n    if ((0, _includes.default)(selectedTypes).call(selectedTypes, _listFilterUtil.COMPARE_TYPE.enumEq)) {\n      var filterTypes = (0, _filter.default)(completeTypes).call(completeTypes, function (item) {\n        // 当前筛选条件为枚举时保留枚举条件值\n        return item.id !== _listFilterUtil.COMPARE_TYPE.enumEq || item.id === _listFilterUtil.COMPARE_TYPE.enumEq && own === _listFilterUtil.COMPARE_TYPE.enumEq;\n      });\n      return (0, _listFilterUtil.convertCompareTypes)(filterTypes);\n    }\n    return (0, _listFilterUtil.convertCompareTypes)(completeTypes);\n  }, [filterList, getFilterConfig]);\n  var handleAdd = (0, _react.useCallback)(function () {\n    setAddVisible(true);\n  }, []);\n\n  /**\n   * 添加过滤项\n   */\n  var addFilterItem = (0, _react.useCallback)(function (fieldName) {\n    var _getFilterConfig2 = getFilterConfig(fieldName),\n      fieldCaption = _getFilterConfig2.fieldCaption,\n      items = _getFilterConfig2.items,\n      otherProps = (0, _objectWithoutProperties2.default)(_getFilterConfig2, _excluded);\n    var afterHandleTypes = filterCompareTypes({\n      fieldName: fieldName\n    });\n    if (afterHandleTypes.length) {\n      setFilterList(function (list) {\n        var _context;\n        return (0, _concat.default)(_context = []).call(_context, (0, _toConsumableArray2.default)(list), [_objectSpread(_objectSpread({}, otherProps), {}, {\n          id: list.length,\n          // 索引\n          fieldCaption: fieldCaption,\n          fieldName: fieldName,\n          compareTypes: afterHandleTypes,\n          compareType: afterHandleTypes[0].value,\n          valueList: !items ? [] : (0, _listFilterUtil.convertItems)(items),\n          value: '',\n          key: otherProps.number + (0, _utils.getRandomValues)()\n        })]);\n      });\n    }\n  }, [filterCompareTypes, getFilterConfig]);\n  var _handleDelete = (0, _react.useCallback)(function (index) {\n    var newFilterList = (0, _slice.default)(filterList).call(filterList);\n    (0, _splice.default)(newFilterList).call(newFilterList, index, 1);\n    setFilterList(newFilterList);\n  }, [filterList]);\n  var handleSelect = (0, _react.useCallback)(function (option) {\n    (0, _setTimeout2.default)(function () {\n      setAddVisible(false);\n      addFilterItem(option.value);\n    });\n  }, [addFilterItem]);\n  var clearFilterList = (0, _react.useCallback)(function () {\n    setFilterList([]);\n  }, []);\n  var onSubmit = (0, _react.useCallback)(function () {\n    var submitData = (0, _map.default)(filterList).call(filterList, function (item) {\n      var fieldName = item.fieldName,\n        compareType = item.compareType,\n        value = item.value,\n        submitValue = item.submitValue;\n      return {\n        fieldName: fieldName,\n        compareType: compareType,\n        value: submitValue || (value ? Array.isArray(value) ? value : [value] : [])\n      };\n    });\n    handleSubmit(submitData);\n  }, [filterList, handleSubmit]);\n  var updateFilterList = (0, _react.useCallback)(function (_ref3) {\n    var id = _ref3.id,\n      compareType = _ref3.compareType,\n      value = _ref3.value,\n      isEnum = _ref3.isEnum;\n    var updateIndex = (0, _findIndex.default)(filterList).call(filterList, function (item) {\n      return id === item.id;\n    });\n    if (updateIndex !== -1) {\n      var newFilterList = (0, _lodash.cloneDeep)(filterList);\n      if (compareType) {\n        newFilterList[updateIndex].compareType = compareType;\n        newFilterList[updateIndex].submitValue = undefined;\n        newFilterList[updateIndex].value = [];\n        newFilterList.forEach(function (item) {\n          item.compareTypes = filterCompareTypes({\n            fieldName: item.fieldName,\n            newFilterList: newFilterList,\n            own: item.compareType\n          });\n        });\n      }\n      if (value) {\n        if (isEnum) {\n          var _enumValueList$filter;\n          var filterItem = newFilterList[updateIndex];\n          var list = (_enumValueList$filter = enumValueList[filterItem.fieldName]) === null || _enumValueList$filter === void 0 ? void 0 : _enumValueList$filter.groupInfo;\n          var exceptAllLsit = (0, _listFilterUtil.removeAllItem)(list);\n          // 根据选中index取值\n          var submitValue = (0, _map.default)(value).call(value, function (index) {\n            var _exceptAllLsit$index = exceptAllLsit[index],\n              valueInfo = _exceptAllLsit$index.value,\n              value = (0, _objectWithoutProperties2.default)(_exceptAllLsit$index, _excluded2);\n            return _objectSpread({}, value);\n          });\n          newFilterList[updateIndex].submitValue = submitValue;\n        } else if (!Array.isArray(value)) {\n          newFilterList[updateIndex].submitValue = [{\n            fieldValue: value\n          }];\n        } else {\n          newFilterList[updateIndex].submitValue = (0, _map.default)(value).call(value, function (itemValue) {\n            return {\n              fieldValue: itemValue\n            };\n          });\n        }\n      }\n      newFilterList[updateIndex].value = value;\n      setFilterList(newFilterList);\n    }\n  }, [filterList, enumValueList]);\n  var footerBtnsInfo = [{\n    text: '添加筛选条件',\n    handleClick: handleAdd\n  }, {\n    text: '清空值',\n    handleClick: clearFilterList\n  }, {\n    text: '确定',\n    handleClick: onSubmit\n  }];\n  var addListData = (0, _react.useMemo)(function () {\n    return (0, _map.default)(listFilterConfig).call(listFilterConfig, function (item) {\n      return {\n        value: item.fieldName,\n        label: item.fieldCaption\n      };\n    });\n  }, [listFilterConfig]);\n  var filterItems = (0, _react.useMemo)(function () {\n    return (0, _map.default)(filterList).call(filterList, function (item, index) {\n      var _enumValueList$fieldN;\n      var value = item.value,\n        fieldName = item.fieldName,\n        compareTypes = item.compareTypes,\n        compareType = item.compareType,\n        key = item.key,\n        isMulti = item.isMulti;\n      var itemEnumValueList = (0, _listFilterUtil.getEnumList)((enumValueList === null || enumValueList === void 0 || (_enumValueList$fieldN = enumValueList[fieldName]) === null || _enumValueList$fieldN === void 0 ? void 0 : _enumValueList$fieldN.groupInfo) || []);\n      var inputType = (0, _listFilterUtil.getInputType)(compareTypes, compareType, isMulti); // 处理选项的多选\n      var itemValue = (0, _listFilterUtil.getFilterItemValue)(value, inputType, itemEnumValueList);\n      return /*#__PURE__*/_react.default.createElement(_ListFilterContentItem.default, (0, _extends2.default)({}, item, {\n        value: itemValue,\n        handleChange: updateFilterList,\n        handleDelete: function handleDelete() {\n          _handleDelete(index);\n        },\n        enumValueList: itemEnumValueList,\n        valueList: item.valueList || [],\n        setEnumOptions: function setEnumOptions() {\n          return addFilterValueList(item);\n        },\n        inputType: inputType,\n        isMulti: isMulti || (0, _includes.default)(_listFilterUtil.MULTI_COMPARE_TYPE).call(_listFilterUtil.MULTI_COMPARE_TYPE, compareType) // 比较在...中和不在...中也是多选\n        ,\n        key: key\n      }));\n    });\n  }, [filterList, updateFilterList, _handleDelete, enumValueList, addFilterValueList]);\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListFilterSettingPopup.default.filter_content\n  }, !filterList.length && /*#__PURE__*/_react.default.createElement(_ListFilterNoData.default, {\n    handleAdd: handleAdd\n  }), /*#__PURE__*/_react.default.createElement(_SelectPopup.SelectPopup, {\n    title: \"\\u8BF7\\u9009\\u62E9\\u7B5B\\u9009\\u5185\\u5BB9\",\n    data: addListData,\n    handleSelect: handleSelect,\n    visible: addVisible,\n    setVisible: setAddVisible\n  }), filterItems), (!!configFilterItemsProps.length || !!filterList.length) && /*#__PURE__*/_react.default.createElement(_FooterBtns.default, {\n    btns: footerBtnsInfo\n  }));\n});\nFilterContent.displayName = 'FilterContent';\nvar _default = exports[\"default\"] = FilterContent;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/component/common/ListFilterSetting/ListFilterContent.tsx\n");

/***/ }),

/***/ "./src/mobile/component/common/ListFilterSetting/ListFilterContentItem.tsx":
/*!*********************************************************************************!*\
  !*** ./src/mobile/component/common/ListFilterSetting/ListFilterContentItem.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 _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/extends.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 _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/objectWithoutProperties */ \"../../node_modules/@babel/runtime-corejs3/helpers/objectWithoutProperties.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _MobUI = __webpack_require__(/*! nocode_component/MobUI */ \"webpack/container/remote/nocode_component/MobUI\");\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _reactDom = __webpack_require__(/*! kd_libs/react-dom */ \"webpack/container/remote/kd_libs/react-dom\");\nvar _listFilterUtil = __webpack_require__(/*! @/utils/listFilterUtil */ \"./src/utils/listFilterUtil.ts\");\nvar _ListFilterRefBill = _interopRequireDefault(__webpack_require__(/*! ./ListFilterRefBill */ \"./src/mobile/component/common/ListFilterSetting/ListFilterRefBill.tsx\"));\nvar _ListFilterSettingPopup = _interopRequireDefault(__webpack_require__(/*! ./ListFilterSettingPopup.less */ \"./src/mobile/component/common/ListFilterSetting/ListFilterSettingPopup.less\"));\nvar _lodash = __webpack_require__(/*! kd_libs/lodash */ \"webpack/container/remote/kd_libs/lodash\");\nvar _excluded = [\"id\", \"fieldName\", \"fieldCaption\", \"compareTypes\", \"valueList\", \"compareType\", \"value\", \"handleDelete\", \"isWithCondition\", \"handleChange\", \"enumValueList\", \"setEnumOptions\", \"formatType\", \"maxLength\", \"inputType\"];\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 FilterItem = (0, _react.memo)(function (_ref) {\n  var _compareTypes$;\n  var id = _ref.id,\n    fieldName = _ref.fieldName,\n    fieldCaption = _ref.fieldCaption,\n    _ref$compareTypes = _ref.compareTypes,\n    compareTypes = _ref$compareTypes === void 0 ? [] : _ref$compareTypes,\n    _ref$valueList = _ref.valueList,\n    valueList = _ref$valueList === void 0 ? [] : _ref$valueList,\n    _ref$compareType = _ref.compareType,\n    compareTypeProps = _ref$compareType === void 0 ? ((_compareTypes$ = compareTypes[0]) === null || _compareTypes$ === void 0 ? void 0 : _compareTypes$.value) || '' : _ref$compareType,\n    _ref$value = _ref.value,\n    value = _ref$value === void 0 ? [] : _ref$value,\n    handleDelete = _ref.handleDelete,\n    _ref$isWithCondition = _ref.isWithCondition,\n    isWithCondition = _ref$isWithCondition === void 0 ? true : _ref$isWithCondition,\n    handleChange = _ref.handleChange,\n    enumValueList = _ref.enumValueList,\n    setEnumOptions = _ref.setEnumOptions,\n    formatType = _ref.formatType,\n    maxLength = _ref.maxLength,\n    inputType = _ref.inputType,\n    otherProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);\n  var _useState = (0, _react.useState)(compareTypeProps),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    compareType = _useState2[0],\n    setCompareType = _useState2[1];\n  var isEnum = (0, _react.useMemo)(function () {\n    return inputType === _listFilterUtil.INPUT_TYPE.enumEq; // 枚举类型\n  }, [inputType]);\n\n  // input框的值\n  var _useState3 = (0, _react.useState)(value),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    inputValue = _useState4[0],\n    setInputValue = _useState4[1];\n  var handleTypeChange = (0, _react.useCallback)(function (value) {\n    handleChange({\n      id: id,\n      compareType: value\n    });\n    (0, _reactDom.unstable_batchedUpdates)(function () {\n      setCompareType(value);\n      setInputValue('');\n    });\n  }, [handleChange, id]);\n  var handleValueChange = (0, _react.useCallback)(function (value) {\n    var formattedValue = (0, _listFilterUtil.formatValue)(value, formatType, inputType);\n    setInputValue(formattedValue);\n    handleChange({\n      id: id,\n      compareType: compareType,\n      value: formattedValue\n    });\n  }, [id, compareType, handleChange, formatType, inputType]);\n  var dateRangeValue = (0, _react.useMemo)(function () {\n    var isDateRange = inputType === _listFilterUtil.INPUT_TYPE.dateRange;\n    if (isDateRange && (0, _lodash.isArray)(inputValue)) {\n      // 转换值格式\n      var _inputValue = (0, _slicedToArray2.default)(inputValue, 2),\n        _inputValue$ = _inputValue[0],\n        start = _inputValue$ === void 0 ? '' : _inputValue$,\n        _inputValue$2 = _inputValue[1],\n        end = _inputValue$2 === void 0 ? '' : _inputValue$2;\n      return {\n        start: start,\n        end: end\n      };\n    }\n    return inputValue;\n  }, [inputType, inputValue]);\n  (0, _react.useEffect)(function () {\n    // 枚举类型初始化时请求枚举值列表\n    if (isEnum) {\n      setEnumOptions === null || setEnumOptions === void 0 || setEnumOptions();\n    }\n  }, []);\n  var onSelectConfirm = (0, _react.useCallback)(function (value) {\n    handleChange({\n      id: id,\n      value: value,\n      isEnum: isEnum\n    });\n  }, [isEnum, handleChange]);\n  var dateFormatType = (0, _react.useMemo)(function () {\n    return (0, _listFilterUtil.getFormatType)(formatType);\n  }, [formatType]);\n  var renderValueInput = (0, _react.useCallback)(function () {\n    switch (inputType) {\n      case _listFilterUtil.INPUT_TYPE.none:\n        return /*#__PURE__*/_react.default.createElement(_MobUI.Text, {\n          value: inputValue,\n          disabled: true\n        });\n      case _listFilterUtil.INPUT_TYPE.enumEq:\n        var enumlist = (0, _listFilterUtil.getEnumList)(enumValueList);\n        return /*#__PURE__*/_react.default.createElement(_MobUI.Select, {\n          className: (0, _classnames.default)((0, _defineProperty2.default)({}, _ListFilterSettingPopup.default.withcond_select, isWithCondition)),\n          value: value,\n          options: enumlist,\n          multiple: true,\n          placeholder: \"\\u8BF7\\u9009\\u62E9\",\n          onConfirm: onSelectConfirm,\n          showAllSelect: true,\n          renderSearch: true\n        });\n      case _listFilterUtil.INPUT_TYPE.select:\n        return /*#__PURE__*/_react.default.createElement(_MobUI.Select, {\n          className: (0, _classnames.default)((0, _defineProperty2.default)({}, _ListFilterSettingPopup.default.withcond_select, isWithCondition)),\n          value: value,\n          options: valueList,\n          placeholder: \"\\u8BF7\\u9009\\u62E9\",\n          onChange: onSelectConfirm\n        });\n      case _listFilterUtil.INPUT_TYPE.multiSelect:\n        return /*#__PURE__*/_react.default.createElement(_MobUI.Select, {\n          className: (0, _classnames.default)((0, _defineProperty2.default)({}, _ListFilterSettingPopup.default.withcond_select, isWithCondition)),\n          value: value,\n          options: valueList,\n          multiple: true,\n          placeholder: \"\\u8BF7\\u9009\\u62E9\",\n          renderSearch: true,\n          showAllSelect: true,\n          onConfirm: onSelectConfirm\n        });\n      case _listFilterUtil.INPUT_TYPE.refbill:\n        return /*#__PURE__*/_react.default.createElement(_ListFilterRefBill.default, (0, _extends2.default)({}, otherProps, {\n          value: inputValue,\n          onChange: onSelectConfirm,\n          onConfirm: onSelectConfirm\n        }));\n      case _listFilterUtil.INPUT_TYPE.text:\n        return /*#__PURE__*/_react.default.createElement(_MobUI.Text, {\n          value: inputValue,\n          maxLength: maxLength || 400,\n          placeholder: \"\\u8BF7\\u8F93\\u5165\",\n          onChange: handleValueChange\n        });\n      case _listFilterUtil.INPUT_TYPE.textarea:\n        return /*#__PURE__*/_react.default.createElement(_MobUI.Textarea, {\n          value: inputValue,\n          maxLength: maxLength || 140,\n          placeholder: \"\\u8BF7\\u8F93\\u5165\",\n          onChange: handleValueChange\n        });\n      case _listFilterUtil.INPUT_TYPE.dateTime:\n        return /*#__PURE__*/_react.default.createElement(_MobUI.DatePicker, {\n          value: inputValue,\n          placeholder: \"\\u8BF7\\u9009\\u62E9\",\n          onConfirm: handleValueChange,\n          picker: dateFormatType\n        });\n      case _listFilterUtil.INPUT_TYPE.dateRange:\n        return /*#__PURE__*/_react.default.createElement(_MobUI.DateRangePicker, {\n          value: dateRangeValue,\n          placeholder: \"\\u8BF7\\u9009\\u62E9\",\n          onChange: handleValueChange,\n          picker: dateFormatType\n        });\n      case _listFilterUtil.INPUT_TYPE.number:\n        return /*#__PURE__*/_react.default.createElement(_MobUI.Number, {\n          value: inputValue,\n          digitLength: otherProps.precision || 23,\n          onChange: handleValueChange\n        });\n      default:\n        return /*#__PURE__*/_react.default.createElement(_MobUI.Text, {\n          value: inputValue,\n          maxLength: maxLength || 400,\n          placeholder: \"\\u8BF7\\u8F93\\u5165\",\n          onChange: handleValueChange\n        });\n    }\n  }, [compareType, value, inputValue, inputType, enumValueList, onSelectConfirm, dateRangeValue]);\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListFilterSettingPopup.default.filter_item\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListFilterSettingPopup.default.item_header\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListFilterSettingPopup.default.title\n  }, fieldCaption), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListFilterSettingPopup.default.delicon,\n    onClick: function onClick() {\n      handleDelete(id);\n    }\n  }, /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"shanchu2\"\n  }))), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListFilterSettingPopup.default.select_container\n  }, isWithCondition && /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListFilterSettingPopup.default.condition_selectBox\n  }, /*#__PURE__*/_react.default.createElement(_MobUI.Select, {\n    className: _ListFilterSettingPopup.default.condition_select,\n    value: compareType,\n    options: compareTypes,\n    onChange: handleTypeChange,\n    placeholder: \"\\u8BF7\\u9009\\u62E9\"\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListFilterSettingPopup.default.value_selectbox\n  }, renderValueInput())));\n});\nFilterItem.displayName = 'FilterItem';\nvar _default = exports[\"default\"] = FilterItem;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/component/common/ListFilterSetting/ListFilterContentItem.tsx\n");

/***/ }),

/***/ "./src/mobile/component/common/ListFilterSetting/ListFilterNoData.tsx":
/*!****************************************************************************!*\
  !*** ./src/mobile/component/common/ListFilterSetting/ListFilterNoData.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 _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _empty = _interopRequireDefault(__webpack_require__(/*! @@/assets/img/empty.png */ \"./assets/img/empty.png\"));\nvar _ListFilterSettingPopup = _interopRequireDefault(__webpack_require__(/*! ./ListFilterSettingPopup.less */ \"./src/mobile/component/common/ListFilterSetting/ListFilterSettingPopup.less\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2023-08-23 15:12:43\n * @LastEditTime: 2023-08-23 15:13:46\n * @Last Modified by: jianhang_he\n */\n\nvar NoData = (0, _react.memo)(function (_ref) {\n  var handleAdd = _ref.handleAdd;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListFilterSettingPopup.default.nodata\n  }, /*#__PURE__*/_react.default.createElement(\"img\", {\n    src: _empty.default\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListFilterSettingPopup.default.maintips\n  }, \"\\u6682\\u672A\\u8BBE\\u7F6E\\u7B5B\\u9009\\u6761\\u4EF6\"), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListFilterSettingPopup.default.operatetips\n  }, \"\\u70B9\\u51FB\\u4E0B\\u65B9\\u6309\\u94AE\\u6DFB\\u52A0\\u7B5B\\u9009\\u5185\\u5BB9\"), /*#__PURE__*/_react.default.createElement(_kdesignm.Button, {\n    className: _ListFilterSettingPopup.default.btn,\n    type: \"primary\",\n    onClick: handleAdd\n  }, \"\\u6DFB\\u52A0\\u7B5B\\u9009\\u5185\\u5BB9\"));\n});\nNoData.displayName = 'NoData';\nvar _default = exports[\"default\"] = NoData;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vTGlzdEZpbHRlclNldHRpbmcvTGlzdEZpbHRlck5vRGF0YS50c3giLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFPQTtBQUNBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFYQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFPQTtBQUFBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFHQTtBQUVBO0FBQUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vTGlzdEZpbHRlclNldHRpbmcvTGlzdEZpbHRlck5vRGF0YS50c3g/OWU0NSJdLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogQERlc2NyaXB0aW9uOlxuICogQEF1dGhvcjogamlhbmhhbmdfaGVcbiAqIEBEYXRlOiAyMDIzLTA4LTIzIDE1OjEyOjQzXG4gKiBATGFzdEVkaXRUaW1lOiAyMDIzLTA4LTIzIDE1OjEzOjQ2XG4gKiBATGFzdCBNb2RpZmllZCBieTogamlhbmhhbmdfaGVcbiAqL1xuaW1wb3J0IFJlYWN0LCB7IG1lbW8gfSBmcm9tICdyZWFjdCdcbmltcG9ydCB7IEJ1dHRvbiB9IGZyb20gJ2tkZXNpZ24tbW9iaWxlJ1xuaW1wb3J0IEVtcHR5IGZyb20gJ0BAL2Fzc2V0cy9pbWcvZW1wdHkucG5nJ1xuXG5pbXBvcnQgc3R5bGVzIGZyb20gJy4vTGlzdEZpbHRlclNldHRpbmdQb3B1cC5sZXNzJ1xuXG5jb25zdCBOb0RhdGEgPSBtZW1vKCh7IGhhbmRsZUFkZCB9KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdiBjbGFzc05hbWU9e3N0eWxlcy5ub2RhdGF9PlxuICAgICAgPGltZyBzcmM9e0VtcHR5fSAvPlxuICAgICAgPGRpdiBjbGFzc05hbWU9e3N0eWxlcy5tYWludGlwc30+5pqC5pyq6K6+572u562b6YCJ5p2h5Lu2PC9kaXY+XG4gICAgICA8ZGl2IGNsYXNzTmFtZT17c3R5bGVzLm9wZXJhdGV0aXBzfT7ngrnlh7vkuIvmlrnmjInpkq7mt7vliqDnrZvpgInlhoXlrrk8L2Rpdj5cbiAgICAgIDxCdXR0b24gY2xhc3NOYW1lPXtzdHlsZXMuYnRufSB0eXBlPSdwcmltYXJ5JyBvbkNsaWNrPXtoYW5kbGVBZGR9Pua3u+WKoOetm+mAieWGheWuuTwvQnV0dG9uPlxuICAgIDwvZGl2PlxuICApXG59KVxuXG5Ob0RhdGEuZGlzcGxheU5hbWUgPSAnTm9EYXRhJ1xuXG5leHBvcnQgZGVmYXVsdCBOb0RhdGFcbiJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/mobile/component/common/ListFilterSetting/ListFilterNoData.tsx\n");

/***/ }),

/***/ "./src/mobile/component/common/ListFilterSetting/ListFilterRefBill.tsx":
/*!*****************************************************************************!*\
  !*** ./src/mobile/component/common/ListFilterSetting/ListFilterRefBill.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 _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 _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/objectWithoutProperties */ \"../../node_modules/@babel/runtime-corejs3/helpers/objectWithoutProperties.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _MobUI = __webpack_require__(/*! nocode_component/MobUI */ \"webpack/container/remote/nocode_component/MobUI\");\nvar _UI = __webpack_require__(/*! nocode_component/UI */ \"webpack/container/remote/nocode_component/UI\");\nvar _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"../../node_modules/react-router-dom/index.js\");\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _useFilterRefBill = _interopRequireDefault(__webpack_require__(/*! @/hooks/useFilterRefBill */ \"./src/hooks/useFilterRefBill.tsx\"));\nvar _useDebounce = _interopRequireDefault(__webpack_require__(/*! @/hooks/useDebounce */ \"./src/hooks/useDebounce.tsx\"));\nvar _ListFilterRefBill = _interopRequireDefault(__webpack_require__(/*! ./ListFilterRefBill.less */ \"./src/mobile/component/common/ListFilterSetting/ListFilterRefBill.less\"));\nvar _excluded = [\"value\", \"onChange\", \"onConfirm\"];\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 useKDRefBill = _UI.hooks.useKDRefBill;\nvar REF_BILL_CLS = 'ref-bill-option';\n\n/**\n * 关联单据-KD层\n * @param props\n * @returns\n */\nvar ListFilterRefBill = (0, _react.memo)(function (_ref) {\n  var valueProps = _ref.value,\n    onChange = _ref.onChange,\n    onConfirm = _ref.onConfirm,\n    otherProps = (0, _objectWithoutProperties2.default)(_ref, _excluded);\n  var _useParams = (0, _reactRouterDom.useParams)(),\n    appId = _useParams.appId; // 应用ID\n\n  var _useState = (0, _react.useState)(0),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    loadDataStatus = _useState2[0],\n    setLoadDataStatus = _useState2[1]; // 0正在加载数据 1数据加载完成\n\n  var entityId = otherProps.entityId,\n    isMulti = otherProps.isMulti;\n  var selectRef = (0, _react.useRef)();\n  var value = (0, _react.useMemo)(function () {\n    if (isMulti) {\n      return valueProps || [];\n    } else {\n      var selectValue = Array.isArray(valueProps) ? valueProps[0] : valueProps;\n      return selectValue || '';\n    }\n  }, [isMulti, valueProps]);\n  var baseRefBillProps = (0, _useFilterRefBill.default)({\n    defaultQueryParams: {\n      pageSize: 50\n    },\n    queryCallback: function queryCallback() {\n      setLoadDataStatus(1);\n    }\n  });\n  var refBillProps = useKDRefBill(_objectSpread(_objectSpread({}, baseRefBillProps), {}, {\n    controlMeta: _objectSpread(_objectSpread({}, otherProps), {}, {\n      queryParams: baseRefBillProps.queryParams\n    })\n  }), true);\n  var _ref2 = refBillProps || {},\n    onSearch = _ref2.onSearch,\n    options = _ref2.options,\n    onRefBillChange = _ref2.onChange;\n  (0, _react.useEffect)(function () {\n    if (entityId) {\n      var _baseRefBillProps$bat;\n      value && onRefBillChange(value); // 需要更新值\n      (_baseRefBillProps$bat = baseRefBillProps.batchInvokeQuery) === null || _baseRefBillProps$bat === void 0 || _baseRefBillProps$bat.call(baseRefBillProps, entityId, {\n        page_size: 50,\n        ids: Array.isArray(value) ? value : value ? [value] : [] // 已选的时候需要把参数带过去\n      });\n    }\n  }, [entityId]);\n  var handleChange = (0, _react.useCallback)(function (v, option) {\n    onRefBillChange === null || onRefBillChange === void 0 || onRefBillChange(v); // 值改变的时候，内部的值也需要变化\n    if (isMulti) return v;\n    // dispatchRefBillData({ type: SET_VALUE, payload: v })\n    onChange === null || onChange === void 0 || onChange(v);\n  }, [onChange, isMulti, onRefBillChange]);\n  var handleConfirm = (0, _react.useCallback)(function (v) {\n    // dispatchRefBillData({ type: SET_VALUE, payload: v })\n    onConfirm === null || onConfirm === void 0 || onConfirm(v);\n  }, [onChange]);\n\n  // 自定义option渲染\n  var renderOption = (0, _react.useCallback)(function (item) {\n    var label = item.label,\n      des = item.des;\n    return /*#__PURE__*/_react.default.createElement(\"div\", {\n      className: _ListFilterRefBill.default[REF_BILL_CLS]\n    }, /*#__PURE__*/_react.default.createElement(\"div\", {\n      className: _ListFilterRefBill.default[\"\".concat(REF_BILL_CLS, \"-title\")]\n    }, label), /*#__PURE__*/_react.default.createElement(\"div\", {\n      className: _ListFilterRefBill.default[\"\".concat(REF_BILL_CLS, \"-desc\")]\n    }, des || '-'));\n  }, []);\n\n  // 自定义搜索方法\n  var filterOption = (0, _react.useCallback)(function (inputVal, item) {\n    return true;\n  }, []);\n\n  // 模糊搜索\n  var handleSearch = function handleSearch(inputVal) {\n    onSearch === null || onSearch === void 0 || onSearch(inputVal);\n  };\n  var handleDebounceSearch = (0, _useDebounce.default)(handleSearch);\n  var notFoundContent = (0, _react.useMemo)(function () {\n    if (loadDataStatus === 0) {\n      return /*#__PURE__*/_react.default.createElement(\"div\", {\n        className: _ListFilterRefBill.default[\"\".concat(REF_BILL_CLS, \"-empty\")]\n      }, /*#__PURE__*/_react.default.createElement(_kdesignm.Spin, {\n        name: \"Spin\"\n      }));\n    }\n    return undefined;\n  }, [loadDataStatus]);\n  var handleVisibleChange = function handleVisibleChange(v) {\n    // 初始化\n    v && handleSearch(''); // 展开的时候需要去请求\n  };\n  return /*#__PURE__*/_react.default.createElement(_MobUI.Select, {\n    ref: selectRef,\n    value: value,\n    renderSearch: true,\n    multiple: isMulti,\n    allowClear: true,\n    placeholder: \"\\u8BF7\\u9009\\u62E9\",\n    options: options || [],\n    onChange: handleChange,\n    notFoundContent: notFoundContent,\n    renderOption: renderOption,\n    filterOption: filterOption,\n    onVisibleChange: handleVisibleChange,\n    onSearch: handleDebounceSearch,\n    onConfirm: handleConfirm\n  });\n});\nListFilterRefBill.displayName = 'ListFilterRefBill';\nvar _default = exports[\"default\"] = ListFilterRefBill;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/component/common/ListFilterSetting/ListFilterRefBill.tsx\n");

/***/ }),

/***/ "./src/mobile/component/common/ListFilterSetting/ListFilterSettingPopup.tsx":
/*!**********************************************************************************!*\
  !*** ./src/mobile/component/common/ListFilterSetting/ListFilterSettingPopup.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 _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _ListFilterContent = _interopRequireDefault(__webpack_require__(/*! ./ListFilterContent */ \"./src/mobile/component/common/ListFilterSetting/ListFilterContent.tsx\"));\nvar _ListFilterSettingPopup = _interopRequireDefault(__webpack_require__(/*! ./ListFilterSettingPopup.less */ \"./src/mobile/component/common/ListFilterSetting/ListFilterSettingPopup.less\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2023-06-29 17:12:06\n * @LastEditTime: 2023-08-23 15:15:03\n * @Last Modified by: jianhang_he\n */\n\nvar TableFilter = (0, _react.memo)(function (_ref) {\n  var title = _ref.title,\n    visible = _ref.visible,\n    setVisible = _ref.setVisible,\n    configFilterItems = _ref.configFilterItems,\n    listFilterConfig = _ref.listFilterConfig,\n    handleSubmit = _ref.handleSubmit,\n    enumValueList = _ref.enumValueList,\n    addFilterValueList = _ref.addFilterValueList;\n  return /*#__PURE__*/_react.default.createElement(_kdesignm.Popup, {\n    className: _ListFilterSettingPopup.default.table_filter,\n    placement: \"bottom\",\n    visible: visible,\n    onClose: function onClose() {\n      return setVisible(false);\n    },\n    radius: true,\n    title: title\n  }, /*#__PURE__*/_react.default.createElement(_ListFilterContent.default, {\n    configFilterItems: configFilterItems,\n    listFilterConfig: listFilterConfig,\n    handleSubmit: handleSubmit,\n    enumValueList: enumValueList,\n    addFilterValueList: addFilterValueList\n  }));\n});\nTableFilter.displayName = 'TableFilter';\nvar _default = exports[\"default\"] = TableFilter;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vTGlzdEZpbHRlclNldHRpbmcvTGlzdEZpbHRlclNldHRpbmdQb3B1cC50c3giLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFPQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFWQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFNQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFBQTtBQUNBO0FBQ0E7QUFBQTtBQUdBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUlBO0FBQ0E7QUFBQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy9tb2JpbGUvY29tcG9uZW50L2NvbW1vbi9MaXN0RmlsdGVyU2V0dGluZy9MaXN0RmlsdGVyU2V0dGluZ1BvcHVwLnRzeD9iMDYyIl0sInNvdXJjZXNDb250ZW50IjpbIi8qXG4gKiBARGVzY3JpcHRpb246XG4gKiBAQXV0aG9yOiBqaWFuaGFuZ19oZVxuICogQERhdGU6IDIwMjMtMDYtMjkgMTc6MTI6MDZcbiAqIEBMYXN0RWRpdFRpbWU6IDIwMjMtMDgtMjMgMTU6MTU6MDNcbiAqIEBMYXN0IE1vZGlmaWVkIGJ5OiBqaWFuaGFuZ19oZVxuICovXG5pbXBvcnQgUmVhY3QsIHsgbWVtbyB9IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHsgUG9wdXAgfSBmcm9tICdrZGVzaWduLW1vYmlsZSdcbmltcG9ydCBMaXN0RmlsdGVyQ29udGVudCBmcm9tICcuL0xpc3RGaWx0ZXJDb250ZW50J1xuaW1wb3J0IHN0eWxlcyBmcm9tICcuL0xpc3RGaWx0ZXJTZXR0aW5nUG9wdXAubGVzcydcblxuY29uc3QgVGFibGVGaWx0ZXIgPSBtZW1vKCh7IHRpdGxlLCB2aXNpYmxlLCBzZXRWaXNpYmxlLCBjb25maWdGaWx0ZXJJdGVtcywgbGlzdEZpbHRlckNvbmZpZywgaGFuZGxlU3VibWl0LCBlbnVtVmFsdWVMaXN0LCBhZGRGaWx0ZXJWYWx1ZUxpc3QgfSkgPT4ge1xuICByZXR1cm4gKFxuICAgIDxQb3B1cFxuICAgICAgY2xhc3NOYW1lPXtzdHlsZXMudGFibGVfZmlsdGVyfVxuICAgICAgcGxhY2VtZW50PSdib3R0b20nXG4gICAgICB2aXNpYmxlPXt2aXNpYmxlfVxuICAgICAgb25DbG9zZT17KCkgPT4gc2V0VmlzaWJsZShmYWxzZSl9XG4gICAgICByYWRpdXNcbiAgICAgIHRpdGxlPXt0aXRsZX1cbiAgICA+XG4gICAgICA8TGlzdEZpbHRlckNvbnRlbnRcbiAgICAgICAgY29uZmlnRmlsdGVySXRlbXM9e2NvbmZpZ0ZpbHRlckl0ZW1zfVxuICAgICAgICBsaXN0RmlsdGVyQ29uZmlnPXtsaXN0RmlsdGVyQ29uZmlnfVxuICAgICAgICBoYW5kbGVTdWJtaXQ9e2hhbmRsZVN1Ym1pdH1cbiAgICAgICAgZW51bVZhbHVlTGlzdD17ZW51bVZhbHVlTGlzdH1cbiAgICAgICAgYWRkRmlsdGVyVmFsdWVMaXN0PXthZGRGaWx0ZXJWYWx1ZUxpc3R9XG4gICAgICAvPlxuICAgIDwvUG9wdXA+XG4gIClcbn0pXG5UYWJsZUZpbHRlci5kaXNwbGF5TmFtZSA9ICdUYWJsZUZpbHRlcidcblxuZXhwb3J0IGRlZmF1bHQgVGFibGVGaWx0ZXJcbiJdLCJuYW1lcyI6W10sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/mobile/component/common/ListFilterSetting/ListFilterSettingPopup.tsx\n");

/***/ }),

/***/ "./src/mobile/component/common/ListFilterSetting/ListItemSettingPopup.tsx":
/*!********************************************************************************!*\
  !*** ./src/mobile/component/common/ListFilterSetting/ListItemSettingPopup.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 _map2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/map.js\"));\nvar _set = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/set.js\"));\nvar _concat = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\"));\nvar _filter = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\"));\nvar _includes = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\"));\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/extends.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 _MobUI = __webpack_require__(/*! nocode_component/MobUI */ \"webpack/container/remote/nocode_component/MobUI\");\nvar _ListItemSettingPopup = _interopRequireDefault(__webpack_require__(/*! ./ListItemSettingPopup.less */ \"./src/mobile/component/common/ListFilterSetting/ListItemSettingPopup.less\"));\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\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 ListItemSettingPopup = (0, _react.memo)(function (props) {\n  var data = props.data,\n    visible = props.visible,\n    onConfirm = props.onConfirm,\n    onClose = props.onClose,\n    title = props.title,\n    checkedKeysProps = props.checkedKeys,\n    _props$okText = props.okText,\n    okText = _props$okText === void 0 ? '确定' : _props$okText,\n    onVisibleChange = props.onVisibleChange;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    sheetVisible = _useState2[0],\n    setVisible = _useState2[1];\n  var _useState3 = (0, _react.useState)(checkedKeysProps || []),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    checkedKeys = _useState4[0],\n    setCheckedKeys = _useState4[1]; // 展示的数据的checkedKeys，可能是搜索后的数据，不一定是全部\n  var _useState5 = (0, _react.useState)(data || []),\n    _useState6 = (0, _slicedToArray2.default)(_useState5, 2),\n    listData = _useState6[0],\n    setListData = _useState6[1]; // 展示的数据，可能是搜索后的数据，不一定是全部\n\n  var handleClose = (0, _react.useCallback)(function () {\n    if (onClose) return onClose();\n    setVisible(false);\n    onVisibleChange === null || onVisibleChange === void 0 || onVisibleChange();\n  }, [onVisibleChange]);\n  (0, _react.useEffect)(function () {\n    setVisible(visible !== null && visible !== void 0 ? visible : false);\n  }, [visible]);\n  (0, _react.useEffect)(function () {\n    setCheckedKeys(checkedKeysProps || []);\n  }, [checkedKeysProps]);\n  (0, _react.useEffect)(function () {\n    setListData(data || []);\n  }, [data]);\n\n  // useEffect(() => {\n  //   const newCheckedKeys: string[] = []\n  //   listData?.forEach(item => {\n  //     if (checkedKeys.includes(item.key)) {\n  //       newCheckedKeys.push(item.key)\n  //     }\n  //   })\n  //   setCheckedKeys?.(newCheckedKeys || [])\n  // }, [listData])\n\n  var allKeys = (0, _react.useMemo)(function () {\n    return listData === null || listData === void 0 ? void 0 : (0, _map.default)(listData).call(listData, function (v) {\n      return v.key;\n    });\n  }, [listData]);\n  var visibleCheckedKeys = (0, _react.useMemo)(function () {\n    var dataMap = new _map2.default();\n    listData.forEach(function (v) {\n      dataMap.set(v.key, true);\n    });\n    var keys = [];\n    checkedKeys.forEach(function (v) {\n      dataMap.has(v) && keys.push(v);\n    });\n    return keys;\n  }, [listData, checkedKeys]);\n  var handleChecked = function handleChecked(key, checked) {\n    var _context;\n    var keys = checked ? (0, _toConsumableArray2.default)(new _set.default((0, _concat.default)(_context = []).call(_context, (0, _toConsumableArray2.default)(visibleCheckedKeys), [key]))) : (0, _filter.default)(visibleCheckedKeys).call(visibleCheckedKeys, function (item) {\n      return item !== key;\n    });\n    setCheckedKeys(keys);\n  };\n  var getFilterNotKeys = function getFilterNotKeys(checkedKeys, allKeys) {\n    var map = {};\n    allKeys.forEach(function (item) {\n      map[item] = true;\n    });\n    return (0, _filter.default)(checkedKeys).call(checkedKeys, function (item) {\n      return !map[item];\n    });\n  };\n  var handleCheckedAll = (0, _react.useCallback)(function (checked) {\n    var keys = checked ? allKeys : getFilterNotKeys(checkedKeys, allKeys);\n    setCheckedKeys(keys);\n  }, [allKeys, checkedKeys]);\n  var getChecked = (0, _react.useCallback)(function (key) {\n    return (0, _includes.default)(visibleCheckedKeys).call(visibleCheckedKeys, key);\n  }, [visibleCheckedKeys]);\n  var handleConfirm = (0, _react.useCallback)(function () {\n    onConfirm === null || onConfirm === void 0 || onConfirm(visibleCheckedKeys, listData);\n  }, [visibleCheckedKeys, onConfirm]);\n  var footerCheckBoxState = (0, _react.useMemo)(function () {\n    if (visibleCheckedKeys.length === 0) return {\n      checked: false,\n      indeterminate: false\n    };\n    if (listData.length === visibleCheckedKeys.length) {\n      return {\n        checked: true,\n        indeterminate: false\n      };\n    } else if (listData.length >= visibleCheckedKeys.length) {\n      return {\n        checked: false,\n        indeterminate: true\n      };\n    }\n    return {\n      checked: false,\n      indeterminate: false\n    };\n  }, [visibleCheckedKeys, listData]);\n  return /*#__PURE__*/_react.default.createElement(_MobUI.Popup, {\n    visible: sheetVisible,\n    teleport: document.body,\n    onClose: handleClose,\n    className: _ListItemSettingPopup.default.popup\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListItemSettingPopup.default.box\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListItemSettingPopup.default.tip\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListItemSettingPopup.default.title\n  }, title), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListItemSettingPopup.default.close\n  }, /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    type: \"guanbi\",\n    prefix: \"nocodeplatformicon\",\n    onClick: handleClose\n  }))), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListItemSettingPopup.default.data_list\n  }, listData === null || listData === void 0 ? void 0 : (0, _map.default)(listData).call(listData, function (item, index) {\n    return /*#__PURE__*/_react.default.createElement(Item, {\n      key: item.key,\n      checked: getChecked(item.key),\n      title: item.title,\n      id: item.key\n      // setListData={setListData}\n      ,\n      onSelect: handleChecked\n    });\n  })), /*#__PURE__*/_react.default.createElement(Footer, (0, _extends2.default)({}, footerCheckBoxState, {\n    selechedNum: visibleCheckedKeys.length,\n    totalNum: listData.length,\n    onChange: handleCheckedAll,\n    onConfirm: handleConfirm,\n    okText: okText\n  }))));\n});\nvar Item = (0, _react.memo)(function (props) {\n  var checked = props.checked,\n    title = props.title,\n    key = props.id,\n    onSelect = props.onSelect;\n  var handleClick = (0, _react.useCallback)(function (e) {\n    var target = e.currentTarget;\n    var inputEle = target.querySelector('input');\n    var checked = inputEle.checked,\n      value = inputEle.value;\n    e.target.nodeName === 'INPUT' ? onSelect === null || onSelect === void 0 ? void 0 : onSelect(value, checked) : onSelect === null || onSelect === void 0 ? void 0 : onSelect(value, !checked);\n  }, [onSelect]);\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListItemSettingPopup.default.item,\n    onClick: handleClick\n  }, /*#__PURE__*/_react.default.createElement(_kdesignm.Checkbox, {\n    className: _ListItemSettingPopup.default.checkbox,\n    value: key,\n    checked: checked\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListItemSettingPopup.default.content\n  }, /*#__PURE__*/_react.default.createElement(\"p\", {\n    className: _ListItemSettingPopup.default.title\n  }, title)));\n});\nvar Footer = function Footer(footerProps) {\n  var selechedNum = footerProps.selechedNum,\n    totalNum = footerProps.totalNum,\n    indeterminate = footerProps.indeterminate,\n    checked = footerProps.checked,\n    onChange = footerProps.onChange,\n    onConfirm = footerProps.onConfirm,\n    okText = footerProps.okText;\n  var handleConfirm = (0, _react.useCallback)(function () {\n    onConfirm === null || onConfirm === void 0 || onConfirm();\n  }, [onConfirm]);\n  var handleClick = (0, _react.useCallback)(function (e) {\n    var target = e.currentTarget;\n    var inputEle = target.querySelector('input');\n    var checked = inputEle.checked;\n    e.target.nodeName === 'INPUT' ? onChange === null || onChange === void 0 ? void 0 : onChange(checked) : onChange === null || onChange === void 0 ? void 0 : onChange(!checked);\n  }, [onChange]);\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _ListItemSettingPopup.default.footer\n  }, /*#__PURE__*/_react.default.createElement(\"span\", {\n    className: _ListItemSettingPopup.default.selected,\n    onClick: handleClick\n  }, /*#__PURE__*/_react.default.createElement(\"span\", {\n    className: _ListItemSettingPopup.default['checkbox-wrapper']\n  }, /*#__PURE__*/_react.default.createElement(_kdesignm.Checkbox, {\n    className: _ListItemSettingPopup.default.checkbox,\n    indeterminate: indeterminate,\n    checked: checked\n  })), /*#__PURE__*/_react.default.createElement(\"span\", {\n    className: _ListItemSettingPopup.default.desc\n  }, \"\\u5168\\u9009\")), /*#__PURE__*/_react.default.createElement(_kdesignm.Button, {\n    size: \"small\",\n    type: \"primary\",\n    className: _ListItemSettingPopup.default.confirm,\n    onClick: handleConfirm\n  }, okText || '确定'));\n};\nListItemSettingPopup.displayName = 'ListItemSettingPopup';\nvar _default = exports[\"default\"] = ListItemSettingPopup;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/component/common/ListFilterSetting/ListItemSettingPopup.tsx\n");

/***/ }),

/***/ "./src/mobile/component/common/SelectListPopup.tsx":
/*!*********************************************************!*\
  !*** ./src/mobile/component/common/SelectListPopup.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 _values = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/values */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/values.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 _MobUI = __webpack_require__(/*! nocode_component/MobUI */ \"webpack/container/remote/nocode_component/MobUI\");\nvar _SelectListPopup = _interopRequireDefault(__webpack_require__(/*! ./SelectListPopup.less */ \"./src/mobile/component/common/SelectListPopup.less\"));\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _Card = __webpack_require__(/*! ./Card/Card */ \"./src/mobile/component/common/Card/Card.tsx\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nvar SelectListPopup = (0, _react.memo)(function (props) {\n  var dataList = props.dataList,\n    visible = props.visible,\n    onDelete = props.onDelete,\n    onClose = props.onClose,\n    title = props.title,\n    hasMore = props.hasMore,\n    onLoadMore = props.onLoadMore;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    sheetVisible = _useState2[0],\n    setVisible = _useState2[1];\n  var handleClose = (0, _react.useCallback)(function () {\n    if (onClose) return onClose();\n    setVisible(false);\n  }, []);\n  (0, _react.useEffect)(function () {\n    setVisible(visible || false);\n  }, [visible]);\n  return /*#__PURE__*/_react.default.createElement(_MobUI.Popup, {\n    visible: sheetVisible,\n    teleport: document.body,\n    onClose: handleClose,\n    className: _SelectListPopup.default.popup\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SelectListPopup.default.box\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SelectListPopup.default.tip\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SelectListPopup.default.title\n  }, title), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SelectListPopup.default.close\n  }, /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    type: \"guanbi\",\n    prefix: \"nocodeplatformicon\",\n    onClick: handleClose\n  }))), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SelectListPopup.default.data_list\n  }, /*#__PURE__*/_react.default.createElement(_MobUI.InfiniteLoading, {\n    hasMore: hasMore,\n    onLoadMore: onLoadMore\n  }, dataList === null || dataList === void 0 ? void 0 : (0, _map.default)(dataList).call(dataList, function (item, index) {\n    return /*#__PURE__*/_react.default.createElement(Item, {\n      key: item === null || item === void 0 ? void 0 : item.key,\n      onDelete: onDelete,\n      title: item.title,\n      index: index,\n      data: (0, _values.default)(item),\n      id: item.id\n    });\n  })))));\n});\nvar Item = (0, _react.memo)(function (props) {\n  var onDelete = props.onDelete,\n    data = props.data,\n    _props$title = props.title,\n    title = _props$title === void 0 ? '' : _props$title,\n    id = props.id;\n  var handleDelete = (0, _react.useCallback)(function () {\n    onDelete === null || onDelete === void 0 || onDelete(id);\n  }, [id, onDelete]);\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SelectListPopup.default.item\n  }, /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    className: _SelectListPopup.default.delete,\n    type: \"xingshanchu\",\n    prefix: \"nocodeplatformicon\",\n    onClick: handleDelete\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SelectListPopup.default.content\n  }, /*#__PURE__*/_react.default.createElement(\"p\", {\n    className: _SelectListPopup.default.title\n  }, title), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _values.default)(_SelectListPopup.default)\n  }, data === null || data === void 0 ? void 0 : (0, _map.default)(data).call(data, function (v, i) {\n    return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (0, _Card.parseCardFieldControl)(v)), i !== data.length && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, \"\\xA0|\\xA0\"));\n  }) // data?.join(' | ')\n  )));\n});\nSelectListPopup.displayName = 'SelectListPopup';\nvar _default = exports[\"default\"] = SelectListPopup;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/component/common/SelectListPopup.tsx\n");

/***/ }),

/***/ "./src/mobile/layout/apps/home/FooterLayout.tsx":
/*!******************************************************!*\
  !*** ./src/mobile/layout/apps/home/FooterLayout.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\"] = exports.BatchWorkFooterLayout = void 0;\nvar _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/defineProperty.js\"));\nvar _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 _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _Dropdown = _interopRequireDefault(__webpack_require__(/*! @/mobile/component/common/Dropdown */ \"./src/mobile/component/common/Dropdown.tsx\"));\nvar _FooterLayout = _interopRequireDefault(__webpack_require__(/*! ./FooterLayout.less */ \"./src/mobile/layout/apps/home/FooterLayout.less\"));\nvar _SelectListPopup = _interopRequireDefault(__webpack_require__(/*! ../../../component/common/SelectListPopup */ \"./src/mobile/component/common/SelectListPopup.tsx\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/*\n * @Description: 应用首页底部布局\n * @Author: jianhang_he\n * @Date: 2022-12-19 11:10:58\n * @LastEditTime: 2022-12-19 14:04:53\n * @Last Modified by: jianhang_he\n */\n\n/**\n * 底部布局\n * @returns\n */\nvar FooterLayout = (0, _react.memo)(function (props) {\n  var onClickNew = props.onClickNew,\n    onClickStatistic = props.onClickStatistic,\n    onClickSelect = props.onClickSelect,\n    showStatistic = props.showStatistic,\n    showNew = props.showNew,\n    showSelect = props.showSelect;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FooterLayout.default.footerlayout\n  }, showSelect && /*#__PURE__*/_react.default.createElement(_kdesignm.Button, {\n    className: _FooterLayout.default.button,\n    onClick: onClickSelect\n  }, \"\\u9009\\u62E9\"), showStatistic && /*#__PURE__*/_react.default.createElement(_kdesignm.Button, {\n    className: _FooterLayout.default.button,\n    onClick: onClickStatistic\n  }, \"\\u7EDF\\u8BA1\"), showNew && /*#__PURE__*/_react.default.createElement(_kdesignm.Button, {\n    className: _FooterLayout.default.button,\n    type: \"primary\",\n    onClick: onClickNew\n  }, \"\\u5F55\\u5165\"));\n});\nvar BatchWorkFooterLayout = exports.BatchWorkFooterLayout = (0, _react.memo)(function (props) {\n  var onOk = props.onOk,\n    indeterminate = props.indeterminate,\n    checked = props.checked,\n    onSelect = props.onSelect,\n    onBatchWork = props.onBatchWork,\n    actions = props.actions,\n    count = props.count,\n    onDelete = props.onDelete,\n    dataList = props.dataList,\n    hasMore = props.hasMore,\n    onLoadMore = props.onLoadMore;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    visible = _useState2[0],\n    setVisible = _useState2[1];\n  var handleItemClick = function handleItemClick(key) {\n    onBatchWork === null || onBatchWork === void 0 || onBatchWork(key);\n  };\n  var handleClose = (0, _react.useCallback)(function () {\n    setVisible(false);\n  }, []);\n  var handleShow = (0, _react.useCallback)(function () {\n    count > 0 && setVisible(true);\n  }, [visible, count]);\n  var handleDelete = (0, _react.useCallback)(function (key) {\n    count <= 1 && setVisible(false);\n    onDelete === null || onDelete === void 0 || onDelete(key);\n  }, [count, onDelete]);\n  var menu = /*#__PURE__*/_react.default.createElement(_Dropdown.default.Menu, null, actions === null || actions === void 0 ? void 0 : (0, _map.default)(actions).call(actions, function (action) {\n    return /*#__PURE__*/_react.default.createElement(_Dropdown.default.Item, {\n      key: action.value\n    }, action.label);\n  }));\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FooterLayout.default.footerlayout\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FooterLayout.default.check\n  }, /*#__PURE__*/_react.default.createElement(_kdesignm.Checkbox, {\n    className: _FooterLayout.default.checkbox,\n    onChange: onSelect,\n    indeterminate: indeterminate,\n    checked: checked\n  }, \"\\u5168\\u9009\"), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FooterLayout.default.selected\n  }, /*#__PURE__*/_react.default.createElement(\"p\", null, \"\\u5DF2\\u9009\\uFF1A\"), /*#__PURE__*/_react.default.createElement(_kdesignm.Button, {\n    type: \"text\",\n    className: (0, _classnames.default)((0, _defineProperty2.default)({}, _FooterLayout.default.selected_count, count > 0)),\n    onClick: handleShow\n  }, count), /*#__PURE__*/_react.default.createElement(_SelectListPopup.default, {\n    hasMore: hasMore,\n    onLoadMore: onLoadMore,\n    dataList: dataList,\n    visible: visible,\n    onDelete: handleDelete,\n    onClose: handleClose,\n    title: \"\\u5DF2\\u9009\\uFF1A \".concat(count)\n  }))), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FooterLayout.default.button_group\n  }, /*#__PURE__*/_react.default.createElement(_Dropdown.default, {\n    menu: menu,\n    onItemClick: handleItemClick,\n    trigger: \"click\"\n  }, /*#__PURE__*/_react.default.createElement(_kdesignm.Button, {\n    className: _FooterLayout.default.batch_button\n  }, \"\\u6279\\u91CF\\u64CD\\u4F5C\")), /*#__PURE__*/_react.default.createElement(_kdesignm.Button, {\n    className: _FooterLayout.default.batch_button,\n    type: \"primary\",\n    onClick: onOk\n  }, \"\\u5B8C\\u6210\")));\n});\nvar _default = exports[\"default\"] = FooterLayout;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/layout/apps/home/FooterLayout.tsx\n");

/***/ }),

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

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/defineProperty.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _Search = _interopRequireDefault(__webpack_require__(/*! @/mobile/component/common/Search */ \"./src/mobile/component/common/Search.tsx\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _HeaderLayout = _interopRequireDefault(__webpack_require__(/*! ./HeaderLayout.less */ \"./src/mobile/layout/apps/home/HeaderLayout.less\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/*\n * @Description: 应用首页顶部布局\n * @Author: jianhang_he\n * @Date: 2022-12-19 11:10:58\n * @LastEditTime: 2023-11-09 10:59:35\n * @Last Modified by: jianhang_he\n */\n\n/**\n * 顶部布局\n * @returns\n */\nvar HeaderLayout = (0, _react.memo)(function (_ref) {\n  var searchKeywords = _ref.searchKeywords,\n    handleSearch = _ref.handleSearch,\n    handleChangeForm = _ref.handleChangeForm,\n    handleShowListItemSetting = _ref.handleShowListItemSetting,\n    showSideNav = _ref.showSideNav,\n    showViewSelect = _ref.showViewSelect,\n    showSearch = _ref.showSearch,\n    showGridView = _ref.showGridView,\n    showSort = _ref.showSort,\n    showFilter = _ref.showFilter,\n    showColumnsSetting = _ref.showColumnsSetting,\n    handleShowFilterSetting = _ref.handleShowFilterSetting,\n    tableView = _ref.tableView,\n    filterActive = _ref.filterActive,\n    handleToggleTableView = _ref.handleToggleTableView,\n    handleShowViewSelect = _ref.handleShowViewSelect;\n  var iconClassName = (0, _classnames.default)(_HeaderLayout.default.headerlayout_item, _HeaderLayout.default.headerlayout_icon);\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _HeaderLayout.default.headerlayout\n  }, showSearch && /*#__PURE__*/_react.default.createElement(_Search.default, {\n    value: searchKeywords,\n    onSearch: handleSearch,\n    className: _HeaderLayout.default.headerlayout_item,\n    size: \"small\",\n    borderType: \"bordered\",\n    placeholder: \"\\u641C\\u7D22\"\n  }), showViewSelect && /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    className: (0, _classnames.default)(iconClassName),\n    prefix: \"nocodeplatformicon\",\n    type: \"shitu\",\n    onClick: handleShowViewSelect\n  }), showFilter && /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    className: (0, _classnames.default)(iconClassName, (0, _defineProperty2.default)({}, _HeaderLayout.default.active, filterActive)),\n    prefix: \"nocodeplatformicon\",\n    type: \"shaixuanxian\",\n    onClick: handleShowFilterSetting\n  }), showColumnsSetting && /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    onClick: handleShowListItemSetting,\n    className: iconClassName,\n    prefix: \"nocodeplatformicon\",\n    type: \"lieshezhi\"\n  }), showGridView && /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    className: iconClassName,\n    prefix: \"nocodeplatformicon\",\n    type: tableView ? 'kapian' : 'biaoge',\n    onClick: handleToggleTableView\n  })));\n});\nHeaderLayout.displayName = 'HeaderLayout';\nvar _default = exports[\"default\"] = HeaderLayout;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/layout/apps/home/HeaderLayout.tsx\n");

/***/ }),

/***/ "./src/mobile/layout/apps/home/HeaderSideNavButton.tsx":
/*!*************************************************************!*\
  !*** ./src/mobile/layout/apps/home/HeaderSideNavButton.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 _setTimeout2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/set-timeout.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 _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"../../node_modules/react-router-dom/index.js\");\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _SideNavLayout = _interopRequireDefault(__webpack_require__(/*! ./SideNavLayout */ \"./src/mobile/layout/apps/home/SideNavLayout.tsx\"));\nvar _HeaderLayout = _interopRequireDefault(__webpack_require__(/*! ./HeaderLayout.less */ \"./src/mobile/layout/apps/home/HeaderLayout.less\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/*\n * @Description: 应用首页顶部部布局 - 侧边栏导航按钮\n * @Author: jianhang_he\n * @Date: 2022-12-19 11:10:58\n * @LastEditTime: 2023-11-24 09:59:46\n * @Last Modified by: jianhang_he\n */\n\n/**\n * 应用首页顶部部布局 - 侧边栏导航按钮\n * @returns\n */\nvar HeaderSideNavButton = (0, _react.memo)(function (_ref) {\n  var _context;\n  var className = _ref.className,\n    handleChangeForm = _ref.handleChangeForm,\n    formMenu = _ref.formMenu,\n    svgData = _ref.svgData;\n  var _useParams = (0, _reactRouterDom.useParams)(),\n    appId = _useParams.appId,\n    formId = _useParams.targetFormId;\n  var _useState = (0, _react.useState)(false),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    leftLayoutPopupVisible = _useState2[0],\n    setLeftLayoutPopupVisible = _useState2[1]; // 左侧布局弹出层\n\n  var menuIconRef = (0, _react.useRef)();\n\n  /**\n   * 点击导航菜单按钮\n   */\n  var handleClickMenuButton = (0, _react.useCallback)(function () {\n    setLeftLayoutPopupVisible(true);\n  }, []);\n  (0, _react.useEffect)(function () {\n    var scrollTimer = null;\n    function handleScroll() {\n      if (!menuIconRef.current) return;\n      var classList = menuIconRef.current.classList;\n      // 滚动的时候隐藏\n      if (!(0, _includes.default)(Array.prototype).call(classList, _HeaderLayout.default.menu_scroll)) {\n        classList.add(_HeaderLayout.default.menu_scroll);\n      }\n      window.clearTimeout(scrollTimer);\n      scrollTimer = (0, _setTimeout2.default)(function () {\n        classList.remove(_HeaderLayout.default.menu_scroll);\n      }, 300);\n      console.log('scroll.....');\n    }\n    document.addEventListener('scroll', handleScroll, true);\n    return function () {\n      document.removeEventListener('scroll', handleScroll, true);\n    };\n  }, []);\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    ref: menuIconRef,\n    className: _HeaderLayout.default.menu,\n    \"data-nc-action\": (0, _concat.default)(_context = \"\".concat(appId, \"|\")).call(_context, formId, \"|m_au_lfm\")\n  }, /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: \"caidan2\",\n    className: _HeaderLayout.default.menu_icon,\n    onClick: handleClickMenuButton\n  }), /*#__PURE__*/_react.default.createElement(\"span\", {\n    className: _HeaderLayout.default.menu_text\n  }, \"\\u83DC\\u5355\")), /*#__PURE__*/_react.default.createElement(_SideNavLayout.default, {\n    handleChangeForm: handleChangeForm,\n    visible: leftLayoutPopupVisible,\n    setVisible: setLeftLayoutPopupVisible,\n    formMenu: formMenu,\n    svgData: svgData\n  }));\n});\nHeaderSideNavButton.displayName = 'HeaderSideNavButton';\nvar _default = exports[\"default\"] = HeaderSideNavButton;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2xheW91dC9hcHBzL2hvbWUvSGVhZGVyU2lkZU5hdkJ1dHRvbi50c3giLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7O0FBT0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFYQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTs7QUFNQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBS0E7QUFBQTtBQUhBO0FBQ0E7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQUNBO0FBQUE7QUFBQTtBQUFBOztBQUVBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFFQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUVBO0FBQUE7QUFBQTtBQUFBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFBQTtBQUVBO0FBQUE7QUFHQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFJQTtBQUVBO0FBQUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvbW9iaWxlL2xheW91dC9hcHBzL2hvbWUvSGVhZGVyU2lkZU5hdkJ1dHRvbi50c3g/YmVjMCJdLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogQERlc2NyaXB0aW9uOiDlupTnlKjpppbpobXpobbpg6jpg6jluIPlsYAgLSDkvqfovrnmoI/lr7zoiKrmjInpkq5cbiAqIEBBdXRob3I6IGppYW5oYW5nX2hlXG4gKiBARGF0ZTogMjAyMi0xMi0xOSAxMToxMDo1OFxuICogQExhc3RFZGl0VGltZTogMjAyMy0xMS0yNCAwOTo1OTo0NlxuICogQExhc3QgTW9kaWZpZWQgYnk6IGppYW5oYW5nX2hlXG4gKi9cbmltcG9ydCBSZWFjdCwgeyB1c2VTdGF0ZSwgbWVtbywgdXNlQ2FsbGJhY2ssIHVzZUVmZmVjdCwgdXNlUmVmIH0gZnJvbSAncmVhY3QnXG5pbXBvcnQgeyB1c2VQYXJhbXMgfSBmcm9tICdyZWFjdC1yb3V0ZXItZG9tJ1xuaW1wb3J0IHsgSWNvbiwgUG9wdXAgfSBmcm9tICdrZGVzaWduLW1vYmlsZSdcbmltcG9ydCBTaWRlTmF2TGF5b3V0IGZyb20gJy4vU2lkZU5hdkxheW91dCdcbmltcG9ydCBzdHlsZXMgZnJvbSAnLi9IZWFkZXJMYXlvdXQubGVzcydcbi8qKlxuICog5bqU55So6aaW6aG16aG26YOo6YOo5biD5bGAIC0g5L6n6L655qCP5a+86Iiq5oyJ6ZKuXG4gKiBAcmV0dXJuc1xuICovXG5jb25zdCBIZWFkZXJTaWRlTmF2QnV0dG9uID0gbWVtbygoe1xuICBjbGFzc05hbWUsXG4gIGhhbmRsZUNoYW5nZUZvcm0sXG4gIGZvcm1NZW51LFxuICBzdmdEYXRhXG59KSA9PiB7XG4gIGNvbnN0IHsgYXBwSWQsIHRhcmdldEZvcm1JZDogZm9ybUlkIH0gPSB1c2VQYXJhbXMoKVxuICBjb25zdCBbbGVmdExheW91dFBvcHVwVmlzaWJsZSwgc2V0TGVmdExheW91dFBvcHVwVmlzaWJsZV0gPSB1c2VTdGF0ZShmYWxzZSkgLy8g5bem5L6n5biD5bGA5by55Ye65bGCXG5cbiAgY29uc3QgbWVudUljb25SZWYgPSB1c2VSZWYoKVxuXG4gIC8qKlxuICAgKiDngrnlh7vlr7zoiKroj5zljZXmjInpkq5cbiAgICovXG4gIGNvbnN0IGhhbmRsZUNsaWNrTWVudUJ1dHRvbiA9IHVzZUNhbGxiYWNrKCgpID0+IHtcbiAgICBzZXRMZWZ0TGF5b3V0UG9wdXBWaXNpYmxlKHRydWUpXG4gIH0sIFtdKVxuXG4gIHVzZUVmZmVjdCgoKSA9PiB7XG4gICAgbGV0IHNjcm9sbFRpbWVyID0gbnVsbFxuXG4gICAgZnVuY3Rpb24gaGFuZGxlU2Nyb2xsICgpIHtcbiAgICAgIGlmICghbWVudUljb25SZWYuY3VycmVudCkgcmV0dXJuXG5cbiAgICAgIGNvbnN0IGNsYXNzTGlzdCA9IG1lbnVJY29uUmVmLmN1cnJlbnQuY2xhc3NMaXN0XG4gICAgICAvLyDmu5rliqjnmoTml7blgJnpmpDol49cbiAgICAgIGlmICghQXJyYXkucHJvdG90eXBlLmluY2x1ZGVzLmNhbGwoY2xhc3NMaXN0LCBzdHlsZXMubWVudV9zY3JvbGwpKSB7XG4gICAgICAgIGNsYXNzTGlzdC5hZGQoc3R5bGVzLm1lbnVfc2Nyb2xsKVxuICAgICAgfVxuXG4gICAgICB3aW5kb3cuY2xlYXJUaW1lb3V0KHNjcm9sbFRpbWVyKVxuICAgICAgc2Nyb2xsVGltZXIgPSBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgY2xhc3NMaXN0LnJlbW92ZShzdHlsZXMubWVudV9zY3JvbGwpXG4gICAgICB9LCAzMDApXG4gICAgICBjb25zb2xlLmxvZygnc2Nyb2xsLi4uLi4nKVxuICAgIH1cblxuICAgIGRvY3VtZW50LmFkZEV2ZW50TGlzdGVuZXIoJ3Njcm9sbCcsIGhhbmRsZVNjcm9sbCwgdHJ1ZSlcblxuICAgIHJldHVybiAoKSA9PiB7XG4gICAgICBkb2N1bWVudC5yZW1vdmVFdmVudExpc3RlbmVyKCdzY3JvbGwnLCBoYW5kbGVTY3JvbGwsIHRydWUpXG4gICAgfVxuICB9LCBbXSlcblxuICByZXR1cm4gKFxuICAgIDw+XG4gICAgICA8ZGl2IHJlZj17bWVudUljb25SZWZ9IGNsYXNzTmFtZT17c3R5bGVzLm1lbnV9IGRhdGEtbmMtYWN0aW9uPXtgJHthcHBJZH18JHtmb3JtSWR9fG1fYXVfbGZtYH0+XG4gICAgICAgIDxJY29uXG4gICAgICAgICAgcHJlZml4PSdub2NvZGVwbGF0Zm9ybWljb24nXG4gICAgICAgICAgdHlwZT0nY2FpZGFuMidcbiAgICAgICAgICBjbGFzc05hbWU9e3N0eWxlcy5tZW51X2ljb259XG4gICAgICAgICAgb25DbGljaz17aGFuZGxlQ2xpY2tNZW51QnV0dG9ufVxuICAgICAgICAvPlxuICAgICAgICA8c3BhbiBjbGFzc05hbWU9e3N0eWxlcy5tZW51X3RleHR9PuiPnOWNlTwvc3Bhbj5cbiAgICAgIDwvZGl2PlxuICAgICAgPFNpZGVOYXZMYXlvdXRcbiAgICAgICAgaGFuZGxlQ2hhbmdlRm9ybT17aGFuZGxlQ2hhbmdlRm9ybX1cbiAgICAgICAgdmlzaWJsZT17bGVmdExheW91dFBvcHVwVmlzaWJsZX1cbiAgICAgICAgc2V0VmlzaWJsZT17c2V0TGVmdExheW91dFBvcHVwVmlzaWJsZX1cbiAgICAgICAgZm9ybU1lbnU9e2Zvcm1NZW51fVxuICAgICAgICBzdmdEYXRhPXtzdmdEYXRhfVxuICAgICAgLz5cbiAgICA8Lz5cbiAgKVxufSlcblxuSGVhZGVyU2lkZU5hdkJ1dHRvbi5kaXNwbGF5TmFtZSA9ICdIZWFkZXJTaWRlTmF2QnV0dG9uJ1xuXG5leHBvcnQgZGVmYXVsdCBIZWFkZXJTaWRlTmF2QnV0dG9uXG4iXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/mobile/layout/apps/home/HeaderSideNavButton.tsx\n");

/***/ }),

/***/ "./src/mobile/layout/apps/home/SideNavLayout.tsx":
/*!*******************************************************!*\
  !*** ./src/mobile/layout/apps/home/SideNavLayout.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\"] = exports.NoData = 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 _findIndex = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.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 _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ \"../../node_modules/@babel/runtime-corejs3/helpers/extends.js\"));\nvar _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/toConsumableArray.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"../../node_modules/react-router-dom/index.js\");\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _Collapse = _interopRequireDefault(__webpack_require__(/*! @/mobile/component/common/Collapse */ \"./src/mobile/component/common/Collapse.tsx\"));\nvar _home = __webpack_require__(/*! @/actions/home */ \"./src/actions/home.js\");\nvar _app = __webpack_require__(/*! @/app */ \"./src/app.jsx\");\nvar _lodash = __webpack_require__(/*! kd_libs/lodash */ \"webpack/container/remote/kd_libs/lodash\");\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nvar _useNocodeNavigate = _interopRequireDefault(__webpack_require__(/*! @/route/useNocodeNavigate */ \"./src/route/useNocodeNavigate.ts\"));\nvar _mb_navmenu_empty = _interopRequireDefault(__webpack_require__(/*! @@/assets/img/mb_navmenu_empty.png */ \"./assets/img/mb_navmenu_empty.png\"));\nvar _defaultIcon = __webpack_require__(/*! @/constants/defaultIcon */ \"./src/constants/defaultIcon.ts\");\nvar _useFetchHook = __webpack_require__(/*! @/hooks/useFetchHook */ \"./src/hooks/useFetchHook.ts\");\nvar _actionNames = __webpack_require__(/*! @/reducer/actionNames */ \"./src/reducer/actionNames.js\");\nvar _SideNavLayout = _interopRequireDefault(__webpack_require__(/*! ./SideNavLayout.less */ \"./src/mobile/layout/apps/home/SideNavLayout.less\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/*\n * @Description: 应用首页 - 侧边导航\n * @Author: jianhang_he\n * @Date: 2022-12-19 11:10:58\n * @LastEditTime: 2024-08-06 13:36:11\n * @Last Modified by: jianhang_he\n */\n\n/**\n * 是否分组\n */\nvar isGroup = function isGroup(formId) {\n  return !formId;\n};\n\n/**\n * 根据层级计算左内边距\n * @param level 层级\n * @returns\n */\nvar calcPaddingLeft = function calcPaddingLeft(level) {\n  if (level > 1) {\n    return (level - 1) * 24 + 12;\n  }\n  return level * 12;\n};\n\n/**\n * 获取子节点表单id\n * @param data\n */\nvar getChildFormIdList = function getChildFormIdList(data) {\n  if (!Array.isArray(data)) return [];\n  var formIdList = [];\n  var stack = (0, _lodash.cloneDeep)(data);\n  while (stack.length) {\n    var node = stack.pop();\n    if (!isGroup(node.formId)) {\n      formIdList.push(node.formId);\n    } else {\n      if (Array.isArray(node.children)) {\n        stack.push.apply(stack, (0, _toConsumableArray2.default)(node.children));\n      }\n    }\n  }\n  return formIdList;\n};\nvar NoData = exports.NoData = function NoData() {\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SideNavLayout.default.sidenavlayout_content_empty\n  }, /*#__PURE__*/_react.default.createElement(\"img\", {\n    className: _SideNavLayout.default.sidenavlayout_content_empty_img,\n    src: _mb_navmenu_empty.default,\n    alt: \"\",\n    srcset: \"\"\n  }), /*#__PURE__*/_react.default.createElement(\"p\", {\n    className: _SideNavLayout.default.sidenavlayout_content_empty_text\n  }, \"\\u5E94\\u7528\\u4E2D\\u8FD8\\u6CA1\\u6709\\u5185\\u5BB9\\uFF0C\\u8BF7\\u5728PC\\u7AEF\\u914D\\u7F6E\"));\n};\n\n/**\n * 分组标题\n * @param param0\n * @returns\n */\nvar GroupTitle = function GroupTitle(_ref) {\n  var title = _ref.title,\n    expand = _ref.expand;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SideNavLayout.default.sidenavlayout_content_main_group\n  }, /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    className: _SideNavLayout.default.sidenavlayout_content_main_group_icon,\n    type: expand ? 'wenjianjiakai' : 'wenjianjiaguan',\n    prefix: \"nocodeplatformicon\"\n  }), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SideNavLayout.default.sidenavlayout_content_main_group_title\n  }, title));\n};\n\n/**\n * 表单标题\n * @param param0\n * @returns\n */\nvar FormTitle = function FormTitle(_ref2) {\n  var title = _ref2.title,\n    image = _ref2.image,\n    icon = _ref2.icon,\n    _ref2$isSelected = _ref2.isSelected,\n    isSelected = _ref2$isSelected === void 0 ? true : _ref2$isSelected,\n    style = _ref2.style,\n    className = _ref2.className,\n    _onClick = _ref2.onClick;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    onClick: function onClick(e) {\n      e.stopPropagation();\n      _onClick === null || _onClick === void 0 || _onClick();\n    },\n    className: (0, _classnames.default)(_SideNavLayout.default.sidenavlayout_content_main_item, className),\n    style: style\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SideNavLayout.default.sidenavlayout_content_main_item_main\n  }, icon, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SideNavLayout.default.sidenavlayout_content_main_item_title\n  }, title)), isSelected && /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n    className: _SideNavLayout.default.sidenavlayout_content_main_item_selected,\n    prefix: \"nocodeplatformicon\",\n    type: \"gouxuan\"\n  }));\n};\n\n/**\n * 导航子项内容\n * @param props\n * @returns\n */\nvar SideNavItemContent = (0, _react.memo)(function (_ref3) {\n  var level = _ref3.level,\n    formId = _ref3.formId,\n    svgData = _ref3.svgData,\n    name = _ref3.name,\n    image = _ref3.image,\n    selectedId = _ref3.selectedId,\n    children = _ref3.children,\n    formData = _ref3.formData,\n    _onClick2 = _ref3.onClick;\n  // 当前层级的左内边距\n  var curLevelPaddingLeft = calcPaddingLeft(level);\n\n  // 分组内\n  if (isGroup(formId)) {\n    var childFormIdList = getChildFormIdList(children);\n    return /*#__PURE__*/_react.default.createElement(_Collapse.default, {\n      activeKey: (0, _includes.default)(childFormIdList).call(childFormIdList, selectedId) ? level : undefined\n    }, /*#__PURE__*/_react.default.createElement(_Collapse.default.Panel, {\n      panelKey: level,\n      style: {\n        paddingLeft: \"\".concat(curLevelPaddingLeft, \"px\")\n      },\n      renderTitle: function renderTitle(expand) {\n        return /*#__PURE__*/_react.default.createElement(GroupTitle, {\n          expand: expand,\n          title: name\n        });\n      }\n    }, children === null || children === void 0 ? void 0 : (0, _map.default)(children).call(children, function (item, index) {\n      return /*#__PURE__*/_react.default.createElement(SideNavItemContent, (0, _extends2.default)({\n        onClick: _onClick2,\n        key: index,\n        formData: item\n      }, item, {\n        svgData: svgData,\n        selectedId: selectedId,\n        level: level + 1\n      }));\n    })));\n  }\n\n  // 跟着PC端来写的，下面代码需要优化\n  var triggerElement = function triggerElement(svgData, image) {\n    var _svgData$colors, _svgData$svgs, _svgData$colors2, _svgData$svgs2;\n    var color = (0, _utils.getQueryString)('color', image); // 图标背景颜色\n    var svg = (0, _utils.getQueryString)('svg', image); // 图标样式\n\n    var colorIndex = color && color !== 'undefined' ? svgData === null || svgData === void 0 || (_svgData$colors = svgData.colors) === null || _svgData$colors === void 0 ? void 0 : (0, _findIndex.default)(_svgData$colors).call(_svgData$colors, function (item) {\n      return item.value === color || item.key === color;\n    }) : 0;\n    var iconIndex = svg && svg !== 'undefined' ? svgData === null || svgData === void 0 || (_svgData$svgs = svgData.svgs) === null || _svgData$svgs === void 0 ? void 0 : (0, _findIndex.default)(_svgData$svgs).call(_svgData$svgs, function (item) {\n      return item.label === svg;\n    }) : 0;\n    var svgFill = svgData === null || svgData === void 0 || (_svgData$colors2 = svgData.colors) === null || _svgData$colors2 === void 0 || (_svgData$colors2 = _svgData$colors2[colorIndex]) === null || _svgData$colors2 === void 0 ? void 0 : _svgData$colors2.value;\n    var svgElement = svgData === null || svgData === void 0 || (_svgData$svgs2 = svgData.svgs) === null || _svgData$svgs2 === void 0 || (_svgData$svgs2 = _svgData$svgs2[iconIndex]) === null || _svgData$svgs2 === void 0 ? void 0 : _svgData$svgs2.content;\n    return /*#__PURE__*/_react.default.createElement(\"div\", {\n      ref: function ref(r) {\n        if (r) {\n          var _r$getElementsByTagNa;\n          r.getElementsByTagName('path')[0].setAttribute('style', \"fill:\".concat(svgFill, \" \"));\n          var svgDom = (_r$getElementsByTagNa = r.getElementsByTagName('svg')) === null || _r$getElementsByTagNa === void 0 ? void 0 : _r$getElementsByTagNa[0];\n          if (svgDom) {\n            svgDom.style.width = '16px';\n            svgDom.style.height = '16px';\n          }\n        }\n      },\n      className: _SideNavLayout.default.sidenavlayout_content_main_item_icon,\n      dangerouslySetInnerHTML: {\n        __html: svgElement || ''\n      }\n    });\n  };\n  var iconElement = (0, _react.useMemo)(function () {\n    return triggerElement(svgData, image || _defaultIcon.DEFAULT_FORM_IMAGE);\n  }, [svgData, image, triggerElement]);\n\n  // 普通表单标题\n  return /*#__PURE__*/_react.default.createElement(FormTitle, {\n    isSelected: selectedId === formId,\n    onClick: function onClick() {\n      return _onClick2 === null || _onClick2 === void 0 ? void 0 : _onClick2(formId, formData);\n    },\n    style: {\n      paddingLeft: \"\".concat(curLevelPaddingLeft, \"px\")\n    },\n    title: name,\n    icon: iconElement,\n    image: \"\".concat(image || 'nocode/v2/nocode_sys/common/svgs/create_svg_line?color=%233987ED&svg=svg64', \"&scale=1\")\n  });\n});\nSideNavItemContent.displayName = 'SideNavItemContent';\n\n/**\n * 导航内容\n * @param menu 导航树数据\n * @returns\n */\nvar footerNavList = [{\n  path: '/m/home',\n  name: '工作台',\n  iconType: 'shouye',\n  useActionName: 'm_au_lfm_h'\n}, {\n  path: '/m/app',\n  name: '应用',\n  iconType: 'yingyong4',\n  useActionName: 'm_au_lfm_as'\n}, {\n  path: '/m/user',\n  name: '我的',\n  iconType: 'wode',\n  useActionName: 'm_au_lfm_mine'\n}];\nvar SideNavContent = (0, _react.memo)(function (_ref4) {\n  var appId = _ref4.appId,\n    formId = _ref4.formId,\n    menu = _ref4.menu,\n    svgData = _ref4.svgData,\n    onChange = _ref4.onChange,\n    selectedId = _ref4.selectedId;\n  var navigate = (0, _useNocodeNavigate.default)();\n  var handleClickNav = function handleClickNav(_ref5) {\n    var path = _ref5.path;\n    navigate(path, {\n      replace: true\n    });\n  };\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SideNavLayout.default.sidenavlayout_content\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SideNavLayout.default.sidenavlayout_content_main\n  }, (menu === null || menu === void 0 ? void 0 : menu.length) > 0 ? (0, _map.default)(menu).call(menu, function (item, index) {\n    return /*#__PURE__*/_react.default.createElement(SideNavItemContent, (0, _extends2.default)({\n      key: index,\n      formData: item\n    }, item, {\n      svgData: svgData,\n      selectedId: selectedId,\n      onClick: onChange,\n      level: 1\n    }));\n  }) : /*#__PURE__*/_react.default.createElement(NoData, null)), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SideNavLayout.default.sidenavlayout_content_footer\n  }, (0, _map.default)(footerNavList).call(footerNavList, function (item, index) {\n    var _context, _context2;\n    return /*#__PURE__*/_react.default.createElement(\"div\", {\n      key: item.path,\n      className: _SideNavLayout.default.sidenavlayout_content_footer_item,\n      \"data-nc-action\": (0, _concat.default)(_context = (0, _concat.default)(_context2 = \"\".concat(appId, \"|\")).call(_context2, formId, \"|\")).call(_context, item.useActionName),\n      onClick: function onClick() {\n        return handleClickNav(item);\n      }\n    }, /*#__PURE__*/_react.default.createElement(\"div\", {\n      className: _SideNavLayout.default.sidenavlayout_content_footer_item_main\n    }, /*#__PURE__*/_react.default.createElement(_kdesignm.Icon, {\n      className: _SideNavLayout.default.sidenavlayout_content_footer_icon,\n      type: item.iconType,\n      prefix: \"nocodeplatformicon\"\n    }), /*#__PURE__*/_react.default.createElement(\"span\", {\n      className: _SideNavLayout.default.sidenavlayout_content_footer_name\n    }, item.name)));\n  })));\n});\nSideNavContent.displayName = 'SideNavContent';\n\n/**\n * 侧边导航头部\n */\nvar SideNavHeader = (0, _react.memo)(function () {\n  var _useParams = (0, _reactRouterDom.useParams)(),\n    appId = _useParams.appId;\n  var _useContext = (0, _react.useContext)(_app.Context),\n    state = _useContext.state,\n    dispatch = _useContext.dispatch;\n  var appInfo = state.appsList[appId];\n  (0, _react.useEffect)(function () {\n    if (!appInfo) {\n      var url = \"nocode/v2/nocode_sys/app/\".concat(appId);\n      (0, _useFetchHook.getStoreData)(url, '').then(function (res) {\n        res && dispatch({\n          type: _actionNames.UPDATE_APP_INFO_BY_ID,\n          payload: {\n            id: appId,\n            value: res.rows[0]\n          }\n        });\n      });\n      (0, _home.getAppInfoById)(appId).then(function (res) {\n        (0, _useFetchHook.setStoreData)(url, '', res);\n        dispatch({\n          type: _actionNames.UPDATE_APP_INFO_BY_ID,\n          payload: {\n            id: appId,\n            value: res.rows[0]\n          }\n        });\n      });\n    }\n  }, [appInfo, state.userInfo]);\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _SideNavLayout.default.sidenavlayout_header\n  }, /*#__PURE__*/_react.default.createElement(\"img\", {\n    className: _SideNavLayout.default.sidenavlayout_header_icon,\n    src: (0, _utils.getUrlWithDataCenter)((0, _utils.getFullUrl)(appInfo === null || appInfo === void 0 ? void 0 : appInfo.image)),\n    alt: \"\"\n  }), /*#__PURE__*/_react.default.createElement(\"span\", {\n    className: _SideNavLayout.default.sidenavlayout_header_title\n  }, appInfo === null || appInfo === void 0 ? void 0 : appInfo.name));\n});\nSideNavHeader.displayName = 'SideNavHeader';\n\n/**\n * 侧边导航\n * @returns\n */\nvar SideNavLayout = (0, _react.memo)(function (_ref6) {\n  var visible = _ref6.visible,\n    setVisible = _ref6.setVisible,\n    handleChangeForm = _ref6.handleChangeForm,\n    formMenu = _ref6.formMenu,\n    svgData = _ref6.svgData;\n  var _useParams2 = (0, _reactRouterDom.useParams)(),\n    appId = _useParams2.appId,\n    targetFormId = _useParams2.targetFormId; // 应用ID\n  var navigate = (0, _useNocodeNavigate.default)(); // 导航\n\n  // const [formMenu, setFormMenu] = useState([]) // 菜单\n  // const [selectedId, setSelectedId] = useState(targetFormId) // 选中的formId\n  // const [svgData, setSvgData] = useState({}) // 图标信息\n\n  // useEffect(() => {\n\n  // })\n\n  /**\n   * 跳转到表单\n   * @param formId 表单id\n   */\n  var jumpForm = function jumpForm(formId, navigateOptions) {\n    var _context3;\n    navigate((0, _concat.default)(_context3 = \"/m/\".concat(appId, \"/home/\")).call(_context3, formId), navigateOptions);\n  };\n\n  // useEffect(() => {\n  //   /**\n  //    * 跳转到默认的表单\n  //    * @param formMenuData 菜单数据\n  //    */\n  //   const jumpDefaultForm = (formMenuData) => {\n  //     const treeFirstFormNode = getTreeFirstFormNode(formMenuData)\n  //     const firstFormId = treeFirstFormNode.formId\n\n  //     if (!targetFormId && firstFormId) {\n  //       setSelectedId(firstFormId)\n  //       jumpForm(firstFormId, { replace: true })\n  //     }\n  //   }\n\n  //   Promise.all([getLineIconAndColor(), getFormList(appId)]).then((values) => {\n  //     const [iconData, res] = values\n\n  //     setSvgData(iconData.row)\n  //     const formMenuData = res.rows\n  //     onApi?.(formMenuData)\n  //     if (!formMenuData || formMenuData.length === 0) {\n  //       setFormMenu([])\n  //       return\n  //     }\n\n  //     // 跳转到默认的表单\n  //     jumpDefaultForm(formMenuData)\n  //     setFormMenu(formMenuData)\n  //   }).catch(error => {\n  //     console.log('请求失败', error)\n  //   })\n  // }, [onApi])\n\n  /**\n   * 点击菜单\n   * @param formId\n   * @returns\n   */\n  var handleClick = function handleClick(formId, formData) {\n    if (!formId) {\n      console.warn('formId为空', formId);\n      return;\n    }\n\n    // setSelectedId(formId)\n    handleChangeForm(formId, formData);\n    setVisible(false);\n    jumpForm(formId, {\n      replace: true\n    });\n  };\n  return /*#__PURE__*/_react.default.createElement(_kdesignm.Popup, {\n    className: _SideNavLayout.default.sidenavlayout,\n    placement: \"left\",\n    visible: visible,\n    onClose: function onClose() {\n      return setVisible(false);\n    },\n    title: /*#__PURE__*/_react.default.createElement(SideNavHeader, null),\n    radius: true\n  }, /*#__PURE__*/_react.default.createElement(SideNavContent, {\n    appId: appId,\n    formId: targetFormId,\n    onChange: handleClick,\n    selectedId: targetFormId,\n    menu: formMenu,\n    svgData: svgData\n  }));\n});\nSideNavLayout.displayName = 'SideNavLayout';\nvar _default = exports[\"default\"] = SideNavLayout;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/layout/apps/home/SideNavLayout.tsx\n");

/***/ }),

/***/ "./src/mobile/pages/apps/home/MobileAppCustomPage.tsx":
/*!************************************************************!*\
  !*** ./src/mobile/pages/apps/home/MobileAppCustomPage.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 _filter = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\"));\nvar _includes = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\"));\nvar _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 _MobileHomeContainer = _interopRequireDefault(__webpack_require__(/*! ../../home/MobileHomeContainer */ \"./src/mobile/pages/home/MobileHomeContainer.tsx\"));\nvar _index = __webpack_require__(/*! ../../home/index */ \"./src/mobile/pages/home/index.tsx\");\nvar _app = __webpack_require__(/*! @/app */ \"./src/app.jsx\");\nvar _lodash = __webpack_require__(/*! kd_libs/lodash */ \"webpack/container/remote/kd_libs/lodash\");\nvar _card = __webpack_require__(/*! @/actions/card */ \"./src/actions/card.ts\");\nvar _useFetchHook = __webpack_require__(/*! @/hooks/useFetchHook */ \"./src/hooks/useFetchHook.ts\");\nvar _api = __webpack_require__(/*! @/ajax/api */ \"./src/ajax/api.js\");\nvar _HomeContainer = _interopRequireDefault(__webpack_require__(/*! @/mobile/component/home/HomeContainer */ \"./src/mobile/component/home/HomeContainer.tsx\"));\nvar _MobileAppHomePage = _interopRequireDefault(__webpack_require__(/*! ./MobileAppHomePage.less */ \"./src/mobile/pages/apps/home/MobileAppHomePage.less\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2023-10-30 16:10:47\n * @LastEditTime: 2024-09-11 15:38:33\n * @Last Modified by: jianhang_he\n */\n\nvar MobileAppCustomPage = (0, _react.memo)(function (_ref) {\n  var _appContext$state;\n  var pageId = _ref.pageId;\n  var _useReducer = (0, _react.useReducer)(_index.reducer, _index.initState),\n    _useReducer2 = (0, _slicedToArray2.default)(_useReducer, 2),\n    _useReducer2$ = _useReducer2[0],\n    state = _useReducer2$ === void 0 ? {} : _useReducer2$,\n    dispatch = _useReducer2[1];\n  var _useState = (0, _react.useState)(false),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    init = _useState2[0],\n    setInit = _useState2[1];\n  var appContext = (0, _react.useContext)(_app.Context);\n  var userInfo = appContext === null || appContext === void 0 || (_appContext$state = appContext.state) === null || _appContext$state === void 0 ? void 0 : _appContext$state.userInfo;\n  var userId = userInfo === null || userInfo === void 0 ? void 0 : userInfo.id;\n  var updateInfo = (0, _react.useCallback)(function (type, res) {\n    var _res$rows;\n    var data = res === null || res === void 0 || (_res$rows = res.rows) === null || _res$rows === void 0 ? void 0 : _res$rows[0];\n    var cardData = data === null || data === void 0 ? void 0 : data.cardInfo;\n    if (data) {\n      var handledData = (0, _filter.default)(cardData).call(cardData, function (item) {\n        return (0, _includes.default)(_index.ShowTypes).call(_index.ShowTypes, item.type);\n      });\n      dispatch({\n        type: type,\n        payload: {\n          cardInfo: handledData,\n          layout: data === null || data === void 0 ? void 0 : data.layout\n        }\n      });\n    }\n  }, []);\n\n  // 带viewId时会刷新视图信息(切换视图时用)\n  var loadCardInfo = (0, _react.useCallback)(function (chooseViewId) {\n    var viewId = chooseViewId || (state === null || state === void 0 ? void 0 : state.viewId);\n    init && setInit(false);\n    var cacheData = {};\n    // 读取缓存数据\n    // getStoreData(HOME_CARD, { schemaId: viewId }).then(res => {\n    //   if (res) {\n    //     cacheData = res\n    //     setInit(true)\n    //     updateInfo(UPDATE_VALUE, res)\n    //   }\n    // })\n    (0, _card.getCardBySchmeId)({\n      pageId: viewId\n    }).then(function (data) {\n      (0, _useFetchHook.setStoreData)(_api.HOME_CARD, {\n        schemaId: viewId\n      }, data);\n      setInit(true);\n      !(0, _lodash.isEqual)(cacheData, data) && updateInfo(_index.UPDATE_VALUE, data);\n    }).catch(function (err) {\n      (0, _index.showToast)(err.message);\n    });\n  }, [init, state.viewId, updateInfo, userId]);\n  (0, _react.useEffect)(function () {\n    loadCardInfo(pageId);\n  }, [pageId]);\n  return /*#__PURE__*/_react.default.createElement(_HomeContainer.default, {\n    mainClassName: _MobileAppHomePage.default.custom_wrapper\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _MobileAppHomePage.default.custom\n  }, /*#__PURE__*/_react.default.createElement(_MobileHomeContainer.default, {\n    init: init,\n    state: state\n  })));\n});\nMobileAppCustomPage.displayName = 'MobileAppCustomPage';\nvar _default = exports[\"default\"] = MobileAppCustomPage;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/pages/apps/home/MobileAppCustomPage.tsx\n");

/***/ }),

/***/ "./src/mobile/pages/apps/home/MobileAppFormPage.tsx":
/*!**********************************************************!*\
  !*** ./src/mobile/pages/apps/home/MobileAppFormPage.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 _filterInstanceProperty2 = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _Object$getOwnPropertyDescriptors = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js\");\nvar _Object$defineProperties = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-properties.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/regenerator */ \"../../node_modules/@babel/runtime-corejs3/regenerator/index.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 _find = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js\"));\nvar _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _filter = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js\"));\nvar _includes = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js\"));\nvar _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/asyncToGenerator */ \"../../node_modules/@babel/runtime-corejs3/helpers/asyncToGenerator.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 _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"../../node_modules/react-router-dom/index.js\");\nvar _HeaderLayout = _interopRequireDefault(__webpack_require__(/*! @/mobile/layout/apps/home/HeaderLayout */ \"./src/mobile/layout/apps/home/HeaderLayout.tsx\"));\nvar _FooterLayout = _interopRequireWildcard(__webpack_require__(/*! @/mobile/layout/apps/home/FooterLayout */ \"./src/mobile/layout/apps/home/FooterLayout.tsx\"));\nvar _MobileAppHomePage = _interopRequireDefault(__webpack_require__(/*! ./MobileAppHomePage.less */ \"./src/mobile/pages/apps/home/MobileAppHomePage.less\"));\nvar _env = __webpack_require__(/*! @/constants/env */ \"./src/constants/env.js\");\nvar _Card = __webpack_require__(/*! @/mobile/component/common/Card */ \"./src/mobile/component/common/Card/index.ts\");\nvar _MobUI = __webpack_require__(/*! nocode_component/MobUI */ \"webpack/container/remote/nocode_component/MobUI\");\nvar _useEventProxy = _interopRequireDefault(__webpack_require__(/*! @/hooks/useEventProxy */ \"./src/hooks/useEventProxy.tsx\"));\nvar _apps = __webpack_require__(/*! @/actions/apps */ \"./src/actions/apps.ts\");\nvar _ListItemSettingPopup = _interopRequireDefault(__webpack_require__(/*! @/mobile/component/common/ListFilterSetting/ListItemSettingPopup */ \"./src/mobile/component/common/ListFilterSetting/ListItemSettingPopup.tsx\"));\nvar _listSettingUtil = __webpack_require__(/*! @/utils/listSettingUtil */ \"./src/utils/listSettingUtil.js\");\nvar _menuTableUtil = __webpack_require__(/*! @/utils/menuTableUtil */ \"./src/utils/menuTableUtil.js\");\nvar _useFormDataList3 = _interopRequireWildcard(__webpack_require__(/*! @/hooks/useFormDataList */ \"./src/hooks/useFormDataList.ts\"));\nvar _ListFilterSettingPopup = _interopRequireDefault(__webpack_require__(/*! @/mobile/component/common/ListFilterSetting/ListFilterSettingPopup */ \"./src/mobile/component/common/ListFilterSetting/ListFilterSettingPopup.tsx\"));\nvar _DataGrid = _interopRequireWildcard(__webpack_require__(/*! @/mobile/component/common/DataGrid */ \"./src/mobile/component/common/DataGrid/index.tsx\"));\nvar _empty = _interopRequireDefault(__webpack_require__(/*! @@/assets/img/empty.png */ \"./assets/img/empty.png\"));\nvar _app = __webpack_require__(/*! @/app */ \"./src/app.jsx\");\nvar _actionNames = __webpack_require__(/*! @/reducer/actionNames */ \"./src/reducer/actionNames.js\");\nvar _useNocodeNavigate = _interopRequireDefault(__webpack_require__(/*! @/route/useNocodeNavigate */ \"./src/route/useNocodeNavigate.ts\"));\nvar menuTableActions = _interopRequireWildcard(__webpack_require__(/*! @/utils/menuTableActions */ \"./src/utils/menuTableActions.ts\"));\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _FormDataListAuthProvider = __webpack_require__(/*! @/web/component/common/FormDataListAuthProvider */ \"./src/web/component/common/FormDataListAuthProvider.tsx\");\nvar _SelectPopup = __webpack_require__(/*! @/mobile/component/common/SelectPopup */ \"./src/mobile/component/common/SelectPopup.tsx\");\nvar _menuTableMobUtil = __webpack_require__(/*! @/utils/menuTableMobUtil */ \"./src/utils/menuTableMobUtil.js\");\nvar menuTableAppActions = _interopRequireWildcard(__webpack_require__(/*! @/utils/menuTableAppActions */ \"./src/utils/menuTableAppActions.ts\"));\nvar _StatisticPopUp = _interopRequireDefault(__webpack_require__(/*! ../../../component/apps/StatisticPopUp */ \"./src/mobile/component/apps/StatisticPopUp.tsx\"));\nvar _immer = _interopRequireDefault(__webpack_require__(/*! kd_libs/immer */ \"webpack/container/remote/kd_libs/immer\"));\nvar _PageEventService = __webpack_require__(/*! @/service/PageEventService */ \"./src/service/PageEventService.ts\");\nvar _HomeContainer = _interopRequireDefault(__webpack_require__(/*! @/mobile/component/home/HomeContainer */ \"./src/mobile/component/home/HomeContainer.tsx\"));\nvar _useFormDataListState = __webpack_require__(/*! @/hooks/useFormDataListState */ \"./src/hooks/useFormDataListState.ts\");\nvar _reactDom = __webpack_require__(/*! kd_libs/react-dom */ \"webpack/container/remote/kd_libs/react-dom\");\nvar _batchOperationsUtil = __webpack_require__(/*! @/utils/batchOperationsUtil */ \"./src/utils/batchOperationsUtil.ts\");\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty2(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; } /*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2023-11-02 11:21:16\n * @LastEditTime: 2024-03-01 17:58:44\n * @Last Modified by: jianhang_he\n */\n// 不显示成标题的特殊字段，serial为序号\nvar TITLE_FIELD_EXCEPT_LIST = ['nocodeattachmentuploadfield', 'nocodeimageuploadfield', 'nocodeentryentity', 'serial', 'nocoderichtextfield', 'nocodegraphicdisplayfield'];\nvar MobileAppFormPage = (0, _react.memo)(function (_ref) {\n  var menuData = _ref.menuData;\n  var _useContext = (0, _react.useContext)(_app.Context),\n    dispatch = _useContext.dispatch;\n  var _useParams = (0, _reactRouterDom.useParams)(),\n    targetFormId = _useParams.targetFormId,\n    appId = _useParams.appId; // 应用ID\n  var _useState = (0, _react.useState)(targetFormId || ''),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    selectedFormId = _useState2[0],\n    setSelectedFormId = _useState2[1]; // 选中的表单id，默认是当前打开的\n  var _useState3 = (0, _react.useState)(false),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    actionSheetVisible = _useState4[0],\n    setActionSheetVisible = _useState4[1];\n  var _useState5 = (0, _react.useState)(false),\n    _useState6 = (0, _slicedToArray2.default)(_useState5, 2),\n    showSelect = _useState6[0],\n    setShowSelect = _useState6[1];\n  var pageCountRef = (0, _react.useRef)(1);\n  var nextPageCount = (0, _react.useRef)(1);\n  var clickElementRef = (0, _react.useRef)(null);\n  var pkIdRef = (0, _react.useRef)(null);\n  var navigate = (0, _useNocodeNavigate.default)();\n  var _useState7 = (0, _react.useState)(false),\n    _useState8 = (0, _slicedToArray2.default)(_useState7, 2),\n    tableView = _useState8[0],\n    setTableView = _useState8[1];\n  // const [selectedRowsByFormId, setSelectedRowsByFormId] = useState({})\n  var TableViewContext = (0, _react.useContext)(_DataGrid.TableViewGridContext);\n  var _useState9 = (0, _react.useState)(false),\n    _useState10 = (0, _slicedToArray2.default)(_useState9, 2),\n    horizontal = _useState10[0],\n    setHorizontal = _useState10[1];\n  var _useState11 = (0, _react.useState)(false),\n    _useState12 = (0, _slicedToArray2.default)(_useState11, 2),\n    selectedAll = _useState12[0],\n    setSelectedAll = _useState12[1];\n  var _useState13 = (0, _react.useState)([]),\n    _useState14 = (0, _slicedToArray2.default)(_useState13, 2),\n    viewInfo = _useState14[0],\n    setViewInfo = _useState14[1];\n  var _useState15 = (0, _react.useState)(false),\n    _useState16 = (0, _slicedToArray2.default)(_useState15, 2),\n    viewSelectPopVisible = _useState16[0],\n    setViewSelectPopVisible = _useState16[1];\n  var _useState17 = (0, _react.useState)(false),\n    _useState18 = (0, _slicedToArray2.default)(_useState17, 2),\n    statisticVisible = _useState18[0],\n    setStatisticVisible = _useState18[1]; // 统计弹窗是否可见\n\n  var authContext = (0, _react.useContext)(_FormDataListAuthProvider.AuthorizeContext) || {};\n  var authList = authContext.authList,\n    pending = authContext.pending,\n    setPending = authContext.setPending,\n    authFormId = authContext.formId; // pending等待权限查询完成才请求数据\n\n  var hasGetCurFormAuth = !pending && authFormId === targetFormId;\n  var _ref2 = authList || {},\n    viewAuth = _ref2.viewAuth,\n    editAuth = _ref2.editAuth,\n    deleteAuth = _ref2.deleteAuth,\n    importAuth = _ref2.importAuth,\n    exportAuth = _ref2.exportAuth,\n    inputAuth = _ref2.inputAuth,\n    printAuth = _ref2.printAuth,\n    statisticAuth = _ref2.statisticAuth,\n    detailShareReqireLoginAuth = _ref2.detailShareReqireLoginAuth,\n    detailShareNotReqireLoginAuth = _ref2.detailShareNotReqireLoginAuth,\n    editShareAuth = _ref2.editShareAuth,\n    inputShareReqireLoginAuth = _ref2.inputShareReqireLoginAuth,\n    inputShareNotReqireLoginAuth = _ref2.inputShareNotReqireLoginAuth;\n  var showFirstFieldAsTitle = true; // 第一个字段显示为标题\n  var _useFormDataList = (0, _useFormDataList3.default)({\n      appId: appId,\n      formId: selectedFormId,\n      env: _env.ENV_APP,\n      viewAuth: viewAuth,\n      pending: pending,\n      setPending: setPending\n    }, {\n      loadData: false,\n      // 是否调用默认loadData加载数据\n      loadMore: true,\n      // 移动端滚动加载，数据叠加\n      updateFooter: false,\n      isMob: true,\n      needSerial: true,\n      // 添加序号\n      horizontal: horizontal,\n      columnsDataTranform: _menuTableMobUtil.columnsDataTranform\n    }, _objectSpread(_objectSpread({}, menuTableActions), menuTableAppActions)),\n    _useFormDataList2 = (0, _slicedToArray2.default)(_useFormDataList, 3),\n    formDataListState = _useFormDataList2[0],\n    actions = _useFormDataList2[1],\n    TableContext = _useFormDataList2[2];\n  var formName = formDataListState.formName,\n    dataSource = formDataListState.dataSource,\n    visibleColumnKeys = formDataListState.visibleColumnKeys,\n    columns = formDataListState.columns,\n    showListSettingPop = formDataListState.showListSettingPop,\n    showFilterSettingPop = formDataListState.showFilterSettingPop,\n    listFilterConfig = formDataListState.listFilterConfig,\n    listItemConfig = formDataListState.listItemConfig,\n    configuredFilterItems = formDataListState.configuredFilterItems,\n    searchKeywords = formDataListState.searchKeywords,\n    totalCount = formDataListState.totalCount,\n    lastPage = formDataListState.lastPage,\n    listFilters = formDataListState.listFilters,\n    enumFilterValue = formDataListState.enumFilterValue,\n    selectStatus = formDataListState.selectStatus,\n    selectedIds = formDataListState.selectedIds,\n    selectedCount = formDataListState.selectedCount,\n    notInSelectedIds = formDataListState.notInSelectedIds;\n  var onListSettingConfirm = actions.onListSettingConfirm,\n    onFilterConfirm = actions.onFilterConfirm,\n    onSearch = actions.onSearch,\n    onSetShowFilterSettingPop = actions.onSetShowFilterSettingPop,\n    onSetShowListSettingPop = actions.onSetShowListSettingPop,\n    onGetEnumFilterValue = actions.onGetEnumFilterValue,\n    onLoadInitData = actions.onLoadInitData,\n    onUpdateDataSource = actions.onUpdateDataSource,\n    setFormDataListState = actions.setFormDataListState,\n    onSelectChange = actions.onSelectChange,\n    onBatchDelete = actions.onBatchDelete,\n    getSelectedQueryString = actions.getSelectedQueryString,\n    onPaginationChange = actions.onPaginationChange,\n    setSelectedInfo = actions.setSelectedInfo,\n    handleDeleteSelectedId = actions.handleDeleteSelectedId;\n  var selectedQueryString = (0, _react.useMemo)(function () {\n    return getSelectedQueryString();\n  }, [getSelectedQueryString]);\n  var sendClickEvent = function sendClickEvent(action) {\n    var _context, _context2;\n    (0, _PageEventService.publishClickUserEvent)({\n      appId: appId,\n      formId: targetFormId,\n      action: (0, _concat.default)(_context = (0, _concat.default)(_context2 = \"\".concat(appId, \"|\")).call(_context2, targetFormId, \"|\")).call(_context, action)\n    });\n  };\n  var columnsMemo = (0, _react.useMemo)(function () {\n    return (0, _menuTableUtil.getShowColumns)(columns, visibleColumnKeys);\n  }, [columns, visibleColumnKeys]);\n  var cardActions = (0, _react.useMemo)(function () {\n    var actions = [];\n    if (editAuth) {\n      actions.push({\n        key: 'edit',\n        text: '编辑'\n      });\n    }\n    if (inputAuth) {\n      actions.push({\n        key: 'copy',\n        text: '复制'\n      });\n    }\n    if (deleteAuth) {\n      actions.push({\n        key: 'remove',\n        text: '删除',\n        danger: true\n      });\n    }\n    return actions;\n  }, [editAuth, inputAuth, deleteAuth]);\n  var activeSchemaId = (0, _react.useMemo)(function () {\n    var _viewInfo$find;\n    return (_viewInfo$find = (0, _find.default)(viewInfo).call(viewInfo, function (item) {\n      return item.active;\n    })) === null || _viewInfo$find === void 0 ? void 0 : _viewInfo$find.id;\n  }, [viewInfo]);\n  var viewSelectPopInfo = (0, _react.useMemo)(function () {\n    return viewInfo === null || viewInfo === void 0 ? void 0 : (0, _map.default)(viewInfo).call(viewInfo, function (item) {\n      return {\n        value: item.id,\n        label: item.name\n      };\n    });\n  }, [viewInfo]);\n  (0, _react.useEffect)(function () {\n    setSelectedFormId(targetFormId);\n    // 切换表单全选值恢复默认，勾选信息useFormDataList内部会更新\n    setSelectedAll(false);\n  }, [targetFormId]);\n  var onViewChange = /*#__PURE__*/function () {\n    var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(info, formId, viewAuth) {\n      var _filterdHiddenInfo$;\n      var filterdHiddenInfo, curView, activeSchemaId;\n      return _regenerator.default.wrap(function _callee$(_context3) {\n        while (1) switch (_context3.prev = _context3.next) {\n          case 0:\n            filterdHiddenInfo = info === null || info === void 0 ? void 0 : (0, _filter.default)(info).call(info, function (item) {\n              return !(0, _includes.default)(_menuTableUtil.VIEW_MOB_HIDDEN).call(_menuTableUtil.VIEW_MOB_HIDDEN, item.hidden);\n            });\n            setViewInfo(filterdHiddenInfo);\n            curView = (0, _find.default)(filterdHiddenInfo).call(filterdHiddenInfo, function (item) {\n              return item.active;\n            }); // 当前视图隐藏时则跳到第一个可见视图\n            activeSchemaId = (curView === null || curView === void 0 ? void 0 : curView.id) || (filterdHiddenInfo === null || filterdHiddenInfo === void 0 || (_filterdHiddenInfo$ = filterdHiddenInfo[0]) === null || _filterdHiddenInfo$ === void 0 ? void 0 : _filterdHiddenInfo$.id);\n            if (!activeSchemaId) {\n              _context3.next = 9;\n              break;\n            }\n            _context3.next = 7;\n            return onLoadInitData(appId, formId, _env.ENV_APP, viewAuth, activeSchemaId);\n          case 7:\n            pageCountRef.current = 1;\n            nextPageCount.current = 2;\n          case 9:\n          case \"end\":\n            return _context3.stop();\n        }\n      }, _callee);\n    }));\n    return function onViewChange(_x, _x2, _x3) {\n      return _ref3.apply(this, arguments);\n    };\n  }();\n  (0, _react.useEffect)(function () {\n    var fetchData = /*#__PURE__*/function () {\n      var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {\n        var res;\n        return _regenerator.default.wrap(function _callee2$(_context4) {\n          while (1) switch (_context4.prev = _context4.next) {\n            case 0:\n              _context4.prev = 0;\n              if (!hasGetCurFormAuth) {\n                _context4.next = 6;\n                break;\n              }\n              _context4.next = 4;\n              return (0, _apps.getViewData)(selectedFormId);\n            case 4:\n              res = _context4.sent;\n              onViewChange(res.rows || [], selectedFormId, viewAuth);\n            case 6:\n              _context4.next = 11;\n              break;\n            case 8:\n              _context4.prev = 8;\n              _context4.t0 = _context4[\"catch\"](0);\n              setFormDataListState({\n                dataSource: [],\n                footerDataSource: [],\n                pageNo: 1,\n                pageSize: 20,\n                totalCount: 0,\n                lastPage: true,\n                formName: '',\n                loading: false,\n                listItemConfig: [],\n                listFilterConfig: [],\n                listStatInfo: [],\n                configuredFilterItems: [],\n                listFilters: []\n              });\n            case 11:\n            case \"end\":\n              return _context4.stop();\n          }\n        }, _callee2, null, [[0, 8]]);\n      }));\n      return function fetchData() {\n        return _ref4.apply(this, arguments);\n      };\n    }();\n    fetchData();\n  }, [selectedFormId, viewAuth, hasGetCurFormAuth]);\n  (0, _react.useEffect)(function () {\n    dispatch({\n      type: _actionNames.UPDATE_MOBILE_APPHOMEDATA,\n      payload: {\n        pageNo: pageCountRef.current,\n        pageSize: 20,\n        data: dataSource,\n        lastPage: lastPage,\n        listItemConfig: listItemConfig,\n        listFilters: listFilters,\n        searchKeywords: searchKeywords\n      }\n    });\n  }, [dataSource, pageCountRef.current, lastPage, listItemConfig, listFilterConfig, listFilters, searchKeywords]);\n  var visibleColumnsMemo = (0, _react.useMemo)(function () {\n    return (0, _menuTableUtil.getShowColumns)(columns, visibleColumnKeys);\n  }, [columns, visibleColumnKeys]);\n  var renderDataMemo = (0, _react.useMemo)(function () {\n    return (0, _map.default)(dataSource).call(dataSource, function (item, rowIndex) {\n      var fields = (0, _map.default)(visibleColumnsMemo).call(visibleColumnsMemo, function (col, index) {\n        return {\n          type: col.type,\n          name: col.name,\n          value: col.type === 'serial' ? \"\".concat(rowIndex + 1) : item[col.number],\n          id: col.number\n        };\n      });\n      return {\n        fields: fields,\n        id: item.id\n      };\n    });\n  }, [visibleColumnsMemo, dataSource]);\n  var getUserNameById = (0, _react.useCallback)(function (pkId) {\n    var row = (0, _find.default)(dataSource).call(dataSource, function (data) {\n      return data.id === pkId;\n    });\n    return (0, _menuTableUtil.findFormUserName)(listItemConfig, row);\n  }, [dataSource, listItemConfig]);\n  var formInfo = (0, _react.useMemo)(function () {\n    var loopFind = function loopFind(data, targetFormId, res) {\n      data === null || data === void 0 || data.forEach(function (item) {\n        if (item.formId === targetFormId) {\n          res = item;\n        } else if (item !== null && item !== void 0 && item.children) {\n          res = loopFind(item === null || item === void 0 ? void 0 : item.children, targetFormId, res);\n        }\n      });\n      return res;\n    };\n    return loopFind(menuData, selectedFormId);\n  }, [menuData, selectedFormId]);\n  var getFirstVisibleField = function getFirstVisibleField(fields) {\n    return fields === null || fields === void 0 ? void 0 : (0, _find.default)(fields).call(fields, function (field) {\n      return (field === null || field === void 0 ? void 0 : field.type) && !(0, _includes.default)(TITLE_FIELD_EXCEPT_LIST).call(TITLE_FIELD_EXCEPT_LIST, field.type);\n    });\n  };\n  var getGroupsFields = function getGroupsFields(fields) {\n    var firstField = getFirstVisibleField(fields); // 第一个字段显示为标题\n    var others = fields === null || fields === void 0 ? void 0 : (0, _filter.default)(fields).call(fields, function (f) {\n      return f.id !== (firstField === null || firstField === void 0 ? void 0 : firstField.id);\n    });\n    return [firstField, others];\n  };\n  var getSelectItemFieldTextValue = function getSelectItemFieldTextValue(value) {\n    var lang = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'zh_CN';\n    if (Array.isArray(value)) {\n      var _value$map;\n      return (_value$map = (0, _map.default)(value).call(value, function (v) {\n        return v.name[lang];\n      })) === null || _value$map === void 0 ? void 0 : _value$map.join(',');\n    }\n    return value;\n  };\n  var getCardTitle = (0, _react.useCallback)(function (fieldValue, userName, fieldType) {\n    if (showFirstFieldAsTitle) {\n      return (fieldType === 'nocodeselectitemfield' ? getSelectItemFieldTextValue(fieldValue) : fieldValue) || '-';\n    } else {\n      var _context5;\n      return (0, _concat.default)(_context5 = \"\".concat(userName || '【匿名用户】', \"\\u53D1\\u8D77\\u7684\")).call(_context5, (formInfo === null || formInfo === void 0 ? void 0 : formInfo.name) || '【未命名表单】', \" \");\n    }\n  }, [formInfo]);\n  var filterFields = (0, _react.useCallback)(function (fields) {\n    return fields === null || fields === void 0 ? void 0 : (0, _filter.default)(fields).call(fields, function (field) {\n      return field === null || field === void 0 ? void 0 : field.type;\n    });\n  }, []);\n  var selectDataListMemo = (0, _react.useMemo)(function () {\n    var _context6;\n    var dataDemo = {};\n    // 先转成key-value形式，方便在map中查询\n    renderDataMemo === null || renderDataMemo === void 0 || renderDataMemo.forEach(function (item) {\n      dataDemo[item.id] = item;\n    });\n    return (0, _filter.default)(_context6 = (0, _map.default)(selectedIds).call(selectedIds, function (id) {\n      var item = dataDemo[id];\n      // 跨页勾选目前不够稳定，此处兼容避免出现中断性bug\n      if (item) {\n        var userName = getUserNameById(item.id);\n        var fields = filterFields(item.fields);\n        var _getGroupsFields = getGroupsFields(fields),\n          _getGroupsFields2 = (0, _slicedToArray2.default)(_getGroupsFields, 2),\n          firstField = _getGroupsFields2[0],\n          otherFields = _getGroupsFields2[1];\n        var values = showFirstFieldAsTitle ? otherFields : fields;\n        // ?.map(field => {\n        //   return typeof field.value !== 'string' || field.value === '' ? '-' : field.value // 除文本外其他先显示成 \"-\"\n        // })\n        return {\n          values: values,\n          // 去除第一个字段\n          title: getCardTitle(firstField === null || firstField === void 0 ? void 0 : firstField.value, userName, firstField === null || firstField === void 0 ? void 0 : firstField.type),\n          id: item.id\n        };\n      }\n    })).call(_context6, Boolean);\n  }, [renderDataMemo, selectedIds, getUserNameById, getCardTitle, filterFields]);\n  var filterOperateColMemo = (0, _react.useMemo)(function () {\n    return (0, _menuTableUtil.filterOperateCol)(columns);\n  }, [columns]);\n\n  // 批量设置\n  var addFilterValueList = (0, _react.useCallback)(function (filterInfo) {\n    if (filterInfo) {\n      onGetEnumFilterValue(filterInfo, configuredFilterItems);\n    }\n  }, [onGetEnumFilterValue, configuredFilterItems]);\n  var handleItemClick = (0, _react.useCallback)(function (pkId) {\n    var _context7, _context8;\n    viewAuth ? navigate((0, _concat.default)(_context7 = (0, _concat.default)(_context8 = \"/m/\".concat(appId, \"/detail/\")).call(_context8, selectedFormId, \"/\")).call(_context7, pkId, \"/view\")) : _MobUI.WebMsg.showToast({\n      type: 2,\n      content: '没有查看权限'\n    });\n  }, [selectedFormId, appId, navigate, viewAuth]);\n  var getSelectedIds = (0, _react.useCallback)(function (pkId) {\n    var selected = !!(0, _find.default)(selectedIds).call(selectedIds, function (selectedId) {\n      return selectedId === pkId;\n    });\n    var newSelectedIds = [];\n    if (!selected) {\n      newSelectedIds = (0, _concat.default)(selectedIds).call(selectedIds, pkId);\n    } else {\n      newSelectedIds = (0, _filter.default)(selectedIds).call(selectedIds, function (selectedId) {\n        return selectedId !== pkId;\n      });\n    }\n    return newSelectedIds;\n  }, [selectedIds]);\n  var getCheckAction = (0, _react.useCallback)(function (pkId) {\n    if (selectStatus === _useFormDataListState.CHECK_CANCEL) {\n      // 当前是否未勾选，如未勾选，则该操作为勾选操作\n      var notSelected = (0, _find.default)(notInSelectedIds).call(notInSelectedIds, function (item) {\n        return item === pkId;\n      });\n      return notSelected ? _useFormDataList3.SELECT_ACTIONS.check : _useFormDataList3.SELECT_ACTIONS.uncheck;\n    } else {\n      var selected = (0, _find.default)(selectedIds).call(selectedIds, function (item) {\n        return item === pkId;\n      });\n      return selected ? _useFormDataList3.SELECT_ACTIONS.uncheck : _useFormDataList3.SELECT_ACTIONS.check;\n    }\n  }, [selectStatus, notInSelectedIds, selectedIds]);\n  var handleItemSelect = (0, _react.useCallback)(function (pkId) {\n    onSelectChange({\n      key: pkId,\n      action: getCheckAction(pkId)\n    });\n    var newSelectedIds = getSelectedIds(pkId);\n    setSelectedAll(newSelectedIds.length === totalCount);\n  }, [getSelectedIds, getCheckAction, onSelectChange, totalCount]);\n\n  // 列表视图的行选中（点击行+点击勾选 触发）\n  var handleSelectedRows = (0, _react.useCallback)(function (row) {\n    // row为数组时，为列头checkbox，全选/取消全选\n    if (Array.isArray(row)) {\n      if (row.length) {\n        onSelectChange({\n          action: _useFormDataList3.SELECT_ACTIONS.check_all\n        });\n      } else {\n        onSelectChange({\n          action: _useFormDataList3.SELECT_ACTIONS.uncheck_all\n        });\n      }\n    } else {\n      var pkId = (row === null || row === void 0 ? void 0 : row.id) || '';\n      if (pkId) {\n        onSelectChange({\n          key: pkId,\n          action: getCheckAction(pkId)\n        });\n      }\n    }\n  }, [getCheckAction, onSelectChange]);\n  var handleTableRowClick = (0, _react.useCallback)(function (pkId) {\n    !showSelect && handleItemClick(pkId);\n  }, [showSelect, handleItemClick]);\n  var eventProxyConfig = [{\n    actionKey: 'click',\n    // data-action\n    action: showSelect ? handleItemSelect : handleItemClick\n  }];\n  (0, _useEventProxy.default)(clickElementRef, eventProxyConfig, 'click', false);\n  var onLoadMore = (0, _react.useCallback)(function () {\n    if (!activeSchemaId || nextPageCount.current === 1) return;\n    activeSchemaId && onPaginationChange(nextPageCount.current);\n    pageCountRef.current = nextPageCount.current;\n    nextPageCount.current += 1;\n  }, [onPaginationChange, activeSchemaId, nextPageCount.current]);\n\n  /**\n   * 切换表单\n   */\n  var handleChangeForm = (0, _react.useCallback)(function (formId, formData) {\n    setSelectedFormId(formId);\n  }, []);\n  var onAction = (0, _react.useCallback)(function (info, index) {\n    var _context9, _context10, _context11, _context12;\n    var handleAction = function handleAction(action, index) {\n      if (action.key === 'ok') {\n        sendClickEvent('m_au_fo_del_comf');\n        var pkId = pkIdRef.current;\n        (0, _apps.deleteFormDataListItem)(appId, selectedFormId, pkId).then(function (res) {\n          _MobUI.WebMsg.showToast({\n            type: 0,\n            content: '删除成功'\n          });\n          var newTableDataSource = dataSource === null || dataSource === void 0 ? void 0 : (0, _filter.default)(dataSource).call(dataSource, function (item) {\n            return item.id !== pkId;\n          });\n          handleDeleteSelectedId(newTableDataSource, pkId, true);\n          onUpdateDataSource(newTableDataSource);\n        }).catch(function (err) {\n          _MobUI.WebMsg.showToast({\n            type: 2,\n            content: err.message\n          });\n        });\n      }\n      // 放在switch里会影响确认对话框弹出\n      sendClickEvent('m_au_fo_del');\n    };\n    switch (info === null || info === void 0 ? void 0 : info.key) {\n      case 'copy':\n        navigate((0, _concat.default)(_context9 = (0, _concat.default)(_context10 = \"/m/\".concat(appId, \"/detail/\")).call(_context10, selectedFormId, \"/\")).call(_context9, pkIdRef.current, \"/copy\"));\n        break;\n      case 'edit':\n        sendClickEvent('m_au_fo_edit');\n        navigate((0, _concat.default)(_context11 = (0, _concat.default)(_context12 = \"/m/\".concat(appId, \"/detail/\")).call(_context12, selectedFormId, \"/\")).call(_context11, pkIdRef.current, \"/edit\"));\n        break;\n      case 'remove':\n        _MobUI.WebMsg.showModalConfirm({\n          type: 3,\n          title: '确定删除该记录吗？',\n          onAction: handleAction,\n          actions: [{\n            key: 'cancel',\n            text: '取消'\n          }, {\n            key: 'ok',\n            text: '确定',\n            primary: true\n          }]\n        });\n        break;\n    }\n    setActionSheetVisible(false);\n  }, [selectedFormId, dataSource, appId, pkIdRef.current, onUpdateDataSource, handleDeleteSelectedId]);\n  var hanldeOperation = (0, _react.useCallback)(function (id) {\n    pkIdRef.current = id;\n    setActionSheetVisible(true);\n  }, [pkIdRef.current]);\n  var handleNew = (0, _react.useCallback)(function () {\n    var _context13;\n    sendClickEvent('m_au_lo_fill');\n    navigate((0, _concat.default)(_context13 = \"/m/\".concat(appId, \"/detail/\")).call(_context13, selectedFormId));\n  }, [appId, selectedFormId]);\n  var handleShowSelect = (0, _react.useCallback)(function () {\n    sendClickEvent('m_au_lo_cho');\n    if (dataSource.length <= 0) {\n      _MobUI.WebMsg.showToast({\n        type: 3,\n        content: '暂无数据'\n      });\n    } else {\n      setShowSelect(true);\n    }\n  }, [dataSource]);\n  var indeterminate = (0, _react.useMemo)(function () {\n    return selectedIds.length > 0;\n  }, [selectedIds]);\n  var handleSelectAll = (0, _react.useCallback)(function (e) {\n    var checked = e.target.checked;\n    onSelectChange({\n      action: checked ? _useFormDataList3.SELECT_ACTIONS.check_all : _useFormDataList3.SELECT_ACTIONS.uncheck_all\n    });\n    setSelectedAll(checked);\n  }, [onSelectChange]);\n  var delRefreshCallback = (0, _react.useCallback)(function (err) {\n    var data = err.data,\n      message = err.message;\n    var _ref5 = data || {},\n      successCount = _ref5.successCount,\n      failCount = _ref5.failCount;\n    _MobUI.WebMsg.showModalConfirm({\n      type: 2,\n      title: (0, _batchOperationsUtil.getErrTips)(successCount, failCount, '删除'),\n      content: message,\n      onAction: function onAction() {},\n      actions: [{\n        key: 'ok',\n        text: '我知道了',\n        primary: true\n      }]\n    });\n    nextPageCount.current = 2;\n  }, []);\n  var batchDelete = (0, _react.useCallback)(function () {\n    sendClickEvent('m_au_lo_be_del_comf');\n    onBatchDelete().then(function (res) {\n      var successCount = res.successCount;\n      _MobUI.WebMsg.showToast({\n        type: 0,\n        content: (0, _batchOperationsUtil.getErrTips)(successCount, 0, '删除')\n      });\n    }).catch(function (err) {\n      delRefreshCallback(err);\n    });\n  }, [onBatchDelete, delRefreshCallback]);\n  var handleBatchWork = (0, _react.useCallback)(function (key) {\n    if (selectedCount <= 0) {\n      _MobUI.WebMsg.showToast({\n        type: 3,\n        content: '请选择要操作的数据'\n      });\n      return;\n    }\n    var onAction = function onAction(action) {\n      switch (action.key) {\n        case 'delete':\n          batchDelete();\n      }\n    };\n    _MobUI.WebMsg.showModalConfirm({\n      type: 3,\n      title: \"\\u786E\\u5B9A\\u5220\\u9664\\u9009\\u4E2D\\u7684\".concat(selectedCount, \"\\u6761\\u8BB0\\u5F55\\u5417\\uFF1F\"),\n      actions: [{\n        key: 'cancle',\n        text: '取消'\n      }, {\n        key: 'delete',\n        text: '确定',\n        primary: true\n      }],\n      onAction: onAction\n    });\n  }, [batchDelete, selectedCount]);\n  var handleOk = (0, _react.useCallback)(function () {\n    (0, _reactDom.unstable_batchedUpdates)(function () {\n      setShowSelect(false);\n      setSelectedAll(false);\n    });\n    setSelectedInfo([], _useFormDataListState.CHECK, [], 0);\n  }, [setSelectedInfo]);\n  var getSelectRow = (0, _react.useCallback)(function (pkId) {\n    var _renderDataMemo$find;\n    return (_renderDataMemo$find = (0, _find.default)(renderDataMemo).call(renderDataMemo, function (data) {\n      return data.id === pkId;\n    })) === null || _renderDataMemo$find === void 0 ? void 0 : _renderDataMemo$find.fields;\n  }, [renderDataMemo]);\n  var actionSheetTip = (0, _react.useMemo)(function () {\n    var userName = getUserNameById(pkIdRef.current);\n    var fields = filterFields(getSelectRow(pkIdRef.current));\n    var _getGroupsFields3 = getGroupsFields(fields),\n      _getGroupsFields4 = (0, _slicedToArray2.default)(_getGroupsFields3, 1),\n      firstField = _getGroupsFields4[0];\n    return getCardTitle(firstField === null || firstField === void 0 ? void 0 : firstField.value, userName, firstField === null || firstField === void 0 ? void 0 : firstField.type);\n  }, [pkIdRef.current, getUserNameById, getSelectRow, getCardTitle, filterFields]);\n  var handleSearch = (0, _react.useCallback)(function (value) {\n    (0, _PageEventService.publishSearchUserEvent)({\n      appId: appId,\n      formId: targetFormId,\n      action: 'm_au_lo_srh'\n    });\n    onSearch === null || onSearch === void 0 || onSearch(value);\n  }, [onSearch, appId, targetFormId]);\n\n  // 刷新需要重新获取所有表格配置和数据\n  var onRefresh = (0, _react.useCallback)(function () {\n    return (0, _apps.getViewData)(selectedFormId).then(function (res) {\n      onViewChange(res.rows || [], selectedFormId, viewAuth);\n    });\n  }, [selectedFormId, viewAuth]);\n  var handleRefresh = (0, _react.useCallback)( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {\n    return _regenerator.default.wrap(function _callee3$(_context14) {\n      while (1) switch (_context14.prev = _context14.next) {\n        case 0:\n          pageCountRef.current = 1;\n          nextPageCount.current = 2;\n          _context14.next = 4;\n          return onRefresh === null || onRefresh === void 0 ? void 0 : onRefresh();\n        case 4:\n        case \"end\":\n          return _context14.stop();\n      }\n    }, _callee3);\n  })), [onRefresh]);\n  var handleSelectListDelete = (0, _react.useCallback)(function (key) {\n    onSelectChange({\n      key: key,\n      action: _useFormDataList3.SELECT_ACTIONS.uncheck\n    });\n  }, [selectedIds]);\n  var handleListItemSettingConfirm = (0, _react.useCallback)(function (keys, listData) {\n    sendClickEvent('m_au_lo_cs_comf');\n    onListSettingConfirm === null || onListSettingConfirm === void 0 || onListSettingConfirm(keys, undefined, listData);\n  }, [listItemConfig, appId, selectedFormId, onListSettingConfirm, setFormDataListState]);\n  var handleShowListItemSetting = function handleShowListItemSetting() {\n    onSetShowListSettingPop(true);\n  };\n  var handleShowFilterSetting = (0, _react.useCallback)(function () {\n    onSetShowFilterSettingPop(true);\n  }, []);\n  var handleFilterSumbit = (0, _react.useCallback)(function (filterlist) {\n    sendClickEvent('m_au_lo_fil_comf');\n    onFilterConfirm === null || onFilterConfirm === void 0 || onFilterConfirm(filterlist);\n  }, [onFilterConfirm]);\n  var handleListVisibleChange = function handleListVisibleChange(v) {\n    onSetShowListSettingPop(v);\n  };\n  var handleToggleTableView = function handleToggleTableView() {\n    var nowTableView = !tableView;\n    sendClickEvent(nowTableView ? 'm_au_lo_lv' : 'm_au_lo_cv');\n    setTableView(nowTableView);\n    nextPageCount.current = 2;\n  };\n  var handleToggleHorizontal = (0, _react.useCallback)(function () {\n    setHorizontal(!horizontal);\n  }, [horizontal]);\n  var handleViewChange = function handleViewChange(newId) {\n    sendClickEvent('m_au_lo_cview_open');\n    setViewSelectPopVisible(false);\n    var newViewInfo = (0, _immer.default)(viewInfo, function (draft) {\n      draft.forEach(function (item) {\n        item.active = item.id === newId;\n      });\n    });\n    onViewChange(newViewInfo || [], selectedFormId, viewAuth);\n  };\n\n  // 旧视图-popup切换\n  // const handleShowViewSelect = () => {\n  //   setViewSelectPopVisible(true)\n  // }\n\n  var handleClickStat = (0, _react.useCallback)(function () {\n    sendClickEvent('m_au_lo_analy');\n    setStatisticVisible(true);\n  }, []);\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, !horizontal && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.length) > 1 && /*#__PURE__*/_react.default.createElement(_kdesignm.Tabs, {\n    activeKey: activeSchemaId,\n    onChange: handleViewChange\n  }, viewInfo === null || viewInfo === void 0 ? void 0 : (0, _map.default)(viewInfo).call(viewInfo, function (item) {\n    return /*#__PURE__*/_react.default.createElement(_kdesignm.Tabs.Tab, {\n      title: item.name,\n      key: item.id\n    });\n  })), /*#__PURE__*/_react.default.createElement(_HeaderLayout.default, {\n    searchKeywords: searchKeywords,\n    handleSearch: handleSearch,\n    handleChangeForm: handleChangeForm,\n    handleShowListItemSetting: handleShowListItemSetting,\n    handleShowFilterSetting: handleShowFilterSetting,\n    showSideNav: !showSelect,\n    showSearch: true,\n    showViewSelect: false,\n    showGridView: !showSelect,\n    showSort: !showSelect,\n    showFilter: !showSelect,\n    showColumnsSetting: !showSelect,\n    tableView: tableView,\n    filterActive: configuredFilterItems.length > 0,\n    handleToggleTableView: handleToggleTableView\n    // handleShowViewSelect={handleShowViewSelect}\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_MobileAppHomePage.default.apphomepage_container, (0, _defineProperty2.default)({}, _MobileAppHomePage.default.table_view_container, tableView)),\n    ref: clickElementRef\n  }, /*#__PURE__*/_react.default.createElement(_HomeContainer.default, {\n    mainClassName: _MobileAppHomePage.default.apphomepage_container_main\n  }, /*#__PURE__*/_react.default.createElement(_MobUI.PullToRefresh\n  // style={{ height: 'auto' }}\n  , {\n    onRefresh: handleRefresh,\n    horizontal: horizontal\n  }, lastPage && dataSource.length === 0 ? /*#__PURE__*/_react.default.createElement(_MobUI.EmptyData, {\n    src: _empty.default,\n    desc: \"\\u6682\\u65E0\\u6570\\u636E\",\n    imageWidth: 224,\n    imageHeight: 128,\n    textGap: 16\n  }) : !tableView ? /*#__PURE__*/_react.default.createElement(_MobUI.InfiniteLoading, {\n    hasMore: !lastPage,\n    onLoadMore: onLoadMore\n  }, (0, _map.default)(renderDataMemo).call(renderDataMemo, function (item) {\n    var selected = !!(0, _find.default)(selectedIds).call(selectedIds, function (selectedId) {\n      return selectedId === item.id;\n    });\n    var fields = filterFields(item.fields);\n    var userName = getUserNameById(item.id);\n    var _getGroupsFields5 = getGroupsFields(fields),\n      _getGroupsFields6 = (0, _slicedToArray2.default)(_getGroupsFields5, 2),\n      firstField = _getGroupsFields6[0],\n      otherFields = _getGroupsFields6[1];\n    return /*#__PURE__*/_react.default.createElement(\"div\", {\n      key: item.id,\n      \"data-key\": item.id,\n      \"data-action-key\": \"click\",\n      \"data-nc-action\": \"m_au_fo_detail\"\n    }, /*#__PURE__*/_react.default.createElement(_Card.Card, {\n      fields: showFirstFieldAsTitle ? otherFields : fields // 去除第一个字段\n      ,\n      id: item.id,\n      title: getCardTitle(firstField === null || firstField === void 0 ? void 0 : firstField.value, userName, firstField === null || firstField === void 0 ? void 0 : firstField.type),\n      onClickOperate: hanldeOperation,\n      stopClickOperateEventPropagation: true,\n      showSelect: showSelect,\n      selected: selected,\n      key: item.id\n    }));\n  })) : /*#__PURE__*/_react.default.createElement(_DataGrid.default, {\n    dataSource: dataSource,\n    columns: columnsMemo,\n    rowClick: function rowClick(record, rowIndex) {\n      return handleTableRowClick(record.id);\n    },\n    horizontal: horizontal,\n    onToggleHorizontal: handleToggleHorizontal,\n    rowSelection: showSelect ? {\n      value: selectedIds,\n      onChange: handleSelectedRows // checkbox和行点击都会触发（执行两次）\n    } : null,\n    hasMore: !lastPage,\n    onLoadMore: onLoadMore,\n    getTransformOriginRef: function getTransformOriginRef() {\n      return clickElementRef.current;\n    }\n  })))), (menuData === null || menuData === void 0 ? void 0 : menuData.length) <= 0 || horizontal ? null : showSelect ? /*#__PURE__*/_react.default.createElement(_FooterLayout.BatchWorkFooterLayout, {\n    onOk: handleOk,\n    actions: deleteAuth ? [{\n      value: 'delete',\n      label: '删除'\n    }] : [],\n    indeterminate: indeterminate,\n    checked: selectedAll,\n    onSelect: handleSelectAll,\n    onBatchWork: handleBatchWork,\n    count: selectedCount,\n    dataList: selectDataListMemo,\n    onDelete: handleSelectListDelete,\n    hasMore: !lastPage,\n    onLoadMore: onLoadMore\n  }) : /*#__PURE__*/_react.default.createElement(_FooterLayout.default, {\n    onClickNew: handleNew,\n    onClickStatistic: handleClickStat,\n    onClickSelect: handleShowSelect,\n    showStatistic: statisticAuth,\n    showNew: inputAuth,\n    showSelect: deleteAuth\n  }), cardActions.length > 0 && /*#__PURE__*/_react.default.createElement(_MobUI.ActionSheet, {\n    actions: cardActions,\n    visible: actionSheetVisible,\n    onAction: onAction,\n    tip: actionSheetTip,\n    onClose: function onClose() {\n      return setActionSheetVisible(false);\n    }\n  }), showListSettingPop && /*#__PURE__*/_react.default.createElement(_ListItemSettingPopup.default, {\n    visible: showListSettingPop,\n    title: \"\\u5217\\u8BBE\\u7F6E\",\n    onConfirm: handleListItemSettingConfirm,\n    data: (0, _listSettingUtil.getListItemSettingData)(filterOperateColMemo),\n    checkedKeys: visibleColumnKeys,\n    onVisibleChange: handleListVisibleChange\n  }), /*#__PURE__*/_react.default.createElement(_ListFilterSettingPopup.default, {\n    title: \"\\u7B5B\\u9009\",\n    visible: showFilterSettingPop,\n    setVisible: onSetShowFilterSettingPop,\n    listFilterConfig: listFilterConfig || [],\n    configFilterItems: configuredFilterItems || [],\n    handleSubmit: handleFilterSumbit,\n    enumValueList: enumFilterValue,\n    addFilterValueList: addFilterValueList\n  }), /*#__PURE__*/_react.default.createElement(_SelectPopup.SelectPopup, {\n    visible: viewSelectPopVisible,\n    setVisible: setViewSelectPopVisible,\n    title: \"\\u8BF7\\u9009\\u62E9\\u89C6\\u56FE\",\n    fixHeight: true,\n    value: activeSchemaId,\n    data: viewSelectPopInfo,\n    handleSelect: handleViewChange,\n    renderSearch: true\n  }), /*#__PURE__*/_react.default.createElement(_StatisticPopUp.default, {\n    visible: statisticVisible,\n    setVisible: setStatisticVisible,\n    title: \"\\u7EDF\\u8BA1\"\n  }));\n});\nMobileAppFormPage.displayName = 'MobileAppFormPage';\nvar _default = exports[\"default\"] = MobileAppFormPage;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/pages/apps/home/MobileAppFormPage.tsx\n");

/***/ }),

/***/ "./src/mobile/pages/apps/home/MobileAppHomePage.tsx":
/*!**********************************************************!*\
  !*** ./src/mobile/pages/apps/home/MobileAppHomePage.tsx ***!
  \**********************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _concat = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js\"));\nvar _promise = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js\"));\nvar _values2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/values */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/values.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 _reactRouterDom = __webpack_require__(/*! react-router-dom */ \"../../node_modules/react-router-dom/index.js\");\nvar _FormDataListAuthProvider = __webpack_require__(/*! @/web/component/common/FormDataListAuthProvider */ \"./src/web/component/common/FormDataListAuthProvider.tsx\");\nvar _HeaderSideNavButton = _interopRequireDefault(__webpack_require__(/*! @/mobile/layout/apps/home/HeaderSideNavButton */ \"./src/mobile/layout/apps/home/HeaderSideNavButton.tsx\"));\nvar _MobileAppFormPage = _interopRequireDefault(__webpack_require__(/*! ./MobileAppFormPage */ \"./src/mobile/pages/apps/home/MobileAppFormPage.tsx\"));\nvar _MobileAppCustomPage = _interopRequireDefault(__webpack_require__(/*! ./MobileAppCustomPage */ \"./src/mobile/pages/apps/home/MobileAppCustomPage.tsx\"));\nvar _menuTreeUtil = __webpack_require__(/*! @/utils/menuTreeUtil */ \"./src/utils/menuTreeUtil.js\");\nvar _SideNavLayout = __webpack_require__(/*! @/mobile/layout/apps/home/SideNavLayout */ \"./src/mobile/layout/apps/home/SideNavLayout.tsx\");\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nvar _useNocodeNavigate = _interopRequireDefault(__webpack_require__(/*! @/route/useNocodeNavigate */ \"./src/route/useNocodeNavigate.ts\"));\nvar _home = __webpack_require__(/*! @/actions/home */ \"./src/actions/home.js\");\nvar _apps = __webpack_require__(/*! @/actions/apps */ \"./src/actions/apps.ts\");\nvar _kdesignm = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\nvar _MobileAppHomePage = _interopRequireDefault(__webpack_require__(/*! ./MobileAppHomePage.less */ \"./src/mobile/pages/apps/home/MobileAppHomePage.less\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof _WeakMap) return null; var r = new _WeakMap(), t = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != _typeof(e) && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? _Object$getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? _Object$defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2022-12-19 16:28:17\n * @LastEditTime: 2024-03-06 15:41:18\n * @Last Modified by: xiaoman_xie\n */\n\n/**\n *\n * @returns 应用主页（表单列表页面）\n */\nvar MobileAppHomePage = (0, _react.memo)(function () {\n  var _useParams = (0, _reactRouterDom.useParams)(),\n    targetFormId = _useParams.targetFormId,\n    appId = _useParams.appId; // 应用ID\n  var navigate = (0, _useNocodeNavigate.default)();\n  var preAppIdRef = (0, _react.useRef)(appId);\n  var _useState = (0, _react.useState)({\n      formId: targetFormId || ''\n    }),\n    _useState2 = (0, _slicedToArray2.default)(_useState, 2),\n    selectedFormData = _useState2[0],\n    setSelectedFormData = _useState2[1]; // 选中的表单id，默认是当前打开的\n\n  var _useState3 = (0, _react.useState)(null),\n    _useState4 = (0, _slicedToArray2.default)(_useState3, 2),\n    formMenu = _useState4[0],\n    setFormMenu = _useState4[1];\n  var _useState5 = (0, _react.useState)({}),\n    _useState6 = (0, _slicedToArray2.default)(_useState5, 2),\n    svgData = _useState6[0],\n    setSvgData = _useState6[1]; // 图标信息\n\n  var authContext = (0, _react.useContext)(_FormDataListAuthProvider.AuthorizeContext) || {};\n  var authList = authContext.authList,\n    pending = authContext.pending,\n    authFormId = authContext.formId; // pending等待权限查询完成才请求数据\n\n  var hasGetCurFormAuth = !pending && authFormId === targetFormId;\n\n  /**\n   * 跳转到表单\n   * @param formId 表单id\n   */\n  var jumpForm = function jumpForm(formId, navigateOptions) {\n    var _context;\n    navigate((0, _concat.default)(_context = \"/m/\".concat(appId, \"/home/\")).call(_context, formId), navigateOptions);\n  };\n\n  /**\n     * 跳转到默认的表单\n     * @param formMenuData 菜单数据\n     */\n  var jumpDefaultForm = function jumpDefaultForm(formMenuData) {\n    if (targetFormId) {\n      var selectForm = (0, _menuTreeUtil.getNodeByFormId)(formMenuData, targetFormId);\n      if (selectForm) {\n        setSelectedFormData(selectForm);\n        return;\n      }\n    }\n    var treeFirstFormNode = (0, _menuTreeUtil.getTreeFirstFormNode)(formMenuData);\n    var firstFormId = treeFirstFormNode.formId;\n    if (firstFormId) {\n      setSelectedFormData(treeFirstFormNode);\n      jumpForm(firstFormId, {\n        replace: true\n      });\n    }\n  };\n  (0, _react.useEffect)(function () {\n    if (preAppIdRef.current === appId && formMenu) {\n      jumpDefaultForm(formMenu);\n    }\n  }, [targetFormId, formMenu]);\n  (0, _react.useEffect)(function () {\n    preAppIdRef.current = appId;\n    _promise.default.all([(0, _home.getLineIconAndColor)(), (0, _apps.getFormList)(appId)]).then(function (values) {\n      var _values = (0, _slicedToArray2.default)(values, 2),\n        iconData = _values[0],\n        res = _values[1];\n      setSvgData(iconData.row);\n      var formMenuData = res.rows;\n      if (!formMenuData || formMenuData.length === 0) {\n        setFormMenu([]);\n        return;\n      }\n\n      // 跳转到默认的表单\n      jumpDefaultForm(formMenuData);\n      setFormMenu(formMenuData);\n    }).catch(function (error) {\n      console.log('请求失败', error);\n    });\n  }, [appId]);\n\n  /**\n   * 切换表单\n   */\n  var handleChangeForm = (0, _react.useCallback)(function (formId, formData) {\n    setSelectedFormData(formData);\n  }, []);\n\n  // 所有功能权限项都返回false，则跳转无权限\n  if (targetFormId && hasGetCurFormAuth && (0, _values2.default)(authList).every(function (auth) {\n    return auth === false;\n  })) {\n    return /*#__PURE__*/_react.default.createElement(_reactRouterDom.Navigate, {\n      to: \"/noPermission\",\n      replace: true\n    });\n  }\n  (0, _utils.setDocumentTitle)(selectedFormData === null || selectedFormData === void 0 ? void 0 : selectedFormData.name, false);\n\n  //  selectedFormData.formId === targetFormId 避免从卡片看板跳表单列表，返回的时候会使用卡片看板formID请求表单列表报错。因此先判断一下\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _MobileAppHomePage.default.apphomepage\n  }, !formMenu || !targetFormId ? /*#__PURE__*/_react.default.createElement(_kdesignm.Spin, {\n    className: _MobileAppHomePage.default.apphomepage_loading\n  }) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, selectedFormData.formId === targetFormId && ((formMenu === null || formMenu === void 0 ? void 0 : formMenu.length) === 0 ? /*#__PURE__*/_react.default.createElement(_SideNavLayout.NoData, null) : (selectedFormData === null || selectedFormData === void 0 ? void 0 : selectedFormData.type) && ((0, _utils.isCustomPage)(selectedFormData === null || selectedFormData === void 0 ? void 0 : selectedFormData.type) ? /*#__PURE__*/_react.default.createElement(_MobileAppCustomPage.default, {\n    pageId: selectedFormData === null || selectedFormData === void 0 ? void 0 : selectedFormData.formId\n  }) : /*#__PURE__*/_react.default.createElement(_MobileAppFormPage.default, {\n    menuData: formMenu || [],\n    formId: selectedFormData === null || selectedFormData === void 0 ? void 0 : selectedFormData.formId\n  }))), /*#__PURE__*/_react.default.createElement(_HeaderSideNavButton.default, {\n    formMenu: formMenu,\n    svgData: svgData,\n    handleChangeForm: handleChangeForm,\n    className: _MobileAppHomePage.default.menu_icon\n  })));\n});\nMobileAppHomePage.displayName = 'MobileAppHomePage';\nvar _default = exports[\"default\"] = MobileAppHomePage;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/pages/apps/home/MobileAppHomePage.tsx\n");

/***/ }),

/***/ "./src/utils/menuTableMobUtil.js":
/*!***************************************!*\
  !*** ./src/utils/menuTableMobUtil.js ***!
  \***************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

eval("\n\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 _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.renderMobCell = exports.getDefalutColW = exports.columnsDataTranform = exports.addSerialColumn = exports.addOperateColumn = void 0;\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ \"../../node_modules/@babel/runtime-corejs3/helpers/defineProperty.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 _splice = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js\"));\nvar _react = _interopRequireDefault(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _MobUI = __webpack_require__(/*! nocode_component/MobUI */ \"webpack/container/remote/nocode_component/MobUI\");\nvar _cellRender = __webpack_require__(/*! @/web/component/common/table/cellRender */ \"./src/web/component/common/table/cellRender/index.tsx\");\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 renderMobCell = exports.renderMobCell = function renderMobCell(type, value, record, rowIndex, fieldName, title) {\n  var props = {\n    type: type,\n    value: value,\n    readOnly: true,\n    id: record === null || record === void 0 ? void 0 : record.id,\n    title: title,\n    fieldName: fieldName\n  };\n  return /*#__PURE__*/_react.default.createElement(_MobUI.TableViewCellRender, props);\n};\nvar getDefalutColW = exports.getDefalutColW = function getDefalutColW() {\n  return 112;\n};\n\n/**\n * 从请求获取的数据转换成kd-table的列数据结构\n * @param {*} columns\n * @param {*} primaryKey\n * @param {*} width\n * @returns\n */\nvar columnsDataTranform = exports.columnsDataTranform = function columnsDataTranform(listItemConfig) {\n  var colOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n  var _colOptions$primaryKe = colOptions.primaryKey,\n    primaryKey = _colOptions$primaryKe === void 0 ? 'number' : _colOptions$primaryKe,\n    isMob = colOptions.isMob,\n    needSerial = colOptions.needSerial,\n    horizontal = colOptions.horizontal,\n    _colOptions$operateCo = colOptions.operateCol,\n    operateCol = _colOptions$operateCo === void 0 ? {} : _colOptions$operateCo;\n  var needOperateCol = operateCol.needOperateCol;\n  var columns = (0, _map.default)(listItemConfig).call(listItemConfig, function (item) {\n    var type = item.type,\n      number = item.number,\n      name = item.name,\n      locked = item.locked,\n      columnWidth = item.width;\n    var align = (item === null || item === void 0 ? void 0 : item.type) === 'nocodedecimalfield' ? 'right' : 'left';\n    var Title = _MobUI.TableViewTitle;\n    var lock = false;\n    return _objectSpread(_objectSpread({}, item), {}, {\n      code: item[primaryKey],\n      width: horizontal ? 200 : columnWidth !== null && columnWidth !== void 0 ? columnWidth : getDefalutColW(),\n      lock: lock,\n      align: align,\n      title: /*#__PURE__*/_react.default.createElement(Title, {\n        title: name,\n        key: item[primaryKey],\n        type: type,\n        number: number,\n        align: align\n      }),\n      render: function render(value, record, rowIndex) {\n        return renderMobCell(type, value, record, rowIndex, number, name);\n      }\n    });\n  });\n  if (needSerial) columns = addSerialColumn(columns);\n  if (needOperateCol) columns = addOperateColumn(columns, operateCol);\n  return columns;\n};\nvar addSerialColumn = exports.addSerialColumn = function addSerialColumn(columns) {\n  var Title = _MobUI.TableViewTitle;\n  var width = 44;\n  if (columns.length > 0) {\n    var _columns;\n    if (!((_columns = columns[columns.length - 1]) !== null && _columns !== void 0 && _columns.serial)) {\n      columns.unshift({\n        code: 'serial',\n        name: '序号',\n        width: width,\n        align: 'center',\n        lock: true,\n        title: /*#__PURE__*/_react.default.createElement(Title, {\n          title: \"\\u5E8F\\u53F7\",\n          type: \"serial\"\n        }),\n        serial: true,\n        type: 'serial',\n        render: function render(value, record, rowIndex) {\n          if (record.isAgg) return;\n          return /*#__PURE__*/_react.default.createElement(_cellRender.CellRender, {\n            value: \"\".concat(rowIndex + 1),\n            readOnly: true,\n            type: \"serial\"\n          });\n        }\n      });\n    } else {\n      columns.shift(columns.length - 1, 1, {\n        code: 'serial',\n        name: '序号',\n        width: 44,\n        align: 'center',\n        lock: true,\n        title: /*#__PURE__*/_react.default.createElement(Title, {\n          title: \"\\u5E8F\\u53F7\",\n          type: \"serial\"\n        }),\n        serial: true,\n        type: 'serial',\n        render: function render(value, record, rowIndex) {\n          if (record.isAgg) return;\n          return /*#__PURE__*/_react.default.createElement(_cellRender.CellRender, {\n            value: \"\".concat(rowIndex + 1),\n            readOnly: true,\n            type: \"serial\"\n          });\n        }\n      });\n    }\n  }\n  return columns;\n};\nvar addOperateColumn = exports.addOperateColumn = function addOperateColumn(columns, operateCol) {\n  var disabled = operateCol.disabled,\n    width = operateCol.width;\n  var Title = _MobUI.TableViewTitle;\n  if (columns.length > 0) {\n    var _columns2;\n    if (!((_columns2 = columns[columns.length - 1]) !== null && _columns2 !== void 0 && _columns2.operate)) {\n      columns.push({\n        code: 'operate',\n        name: '操作',\n        width: width || 200,\n        align: 'left',\n        lock: true,\n        title: /*#__PURE__*/_react.default.createElement(Title, {\n          title: \"\\u64CD\\u4F5C\",\n          type: \"operate\"\n        }),\n        operate: true,\n        type: 'operate',\n        render: function render(value, record, rowIndex) {\n          if (record.isAgg) return;\n          return /*#__PURE__*/_react.default.createElement(_cellRender.CellRender, {\n            record: record,\n            readOnly: true,\n            disabled: disabled,\n            type: \"operation\"\n          });\n        }\n      });\n    } else {\n      (0, _splice.default)(columns).call(columns, columns.length - 1, 1, {\n        code: 'operate',\n        name: '操作',\n        width: 200,\n        align: 'left',\n        lock: true,\n        title: /*#__PURE__*/_react.default.createElement(Title, {\n          title: \"\\u64CD\\u4F5C\",\n          type: \"operate\"\n        }),\n        operate: true,\n        type: 'operate',\n        render: function render(value, record, rowIndex) {\n          if (record.isAgg) return;\n          return /*#__PURE__*/_react.default.createElement(_cellRender.CellRender, {\n            record: record,\n            readOnly: true,\n            disabled: disabled,\n            type: \"operation\"\n          });\n        }\n      });\n    }\n  }\n  return columns;\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/utils/menuTableMobUtil.js\n");

/***/ }),

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

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

/***/ })

}]);