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

/***/ "./src/mobile/component/common/FlowItem.less":
/*!***************************************************!*\
  !*** ./src/mobile/component/common/FlowItem.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\"] = ({\"success\":\"_9XUh7nPh_success\",\"dot\":\"jKJFoPe6_dot\",\"title\":\"NRcsuMJh_title\",\"state\":\"NKFmk0JX_state\",\"info\":\"GGIhTJYm_info\",\"flag\":\"E6aBzt3v_flag\",\"error\":\"iyFH6FMi_error\",\"warning\":\"XUizVfz5_warning\",\"going\":\"pynC4FIZ_going\",\"reject\":\"rVwSA6gf_reject\",\"item\":\"AOlOJisH_item\",\"usr\":\"+5G4IBAL_usr\",\"editor\":\"sXJFkmaL_editor\",\"icon\":\"bNyqF9pn_icon\",\"Auditor\":\"CWsTQG3Z_Auditor\",\"handler\":\"OV6hQAAD_handler\",\"des\":\"+xnDFcZn_des\",\"node\":\"OZnUlsId_node\",\"launch\":\"ybdbi0Um_launch\",\"finish\":\"BlWVwbIL_finish\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vRmxvd0l0ZW0ubGVzcyIsIm1hcHBpbmdzIjoiO0FBQUE7QUFDQSIsInNvdXJjZXMiOlsid2VicGFjazovL25vY29kZS1wbGF0Zm9ybS8uL3NyYy9tb2JpbGUvY29tcG9uZW50L2NvbW1vbi9GbG93SXRlbS5sZXNzPzU1ZDUiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQgZGVmYXVsdCB7XCJzdWNjZXNzXCI6XCJfOVhVaDduUGhfc3VjY2Vzc1wiLFwiZG90XCI6XCJqS0pGb1BlNl9kb3RcIixcInRpdGxlXCI6XCJOUmNzdU1KaF90aXRsZVwiLFwic3RhdGVcIjpcIk5LRm1rMEpYX3N0YXRlXCIsXCJpbmZvXCI6XCJHR0loVEpZbV9pbmZvXCIsXCJmbGFnXCI6XCJFNmFCenQzdl9mbGFnXCIsXCJlcnJvclwiOlwiaXlGSDZGTWlfZXJyb3JcIixcIndhcm5pbmdcIjpcIlhVaXpWZno1X3dhcm5pbmdcIixcImdvaW5nXCI6XCJweW5DNEZJWl9nb2luZ1wiLFwicmVqZWN0XCI6XCJyVndTQTZnZl9yZWplY3RcIixcIml0ZW1cIjpcIkFPbE9KaXNIX2l0ZW1cIixcInVzclwiOlwiKzVHNElCQUxfdXNyXCIsXCJlZGl0b3JcIjpcInNYSkZrbWFMX2VkaXRvclwiLFwiaWNvblwiOlwiYk55cUY5cG5faWNvblwiLFwiQXVkaXRvclwiOlwiQ1dzVFFHM1pfQXVkaXRvclwiLFwiaGFuZGxlclwiOlwiT1Y2aFFBQURfaGFuZGxlclwiLFwiZGVzXCI6XCIreG5ERmNabl9kZXNcIixcIm5vZGVcIjpcIk9ablVsc0lkX25vZGVcIixcImxhdW5jaFwiOlwieWJkYmkwVW1fbGF1bmNoXCIsXCJmaW5pc2hcIjpcIkJsV1Z3YklMX2ZpbmlzaFwifTsiXSwibmFtZXMiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/mobile/component/common/FlowItem.less\n");

/***/ }),

