bulade-ui 1.1.12 → 1.1.13

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 (153) hide show
  1. package/miniprogram_dist/assets/font/iconfont.scss +533 -0
  2. package/miniprogram_dist/assets/font/iconfont.wxss +433 -88
  3. package/miniprogram_dist/bld-action-sheet/index.js +2 -2
  4. package/miniprogram_dist/bld-action-sheet/index.js.map +1 -1
  5. package/miniprogram_dist/bld-action-sheet/index.json +1 -1
  6. package/miniprogram_dist/bld-action-sheet/index.wxml +1 -1
  7. package/miniprogram_dist/bld-badge/index.js +2 -2
  8. package/miniprogram_dist/bld-badge/index.js.map +1 -1
  9. package/miniprogram_dist/bld-button/index.js +2 -2
  10. package/miniprogram_dist/bld-button/index.js.map +1 -1
  11. package/miniprogram_dist/bld-button-v2/index.js +2 -2
  12. package/miniprogram_dist/bld-button-v2/index.js.map +1 -1
  13. package/miniprogram_dist/bld-card/index.js +2 -2
  14. package/miniprogram_dist/bld-card/index.js.map +1 -1
  15. package/miniprogram_dist/bld-cell/index.js +2 -2
  16. package/miniprogram_dist/bld-cell/index.js.map +1 -1
  17. package/miniprogram_dist/bld-cell-field/index.js +2 -2
  18. package/miniprogram_dist/bld-cell-field/index.js.map +1 -1
  19. package/miniprogram_dist/bld-cell-group/index.js +2 -2
  20. package/miniprogram_dist/bld-cell-group/index.js.map +1 -1
  21. package/miniprogram_dist/bld-cell-group-v2/index.wxss +29 -29
  22. package/miniprogram_dist/bld-cell-v2/index.json +1 -1
  23. package/miniprogram_dist/bld-cell-v2/index.wxss +63 -63
  24. package/miniprogram_dist/bld-checkbox/index.js +2 -2
  25. package/miniprogram_dist/bld-checkbox/index.js.map +1 -1
  26. package/miniprogram_dist/bld-checkbox/index.json +1 -1
  27. package/miniprogram_dist/bld-checkbox-group/index.js +2 -2
  28. package/miniprogram_dist/bld-checkbox-group/index.js.map +1 -1
  29. package/miniprogram_dist/bld-cloud-image/index.js +5 -6
  30. package/miniprogram_dist/bld-cloud-image/index.js.map +1 -1
  31. package/miniprogram_dist/bld-collapse/index.js +2 -2
  32. package/miniprogram_dist/bld-collapse/index.js.map +1 -1
  33. package/miniprogram_dist/bld-dialog-tip/index.js +2 -2
  34. package/miniprogram_dist/bld-dialog-tip/index.js.map +1 -1
  35. package/miniprogram_dist/bld-dialog-tip/index.wxss +1 -1
  36. package/miniprogram_dist/bld-drawer/index.js +2 -2
  37. package/miniprogram_dist/bld-drawer/index.js.map +1 -1
  38. package/miniprogram_dist/bld-empty-page/index.js +2 -2
  39. package/miniprogram_dist/bld-empty-page/index.js.map +1 -1
  40. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js +2 -2
  41. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js.map +1 -1
  42. package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js +2 -2
  43. package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js.map +1 -1
  44. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.js +2 -2
  45. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.js.map +1 -1
  46. package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js +2 -2
  47. package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js.map +1 -1
  48. package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js +2 -2
  49. package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js.map +1 -1
  50. package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js +2 -2
  51. package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js.map +1 -1
  52. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js +2 -2
  53. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js.map +1 -1
  54. package/miniprogram_dist/bld-html/index.js +2 -2
  55. package/miniprogram_dist/bld-html/index.js.map +1 -1
  56. package/miniprogram_dist/bld-html/index.wxss +1 -1
  57. package/miniprogram_dist/bld-icon/index.js +42 -7
  58. package/miniprogram_dist/bld-icon/index.js.map +1 -1
  59. package/miniprogram_dist/bld-icon/index.json +4 -1
  60. package/miniprogram_dist/bld-icon/index.wxml +35 -1
  61. package/miniprogram_dist/bld-icon/index.wxss +337 -1
  62. package/miniprogram_dist/bld-loading/index.js +2 -2
  63. package/miniprogram_dist/bld-loading/index.js.map +1 -1
  64. package/miniprogram_dist/bld-message/index.js +2 -2
  65. package/miniprogram_dist/bld-message/index.js.map +1 -1
  66. package/miniprogram_dist/bld-message/message.js +2 -2
  67. package/miniprogram_dist/bld-message/message.js.map +1 -1
  68. package/miniprogram_dist/bld-modal/index.js +2 -2
  69. package/miniprogram_dist/bld-modal/index.js.map +1 -1
  70. package/miniprogram_dist/bld-modal/modal.js +2 -2
  71. package/miniprogram_dist/bld-modal/modal.js.map +1 -1
  72. package/miniprogram_dist/bld-nav-bar/index.js +2 -2
  73. package/miniprogram_dist/bld-nav-bar/index.js.map +1 -1
  74. package/miniprogram_dist/bld-navbar/index.js +2 -2
  75. package/miniprogram_dist/bld-navbar/index.js.map +1 -1
  76. package/miniprogram_dist/bld-navbar-group/index.js +2 -2
  77. package/miniprogram_dist/bld-navbar-group/index.js.map +1 -1
  78. package/miniprogram_dist/bld-notice-bar/index.js +2 -2
  79. package/miniprogram_dist/bld-notice-bar/index.js.map +1 -1
  80. package/miniprogram_dist/bld-overlay/index.js +2 -2
  81. package/miniprogram_dist/bld-overlay/index.js.map +1 -1
  82. package/miniprogram_dist/bld-page/index.js +2 -2
  83. package/miniprogram_dist/bld-page/index.js.map +1 -1
  84. package/miniprogram_dist/bld-pop-up/index.js +2 -2
  85. package/miniprogram_dist/bld-pop-up/index.js.map +1 -1
  86. package/miniprogram_dist/bld-progress/index.js +2 -2
  87. package/miniprogram_dist/bld-progress/index.js.map +1 -1
  88. package/miniprogram_dist/bld-radio/index.js +2 -2
  89. package/miniprogram_dist/bld-radio/index.js.map +1 -1
  90. package/miniprogram_dist/bld-radio-group/index.js +2 -2
  91. package/miniprogram_dist/bld-radio-group/index.js.map +1 -1
  92. package/miniprogram_dist/bld-retry/index.js +2 -2
  93. package/miniprogram_dist/bld-retry/index.js.map +1 -1
  94. package/miniprogram_dist/bld-scroll-view/index.js +2 -2
  95. package/miniprogram_dist/bld-scroll-view/index.js.map +1 -1
  96. package/miniprogram_dist/bld-tag/index.js +2 -2
  97. package/miniprogram_dist/bld-tag/index.js.map +1 -1
  98. package/miniprogram_dist/bld-text/index.js +2 -2
  99. package/miniprogram_dist/bld-text/index.js.map +1 -1
  100. package/miniprogram_dist/bld-toast/index.js +2 -2
  101. package/miniprogram_dist/bld-toast/index.js.map +1 -1
  102. package/miniprogram_dist/bld-toast/index.json +1 -1
  103. package/miniprogram_dist/bld-toast/toast.js +2 -2
  104. package/miniprogram_dist/bld-toast/toast.js.map +1 -1
  105. package/miniprogram_dist/bld-wrapper/index.js +2 -2
  106. package/miniprogram_dist/bld-wrapper/index.js.map +1 -1
  107. package/miniprogram_dist/components-npm/mp-weixin/index.js +4 -4
  108. package/miniprogram_dist/components-npm/mp-weixin/index.js.map +1 -1
  109. package/miniprogram_dist/components-npm/mp-weixin/node/node.js +2 -2
  110. package/miniprogram_dist/components-npm/mp-weixin/node/node.js.map +1 -1
  111. package/miniprogram_dist/grid/index.js +2 -2
  112. package/miniprogram_dist/grid/index.js.map +1 -1
  113. package/miniprogram_dist/grid-item/index.js +2 -2
  114. package/miniprogram_dist/grid-item/index.js.map +1 -1
  115. package/miniprogram_dist/grid-item/index.json +1 -1
  116. package/miniprogram_dist/timeline/index.js +2 -2
  117. package/miniprogram_dist/timeline/index.js.map +1 -1
  118. package/miniprogram_dist/timeline-item/index.js +2 -2
  119. package/miniprogram_dist/timeline-item/index.js.map +1 -1
  120. package/miniprogram_dist/timeline-item/index.json +1 -1
  121. package/package.json +1 -1
  122. package/src/assets/font/iconfont.scss +533 -0
  123. package/src/assets/font/iconfont.wxss +433 -88
  124. package/src/bld-action-sheet/index.json +1 -1
  125. package/src/bld-action-sheet/index.wxml +1 -1
  126. package/src/bld-cell-group-v2/index.wxss +29 -29
  127. package/src/bld-cell-v2/index.json +1 -1
  128. package/src/bld-cell-v2/index.wxss +63 -63
  129. package/src/bld-checkbox/index.json +1 -1
  130. package/src/bld-dialog-tip/index.wxss +1 -1
  131. package/src/bld-html/index.wxss +1 -1
  132. package/src/bld-icon/index.js +36 -2
  133. package/src/bld-icon/index.json +4 -1
  134. package/src/bld-icon/index.scss +18 -533
  135. package/src/bld-icon/index.wxml +35 -1
  136. package/src/bld-icon/index.wxss +551 -531
  137. package/src/bld-icon-back/index.js +8 -0
  138. package/src/bld-icon-back/index.scss +1 -0
  139. package/src/bld-icon-back/index.wxml +1 -0
  140. package/src/bld-icon-back/index.wxss +531 -0
  141. package/src/bld-toast/index.json +1 -1
  142. package/src/grid-item/index.json +1 -1
  143. package/src/timeline-item/index.json +1 -1
  144. package/miniprogram_dist/icon/index.js +0 -142
  145. package/miniprogram_dist/icon/index.js.map +0 -1
  146. package/miniprogram_dist/icon/index.wxml +0 -35
  147. package/miniprogram_dist/icon/index.wxss +0 -200
  148. package/src/icon/index.js +0 -42
  149. package/src/icon/index.json +0 -3
  150. package/src/icon/index.scss +0 -17
  151. package/src/icon/index.wxml +0 -35
  152. package/src/icon/index.wxss +0 -200
  153. /package/{miniprogram_dist/icon → src/bld-icon-back}/index.json +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-radio/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","linked","target","parent","unlinked","properties","name","value","disabled","Boolean","checkedColor","String","labelLeft","shape","methods","emitChange","instance","triggerEvent","onChange","event","data","onClickLabel","labelDisabled"],"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;;Q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ACd,WAAKJ,UAAL,CAAgB,KAAKK,IAAL,CAAUd,IAA1B;AACD,KAVM;AAYPe,gBAZO,0BAYQ;AAAA,kBAC6B,KAAKD,IADlC;AAAA,UACLZ,QADK,SACLA,QADK;AAAA,UACKc,aADL,SACKA,aADL;AAAA,UACoBhB,IADpB,SACoBA,IADpB;;AAEb,UAAI,CAACE,QAAD,IAAa,CAACc,aAAlB,EAAiC;AAC/B,aAAKP,UAAL,CAAgBT,IAAhB;AACD;AACF;AAjBM;AA5CD,CAAV,E","file":"bld-radio\\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 = 50);\n","Component({\r\n externalClasses: ['iclass'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n relations: {\r\n '../bld-radio-group/index': {\r\n type: 'ancestor',\r\n linked(target) {\r\n this.parent = target;\r\n },\r\n unlinked() {\r\n this.parent = null;\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n name: {\r\n type: null\r\n },\r\n value: {\r\n type: null\r\n },\r\n disabled: {\r\n type: Boolean,\r\n value: false\r\n },\r\n checkedColor: {\r\n type: String,\r\n value: ''\r\n },\r\n labelLeft: {\r\n type: Boolean,\r\n value: false\r\n },\r\n shape: {\r\n type: String,\r\n value: 'round'\r\n }\r\n },\r\n\r\n methods: {\r\n emitChange(value) {\r\n const instance = this.parent || this;\r\n \r\n instance.triggerEvent('input', value);\r\n instance.triggerEvent('change', value);\r\n },\r\n\r\n onChange(event) {\r\n this.emitChange(this.data.name);\r\n },\r\n\r\n onClickLabel() {\r\n const { disabled, labelDisabled, name } = this.data;\r\n if (!disabled && !labelDisabled) {\r\n this.emitChange(name);\r\n }\r\n }\r\n }\r\n})\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-radio/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","linked","target","parent","unlinked","properties","name","value","disabled","Boolean","checkedColor","String","labelLeft","shape","methods","emitChange","instance","triggerEvent","onChange","event","data","onClickLabel","labelDisabled"],"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,QAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,aAAW;AACT,gCAA4B;AAC1BC,YAAM,UADoB;AAE1BC,YAF0B,kBAEnBC,MAFmB,EAEX;AACb,aAAKC,MAAL,GAAcD,MAAd;AACD,OAJyB;AAK1BE,cAL0B,sBAKf;AACT,aAAKD,MAAL,GAAc,IAAd;AACD;AAPyB;AADnB,GAPH;;AAmBRE,cAAY;AACVC,UAAM;AACJN,YAAM;AADF,KADI;AAIVO,WAAO;AACLP,YAAM;AADD,KAJG;AAOVQ,cAAU;AACRR,YAAMS,OADE;AAERF,aAAO;AAFC,KAPA;AAWVG,kBAAc;AACZV,YAAMW,MADM;AAEZJ,aAAO;AAFK,KAXJ;AAeVK,eAAW;AACTZ,YAAMS,OADG;AAETF,aAAO;AAFE,KAfD;AAmBVM,WAAO;AACLb,YAAMW,MADD;AAELJ,aAAO;AAFF;AAnBG,GAnBJ;;AA4CRO,WAAS;AACPC,cADO,sBACIR,KADJ,EACW;AAChB,UAAMS,WAAW,KAAKb,MAAL,IAAe,IAAhC;;AAEAa,eAASC,YAAT,CAAsB,OAAtB,EAA+BV,KAA/B;AACAS,eAASC,YAAT,CAAsB,QAAtB,EAAgCV,KAAhC;AACD,KANM;AAQPW,YARO,oBAQEC,KARF,EAQS;AACd,WAAKJ,UAAL,CAAgB,KAAKK,IAAL,CAAUd,IAA1B;AACD,KAVM;AAYPe,gBAZO,0BAYQ;AAAA,kBAC6B,KAAKD,IADlC;AAAA,UACLZ,QADK,SACLA,QADK;AAAA,UACKc,aADL,SACKA,aADL;AAAA,UACoBhB,IADpB,SACoBA,IADpB;;AAEb,UAAI,CAACE,QAAD,IAAa,CAACc,aAAlB,EAAiC;AAC/B,aAAKP,UAAL,CAAgBT,IAAhB;AACD;AACF;AAjBM;AA5CD,CAAV,E","file":"bld-radio\\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: ['iclass'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n relations: {\r\n '../bld-radio-group/index': {\r\n type: 'ancestor',\r\n linked(target) {\r\n this.parent = target;\r\n },\r\n unlinked() {\r\n this.parent = null;\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n name: {\r\n type: null\r\n },\r\n value: {\r\n type: null\r\n },\r\n disabled: {\r\n type: Boolean,\r\n value: false\r\n },\r\n checkedColor: {\r\n type: String,\r\n value: ''\r\n },\r\n labelLeft: {\r\n type: Boolean,\r\n value: false\r\n },\r\n shape: {\r\n type: String,\r\n value: 'round'\r\n }\r\n },\r\n\r\n methods: {\r\n emitChange(value) {\r\n const instance = this.parent || this;\r\n \r\n instance.triggerEvent('input', value);\r\n instance.triggerEvent('change', value);\r\n },\r\n\r\n onChange(event) {\r\n this.emitChange(this.data.name);\r\n },\r\n\r\n onClickLabel() {\r\n const { disabled, labelDisabled, name } = this.data;\r\n if (!disabled && !labelDisabled) {\r\n this.emitChange(name);\r\n }\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 = 51);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 50);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 51:
90
+ /***/ 50:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-radio-group/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","linked","target","_updateChildren","linkChanged","unlinked","properties","value","observer","disabled","Boolean","checkedColor","String","labelLeft","methods","timer","clearTimeout","setTimeout","children","getRelationNodes","len","length","forEach","child","index","_updateChild","data","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA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AAW,YAAM;;AAE5B,YAAIC,WAAW,MAAKC,gBAAL,CAAsB,oBAAtB,CAAf;;AAEA,YAAMC,MAAMF,SAASG,MAArB;;AAEA,YAAID,MAAM,CAAV,EAAa;AACXF,mBAASI,OAAT,CAAiB,UAACC,KAAD,EAAQC,KAAR,EAAkB;AACjC,kBAAKC,YAAL,CAAkBF,KAAlB;AACD,WAFD;AAGD;AACF,OAXY,EAWV,EAXU,CAAb;AAYD,KApBM;AAsBPE,gBAtBO,wBAsBMF,KAtBN,EAsBa;AAAA,kBAMd,KAAKG,IANS;AAAA,UAEhBf,YAFgB,SAEhBA,YAFgB;AAAA,UAGhBJ,KAHgB,SAGhBA,KAHgB;AAAA,UAIhBM,SAJgB,SAIhBA,SAJgB;AAAA,UAKhBJ,QALgB,SAKhBA,QALgB;;;AAQlBc,YAAMI,OAAN,CAAc;AACZhB,sBAAcY,MAAMG,IAAN,CAAWf,YAAX,IAA2BA,YAD7B;AAEZJ,oBAFY;AAGZM,mBAAWU,MAAMG,IAAN,CAAWb,SAAX,IAAwBA,SAHvB;AAIZJ,kBAAUA,YAAYc,MAAMG,IAAN,CAAWjB;AAJrB,OAAd;AAMD;AApCM;AA5CD,CAAV,E","file":"bld-radio-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 = 51);\n","Component({\r\n externalClasses: ['iclass'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n \r\n relations: {\r\n '../bld-radio/index': {\r\n type: 'descendant',\r\n\r\n linked(target) {\r\n this._updateChildren()\r\n },\r\n\r\n linkChanged() {\r\n this._updateChildren()\r\n },\r\n\r\n unlinked(target) {\r\n this._updateChildren()\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n value: {\r\n type: null,\r\n observer: '_updateChildren'\r\n },\r\n disabled: {\r\n type: Boolean,\r\n observer: '_updateChildren'\r\n },\r\n checkedColor: {\r\n type: String,\r\n value: ''\r\n },\r\n labelLeft: {\r\n type: Boolean,\r\n value: false\r\n },\r\n },\r\n\r\n methods: {\r\n _updateChildren() {\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 children = this.getRelationNodes('../bld-radio/index')\r\n\r\n const len = children.length\r\n\r\n if (len > 0) {\r\n children.forEach((child, index) => {\r\n this._updateChild(child)\r\n })\r\n }\r\n }, 60)\r\n },\r\n\r\n _updateChild(child) {\r\n const {\r\n checkedColor,\r\n value,\r\n labelLeft,\r\n disabled\r\n } = this.data\r\n\r\n child.setData({\r\n checkedColor: child.data.checkedColor || checkedColor,\r\n value,\r\n labelLeft: child.data.labelLeft || labelLeft,\r\n disabled: disabled || child.data.disabled\r\n });\r\n }\r\n }\r\n})"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-radio-group/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","linked","target","_updateChildren","linkChanged","unlinked","properties","value","observer","disabled","Boolean","checkedColor","String","labelLeft","methods","timer","clearTimeout","setTimeout","children","getRelationNodes","len","length","forEach","child","index","_updateChild","data","setData"],"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;QAC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AAT,CAAiB,UAACC,KAAD,EAAQC,KAAR,EAAkB;AACjC,kBAAKC,YAAL,CAAkBF,KAAlB;AACD,WAFD;AAGD;AACF,OAXY,EAWV,EAXU,CAAb;AAYD,KApBM;AAsBPE,gBAtBO,wBAsBMF,KAtBN,EAsBa;AAAA,kBAMd,KAAKG,IANS;AAAA,UAEhBf,YAFgB,SAEhBA,YAFgB;AAAA,UAGhBJ,KAHgB,SAGhBA,KAHgB;AAAA,UAIhBM,SAJgB,SAIhBA,SAJgB;AAAA,UAKhBJ,QALgB,SAKhBA,QALgB;;;AAQlBc,YAAMI,OAAN,CAAc;AACZhB,sBAAcY,MAAMG,IAAN,CAAWf,YAAX,IAA2BA,YAD7B;AAEZJ,oBAFY;AAGZM,mBAAWU,MAAMG,IAAN,CAAWb,SAAX,IAAwBA,SAHvB;AAIZJ,kBAAUA,YAAYc,MAAMG,IAAN,CAAWjB;AAJrB,OAAd;AAMD;AApCM;AA5CD,CAAV,E","file":"bld-radio-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 = 50);\n","Component({\r\n externalClasses: ['iclass'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n \r\n relations: {\r\n '../bld-radio/index': {\r\n type: 'descendant',\r\n\r\n linked(target) {\r\n this._updateChildren()\r\n },\r\n\r\n linkChanged() {\r\n this._updateChildren()\r\n },\r\n\r\n unlinked(target) {\r\n this._updateChildren()\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n value: {\r\n type: null,\r\n observer: '_updateChildren'\r\n },\r\n disabled: {\r\n type: Boolean,\r\n observer: '_updateChildren'\r\n },\r\n checkedColor: {\r\n type: String,\r\n value: ''\r\n },\r\n labelLeft: {\r\n type: Boolean,\r\n value: false\r\n },\r\n },\r\n\r\n methods: {\r\n _updateChildren() {\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 children = this.getRelationNodes('../bld-radio/index')\r\n\r\n const len = children.length\r\n\r\n if (len > 0) {\r\n children.forEach((child, index) => {\r\n this._updateChild(child)\r\n })\r\n }\r\n }, 60)\r\n },\r\n\r\n _updateChild(child) {\r\n const {\r\n checkedColor,\r\n value,\r\n labelLeft,\r\n disabled\r\n } = this.data\r\n\r\n child.setData({\r\n checkedColor: child.data.checkedColor || checkedColor,\r\n value,\r\n labelLeft: child.data.labelLeft || labelLeft,\r\n disabled: disabled || child.data.disabled\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 = 27);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 26);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 27:
90
+ /***/ 26:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-retry/index.js"],"names":["Component","externalClasses","properties","title","type","String","value","description","actionText","methods","retry","triggerEvent"],"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,QAAD,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,iBAAa;AACXH,YAAMC,MADK;AAEXC,aAAO;AAFI,KALH;AASVE,gBAAY;AACVJ,YAAMC,MADI;AAEVC,aAAO;AAFG;AATF,GAFJ;;AAiBRG,WAAS;AACPC,SADO,mBACC;AACN,WAAKC,YAAL,CAAkB,UAAlB;AACD;AAHM;AAjBD,CAAV,E","file":"bld-retry\\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 = 27);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n title: {\r\n type: String,\r\n value: \"加载失败\",\r\n },\r\n description: {\r\n type: String,\r\n value: \"发生了一些错误\",\r\n },\r\n actionText: {\r\n type: String,\r\n value: \"点击重试\",\r\n },\r\n },\r\n\r\n methods: {\r\n retry() {\r\n this.triggerEvent(\"on-retry\");\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-retry/index.js"],"names":["Component","externalClasses","properties","title","type","String","value","description","actionText","methods","retry","triggerEvent"],"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,QAAD,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,iBAAa;AACXH,YAAMC,MADK;AAEXC,aAAO;AAFI,KALH;AASVE,gBAAY;AACVJ,YAAMC,MADI;AAEVC,aAAO;AAFG;AATF,GAFJ;;AAiBRG,WAAS;AACPC,SADO,mBACC;AACN,WAAKC,YAAL,CAAkB,UAAlB;AACD;AAHM;AAjBD,CAAV,E","file":"bld-retry\\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 = 26);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n title: {\r\n type: String,\r\n value: \"加载失败\",\r\n },\r\n description: {\r\n type: String,\r\n value: \"发生了一些错误\",\r\n },\r\n actionText: {\r\n type: String,\r\n value: \"点击重试\",\r\n },\r\n },\r\n\r\n methods: {\r\n retry() {\r\n this.triggerEvent(\"on-retry\");\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 = 28);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 27);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 28:
90
+ /***/ 27:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-scroll-view/index.js"],"names":["Component","externalClasses","properties","type","String","value","mode","scrollTop","Number","methods","scroll","e","triggerEvent","detail","scrollEnd","scrollToLower"],"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,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KADI;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,eAAW;AACTJ,YAAMK,MADG;AAETH,aAAO;AAFE;AATD,GAFJ;AAgBRI,WAAS;AACPC,UADO,kBACAC,CADA,EACG;AACR,WAAKC,YAAL,CAAkB,QAAlB,eAAiCD,EAAEE,MAAnC;AACD,KAHM;AAIPC,aAJO,qBAIGH,CAJH,EAIM;AACX,WAAKC,YAAL,CAAkB,WAAlB,eAAoCD,EAAEE,MAAtC;AACD,KANM;AAOPE,iBAPO,yBAOOJ,CAPP,EAOU;AACf,WAAKC,YAAL,CAAkB,eAAlB,eAAwCD,EAAEE,MAA1C;AACD;AATM;AAhBD,CAAV,E","file":"bld-scroll-view\\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 = 28);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n type: {\r\n type: String,\r\n value: \"list\",\r\n },\r\n mode: {\r\n type: String,\r\n value: \"nav-to-bottom\",\r\n },\r\n scrollTop: {\r\n type: Number,\r\n value: 0,\r\n },\r\n },\r\n methods: {\r\n scroll(e) {\r\n this.triggerEvent(\"scroll\", { ...e.detail });\r\n },\r\n scrollEnd(e) {\r\n this.triggerEvent(\"scrollEnd\", { ...e.detail });\r\n },\r\n scrollToLower(e) {\r\n this.triggerEvent(\"scrollToLower\", { ...e.detail });\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-scroll-view/index.js"],"names":["Component","externalClasses","properties","type","String","value","mode","scrollTop","Number","methods","scroll","e","triggerEvent","detail","scrollEnd","scrollToLower"],"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,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KADI;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,eAAW;AACTJ,YAAMK,MADG;AAETH,aAAO;AAFE;AATD,GAFJ;AAgBRI,WAAS;AACPC,UADO,kBACAC,CADA,EACG;AACR,WAAKC,YAAL,CAAkB,QAAlB,eAAiCD,EAAEE,MAAnC;AACD,KAHM;AAIPC,aAJO,qBAIGH,CAJH,EAIM;AACX,WAAKC,YAAL,CAAkB,WAAlB,eAAoCD,EAAEE,MAAtC;AACD,KANM;AAOPE,iBAPO,yBAOOJ,CAPP,EAOU;AACf,WAAKC,YAAL,CAAkB,eAAlB,eAAwCD,EAAEE,MAA1C;AACD;AATM;AAhBD,CAAV,E","file":"bld-scroll-view\\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 = 27);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n type: {\r\n type: String,\r\n value: \"list\",\r\n },\r\n mode: {\r\n type: String,\r\n value: \"nav-to-bottom\",\r\n },\r\n scrollTop: {\r\n type: Number,\r\n value: 0,\r\n },\r\n },\r\n methods: {\r\n scroll(e) {\r\n this.triggerEvent(\"scroll\", { ...e.detail });\r\n },\r\n scrollEnd(e) {\r\n this.triggerEvent(\"scrollEnd\", { ...e.detail });\r\n },\r\n scrollToLower(e) {\r\n this.triggerEvent(\"scrollToLower\", { ...e.detail });\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 = 44);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 43);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 44:
90
+ /***/ 43:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-tag/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","capsule","type","Boolean","value","size","String","plain","color","round"],"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,cAAY;AACV;AACAC,aAAS;AACPC,YAAMC,OADC;AAEPC,aAAO;AAFA,KAFC;AAMVC,UAAM;AACJH,YAAMI,MADF;AAEJF,aAAO;AAFH,KANI;AAUVF,UAAM;AACJA,YAAMI,MADF;AAEJF,aAAO;AAFH,KAVI;AAcVG,WAAO;AACLL,YAAMC,OADD;AAELC,aAAO;AAFF,KAdG;AAkBVI,WAAO;AACLN,YAAMI;AADD,KAlBG;AAqBVG,WAAO;AACLP,YAAMC,OADD;AAELC,aAAO;AAFF;AArBG;AAPJ,CAAV,E","file":"bld-tag\\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 = 44);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n properties: {\r\n // 胶囊样式\r\n capsule: {\r\n type: Boolean,\r\n value: false\r\n },\r\n size: {\r\n type: String,\r\n value: 'small'\r\n },\r\n type: {\r\n type: String,\r\n value: ''\r\n },\r\n plain: {\r\n type: Boolean,\r\n value: false\r\n },\r\n color: {\r\n type: String\r\n },\r\n round: {\r\n type: Boolean,\r\n value: false\r\n }\r\n }\r\n});"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-tag/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","capsule","type","Boolean","value","size","String","plain","color","round"],"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,cAAY;AACV;AACAC,aAAS;AACPC,YAAMC,OADC;AAEPC,aAAO;AAFA,KAFC;AAMVC,UAAM;AACJH,YAAMI,MADF;AAEJF,aAAO;AAFH,KANI;AAUVF,UAAM;AACJA,YAAMI,MADF;AAEJF,aAAO;AAFH,KAVI;AAcVG,WAAO;AACLL,YAAMC,OADD;AAELC,aAAO;AAFF,KAdG;AAkBVI,WAAO;AACLN,YAAMI;AADD,KAlBG;AAqBVG,WAAO;AACLP,YAAMC,OADD;AAELC,aAAO;AAFF;AArBG;AAPJ,CAAV,E","file":"bld-tag\\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 = 43);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n properties: {\r\n // 胶囊样式\r\n capsule: {\r\n type: Boolean,\r\n value: false\r\n },\r\n size: {\r\n type: String,\r\n value: 'small'\r\n },\r\n type: {\r\n type: String,\r\n value: ''\r\n },\r\n plain: {\r\n type: Boolean,\r\n value: false\r\n },\r\n color: {\r\n type: String\r\n },\r\n round: {\r\n type: Boolean,\r\n value: false\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 = 5);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 6);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 5:
90
+ /***/ 6:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-text/index.js"],"names":["Component","externalClasses","properties","text","type","String","value","maxLines","Number","stripHtml","Boolean","stripInVisible","size","data","formattedText","observers","replace","setData"],"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,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJC,YAAMC,MADF;AAEJC,aAAO;AAFH,KADI;AAKVC,cAAU;AACRH,YAAMI,MADE;AAERF,aAAO;AAFC,KALA;AASVG,eAAW;AACTL,YAAMM,OADG;AAETJ,aAAO;AAFE,KATD;AAaVK,oBAAgB;AACdP,YAAMM,OADQ;AAEdJ,aAAO;AAFO,KAbN;AAiBVM,UAAM;AACJR,YAAMC,MADF;AAEJC,aAAO;AAFH;AAjBI,GAFJ;AAwBRO,QAAM;AACJC,mBAAe;AADX,GAxBE;AA2BRC,aAAW;AACTZ,QADS,kBACF;AACL,UAAIW,gBAAgB,KAAKD,IAAL,CAAUV,IAA9B;AACA,UAAI,KAAKU,IAAL,CAAUJ,SAAd,EAAyB;AACvB;AACAK,wBAAgBA,cAAcE,OAAd,CAAsB,kBAAtB,EAA0C,EAA1C,CAAhB;AACD;;AAED,UAAI,KAAKH,IAAL,CAAUF,cAAd,EAA8B;AAC5B;AACAG,wBAAgBA,cAAcE,OAAd,CAAsB,+BAAtB,EAAuD,EAAvD,CAAhB;AACD;;AAED,WAAKC,OAAL,CAAa;AACXH;AADW,OAAb;AAGD;AAhBQ;AA3BH,CAAV,E","file":"bld-text\\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 = 5);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n text: {\r\n type: String,\r\n value: \"加载中...\",\r\n },\r\n maxLines: {\r\n type: Number,\r\n value: 3,\r\n },\r\n stripHtml: {\r\n type: Boolean,\r\n value: true,\r\n },\r\n stripInVisible: {\r\n type: Boolean,\r\n value: true,\r\n },\r\n size: {\r\n type: String,\r\n value: \"lg-r\",\r\n },\r\n },\r\n data: {\r\n formattedText: \"加载中...\",\r\n },\r\n observers: {\r\n text() {\r\n let formattedText = this.data.text;\r\n if (this.data.stripHtml) {\r\n // 替换 html 标签\r\n formattedText = formattedText.replace(/<[^>]*>|&nbsp;/gm, \"\");\r\n }\r\n\r\n if (this.data.stripInVisible) {\r\n // 替换不可见字符\r\n formattedText = formattedText.replace(/[\\u0000-\\u001F\\u007F-\\u009F]/g, \"\");\r\n }\r\n\r\n this.setData({\r\n formattedText,\r\n });\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-text/index.js"],"names":["Component","externalClasses","properties","text","type","String","value","maxLines","Number","stripHtml","Boolean","stripInVisible","size","data","formattedText","observers","replace","setData"],"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,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJC,YAAMC,MADF;AAEJC,aAAO;AAFH,KADI;AAKVC,cAAU;AACRH,YAAMI,MADE;AAERF,aAAO;AAFC,KALA;AASVG,eAAW;AACTL,YAAMM,OADG;AAETJ,aAAO;AAFE,KATD;AAaVK,oBAAgB;AACdP,YAAMM,OADQ;AAEdJ,aAAO;AAFO,KAbN;AAiBVM,UAAM;AACJR,YAAMC,MADF;AAEJC,aAAO;AAFH;AAjBI,GAFJ;AAwBRO,QAAM;AACJC,mBAAe;AADX,GAxBE;AA2BRC,aAAW;AACTZ,QADS,kBACF;AACL,UAAIW,gBAAgB,KAAKD,IAAL,CAAUV,IAA9B;AACA,UAAI,KAAKU,IAAL,CAAUJ,SAAd,EAAyB;AACvB;AACAK,wBAAgBA,cAAcE,OAAd,CAAsB,kBAAtB,EAA0C,EAA1C,CAAhB;AACD;;AAED,UAAI,KAAKH,IAAL,CAAUF,cAAd,EAA8B;AAC5B;AACAG,wBAAgBA,cAAcE,OAAd,CAAsB,+BAAtB,EAAuD,EAAvD,CAAhB;AACD;;AAED,WAAKC,OAAL,CAAa;AACXH;AADW,OAAb;AAGD;AAhBQ;AA3BH,CAAV,E","file":"bld-text\\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 = 6);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n text: {\r\n type: String,\r\n value: \"加载中...\",\r\n },\r\n maxLines: {\r\n type: Number,\r\n value: 3,\r\n },\r\n stripHtml: {\r\n type: Boolean,\r\n value: true,\r\n },\r\n stripInVisible: {\r\n type: Boolean,\r\n value: true,\r\n },\r\n size: {\r\n type: String,\r\n value: \"lg-r\",\r\n },\r\n },\r\n data: {\r\n formattedText: \"加载中...\",\r\n },\r\n observers: {\r\n text() {\r\n let formattedText = this.data.text;\r\n if (this.data.stripHtml) {\r\n // 替换 html 标签\r\n formattedText = formattedText.replace(/<[^>]*>|&nbsp;/gm, \"\");\r\n }\r\n\r\n if (this.data.stripInVisible) {\r\n // 替换不可见字符\r\n formattedText = formattedText.replace(/[\\u0000-\\u001F\\u007F-\\u009F]/g, \"\");\r\n }\r\n\r\n this.setData({\r\n formattedText,\r\n });\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 = 38);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 37);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 38:
90
+ /***/ 37:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-toast/index.js"],"names":["defaults_data","visible","show","mask","ghost","message","position","duration","image","icon","iconColor","iconSize","type","zIndex","Component","externalClasses","options","addGlobalClass","data","transformStyle","ready","wx","canIUse","windowInfo","getWindowInfo","computedBarH","getSystemInfo","success","methods","screenHeight","windowHeight","statusBarHeight","customBarH","capsule","getMenuButtonBoundingClientRect","bottom","top","setData","open","timer","clearTimeout","setTimeout","close","handleHide"],"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,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;AACD,SAHY,EAGVhC,QAHU,CAAb;AAID;AACF,KA3DM;AA6DPoC,cA7DO,wBA6DM,CAEZ,CA/DM;AAiEPD,SAjEO,mBAiEC;AACN,WAAKL,OAAL,cACKrC,aADL;AAGD;AArEM;AA1BD,CAAV,E","file":"bld-toast\\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 = 38);\n","const defaults_data = {\r\n visible: false,\r\n show: false,\r\n mask: false,\r\n ghost: true,\r\n message: '',\r\n position: 'middle', //top middle bottom\r\n duration: 20000,\r\n image: '',\r\n icon: '',\r\n iconColor: '#fff',\r\n iconSize: 80,\r\n type: '',\r\n zIndex: -1\r\n}\r\n\r\nComponent({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n data: {\r\n ...defaults_data,\r\n transformStyle: '',\r\n },\r\n\r\n ready() {\r\n if (wx.canIUse('getWindowInfo')) {\r\n const windowInfo = wx.getWindowInfo()\r\n this.computedBarH(windowInfo)\r\n } else {\r\n // 该方法为同步\r\n wx.getSystemInfo({\r\n success: (windowInfo) => {\r\n this.computedBarH(windowInfo)\r\n }\r\n })\r\n }\r\n },\r\n\r\n methods: {\r\n computedBarH(windowInfo) {\r\n const {\r\n screenHeight,\r\n windowHeight,\r\n statusBarHeight\r\n } = windowInfo;\r\n\r\n // 自定义导航栏\r\n if (screenHeight === windowHeight) {\r\n let customBarH = 44;\r\n let capsule = wx.getMenuButtonBoundingClientRect();\r\n if (capsule) {\r\n customBarH = capsule.bottom - statusBarHeight + 4;\r\n }\r\n\r\n defaults_data.top = customBarH + statusBarHeight + 'px'\r\n this.setData({\r\n top: customBarH + statusBarHeight + 'px'\r\n })\r\n }\r\n },\r\n\r\n open(options) {\r\n const {\r\n type = '',\r\n icon = '',\r\n image = '',\r\n duration = 20000,\r\n position = 'middle',\r\n mask = false,\r\n ghost = true,\r\n zIndex = 2001\r\n } = options\r\n\r\n this.setData({\r\n ...options,\r\n type,\r\n icon,\r\n image,\r\n mask,\r\n ghost,\r\n position,\r\n visible: true,\r\n zIndex\r\n }, () => {\r\n this.setData({\r\n show: true\r\n })\r\n })\r\n\r\n if (this.timer) clearTimeout(this.timer)\r\n\r\n if (duration) {\r\n this.timer = setTimeout(() => {\r\n this.close()\r\n this.timer = null\r\n }, duration)\r\n }\r\n },\r\n\r\n handleHide() {\r\n\r\n },\r\n\r\n close() {\r\n this.setData({\r\n ...defaults_data\r\n })\r\n }\r\n }\r\n})"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-toast/index.js"],"names":["defaults_data","visible","show","mask","ghost","message","position","duration","image","icon","iconColor","iconSize","type","zIndex","Component","externalClasses","options","addGlobalClass","data","transformStyle","ready","wx","canIUse","windowInfo","getWindowInfo","computedBarH","getSystemInfo","success","methods","screenHeight","windowHeight","statusBarHeight","customBarH","capsule","getMenuButtonBoundingClientRect","bottom","top","setData","open","timer","clearTimeout","setTimeout","close","handleHide"],"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;Q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,iBAAKC,KAAL;AACA,iBAAKH,KAAL,GAAa,IAAb;AACD,SAHY,EAGVhC,QAHU,CAAb;AAID;AACF,KA3DM;AA6DPoC,cA7DO,wBA6DM,CAEZ,CA/DM;AAiEPD,SAjEO,mBAiEC;AACN,WAAKL,OAAL,cACKrC,aADL;AAGD;AArEM;AA1BD,CAAV,E","file":"bld-toast\\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 = 37);\n","const defaults_data = {\r\n visible: false,\r\n show: false,\r\n mask: false,\r\n ghost: true,\r\n message: '',\r\n position: 'middle', //top middle bottom\r\n duration: 20000,\r\n image: '',\r\n icon: '',\r\n iconColor: '#fff',\r\n iconSize: 80,\r\n type: '',\r\n zIndex: -1\r\n}\r\n\r\nComponent({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n data: {\r\n ...defaults_data,\r\n transformStyle: '',\r\n },\r\n\r\n ready() {\r\n if (wx.canIUse('getWindowInfo')) {\r\n const windowInfo = wx.getWindowInfo()\r\n this.computedBarH(windowInfo)\r\n } else {\r\n // 该方法为同步\r\n wx.getSystemInfo({\r\n success: (windowInfo) => {\r\n this.computedBarH(windowInfo)\r\n }\r\n })\r\n }\r\n },\r\n\r\n methods: {\r\n computedBarH(windowInfo) {\r\n const {\r\n screenHeight,\r\n windowHeight,\r\n statusBarHeight\r\n } = windowInfo;\r\n\r\n // 自定义导航栏\r\n if (screenHeight === windowHeight) {\r\n let customBarH = 44;\r\n let capsule = wx.getMenuButtonBoundingClientRect();\r\n if (capsule) {\r\n customBarH = capsule.bottom - statusBarHeight + 4;\r\n }\r\n\r\n defaults_data.top = customBarH + statusBarHeight + 'px'\r\n this.setData({\r\n top: customBarH + statusBarHeight + 'px'\r\n })\r\n }\r\n },\r\n\r\n open(options) {\r\n const {\r\n type = '',\r\n icon = '',\r\n image = '',\r\n duration = 20000,\r\n position = 'middle',\r\n mask = false,\r\n ghost = true,\r\n zIndex = 2001\r\n } = options\r\n\r\n this.setData({\r\n ...options,\r\n type,\r\n icon,\r\n image,\r\n mask,\r\n ghost,\r\n position,\r\n visible: true,\r\n zIndex\r\n }, () => {\r\n this.setData({\r\n show: true\r\n })\r\n })\r\n\r\n if (this.timer) clearTimeout(this.timer)\r\n\r\n if (duration) {\r\n this.timer = setTimeout(() => {\r\n this.close()\r\n this.timer = null\r\n }, duration)\r\n }\r\n },\r\n\r\n handleHide() {\r\n\r\n },\r\n\r\n close() {\r\n this.setData({\r\n ...defaults_data\r\n })\r\n }\r\n }\r\n})"],"sourceRoot":""}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "component": true,
3
3
  "usingComponents": {
4
- "m-icon": "../icon/index"
4
+ "m-icon": "../bld-icon/index"
5
5
  }
6
6
  }
@@ -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 = 39);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 38);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 39:
90
+ /***/ 38:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-toast/toast.js"],"names":["getCtx","selector","pages","getCurrentPages","ctx","length","componentCtx","selectComponent","console","error","Toast","options","message","position","open","close"],"mappings":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rC,MAAMG,MAAMJ,OAAOC,QAAP,CAAZ;AACAG,MAAIW,KAAJ;AACD,CAHD;;kBAKeL,K","file":"bld-toast\\toast.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 = 39);\n","function getCtx(selector) {\r\n const pages = getCurrentPages()\r\n const ctx = pages[pages.length - 1]\r\n const componentCtx = ctx.selectComponent(selector)\r\n if (!componentCtx) {\r\n console.error('无法找到对应的组件,请按文档说明使用组件')\r\n return null\r\n }\r\n return componentCtx\r\n}\r\n\r\n\r\nconst Toast = options => {\r\n const {\r\n selector = '#toast'\r\n } = options\r\n const ctx = getCtx(selector)\r\n\r\n if (typeof options === \"string\") {\r\n options = {\r\n message: options,\r\n position: 'bottom'\r\n }\r\n }\r\n ctx.open(options)\r\n\r\n return ctx\r\n}\r\n\r\nToast.close = (selector = '#toast') => {\r\n const ctx = getCtx(selector)\r\n ctx.close()\r\n}\r\n\r\nexport default Toast"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-toast/toast.js"],"names":["getCtx","selector","pages","getCurrentPages","ctx","length","componentCtx","selectComponent","console","error","Toast","options","message","position","open","close"],"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;;;;;;;;;;;;AClFA,SAASA,MAAT,CAAgBC,QAAhB,EAA0B;AACxB,MAAMC,QAAQC,iBAAd;AACA,MAAMC,MAAMF,MAAMA,MAAMG,MAAN,GAAe,CAArB,CAAZ;AACA,MAAMC,eAAeF,IAAIG,eAAJ,CAAoBN,QAApB,CAArB;AACA,MAAI,CAACK,YAAL,EAAmB;AACjBE,YAAQC,KAAR,CAAc,sBAAd;AACA,WAAO,IAAP;AACD;AACD,SAAOH,YAAP;AACD;;AAGD,IAAMI,QAAQ,SAARA,KAAQ,UAAW;AAAA,iBAGnBC,OAHmB;AAAA,mCAErBV,QAFqB;AAAA,MAErBA,QAFqB,qCAEV,QAFU;;AAIvB,MAAMG,MAAMJ,OAAOC,QAAP,CAAZ;;AAEA,MAAI,OAAOU,OAAP,KAAmB,QAAvB,EAAiC;AAC/BA,cAAU;AACRC,eAASD,OADD;AAERE,gBAAU;AAFF,KAAV;AAID;AACDT,MAAIU,IAAJ,CAASH,OAAT;;AAEA,SAAOP,GAAP;AACD,CAfD;;AAiBAM,MAAMK,KAAN,GAAc,YAAyB;AAAA,MAAxBd,QAAwB,uEAAb,QAAa;;AACrC,MAAMG,MAAMJ,OAAOC,QAAP,CAAZ;AACAG,MAAIW,KAAJ;AACD,CAHD;;kBAKeL,K","file":"bld-toast\\toast.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 = 38);\n","function getCtx(selector) {\r\n const pages = getCurrentPages()\r\n const ctx = pages[pages.length - 1]\r\n const componentCtx = ctx.selectComponent(selector)\r\n if (!componentCtx) {\r\n console.error('无法找到对应的组件,请按文档说明使用组件')\r\n return null\r\n }\r\n return componentCtx\r\n}\r\n\r\n\r\nconst Toast = options => {\r\n const {\r\n selector = '#toast'\r\n } = options\r\n const ctx = getCtx(selector)\r\n\r\n if (typeof options === \"string\") {\r\n options = {\r\n message: options,\r\n position: 'bottom'\r\n }\r\n }\r\n ctx.open(options)\r\n\r\n return ctx\r\n}\r\n\r\nToast.close = (selector = '#toast') => {\r\n const ctx = getCtx(selector)\r\n ctx.close()\r\n}\r\n\r\nexport default Toast"],"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 = 25);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 24);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 25:
90
+ /***/ 24:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-wrapper/index.js"],"names":["app","getApp","menuButtonInfo","globalData","menuButtonDistance","systemInfo","safeArea","saleAreaHeight","screenHeight","bottom","tabBarHeight","statusBarHeight","gap","top","navBarHeight","height","navToTab","navToBottom","topToTab","topToBottom","modeStyleMap","modeToStyle","mode","styles","Object","keys","map","key","join","Component","externalClasses","properties","type","String","value","data","style","observers","setData"],"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;;;;;;;;;;;AClFA,IAAMA,MAAMC,QAAZ;;AAEA,IAAMC,iBAAiBF,IAAIG,UAAJ,CAAeC,kBAAtC;AACA,IAAMC,aAAaL,IAAIG,UAAJ,CAAeE,UAAlC;AACA;AACA,IAAMC,WAAWD,WAAWC,QAA5B;AACA,IAAMC,iBAAiBF,WAAWG,YAAX,GAA0BF,SAASG,MAA1D;AACA,IAAMC,eAAe,KAAKH,cAA1B;;AAEA;AACA,IAAMI,kBAAkBN,WAAWM,eAAnC;AACA,IAAMC,MAAMV,eAAeW,GAAf,GAAqBF,eAAjC;;AAEA,IAAMG,eAAeH,kBAAkBT,eAAea,MAAjC,GAA0CH,MAAM,CAArE;;AAEA;AACA,IAAMI,WAAW;AACfH,OAAQC,YAAR,OADe;AAEfC,2BAAuBD,YAAvB,aAA2CJ,YAA3C;AAFe,CAAjB;;AAKA;AACA,IAAMO,cAAc;AAClBJ,OAAQC,YAAR,OADkB;AAElBC,2BAAuBD,YAAvB;AAFkB,CAApB;;AAKA;AACA,IAAMI,WAAW;AACfL,OAAK,KADU;AAEfE,2BAAuBL,YAAvB;AAFe,CAAjB;;AAKA;AACA,IAAMS,cAAc;AAClBN,OAAK,KADa;AAElBE,UAAQ;AAFU,CAApB;;AAKA,IAAMK,eAAe;AACnB,gBAAcJ,QADK;AAEnB,mBAAiBC,WAFE;AAGnB,gBAAcC,QAHK;AAInB,mBAAiBC;AAJE,CAArB;;AAOA,SAASE,WAAT,CAAqBC,IAArB,EAA2B;AACzB,MAAMC,SAASH,aAAaE,IAAb,CAAf;AACA,SAAOE,OAAOC,IAAP,CAAYF,MAAZ,EACJG,GADI,CACA,UAACC,GAAD,EAAS;AACZ,WAAUA,GAAV,UAAkBJ,OAAOI,GAAP,CAAlB;AACD,GAHI,EAIJC,IAJI,CAIC,GAJD,CAAP;AAKD;;AAEDC,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVT,UAAM;AACJU,YAAMC,MADF;AAEJC,aAAO;AAFH;AADI,GAFJ;AAQRC,QAAM;AACJC,WAAO;AADH,GARE;;AAYRC,aAAW;AACTf,UAAM,gBAAY;AAChB,WAAKgB,OAAL,CAAa;AACXF,eAAOf,YAAY,KAAKc,IAAL,CAAUb,IAAtB;AADI,OAAb;AAGD;AALQ;AAZH,CAAV,E","file":"bld-wrapper\\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 = 25);\n","const app = getApp();\r\n\r\nconst menuButtonInfo = app.globalData.menuButtonDistance;\r\nconst systemInfo = app.globalData.systemInfo\r\n// 计算 tab bar 的高度\r\nconst safeArea = systemInfo.safeArea;\r\nconst saleAreaHeight = systemInfo.screenHeight - safeArea.bottom;\r\nconst tabBarHeight = 60 + saleAreaHeight;\r\n\r\n// 计算 nav bar 的高度\r\nconst statusBarHeight = systemInfo.statusBarHeight;\r\nconst gap = menuButtonInfo.top - statusBarHeight;\r\n\r\nconst navBarHeight = statusBarHeight + menuButtonInfo.height + gap * 2;\r\n\r\n// 占据 nav bar 和 tab bar 之间的空间\r\nconst navToTab = {\r\n top: `${navBarHeight}px`,\r\n height: `calc(100% - ${navBarHeight}px - ${tabBarHeight}px)`,\r\n};\r\n\r\n// 占据 nav bar 页面底部的空间\r\nconst navToBottom = {\r\n top: `${navBarHeight}px`,\r\n height: `calc(100% - ${navBarHeight}px)`,\r\n};\r\n\r\n// 从页面顶部到 tab bar 之间的空间\r\nconst topToTab = {\r\n top: \"0px\",\r\n height: `calc(100% - ${tabBarHeight}px)`,\r\n};\r\n\r\n// 占据所有空间\r\nconst topToBottom = {\r\n top: \"0px\",\r\n height: \"100%\",\r\n};\r\n\r\nconst modeStyleMap = {\r\n \"nav-to-tab\": navToTab,\r\n \"nav-to-bottom\": navToBottom,\r\n \"top-to-tab\": topToTab,\r\n \"top-to-bottom\": topToBottom,\r\n};\r\n\r\nfunction modeToStyle(mode) {\r\n const styles = modeStyleMap[mode];\r\n return Object.keys(styles)\r\n .map((key) => {\r\n return `${key}: ${styles[key]}`;\r\n })\r\n .join(\";\");\r\n}\r\n\r\nComponent({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n mode: {\r\n type: String,\r\n value: \"nav-to-bottom\",\r\n },\r\n },\r\n data: {\r\n style: \"height:100%\",\r\n },\r\n\r\n observers: {\r\n mode: function () {\r\n this.setData({\r\n style: modeToStyle(this.data.mode),\r\n });\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-wrapper/index.js"],"names":["app","getApp","menuButtonInfo","globalData","menuButtonDistance","systemInfo","safeArea","saleAreaHeight","screenHeight","bottom","tabBarHeight","statusBarHeight","gap","top","navBarHeight","height","navToTab","navToBottom","topToTab","topToBottom","modeStyleMap","modeToStyle","mode","styles","Object","keys","map","key","join","Component","externalClasses","properties","type","String","value","data","style","observers","setData"],"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;;;;;;;;;;;AClFA,IAAMA,MAAMC,QAAZ;;AAEA,IAAMC,iBAAiBF,IAAIG,UAAJ,CAAeC,kBAAtC;AACA,IAAMC,aAAaL,IAAIG,UAAJ,CAAeE,UAAlC;AACA;AACA,IAAMC,WAAWD,WAAWC,QAA5B;AACA,IAAMC,iBAAiBF,WAAWG,YAAX,GAA0BF,SAASG,MAA1D;AACA,IAAMC,eAAe,KAAKH,cAA1B;;AAEA;AACA,IAAMI,kBAAkBN,WAAWM,eAAnC;AACA,IAAMC,MAAMV,eAAeW,GAAf,GAAqBF,eAAjC;;AAEA,IAAMG,eAAeH,kBAAkBT,eAAea,MAAjC,GAA0CH,MAAM,CAArE;;AAEA;AACA,IAAMI,WAAW;AACfH,OAAQC,YAAR,OADe;AAEfC,2BAAuBD,YAAvB,aAA2CJ,YAA3C;AAFe,CAAjB;;AAKA;AACA,IAAMO,cAAc;AAClBJ,OAAQC,YAAR,OADkB;AAElBC,2BAAuBD,YAAvB;AAFkB,CAApB;;AAKA;AACA,IAAMI,WAAW;AACfL,OAAK,KADU;AAEfE,2BAAuBL,YAAvB;AAFe,CAAjB;;AAKA;AACA,IAAMS,cAAc;AAClBN,OAAK,KADa;AAElBE,UAAQ;AAFU,CAApB;;AAKA,IAAMK,eAAe;AACnB,gBAAcJ,QADK;AAEnB,mBAAiBC,WAFE;AAGnB,gBAAcC,QAHK;AAInB,mBAAiBC;AAJE,CAArB;;AAOA,SAASE,WAAT,CAAqBC,IAArB,EAA2B;AACzB,MAAMC,SAASH,aAAaE,IAAb,CAAf;AACA,SAAOE,OAAOC,IAAP,CAAYF,MAAZ,EACJG,GADI,CACA,UAACC,GAAD,EAAS;AACZ,WAAUA,GAAV,UAAkBJ,OAAOI,GAAP,CAAlB;AACD,GAHI,EAIJC,IAJI,CAIC,GAJD,CAAP;AAKD;;AAEDC,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVT,UAAM;AACJU,YAAMC,MADF;AAEJC,aAAO;AAFH;AADI,GAFJ;AAQRC,QAAM;AACJC,WAAO;AADH,GARE;;AAYRC,aAAW;AACTf,UAAM,gBAAY;AAChB,WAAKgB,OAAL,CAAa;AACXF,eAAOf,YAAY,KAAKc,IAAL,CAAUb,IAAtB;AADI,OAAb;AAGD;AALQ;AAZH,CAAV,E","file":"bld-wrapper\\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 = 24);\n","const app = getApp();\r\n\r\nconst menuButtonInfo = app.globalData.menuButtonDistance;\r\nconst systemInfo = app.globalData.systemInfo\r\n// 计算 tab bar 的高度\r\nconst safeArea = systemInfo.safeArea;\r\nconst saleAreaHeight = systemInfo.screenHeight - safeArea.bottom;\r\nconst tabBarHeight = 60 + saleAreaHeight;\r\n\r\n// 计算 nav bar 的高度\r\nconst statusBarHeight = systemInfo.statusBarHeight;\r\nconst gap = menuButtonInfo.top - statusBarHeight;\r\n\r\nconst navBarHeight = statusBarHeight + menuButtonInfo.height + gap * 2;\r\n\r\n// 占据 nav bar 和 tab bar 之间的空间\r\nconst navToTab = {\r\n top: `${navBarHeight}px`,\r\n height: `calc(100% - ${navBarHeight}px - ${tabBarHeight}px)`,\r\n};\r\n\r\n// 占据 nav bar 页面底部的空间\r\nconst navToBottom = {\r\n top: `${navBarHeight}px`,\r\n height: `calc(100% - ${navBarHeight}px)`,\r\n};\r\n\r\n// 从页面顶部到 tab bar 之间的空间\r\nconst topToTab = {\r\n top: \"0px\",\r\n height: `calc(100% - ${tabBarHeight}px)`,\r\n};\r\n\r\n// 占据所有空间\r\nconst topToBottom = {\r\n top: \"0px\",\r\n height: \"100%\",\r\n};\r\n\r\nconst modeStyleMap = {\r\n \"nav-to-tab\": navToTab,\r\n \"nav-to-bottom\": navToBottom,\r\n \"top-to-tab\": topToTab,\r\n \"top-to-bottom\": topToBottom,\r\n};\r\n\r\nfunction modeToStyle(mode) {\r\n const styles = modeStyleMap[mode];\r\n return Object.keys(styles)\r\n .map((key) => {\r\n return `${key}: ${styles[key]}`;\r\n })\r\n .join(\";\");\r\n}\r\n\r\nComponent({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n mode: {\r\n type: String,\r\n value: \"nav-to-bottom\",\r\n },\r\n },\r\n data: {\r\n style: \"height:100%\",\r\n },\r\n\r\n observers: {\r\n mode: function () {\r\n this.setData({\r\n style: modeToStyle(this.data.mode),\r\n });\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 = 33);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 32);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 33:
90
+ /***/ 32:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -101,7 +101,7 @@ function e(e, t, n) {
101
101
  * Released under the MIT license
102
102
  * Author: Jin Yufeng
103
103
  */
104
- var t = __webpack_require__(34),
104
+ var t = __webpack_require__(33),
105
105
  n = [];Component({ data: { nodes: [] }, properties: { containerStyle: String, content: { type: String, value: "", observer: function observer(e) {
106
106
  this.setContent(e);
107
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() {
@@ -168,7 +168,7 @@ var t = __webpack_require__(34),
168
168
 
169
169
  /***/ }),
170
170
 
171
- /***/ 34:
171
+ /***/ 33:
172
172
  /***/ (function(module, exports, __webpack_require__) {
173
173
 
174
174
  "use strict";