"use strict";
/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file 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_component"] = self["webpackChunknocode_component"] || []).push([[284],{

/***/ "./src/control/mobile/WebMsg/index.less":
/*!**********************************************!*\
  !*** ./src/control/mobile/WebMsg/index.less ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\"popup\":\"dHbCVF9q_popup\"});\n\n//# sourceURL=webpack://nocode-component/./src/control/mobile/WebMsg/index.less?");

/***/ }),

/***/ "./src/base/mobile/WebMsg/index.tsx":
/*!******************************************!*\
  !*** ./src/base/mobile/WebMsg/index.tsx ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   clearModal: function() { return /* binding */ clearModal; },\n/* harmony export */   clearToast: function() { return /* binding */ clearToast; },\n/* harmony export */   showConfirm: function() { return /* binding */ showConfirm; },\n/* harmony export */   showDialog: function() { return /* binding */ showDialog; },\n/* harmony export */   showErrMsg: function() { return /* binding */ showErrMsg; },\n/* harmony export */   showModalConfirm: function() { return /* binding */ showModalConfirm; },\n/* harmony export */   showNotificationMsg: function() { return /* binding */ showNotificationMsg; },\n/* harmony export */   showToast: function() { return /* binding */ showToast; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.number.constructor.js */ \"../../node_modules/core-js/modules/es.number.constructor.js\");\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"../../node_modules/core-js/modules/es.regexp.exec.js\");\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ \"../../node_modules/core-js/modules/es.string.replace.js\");\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.for-each.js */ \"../../node_modules/core-js/modules/web.dom-collections.for-each.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var kd_libs_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\");\n/* harmony import */ var kd_libs_react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(kd_libs_react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var kd_libs_kdesignm1__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\n/* harmony import */ var kd_libs_kdesignm1__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(kd_libs_kdesignm1__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _control_mobile_main__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @/control/mobile/main */ \"./src/control/mobile/main.tsx\");\n/* harmony import */ var _assets_svg_confirm_modal_success_svg__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @@/assets/svg/confirm_modal_success.svg */ \"./assets/svg/confirm_modal_success.svg\");\n/* harmony import */ var _assets_svg_confirm_modal_fail_svg__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @@/assets/svg/confirm_modal_fail.svg */ \"./assets/svg/confirm_modal_fail.svg\");\n/* harmony import */ var _assets_svg_confirm_modal_warning_svg__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @@/assets/svg/confirm_modal_warning.svg */ \"./assets/svg/confirm_modal_warning.svg\");\n/* harmony import */ var _assets_svg_confirm_modal_delete_svg__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @@/assets/svg/confirm_modal_delete.svg */ \"./assets/svg/confirm_modal_delete.svg\");\n/* harmony import */ var _assets_svg_confirm_modal_prompt_svg__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @@/assets/svg/confirm_modal_prompt.svg */ \"./assets/svg/confirm_modal_prompt.svg\");\n/* harmony import */ var _assets_svg_confirm_modal_waiting_svg__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @@/assets/svg/confirm_modal_waiting.svg */ \"./assets/svg/confirm_modal_waiting.svg\");\n/* harmony import */ var _assets_svg_confirm_modal_wait_svg__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @@/assets/svg/confirm_modal_wait.svg */ \"./assets/svg/confirm_modal_wait.svg\");\n/* harmony import */ var _assets_svg_confirm_modal_default_svg__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @@/assets/svg/confirm_modal_default.svg */ \"./assets/svg/confirm_modal_default.svg\");\n/* harmony import */ var _assets_svg_confirm_modal_save_svg__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @@/assets/svg/confirm_modal_save.svg */ \"./assets/svg/confirm_modal_save.svg\");\n/* harmony import */ var _assets_svg_confirm_modal_ie_svg__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @@/assets/svg/confirm_modal_ie.svg */ \"./assets/svg/confirm_modal_ie.svg\");\n/* harmony import */ var _constants_confirmButton__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @/constants/confirmButton */ \"./src/constants/confirmButton.js\");\n\n\n\n\n\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2022-11-03 16:21:43\n * @LastEditTime: 2023-03-09 17:38:19\n * @Last Modified by: jianhang_he\n */\n\n\n// import { Modal } from '@kdcloudjs/kdesign'\n// import ComponentFactory from '@/utils/ComponentFactory'\n// import { DeleteConfirmModal } from '../WebMsg/ConfirmModal'\n\n// 图标\n\n\n\n\n\n\n\n\n\n\n\n\n// import BillForm from './BillForm'\n\n/**\n * 显示dialog\n * @param args\n */\nfunction showDialog(args, model) {\n  var pageId = args.pageId,\n    param = args.param;\n  kd_libs_kdesignm1__WEBPACK_IMPORTED_MODULE_6__.Modal.error({\n    title: '错误提示',\n    body: /*#__PURE__*/kd_libs_react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_control_mobile_main__WEBPACK_IMPORTED_MODULE_7__.Main, {\n      model: model,\n      meta: param,\n      pageId: pageId\n    }),\n    width: 360,\n    height: 400\n  });\n}\n\n/**\n * 显示错误信息\n * @param args\n */\nfunction showErrMsg(args) {\n  var param = args.param;\n  showModalConfirm({\n    title: '错误提示',\n    content: param[0].errorInfo.substr(0, 1000),\n    // 防止后台堆栈信息太大\n    actions: [{\n      key: '1',\n      text: '我知道了'\n    }]\n  });\n}\n\n/**\n * 显示提示信息，移动端消息为Toast信息\n * @param args\n */\nfunction showNotificationMsg(args) {\n  Array.isArray(args.param) && args.param.forEach(function (info) {\n    var content = info.content,\n      type = info.type,\n      duration = info.duration;\n    showToast({\n      content: content,\n      type: type,\n      duration: duration\n    });\n  });\n}\n\n/**\n * conform\n * @param args\n * @param model\n */\nfunction showConfirm(args, model) {\n  var param = args.param,\n    pageId = args.pageId;\n  var _ref = (param === null || param === void 0 ? void 0 : param[0]) || {},\n    id = _ref.id,\n    confirmType = _ref.confirmType,\n    msg = _ref.msg,\n    btnType = _ref.button_type;\n  var confirmIcon = [_assets_svg_confirm_modal_default_svg__WEBPACK_IMPORTED_MODULE_15__, _assets_svg_confirm_modal_save_svg__WEBPACK_IMPORTED_MODULE_16__, _assets_svg_confirm_modal_delete_svg__WEBPACK_IMPORTED_MODULE_11__, _assets_svg_confirm_modal_wait_svg__WEBPACK_IMPORTED_MODULE_14__, _assets_svg_confirm_modal_ie_svg__WEBPACK_IMPORTED_MODULE_17__];\n  var key = (0,_constants_confirmButton__WEBPACK_IMPORTED_MODULE_18__.getConfirmBtnKey)(btnType);\n  var onAction = function onAction() {\n    model.batchInvoke('afterConfirm', pageId, '', [id, key, '']);\n  };\n  showModalConfirm({\n    headIcon: /*#__PURE__*/kd_libs_react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"img\", {\n      src: confirmIcon[confirmType || 0],\n      style: {\n        height: 48,\n        width: 84\n      }\n    }),\n    title: msg || '',\n    actions: [{\n      key: 'submit',\n      text: '我知道了',\n      primary: true\n    }],\n    onAction: onAction\n  });\n}\n\n/**\n * Toast消息\n */\n\nfunction showToast(_ref2) {\n  var content = _ref2.content,\n    type = _ref2.type,\n    _ref2$duration = _ref2.duration,\n    duration = _ref2$duration === void 0 ? 2000 : _ref2$duration,\n    afterClose = _ref2.afterClose;\n  type = Number(type);\n  if (Number(type) >= 0) {\n    var toastIcon = ['wanchengzhengque', 'jinggao', 'cuowuweixian', 'tishi2'];\n    var index = type > 3 ? 3 : type;\n    content = /*#__PURE__*/kd_libs_react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n      style: {\n        textAlign: 'center'\n      }\n    }, /*#__PURE__*/kd_libs_react__WEBPACK_IMPORTED_MODULE_5___default().createElement(kd_libs_kdesignm1__WEBPACK_IMPORTED_MODULE_6__.Icon, {\n      type: toastIcon[index],\n      prefix: \"ncicon\",\n      style: {\n        fontSize: 36\n      }\n    }), /*#__PURE__*/kd_libs_react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", null, content.replace(/[，。、？！@#￥%……&*.?!,]+$/g, '')));\n  }\n  kd_libs_kdesignm1__WEBPACK_IMPORTED_MODULE_6__.Toast.show({\n    content: content,\n    duration: duration,\n    afterClose: afterClose\n  });\n}\n\n/**\n * 弹窗\n */\n\nfunction showModalConfirm(_ref3) {\n  var type = _ref3.type,\n    content = _ref3.content,\n    title = _ref3.title,\n    actions = _ref3.actions,\n    headIcon = _ref3.headIcon,\n    onAction = _ref3.onAction;\n  var header = headIcon || null;\n  type = Number(type);\n  if (type >= 0) {\n    var icon = [_assets_svg_confirm_modal_success_svg__WEBPACK_IMPORTED_MODULE_8__, _assets_svg_confirm_modal_warning_svg__WEBPACK_IMPORTED_MODULE_10__, _assets_svg_confirm_modal_fail_svg__WEBPACK_IMPORTED_MODULE_9__, _assets_svg_confirm_modal_delete_svg__WEBPACK_IMPORTED_MODULE_11__, _assets_svg_confirm_modal_waiting_svg__WEBPACK_IMPORTED_MODULE_13__, _assets_svg_confirm_modal_prompt_svg__WEBPACK_IMPORTED_MODULE_12__];\n    var index = type > 5 ? 5 : type;\n    header = /*#__PURE__*/kd_libs_react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"img\", {\n      src: icon[index],\n      style: {\n        height: 48,\n        width: 84\n      }\n    });\n  }\n  kd_libs_kdesignm1__WEBPACK_IMPORTED_MODULE_6__.Modal.confirm({\n    header: header,\n    title: title,\n    content: content,\n    actions: actions,\n    onAction: onAction\n  });\n}\nfunction clearModal() {\n  kd_libs_kdesignm1__WEBPACK_IMPORTED_MODULE_6__.Modal.clear();\n}\nfunction clearToast() {\n  kd_libs_kdesignm1__WEBPACK_IMPORTED_MODULE_6__.Toast.clear();\n}\n\n\n//# sourceURL=webpack://nocode-component/./src/base/mobile/WebMsg/index.tsx?");

/***/ }),

/***/ "./src/control/mobile/WebMsg/index.tsx":
/*!*********************************************!*\
  !*** ./src/control/mobile/WebMsg/index.tsx ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   showModalForm: function() { return /* binding */ showModalForm; }\n/* harmony export */ });\n/* harmony import */ var kd_libs_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\");\n/* harmony import */ var kd_libs_react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(kd_libs_react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var kd_libs_react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! kd_libs/react-dom */ \"webpack/container/remote/kd_libs/react-dom\");\n/* harmony import */ var kd_libs_react_dom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(kd_libs_react_dom__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var kd_libs_kdesignm1__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! kd_libs/kdesignm1 */ \"webpack/container/remote/kd_libs/kdesignm1\");\n/* harmony import */ var kd_libs_kdesignm1__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(kd_libs_kdesignm1__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _main__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../main */ \"./src/control/mobile/main.tsx\");\n/* harmony import */ var _index_less__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./index.less */ \"./src/control/mobile/WebMsg/index.less\");\n\n\n\n// import { showNotificationMsg, showErrMsg, showConfirm } from '@/base/mobile/WebMsg'\n\n\n\n/**\n * 在Modal里打开form\n * @param args {pageId, meta}\n * @param model bosAPI函数\n * @returns ()=>void\n */\nvar showModalForm = function showModalForm(args, model) {\n  var pageId = args.pageId,\n    meta = args.param;\n  var _model$getConfig = model.getConfig(pageId),\n    caption = _model$getConfig.caption;\n  var close = function close() {\n    kd_libs_react_dom__WEBPACK_IMPORTED_MODULE_1___default().unmountComponentAtNode(div);\n    document.body.removeChild(div);\n  };\n  var div = document.createElement('div');\n  document.body.appendChild(div);\n  kd_libs_react_dom__WEBPACK_IMPORTED_MODULE_1___default().render( /*#__PURE__*/kd_libs_react__WEBPACK_IMPORTED_MODULE_0___default().createElement(kd_libs_kdesignm1__WEBPACK_IMPORTED_MODULE_2__.Popup, {\n    title: model.getControlText(caption) || '',\n    footer: null,\n    visible: true,\n    className: _index_less__WEBPACK_IMPORTED_MODULE_4__[\"default\"].popup,\n    placement: \"bottom\",\n    getContainer: function getContainer() {\n      return div;\n    },\n    onClose: close,\n    destroyOnClose: true\n    // zIndex={10000}\n    ,\n    maskClosable: false\n    // bodyStyle={{ padding: 0, display: 'flex', overflow: 'hidden' }}\n  }, /*#__PURE__*/kd_libs_react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_main__WEBPACK_IMPORTED_MODULE_3__.Main, {\n    model: model,\n    meta: meta,\n    pageId: pageId\n  })), div);\n  return function () {\n    return close();\n  };\n};\n\n\n//# sourceURL=webpack://nocode-component/./src/control/mobile/WebMsg/index.tsx?");