/***/ "./src/mobile/layout/apps/detail/MobileFlowList.less":
/*!***********************************************************!*\
  !*** ./src/mobile/layout/apps/detail/MobileFlowList.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\"] = ({\"apply\":\"aWVKeVfC_apply\",\"list\":\"_2PNIUhVY_list\",\"node\":\"_5AM5dhQY_node\"});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2xheW91dC9hcHBzL2RldGFpbC9Nb2JpbGVGbG93TGlzdC5sZXNzIiwibWFwcGluZ3MiOiI7QUFBQTtBQUNBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vbm9jb2RlLXBsYXRmb3JtLy4vc3JjL21vYmlsZS9sYXlvdXQvYXBwcy9kZXRhaWwvTW9iaWxlRmxvd0xpc3QubGVzcz8zZmJiIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxuZXhwb3J0IGRlZmF1bHQge1wiYXBwbHlcIjpcImFXVktlVmZDX2FwcGx5XCIsXCJsaXN0XCI6XCJfMlBOSVVoVllfbGlzdFwiLFwibm9kZVwiOlwiXzVBTTVkaFFZX25vZGVcIn07Il0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/mobile/layout/apps/detail/MobileFlowList.less\n");

/***/ }),

/***/ "./src/mobile/component/common/FlowItem.tsx":
/*!**************************************************!*\
  !*** ./src/mobile/component/common/FlowItem.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.UserInputItem = exports.LaunchItem = exports.FlowItem = exports.FinishItem = exports.AuditItem = 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 _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _kdesign = __webpack_require__(/*! kd_libs/kdesign1 */ \"webpack/container/remote/kd_libs/kdesign1\");\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"../../node_modules/classnames/index.js\"));\nvar _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nvar _MobUI = __webpack_require__(/*! nocode_component/MobUI */ \"webpack/container/remote/nocode_component/MobUI\");\nvar _FlowItem = _interopRequireDefault(__webpack_require__(/*! ./FlowItem.less */ \"./src/mobile/component/common/FlowItem.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// 节点状态标签颜色\nvar CLASS_LIST = {\n  willApproval: _FlowItem.default.warning,\n  // 待审批\n  willHandled: _FlowItem.default.warning,\n  // (\"待录入\")\n  approve: _FlowItem.default.success,\n  // 同意\n  handled: _FlowItem.default.success,\n  // (\"已录入\")\n  done: _FlowItem.default.success,\n  // (\"已完成\")\n  launch: _FlowItem.default.success,\n  // (\"发起审批\")\n  pass: _FlowItem.default.success,\n  // (\"已通过\")\n  terminate: _FlowItem.default.reject,\n  // 否决\n  withdraw: _FlowItem.default.reject,\n  // (\"已撤回\")\n  reject: _FlowItem.default.error,\n  // 驳回\n  // dismissed: styles.error, // (\"驳回\")\n  exception_terminate: _FlowItem.default.error // (\"异常终止\")\n  // exception: styles.error // (\"异常终止\")\n};\n// 流程图标 ['reduce', 'right-bold', 'close-bold']\nvar FLOW_ICON = {\n  // exception: 'close-bold',\n  // dismissed: 'close-bold',\n  withdraw: 'yichexiao',\n  // (\"已撤回\")\n  exception_terminate: 'cuowushibai',\n  // (\"异常终止\")\n  terminate: 'foujue2',\n  // 否决\n  approve: 'tongyi',\n  handled: 'tongyi',\n  launch: 'tongyi',\n  pass: 'tongyi',\n  done: 'tongyi'\n};\n\n// 结束节点\nvar FinishItem = exports.FinishItem = (0, _react.memo)(function (_ref) {\n  var item = _ref.item;\n  var css = (0, _classnames.default)(_FlowItem.default.item, _FlowItem.default.finish, CLASS_LIST[item.handleState] || CLASS_LIST.handled);\n  var icon = FLOW_ICON[item.handleState] || 'right-bold';\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: css\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_FlowItem.default.dot, 'kdm-nc-flow-dot')\n  }, /*#__PURE__*/_react.default.createElement(\"p\", null, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: icon\n  }))), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.info\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.title,\n    style: {\n      marginBottom: 0\n    }\n  }, /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(\"p\", null, item.nodeName)), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.state\n  }, item.handleStateDesc), /*#__PURE__*/_react.default.createElement(\"div\", null, item.message))));\n});\n\n// 流程发起节点\nvar LaunchItem = exports.LaunchItem = (0, _react.memo)(function (_ref2) {\n  var _item$approverInfos;\n  var item = _ref2.item;\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_FlowItem.default.item, _FlowItem.default.launch)\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_FlowItem.default.dot, 'kdm-nc-flow-dot')\n  }, /*#__PURE__*/_react.default.createElement(\"p\", null)), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.info\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.editor\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.icon,\n    style: {\n      background: item.bg\n    }\n  }, /*#__PURE__*/_react.default.createElement(_MobUI.Avatar, {\n    src: item.approverInfos[0].handlerAvatar\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.handler\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.usr\n  }, /*#__PURE__*/_react.default.createElement(\"p\", null, (item === null || item === void 0 || (_item$approverInfos = item.approverInfos) === null || _item$approverInfos === void 0 || (_item$approverInfos = _item$approverInfos[0]) === null || _item$approverInfos === void 0 ? void 0 : _item$approverInfos.handlerName) || ''), /*#__PURE__*/_react.default.createElement(\"span\", null, item.handleTime ? (0, _utils.dateFormat)('MM-dd hh:mm', item.handleTime) : '')), /*#__PURE__*/_react.default.createElement(\"div\", null, (item === null || item === void 0 ? void 0 : item.handleStateDesc) || '')))));\n});\n\n// 审批节点\nvar AuditItem = exports.AuditItem = (0, _react.memo)(function (_ref3) {\n  var _approverInfos$, _approverInfos$2;\n  var item = _ref3.item,\n    className = _ref3.className,\n    config = _ref3.config,\n    curNode = _ref3.curNode;\n  var taskId = item.taskId,\n    handleTime = item.handleTime,\n    handleState = item.handleState,\n    nodeName = item.nodeName,\n    handleStateDesc = item.handleStateDesc,\n    approverInfos = item.approverInfos,\n    message = item.message;\n  var css = (0, _classnames.default)(_FlowItem.default.item, className, CLASS_LIST[handleState] || CLASS_LIST.willHandled);\n  var icon = FLOW_ICON[handleState];\n  // 是否显示审核按钮，节点taskId和焦点taskId一至且为等审批状态\n  var showAudit = (0, _react.useMemo)(function () {\n    return (item === null || item === void 0 ? void 0 : item.canHandle) && taskId !== curNode.taskId && handleState === 'willApproval';\n  }, [item, handleState, curNode, taskId]);\n  // 点击审核\n  var handleClick = (0, _react.useCallback)(function () {\n    var _context, _context2, _context3, _context4;\n    var appId = config.appId,\n      targetFormId = config.targetFormId,\n      pkId = config.pkId;\n    (0, _utils.openner)((0, _concat.default)(_context = (0, _concat.default)(_context2 = (0, _concat.default)(_context3 = (0, _concat.default)(_context4 = \"/m/\".concat(appId, \"/detail/\")).call(_context4, targetFormId, \"/\")).call(_context3, pkId, \"/view/flow/\")).call(_context2, item.procInstId, \"/task/\")).call(_context, item.taskId));\n  }, [item, config]);\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: css\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_FlowItem.default.dot, 'kdm-nc-flow-dot')\n  }, /*#__PURE__*/_react.default.createElement(\"p\", null)), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.info\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.title\n  }, /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(\"p\", null, nodeName), showAudit && /*#__PURE__*/_react.default.createElement(_MobUI.BtnField, {\n    type: \"text\",\n    major: true,\n    onClick: handleClick,\n    style: {\n      flex: 'none'\n    },\n    icon: {\n      prefix: 'nocodeplatformicon',\n      type: 'daishenpi'\n    }\n  }, \"\\u5BA1\\u6279\")), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.state\n  }, handleStateDesc)), handleState === 'willApproval' ?\n  /*#__PURE__*/\n  // 待审批\n  _react.default.createElement(\"div\", {\n    className: _FlowItem.default.Auditor\n  }, (0, _map.default)(approverInfos).call(approverInfos, function (usr) {\n    return /*#__PURE__*/_react.default.createElement(\"p\", {\n      key: usr.handlerId\n    }, /*#__PURE__*/_react.default.createElement(_MobUI.Avatar, {\n      src: usr.handlerAvatar\n    }), /*#__PURE__*/_react.default.createElement(\"span\", null, usr.handlerName));\n  })) :\n  /*#__PURE__*/\n  // 已审批\n  _react.default.createElement(\"div\", {\n    className: _FlowItem.default.editor\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.icon\n  }, /*#__PURE__*/_react.default.createElement(_MobUI.Avatar, {\n    src: (approverInfos === null || approverInfos === void 0 || (_approverInfos$ = approverInfos[0]) === null || _approverInfos$ === void 0 ? void 0 : _approverInfos$.handlerAvatar) || ''\n  }), icon && /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    className: _FlowItem.default.flag,\n    prefix: \"nocodeplatformicon\",\n    type: icon\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.handler\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.usr\n  }, /*#__PURE__*/_react.default.createElement(\"p\", null, (approverInfos === null || approverInfos === void 0 || (_approverInfos$2 = approverInfos[0]) === null || _approverInfos$2 === void 0 ? void 0 : _approverInfos$2.handlerName) || ''), /*#__PURE__*/_react.default.createElement(\"span\", null, handleTime ? (0, _utils.dateFormat)('MM-dd hh:mm', handleTime) : '')), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.des\n  }, message || '')))));\n});\n\n/**\n * 录入节点\n */\nvar UserInputItem = exports.UserInputItem = (0, _react.memo)(function (_ref4) {\n  var _item$approverInfos2, _item$approverInfos3;\n  var item = _ref4.item,\n    className = _ref4.className,\n    config = _ref4.config;\n  var procInstId = item.procInstId,\n    nodeBusinessKey = item.nodeBusinessKey,\n    nodeId = item.nodeId,\n    nodeType = item.nodeType,\n    handleState = item.handleState,\n    approverInfos = item.approverInfos,\n    canInputOrView = item.canInputOrView;\n  var _ref5 = config || {},\n    appId = _ref5.appId,\n    targetFormId = _ref5.targetFormId,\n    pkId = _ref5.pkId,\n    userTaskActivityId = _ref5.userTaskActivityId,\n    userTaskBusinessKey = _ref5.userTaskBusinessKey;\n  var css = (0, _classnames.default)(_FlowItem.default.item, className, CLASS_LIST[item.handleState] || CLASS_LIST.willHandled);\n  var icon = FLOW_ICON[item.handleState];\n\n  // 当前处理人ID，以,分开\n  var userTaskCurrentUserId = (0, _react.useMemo)(function () {\n    return (0, _map.default)(approverInfos).call(approverInfos, function (item) {\n      return item.handlerId;\n    }).join();\n  }, [approverInfos]);\n  // 点击查看/录入，打开URL\n  var handleClick = (0, _react.useCallback)(function (key) {\n    var _context5, _context6, _context7, _context8, _context9, _context10, _context11;\n    var url = (0, _concat.default)(_context5 = (0, _concat.default)(_context6 = (0, _concat.default)(_context7 = (0, _concat.default)(_context8 = (0, _concat.default)(_context9 = (0, _concat.default)(_context10 = (0, _concat.default)(_context11 = \"/m/\".concat(appId, \"/detail/\")).call(_context11, targetFormId, \"/\")).call(_context10, pkId, \"/\")).call(_context9, key, \"/flow/\")).call(_context8, procInstId, \"/\")).call(_context7, nodeId, \"/\")).call(_context6, nodeBusinessKey, \"/\")).call(_context5, userTaskCurrentUserId);\n    (0, _utils.openner)(url);\n  }, [userTaskCurrentUserId, appId, targetFormId, pkId, procInstId, nodeId, nodeBusinessKey, userTaskBusinessKey]);\n\n  // 只有录入节点，以及当前并非在录入表单界面，才显示查看/录入两个按钮\n  var showEditBtn = (0, _react.useMemo)(function () {\n    return !userTaskActivityId && !userTaskBusinessKey && canInputOrView;\n  }, [userTaskActivityId, canInputOrView, userTaskBusinessKey]);\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: css\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_FlowItem.default.dot, 'kdm-nc-flow-dot')\n  }, /*#__PURE__*/_react.default.createElement(\"p\", null)), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.info\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.title\n  }, /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(\"p\", null, item.nodeName), showEditBtn ? handleState === 'handled' ? /*#__PURE__*/_react.default.createElement(_MobUI.BtnField, {\n    type: \"text\",\n    major: true,\n    style: {\n      flex: 'none'\n    },\n    onClick: function onClick() {\n      return handleClick('view');\n    },\n    icon: {\n      prefix: 'ncicon',\n      type: 'yanjing'\n    }\n  }, \"\\u67E5\\u770B\") : /*#__PURE__*/_react.default.createElement(_MobUI.BtnField, {\n    type: \"text\",\n    major: true,\n    style: {\n      flex: 'none'\n    },\n    onClick: function onClick() {\n      return handleClick('edit');\n    },\n    icon: {\n      prefix: 'nocodeplatformicon',\n      type: 'bianji'\n    }\n  }, \"\\u5F55\\u5165\") : null), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.state\n  }, item.handleStateDesc)), item.handleState !== 'willHandled' && /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.editor\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.icon,\n    style: {\n      background: item.bg\n    }\n  }, /*#__PURE__*/_react.default.createElement(_MobUI.Avatar, {\n    src: (_item$approverInfos2 = item.approverInfos) === null || _item$approverInfos2 === void 0 ? void 0 : _item$approverInfos2[0].handlerAvatar\n  }), icon && /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    className: _FlowItem.default.flag,\n    prefix: \"nocodeplatformicon\",\n    type: icon\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.handler\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.usr\n  }, /*#__PURE__*/_react.default.createElement(\"p\", null, (item === null || item === void 0 || (_item$approverInfos3 = item.approverInfos) === null || _item$approverInfos3 === void 0 || (_item$approverInfos3 = _item$approverInfos3[0]) === null || _item$approverInfos3 === void 0 ? void 0 : _item$approverInfos3.handlerName) || ''), /*#__PURE__*/_react.default.createElement(\"span\", null, item.handleTime ? (0, _utils.dateFormat)('MM-dd hh:mm', item.handleTime) : '')), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.des\n  }, (item === null || item === void 0 ? void 0 : item.message) || '')))));\n});\n/**\n * 常规节点\n */\nvar FlowItem = exports.FlowItem = (0, _react.memo)(function (_ref6) {\n  var item = _ref6.item,\n    className = _ref6.className;\n  var css = (0, _classnames.default)(_FlowItem.default.item, className, CLASS_LIST[item.handleState] || CLASS_LIST.willHandled);\n  var icon = FLOW_ICON[item.handleState];\n  return /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: css\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: (0, _classnames.default)(_FlowItem.default.dot, 'kdm-nc-flow-dot')\n  }, /*#__PURE__*/_react.default.createElement(\"p\", null)), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.info\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.title\n  }, /*#__PURE__*/_react.default.createElement(\"div\", null, /*#__PURE__*/_react.default.createElement(\"p\", null, item.nodeName)), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.state\n  }, item.handleStateDesc)), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.editor\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.icon,\n    style: {\n      background: item.bg\n    }\n  }, /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    prefix: \"nocodeplatformicon\",\n    type: item.icon\n  }), icon && /*#__PURE__*/_react.default.createElement(_kdesign.Icon, {\n    className: _FlowItem.default.flag,\n    prefix: \"nocodeplatformicon\",\n    type: icon\n  })), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.handler\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.usr\n  }, /*#__PURE__*/_react.default.createElement(\"p\", null, item.handlerName || item.nodeTypeName), /*#__PURE__*/_react.default.createElement(\"span\", null, item.handleTime ? (0, _utils.dateFormat)('MM-dd hh:mm', item.handleTime) : '')), /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _FlowItem.default.des\n  }, (item === null || item === void 0 ? void 0 : item.message) || '')))));\n});\nUserInputItem.displayName = 'UserInputItem';\nAuditItem.displayName = 'AuditItem';\nFlowItem.displayName = 'FlowItem';\nFinishItem.displayName = 'FinishItem';\nLaunchItem.displayName = 'LaunchItem';//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/mobile/component/common/FlowItem.tsx\n");

