bulade-ui 1.1.7 → 1.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/miniprogram_dist/bld-action-sheet/index.js +2 -2
  2. package/miniprogram_dist/bld-action-sheet/index.js.map +1 -1
  3. package/miniprogram_dist/bld-badge/index.js +2 -2
  4. package/miniprogram_dist/bld-badge/index.js.map +1 -1
  5. package/miniprogram_dist/bld-checkbox/index.js +2 -2
  6. package/miniprogram_dist/bld-checkbox/index.js.map +1 -1
  7. package/miniprogram_dist/bld-checkbox-group/index.js +2 -2
  8. package/miniprogram_dist/bld-checkbox-group/index.js.map +1 -1
  9. package/miniprogram_dist/bld-collapse/index.js +2 -2
  10. package/miniprogram_dist/bld-collapse/index.js.map +1 -1
  11. package/miniprogram_dist/bld-drawer/index.js +2 -2
  12. package/miniprogram_dist/bld-drawer/index.js.map +1 -1
  13. package/miniprogram_dist/bld-html/index.js +130 -0
  14. package/miniprogram_dist/bld-html/index.js.map +1 -0
  15. package/miniprogram_dist/bld-html/index.json +6 -0
  16. package/miniprogram_dist/bld-html/index.wxml +8 -0
  17. package/miniprogram_dist/bld-html/index.wxss +6 -0
  18. package/miniprogram_dist/bld-message/index.js +2 -2
  19. package/miniprogram_dist/bld-message/index.js.map +1 -1
  20. package/miniprogram_dist/bld-message/message.js +2 -2
  21. package/miniprogram_dist/bld-message/message.js.map +1 -1
  22. package/miniprogram_dist/bld-modal/index.js +2 -2
  23. package/miniprogram_dist/bld-modal/index.js.map +1 -1
  24. package/miniprogram_dist/bld-modal/modal.js +2 -2
  25. package/miniprogram_dist/bld-modal/modal.js.map +1 -1
  26. package/miniprogram_dist/bld-navbar/index.js +2 -2
  27. package/miniprogram_dist/bld-navbar/index.js.map +1 -1
  28. package/miniprogram_dist/bld-navbar-group/index.js +2 -2
  29. package/miniprogram_dist/bld-navbar-group/index.js.map +1 -1
  30. package/miniprogram_dist/bld-progress/index.js +2 -2
  31. package/miniprogram_dist/bld-progress/index.js.map +1 -1
  32. package/miniprogram_dist/bld-radio/index.js +2 -2
  33. package/miniprogram_dist/bld-radio/index.js.map +1 -1
  34. package/miniprogram_dist/bld-radio-group/index.js +2 -2
  35. package/miniprogram_dist/bld-radio-group/index.js.map +1 -1
  36. package/miniprogram_dist/bld-tag/index.js +2 -2
  37. package/miniprogram_dist/bld-tag/index.js.map +1 -1
  38. package/miniprogram_dist/bld-toast/index.js +2 -2
  39. package/miniprogram_dist/bld-toast/index.js.map +1 -1
  40. package/miniprogram_dist/bld-toast/toast.js +2 -2
  41. package/miniprogram_dist/bld-toast/toast.js.map +1 -1
  42. package/miniprogram_dist/cell/index.js +2 -2
  43. package/miniprogram_dist/cell/index.js.map +1 -1
  44. package/miniprogram_dist/cell-group/index.js +2 -2
  45. package/miniprogram_dist/cell-group/index.js.map +1 -1
  46. package/miniprogram_dist/components-npm/mp-weixin/index.js +488 -0
  47. package/miniprogram_dist/components-npm/mp-weixin/index.js.map +1 -0
  48. package/miniprogram_dist/components-npm/mp-weixin/index.json +1 -0
  49. package/miniprogram_dist/components-npm/mp-weixin/index.wxml +1 -0
  50. package/miniprogram_dist/components-npm/mp-weixin/index.wxss +1 -0
  51. package/miniprogram_dist/components-npm/mp-weixin/node/node.js +164 -0
  52. package/miniprogram_dist/components-npm/mp-weixin/node/node.js.map +1 -0
  53. package/miniprogram_dist/components-npm/mp-weixin/node/node.json +1 -0
  54. package/miniprogram_dist/components-npm/mp-weixin/node/node.wxml +1 -0
  55. package/miniprogram_dist/components-npm/mp-weixin/node/node.wxss +1 -0
  56. package/miniprogram_dist/grid/index.js +2 -2
  57. package/miniprogram_dist/grid/index.js.map +1 -1
  58. package/miniprogram_dist/grid-item/index.js +2 -2
  59. package/miniprogram_dist/grid-item/index.js.map +1 -1
  60. package/miniprogram_dist/icon/index.js +2 -2
  61. package/miniprogram_dist/icon/index.js.map +1 -1
  62. package/miniprogram_dist/timeline/index.js +2 -2
  63. package/miniprogram_dist/timeline/index.js.map +1 -1
  64. package/miniprogram_dist/timeline-item/index.js +2 -2
  65. package/miniprogram_dist/timeline-item/index.js.map +1 -1
  66. package/package.json +1 -1
  67. package/project.config.json +3 -0
  68. package/src/bld-html/index.js +30 -0
  69. package/src/bld-html/index.json +6 -0
  70. package/src/bld-html/index.scss +6 -0
  71. package/src/bld-html/index.wxml +8 -0
  72. package/src/bld-html/index.wxss +6 -0
  73. package/src/components-npm/mp-weixin/index.js +8 -0
  74. package/src/components-npm/mp-weixin/index.json +1 -0
  75. package/src/components-npm/mp-weixin/index.wxml +1 -0
  76. package/src/components-npm/mp-weixin/index.wxss +1 -0
  77. package/src/components-npm/mp-weixin/node/node.js +1 -0
  78. package/src/components-npm/mp-weixin/node/node.json +1 -0
  79. package/src/components-npm/mp-weixin/node/node.wxml +1 -0
  80. package/src/components-npm/mp-weixin/node/node.wxss +1 -0
  81. package/src/components-npm/mp-weixin/parser.js +1 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/cell/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","properties","icon","String","value","image","title","isMultiple","Boolean","border","iconColor","linkType","url","methods","updateCellBorder","setData","onClick","triggerEvent","data","wx","call"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,aAAW;AACT,2BAAuB;AACrBC,YAAM;AADe;AADd,GAPH;;AAaRC,cAAY;AACVC,UAAM;AACJF,YAAMG,MADF;AAEJC,aAAO;AAFH,KADI;;AAMVC,WAAO;AACLL,YAAMG,MADD;AAELC,aAAO;AAFF,KANG;;AAWVE,WAAO;AACLN,YAAMG,MADD;AAELC,aAAO;AAFF,KAXG;;AAgBVA,WAAO;AACLJ,YAAMG,MADD;AAELC,aAAO;AAFF,KAhBG;;AAqBVG,gBAAY;AACVP,YAAMQ,OADI;AAEVJ,aAAO;AAFG,KArBF;;AA0BVK,YAAQ;AACNT,YAAMQ,OADA;AAENJ,aAAO;AAFD,KA1BE;;AA+BVM,eAAW;AACTV,YAAMG,MADG;AAETC,aAAO;AAFE,KA/BD;;AAoCV;AACAO,cAAU;AACRX,YAAMG,MADE;AAERC,aAAO;AAFC,KArCA;;AA0CVQ,SAAK;AACHZ,YAAMG,MADH;AAEHC,aAAO;AAFJ;AA1CK,GAbJ;;AA8DRS,WAAS;AACPC,oBADO,4BACUL,MADV,EACkB;AACvB,WAAKM,OAAL,CAAa;AACXN;AADW,OAAb;AAGD,KALM;AAOPO,WAPO,qBAOG;AACR,WAAKC,YAAL,CAAkB,OAAlB;;AAEA,UAAML,MAAM,KAAKM,IAAL,CAAUN,GAAtB;AACA,UAAI,CAACA,GAAL,EAAU;;AAEVO,SAAG,KAAKD,IAAL,CAAUP,QAAb,EAAuBS,IAAvB,CAA4BD,EAA5B,EAAgC;AAC9BP;AAD8B,OAAhC;AAGD;AAhBM;AA9DD,CAAV,E","file":"cell\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 48);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n relations: {\r\n '../cell-group/index': {\r\n type: 'ancestor'\r\n }\r\n },\r\n\r\n properties: {\r\n icon: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n image: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n title: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n value: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n isMultiple: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n border: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n iconColor: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n // 链接类型,可选值为 navigateTo,redirectTo,switchTab\r\n linkType: {\r\n type: String,\r\n value: 'navigateTo'\r\n },\r\n\r\n url: {\r\n type: String,\r\n value: ''\r\n }\r\n },\r\n\r\n\r\n methods: {\r\n updateCellBorder(border) {\r\n this.setData({\r\n border\r\n })\r\n },\r\n\r\n onClick() {\r\n this.triggerEvent('click')\r\n\r\n const url = this.data.url\r\n if (!url) return\r\n\r\n wx[this.data.linkType].call(wx, {\r\n url\r\n })\r\n }\r\n }\r\n});"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/cell/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","properties","icon","String","value","image","title","isMultiple","Boolean","border","iconColor","linkType","url","methods","updateCellBorder","setData","onClick","triggerEvent","data","wx","call"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,aAAW;AACT,2BAAuB;AACrBC,YAAM;AADe;AADd,GAPH;;AAaRC,cAAY;AACVC,UAAM;AACJF,YAAMG,MADF;AAEJC,aAAO;AAFH,KADI;;AAMVC,WAAO;AACLL,YAAMG,MADD;AAELC,aAAO;AAFF,KANG;;AAWVE,WAAO;AACLN,YAAMG,MADD;AAELC,aAAO;AAFF,KAXG;;AAgBVA,WAAO;AACLJ,YAAMG,MADD;AAELC,aAAO;AAFF,KAhBG;;AAqBVG,gBAAY;AACVP,YAAMQ,OADI;AAEVJ,aAAO;AAFG,KArBF;;AA0BVK,YAAQ;AACNT,YAAMQ,OADA;AAENJ,aAAO;AAFD,KA1BE;;AA+BVM,eAAW;AACTV,YAAMG,MADG;AAETC,aAAO;AAFE,KA/BD;;AAoCV;AACAO,cAAU;AACRX,YAAMG,MADE;AAERC,aAAO;AAFC,KArCA;;AA0CVQ,SAAK;AACHZ,YAAMG,MADH;AAEHC,aAAO;AAFJ;AA1CK,GAbJ;;AA8DRS,WAAS;AACPC,oBADO,4BACUL,MADV,EACkB;AACvB,WAAKM,OAAL,CAAa;AACXN;AADW,OAAb;AAGD,KALM;AAOPO,WAPO,qBAOG;AACR,WAAKC,YAAL,CAAkB,OAAlB;;AAEA,UAAML,MAAM,KAAKM,IAAL,CAAUN,GAAtB;AACA,UAAI,CAACA,GAAL,EAAU;;AAEVO,SAAG,KAAKD,IAAL,CAAUP,QAAb,EAAuBS,IAAvB,CAA4BD,EAA5B,EAAgC;AAC9BP;AAD8B,OAAhC;AAGD;AAhBM;AA9DD,CAAV,E","file":"cell\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 52);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n relations: {\r\n '../cell-group/index': {\r\n type: 'ancestor'\r\n }\r\n },\r\n\r\n properties: {\r\n icon: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n image: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n title: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n value: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n isMultiple: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n border: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n iconColor: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n // 链接类型,可选值为 navigateTo,redirectTo,switchTab\r\n linkType: {\r\n type: String,\r\n value: 'navigateTo'\r\n },\r\n\r\n url: {\r\n type: String,\r\n value: ''\r\n }\r\n },\r\n\r\n\r\n methods: {\r\n updateCellBorder(border) {\r\n this.setData({\r\n border\r\n })\r\n },\r\n\r\n onClick() {\r\n this.triggerEvent('click')\r\n\r\n const url = this.data.url\r\n if (!url) return\r\n\r\n wx[this.data.linkType].call(wx, {\r\n url\r\n })\r\n }\r\n }\r\n});"],"sourceRoot":""}
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 49);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 53);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 49:
90
+ /***/ 53:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/cell-group/index.js"],"names":["Component","externalClasses","options","addGlobalClass","multipleSlots","relations","type","linked","_updateChildren","linkChanged","_updateDataChange","unlinked","properties","title","String","value","card","Boolean","border","observer","val","methods","timer","clearTimeout","setTimeout","cells","getRelationNodes","len","length","lastIndex","forEach","cell","index","updateCellBorder","data"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB,IADT;AAEPC,mBAAe;AAFR,GAHD;;AAQRC,aAAW;AACT,qBAAiB;AACfC,YAAM,YADS;;AAGfC,YAHe,oBAGN;AACP,aAAKC,eAAL;AACD,OALc;AAOfC,iBAPe,yBAOD;AACZ,aAAKC,iBAAL;AACD,OATc;AAWfC,cAXe,sBAWJ;AACT,aAAKH,eAAL;AACD;AAbc;AADR,GARH;;AA0BRI,cAAY;AACVC,WAAO;AACLP,YAAMQ,MADD;AAELC,aAAO;AAFF,KADG;;AAMVC,UAAM;AACJV,YAAMW,OADF;AAEJF,aAAO;AAFH,KANI;;AAWVG,YAAQ;AACNZ,YAAMW,OADA;AAENF,aAAO,KAFD;AAGNI,cAHM,oBAGGC,GAHH,EAGQ;AACZ,aAAKZ,eAAL;AACD;AALK;AAXE,GA1BJ;;AA8CRa,WAAS;AACPb,mBADO,6BACW;AAAA;;AAEhB;AACA,UAAI,KAAKc,KAAT,EAAgB;AACdC,qBAAa,KAAKD,KAAlB;AACA,aAAKA,KAAL,GAAa,IAAb;AACD;;AAED,WAAKA,KAAL,GAAaE,WAAW,YAAM;;AAE5B,YAAIC,QAAQ,MAAKC,gBAAL,CAAsB,eAAtB,CAAZ;AACA,YAAMC,MAAMF,MAAMG,MAAlB;;AAEA,YAAID,MAAM,CAAV,EAAa;AACX,cAAIE,YAAYF,MAAM,CAAtB;;AAEAF,gBAAMK,OAAN,CAAc,UAACC,IAAD,EAAOC,KAAP,EAAiB;AAC7BD,iBAAKE,gBAAL,CAAsB,MAAKC,IAAL,CAAUhB,MAAV,IAAoBc,UAAUH,SAApD;AACD,WAFD;AAGD;AACF,OAZY,EAYV,EAZU,CAAb;AAaD;AAtBM;AA9CD,CAAV,E","file":"cell-group\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 49);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n multipleSlots: true\r\n },\r\n\r\n relations: {\r\n '../cell/index': {\r\n type: 'descendant',\r\n\r\n linked() {\r\n this._updateChildren()\r\n },\r\n\r\n linkChanged() {\r\n this._updateDataChange();\r\n },\r\n\r\n unlinked() {\r\n this._updateChildren()\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n title: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n card: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n border: {\r\n type: Boolean,\r\n value: false,\r\n observer(val) {\r\n this._updateChildren()\r\n }\r\n }\r\n },\r\n\r\n methods: {\r\n _updateChildren() {\r\n\r\n // 防抖减少重复触发\r\n if (this.timer) {\r\n clearTimeout(this.timer)\r\n this.timer = null\r\n }\r\n\r\n this.timer = setTimeout(() => {\r\n\r\n let cells = this.getRelationNodes('../cell/index')\r\n const len = cells.length\r\n\r\n if (len > 0) {\r\n let lastIndex = len - 1\r\n\r\n cells.forEach((cell, index) => {\r\n cell.updateCellBorder(this.data.border && index !== lastIndex)\r\n })\r\n }\r\n }, 60)\r\n }\r\n }\r\n})"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/cell-group/index.js"],"names":["Component","externalClasses","options","addGlobalClass","multipleSlots","relations","type","linked","_updateChildren","linkChanged","_updateDataChange","unlinked","properties","title","String","value","card","Boolean","border","observer","val","methods","timer","clearTimeout","setTimeout","cells","getRelationNodes","len","length","lastIndex","forEach","cell","index","updateCellBorder","data"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB,IADT;AAEPC,mBAAe;AAFR,GAHD;;AAQRC,aAAW;AACT,qBAAiB;AACfC,YAAM,YADS;;AAGfC,YAHe,oBAGN;AACP,aAAKC,eAAL;AACD,OALc;AAOfC,iBAPe,yBAOD;AACZ,aAAKC,iBAAL;AACD,OATc;AAWfC,cAXe,sBAWJ;AACT,aAAKH,eAAL;AACD;AAbc;AADR,GARH;;AA0BRI,cAAY;AACVC,WAAO;AACLP,YAAMQ,MADD;AAELC,aAAO;AAFF,KADG;;AAMVC,UAAM;AACJV,YAAMW,OADF;AAEJF,aAAO;AAFH,KANI;;AAWVG,YAAQ;AACNZ,YAAMW,OADA;AAENF,aAAO,KAFD;AAGNI,cAHM,oBAGGC,GAHH,EAGQ;AACZ,aAAKZ,eAAL;AACD;AALK;AAXE,GA1BJ;;AA8CRa,WAAS;AACPb,mBADO,6BACW;AAAA;;AAEhB;AACA,UAAI,KAAKc,KAAT,EAAgB;AACdC,qBAAa,KAAKD,KAAlB;AACA,aAAKA,KAAL,GAAa,IAAb;AACD;;AAED,WAAKA,KAAL,GAAaE,WAAW,YAAM;;AAE5B,YAAIC,QAAQ,MAAKC,gBAAL,CAAsB,eAAtB,CAAZ;AACA,YAAMC,MAAMF,MAAMG,MAAlB;;AAEA,YAAID,MAAM,CAAV,EAAa;AACX,cAAIE,YAAYF,MAAM,CAAtB;;AAEAF,gBAAMK,OAAN,CAAc,UAACC,IAAD,EAAOC,KAAP,EAAiB;AAC7BD,iBAAKE,gBAAL,CAAsB,MAAKC,IAAL,CAAUhB,MAAV,IAAoBc,UAAUH,SAApD;AACD,WAFD;AAGD;AACF,OAZY,EAYV,EAZU,CAAb;AAaD;AAtBM;AA9CD,CAAV,E","file":"cell-group\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 53);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n multipleSlots: true\r\n },\r\n\r\n relations: {\r\n '../cell/index': {\r\n type: 'descendant',\r\n\r\n linked() {\r\n this._updateChildren()\r\n },\r\n\r\n linkChanged() {\r\n this._updateDataChange();\r\n },\r\n\r\n unlinked() {\r\n this._updateChildren()\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n title: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n card: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n border: {\r\n type: Boolean,\r\n value: false,\r\n observer(val) {\r\n this._updateChildren()\r\n }\r\n }\r\n },\r\n\r\n methods: {\r\n _updateChildren() {\r\n\r\n // 防抖减少重复触发\r\n if (this.timer) {\r\n clearTimeout(this.timer)\r\n this.timer = null\r\n }\r\n\r\n this.timer = setTimeout(() => {\r\n\r\n let cells = this.getRelationNodes('../cell/index')\r\n const len = cells.length\r\n\r\n if (len > 0) {\r\n let lastIndex = len - 1\r\n\r\n cells.forEach((cell, index) => {\r\n cell.updateCellBorder(this.data.border && index !== lastIndex)\r\n })\r\n }\r\n }, 60)\r\n }\r\n }\r\n})"],"sourceRoot":""}
@@ -0,0 +1,488 @@
1
+ module.exports =
2
+ /******/ (function(modules) { // webpackBootstrap
3
+ /******/ // The module cache
4
+ /******/ var installedModules = {};
5
+ /******/
6
+ /******/ // The require function
7
+ /******/ function __webpack_require__(moduleId) {
8
+ /******/
9
+ /******/ // Check if module is in cache
10
+ /******/ if(installedModules[moduleId]) {
11
+ /******/ return installedModules[moduleId].exports;
12
+ /******/ }
13
+ /******/ // Create a new module (and put it into the cache)
14
+ /******/ var module = installedModules[moduleId] = {
15
+ /******/ i: moduleId,
16
+ /******/ l: false,
17
+ /******/ exports: {}
18
+ /******/ };
19
+ /******/
20
+ /******/ // Execute the module function
21
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22
+ /******/
23
+ /******/ // Flag the module as loaded
24
+ /******/ module.l = true;
25
+ /******/
26
+ /******/ // Return the exports of the module
27
+ /******/ return module.exports;
28
+ /******/ }
29
+ /******/
30
+ /******/
31
+ /******/ // expose the modules object (__webpack_modules__)
32
+ /******/ __webpack_require__.m = modules;
33
+ /******/
34
+ /******/ // expose the module cache
35
+ /******/ __webpack_require__.c = installedModules;
36
+ /******/
37
+ /******/ // define getter function for harmony exports
38
+ /******/ __webpack_require__.d = function(exports, name, getter) {
39
+ /******/ if(!__webpack_require__.o(exports, name)) {
40
+ /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41
+ /******/ }
42
+ /******/ };
43
+ /******/
44
+ /******/ // define __esModule on exports
45
+ /******/ __webpack_require__.r = function(exports) {
46
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48
+ /******/ }
49
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
50
+ /******/ };
51
+ /******/
52
+ /******/ // create a fake namespace object
53
+ /******/ // mode & 1: value is a module id, require it
54
+ /******/ // mode & 2: merge all properties of value into the ns
55
+ /******/ // mode & 4: return value when already ns object
56
+ /******/ // mode & 8|1: behave like require
57
+ /******/ __webpack_require__.t = function(value, mode) {
58
+ /******/ if(mode & 1) value = __webpack_require__(value);
59
+ /******/ if(mode & 8) return value;
60
+ /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61
+ /******/ var ns = Object.create(null);
62
+ /******/ __webpack_require__.r(ns);
63
+ /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64
+ /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65
+ /******/ return ns;
66
+ /******/ };
67
+ /******/
68
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
69
+ /******/ __webpack_require__.n = function(module) {
70
+ /******/ var getter = module && module.__esModule ?
71
+ /******/ function getDefault() { return module['default']; } :
72
+ /******/ function getModuleExports() { return module; };
73
+ /******/ __webpack_require__.d(getter, 'a', getter);
74
+ /******/ return getter;
75
+ /******/ };
76
+ /******/
77
+ /******/ // Object.prototype.hasOwnProperty.call
78
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79
+ /******/
80
+ /******/ // __webpack_public_path__
81
+ /******/ __webpack_require__.p = "";
82
+ /******/
83
+ /******/
84
+ /******/ // Load entry module and return exports
85
+ /******/ return __webpack_require__(__webpack_require__.s = 30);
86
+ /******/ })
87
+ /************************************************************************/
88
+ /******/ ({
89
+
90
+ /***/ 30:
91
+ /***/ (function(module, exports, __webpack_require__) {
92
+
93
+ "use strict";
94
+
95
+ function e(e, t, n) {
96
+ return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
97
+ } /*!
98
+ * mp-html v2.5.1
99
+ * https://github.com/jin-yufeng/mp-html
100
+ *
101
+ * Released under the MIT license
102
+ * Author: Jin Yufeng
103
+ */
104
+ var t = __webpack_require__(31),
105
+ n = [];Component({ data: { nodes: [] }, properties: { containerStyle: String, content: { type: String, value: "", observer: function observer(e) {
106
+ this.setContent(e);
107
+ } }, copyLink: { type: Boolean, value: !0 }, domain: String, errorImg: String, lazyLoad: Boolean, loadingImg: String, pauseVideo: { type: Boolean, value: !0 }, previewImg: { type: null, value: !0 }, scrollTable: Boolean, selectable: null, setTitle: { type: Boolean, value: !0 }, showImgMenu: { type: Boolean, value: !0 }, tagStyle: Object, useAnchor: null }, created: function created() {
108
+ this.plugins = [];for (var e = n.length; e--;) {
109
+ this.plugins.push(new n[e](this));
110
+ }
111
+ }, detached: function detached() {
112
+ this._hook("onDetached");
113
+ }, methods: { in: function _in(e, t, n) {
114
+ e && t && n && (this._in = { page: e, selector: t, scrollTop: n });
115
+ }, navigateTo: function navigateTo(t, n) {
116
+ var i = this;return new Promise(function (o, r) {
117
+ if (!i.data.useAnchor) return void r(Error("Anchor is disabled"));var a = wx.createSelectorQuery().in(i._in ? i._in.page : i).select((i._in ? i._in.selector : "._root") + (t ? "".concat(">>>", "#").concat(t) : "")).boundingClientRect();i._in ? a.select(i._in.selector).scrollOffset().select(i._in.selector).boundingClientRect() : a.selectViewport().scrollOffset(), a.exec(function (t) {
118
+ if (!t[0]) return void r(Error("Label not found"));var a = t[1].scrollTop + t[0].top - (t[2] ? t[2].top : 0) + (n || parseInt(i.data.useAnchor) || 0);i._in ? i._in.page.setData(e({}, i._in.scrollTop, a)) : wx.pageScrollTo({ scrollTop: a, duration: 300 }), o();
119
+ });
120
+ });
121
+ }, getText: function getText(e) {
122
+ var t = "";return function e(n) {
123
+ for (var i = 0; i < n.length; i++) {
124
+ var o = n[i];if ("text" === o.type) t += o.text.replace(/&amp;/g, "&");else if ("br" === o.name) t += "\n";else {
125
+ var r = "p" === o.name || "div" === o.name || "tr" === o.name || "li" === o.name || "h" === o.name[0] && o.name[1] > "0" && o.name[1] < "7";r && t && "\n" !== t[t.length - 1] && (t += "\n"), o.children && e(o.children), r && "\n" !== t[t.length - 1] ? t += "\n" : "td" !== o.name && "th" !== o.name || (t += "\t");
126
+ }
127
+ }
128
+ }(e || this.data.nodes), t;
129
+ }, getRect: function getRect() {
130
+ var e = this;return new Promise(function (t, n) {
131
+ wx.createSelectorQuery().in(e).select("._root").boundingClientRect().exec(function (e) {
132
+ return e[0] ? t(e[0]) : n(Error("Root label not found"));
133
+ });
134
+ });
135
+ }, pauseMedia: function pauseMedia() {
136
+ for (var e = (this._videos || []).length; e--;) {
137
+ this._videos[e].pause();
138
+ }
139
+ }, setPlaybackRate: function setPlaybackRate(e) {
140
+ this.playbackRate = e;for (var t = (this._videos || []).length; t--;) {
141
+ this._videos[t].playbackRate(e);
142
+ }
143
+ }, setContent: function setContent(e, n) {
144
+ var i = this;this.imgList && n || (this.imgList = []), this._videos = [];var o = {},
145
+ r = new t(this).parse(e);if (n) for (var a = this.data.nodes.length, s = r.length; s--;) {
146
+ o["nodes[".concat(a + s, "]")] = r[s];
147
+ } else o.nodes = r;if (this.setData(o, function () {
148
+ i._hook("onLoad"), i.triggerEvent("load");
149
+ }), this.data.lazyLoad || this.imgList._unloadimgs < this.imgList.length / 2) {
150
+ var l = 0,
151
+ c = function e(t) {
152
+ t && t.height || (t = {}), t.height === l ? i.triggerEvent("ready", t) : (l = t.height, setTimeout(function () {
153
+ i.getRect().then(e).catch(e);
154
+ }, 350));
155
+ };this.getRect().then(c).catch(c);
156
+ } else this.imgList._unloadimgs || this.getRect().then(function (e) {
157
+ i.triggerEvent("ready", e);
158
+ }).catch(function () {
159
+ i.triggerEvent("ready", {});
160
+ });
161
+ }, _hook: function _hook(e) {
162
+ for (var t = n.length; t--;) {
163
+ this.plugins[t][e] && this.plugins[t][e]();
164
+ }
165
+ }, _add: function _add(e) {
166
+ e.detail.root = this;
167
+ } } });
168
+
169
+ /***/ }),
170
+
171
+ /***/ 31:
172
+ /***/ (function(module, exports, __webpack_require__) {
173
+
174
+ "use strict";
175
+
176
+ function t(t, e) {
177
+ var _s;if ("undefined" == typeof Symbol || null == t[Symbol.iterator]) {
178
+ if (Array.isArray(t) || (_s = i(t)) || e && t && "number" == typeof t.length) {
179
+ _s && (t = _s);var _n = 0,
180
+ a = function a() {};return { s: a, n: function n() {
181
+ return _n >= t.length ? { done: !0 } : { done: !1, value: t[_n++] };
182
+ }, e: function e(t) {
183
+ throw t;
184
+ }, f: a };
185
+ }throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
186
+ }var r,
187
+ o = !0,
188
+ l = !1;return { s: function s() {
189
+ _s = t[Symbol.iterator]();
190
+ }, n: function n() {
191
+ var t = _s.next();return o = t.done, t;
192
+ }, e: function e(t) {
193
+ l = !0, r = t;
194
+ }, f: function f() {
195
+ try {
196
+ o || null == _s.return || _s.return();
197
+ } finally {
198
+ if (l) throw r;
199
+ }
200
+ } };
201
+ }function i(t, i) {
202
+ if (t) {
203
+ if ("string" == typeof t) return e(t, i);var s = Object.prototype.toString.call(t).slice(8, -1);return "Object" === s && t.constructor && (s = t.constructor.name), "Map" === s || "Set" === s ? Array.from(t) : "Arguments" === s || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s) ? e(t, i) : void 0;
204
+ }
205
+ }function e(t, i) {
206
+ (null == i || i > t.length) && (i = t.length);for (var e = 0, s = new Array(i); e < i; e++) {
207
+ s[e] = t[e];
208
+ }return s;
209
+ }function s(t) {
210
+ for (var i = Object.create(null), e = t.split(","), s = e.length; s--;) {
211
+ i[e[s]] = !0;
212
+ }return i;
213
+ }function n(t, i) {
214
+ for (var e = t.indexOf("&"); -1 !== e;) {
215
+ var s = t.indexOf(";", e + 3),
216
+ n = void 0;if (-1 === s) break;"#" === t[e + 1] ? (n = parseInt(("x" === t[e + 2] ? "0" : "") + t.substring(e + 2, s)), isNaN(n) || (t = t.substr(0, e) + String.fromCharCode(n) + t.substr(s + 1))) : (n = t.substring(e + 1, s), (l.entities[n] || "amp" === n && i) && (t = t.substr(0, e) + (l.entities[n] || "&") + t.substr(s + 1))), e = t.indexOf("&", e + 1);
217
+ }return t;
218
+ }function a(t) {
219
+ for (var i = t.length - 1, e = i; e >= -1; e--) {
220
+ (-1 === e || t[e].c || !t[e].name || "div" !== t[e].name && "p" !== t[e].name && "h" !== t[e].name[0] || (t[e].attrs.style || "").includes("inline")) && (i - e >= 5 && t.splice(e + 1, i - e, { name: "div", attrs: {}, children: t.slice(e + 1, i + 1) }), i = e - 1);
221
+ }
222
+ }function r(t) {
223
+ this.options = t.data || {}, this.tagStyle = Object.assign({}, l.tagStyle, this.options.tagStyle), this.imgList = t.imgList || [], this.imgList._unloadimgs = 0, this.plugins = t.plugins || [], this.attrs = Object.create(null), this.stack = [], this.nodes = [], this.pre = (this.options.containerStyle || "").includes("white-space") && this.options.containerStyle.includes("pre") ? 2 : 0;
224
+ }function o(t) {
225
+ this.handler = t;
226
+ }var l = { trustTags: s("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,ruby,rt,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"), blockTags: s("address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section"), ignoreTags: s("area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr"), voidTags: s("area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr"), entities: { lt: "<", gt: ">", quot: '"', apos: "'", ensp: " ", emsp: " ", nbsp: " ", semi: ";", ndash: "–", mdash: "—", middot: "·", lsquo: "‘", rsquo: "’", ldquo: "“", rdquo: "”", bull: "•", hellip: "…", larr: "←", uarr: "↑", rarr: "→", darr: "↓" }, tagStyle: { address: "font-style:italic", big: "display:inline;font-size:1.2em", caption: "display:table-caption;text-align:center", center: "text-align:center", cite: "font-style:italic", dd: "margin-left:40px", mark: "background-color:yellow", pre: "font-family:monospace;white-space:pre", s: "text-decoration:line-through", small: "display:inline;font-size:0.8em", strike: "text-decoration:line-through", u: "text-decoration:underline" }, svgDict: { animatetransform: "animateTransform", lineargradient: "linearGradient", viewbox: "viewBox", attributename: "attributeName", repeatcount: "repeatCount", repeatdur: "repeatDur", foreignobject: "foreignObject" } },
227
+ h = {},
228
+ c,
229
+ d;if (wx.canIUse("getWindowInfo")) c = wx.getWindowInfo().windowWidth, d = wx.getDeviceInfo().system;else {
230
+ var p = wx.getSystemInfoSync();c = p.windowWidth, d = p.system;
231
+ }var u = s(" ,\r,\n,\t,\f"),
232
+ f = 0;r.prototype.parse = function (t) {
233
+ for (var i = this.plugins.length; i--;) {
234
+ this.plugins[i].onUpdate && (t = this.plugins[i].onUpdate(t, l) || t);
235
+ }for (new o(this).parse(t); this.stack.length;) {
236
+ this.popNode();
237
+ }return this.nodes.length > 50 && a(this.nodes), this.nodes;
238
+ }, r.prototype.expose = function () {
239
+ for (var t = this.stack.length; t--;) {
240
+ var i = this.stack[t];if (i.c || "a" === i.name || "video" === i.name || "audio" === i.name) return;i.c = 1;
241
+ }
242
+ }, r.prototype.hook = function (t) {
243
+ for (var i = this.plugins.length; i--;) {
244
+ if (this.plugins[i].onParse && !1 === this.plugins[i].onParse(t, this)) return !1;
245
+ }return !0;
246
+ }, r.prototype.getUrl = function (t) {
247
+ var i = this.options.domain;return "/" === t[0] ? "/" === t[1] ? t = (i ? i.split("://")[0] : "http") + ":" + t : i && (t = i + t) : !i || t.includes("data:") || t.includes("://") || (t = i + "/" + t), t;
248
+ }, r.prototype.parseStyle = function (t) {
249
+ var i = t.attrs,
250
+ e = (this.tagStyle[t.name] || "").split(";").concat((i.style || "").split(";")),
251
+ s = {},
252
+ n = "";i.id && !this.xml && (this.options.useAnchor ? this.expose() : "img" !== t.name && "a" !== t.name && "video" !== t.name && "audio" !== t.name && (i.id = void 0)), i.width && (s.width = parseFloat(i.width) + (i.width.includes("%") ? "%" : "px"), i.width = void 0), i.height && (s.height = parseFloat(i.height) + (i.height.includes("%") ? "%" : "px"), i.height = void 0);for (var a = 0, r = e.length; a < r; a++) {
253
+ var o = e[a].split(":");if (!(o.length < 2)) {
254
+ var l = o.shift().trim().toLowerCase(),
255
+ h = o.join(":").trim();if ("-" === h[0] && h.lastIndexOf("-") > 0 || h.includes("safe")) n += ";".concat(l, ":").concat(h);else if (!s[l] || h.includes("import") || !s[l].includes("import")) {
256
+ if (h.includes("url")) {
257
+ var d = h.indexOf("(") + 1;if (d) {
258
+ for (; '"' === h[d] || "'" === h[d] || u[h[d]];) {
259
+ d++;
260
+ }h = h.substr(0, d) + this.getUrl(h.substr(d));
261
+ }
262
+ } else h.includes("rpx") && (h = h.replace(/[0-9.]+\s*rpx/g, function (t) {
263
+ return parseFloat(t) * c / 750 + "px";
264
+ }));s[l] = h;
265
+ }
266
+ }
267
+ }return t.attrs.style = n, s;
268
+ }, r.prototype.onTagName = function (t) {
269
+ this.tagName = this.xml ? t : t.toLowerCase(), "svg" === this.tagName && (this.xml = (this.xml || 0) + 1, l.ignoreTags.style = void 0);
270
+ }, r.prototype.onAttrName = function (t) {
271
+ t = this.xml ? t : t.toLowerCase(), "data-" === t.substr(0, 5) ? "data-src" !== t || this.attrs.src ? "img" === this.tagName || "a" === this.tagName ? this.attrName = t : this.attrName = void 0 : this.attrName = "src" : (this.attrName = t, this.attrs[t] = "T");
272
+ }, r.prototype.onAttrVal = function (t) {
273
+ var i = this.attrName || "";"style" === i || "href" === i ? this.attrs[i] = n(t, !0) : i.includes("src") ? this.attrs[i] = this.getUrl(n(t, !0)) : i && (this.attrs[i] = t);
274
+ }, r.prototype.onOpenTag = function (t) {
275
+ var i = Object.create(null);i.name = this.tagName, i.attrs = this.attrs, this.attrs = Object.create(null);var e = i.attrs,
276
+ s = this.stack[this.stack.length - 1],
277
+ n = s ? s.children : this.nodes,
278
+ a = this.xml ? t : l.voidTags[i.name];if (h[i.name] && (e.class = h[i.name] + (e.class ? " " + e.class : "")), "embed" === i.name) {
279
+ var r = e.src || "";r.includes(".mp4") || r.includes(".3gp") || r.includes(".m3u8") || (e.type || "").includes("video") ? i.name = "video" : (r.includes(".mp3") || r.includes(".wav") || r.includes(".aac") || r.includes(".m4a") || (e.type || "").includes("audio")) && (i.name = "audio"), e.autostart && (e.autoplay = "T"), e.controls = "T";
280
+ }if ("video" !== i.name && "audio" !== i.name || ("video" !== i.name || e.id || (e.id = "v" + f++), e.controls || e.autoplay || (e.controls = "T"), i.src = [], e.src && (i.src.push(e.src), e.src = void 0), this.expose()), a) {
281
+ if (!this.hook(i) || l.ignoreTags[i.name]) return void ("base" !== i.name || this.options.domain ? "source" === i.name && s && ("video" === s.name || "audio" === s.name) && e.src && s.src.push(e.src) : this.options.domain = e.href);var o = this.parseStyle(i);if ("img" === i.name) {
282
+ if (e.src && (e.src.includes("webp") && (i.webp = "T"), e.src.includes("data:") && "all" !== this.options.previewImg && !e["original-src"] && (e.ignore = "T"), !e.ignore || i.webp || e.src.includes("cloud://"))) {
283
+ for (var d = this.stack.length; d--;) {
284
+ var p = this.stack[d];"table" !== p.name || i.webp || e.src.includes("cloud://") || (!o.display || o.display.includes("inline") ? i.t = "inline-block" : i.t = o.display, o.display = void 0);var u = p.attrs.style || "";if (!u.includes("flex:") || u.includes("flex:0") || u.includes("flex: 0") || o.width && !(parseInt(o.width) > 100)) {
285
+ if (u.includes("flex") && "100%" === o.width) for (var g = d + 1; g < this.stack.length; g++) {
286
+ var m = this.stack[g].attrs.style || "";if (!m.includes(";width") && !m.includes(" width") && 0 !== m.indexOf("width")) {
287
+ o.width = "";break;
288
+ }
289
+ } else u.includes("inline-block") && (o.width && "%" === o.width[o.width.length - 1] ? (p.attrs.style += ";max-width:" + o.width, o.width = "") : p.attrs.style += ";max-width:100%");
290
+ } else {
291
+ o.width = "100% !important", o.height = "";for (var v = d + 1; v < this.stack.length; v++) {
292
+ this.stack[v].attrs.style = (this.stack[v].attrs.style || "").replace("inline-", "");
293
+ }
294
+ }"a" === p.name ? i.a = p.attrs : p.c = 1;
295
+ }i.i = this.imgList.length;var y = e["original-src"] || e.src;if (this.imgList.includes(y)) {
296
+ var b = y.indexOf("://");if (-1 !== b) {
297
+ b += 3;for (var x = y.substr(0, b); b < y.length && "/" !== y[b]; b++) {
298
+ x += Math.random() > .5 ? y[b].toUpperCase() : y[b];
299
+ }x += y.substr(b), y = x;
300
+ }
301
+ }this.imgList.push(y), i.t || (this.imgList._unloadimgs += 1);
302
+ }"inline" === o.display && (o.display = ""), e.ignore && (o["max-width"] = o["max-width"] || "100%", e.style += ";-webkit-touch-callout:none"), parseInt(o.width) > c && (o.height = void 0), isNaN(parseInt(o.width)) || (i.w = "T"), !isNaN(parseInt(o.height)) && (!o.height.includes("%") || s && (s.attrs.style || "").includes("height")) && (i.h = "T"), i.w && i.h && o["object-fit"] && ("contain" === o["object-fit"] ? i.m = "aspectFit" : "cover" === o["object-fit"] && (i.m = "aspectFill"));
303
+ } else if ("svg" === i.name) return n.push(i), this.stack.push(i), void this.popNode();for (var w in o) {
304
+ o[w] && (e.style += ";".concat(w, ":").concat(o[w].replace(" !important", "")));
305
+ }e.style = e.style.substr(1) || void 0;
306
+ } else ("pre" === i.name || (e.style || "").includes("white-space") && e.style.includes("pre")) && 2 !== this.pre && (this.pre = i.pre = 1), i.children = [], this.stack.push(i);n.push(i);
307
+ }, r.prototype.onCloseTag = function (t) {
308
+ t = this.xml ? t : t.toLowerCase();var i;for (i = this.stack.length; i-- && this.stack[i].name !== t;) {}if (-1 !== i) for (; this.stack.length > i;) {
309
+ this.popNode();
310
+ } else if ("p" === t || "br" === t) {
311
+ var e = this.stack.length ? this.stack[this.stack.length - 1].children : this.nodes;e.push({ name: t, attrs: { class: h[t], style: this.tagStyle[t] } });
312
+ }
313
+ }, r.prototype.popNode = function () {
314
+ var i = this.stack.pop(),
315
+ e = i.attrs,
316
+ s = i.children,
317
+ n = this.stack[this.stack.length - 1],
318
+ r = n ? n.children : this.nodes;if (!this.hook(i) || l.ignoreTags[i.name]) return "title" === i.name && s.length && "text" === s[0].type && this.options.setTitle && wx.setNavigationBarTitle({ title: s[0].text }), void r.pop();if (i.pre && 2 !== this.pre) {
319
+ this.pre = i.pre = void 0;for (var o = this.stack.length; o--;) {
320
+ this.stack[o].pre && (this.pre = 1);
321
+ }
322
+ }if ("svg" === i.name) {
323
+ if (this.xml > 1) return void this.xml--;var h = "",
324
+ d = e.style;return e.style = "", e.xmlns = "http://www.w3.org/2000/svg", function i(e) {
325
+ if ("text" === e.type) return void (h += e.text);var s = l.svgDict[e.name] || e.name;if ("foreignObject" === s) {
326
+ var n,
327
+ a = t(e.children || []);try {
328
+ for (a.s(); !(n = a.n()).done;) {
329
+ var r = n.value;if (r.attrs && !r.attrs.xmlns) {
330
+ r.attrs.xmlns = "http://www.w3.org/1999/xhtml";break;
331
+ }
332
+ }
333
+ } catch (t) {
334
+ a.e(t);
335
+ } finally {
336
+ a.f();
337
+ }
338
+ }h += "<" + s;for (var o in e.attrs) {
339
+ var c = e.attrs[o];c && (h += " ".concat(l.svgDict[o] || o, '="').concat(c.replace(/"/g, ""), '"'));
340
+ }if (e.children) {
341
+ h += ">";for (var d = 0; d < e.children.length; d++) {
342
+ i(e.children[d]);
343
+ }h += "</" + s + ">";
344
+ } else h += "/>";
345
+ }(i), i.name = "img", i.attrs = { src: "data:image/svg+xml;utf8," + h.replace(/#/g, "%23"), style: d, ignore: "T" }, i.children = void 0, this.xml = !1, void (l.ignoreTags.style = !0);
346
+ }var p = {};if (e.align && ("table" === i.name ? "center" === e.align ? p["margin-inline-start"] = p["margin-inline-end"] = "auto" : p.float = e.align : p["text-align"] = e.align, e.align = void 0), e.dir && (p.direction = e.dir, e.dir = void 0), "font" === i.name && (e.color && (p.color = e.color, e.color = void 0), e.face && (p["font-family"] = e.face, e.face = void 0), e.size)) {
347
+ var u = parseInt(e.size);isNaN(u) || (u < 1 ? u = 1 : u > 7 && (u = 7), p["font-size"] = ["x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large"][u - 1]), e.size = void 0;
348
+ }if ((e.class || "").includes("align-center") && (p["text-align"] = "center"), Object.assign(p, this.parseStyle(i)), "table" !== i.name && parseInt(p.width) > c && (p["max-width"] = "100%", p["box-sizing"] = "border-box"), l.blockTags[i.name]) i.name = "div";else if (l.trustTags[i.name] || this.xml) {
349
+ if ("a" === i.name || "ad" === i.name) this.expose();else if ("video" === i.name || "audio" === i.name) (p.height || "").includes("auto") && (p.height = void 0), i.children = void 0;else if ("ul" !== i.name && "ol" !== i.name || !i.c) {
350
+ if ("table" === i.name) {
351
+ var f = parseFloat(e.cellpadding),
352
+ g = parseFloat(e.cellspacing),
353
+ m = parseFloat(e.border),
354
+ v = p["border-color"],
355
+ y = p["border-style"];if (i.c && (isNaN(f) && (f = 2), isNaN(g) && (g = 2)), m && (e.style += ";border:".concat(m, "px ").concat(y || "solid", " ").concat(v || "gray")), i.flag && i.c) {
356
+ i.flag = void 0, p.display = "grid", "collapse" === p["border-collapse"] && (p["border-collapse"] = void 0, g = 0), g ? (p["grid-gap"] = g + "px", p.padding = g + "px") : m && (e.style += ";border-left:0;border-top:0");var b = [],
357
+ x = [],
358
+ w = [],
359
+ k = {};!function i(e) {
360
+ for (var s = 0; s < e.length; s++) {
361
+ if ("tr" === e[s].name) x.push(e[s]);else if ("colgroup" === e[s].name) {
362
+ var n,
363
+ a = 1,
364
+ r = t(e[s].children || []);try {
365
+ for (r.s(); !(n = r.n()).done;) {
366
+ var o = n.value;if ("col" === o.name) {
367
+ var l = o.attrs.style || "",
368
+ h = l.indexOf("width") ? l.indexOf(";width") : 0;if (-1 !== h) {
369
+ var c = l.indexOf(";", h + 6);-1 === c && (c = l.length), b[a] = l.substring(h ? h + 7 : 6, c);
370
+ }a += 1;
371
+ }
372
+ }
373
+ } catch (t) {
374
+ r.e(t);
375
+ } finally {
376
+ r.f();
377
+ }
378
+ } else i(e[s].children || []);
379
+ }
380
+ }(s);for (var N = 1; N <= x.length; N++) {
381
+ for (var T = 1, O = 0; O < x[N - 1].children.length; O++) {
382
+ var j = x[N - 1].children[O];if ("td" === j.name || "th" === j.name) {
383
+ for (; k[N + "." + T];) {
384
+ T++;
385
+ }j.c = 1;var I = j.attrs.style || "",
386
+ S = I.indexOf("width") ? I.indexOf(";width") : 0;if (-1 !== S) {
387
+ var C = I.indexOf(";", S + 6);-1 === C && (C = I.length), j.attrs.colspan || (b[T] = I.substring(S ? S + 7 : 6, C)), I = I.substr(0, S) + I.substr(C);
388
+ }if (I += ";display:flex;flex-direction:column", -1 !== (S = I.indexOf("vertical-align"))) {
389
+ var A = I.substr(S + 15, 10);A.includes("middle") ? I += ";justify-content:center" : A.includes("bottom") && (I += ";justify-content:flex-end");
390
+ } else I += ";justify-content:center";if (-1 !== (S = I.indexOf("text-align"))) {
391
+ var L = I.substr(S + 11, 10);L.includes("center") ? I += ";justify-content: center" : L.includes("right") && (I += ";justify-content: right");
392
+ }if (I = (m ? ";border:".concat(m, "px ").concat(y || "solid", " ").concat(v || "gray") + (g ? "" : ";border-right:0;border-bottom:0") : "") + (f ? ";padding:".concat(f, "px") : "") + ";" + I, j.attrs.colspan && (I += ";grid-column-start:".concat(T, ";grid-column-end:").concat(T + parseInt(j.attrs.colspan)), j.attrs.rowspan || (I += ";grid-row-start:".concat(N, ";grid-row-end:").concat(N + 1)), T += parseInt(j.attrs.colspan) - 1), j.attrs.rowspan) {
393
+ I += ";grid-row-start:".concat(N, ";grid-row-end:").concat(N + parseInt(j.attrs.rowspan)), j.attrs.colspan || (I += ";grid-column-start:".concat(T, ";grid-column-end:").concat(T + 1));for (var z = 1; z < j.attrs.rowspan; z++) {
394
+ for (var U = 0; U < (j.attrs.colspan || 1); U++) {
395
+ k[N + z + "." + (T - U)] = 1;
396
+ }
397
+ }
398
+ }I && (j.attrs.style = I), w.push(j), T++;
399
+ }
400
+ }if (1 === N) {
401
+ for (var F = "", q = 1; q < T; q++) {
402
+ F += (b[q] ? b[q] : "auto") + " ";
403
+ }p["grid-template-columns"] = F;
404
+ }
405
+ }i.children = w;
406
+ } else i.c && (p.display = "table"), isNaN(g) || (p["border-spacing"] = g + "px"), (m || f || i.c) && function t(e) {
407
+ for (var s = 0; s < e.length; s++) {
408
+ var n = e[s];i.c && (n.c = 1), "th" === n.name || "td" === n.name ? (m && (n.attrs.style = "border:".concat(m, "px ").concat(y || "solid", " ").concat(v || "gray", ";").concat(n.attrs.style || "")), f && (n.attrs.style = "padding:".concat(f, "px;").concat(n.attrs.style || ""))) : n.children && t(n.children);
409
+ }
410
+ }(s);if (this.options.scrollTable && !(e.style || "").includes("inline")) {
411
+ var V = Object.assign({}, i);i.name = "div", i.attrs = { style: "overflow-x:auto;padding:1px" }, i.children = [V], e = V.attrs;
412
+ }
413
+ } else if (("tbody" === i.name || "tr" === i.name) && i.flag && i.c) i.flag = void 0, function t(i) {
414
+ for (var e = 0; e < i.length; e++) {
415
+ if ("td" === i[e].name) for (var s = 0, n = ["color", "background", "background-color"]; s < n.length; s++) {
416
+ var a = n[s];p[a] && (i[e].attrs.style = a + ":" + p[a] + ";" + (i[e].attrs.style || ""));
417
+ } else t(i[e].children || []);
418
+ }
419
+ }(s);else if ("td" !== i.name && "th" !== i.name || !e.colspan && !e.rowspan) {
420
+ if ("ruby" === i.name) {
421
+ i.name = "span";for (var D = 0; D < s.length - 1; D++) {
422
+ "text" === s[D].type && "rt" === s[D + 1].name && (s[D] = { name: "span", attrs: { style: "display:inline-block;text-align:center" }, children: [{ name: "div", attrs: { style: "font-size:50%;" + (s[D + 1].attrs.style || "") }, children: s[D + 1].children }, s[D]] }, s.splice(D + 1, 1));
423
+ }
424
+ }
425
+ } else for (var W = this.stack.length; W--;) {
426
+ "table" !== this.stack[W].name && "tbody" !== this.stack[W].name && "tr" !== this.stack[W].name || (this.stack[W].flag = 1);
427
+ }
428
+ } else {
429
+ var B = { a: "lower-alpha", A: "upper-alpha", i: "lower-roman", I: "upper-roman" };B[e.type] && (e.style += ";list-style-type:" + B[e.type], e.type = void 0), i.c = 1;for (var M = s.length; M--;) {
430
+ "li" === s[M].name && (s[M].c = 1);
431
+ }
432
+ }
433
+ } else i.name = "span";if ((p.display || "").includes("flex") && !i.c) for (var P = s.length; P--;) {
434
+ var Z = s[P];Z.f && (Z.attrs.style = (Z.attrs.style || "") + Z.f, Z.f = void 0);
435
+ }var _ = n && ((n.attrs.style || "").includes("flex") || (n.attrs.style || "").includes("grid")) && !i.c && !(p.display || "").includes("inline");_ && (i.f = ";max-width:100%"), s.length >= 50 && i.c && !(p.display || "").includes("flex") && a(s);for (var E in p) {
436
+ if (p[E]) {
437
+ var G = ";".concat(E, ":").concat(p[E].replace(" !important", ""));_ && (E.includes("flex") && "flex-direction" !== E || "align-self" === E || E.includes("grid") || "-" === p[E][0] || E.includes("width") && G.includes("%")) ? (i.f += G, "width" === E && (e.style += ";width:100%")) : e.style += G;
438
+ }
439
+ }e.style = e.style.substr(1) || void 0;
440
+ }, r.prototype.onText = function (t) {
441
+ if (!this.pre) {
442
+ for (var i, e = "", s = 0, a = t.length; s < a; s++) {
443
+ u[t[s]] ? (" " !== e[e.length - 1] && (e += " "), "\n" !== t[s] || i || (i = !0)) : e += t[s];
444
+ }if (" " === e && i) return;t = e;
445
+ }var r = Object.create(null);if (r.type = "text", r.text = n(t), this.hook(r)) {
446
+ "force" === this.options.selectable && d.includes("iOS") && !wx.canIUse("rich-text.user-select") && this.expose();(this.stack.length ? this.stack[this.stack.length - 1].children : this.nodes).push(r);
447
+ }
448
+ }, o.prototype.parse = function (t) {
449
+ this.content = t || "", this.i = 0, this.start = 0, this.state = this.text;for (var i = this.content.length; -1 !== this.i && this.i < i;) {
450
+ this.state();
451
+ }
452
+ }, o.prototype.checkClose = function (t) {
453
+ var i = "/" === this.content[this.i];return !!(">" === this.content[this.i] || i && ">" === this.content[this.i + 1]) && (t && this.handler[t](this.content.substring(this.start, this.i)), this.i += i ? 2 : 1, this.start = this.i, this.handler.onOpenTag(i), "script" === this.handler.tagName ? (this.i = this.content.indexOf("</", this.i), -1 !== this.i && (this.i += 2, this.start = this.i), this.state = this.endTag) : this.state = this.text, !0);
454
+ }, o.prototype.text = function () {
455
+ if (this.i = this.content.indexOf("<", this.i), -1 === this.i) return void (this.start < this.content.length && this.handler.onText(this.content.substring(this.start, this.content.length)));var t = this.content[this.i + 1];if (t >= "a" && t <= "z" || t >= "A" && t <= "Z") this.start !== this.i && this.handler.onText(this.content.substring(this.start, this.i)), this.start = ++this.i, this.state = this.tagName;else if ("/" === t || "!" === t || "?" === t) {
456
+ this.start !== this.i && this.handler.onText(this.content.substring(this.start, this.i));var i = this.content[this.i + 2];if ("/" === t && (i >= "a" && i <= "z" || i >= "A" && i <= "Z")) return this.i += 2, this.start = this.i, void (this.state = this.endTag);var e = "--\x3e";"!" === t && "-" === this.content[this.i + 2] && "-" === this.content[this.i + 3] || (e = ">"), this.i = this.content.indexOf(e, this.i), -1 !== this.i && (this.i += e.length, this.start = this.i);
457
+ } else this.i++;
458
+ }, o.prototype.tagName = function () {
459
+ if (u[this.content[this.i]]) {
460
+ for (this.handler.onTagName(this.content.substring(this.start, this.i)); u[this.content[++this.i]];) {}this.i < this.content.length && !this.checkClose() && (this.start = this.i, this.state = this.attrName);
461
+ } else this.checkClose("onTagName") || this.i++;
462
+ }, o.prototype.attrName = function () {
463
+ var t = this.content[this.i];if (u[t] || "=" === t) {
464
+ this.handler.onAttrName(this.content.substring(this.start, this.i));for (var i = "=" === t, e = this.content.length; ++this.i < e;) {
465
+ if (t = this.content[this.i], !u[t]) {
466
+ if (this.checkClose()) return;if (i) return this.start = this.i, void (this.state = this.attrVal);if ("=" !== this.content[this.i]) return this.start = this.i, void (this.state = this.attrName);i = !0;
467
+ }
468
+ }
469
+ } else this.checkClose("onAttrName") || this.i++;
470
+ }, o.prototype.attrVal = function () {
471
+ var t = this.content[this.i],
472
+ i = this.content.length;if ('"' === t || "'" === t) {
473
+ if (this.start = ++this.i, this.i = this.content.indexOf(t, this.i), -1 === this.i) return;this.handler.onAttrVal(this.content.substring(this.start, this.i));
474
+ } else for (; this.i < i; this.i++) {
475
+ if (u[this.content[this.i]]) {
476
+ this.handler.onAttrVal(this.content.substring(this.start, this.i));break;
477
+ }if (this.checkClose("onAttrVal")) return;
478
+ }for (; u[this.content[++this.i]];) {}this.i < i && !this.checkClose() && (this.start = this.i, this.state = this.attrName);
479
+ }, o.prototype.endTag = function () {
480
+ var t = this.content[this.i];if (u[t] || ">" === t || "/" === t) {
481
+ if (this.handler.onCloseTag(this.content.substring(this.start, this.i)), ">" !== t && (this.i = this.content.indexOf(">", this.i), -1 === this.i)) return;this.start = ++this.i, this.state = this.text;
482
+ } else this.i++;
483
+ }, module.exports = r;
484
+
485
+ /***/ })
486
+
487
+ /******/ });
488
+ //# sourceMappingURL=index.js.map