/***/ }),

/***/ "./src/control/mobile/index.ts":
/*!*************************************!*\
  !*** ./src/control/mobile/index.ts ***!
  \*************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   advbaritem: function() { return /* binding */ advbaritem; },\n/* harmony export */   advcon: function() { return /* binding */ advcon; },\n/* harmony export */   advconchild: function() { return /* binding */ advconchild; },\n/* harmony export */   advcontoolbar: function() { return /* binding */ advcontoolbar; },\n/* harmony export */   attachmentfield: function() { return /* binding */ attachmentfield; },\n/* harmony export */   billform: function() { return /* binding */ billform; },\n/* harmony export */   button: function() { return /* binding */ button; },\n/* harmony export */   checkbox: function() { return /* binding */ checkbox; },\n/* harmony export */   combo: function() { return /* binding */ combo; },\n/* harmony export */   date: function() { return /* binding */ date; },\n/* harmony export */   daterange: function() { return /* binding */ daterange; },\n/* harmony export */   datetime: function() { return /* binding */ datetime; },\n/* harmony export */   email: function() { return /* binding */ email; },\n/* harmony export */   flexpanel: function() { return /* binding */ flexpanel; },\n/* harmony export */   grid: function() { return /* binding */ grid; },\n/* harmony export */   gridpanel: function() { return /* binding */ gridpanel; },\n/* harmony export */   groupcontainer: function() { return /* binding */ groupcontainer; },\n/* harmony export */   gtd: function() { return /* binding */ gtd; },\n/* harmony export */   idcard: function() { return /* binding */ idcard; },\n/* harmony export */   month: function() { return /* binding */ month; },\n/* harmony export */   mulcombo: function() { return /* binding */ mulcombo; },\n/* harmony export */   nocodebill: function() { return /* binding */ nocodebill; },\n/* harmony export */   number: function() { return /* binding */ number; },\n/* harmony export */   passwordbox: function() { return /* binding */ passwordbox; },\n/* harmony export */   picture: function() { return /* binding */ picture; },\n/* harmony export */   radio: function() { return /* binding */ radio; },\n/* harmony export */   refbill: function() { return /* binding */ refbill; },\n/* harmony export */   refbilllist: function() { return /* binding */ refbilllist; },\n/* harmony export */   reftable: function() { return /* binding */ reftable; },\n/* harmony export */   richtext: function() { return /* binding */ richtext; },\n/* harmony export */   telephone: function() { return /* binding */ telephone; },\n/* harmony export */   text: function() { return /* binding */ text; },\n/* harmony export */   textarea: function() { return /* binding */ textarea; },\n/* harmony export */   timerange: function() { return /* binding */ timerange; },\n/* harmony export */   url: function() { return /* binding */ url; },\n/* harmony export */   year: function() { return /* binding */ year; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.iterator.js */ \"../../node_modules/core-js/modules/es.array.iterator.js\");\n/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"../../node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.promise.js */ \"../../node_modules/core-js/modules/es.promise.js\");\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.iterator.js */ \"../../node_modules/core-js/modules/es.string.iterator.js\");\n/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! core-js/modules/web.dom-collections.iterator.js */ \"../../node_modules/core-js/modules/web.dom-collections.iterator.js\");\n/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var kd_libs_react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\");\n/* harmony import */ var kd_libs_react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(kd_libs_react__WEBPACK_IMPORTED_MODULE_5__);\n\n\n\n\n\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2022-08-23 09:57:18\n * @LastEditTime: 2023-09-25 13:32:07\n * @Last Modified by: jianhang_he\n */\n\n// import './index.less'\n\n/** **********************常用类 ****************************** **/\n// button控件\nvar button = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-1 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(84), __webpack_require__.e(832)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Button */ \"./src/control/mobile/Button/index.tsx\"));\n});\n// 文本\nvar text = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-1 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(84), __webpack_require__.e(832)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Text */ \"./src/control/mobile/Text/index.tsx\"));\n});\n// 手机号\nvar telephone = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-1 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(84), __webpack_require__.e(832)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Telephone */ \"./src/control/mobile/Telephone/index.tsx\"));\n});\n// 密码\nvar passwordbox = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-1 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(84), __webpack_require__.e(832)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Password */ \"./src/control/mobile/Password/index.tsx\"));\n});\n// 身份证\nvar idcard = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-1 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(84), __webpack_require__.e(832)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Text */ \"./src/control/mobile/Text/index.tsx\"));\n});\n// 邮箱\nvar email = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-1 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(84), __webpack_require__.e(832)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Text */ \"./src/control/mobile/Text/index.tsx\"));\n});\n// 网址\nvar url = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-1 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(84), __webpack_require__.e(832)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Text */ \"./src/control/mobile/Text/index.tsx\"));\n});\n// 多行文本\nvar textarea = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-1 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(84), __webpack_require__.e(832)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Textarea */ \"./src/control/mobile/Textarea/index.tsx\"));\n});\n// 下拉单选\nvar combo = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-1 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(84), __webpack_require__.e(832)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Select */ \"./src/control/mobile/Select/index.tsx\"));\n});\n// 下拉多选\nvar mulcombo = combo;\n// 单选按钮\nvar radio = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-1 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(84), __webpack_require__.e(832)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Radio */ \"./src/control/mobile/Radio/index.tsx\"));\n});\n// 多选按钮\nvar checkbox = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-1 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(84), __webpack_require__.e(832)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Checkbox */ \"./src/control/mobile/Checkbox/index.tsx\"));\n});\n// 数字\nvar number = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-1 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(84), __webpack_require__.e(832)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Number */ \"./src/control/mobile/Number/index.tsx\"));\n});\n// 日期\nvar datetime = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-1 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(84), __webpack_require__.e(832)]).then(__webpack_require__.bind(__webpack_require__, /*! ./DatePicker */ \"./src/control/mobile/DatePicker/index.tsx\"));\n}); // 秒\nvar date = datetime; // 日\nvar year = datetime; // 年\nvar month = datetime; // 月\n// 日期范围\nvar timerange = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-1 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(84), __webpack_require__.e(832)]).then(__webpack_require__.bind(__webpack_require__, /*! ./DateRangePicker */ \"./src/control/mobile/DateRangePicker/index.tsx\"));\n});\nvar daterange = timerange;\n\n/** ********************** 容器类 ****************************** **/\n// grid容器\nvar gridpanel = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-2 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(880)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Grid */ \"./src/control/mobile/Grid/index.tsx\"));\n});\n// flex面板\nvar flexpanel = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-2 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(880)]).then(__webpack_require__.bind(__webpack_require__, /*! ./FlexPanel */ \"./src/control/mobile/FlexPanel/index.tsx\"));\n});\n// bill表单\nvar billform = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-2 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(880)]).then(__webpack_require__.bind(__webpack_require__, /*! ./BillForm */ \"./src/control/mobile/BillForm/index.tsx\"));\n});\nvar nocodebill = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-2 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(880)]).then(__webpack_require__.bind(__webpack_require__, /*! ./BillForm */ \"./src/control/mobile/BillForm/index.tsx\"));\n});\n// 分组\nvar groupcontainer = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-2 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(880)]).then(__webpack_require__.bind(__webpack_require__, /*! ./GroupContainer */ \"./src/control/mobile/GroupContainer/index.tsx\"));\n});\n\n/** ********************** 不是很常用的 ****************************** **/\n// 关联表单\nvar refbill = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-3 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(780), __webpack_require__.e(604), __webpack_require__.e(868)]).then(__webpack_require__.bind(__webpack_require__, /*! ./RefBill */ \"./src/control/mobile/RefBill/index.tsx\"));\n});\nvar refbilllist = refbill;\n\n// 附件\nvar attachmentfield = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-3 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(780), __webpack_require__.e(604), __webpack_require__.e(868)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Attachment */ \"./src/control/mobile/Attachment/index.tsx\"));\n});\n// 图片\nvar picture = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-3 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(780), __webpack_require__.e(604), __webpack_require__.e(868)]).then(__webpack_require__.bind(__webpack_require__, /*! ./Picture */ \"./src/control/mobile/Picture/index.tsx\"));\n});\n// 富文本\nvar richtext = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-3 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(780), __webpack_require__.e(604), __webpack_require__.e(868)]).then(__webpack_require__.bind(__webpack_require__, /*! ./RichText */ \"./src/control/mobile/RichText/index.tsx\"));\n});\n// 图文展示\nvar gtd = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-3 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(780), __webpack_require__.e(604), __webpack_require__.e(868)]).then(__webpack_require__.bind(__webpack_require__, /*! ./GraphicDisplay */ \"./src/control/mobile/GraphicDisplay/index.tsx\"));\n});\n\n/** ********************** 表格类 ****************************** **/\n// 表格\nvar grid = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-4 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(780), __webpack_require__.e(84), __webpack_require__.e(604), __webpack_require__.e(440)]).then(__webpack_require__.bind(__webpack_require__, /*! ./DataGrid */ \"./src/control/mobile/DataGrid/index.tsx\"));\n});\nvar reftable = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-4 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(780), __webpack_require__.e(84), __webpack_require__.e(604), __webpack_require__.e(440)]).then(__webpack_require__.bind(__webpack_require__, /*! ./RefTable */ \"./src/control/mobile/RefTable/index.tsx\"));\n});\n// 表格-主容器\nvar advcon = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-4 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(780), __webpack_require__.e(84), __webpack_require__.e(604), __webpack_require__.e(440)]).then(__webpack_require__.bind(__webpack_require__, /*! ./AdvContainer */ \"./src/control/mobile/AdvContainer/index.tsx\"));\n});\n// 表格-工具栏-容器\nvar advcontoolbar = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-4 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(780), __webpack_require__.e(84), __webpack_require__.e(604), __webpack_require__.e(440)]).then(__webpack_require__.bind(__webpack_require__, /*! ./AdvContainerToolBar */ \"./src/control/mobile/AdvContainerToolBar/index.tsx\"));\n});\n// 表格-子容器\nvar advconchild = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-4 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(780), __webpack_require__.e(84), __webpack_require__.e(604), __webpack_require__.e(440)]).then(__webpack_require__.bind(__webpack_require__, /*! ./AdvContainerChild */ \"./src/control/mobile/AdvContainerChild/index.tsx\"));\n});\n// 表格-工具栏-按钮\nvar advbaritem = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_5__.lazy)(function () {\n  return Promise.all(/*! import() | m-4 */[__webpack_require__.e(740), __webpack_require__.e(12), __webpack_require__.e(424), __webpack_require__.e(840), __webpack_require__.e(36), __webpack_require__.e(680), __webpack_require__.e(336), __webpack_require__.e(896), __webpack_require__.e(780), __webpack_require__.e(84), __webpack_require__.e(604), __webpack_require__.e(440)]).then(__webpack_require__.bind(__webpack_require__, /*! ./AdvBarItem */ \"./src/control/mobile/AdvBarItem/index.tsx\"));\n});\n\n//# sourceURL=webpack://nocode-component/./src/control/mobile/index.ts?");

