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

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

eval("\n\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\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.batchEditFormDataListItemWithFilter = batchEditFormDataListItemWithFilter;\nexports.copyView = exports.cancelImport = exports.cancelExport = void 0;\nexports.deleteFormDataListItem = deleteFormDataListItem;\nexports.deleteFormDataListItemWithFilter = deleteFormDataListItemWithFilter;\nexports.getFilter = exports.getExportFieldList = exports.getEnumFilterValue = exports.getCompareTypes = exports.getColHeadFilter = exports.getBizButtonList = exports.getApprovalInfo = exports.doMethod = exports.deleteView = exports.deleteStatCard = void 0;\nexports.getFormDataList = getFormDataList;\nexports.getFormDataListSetting = getFormDataListSetting;\nexports.getFormDataListSettingBySchemaId = void 0;\nexports.getFormList = getFormList;\nexports.getViewData = exports.getTableCard = exports.getStatInfoRow = exports.getStatInfo = exports.getStatField = exports.getStartCard = exports.getReqUrl = exports.getRefBillTreeData = exports.getRefBillDispProps = exports.getQingCardParams = exports.getQingCardFilterParams = exports.getImportTemplateUrl = exports.getImportSheetName = exports.getImportPreviewData = exports.getImportFormFieldData = exports.getImportExcelPreview = exports.getImportExcelCreateSetting = exports.getFormSettingConfig = void 0;\nexports.loadFormDataList = loadFormDataList;\nexports.sendExportData = exports.sendColHeadSort = exports.sendColHeadFilter = exports.saveStatSetting = exports.saveImportExcelCreateSetting = exports.queryImportStatus = exports.queryExportUrl = exports.queryExportStatus = exports.queryEntryData = exports.printExportPdf = exports.modifyView = exports.modifyTemp = void 0;\nexports.sendFormFilterSetting = sendFormFilterSetting;\nexports.sendFormListSetting = sendFormListSetting;\nexports.taskCancel = exports.taskApply = exports.sortView = exports.sendStatInfo = exports.sendShareData = exports.sendPageSize = exports.sendImportData = void 0;\nvar _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/helpers/objectWithoutProperties */ \"../../node_modules/@babel/runtime-corejs3/helpers/objectWithoutProperties.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 _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 _keys = _interopRequireDefault(__webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.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 _utils = __webpack_require__(/*! @/utils */ \"./src/utils/index.tsx\");\nvar _index = __webpack_require__(/*! ../ajax/index */ \"./src/ajax/index.js\");\nvar _excluded = [\"filter\", \"ids\"];\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2022-08-25 10:03:09\n * @LastEditTime: 2024-07-16 16:01:12\n * @Last Modified by: jianhang_he\n */\nvar getReqUrl = exports.getReqUrl = function getReqUrl(id) {\n  return \"nocode/v2/\".concat(id, \"/menu\");\n};\n\n/**\n * 获取app下的form列表数据\n * @param {Number} id app id\n * @returns\n */\nfunction getFormList(_x) {\n  return _getFormList.apply(this, arguments);\n}\n/**\n * 获取表单数据\n * @param {*} appId 应用Id\n * @param {*} formId form id\n * @param {*} filter 过滤条件\n * @returns\n */\nfunction _getFormList() {\n  _getFormList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee51(id) {\n    var res;\n    return _regenerator.default.wrap(function _callee51$(_context77) {\n      while (1) switch (_context77.prev = _context77.next) {\n        case 0:\n          _context77.next = 2;\n          return (0, _index.get)(getReqUrl(id), {});\n        case 2:\n          res = _context77.sent;\n          return _context77.abrupt(\"return\", res);\n        case 4:\n        case \"end\":\n          return _context77.stop();\n      }\n    }, _callee51);\n  }));\n  return _getFormList.apply(this, arguments);\n}\nfunction getFormDataList(_x2, _x3, _x4) {\n  return _getFormDataList.apply(this, arguments);\n}\n/**\n * post形式获取表单数据\n * @param {*} appId 应用Id\n * @param {*} formId form id\n * @param {*} filter 过滤条件\n * @returns\n */\nfunction _getFormDataList() {\n  _getFormDataList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee52(appId, formId, params) {\n    var _context78, _context79;\n    var filter, url, res;\n    return _regenerator.default.wrap(function _callee52$(_context80) {\n      while (1) switch (_context80.prev = _context80.next) {\n        case 0:\n          filter = (0, _filter.default)(params) || '';\n          delete params.filter;\n          url = (0, _concat.default)(_context78 = (0, _concat.default)(_context79 = \"nocode/v2/\".concat(appId, \"/\")).call(_context79, formId)).call(_context78, (0, _utils.getUrlParams)(params)); // 后端要求filter必传\n          // filter放请求体中，其余放在url\n          _context80.next = 5;\n          return (0, _index.post)(url, {\n            filter: filter\n          });\n        case 5:\n          res = _context80.sent;\n          return _context80.abrupt(\"return\", res);\n        case 7:\n        case \"end\":\n          return _context80.stop();\n      }\n    }, _callee52);\n  }));\n  return _getFormDataList.apply(this, arguments);\n}\nfunction loadFormDataList(_x5, _x6, _x7) {\n  return _loadFormDataList.apply(this, arguments);\n}\nfunction _loadFormDataList() {\n  _loadFormDataList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee53(appId, formId, params) {\n    var _context81;\n    var url, _params$filter, filter, ids, otherParams, res;\n    return _regenerator.default.wrap(function _callee53$(_context85) {\n      while (1) switch (_context85.prev = _context85.next) {\n        case 0:\n          url = (0, _concat.default)(_context81 = \"nocode/v2/\".concat(appId, \"/\")).call(_context81, formId); // filter即使是空的也需要传\n          _params$filter = (0, _filter.default)(params), filter = _params$filter === void 0 ? '' : _params$filter, ids = params.ids, otherParams = (0, _objectWithoutProperties2.default)(params, _excluded);\n          (0, _keys.default)(otherParams).forEach(function (key, index) {\n            var _context82, _context83, _context84;\n            url = (0, _concat.default)(_context82 = (0, _concat.default)(_context83 = (0, _concat.default)(_context84 = \"\".concat(url)).call(_context84, index === 0 ? '?' : '&')).call(_context83, key, \"=\")).call(_context82, otherParams[key]);\n          });\n          _context85.next = 5;\n          return (0, _index.post)(url, {\n            filter: filter,\n            ids: ids\n          });\n        case 5:\n          res = _context85.sent;\n          return _context85.abrupt(\"return\", res);\n        case 7:\n        case \"end\":\n          return _context85.stop();\n      }\n    }, _callee53);\n  }));\n  return _loadFormDataList.apply(this, arguments);\n}\nfunction deleteFormDataListItem(_x8, _x9, _x10, _x11) {\n  return _deleteFormDataListItem.apply(this, arguments);\n}\nfunction _deleteFormDataListItem() {\n  _deleteFormDataListItem = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee54(appId, formId, id, params) {\n    var _context86, _context87;\n    var url, res;\n    return _regenerator.default.wrap(function _callee54$(_context88) {\n      while (1) switch (_context88.prev = _context88.next) {\n        case 0:\n          url = (0, _concat.default)(_context86 = (0, _concat.default)(_context87 = \"nocode/v2/\".concat(appId, \"/\")).call(_context87, formId, \"/delete/\")).call(_context86, id);\n          _context88.next = 3;\n          return (0, _index.post)(url, params);\n        case 3:\n          res = _context88.sent;\n          return _context88.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context88.stop();\n      }\n    }, _callee54);\n  }));\n  return _deleteFormDataListItem.apply(this, arguments);\n}\nfunction deleteFormDataListItemWithFilter(_x12, _x13, _x14, _x15, _x16, _x17) {\n  return _deleteFormDataListItemWithFilter.apply(this, arguments);\n}\nfunction _deleteFormDataListItemWithFilter() {\n  _deleteFormDataListItemWithFilter = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee55(appId, formId, schemaId, searchKeywords, params, orderBy) {\n    var _context89, _context90, _context91, _context92;\n    var basicUrl, url, res;\n    return _regenerator.default.wrap(function _callee55$(_context93) {\n      while (1) switch (_context93.prev = _context93.next) {\n        case 0:\n          basicUrl = (0, _concat.default)(_context89 = (0, _concat.default)(_context90 = (0, _concat.default)(_context91 = \"nocode/v2/\".concat(appId, \"/\")).call(_context91, formId, \"/delete?schemaId=\")).call(_context90, schemaId, \"&order_by=\")).call(_context89, orderBy);\n          url = searchKeywords ? (0, _concat.default)(_context92 = \"\".concat(basicUrl, \"&search=\")).call(_context92, searchKeywords) : basicUrl;\n          _context93.next = 4;\n          return (0, _index.post)(url, params);\n        case 4:\n          res = _context93.sent;\n          return _context93.abrupt(\"return\", res);\n        case 6:\n        case \"end\":\n          return _context93.stop();\n      }\n    }, _callee55);\n  }));\n  return _deleteFormDataListItemWithFilter.apply(this, arguments);\n}\nfunction batchEditFormDataListItemWithFilter(_x18, _x19, _x20) {\n  return _batchEditFormDataListItemWithFilter.apply(this, arguments);\n}\n/**\n * 获取app下的form查询列表配置项和列表筛选项， 列表列数据也是从这里获取构建\n * @param {Number} id app id\n * @returns\n */\nfunction _batchEditFormDataListItemWithFilter() {\n  _batchEditFormDataListItemWithFilter = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee56(appId, formId, params) {\n    var _context94;\n    var url, res;\n    return _regenerator.default.wrap(function _callee56$(_context95) {\n      while (1) switch (_context95.prev = _context95.next) {\n        case 0:\n          url = (0, _concat.default)(_context94 = \"nocode/v2/\".concat(appId, \"/\")).call(_context94, formId, \"/batch\");\n          _context95.next = 3;\n          return (0, _index.post)(url, params);\n        case 3:\n          res = _context95.sent;\n          return _context95.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context95.stop();\n      }\n    }, _callee56);\n  }));\n  return _batchEditFormDataListItemWithFilter.apply(this, arguments);\n}\nfunction getFormDataListSetting(_x21, _x22, _x23, _x24) {\n  return _getFormDataListSetting.apply(this, arguments);\n}\n/**\n * 保存列表筛选项\n * @param {Number} id app id\n * @returns\n */\nfunction _getFormDataListSetting() {\n  _getFormDataListSetting = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee57(appId, formId, env, params) {\n    var _context96, _context97;\n    var url, res;\n    return _regenerator.default.wrap(function _callee57$(_context98) {\n      while (1) switch (_context98.prev = _context98.next) {\n        case 0:\n          url = (0, _concat.default)(_context96 = (0, _concat.default)(_context97 = \"nocode/v2/nocode_sys/common/list_config/query?appid=\".concat(appId, \"&formid=\")).call(_context97, formId, \"&env=\")).call(_context96, env);\n          _context98.next = 3;\n          return (0, _index.get)(url, params);\n        case 3:\n          res = _context98.sent;\n          return _context98.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context98.stop();\n      }\n    }, _callee57);\n  }));\n  return _getFormDataListSetting.apply(this, arguments);\n}\nfunction sendFormFilterSetting(_x25, _x26) {\n  return _sendFormFilterSetting.apply(this, arguments);\n}\n/**\n * 保存列表过滤项\n * @param {Number} id app id\n * @returns\n */\nfunction _sendFormFilterSetting() {\n  _sendFormFilterSetting = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee58(params, env) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee58$(_context99) {\n      while (1) switch (_context99.prev = _context99.next) {\n        case 0:\n          url = \"nocode/v2/nocode_sys/bos_nocode_filterconfig?env=\".concat(env);\n          _context99.next = 3;\n          return (0, _index.post)(url, params);\n        case 3:\n          res = _context99.sent;\n          return _context99.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context99.stop();\n      }\n    }, _callee58);\n  }));\n  return _sendFormFilterSetting.apply(this, arguments);\n}\nfunction sendFormListSetting(_x27, _x28) {\n  return _sendFormListSetting.apply(this, arguments);\n}\n/**\n * @description 发送分享信息\n */\nfunction _sendFormListSetting() {\n  _sendFormListSetting = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee59(params, env) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee59$(_context100) {\n      while (1) switch (_context100.prev = _context100.next) {\n        case 0:\n          url = \"nocode/v2/nocode_sys/common/list_config/save?env=\".concat(env);\n          _context100.next = 3;\n          return (0, _index.post)(url, params);\n        case 3:\n          res = _context100.sent;\n          return _context100.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context100.stop();\n      }\n    }, _callee59);\n  }));\n  return _sendFormListSetting.apply(this, arguments);\n}\nvar sendShareData = exports.sendShareData = /*#__PURE__*/function () {\n  var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee$(_context) {\n      while (1) switch (_context.prev = _context.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/common/share/save';\n          _context.next = 3;\n          return (0, _index.post)(url, params);\n        case 3:\n          res = _context.sent;\n          return _context.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context.stop();\n      }\n    }, _callee);\n  }));\n  return function sendShareData(_x29) {\n    return _ref.apply(this, arguments);\n  };\n}();\n\n/**\n * 获取表格字段列统计信息, 单个统计\n * @param {*} params\n * @returns\n */\nvar getStatInfo = exports.getStatInfo = /*#__PURE__*/function () {\n  var _ref2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(appId, formId, params) {\n    var _context2;\n    var url, res;\n    return _regenerator.default.wrap(function _callee2$(_context3) {\n      while (1) switch (_context3.prev = _context3.next) {\n        case 0:\n          url = (0, _concat.default)(_context2 = \"nocode/v2/\".concat(appId, \"/\")).call(_context2, formId);\n          _context3.next = 3;\n          return (0, _index.get)(url, params);\n        case 3:\n          res = _context3.sent;\n          return _context3.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context3.stop();\n      }\n    }, _callee2);\n  }));\n  return function getStatInfo(_x30, _x31, _x32) {\n    return _ref2.apply(this, arguments);\n  };\n}();\n\n/**\n * 获取表格字段列统计信息行\n * @param {*} params\n * @returns\n */\nvar getStatInfoRow = exports.getStatInfoRow = /*#__PURE__*/function () {\n  var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(appId, formId, env, params) {\n    var _context4, _context5;\n    var url, res;\n    return _regenerator.default.wrap(function _callee3$(_context6) {\n      while (1) switch (_context6.prev = _context6.next) {\n        case 0:\n          url = (0, _concat.default)(_context4 = (0, _concat.default)(_context5 = \"nocode/v2/nocode_sys/bos_nocode_statconfig?appid=\".concat(appId, \"&formid=\")).call(_context5, formId, \"&env=\")).call(_context4, env);\n          _context6.next = 3;\n          return (0, _index.get)(url, params);\n        case 3:\n          res = _context6.sent;\n          return _context6.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context6.stop();\n      }\n    }, _callee3);\n  }));\n  return function getStatInfoRow(_x33, _x34, _x35, _x36) {\n    return _ref3.apply(this, arguments);\n  };\n}();\n\n/**\n * 获取表格字段列统计信息\n * @param {*} params\n * @returns\n */\nvar sendStatInfo = exports.sendStatInfo = /*#__PURE__*/function () {\n  var _ref4 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(params, env) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee4$(_context7) {\n      while (1) switch (_context7.prev = _context7.next) {\n        case 0:\n          url = \"nocode/v2/nocode_sys/bos_nocode_statconfig?env=\".concat(env);\n          _context7.next = 3;\n          return (0, _index.post)(url, {\n            data: params\n          });\n        case 3:\n          res = _context7.sent;\n          return _context7.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context7.stop();\n      }\n    }, _callee4);\n  }));\n  return function sendStatInfo(_x37, _x38) {\n    return _ref4.apply(this, arguments);\n  };\n}();\n\n/**\n * 获取sheet名称集合\n * @param {*} params\n * @returns\n */\nvar getImportSheetName = exports.getImportSheetName = /*#__PURE__*/function () {\n  var _ref5 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee5$(_context8) {\n      while (1) switch (_context8.prev = _context8.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/common/customimport/getsheet';\n          _context8.next = 3;\n          return (0, _index.post)(url, {\n            data: params\n          });\n        case 3:\n          res = _context8.sent;\n          return _context8.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context8.stop();\n      }\n    }, _callee5);\n  }));\n  return function getImportSheetName(_x39) {\n    return _ref5.apply(this, arguments);\n  };\n}();\n/**\n * 获取导入excel预览\n * @param params\n * @returns\n */\nvar getImportExcelPreview = exports.getImportExcelPreview = /*#__PURE__*/function () {\n  var _ref6 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee6(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee6$(_context9) {\n      while (1) switch (_context9.prev = _context9.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/common/customimport/datapreview';\n          _context9.next = 3;\n          return (0, _index.post)(url, {\n            data: params\n          });\n        case 3:\n          res = _context9.sent;\n          return _context9.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context9.stop();\n      }\n    }, _callee6);\n  }));\n  return function getImportExcelPreview(_x40) {\n    return _ref6.apply(this, arguments);\n  };\n}();\n\n/**\n * 获取导入表单的字段\n * @param params\n * @returns\n */\n\nvar getImportFormFieldData = exports.getImportFormFieldData = /*#__PURE__*/function () {\n  var _ref7 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee7(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee7$(_context10) {\n      while (1) switch (_context10.prev = _context10.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/common/customimport/getpropertyconfig';\n          _context10.next = 3;\n          return (0, _index.post)(url, {\n            data: params\n          });\n        case 3:\n          res = _context10.sent;\n          return _context10.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context10.stop();\n      }\n    }, _callee7);\n  }));\n  return function getImportFormFieldData(_x41) {\n    return _ref7.apply(this, arguments);\n  };\n}();\n\n/**\n * 获取导入预览\n * @param params\n */\nvar getImportPreviewData = exports.getImportPreviewData = /*#__PURE__*/function () {\n  var _ref8 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee8$(_context11) {\n      while (1) switch (_context11.prev = _context11.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/common/customimport/impreview';\n          _context11.next = 3;\n          return (0, _index.post)(url, {\n            data: params\n          });\n        case 3:\n          res = _context11.sent;\n          return _context11.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context11.stop();\n      }\n    }, _callee8);\n  }));\n  return function getImportPreviewData(_x42) {\n    return _ref8.apply(this, arguments);\n  };\n}();\n\n/**\n * 保存导入信息\n * @returns\n */\nvar sendImportData = exports.sendImportData = /*#__PURE__*/function () {\n  var _ref9 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee9$(_context12) {\n      while (1) switch (_context12.prev = _context12.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/common/customimport/dataimport';\n          _context12.next = 3;\n          return (0, _index.post)(url, {\n            data: params\n          });\n        case 3:\n          res = _context12.sent;\n          return _context12.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context12.stop();\n      }\n    }, _callee9);\n  }));\n  return function sendImportData(_x43) {\n    return _ref9.apply(this, arguments);\n  };\n}();\n\n/**\n * 查询导入状态信息\n * @param {*} taskId\n * @returns\n */\nvar queryImportStatus = exports.queryImportStatus = /*#__PURE__*/function () {\n  var _ref10 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee10$(_context13) {\n      while (1) switch (_context13.prev = _context13.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/common/import/poll';\n          _context13.prev = 1;\n          _context13.next = 4;\n          return (0, _index.post)(url, {\n            data: params\n          });\n        case 4:\n          res = _context13.sent;\n          return _context13.abrupt(\"return\", res);\n        case 8:\n          _context13.prev = 8;\n          _context13.t0 = _context13[\"catch\"](1);\n          console.error('查询状态失败', _context13.t0);\n        case 11:\n        case \"end\":\n          return _context13.stop();\n      }\n    }, _callee10, null, [[1, 8]]);\n  }));\n  return function queryImportStatus(_x44) {\n    return _ref10.apply(this, arguments);\n  };\n}();\n\n/**\n * 取消导入\n * @param {*} taskId\n */\nvar cancelImport = exports.cancelImport = /*#__PURE__*/function () {\n  var _ref11 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee11$(_context14) {\n      while (1) switch (_context14.prev = _context14.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/common/import/cancel';\n          _context14.prev = 1;\n          _context14.next = 4;\n          return (0, _index.post)(url, {\n            data: params\n          });\n        case 4:\n          res = _context14.sent;\n          return _context14.abrupt(\"return\", res);\n        case 8:\n          _context14.prev = 8;\n          _context14.t0 = _context14[\"catch\"](1);\n          console.log('取消导入失败', _context14.t0);\n        case 11:\n        case \"end\":\n          return _context14.stop();\n      }\n    }, _callee11, null, [[1, 8]]);\n  }));\n  return function cancelImport(_x45) {\n    return _ref11.apply(this, arguments);\n  };\n}();\n\n/**\n * 获取导入模板\n * @param {*} appId 应用id\n * @param {*} formId 表单id\n */\nvar getImportTemplateUrl = exports.getImportTemplateUrl = /*#__PURE__*/function () {\n  var _ref12 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee12$(_context15) {\n      while (1) switch (_context15.prev = _context15.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/common/import/downloadTemplate';\n          _context15.prev = 1;\n          _context15.next = 4;\n          return (0, _index.post)(url, {\n            data: params\n          });\n        case 4:\n          res = _context15.sent;\n          return _context15.abrupt(\"return\", res);\n        case 8:\n          _context15.prev = 8;\n          _context15.t0 = _context15[\"catch\"](1);\n          console.log('获取导入模板失败', _context15.t0);\n        case 11:\n        case \"end\":\n          return _context15.stop();\n      }\n    }, _callee12, null, [[1, 8]]);\n  }));\n  return function getImportTemplateUrl(_x46) {\n    return _ref12.apply(this, arguments);\n  };\n}();\n\n/**\n * @description 获取导入excel创建表单设置\n */\nvar getImportExcelCreateSetting = exports.getImportExcelCreateSetting = /*#__PURE__*/function () {\n  var _ref13 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee13$(_context16) {\n      while (1) switch (_context16.prev = _context16.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/common/excel/create/preview'; // try {\n          _context16.next = 3;\n          return (0, _index.post)(url, params);\n        case 3:\n          res = _context16.sent;\n          return _context16.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context16.stop();\n      }\n    }, _callee13);\n  }));\n  return function getImportExcelCreateSetting(_x47) {\n    return _ref13.apply(this, arguments);\n  };\n}();\n\n/**\n * @description 获取关联表单树信息\n */\nvar getRefBillTreeData = exports.getRefBillTreeData = /*#__PURE__*/function () {\n  var _ref14 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14(appId) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee14$(_context17) {\n      while (1) switch (_context17.prev = _context17.next) {\n        case 0:\n          url = \"nocode/v2/nocode_sys/common/refbill/tree?appId=\".concat(appId);\n          _context17.next = 3;\n          return (0, _index.get)(url, {});\n        case 3:\n          res = _context17.sent;\n          return _context17.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context17.stop();\n      }\n    }, _callee14);\n  }));\n  return function getRefBillTreeData(_x48) {\n    return _ref14.apply(this, arguments);\n  };\n}();\n\n/**\n * @description 获取关联表单显示的关联熟悉\n */\nvar getRefBillDispProps = exports.getRefBillDispProps = /*#__PURE__*/function () {\n  var _ref15 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15(formId) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee15$(_context18) {\n      while (1) switch (_context18.prev = _context18.next) {\n        case 0:\n          url = \"nocode/v2/nocode_sys/common/refbill/display_prop?formId=\".concat(formId);\n          _context18.next = 3;\n          return (0, _index.get)(url, {});\n        case 3:\n          res = _context18.sent;\n          return _context18.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context18.stop();\n      }\n    }, _callee15);\n  }));\n  return function getRefBillDispProps(_x49) {\n    return _ref15.apply(this, arguments);\n  };\n}();\n\n/**\n * @description 保存导入excel创建表单设置\n */\nvar saveImportExcelCreateSetting = exports.saveImportExcelCreateSetting = /*#__PURE__*/function () {\n  var _ref16 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee16$(_context19) {\n      while (1) switch (_context19.prev = _context19.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/common/excel/create/save'; // try {\n          _context19.next = 3;\n          return (0, _index.post)(url, {\n            data: params\n          });\n        case 3:\n          res = _context19.sent;\n          return _context19.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context19.stop();\n      }\n    }, _callee16);\n  }));\n  return function saveImportExcelCreateSetting(_x50) {\n    return _ref16.apply(this, arguments);\n  };\n}();\n\n/**\n * 发送导出数据\n * @param {*} formId 表单id\n * @param {*} selects 导出字段（nocodetext,nocodetextarea）\n */\nvar sendExportData = exports.sendExportData = /*#__PURE__*/function () {\n  var _ref17 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17(params, att) {\n    var schemaId, paramsString, url, _context20, _context21, res;\n    return _regenerator.default.wrap(function _callee17$(_context22) {\n      while (1) switch (_context22.prev = _context22.next) {\n        case 0:\n          schemaId = params.schemaId;\n          paramsString = (0, _utils.getUrlParams)({\n            schemaId: schemaId,\n            att: att\n          }); // 默认全部\n          url = \"nocode/v2/nocode_sys/common/export\".concat(paramsString);\n          if (params.search) {\n            url = (0, _concat.default)(_context20 = (0, _concat.default)(_context21 = \"\".concat(url)).call(_context21, (0, _includes.default)(url).call(url, '?') ? '&' : '?', \"search=\")).call(_context20, params.search);\n          }\n\n          // let filters = ''\n          // if (params.ids) {\n          //   filters = `${filters}(id IN (${params.ids?.join(',')}))`\n          // }\n\n          // if (params.filters) {\n          //   filters = `${filters} ${params.ids ? 'AND' : ''} ${params.filters})`\n          // }\n\n          // try {\n          _context22.next = 6;\n          return (0, _index.post)(url, {\n            filters: params.filters,\n            data: params\n          });\n        case 6:\n          res = _context22.sent;\n          return _context22.abrupt(\"return\", res);\n        case 8:\n        case \"end\":\n          return _context22.stop();\n      }\n    }, _callee17);\n  }));\n  return function sendExportData(_x51, _x52) {\n    return _ref17.apply(this, arguments);\n  };\n}();\n\n/**\n * 获取导出列信息\n * @param {*} formId 表单id\n * @param {*} att 导出附件\n */\nvar getExportFieldList = exports.getExportFieldList = /*#__PURE__*/function () {\n  var _ref18 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18(params) {\n    var att,\n      url,\n      res,\n      _args18 = arguments;\n    return _regenerator.default.wrap(function _callee18$(_context23) {\n      while (1) switch (_context23.prev = _context23.next) {\n        case 0:\n          att = _args18.length > 1 && _args18[1] !== undefined ? _args18[1] : false;\n          url = \"nocode/v2/nocode_sys/common/export/cols?att=\".concat(att);\n          _context23.prev = 2;\n          _context23.next = 5;\n          return (0, _index.post)(url, {\n            data: params\n          });\n        case 5:\n          res = _context23.sent;\n          return _context23.abrupt(\"return\", res);\n        case 9:\n          _context23.prev = 9;\n          _context23.t0 = _context23[\"catch\"](2);\n          console.log('获取导出列信息失败');\n        case 12:\n        case \"end\":\n          return _context23.stop();\n      }\n    }, _callee18, null, [[2, 9]]);\n  }));\n  return function getExportFieldList(_x53) {\n    return _ref18.apply(this, arguments);\n  };\n}();\n\n/**\n * 查询导出状态信息\n * @param {*} taskId\n * @returns\n */\nvar queryExportStatus = exports.queryExportStatus = /*#__PURE__*/function () {\n  var _ref19 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee19(params) {\n    var att,\n      url,\n      res,\n      _args19 = arguments;\n    return _regenerator.default.wrap(function _callee19$(_context24) {\n      while (1) switch (_context24.prev = _context24.next) {\n        case 0:\n          att = _args19.length > 1 && _args19[1] !== undefined ? _args19[1] : false;\n          url = \"nocode/v2/nocode_sys/common/export/progress?att=\".concat(att);\n          _context24.prev = 2;\n          _context24.next = 5;\n          return (0, _index.post)(url, {\n            data: params\n          });\n        case 5:\n          res = _context24.sent;\n          return _context24.abrupt(\"return\", res);\n        case 9:\n          _context24.prev = 9;\n          _context24.t0 = _context24[\"catch\"](2);\n          console.log('查询导出信息失败');\n        case 12:\n        case \"end\":\n          return _context24.stop();\n      }\n    }, _callee19, null, [[2, 9]]);\n  }));\n  return function queryExportStatus(_x54) {\n    return _ref19.apply(this, arguments);\n  };\n}();\n\n/**\n * 导出下载\n * @param {*} taskId\n * @returns\n */\nvar queryExportUrl = exports.queryExportUrl = /*#__PURE__*/function () {\n  var _ref20 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee20(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee20$(_context25) {\n      while (1) switch (_context25.prev = _context25.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/common/export/download';\n          _context25.prev = 1;\n          _context25.next = 4;\n          return (0, _index.post)(url, {\n            data: params\n          });\n        case 4:\n          res = _context25.sent;\n          return _context25.abrupt(\"return\", res);\n        case 8:\n          _context25.prev = 8;\n          _context25.t0 = _context25[\"catch\"](1);\n          console.log('获取导出下载', _context25.t0);\n        case 11:\n        case \"end\":\n          return _context25.stop();\n      }\n    }, _callee20, null, [[1, 8]]);\n  }));\n  return function queryExportUrl(_x55) {\n    return _ref20.apply(this, arguments);\n  };\n}();\n\n/**\n * 取消导出\n * @param {*} taskId\n */\nvar cancelExport = exports.cancelExport = /*#__PURE__*/function () {\n  var _ref21 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee21(params, att) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee21$(_context26) {\n      while (1) switch (_context26.prev = _context26.next) {\n        case 0:\n          url = \"nocode/v2/nocode_sys/common/export/cancel?att=\".concat(att);\n          _context26.prev = 1;\n          _context26.next = 4;\n          return (0, _index.post)(url, {\n            data: params\n          });\n        case 4:\n          res = _context26.sent;\n          return _context26.abrupt(\"return\", res);\n        case 8:\n          _context26.prev = 8;\n          _context26.t0 = _context26[\"catch\"](1);\n          console.log('取消导出失败', _context26.t0);\n        case 11:\n        case \"end\":\n          return _context26.stop();\n      }\n    }, _callee21, null, [[1, 8]]);\n  }));\n  return function cancelExport(_x56, _x57) {\n    return _ref21.apply(this, arguments);\n  };\n}();\nvar getColHeadFilter = exports.getColHeadFilter = /*#__PURE__*/function () {\n  var _ref23 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee22(_ref22) {\n    var _context27, _context28, _context29, _context30;\n    var appId, formId, env, fieldName, params, schemaId, url, res;\n    return _regenerator.default.wrap(function _callee22$(_context31) {\n      while (1) switch (_context31.prev = _context31.next) {\n        case 0:\n          appId = _ref22.appId, formId = _ref22.formId, env = _ref22.env, fieldName = _ref22.fieldName, params = _ref22.params, schemaId = _ref22.schemaId;\n          url = (0, _concat.default)(_context27 = (0, _concat.default)(_context28 = (0, _concat.default)(_context29 = (0, _concat.default)(_context30 = \"nocode/v2/nocode_sys/bos_nocode_filterconfig?appid=\".concat(appId, \"&formid=\")).call(_context30, formId, \"&env=\")).call(_context29, env, \"&head_field=\")).call(_context28, fieldName)).call(_context27, schemaId ? \"&schemaId=\".concat(schemaId) : '');\n          _context31.next = 4;\n          return (0, _index.post)(url, params);\n        case 4:\n          res = _context31.sent;\n          return _context31.abrupt(\"return\", res);\n        case 6:\n        case \"end\":\n          return _context31.stop();\n      }\n    }, _callee22);\n  }));\n  return function getColHeadFilter(_x58) {\n    return _ref23.apply(this, arguments);\n  };\n}();\n\n// 获取筛选头枚举值\nvar getEnumFilterValue = exports.getEnumFilterValue = /*#__PURE__*/function () {\n  var _ref24 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee23(appId, formId, field, filterRows, env) {\n    var _context32, _context33, _context34;\n    var source,\n      schemaId,\n      sourceString,\n      schemaIdString,\n      url,\n      params,\n      res,\n      _args23 = arguments;\n    return _regenerator.default.wrap(function _callee23$(_context35) {\n      while (1) switch (_context35.prev = _context35.next) {\n        case 0:\n          source = _args23.length > 5 && _args23[5] !== undefined ? _args23[5] : '';\n          schemaId = _args23.length > 6 ? _args23[6] : undefined;\n          sourceString = source ? \"&source=\".concat(source) : '';\n          schemaIdString = schemaId ? \"&schemaId=\".concat(schemaId) : ''; // source区分列表和视图配置的查询\n          url = (0, _concat.default)(_context32 = (0, _concat.default)(_context33 = (0, _concat.default)(_context34 = \"nocode/v2/nocode_sys/bos_nocode_filterconfig?getEnumData=true&enumField=\".concat(field, \"&env=\")).call(_context34, env)).call(_context33, sourceString)).call(_context32, schemaIdString);\n          params = {\n            data: [{\n              appid: appId,\n              formid: formId,\n              filterrows: filterRows\n            }]\n          };\n          _context35.next = 8;\n          return (0, _index.post)(url, params);\n        case 8:\n          res = _context35.sent;\n          return _context35.abrupt(\"return\", res);\n        case 10:\n        case \"end\":\n          return _context35.stop();\n      }\n    }, _callee23);\n  }));\n  return function getEnumFilterValue(_x59, _x60, _x61, _x62, _x63) {\n    return _ref24.apply(this, arguments);\n  };\n}();\nvar sendColHeadFilter = exports.sendColHeadFilter = /*#__PURE__*/function () {\n  var _ref25 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee24(params, env, headField) {\n    var _context36;\n    var url, res;\n    return _regenerator.default.wrap(function _callee24$(_context37) {\n      while (1) switch (_context37.prev = _context37.next) {\n        case 0:\n          url = (0, _concat.default)(_context36 = \"nocode/v2/nocode_sys/bos_nocode_filterconfig?env=\".concat(env, \"&head_field=\")).call(_context36, headField);\n          _context37.next = 3;\n          return (0, _index.post)(url, params);\n        case 3:\n          res = _context37.sent;\n          return _context37.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context37.stop();\n      }\n    }, _callee24);\n  }));\n  return function sendColHeadFilter(_x64, _x65, _x66) {\n    return _ref25.apply(this, arguments);\n  };\n}();\nvar sendPageSize = exports.sendPageSize = /*#__PURE__*/function () {\n  var _ref26 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee25(params, env) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee25$(_context38) {\n      while (1) switch (_context38.prev = _context38.next) {\n        case 0:\n          url = \"nocode/v2/nocode_sys/list_page?env=\".concat(env);\n          _context38.next = 3;\n          return (0, _index.post)(url, params);\n        case 3:\n          res = _context38.sent;\n          return _context38.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context38.stop();\n      }\n    }, _callee25);\n  }));\n  return function sendPageSize(_x67, _x68) {\n    return _ref26.apply(this, arguments);\n  };\n}();\nvar sendColHeadSort = exports.sendColHeadSort = /*#__PURE__*/function () {\n  var _ref27 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee26(params, env) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee26$(_context39) {\n      while (1) switch (_context39.prev = _context39.next) {\n        case 0:\n          url = \"nocode/v2/nocode_sys/list_order?env=\".concat(env);\n          _context39.next = 3;\n          return (0, _index.post)(url, params);\n        case 3:\n          res = _context39.sent;\n          return _context39.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context39.stop();\n      }\n    }, _callee26);\n  }));\n  return function sendColHeadSort(_x69, _x70) {\n    return _ref27.apply(this, arguments);\n  };\n}();\n\n// http://172.19.110.15:8080/ierp/nocode/v2/1558700606464705536/1559998662745000960/1560007697527600128?entry=nocodeentryentity&page_no=1&page_size=1\nvar queryEntryData = exports.queryEntryData = /*#__PURE__*/function () {\n  var _ref28 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee27(appId, formId, rowId, params) {\n    var _context40, _context41;\n    var url, res;\n    return _regenerator.default.wrap(function _callee27$(_context42) {\n      while (1) switch (_context42.prev = _context42.next) {\n        case 0:\n          url = (0, _concat.default)(_context40 = (0, _concat.default)(_context41 = \"nocode/v2/\".concat(appId, \"/\")).call(_context41, formId, \"/\")).call(_context40, rowId);\n          console.log('params', params);\n          _context42.next = 4;\n          return (0, _index.get)(url, params);\n        case 4:\n          res = _context42.sent;\n          return _context42.abrupt(\"return\", res);\n        case 6:\n        case \"end\":\n          return _context42.stop();\n      }\n    }, _callee27);\n  }));\n  return function queryEntryData(_x71, _x72, _x73, _x74) {\n    return _ref28.apply(this, arguments);\n  };\n}();\n\n/**\n * 获取统计卡片信息\n * @param {*} appId 应用id\n * @param {*} formId 表单id\n */\nvar getStartCard = exports.getStartCard = /*#__PURE__*/function () {\n  var _ref29 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee28(appId, formId, env) {\n    var _context43, _context44;\n    var url, res;\n    return _regenerator.default.wrap(function _callee28$(_context45) {\n      while (1) switch (_context45.prev = _context45.next) {\n        case 0:\n          url = (0, _concat.default)(_context43 = (0, _concat.default)(_context44 = \"nocode/v2/nocode_sys/stat_card?appId=\".concat(appId, \"&formId=\")).call(_context44, formId, \"&env=\")).call(_context43, env);\n          _context45.next = 3;\n          return (0, _index.get)(url, {});\n        case 3:\n          res = _context45.sent;\n          return _context45.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context45.stop();\n      }\n    }, _callee28);\n  }));\n  return function getStartCard(_x75, _x76, _x77) {\n    return _ref29.apply(this, arguments);\n  };\n}();\n\n/**\n * 保存统计卡片信息\n * @param {*} appId 应用id\n * @param {*} formId 表单id\n */\nvar saveStatSetting = exports.saveStatSetting = /*#__PURE__*/function () {\n  var _ref30 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee29(params, env) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee29$(_context46) {\n      while (1) switch (_context46.prev = _context46.next) {\n        case 0:\n          url = \"nocode/v2/nocode_sys/stat_card?env=\".concat(env);\n          _context46.next = 3;\n          return (0, _index.post)(url, params);\n        case 3:\n          res = _context46.sent;\n          return _context46.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context46.stop();\n      }\n    }, _callee29);\n  }));\n  return function saveStatSetting(_x78, _x79) {\n    return _ref30.apply(this, arguments);\n  };\n}();\n\n/**\n * 获取统计卡片里的维度和度量字段\n * @param {*} formId 表单id\n * @returns\n */\nvar getStatField = exports.getStatField = /*#__PURE__*/function () {\n  var _ref31 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee30(formId) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee30$(_context47) {\n      while (1) switch (_context47.prev = _context47.next) {\n        case 0:\n          url = \"nocode/v2/nocode_sys/stat_card?formId=\".concat(formId, \"&getStatField=true\");\n          _context47.next = 3;\n          return (0, _index.get)(url, {});\n        case 3:\n          res = _context47.sent;\n          return _context47.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context47.stop();\n      }\n    }, _callee30);\n  }));\n  return function getStatField(_x80) {\n    return _ref31.apply(this, arguments);\n  };\n}();\n\n/**\n * 删除统计卡片\n * @param {*} params { appId, formId, env, cardIds }\n * @returns\n */\nvar deleteStatCard = exports.deleteStatCard = /*#__PURE__*/function () {\n  var _ref32 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee31(params) {\n    var _context48, _context49;\n    var appId, formId, env, cardIds, url, res;\n    return _regenerator.default.wrap(function _callee31$(_context50) {\n      while (1) switch (_context50.prev = _context50.next) {\n        case 0:\n          appId = params.appId, formId = params.formId, env = params.env, cardIds = params.cardIds;\n          url = (0, _concat.default)(_context48 = (0, _concat.default)(_context49 = \"nocode/v2/nocode_sys/stat_card/delete?appId=\".concat(appId, \"&formId=\")).call(_context49, formId, \"&env=\")).call(_context48, env);\n          _context50.next = 4;\n          return (0, _index.post)(url, {\n            cardIds: cardIds\n          });\n        case 4:\n          res = _context50.sent;\n          return _context50.abrupt(\"return\", res);\n        case 6:\n        case \"end\":\n          return _context50.stop();\n      }\n    }, _callee31);\n  }));\n  return function deleteStatCard(_x81) {\n    return _ref32.apply(this, arguments);\n  };\n}();\n\n/**\n * 获取轻分析卡片参数\n * @param {*} params cardId\n */\nvar getQingCardParams = exports.getQingCardParams = /*#__PURE__*/function () {\n  var _ref33 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee32(cardId) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee32$(_context51) {\n      while (1) switch (_context51.prev = _context51.next) {\n        case 0:\n          url = \"nocode/v2/nocode_sys/stat_card/\".concat(cardId, \"?getQingCardParams=true\");\n          _context51.next = 3;\n          return (0, _index.get)(url, {});\n        case 3:\n          res = _context51.sent;\n          return _context51.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context51.stop();\n      }\n    }, _callee32);\n  }));\n  return function getQingCardParams(_x82) {\n    return _ref33.apply(this, arguments);\n  };\n}();\n\n/**\n * 获取轻分析卡片过滤参数\n * @param {*} params cardId\n * @returns\n */\nvar getQingCardFilterParams = exports.getQingCardFilterParams = /*#__PURE__*/function () {\n  var _ref34 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee33(cardId) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee33$(_context52) {\n      while (1) switch (_context52.prev = _context52.next) {\n        case 0:\n          url = \"nocode/v2/nocode_sys/stat_card/\".concat(cardId, \"?getQingCardFilterParams=true\");\n          _context52.next = 3;\n          return (0, _index.get)(url, {});\n        case 3:\n          res = _context52.sent;\n          return _context52.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context52.stop();\n      }\n    }, _callee33);\n  }));\n  return function getQingCardFilterParams(_x83) {\n    return _ref34.apply(this, arguments);\n  };\n}();\n\n/**\n * 获取表单初始筛选、列设置配置信息\n * @param {*} params { appId, formId }\n * @returns\n */\nvar getFormSettingConfig = exports.getFormSettingConfig = /*#__PURE__*/function () {\n  var _ref36 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee34(_ref35) {\n    var _context53;\n    var appId, formId, url, res;\n    return _regenerator.default.wrap(function _callee34$(_context54) {\n      while (1) switch (_context54.prev = _context54.next) {\n        case 0:\n          appId = _ref35.appId, formId = _ref35.formId;\n          url = (0, _concat.default)(_context53 = \"nocode/v2/nocode_sys/common/list_config/common/query?appId=\".concat(appId, \"&formId=\")).call(_context53, formId);\n          _context54.next = 4;\n          return (0, _index.get)(url, {});\n        case 4:\n          res = _context54.sent;\n          return _context54.abrupt(\"return\", res);\n        case 6:\n        case \"end\":\n          return _context54.stop();\n      }\n    }, _callee34);\n  }));\n  return function getFormSettingConfig(_x84) {\n    return _ref36.apply(this, arguments);\n  };\n}();\n\n/**\n * 根据筛选条件获取filter串\n * @param {*} params { appid, formid, filterrows }\n * @returns\n */\nvar getFilter = exports.getFilter = /*#__PURE__*/function () {\n  var _ref37 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee35(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee35$(_context55) {\n      while (1) switch (_context55.prev = _context55.next) {\n        case 0:\n          url = '/nocode/v2/nocode_sys/bos_nocode_filterconfig?getFilter=true';\n          _context55.next = 3;\n          return (0, _index.post)(url, {\n            data: [params]\n          });\n        case 3:\n          res = _context55.sent;\n          return _context55.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context55.stop();\n      }\n    }, _callee35);\n  }));\n  return function getFilter(_x85) {\n    return _ref37.apply(this, arguments);\n  };\n}();\n\n/**\n * 查询筛选的比较符集合\n * @param {*} params { appid, formid, filterrows }\n * @returns\n */\nvar getCompareTypes = exports.getCompareTypes = /*#__PURE__*/function () {\n  var _ref38 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee36() {\n    var url, res;\n    return _regenerator.default.wrap(function _callee36$(_context56) {\n      while (1) switch (_context56.prev = _context56.next) {\n        case 0:\n          url = '/nocode/v2/nocode_sys/bos_nocode_filterconfig?getCompareTypes=true';\n          _context56.next = 3;\n          return (0, _index.get)(url, {});\n        case 3:\n          res = _context56.sent;\n          return _context56.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context56.stop();\n      }\n    }, _callee36);\n  }));\n  return function getCompareTypes() {\n    return _ref38.apply(this, arguments);\n  };\n}();\n\n/**\n * 根据filter串获取表格信息\n * @param {*} params { appId, formId, filter, pageNo, pageSize }\n * @returns\n */\nvar getTableCard = exports.getTableCard = /*#__PURE__*/function () {\n  var _ref40 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee37(_ref39) {\n    var _context57, _context58, _context59, _context60;\n    var appId, formId, _ref39$filter, filter, _ref39$pageNo, pageNo, _ref39$pageSize, pageSize, url, res;\n    return _regenerator.default.wrap(function _callee37$(_context61) {\n      while (1) switch (_context61.prev = _context61.next) {\n        case 0:\n          appId = _ref39.appId, formId = _ref39.formId, _ref39$filter = (0, _filter.default)(_ref39), filter = _ref39$filter === void 0 ? '' : _ref39$filter, _ref39$pageNo = _ref39.pageNo, pageNo = _ref39$pageNo === void 0 ? 1 : _ref39$pageNo, _ref39$pageSize = _ref39.pageSize, pageSize = _ref39$pageSize === void 0 ? 10 : _ref39$pageSize;\n          url = (0, _concat.default)(_context57 = (0, _concat.default)(_context58 = (0, _concat.default)(_context59 = (0, _concat.default)(_context60 = \"nocode/v2/\".concat(appId, \"/\")).call(_context60, formId, \"?filter=\")).call(_context59, filter, \"&page_no=\")).call(_context58, pageNo, \"&page_size=\")).call(_context57, pageSize, \"&env=1\");\n          _context61.next = 4;\n          return (0, _index.get)(url, {});\n        case 4:\n          res = _context61.sent;\n          return _context61.abrupt(\"return\", res);\n        case 6:\n        case \"end\":\n          return _context61.stop();\n      }\n    }, _callee37);\n  }));\n  return function getTableCard(_x86) {\n    return _ref40.apply(this, arguments);\n  };\n}();\n\n/**\n *  修改模板\n */\nvar modifyTemp = exports.modifyTemp = /*#__PURE__*/function () {\n  var _ref41 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee38(params) {\n    var url, postData, res;\n    return _regenerator.default.wrap(function _callee38$(_context62) {\n      while (1) switch (_context62.prev = _context62.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/template';\n          postData = {\n            data: [params]\n          };\n          _context62.next = 4;\n          return (0, _index.post)(url, postData);\n        case 4:\n          res = _context62.sent;\n          return _context62.abrupt(\"return\", res);\n        case 6:\n        case \"end\":\n          return _context62.stop();\n      }\n    }, _callee38);\n  }));\n  return function modifyTemp(_x87) {\n    return _ref41.apply(this, arguments);\n  };\n}();\n\n/**\n *  单据审批列表\n */\nvar getApprovalInfo = exports.getApprovalInfo = /*#__PURE__*/function () {\n  var _ref42 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee39(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee39$(_context63) {\n      while (1) switch (_context63.prev = _context63.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/wf_manage/approval_info';\n          _context63.next = 3;\n          return (0, _index.get)(url, params);\n        case 3:\n          res = _context63.sent;\n          return _context63.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context63.stop();\n      }\n    }, _callee39);\n  }));\n  return function getApprovalInfo(_x88) {\n    return _ref42.apply(this, arguments);\n  };\n}();\n\n/**\n *  审批同意/驳回,任务审批\n */\nvar taskApply = exports.taskApply = /*#__PURE__*/function () {\n  var _ref43 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee40(params) {\n    var url, postData, res;\n    return _regenerator.default.wrap(function _callee40$(_context64) {\n      while (1) switch (_context64.prev = _context64.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/wf_center/task';\n          postData = {\n            data: [params]\n          };\n          _context64.next = 4;\n          return (0, _index.post)(url, postData);\n        case 4:\n          res = _context64.sent;\n          return _context64.abrupt(\"return\", res);\n        case 6:\n        case \"end\":\n          return _context64.stop();\n      }\n    }, _callee40);\n  }));\n  return function taskApply(_x89) {\n    return _ref43.apply(this, arguments);\n  };\n}();\n/**\n *  审批: 撤回\n */\nvar taskCancel = exports.taskCancel = /*#__PURE__*/function () {\n  var _ref44 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee41(params) {\n    var url, postData, res;\n    return _regenerator.default.wrap(function _callee41$(_context65) {\n      while (1) switch (_context65.prev = _context65.next) {\n        case 0:\n          url = 'nocode/v2/nocode_sys/wf_center/withdraw';\n          postData = {\n            data: [params]\n          };\n          _context65.next = 4;\n          return (0, _index.post)(url, postData);\n        case 4:\n          res = _context65.sent;\n          return _context65.abrupt(\"return\", res);\n        case 6:\n        case \"end\":\n          return _context65.stop();\n      }\n    }, _callee41);\n  }));\n  return function taskCancel(_x90) {\n    return _ref44.apply(this, arguments);\n  };\n}();\n\n/**\n *  查询列表视图\n */\nvar getViewData = exports.getViewData = /*#__PURE__*/function () {\n  var _ref45 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee42(formId, params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee42$(_context66) {\n      while (1) switch (_context66.prev = _context66.next) {\n        case 0:\n          url = \"/nocode/v2/nocode_sys/list_schema?formId=\".concat(formId);\n          _context66.next = 3;\n          return (0, _index.get)(url, params);\n        case 3:\n          res = _context66.sent;\n          return _context66.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context66.stop();\n      }\n    }, _callee42);\n  }));\n  return function getViewData(_x91, _x92) {\n    return _ref45.apply(this, arguments);\n  };\n}();\n\n/**\n *  根据列表视图ID获取配置\n */\nvar getFormDataListSettingBySchemaId = exports.getFormDataListSettingBySchemaId = /*#__PURE__*/function () {\n  var _ref46 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee43(schemaId, params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee43$(_context67) {\n      while (1) switch (_context67.prev = _context67.next) {\n        case 0:\n          url = \"/nocode/v2/nocode_sys/common/list_config/query?schemaId=\".concat(schemaId);\n          _context67.next = 3;\n          return (0, _index.get)(url, params);\n        case 3:\n          res = _context67.sent;\n          return _context67.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context67.stop();\n      }\n    }, _callee43);\n  }));\n  return function getFormDataListSettingBySchemaId(_x93, _x94) {\n    return _ref46.apply(this, arguments);\n  };\n}();\n\n/**\n *  创建视图/修改视图配置\n */\nvar modifyView = exports.modifyView = /*#__PURE__*/function () {\n  var _ref47 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee44(params) {\n    var url, postData, res;\n    return _regenerator.default.wrap(function _callee44$(_context68) {\n      while (1) switch (_context68.prev = _context68.next) {\n        case 0:\n          url = '/nocode/v2/nocode_sys/list_schema';\n          postData = {\n            data: [params]\n          };\n          _context68.next = 4;\n          return (0, _index.post)(url, postData);\n        case 4:\n          res = _context68.sent;\n          return _context68.abrupt(\"return\", res);\n        case 6:\n        case \"end\":\n          return _context68.stop();\n      }\n    }, _callee44);\n  }));\n  return function modifyView(_x95) {\n    return _ref47.apply(this, arguments);\n  };\n}();\n\n/**\n *  视图排序\n */\nvar sortView = exports.sortView = /*#__PURE__*/function () {\n  var _ref48 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee45(params) {\n    var url, postData, res;\n    return _regenerator.default.wrap(function _callee45$(_context69) {\n      while (1) switch (_context69.prev = _context69.next) {\n        case 0:\n          url = '/nocode/v2/nocode_sys/list_schema/sort';\n          postData = {\n            data: [params]\n          };\n          _context69.next = 4;\n          return (0, _index.post)(url, postData);\n        case 4:\n          res = _context69.sent;\n          return _context69.abrupt(\"return\", res);\n        case 6:\n        case \"end\":\n          return _context69.stop();\n      }\n    }, _callee45);\n  }));\n  return function sortView(_x96) {\n    return _ref48.apply(this, arguments);\n  };\n}();\n\n/**\n *  复制视图\n */\nvar copyView = exports.copyView = /*#__PURE__*/function () {\n  var _ref49 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee46(params) {\n    var url, postData, res;\n    return _regenerator.default.wrap(function _callee46$(_context70) {\n      while (1) switch (_context70.prev = _context70.next) {\n        case 0:\n          url = '/nocode/v2/nocode_sys/list_schema';\n          postData = {\n            data: [params]\n          };\n          _context70.next = 4;\n          return (0, _index.post)(url, postData);\n        case 4:\n          res = _context70.sent;\n          return _context70.abrupt(\"return\", res);\n        case 6:\n        case \"end\":\n          return _context70.stop();\n      }\n    }, _callee46);\n  }));\n  return function copyView(_x97) {\n    return _ref49.apply(this, arguments);\n  };\n}();\n\n/**\n *  删除视图\n */\nvar deleteView = exports.deleteView = /*#__PURE__*/function () {\n  var _ref50 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee47(schemaId, params) {\n    var url, postData, res;\n    return _regenerator.default.wrap(function _callee47$(_context71) {\n      while (1) switch (_context71.prev = _context71.next) {\n        case 0:\n          url = \"/nocode/v2/nocode_sys/list_schema/delete/\".concat(schemaId);\n          postData = {\n            data: [params]\n          };\n          _context71.next = 4;\n          return (0, _index.post)(url, postData);\n        case 4:\n          res = _context71.sent;\n          return _context71.abrupt(\"return\", res);\n        case 6:\n        case \"end\":\n          return _context71.stop();\n      }\n    }, _callee47);\n  }));\n  return function deleteView(_x98, _x99) {\n    return _ref50.apply(this, arguments);\n  };\n}();\n\n/**\n *  获取业务按钮列表\n */\nvar getBizButtonList = exports.getBizButtonList = /*#__PURE__*/function () {\n  var _ref52 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee48(_ref51) {\n    var appId, formId, pkId, _context72, _context73, url, res;\n    return _regenerator.default.wrap(function _callee48$(_context74) {\n      while (1) switch (_context74.prev = _context74.next) {\n        case 0:\n          appId = _ref51.appId, formId = _ref51.formId, pkId = _ref51.pkId;\n          _context74.prev = 1;\n          url = (0, _concat.default)(_context72 = (0, _concat.default)(_context73 = \"/nocode/v2/\".concat(appId, \"/form/\")).call(_context73, formId, \"/bizbuttons/\")).call(_context72, pkId);\n          _context74.next = 5;\n          return (0, _index.get)(url);\n        case 5:\n          res = _context74.sent;\n          return _context74.abrupt(\"return\", res);\n        case 9:\n          _context74.prev = 9;\n          _context74.t0 = _context74[\"catch\"](1);\n          console.log('getBizButtonList error', _context74.t0);\n        case 12:\n        case \"end\":\n          return _context74.stop();\n      }\n    }, _callee48, null, [[1, 9]]);\n  }));\n  return function getBizButtonList(_x100) {\n    return _ref52.apply(this, arguments);\n  };\n}();\n\n/**\n *  打印表单生成pdf\n */\nvar printExportPdf = exports.printExportPdf = /*#__PURE__*/function () {\n  var _ref53 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee49(params) {\n    var url, res;\n    return _regenerator.default.wrap(function _callee49$(_context75) {\n      while (1) switch (_context75.prev = _context75.next) {\n        case 0:\n          url = '/nocode/v2/nocode_sys/common/print/exportPdf';\n          _context75.next = 3;\n          return (0, _index.post)(url, params);\n        case 3:\n          res = _context75.sent;\n          return _context75.abrupt(\"return\", res);\n        case 5:\n        case \"end\":\n          return _context75.stop();\n      }\n    }, _callee49);\n  }));\n  return function printExportPdf(_x101) {\n    return _ref53.apply(this, arguments);\n  };\n}();\n\n// 执行请求，表单列表预览excel用\nvar doMethod = exports.doMethod = /*#__PURE__*/function () {\n  var _ref55 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee50(_ref54) {\n    var type, url, params, request, res;\n    return _regenerator.default.wrap(function _callee50$(_context76) {\n      while (1) switch (_context76.prev = _context76.next) {\n        case 0:\n          type = _ref54.type, url = _ref54.url, params = _ref54.params;\n          request = type === 'get' ? _index.get : _index.post;\n          _context76.next = 4;\n          return request(url, params);\n        case 4:\n          res = _context76.sent;\n          return _context76.abrupt(\"return\", res);\n        case 6:\n        case \"end\":\n          return _context76.stop();\n      }\n    }, _callee50);\n  }));\n  return function doMethod(_x102) {\n    return _ref55.apply(this, arguments);\n  };\n}();//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64, \n//# sourceURL=webpack-internal:///./src/actions/apps.ts\n");