/***/ }),

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

eval("\n\nvar _typeof = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ \"../../node_modules/@babel/runtime-corejs3/helpers/typeof.js\");\nvar _WeakMap = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/weak-map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/weak-map.js\");\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\nvar _Object$getOwnPropertyDescriptor = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js\");\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime-corejs3/helpers/interopRequireDefault */ \"../../node_modules/@babel/runtime-corejs3/helpers/interopRequireDefault.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _map = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\"));\nvar _FlowItem = __webpack_require__(/*! @/mobile/component/common/FlowItem */ \"./src/mobile/component/common/FlowItem.tsx\");\nvar _MobileFlowList = _interopRequireDefault(__webpack_require__(/*! ./MobileFlowList.less */ \"./src/mobile/layout/apps/detail/MobileFlowList.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// import { Icon } from '@kdcloudjs/kdesign'\n// import { Avatar } from 'nocode_component/WebUI'\n// import classnames from 'classnames'\n// import { dateFormat } from '@/utils'\n\n// 节点组件\nvar ITEM_LIST = {\n  NoCodeWfNodeUserInput: _FlowItem.UserInputItem,\n  // 录入节点\n  NoCodeWfNodeEnd: _FlowItem.FinishItem,\n  // 结束节点\n  NoCodeWfNodeStart: _FlowItem.LaunchItem,\n  // (\"发起流程节点\")\n  NoCodeWfNodeAudit: _FlowItem.AuditItem // (\"审批节点\")\n};\n\n/**\n * 流程列表\n * @param data 流程数据\n */\n\nvar MobileFlowList = (0, _react.memo)(function (_ref) {\n  var data = _ref.data,\n    config = _ref.config,\n    curNode = _ref.curNode;\n  console.log('MobileFlowList', data, _MobileFlowList.default);\n  var _ref2 = data || {},\n    approvalInfo = _ref2.approvalInfo;\n  return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _MobileFlowList.default.apply\n  }, /*#__PURE__*/_react.default.createElement(\"div\", {\n    className: _MobileFlowList.default.list\n  }, approvalInfo === null || approvalInfo === void 0 ? void 0 : (0, _map.default)(approvalInfo).call(approvalInfo, function (item, index) {\n    var Element = ITEM_LIST[item.nodeType] || _FlowItem.FlowItem;\n    return /*#__PURE__*/_react.default.createElement(Element, {\n      key: item.taskId,\n      curNode: curNode\n      // canHandle={canHandle}\n      ,\n      className: index === data.length - 2 ? _MobileFlowList.default.node : '',\n      item: item,\n      config: config\n    });\n  }))));\n});\nMobileFlowList.displayName = 'MobileFlowListLayout';\nvar _default = exports[\"default\"] = MobileFlowList;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvbW9iaWxlL2xheW91dC9hcHBzL2RldGFpbC9Nb2JpbGVGbG93TGlzdC50c3giLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUE7QUFLQTtBQUNBO0FBQUE7QUFBQTtBQUxBO0FBQ0E7QUFDQTtBQUNBOztBQUlBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFBQTtBQUNBO0FBQUE7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUFBO0FBQ0E7QUFFQTtBQUFBO0FBRUE7QUFBQTtBQUVBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBR0E7QUFLQTtBQUVBO0FBQUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvbW9iaWxlL2xheW91dC9hcHBzL2RldGFpbC9Nb2JpbGVGbG93TGlzdC50c3g/YTRkOSJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgRkMsIG1lbW8gfSBmcm9tICdyZWFjdCdcbi8vIGltcG9ydCB7IEljb24gfSBmcm9tICdAa2RjbG91ZGpzL2tkZXNpZ24nXG4vLyBpbXBvcnQgeyBBdmF0YXIgfSBmcm9tICdub2NvZGVfY29tcG9uZW50L1dlYlVJJ1xuLy8gaW1wb3J0IGNsYXNzbmFtZXMgZnJvbSAnY2xhc3NuYW1lcydcbi8vIGltcG9ydCB7IGRhdGVGb3JtYXQgfSBmcm9tICdAL3V0aWxzJ1xuaW1wb3J0IHsgRmxvd0l0ZW0sIEZpbmlzaEl0ZW0sIExhdW5jaEl0ZW0sIEF1ZGl0SXRlbSwgVXNlcklucHV0SXRlbSB9IGZyb20gJ0AvbW9iaWxlL2NvbXBvbmVudC9jb21tb24vRmxvd0l0ZW0nXG5pbXBvcnQgc3R5bGVzIGZyb20gJy4vTW9iaWxlRmxvd0xpc3QubGVzcydcblxuLy8g6IqC54K557uE5Lu2XG5jb25zdCBJVEVNX0xJU1QgPSB7XG4gIE5vQ29kZVdmTm9kZVVzZXJJbnB1dDogVXNlcklucHV0SXRlbSwgLy8g5b2V5YWl6IqC54K5XG4gIE5vQ29kZVdmTm9kZUVuZDogRmluaXNoSXRlbSwgLy8g57uT5p2f6IqC54K5XG4gIE5vQ29kZVdmTm9kZVN0YXJ0OiBMYXVuY2hJdGVtLCAvLyAoXCLlj5HotbfmtYHnqIvoioLngrlcIilcbiAgTm9Db2RlV2ZOb2RlQXVkaXQ6IEF1ZGl0SXRlbSAvLyAoXCLlrqHmibnoioLngrlcIilcbn1cblxuLyoqXG4gKiDmtYHnqIvliJfooahcbiAqIEBwYXJhbSBkYXRhIOa1geeoi+aVsOaNrlxuICovXG5cbmNvbnN0IE1vYmlsZUZsb3dMaXN0OkZDPGFueT4gPSBtZW1vKCh7IGRhdGEsIGNvbmZpZywgY3VyTm9kZSB9KSA9PiB7XG4gIGNvbnNvbGUubG9nKCdNb2JpbGVGbG93TGlzdCcsIGRhdGEsIHN0eWxlcylcbiAgY29uc3QgeyBhcHByb3ZhbEluZm8gfSA9IGRhdGEgfHwge31cbiAgcmV0dXJuIChcbiAgICA8PlxuICAgICAgPGRpdiBjbGFzc05hbWU9e3N0eWxlcy5hcHBseX0+XG4gICAgICAgIHsvKiDliJfooaggKi99XG4gICAgICAgIDxkaXYgY2xhc3NOYW1lPXtzdHlsZXMubGlzdH0+XG4gICAgICAgICAge2FwcHJvdmFsSW5mbz8ubWFwKChpdGVtOmFueSwgaW5kZXg6bnVtYmVyKSA9PiB7XG4gICAgICAgICAgICBjb25zdCBFbGVtZW50ID0gSVRFTV9MSVNUW2l0ZW0ubm9kZVR5cGVdIHx8IEZsb3dJdGVtXG4gICAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgICA8RWxlbWVudFxuICAgICAgICAgICAgICAgIGtleT17aXRlbS50YXNrSWR9XG4gICAgICAgICAgICAgICAgY3VyTm9kZT17Y3VyTm9kZX1cbiAgICAgICAgICAgICAgICAvLyBjYW5IYW5kbGU9e2NhbkhhbmRsZX1cbiAgICAgICAgICAgICAgICBjbGFzc05hbWU9e2luZGV4ID09PSAoZGF0YS5sZW5ndGggLSAyKSA/IHN0eWxlcy5ub2RlIDogJyd9XG4gICAgICAgICAgICAgICAgaXRlbT17aXRlbX1cbiAgICAgICAgICAgICAgICBjb25maWc9e2NvbmZpZ31cbiAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIClcbiAgICAgICAgICB9KX1cbiAgICAgICAgPC9kaXY+XG4gICAgICA8L2Rpdj5cbiAgICA8Lz5cbiAgKVxufSlcblxuTW9iaWxlRmxvd0xpc3QuZGlzcGxheU5hbWUgPSAnTW9iaWxlRmxvd0xpc3RMYXlvdXQnXG5leHBvcnQgZGVmYXVsdCBNb2JpbGVGbG93TGlzdFxuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/mobile/layout/apps/detail/MobileFlowList.tsx\n");

/***/ })

}]);