/***/ }),

/***/ "./src/control/mobile/main.tsx":
/*!*************************************!*\
  !*** ./src/control/mobile/main.tsx ***!
  \*************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Main: function() { return /* binding */ Main; },\n/* harmony export */   showConfirm: function() { return /* reexport safe */ _base_mobile_WebMsg__WEBPACK_IMPORTED_MODULE_6__.showConfirm; },\n/* harmony export */   showErrMsg: function() { return /* reexport safe */ _base_mobile_WebMsg__WEBPACK_IMPORTED_MODULE_6__.showErrMsg; },\n/* harmony export */   showModalForm: function() { return /* reexport safe */ _WebMsg__WEBPACK_IMPORTED_MODULE_5__.showModalForm; },\n/* harmony export */   showNotificationMsg: function() { return /* reexport safe */ _base_mobile_WebMsg__WEBPACK_IMPORTED_MODULE_6__.showNotificationMsg; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ \"../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js\");\n/* harmony import */ var kd_libs_react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! kd_libs/react */ \"webpack/container/remote/kd_libs/react\");\n/* harmony import */ var kd_libs_react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(kd_libs_react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _utils_context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/context */ \"./src/utils/context.ts\");\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./index */ \"./src/control/mobile/index.ts\");\n/* harmony import */ var _utils_ComponentFactory__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/utils/ComponentFactory */ \"./src/utils/ComponentFactory.tsx\");\n/* harmony import */ var _WebMsg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./WebMsg */ \"./src/control/mobile/WebMsg/index.tsx\");\n/* harmony import */ var _base_mobile_WebMsg__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @/base/mobile/WebMsg */ \"./src/base/mobile/WebMsg/index.tsx\");\n/* harmony import */ var _assets_icon_ncicon_css__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../assets/icon/ncicon.css */ \"./assets/icon/ncicon.css\");\n/* harmony import */ var _assets_icon_ncicon_css__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_assets_icon_ncicon_css__WEBPACK_IMPORTED_MODULE_7__);\n\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2022-08-23 09:57:18\n * @LastEditTime: 2022-08-25 10:13:31\n * @Last Modified by: jianhang_he\n */\n\n// import ReactDOM from 'react-dom'\n// import { Popup } from 'kdesign-mobile'\n\n\n\n\n\n\n/**\n * 组件主入口\n * @param meta 元数据\n * @param pageId 页面ID\n * @param model 函数工具包\n * @returns\n */\n\nfunction Main(props) {\n  var controlMeta = props.meta,\n    model = props.model,\n    pageId = props.pageId;\n  var _useState = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_1__.useState)(controlMeta),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    meta = _useState2[0],\n    setMeta = _useState2[1];\n  var _useReducer = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_1__.useReducer)(function (x) {\n      return x + 1;\n    }, 0),\n    _useReducer2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useReducer, 2),\n    forceUpdate = _useReducer2[1];\n\n  // 初始化组件,可根据PC/移动不同注入不同组件\n  _utils_ComponentFactory__WEBPACK_IMPORTED_MODULE_4__[\"default\"].init(_index__WEBPACK_IMPORTED_MODULE_3__, meta);\n\n  /**\n   * 刷新页面\n   * @param id 刷新的哪个pageid\n   */\n  var refreshPage = (0,kd_libs_react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (_ref) {\n    var id = _ref.pageId;\n    pageId === id && forceUpdate();\n  }, [pageId]);\n\n  // 刷新表单，事件侦听\n  model.useRefreshFormMeta({\n    pageId: pageId\n  }, function () {\n    return setMeta(model.getAllMeta());\n  });\n  // 刷新表单状态，事件侦听\n  model.useRefreshFormStatus(refreshPage);\n  return /*#__PURE__*/kd_libs_react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_utils_context__WEBPACK_IMPORTED_MODULE_2__.KDContext.Provider, {\n    value: {\n      meta: meta,\n      model: model\n    }\n  }, _utils_ComponentFactory__WEBPACK_IMPORTED_MODULE_4__[\"default\"].getChildren({\n    pageId: pageId,\n    id: ''\n  }, meta));\n}\n\n\n//# sourceURL=webpack://nocode-component/./src/control/mobile/main.tsx?");

/***/ }),

/***/ "./assets/svg/confirm_modal_waiting.svg":
/*!**********************************************!*\
  !*** ./assets/svg/confirm_modal_waiting.svg ***!
  \**********************************************/
/***/ (function(module) {

eval("module.exports = \"data:image/svg+xml;base64, \";\n\n//# sourceURL=webpack://nocode-component/./assets/svg/confirm_modal_waiting.svg?");

/***/ })

}]);