/***/ }),

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

eval("\n\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ \"../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js\");\n_Object$defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\nvar _react = __webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\");\nvar _app = __webpack_require__(/*! @/app */ \"./src/app.jsx\");\n/**\n * 封装一层，减少每次引入多个，context是高频使用的，能少写一行是一行\n */\n\nvar useAppContext = function useAppContext() {\n  var _useContext = (0, _react.useContext)(_app.Context),\n    state = _useContext.state,\n    dispatch = _useContext.dispatch,\n    sendUiData = _useContext.sendUiData;\n  return {\n    state: state,\n    dispatch: dispatch,\n    sendUiData: sendUiData\n  };\n};\nvar _default = exports[\"default\"] = useAppContext;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvaG9va3MvdXNlQXBwQ29udGV4dC5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7O0FBR0E7QUFDQTtBQUpBO0FBQ0E7QUFDQTs7QUFHQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBQUEiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9ub2NvZGUtcGxhdGZvcm0vLi9zcmMvaG9va3MvdXNlQXBwQ29udGV4dC5qcz84NTRkIl0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICog5bCB6KOF5LiA5bGC77yM5YeP5bCR5q+P5qyh5byV5YWl5aSa5Liq77yMY29udGV4dOaYr+mrmOmikeS9v+eUqOeahO+8jOiDveWwkeWGmeS4gOihjOaYr+S4gOihjFxuICovXG5pbXBvcnQgeyB1c2VDb250ZXh0IH0gZnJvbSAncmVhY3QnXG5pbXBvcnQgeyBDb250ZXh0IH0gZnJvbSAnQC9hcHAnXG5jb25zdCB1c2VBcHBDb250ZXh0ID0gKCkgPT4ge1xuICBjb25zdCB7IHN0YXRlLCBkaXNwYXRjaCwgc2VuZFVpRGF0YSB9ID0gdXNlQ29udGV4dChDb250ZXh0KVxuICByZXR1cm4geyBzdGF0ZSwgZGlzcGF0Y2gsIHNlbmRVaURhdGEgfVxufVxuZXhwb3J0IGRlZmF1bHQgdXNlQXBwQ29udGV4dFxuIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/hooks/useAppContext.js\n");

/***/ })

}]);