bulade-ui 1.1.9 → 1.1.11

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 (115) hide show
  1. package/miniprogram_dist/bld-action-sheet/index.js +2 -2
  2. package/miniprogram_dist/bld-action-sheet/index.js.map +1 -1
  3. package/miniprogram_dist/bld-badge/index.js +2 -2
  4. package/miniprogram_dist/bld-badge/index.js.map +1 -1
  5. package/miniprogram_dist/{cell-group → bld-cell-group-v2}/index.js +3 -3
  6. package/miniprogram_dist/bld-cell-group-v2/index.js.map +1 -0
  7. package/miniprogram_dist/{cell-group → bld-cell-group-v2}/index.wxss +29 -29
  8. package/miniprogram_dist/{cell → bld-cell-v2}/index.js +3 -3
  9. package/miniprogram_dist/bld-cell-v2/index.js.map +1 -0
  10. package/miniprogram_dist/{cell → bld-cell-v2}/index.wxss +63 -63
  11. package/miniprogram_dist/bld-checkbox/index.js +2 -2
  12. package/miniprogram_dist/bld-checkbox/index.js.map +1 -1
  13. package/miniprogram_dist/bld-checkbox-group/index.js +2 -2
  14. package/miniprogram_dist/bld-checkbox-group/index.js.map +1 -1
  15. package/miniprogram_dist/bld-cloud-image/index.js +2 -2
  16. package/miniprogram_dist/bld-cloud-image/index.js.map +1 -1
  17. package/miniprogram_dist/bld-collapse/index.js +2 -2
  18. package/miniprogram_dist/bld-collapse/index.js.map +1 -1
  19. package/miniprogram_dist/bld-dialog-tip/index.js +2 -2
  20. package/miniprogram_dist/bld-dialog-tip/index.js.map +1 -1
  21. package/miniprogram_dist/bld-dialog-tip/index.wxss +1 -1
  22. package/miniprogram_dist/bld-drawer/index.js +2 -2
  23. package/miniprogram_dist/bld-drawer/index.js.map +1 -1
  24. package/miniprogram_dist/bld-empty-page/index.js +2 -2
  25. package/miniprogram_dist/bld-empty-page/index.js.map +1 -1
  26. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js +50 -6
  27. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js.map +1 -1
  28. package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js +2 -2
  29. package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js.map +1 -1
  30. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.js +2 -2
  31. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.js.map +1 -1
  32. package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js +2 -2
  33. package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js.map +1 -1
  34. package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js +2 -2
  35. package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js.map +1 -1
  36. package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js +2 -2
  37. package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js.map +1 -1
  38. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js +2 -2
  39. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js.map +1 -1
  40. package/miniprogram_dist/bld-half-screen/index.js +2 -2
  41. package/miniprogram_dist/bld-half-screen/index.js.map +1 -1
  42. package/miniprogram_dist/bld-html/index.js +2 -2
  43. package/miniprogram_dist/bld-html/index.js.map +1 -1
  44. package/miniprogram_dist/bld-html/index.wxss +1 -1
  45. package/miniprogram_dist/bld-icon/index.wxss +6 -2
  46. package/miniprogram_dist/bld-loading/index.js +2 -2
  47. package/miniprogram_dist/bld-loading/index.js.map +1 -1
  48. package/miniprogram_dist/bld-message/index.js +2 -2
  49. package/miniprogram_dist/bld-message/index.js.map +1 -1
  50. package/miniprogram_dist/bld-message/message.js +2 -2
  51. package/miniprogram_dist/bld-message/message.js.map +1 -1
  52. package/miniprogram_dist/bld-modal/index.js +2 -2
  53. package/miniprogram_dist/bld-modal/index.js.map +1 -1
  54. package/miniprogram_dist/bld-modal/modal.js +2 -2
  55. package/miniprogram_dist/bld-modal/modal.js.map +1 -1
  56. package/miniprogram_dist/bld-nav-bar/index.js +2 -2
  57. package/miniprogram_dist/bld-nav-bar/index.js.map +1 -1
  58. package/miniprogram_dist/bld-navbar/index.js +2 -2
  59. package/miniprogram_dist/bld-navbar/index.js.map +1 -1
  60. package/miniprogram_dist/bld-navbar-group/index.js +2 -2
  61. package/miniprogram_dist/bld-navbar-group/index.js.map +1 -1
  62. package/miniprogram_dist/bld-notice-bar/index.js +2 -2
  63. package/miniprogram_dist/bld-notice-bar/index.js.map +1 -1
  64. package/miniprogram_dist/bld-overlay/index.js +2 -2
  65. package/miniprogram_dist/bld-overlay/index.js.map +1 -1
  66. package/miniprogram_dist/bld-page/index.js +2 -2
  67. package/miniprogram_dist/bld-page/index.js.map +1 -1
  68. package/miniprogram_dist/bld-pop-up/index.js +2 -2
  69. package/miniprogram_dist/bld-pop-up/index.js.map +1 -1
  70. package/miniprogram_dist/bld-progress/index.js +2 -2
  71. package/miniprogram_dist/bld-progress/index.js.map +1 -1
  72. package/miniprogram_dist/bld-radio/index.js +2 -2
  73. package/miniprogram_dist/bld-radio/index.js.map +1 -1
  74. package/miniprogram_dist/bld-radio-group/index.js +2 -2
  75. package/miniprogram_dist/bld-radio-group/index.js.map +1 -1
  76. package/miniprogram_dist/bld-retry/index.js +2 -2
  77. package/miniprogram_dist/bld-retry/index.js.map +1 -1
  78. package/miniprogram_dist/bld-scroll-view/index.js +2 -2
  79. package/miniprogram_dist/bld-scroll-view/index.js.map +1 -1
  80. package/miniprogram_dist/bld-tag/index.js +2 -2
  81. package/miniprogram_dist/bld-tag/index.js.map +1 -1
  82. package/miniprogram_dist/bld-toast/index.js +2 -2
  83. package/miniprogram_dist/bld-toast/index.js.map +1 -1
  84. package/miniprogram_dist/bld-toast/toast.js +2 -2
  85. package/miniprogram_dist/bld-toast/toast.js.map +1 -1
  86. package/miniprogram_dist/bld-wrapper/index.js +2 -2
  87. package/miniprogram_dist/bld-wrapper/index.js.map +1 -1
  88. package/miniprogram_dist/components-npm/mp-weixin/index.js +4 -4
  89. package/miniprogram_dist/components-npm/mp-weixin/index.js.map +1 -1
  90. package/miniprogram_dist/components-npm/mp-weixin/node/node.js +2 -2
  91. package/miniprogram_dist/components-npm/mp-weixin/node/node.js.map +1 -1
  92. package/miniprogram_dist/icon/index.js +2 -2
  93. package/miniprogram_dist/icon/index.js.map +1 -1
  94. package/package.json +1 -1
  95. package/src/{cell-group → bld-cell-group-v2}/index.js +1 -1
  96. package/src/{cell-group → bld-cell-group-v2}/index.wxss +29 -29
  97. package/src/{cell → bld-cell-v2}/index.js +1 -1
  98. package/src/{cell → bld-cell-v2}/index.wxss +63 -63
  99. package/src/bld-dialog-tip/index.wxss +1 -1
  100. package/src/bld-form/bld-form-item/bld-form-date/index.js +48 -4
  101. package/src/bld-html/index.wxss +1 -1
  102. package/src/bld-icon/index.scss +6 -2
  103. package/src/bld-icon/index.wxss +6 -2
  104. package/miniprogram_dist/cell/index.js.map +0 -1
  105. package/miniprogram_dist/cell-group/index.js.map +0 -1
  106. /package/miniprogram_dist/{cell-group → bld-cell-group-v2}/index.json +0 -0
  107. /package/miniprogram_dist/{cell-group → bld-cell-group-v2}/index.wxml +0 -0
  108. /package/miniprogram_dist/{cell → bld-cell-v2}/index.json +0 -0
  109. /package/miniprogram_dist/{cell → bld-cell-v2}/index.wxml +0 -0
  110. /package/src/{cell-group → bld-cell-group-v2}/index.json +0 -0
  111. /package/src/{cell-group → bld-cell-group-v2}/index.scss +0 -0
  112. /package/src/{cell-group → bld-cell-group-v2}/index.wxml +0 -0
  113. /package/src/{cell → bld-cell-v2}/index.json +0 -0
  114. /package/src/{cell → bld-cell-v2}/index.scss +0 -0
  115. /package/src/{cell → bld-cell-v2}/index.wxml +0 -0
@@ -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 = 41);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 39:
90
+ /***/ 41:
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-action-sheet/index.js"],"names":["Component","externalClasses","options","addGlobalClass","multipleSlots","properties","visible","type","Boolean","value","zIndex","Number","maskClosable","showCancel","cancelText","String","actions","Array","methods","handleMaskClick","data","handleCancelClick","handleItemClick","currentTarget","dataset","index","item","loading","disabled","triggerEvent","getuserinfo","detail","contact","getphonenumber","error"],"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,EAAiB,mBAAjB,EAAsC,qBAAtC,CADT;;AAGRC,WAAS;AACPC,oBAAgB,IADT;AAEPC,mBAAe;AAFR,GAHD;;AAQRC,cAAY;AACVC,aAAS;AACPC,YAAMC,OADC;AAEPC,aAAO;AAFA,KADC;AAKVC,YAAQ;AACNH,YAAMI,MADA;AAENF,aAAO;AAFD,KALE;AASVG,kBAAc;AACZL,YAAMC,OADM;AAEZC,aAAO;AAFK,KATJ;AAaVI,gBAAY;AACVN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,mBA2CC;AAAA,sFAAJ,EAAI;AAAA,+BADNH,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,OAAlB,EAA2BE,MAA3B;AACD;AA7CM;AAnCD,CAAV,E","file":"bld-action-sheet\\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 = 39);\n","Component({\r\n externalClasses: ['custom-class', 'custom-mask-class', 'custom-header-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n multipleSlots: true\r\n },\r\n\r\n properties: {\r\n visible: {\r\n type: Boolean,\r\n value: false\r\n },\r\n zIndex: {\r\n type: Number,\r\n value: 9\r\n },\r\n maskClosable: {\r\n type: Boolean,\r\n value: true\r\n },\r\n showCancel: {\r\n type: Boolean,\r\n value: false\r\n },\r\n cancelText: {\r\n type: String,\r\n value: '取消'\r\n },\r\n actions: {\r\n type: Array,\r\n value: []\r\n }\r\n },\r\n\r\n methods: {\r\n // 点击遮罩\r\n handleMaskClick() {\r\n if (!this.data.maskClosable) return\r\n this.handleCancelClick()\r\n },\r\n\r\n // 点击事件\r\n handleItemClick({ currentTarget = {} }) {\r\n const dataset = currentTarget.dataset || {}\r\n const { index } = dataset\r\n\r\n const item = this.data.actions[index]\r\n\r\n if (item.loading || item.disabled) return\r\n\r\n this.triggerEvent('click', {\r\n index\r\n })\r\n },\r\n\r\n // 取消\r\n handleCancelClick() {\r\n this.triggerEvent('cancel')\r\n },\r\n\r\n getuserinfo({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('getuserinfo', detail)\r\n },\r\n contact({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('contact', detail)\r\n },\r\n getphonenumber({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('getphonenumber', detail)\r\n },\r\n error({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('error', detail)\r\n }\r\n }\r\n})"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-action-sheet/index.js"],"names":["Component","externalClasses","options","addGlobalClass","multipleSlots","properties","visible","type","Boolean","value","zIndex","Number","maskClosable","showCancel","cancelText","String","actions","Array","methods","handleMaskClick","data","handleCancelClick","handleItemClick","currentTarget","dataset","index","item","loading","disabled","triggerEvent","getuserinfo","detail","contact","getphonenumber","error"],"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,EAAiB,mBAAjB,EAAsC,qBAAtC,CADT;;AAGRC,WAAS;AACPC,oBAAgB,IADT;AAEPC,mBAAe;AAFR,GAHD;;AAQRC,cAAY;AACVC,aAAS;AACPC,YAAM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CPE,kBApCO,4BAsCC;AAAA,sFAAJ,EAAI;AAAA,+BADNF,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,gBAAlB,EAAoCE,MAApC;AACD,KAxCM;AAyCPG,SAzCO,mBA2CC;AAAA,sFAAJ,EAAI;AAAA,+BADNH,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,OAAlB,EAA2BE,MAA3B;AACD;AA7CM;AAnCD,CAAV,E","file":"bld-action-sheet\\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 = 41);\n","Component({\r\n externalClasses: ['custom-class', 'custom-mask-class', 'custom-header-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n multipleSlots: true\r\n },\r\n\r\n properties: {\r\n visible: {\r\n type: Boolean,\r\n value: false\r\n },\r\n zIndex: {\r\n type: Number,\r\n value: 9\r\n },\r\n maskClosable: {\r\n type: Boolean,\r\n value: true\r\n },\r\n showCancel: {\r\n type: Boolean,\r\n value: false\r\n },\r\n cancelText: {\r\n type: String,\r\n value: '取消'\r\n },\r\n actions: {\r\n type: Array,\r\n value: []\r\n }\r\n },\r\n\r\n methods: {\r\n // 点击遮罩\r\n handleMaskClick() {\r\n if (!this.data.maskClosable) return\r\n this.handleCancelClick()\r\n },\r\n\r\n // 点击事件\r\n handleItemClick({ currentTarget = {} }) {\r\n const dataset = currentTarget.dataset || {}\r\n const { index } = dataset\r\n\r\n const item = this.data.actions[index]\r\n\r\n if (item.loading || item.disabled) return\r\n\r\n this.triggerEvent('click', {\r\n index\r\n })\r\n },\r\n\r\n // 取消\r\n handleCancelClick() {\r\n this.triggerEvent('cancel')\r\n },\r\n\r\n getuserinfo({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('getuserinfo', detail)\r\n },\r\n contact({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('contact', detail)\r\n },\r\n getphonenumber({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('getphonenumber', detail)\r\n },\r\n error({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('error', detail)\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 = 43);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 45);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 43:
90
+ /***/ 45:
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-badge/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","value","type","Number","optionalTypes","String","observer","max","bgcolor","isDot","Boolean","static","data","_value","methods","_valueObserver","isNaN","parseInt","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,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,qBAAe,CAACD,MAAD,EAASE,MAAT,CAFV;AAGLJ,aAAO,EAHF;AAILK,gBAAU;AAJL,KADG;AAOVC,SAAK;AACHL,YAAMC,MADH;AAEHF,aAAO;AAFJ,KAPK;AAWVO,aAAS;AACPN,YAAMG,MADC;AAEPJ,aAAO;AAFA,KAXC;AAeVQ,WAAO;AACLP,YAAMQ,OADD;AAELT,aAAO;AAFF,KAfG;AAmBVU,YAAQ;AACNT,YAAMQ,OADA;AAENT,aAAO;AAFD;AAnBE,GAPJ;;AAgCRW,QAAM;AACJC,YAAQ;AADJ,GAhCE;;AAoCRC,WAAS;AACPC,kBADO,4BACU;AAAA,kBACQ,KAAKH,IADb;AAAA,UACPX,KADO,SACPA,KADO;AAAA,UACAM,GADA,SACAA,GADA;;;AAGf,UAAIM,SAAS,EAAb;AACA,UAAI,CAACG,MAAMf,KAAN,CAAL,EAAmB;AACjBY,iBAASI,SAAShB,KAAT,IAAkBgB,SAASV,GAAT,CAAlB,GAAqCA,GAArC,SAA8CN,KAAvD;AACD,OAFD,MAEO;AACLY,iBAASZ,KAAT;AACD;;AAED,WAAKiB,OAAL,CAAa;AACXL;AADW,OAAb;AAGD;AAdM;AApCD,CAAV,E","file":"bld-badge\\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 value: {\r\n type: Number,\r\n optionalTypes: [Number, String],\r\n value: '',\r\n observer: '_valueObserver'\r\n },\r\n max: {\r\n type: Number,\r\n value: 99\r\n },\r\n bgcolor: {\r\n type: String,\r\n value: ''\r\n },\r\n isDot: {\r\n type: Boolean,\r\n value: false\r\n },\r\n static: {\r\n type: Boolean,\r\n value: false\r\n }\r\n },\r\n\r\n data: {\r\n _value: 0\r\n },\r\n\r\n methods: {\r\n _valueObserver() {\r\n const { value, max } = this.data\r\n\r\n let _value = ''\r\n if (!isNaN(value)) {\r\n _value = parseInt(value) > parseInt(max) ? `${max}+` : value\r\n } else {\r\n _value = value\r\n }\r\n\r\n this.setData({\r\n _value\r\n })\r\n }\r\n }\r\n})\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-badge/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","value","type","Number","optionalTypes","String","observer","max","bgcolor","isDot","Boolean","static","data","_value","methods","_valueObserver","isNaN","parseInt","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,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,qBAAe,CAACD,MAAD,EAASE,MAAT,CAFV;AAGLJ,aAAO,EAHF;AAILK,gBAAU;AAJL,KADG;AAOVC,SAAK;AACHL,YAAMC,MADH;AAEHF,aAAO;AAFJ,KAPK;AAWVO,aAAS;AACPN,YAAMG,MADC;AAEPJ,aAAO;AAFA,KAXC;AAeVQ,WAAO;AACLP,YAAMQ,OADD;AAELT,aAAO;AAFF,KAfG;AAmBVU,YAAQ;AACNT,YAAMQ,OADA;AAENT,aAAO;AAFD;AAnBE,GAPJ;;AAgCRW,QAAM;AACJC,YAAQ;AADJ,GAhCE;;AAoCRC,WAAS;AACPC,kBADO,4BACU;AAAA,kBACQ,KAAKH,IADb;AAAA,UACPX,KADO,SACPA,KADO;AAAA,UACAM,GADA,SACAA,GADA;;;AAGf,UAAIM,SAAS,EAAb;AACA,UAAI,CAACG,MAAMf,KAAN,CAAL,EAAmB;AACjBY,iBAASI,SAAShB,KAAT,IAAkBgB,SAASV,GAAT,CAAlB,GAAqCA,GAArC,SAA8CN,KAAvD;AACD,OAFD,MAEO;AACLY,iBAASZ,KAAT;AACD;;AAED,WAAKiB,OAAL,CAAa;AACXL;AADW,OAAb;AAGD;AAdM;AApCD,CAAV,E","file":"bld-badge\\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 = 45);\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 value: {\r\n type: Number,\r\n optionalTypes: [Number, String],\r\n value: '',\r\n observer: '_valueObserver'\r\n },\r\n max: {\r\n type: Number,\r\n value: 99\r\n },\r\n bgcolor: {\r\n type: String,\r\n value: ''\r\n },\r\n isDot: {\r\n type: Boolean,\r\n value: false\r\n },\r\n static: {\r\n type: Boolean,\r\n value: false\r\n }\r\n },\r\n\r\n data: {\r\n _value: 0\r\n },\r\n\r\n methods: {\r\n _valueObserver() {\r\n const { value, max } = this.data\r\n\r\n let _value = ''\r\n if (!isNaN(value)) {\r\n _value = parseInt(value) > parseInt(max) ? `${max}+` : value\r\n } else {\r\n _value = value\r\n }\r\n\r\n this.setData({\r\n _value\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 = 53);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 11);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 53:
90
+ /***/ 11:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -102,7 +102,7 @@ Component({
102
102
  },
103
103
 
104
104
  relations: {
105
- '../cell/index': {
105
+ '../bld-cell-v2/index': {
106
106
  type: 'descendant',
107
107
 
108
108
  linked: function linked() {
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell-group-v2/index.js"],"names":["Component","externalClasses","options","addGlobalClass","multipleSlots","relations","type","linked","_updateChildren","linkChanged","_updateDataChange","unlinked","properties","title","String","value","card","Boolean","border","observer","val","methods","timer","clearTimeout","setTimeout","cells","getRelationNodes","len","length","lastIndex","forEach","cell","index","updateCellBorder","data"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB,IADT;AAEPC,mBAAe;AAFR,GAHD;;AAQRC,aAAW;AACT,4BAAwB;AACtBC,YAAM,YADgB;;AAGtBC,YAHsB,oBAGb;AACP,aAAKC,eAAL;AACD,OALqB;AAOtBC,iBAPsB,yBAOR;AACZ,aAAKC,iBAAL;AACD,OATqB;AAWtBC,cAXsB,sBAWX;AACT,aAAKH,eAAL;AACD;AAbqB;AADf,GARH;;AA0BRI,cAAY;AACVC,WAAO;AACLP,YAAMQ,MADD;AAELC,aAAO;AAFF,KADG;;AAMVC,UAAM;AACJV,YAAMW,OADF;AAEJF,aAAO;AAFH,KANI;;AAWVG,YAAQ;AACNZ,YAAMW,OADA;AAENF,aAAO,KAFD;AAGNI,cAHM,oBAGGC,GAHH,EAGQ;AACZ,aAAKZ,eAAL;AACD;AALK;AAXE,GA1BJ;;AA8CRa,WAAS;AACPb,mBADO,6BACW;AAAA;;AAEhB;AACA,UAAI,KAAKc,KAAT,EAAgB;AACdC,qBAAa,KAAKD,KAAlB;AACA,aAAKA,KAAL,GAAa,IAAb;AACD;;AAED,WAAKA,KAAL,GAAaE,WAAW,YAAM;;AAE5B,YAAIC,QAAQ,MAAKC,gBAAL,CAAsB,eAAtB,CAAZ;AACA,YAAMC,MAAMF,MAAMG,MAAlB;;AAEA,YAAID,MAAM,CAAV,EAAa;AACX,cAAIE,YAAYF,MAAM,CAAtB;;AAEAF,gBAAMK,OAAN,CAAc,UAACC,IAAD,EAAOC,KAAP,EAAiB;AAC7BD,iBAAKE,gBAAL,CAAsB,MAAKC,IAAL,CAAUhB,MAAV,IAAoBc,UAAUH,SAApD;AACD,WAFD;AAGD;AACF,OAZY,EAYV,EAZU,CAAb;AAaD;AAtBM;AA9CD,CAAV,E","file":"bld-cell-group-v2\\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 = 11);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n multipleSlots: true\r\n },\r\n\r\n relations: {\r\n '../bld-cell-v2/index': {\r\n type: 'descendant',\r\n\r\n linked() {\r\n this._updateChildren()\r\n },\r\n\r\n linkChanged() {\r\n this._updateDataChange();\r\n },\r\n\r\n unlinked() {\r\n this._updateChildren()\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n title: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n card: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n border: {\r\n type: Boolean,\r\n value: false,\r\n observer(val) {\r\n this._updateChildren()\r\n }\r\n }\r\n },\r\n\r\n methods: {\r\n _updateChildren() {\r\n\r\n // 防抖减少重复触发\r\n if (this.timer) {\r\n clearTimeout(this.timer)\r\n this.timer = null\r\n }\r\n\r\n this.timer = setTimeout(() => {\r\n\r\n let cells = this.getRelationNodes('../cell/index')\r\n const len = cells.length\r\n\r\n if (len > 0) {\r\n let lastIndex = len - 1\r\n\r\n cells.forEach((cell, index) => {\r\n cell.updateCellBorder(this.data.border && index !== lastIndex)\r\n })\r\n }\r\n }, 60)\r\n }\r\n }\r\n})"],"sourceRoot":""}
@@ -1,29 +1,29 @@
1
- .m-cell-group {
2
- position: relative;
3
- margin: 0;
4
- background: #fff;
5
- transition: margin 0.2s ease-in-out;
6
- }
7
- .m-cell-group.m-cell-group--card {
8
- margin: 32rpx;
9
- border-radius: 12rpx;
10
- overflow: hidden;
11
- }
12
- .m-cell-group .m-cell-group__header {
13
- display: flex;
14
- align-items: center;
15
- justify-content: space-between;
16
- flex-shrink: 0;
17
- position: relative;
18
- padding: 0 32rpx;
19
- height: 100rpx;
20
- font-size: 32rpx;
21
- color: var(--color-text-regular, #606266);
22
- background-color: #fcfcfc;
23
- }
24
- .m-cell-group .m-cell-group__header .m-cell-group__title {
25
- flex: 1;
26
- overflow: hidden;
27
- text-overflow: ellipsis;
28
- white-space: nowrap;
29
- }
1
+ .m-cell-group {
2
+ position: relative;
3
+ margin: 0;
4
+ background: #fff;
5
+ transition: margin 0.2s ease-in-out;
6
+ }
7
+ .m-cell-group.m-cell-group--card {
8
+ margin: 32rpx;
9
+ border-radius: 12rpx;
10
+ overflow: hidden;
11
+ }
12
+ .m-cell-group .m-cell-group__header {
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: space-between;
16
+ flex-shrink: 0;
17
+ position: relative;
18
+ padding: 0 32rpx;
19
+ height: 100rpx;
20
+ font-size: 32rpx;
21
+ color: var(--color-text-regular, #606266);
22
+ background-color: #fcfcfc;
23
+ }
24
+ .m-cell-group .m-cell-group__header .m-cell-group__title {
25
+ flex: 1;
26
+ overflow: hidden;
27
+ text-overflow: ellipsis;
28
+ white-space: nowrap;
29
+ }
@@ -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 = 52);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 10);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 52:
90
+ /***/ 10:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -101,7 +101,7 @@ Component({
101
101
  },
102
102
 
103
103
  relations: {
104
- '../cell-group/index': {
104
+ '../bld-cell-group-v2/index': {
105
105
  type: 'ancestor'
106
106
  }
107
107
  },
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell-v2/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","properties","icon","String","value","image","title","isMultiple","Boolean","border","iconColor","linkType","url","methods","updateCellBorder","setData","onClick","triggerEvent","data","wx","call"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QA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AAuBS,IAAvB,CAA4BD,EAA5B,EAAgC;AAC9BP;AAD8B,OAAhC;AAGD;AAhBM;AA9DD,CAAV,E","file":"bld-cell-v2\\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 = 10);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n relations: {\r\n '../bld-cell-group-v2/index': {\r\n type: 'ancestor'\r\n }\r\n },\r\n\r\n properties: {\r\n icon: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n image: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n title: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n value: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n isMultiple: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n border: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n iconColor: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n // 链接类型,可选值为 navigateTo,redirectTo,switchTab\r\n linkType: {\r\n type: String,\r\n value: 'navigateTo'\r\n },\r\n\r\n url: {\r\n type: String,\r\n value: ''\r\n }\r\n },\r\n\r\n\r\n methods: {\r\n updateCellBorder(border) {\r\n this.setData({\r\n border\r\n })\r\n },\r\n\r\n onClick() {\r\n this.triggerEvent('click')\r\n\r\n const url = this.data.url\r\n if (!url) return\r\n\r\n wx[this.data.linkType].call(wx, {\r\n url\r\n })\r\n }\r\n }\r\n});"],"sourceRoot":""}
@@ -1,63 +1,63 @@
1
- .m-cell {
2
- display: flex;
3
- align-items: center;
4
- justify-content: center;
5
- position: relative;
6
- padding: 20rpx 32rpx;
7
- line-height: 54rpx;
8
- font-size: 28rpx;
9
- }
10
- .m-cell.m-cell__hairline::after {
11
- position: absolute;
12
- box-sizing: border-box;
13
- content: " ";
14
- pointer-events: none;
15
- right: 32rpx;
16
- bottom: 0;
17
- left: 32rpx;
18
- border-bottom: 1px solid var(--color-border, #dcdee2);
19
- transform: scaleY(0.5);
20
- }
21
- .m-cell.m-cell--hover {
22
- background-color: #f7f8f9;
23
- }
24
- .m-cell .m-cell__icon {
25
- width: 38rpx;
26
- text-align: center;
27
- }
28
- .m-cell .m-cell__header {
29
- margin-right: 12rpx;
30
- display: flex;
31
- align-items: center;
32
- }
33
- .m-cell .m-cell__title {
34
- display: flex;
35
- align-items: center;
36
- flex: 1;
37
- color: var(--color-text-primary, #303133);
38
- vertical-align: middle;
39
- overflow: hidden;
40
- text-overflow: ellipsis;
41
- white-space: nowrap;
42
- }
43
- .m-cell .m-cell__desc {
44
- display: flex;
45
- align-items: center;
46
- margin-left: 20rpx;
47
- max-width: 400rpx;
48
- color: var(--color-text-secondary, #909399);
49
- font-size: 28rpx;
50
- }
51
- .m-cell .m-cell__desc.is-ellipsis {
52
- overflow: hidden;
53
- text-overflow: ellipsis;
54
- white-space: nowrap;
55
- }
56
- .m-cell .m-cell__slot {
57
- display: inline-flex;
58
- align-items: center;
59
- }
60
- .m-cell .m-cell__footer {
61
- text-align: right;
62
- margin-left: 24rpx;
63
- }
1
+ .m-cell {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ position: relative;
6
+ padding: 20rpx 32rpx;
7
+ line-height: 54rpx;
8
+ font-size: 28rpx;
9
+ }
10
+ .m-cell.m-cell__hairline::after {
11
+ position: absolute;
12
+ box-sizing: border-box;
13
+ content: " ";
14
+ pointer-events: none;
15
+ right: 32rpx;
16
+ bottom: 0;
17
+ left: 32rpx;
18
+ border-bottom: 1px solid var(--color-border, #dcdee2);
19
+ transform: scaleY(0.5);
20
+ }
21
+ .m-cell.m-cell--hover {
22
+ background-color: #f7f8f9;
23
+ }
24
+ .m-cell .m-cell__icon {
25
+ width: 38rpx;
26
+ text-align: center;
27
+ }
28
+ .m-cell .m-cell__header {
29
+ margin-right: 12rpx;
30
+ display: flex;
31
+ align-items: center;
32
+ }
33
+ .m-cell .m-cell__title {
34
+ display: flex;
35
+ align-items: center;
36
+ flex: 1;
37
+ color: var(--color-text-primary, #303133);
38
+ vertical-align: middle;
39
+ overflow: hidden;
40
+ text-overflow: ellipsis;
41
+ white-space: nowrap;
42
+ }
43
+ .m-cell .m-cell__desc {
44
+ display: flex;
45
+ align-items: center;
46
+ margin-left: 20rpx;
47
+ max-width: 400rpx;
48
+ color: var(--color-text-secondary, #909399);
49
+ font-size: 28rpx;
50
+ }
51
+ .m-cell .m-cell__desc.is-ellipsis {
52
+ overflow: hidden;
53
+ text-overflow: ellipsis;
54
+ white-space: nowrap;
55
+ }
56
+ .m-cell .m-cell__slot {
57
+ display: inline-flex;
58
+ align-items: center;
59
+ }
60
+ .m-cell .m-cell__footer {
61
+ text-align: right;
62
+ margin-left: 24rpx;
63
+ }
@@ -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 = 50);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 52);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 50:
90
+ /***/ 52:
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-checkbox/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","linked","target","parent","unlinked","properties","name","value","Boolean","disabled","checkedColor","String","labelLeft","round","data","prevent","methods","emitChange","setParentValue","triggerEvent","toggle","onClickLabel","labelDisabled","parentValue","slice","max","length","indexOf","push","index","splice"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,aAAW;AACT,mCAA+B;AAC7BC,YAAM,UADuB;AAE7BC,YAF6B,kBAEtBC,MAFsB,EAEd;AACb,aAAKC,MAAL,GAAcD,MAAd;AACD,OAJ4B;AAK7BE,cAL6B,sBAKlB;AACT,aAAKD,MAAL,GAAc,IAAd;AACD;AAP4B;AADtB,GAPH;;AAmBRE,cAAY;AACVC,UAAM,IADI;;AAGVC,WAAO;AACLP,YAAMQ,OADD;AAELD,aAAO;AAFF,KAHG;;AAQVE,cAAU;AACRT,YAAMQ,OADE;AAERD,aAAO;AAFC,KARA;;AAaVG,kBAAc;AACZV,YAAMW,MADM;AAEZJ,aAAO;AAFK,KAbJ;;AAkBVK,eAAW;AACTZ,YAAMQ,OADG;AAETD,aAAO;AAFE,KAlBD;;AAuBVM,WAAO;AACLb,YAAMQ,OADD;AAELD,aAAO;AAFF;AAvBG,GAnBJ;;AAgDRO,Q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iBAAOgB,YAAP,CAAoB,OAApB,EAA6BI,WAA7B;AACApB,iBAAOgB,YAAP,CAAoB,QAApB,EAA8BI,WAA9B;AACD;AAEF,OAbD,MAaO;;AAEL,YAAMM,QAAQN,YAAYI,OAAZ,CAAoBrB,IAApB,CAAd;;AAEA,YAAIuB,UAAU,CAAC,CAAf,EAAkB;AAChBN,sBAAYO,MAAZ,CAAmBD,KAAnB,EAA0B,CAA1B;AACA1B,iBAAOgB,YAAP,CAAoB,OAApB,EAA6BI,WAA7B;AACApB,iBAAOgB,YAAP,CAAoB,QAApB,EAA8BI,WAA9B;AACD;AACF;AACF;AAvDM;AApDD,CAAV,E","file":"bld-checkbox\\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: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n relations: {\r\n '../bld-checkbox-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: null,\r\n \r\n value: {\r\n type: Boolean,\r\n value: false\r\n },\r\n \r\n disabled: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n checkedColor: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n labelLeft: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n round: {\r\n type: Boolean,\r\n value: false\r\n }\r\n },\r\n\r\n data: {\r\n prevent: false, // 在超出可选个数限制时使用\r\n },\r\n\r\n methods: {\r\n emitChange(value) {\r\n // \r\n if (this.parent) {\r\n this.setParentValue(this.parent, value);\r\n } else {\r\n this.triggerEvent('input', value);\r\n this.triggerEvent('change', value);\r\n }\r\n },\r\n\r\n toggle() {\r\n const { disabled, value } = this.data;\r\n\r\n if (!disabled) {\r\n this.emitChange(!value);\r\n }\r\n },\r\n\r\n onClickLabel() {\r\n const { labelDisabled, disabled, value } = this.data;\r\n if (!disabled && !labelDisabled) {\r\n this.emitChange(!value);\r\n }\r\n },\r\n\r\n setParentValue(parent, value) {\r\n const parentValue = parent.data.value.slice();\r\n\r\n const { name } = this.data;\r\n const { max } = parent.data;\r\n\r\n if (value) {\r\n if (max && parentValue.length >= max) {\r\n return\r\n }\r\n \r\n if (parentValue.indexOf(name) === -1) {\r\n\r\n parentValue.push(name)\r\n\r\n parent.triggerEvent('input', parentValue)\r\n parent.triggerEvent('change', parentValue)\r\n }\r\n\r\n } else {\r\n\r\n const index = parentValue.indexOf(name)\r\n\r\n if (index !== -1) {\r\n parentValue.splice(index, 1)\r\n parent.triggerEvent('input', parentValue)\r\n parent.triggerEvent('change', parentValue)\r\n }\r\n }\r\n }\r\n }\r\n})\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-checkbox/index.js"],"names":["Component","externalClasses","options","addGlobalClass","relations","type","linked","target","parent","unlinked","properties","name","value","Boolean","disabled","checkedColor","String","labelLeft","round","data","prevent","methods","emitChange","setParentValue","triggerEvent","toggle","onClickLabel","labelDisabled","parentValue","slice","max","length","indexOf","push","index","splice"],"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;;Q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AA0B,CAA1B;AACA1B,iBAAOgB,YAAP,CAAoB,OAApB,EAA6BI,WAA7B;AACApB,iBAAOgB,YAAP,CAAoB,QAApB,EAA8BI,WAA9B;AACD;AACF;AACF;AAvDM;AApDD,CAAV,E","file":"bld-checkbox\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 52);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n relations: {\r\n '../bld-checkbox-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: null,\r\n \r\n value: {\r\n type: Boolean,\r\n value: false\r\n },\r\n \r\n disabled: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n checkedColor: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n labelLeft: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n round: {\r\n type: Boolean,\r\n value: false\r\n }\r\n },\r\n\r\n data: {\r\n prevent: false, // 在超出可选个数限制时使用\r\n },\r\n\r\n methods: {\r\n emitChange(value) {\r\n // \r\n if (this.parent) {\r\n this.setParentValue(this.parent, value);\r\n } else {\r\n this.triggerEvent('input', value);\r\n this.triggerEvent('change', value);\r\n }\r\n },\r\n\r\n toggle() {\r\n const { disabled, value } = this.data;\r\n\r\n if (!disabled) {\r\n this.emitChange(!value);\r\n }\r\n },\r\n\r\n onClickLabel() {\r\n const { labelDisabled, disabled, value } = this.data;\r\n if (!disabled && !labelDisabled) {\r\n this.emitChange(!value);\r\n }\r\n },\r\n\r\n setParentValue(parent, value) {\r\n const parentValue = parent.data.value.slice();\r\n\r\n const { name } = this.data;\r\n const { max } = parent.data;\r\n\r\n if (value) {\r\n if (max && parentValue.length >= max) {\r\n return\r\n }\r\n \r\n if (parentValue.indexOf(name) === -1) {\r\n\r\n parentValue.push(name)\r\n\r\n parent.triggerEvent('input', parentValue)\r\n parent.triggerEvent('change', parentValue)\r\n }\r\n\r\n } else {\r\n\r\n const index = parentValue.indexOf(name)\r\n\r\n if (index !== -1) {\r\n parentValue.splice(index, 1)\r\n parent.triggerEvent('input', parentValue)\r\n parent.triggerEvent('change', parentValue)\r\n }\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 = 53);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 51:
90
+ /***/ 53:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-checkbox-group/index.js"],"names":["Component","options","addGlobalClass","relations","type","linked","_updateChildren","unlinked","properties","max","Number","round","Boolean","value","Array","observer","disabled","checkedColor","String","labelLeft","methods","timer","clearTimeout","setTimeout","children","getRelationNodes","len","length","forEach","child","index","_updateChild","data","setData","indexOf","name","prevent"],"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;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,OAAT,CAAiB,UAACC,KAAD,EAAQC,KAAR,EAAkB;AACjC,kBAAKC,YAAL,CAAkBF,KAAlB;AACD,WAFD;AAGD;AACF,OAZY,EAYV,EAZU,CAAb;AAaD,KAtBM;AAwBPE,gBAxBO,wBAwBMF,KAxBN,EAwBa;AAAA,kBAMd,KAAKG,IANS;AAAA,UAEhBf,YAFgB,SAEhBA,YAFgB;AAAA,UAGhBJ,KAHgB,SAGhBA,KAHgB;AAAA,UAIhBM,SAJgB,SAIhBA,SAJgB;AAAA,UAKhBH,QALgB,SAKhBA,QALgB;;;AAQlBa,YAAMI,OAAN,CAAc;AACZpB,eAAOA,MAAMqB,OAAN,CAAcL,MAAMG,IAAN,CAAWG,IAAzB,IAAiC,CAAC,CAD7B;AAEZlB,sBAAcY,MAAMG,IAAN,CAAWf,YAAX,IAA2BA,YAF7B;AAGZE,mBAAWU,MAAMG,IAAN,CAAWb,SAAX,IAAwBA,SAHvB;AAIZH,kBAAUA,YAAYa,MAAMG,IAAN,CAAWhB,QAJrB;AAKZL,eAAO,KAAKqB,IAAL,CAAUrB,KAAV,IAAmBkB,MAAMG,IAAN,CAAWrB,KALzB;AAMZyB,iBAAS,KAAKJ,IAAL,CAAUvB,GAAV,IAAiBI,MAAMc,MAAN,IAAgB,KAAKK,IAAL,CAAUvB;AANxC,OAAd;AAQD;AAxCM;AAzCD,CAAV,E","file":"bld-checkbox-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 options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n relations: {\r\n '../checkbox/index': {\r\n type: 'descendant',\r\n linked() {\r\n this._updateChildren()\r\n },\r\n unlinked() {\r\n this._updateChildren()\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n max: Number,\r\n round: {\r\n type: Boolean,\r\n value: false\r\n },\r\n value: {\r\n type: Array,\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 // 防抖减少重复触发\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('../checkbox/index')\r\n const len = children.length\r\n\r\n if (len > 0) {\r\n // let lastIndex = len - 1\r\n\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 value: value.indexOf(child.data.name) > -1,\r\n checkedColor: child.data.checkedColor || checkedColor,\r\n labelLeft: child.data.labelLeft || labelLeft,\r\n disabled: disabled || child.data.disabled,\r\n round: this.data.round || child.data.round,\r\n prevent: this.data.max && value.length >= this.data.max\r\n })\r\n }\r\n }\r\n})\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-checkbox-group/index.js"],"names":["Component","options","addGlobalClass","relations","type","linked","_updateChildren","unlinked","properties","max","Number","round","Boolean","value","Array","observer","disabled","checkedColor","String","labelLeft","methods","timer","clearTimeout","setTimeout","children","getRelationNodes","len","length","forEach","child","index","_updateChild","data","setData","indexOf","name","prevent"],"mapp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L,GAAaE,WAAW,YAAM;;AAE5B,YAAIC,WAAW,MAAKC,gBAAL,CAAsB,mBAAtB,CAAf;AACA,YAAMC,MAAMF,SAASG,MAArB;;AAEA,YAAID,MAAM,CAAV,EAAa;AACX;;AAEAF,mBAASI,OAAT,CAAiB,UAACC,KAAD,EAAQC,KAAR,EAAkB;AACjC,kBAAKC,YAAL,CAAkBF,KAAlB;AACD,WAFD;AAGD;AACF,OAZY,EAYV,EAZU,CAAb;AAaD,KAtBM;AAwBPE,gBAxBO,wBAwBMF,KAxBN,EAwBa;AAAA,kBAMd,KAAKG,IANS;AAAA,UAEhBf,YAFgB,SAEhBA,YAFgB;AAAA,UAGhBJ,KAHgB,SAGhBA,KAHgB;AAAA,UAIhBM,SAJgB,SAIhBA,SAJgB;AAAA,UAKhBH,QALgB,SAKhBA,QALgB;;;AAQlBa,YAAMI,OAAN,CAAc;AACZpB,eAAOA,MAAMqB,OAAN,CAAcL,MAAMG,IAAN,CAAWG,IAAzB,IAAiC,CAAC,CAD7B;AAEZlB,sBAAcY,MAAMG,IAAN,CAAWf,YAAX,IAA2BA,YAF7B;AAGZE,mBAAWU,MAAMG,IAAN,CAAWb,SAAX,IAAwBA,SAHvB;AAIZH,kBAAUA,YAAYa,MAAMG,IAAN,CAAWhB,QAJrB;AAKZL,eAAO,KAAKqB,IAAL,CAAUrB,KAAV,IAAmBkB,MAAMG,IAAN,CAAWrB,KALzB;AAMZyB,iBAAS,KAAKJ,IAAL,CAAUvB,GAAV,IAAiBI,MAAMc,MAAN,IAAgB,KAAKK,IAAL,CAAUvB;AANxC,OAAd;AAQD;AAxCM;AAzCD,CAAV,E","file":"bld-checkbox-group\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 53);\n","Component({\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n relations: {\r\n '../checkbox/index': {\r\n type: 'descendant',\r\n linked() {\r\n this._updateChildren()\r\n },\r\n unlinked() {\r\n this._updateChildren()\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n max: Number,\r\n round: {\r\n type: Boolean,\r\n value: false\r\n },\r\n value: {\r\n type: Array,\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 // 防抖减少重复触发\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('../checkbox/index')\r\n const len = children.length\r\n\r\n if (len > 0) {\r\n // let lastIndex = len - 1\r\n\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 value: value.indexOf(child.data.name) > -1,\r\n checkedColor: child.data.checkedColor || checkedColor,\r\n labelLeft: child.data.labelLeft || labelLeft,\r\n disabled: disabled || child.data.disabled,\r\n round: this.data.round || child.data.round,\r\n prevent: this.data.max && value.length >= this.data.max\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 = 10);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 13);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 10:
90
+ /***/ 13:
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-cloud-image/index.js"],"names":["CLOUD_PROVIDERS","myqcloud","aliyun","Component","externalClasses","properties","src","type","String","value","mode","provider","showMenuByLongpress","Boolean","thumbnail","fadeIn","data","fullSrc","loading","observers","startsWith","includes","setData","methods","loaded","e"],"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,kBAAkB;AACtBC,YAAU,kEADY;AAEtBC,UAAQ;AAFc,CAAxB;;AAKAC,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,SAAK;AACHC,YAAMC,MADH;AAEHC,aAAO;AAFJ,KADK;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,cAAU;AACRJ,YAAMC,MADE;AAERC,aAAO;AAFC,KATA;AAaVG,yBAAqB;AACnBL,YAAMM,OADa;AAEnBJ,aAAO;AAFY,KAbX;AAiBVK,eAAW;AACTP,YAAMC,MADG;AAETC,aAAO;AAFE,KAjBD;AAqBVM,YAAQ;AACNR,YAAMM,OADA;AAENJ,aAAO;AAFD;AArBE,GAFJ;;AA6BRO,QAAM;AACJC,aAAS,EADL;AAEJC,aAAS;AAFL,GA7BE;;AAkCRC,aAAW;AACTb,SAAK,aAAUA,IAAV,EAAe;AAClB,UAAI,CAACA,IAAL,EAAU;AACR;AACD;;AAED,UAAIW,UAAU,EAAd;AACA,UAAIX,KAAIc,UAAJ,CAAe,MAAf,CAAJ,EAA4B;AAC1BH,kBAAUX,IAAV;AACD,OAFD,MAEO;AACLW,kBAAajB,gBAAgB,KAAKgB,IAAL,CAAUL,QAA1B,CAAb,SAAoDL,IAApD;AACD;;AAED,UAAIW,QAAQI,QAAR,CAAiB,+BAAjB,CAAJ,EAAuD;AACrDJ,kBAAaA,OAAb;;AAEA,YAAI,KAAKD,IAAL,CAAUF,SAAd,EAAyB;AACvBG,oBAAaA,OAAb,mBAAkC,KAAKD,IAAL,CAAUF,SAA5C;AACD;AACF;;AAED,UAAI,KAAKE,IAAL,CAAUC,OAAV,KAAsBA,OAA1B,EAAmC;AACjC;AACD;;AAED,WAAKK,OAAL,CAAa;AACXJ,iBAAS,IADE;AAEXD;AAFW,OAAb;AAID;AA7BQ,GAlCH;;AAkERM,WAAS;AACPC,YAAQ,gBAAUC,CAAV,EAAa;AACnB,WAAKH,OAAL,CAAa;AACXJ,iBAAS;AADE,OAAb;AAGD;AALM;AAlED,CAAV,E","file":"bld-cloud-image\\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 = 10);\n","const CLOUD_PROVIDERS = {\r\n myqcloud: \"https://bloodcare-1251596343.cos.ap-shanghai.myqcloud.com/assets\",\r\n aliyun: \"https://bulade-donate.oss-cn-beijing.aliyuncs.com/img\",\r\n};\r\n\r\nComponent({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n src: {\r\n type: String,\r\n value: \"\",\r\n },\r\n mode: {\r\n type: String,\r\n value: \"\",\r\n },\r\n provider: {\r\n type: String,\r\n value: \"myqcloud\",\r\n },\r\n showMenuByLongpress: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n thumbnail: {\r\n type: String,\r\n value: \"800x800\",\r\n },\r\n fadeIn: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n },\r\n\r\n data: {\r\n fullSrc: \"\",\r\n loading: true,\r\n },\r\n\r\n observers: {\r\n src: function (src) {\r\n if (!src) {\r\n return;\r\n }\r\n\r\n let fullSrc = \"\";\r\n if (src.startsWith(\"http\")) {\r\n fullSrc = src;\r\n } else {\r\n fullSrc = `${CLOUD_PROVIDERS[this.data.provider]}/${src}`;\r\n }\r\n\r\n if (fullSrc.includes(\".cos.ap-shanghai.myqcloud.com\")) {\r\n fullSrc = `${fullSrc}?imageMogr2/format/webp`;\r\n\r\n if (this.data.thumbnail) {\r\n fullSrc = `${fullSrc}/thumbnail/${this.data.thumbnail}`;\r\n }\r\n }\r\n\r\n if (this.data.fullSrc === fullSrc) {\r\n return;\r\n }\r\n\r\n this.setData({\r\n loading: true,\r\n fullSrc,\r\n });\r\n },\r\n },\r\n\r\n methods: {\r\n loaded: function (e) {\r\n this.setData({\r\n loading: false,\r\n });\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cloud-image/index.js"],"names":["CLOUD_PROVIDERS","myqcloud","aliyun","Component","externalClasses","properties","src","type","String","value","mode","provider","showMenuByLongpress","Boolean","thumbnail","fadeIn","data","fullSrc","loading","observers","startsWith","includes","setData","methods","loaded","e"],"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,kBAAkB;AACtBC,YAAU,kEADY;AAEtBC,UAAQ;AAFc,CAAxB;;AAKAC,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,SAAK;AACHC,YAAMC,MADH;AAEHC,aAAO;AAFJ,KADK;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,cAAU;AACRJ,YAAMC,MADE;AAERC,aAAO;AAFC,KATA;AAaVG,yBAAqB;AACnBL,YAAMM,OADa;AAEnBJ,aAAO;AAFY,KAbX;AAiBVK,eAAW;AACTP,YAAMC,MADG;AAETC,aAAO;AAFE,KAjBD;AAqBVM,YAAQ;AACNR,YAAMM,OADA;AAENJ,aAAO;AAFD;AArBE,GAFJ;;AA6BRO,QAAM;AACJC,aAAS,EADL;AAEJC,aAAS;AAFL,GA7BE;;AAkCRC,aAAW;AACTb,SAAK,aAAUA,IAAV,EAAe;AAClB,UAAI,CAACA,IAAL,EAAU;AACR;AACD;;AAED,UAAIW,UAAU,EAAd;AACA,UAAIX,KAAIc,UAAJ,CAAe,MAAf,CAAJ,EAA4B;AAC1BH,kBAAUX,IAAV;AACD,OAFD,MAEO;AACLW,kBAAajB,gBAAgB,KAAKgB,IAAL,CAAUL,QAA1B,CAAb,SAAoDL,IAApD;AACD;;AAED,UAAIW,QAAQI,QAAR,CAAiB,+BAAjB,CAAJ,EAAuD;AACrDJ,kBAAaA,OAAb;;AAEA,YAAI,KAAKD,IAAL,CAAUF,SAAd,EAAyB;AACvBG,oBAAaA,OAAb,mBAAkC,KAAKD,IAAL,CAAUF,SAA5C;AACD;AACF;;AAED,UAAI,KAAKE,IAAL,CAAUC,OAAV,KAAsBA,OAA1B,EAAmC;AACjC;AACD;;AAED,WAAKK,OAAL,CAAa;AACXJ,iBAAS,IADE;AAEXD;AAFW,OAAb;AAID;AA7BQ,GAlCH;;AAkERM,WAAS;AACPC,YAAQ,gBAAUC,CAAV,EAAa;AACnB,WAAKH,OAAL,CAAa;AACXJ,iBAAS;AADE,OAAb;AAGD;AALM;AAlED,CAAV,E","file":"bld-cloud-image\\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 = 13);\n","const CLOUD_PROVIDERS = {\r\n myqcloud: \"https://bloodcare-1251596343.cos.ap-shanghai.myqcloud.com/assets\",\r\n aliyun: \"https://bulade-donate.oss-cn-beijing.aliyuncs.com/img\",\r\n};\r\n\r\nComponent({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n src: {\r\n type: String,\r\n value: \"\",\r\n },\r\n mode: {\r\n type: String,\r\n value: \"\",\r\n },\r\n provider: {\r\n type: String,\r\n value: \"myqcloud\",\r\n },\r\n showMenuByLongpress: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n thumbnail: {\r\n type: String,\r\n value: \"800x800\",\r\n },\r\n fadeIn: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n },\r\n\r\n data: {\r\n fullSrc: \"\",\r\n loading: true,\r\n },\r\n\r\n observers: {\r\n src: function (src) {\r\n if (!src) {\r\n return;\r\n }\r\n\r\n let fullSrc = \"\";\r\n if (src.startsWith(\"http\")) {\r\n fullSrc = src;\r\n } else {\r\n fullSrc = `${CLOUD_PROVIDERS[this.data.provider]}/${src}`;\r\n }\r\n\r\n if (fullSrc.includes(\".cos.ap-shanghai.myqcloud.com\")) {\r\n fullSrc = `${fullSrc}?imageMogr2/format/webp`;\r\n\r\n if (this.data.thumbnail) {\r\n fullSrc = `${fullSrc}/thumbnail/${this.data.thumbnail}`;\r\n }\r\n }\r\n\r\n if (this.data.fullSrc === fullSrc) {\r\n return;\r\n }\r\n\r\n this.setData({\r\n loading: true,\r\n fullSrc,\r\n });\r\n },\r\n },\r\n\r\n methods: {\r\n loaded: function (e) {\r\n this.setData({\r\n loading: false,\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 = 47);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 49);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 47:
90
+ /***/ 49:
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-collapse/index.js"],"names":["Component","options","addGlobalClass","properties","duration","type","Number","value","visible","Boolean","data","contentHeight","isReady","observers","val","getContainerHeight","setData","lifetimes","ready","methods","query","createSelectorQuery","select","boundingClientRect","exec","res","height","onTransitionEnd","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,WAAS;AACPC,oBAAgB;AADT,GADD;;AAKRC,cAAY;AACVC,cAAU;AACRC,YAAMC,MADE;AAERC,aAAO;AAFC,KADA;AAKVC,aAAS;AACPH,YAAMI,OADC;AAEPF,aAAO;AAFA;AALC,GALJ;;AAgBRG,QAAM;AACJC,mBAAe,CADX,EACgB;AACpBC,aAAS;AAFL,GAhBE;;AAqBRC,aAAW;AACTL,WADS,mBACDM,GADC,EACI;AACX,UAAIA,OAAO,KAAKJ,IAAL,CAAUE,OAArB,EAA8B;AAC5B,aAAKG,kBAAL;AACD,OAFD,MAEO;AACL,aAAKC,OAAL,CAAa;AACXL,yBAAe;AADJ,SAAb;AAGD;AACF;AATQ,GArBH;;AAiCRM,aAAW;AACTC,SADS,mBACD;AACN,WAAKR,IAAL,CAAUE,OAAV,GAAoB,IAApB;;AAEA,UAAI,KAAKF,IAAL,CAAUF,OAAd,EAAuB;AACrB,aAAKO,kBAAL;AACD;AACF;AAPQ,GAjCH;;AA2CRI,WAAS;AACPJ,sBADO,gCACc;AAAA;;AACnB,UAAMK,QAAQ,KAAKC,mBAAL,EAAd;AACAD,YAAME,MAAN,CAAa,sBAAb,EAAqCC,kBAArC;;AAEAH,YAAMI,IAAN,CAAW,eAAO;AAChB,YAAMb,gBAAgBc,IAAI,CAAJ,EAAOC,MAA7B;;AAEA,cAAKV,OAAL,CAAa;AACXL;AADW,SAAb;AAGD,OAND;AAOD,KAZM;AAcPgB,mBAdO,6BAcW;AAChB,WAAKC,YAAL,CAAkB,WAAlB,EAA+B,KAAKlB,IAAL,CAAUF,OAAzC;AACD;AAhBM;AA3CD,CAAV,E","file":"bld-collapse\\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 = 47);\n","Component({\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n properties: {\r\n duration: {\r\n type: Number,\r\n value: 300\r\n },\r\n visible: {\r\n type: Boolean,\r\n value: false\r\n }\r\n },\r\n\r\n data: {\r\n contentHeight: 0, // 内容区域高度\r\n isReady: false\r\n },\r\n\r\n observers: {\r\n visible(val) {\r\n if (val && this.data.isReady) {\r\n this.getContainerHeight()\r\n } else {\r\n this.setData({\r\n contentHeight: 0\r\n })\r\n }\r\n }\r\n },\r\n\r\n lifetimes: {\r\n ready() {\r\n this.data.isReady = true\r\n\r\n if (this.data.visible) {\r\n this.getContainerHeight()\r\n }\r\n }\r\n },\r\n\r\n methods: {\r\n getContainerHeight() {\r\n const query = this.createSelectorQuery()\r\n query.select('.m-collapse__content').boundingClientRect()\r\n\r\n query.exec(res => {\r\n const contentHeight = res[0].height\r\n\r\n this.setData({\r\n contentHeight\r\n })\r\n })\r\n },\r\n\r\n onTransitionEnd() {\r\n this.triggerEvent('on-change', this.data.visible)\r\n }\r\n }\r\n});\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-collapse/index.js"],"names":["Component","options","addGlobalClass","properties","duration","type","Number","value","visible","Boolean","data","contentHeight","isReady","observers","val","getContainerHeight","setData","lifetimes","ready","methods","query","createSelectorQuery","select","boundingClientRect","exec","res","height","onTransitionEnd","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,WAAS;AACPC,oBAAgB;AADT,GADD;;AAKRC,cAAY;AACVC,cAAU;AACRC,YAAMC,MADE;AAERC,aAAO;AAFC,KADA;AAKVC,aAAS;AACPH,YAAMI,OADC;AAEPF,aAAO;AAFA;AALC,GALJ;;AAgBRG,QAAM;AACJC,mBAAe,CADX,EACgB;AACpBC,aAAS;AAFL,GAhBE;;AAqBRC,aAAW;AACTL,WADS,mBACDM,GADC,EACI;AACX,UAAIA,OAAO,KAAKJ,IAAL,CAAUE,OAArB,EAA8B;AAC5B,aAAKG,kBAAL;AACD,OAFD,MAEO;AACL,aAAKC,OAAL,CAAa;AACXL,yBAAe;AADJ,SAAb;AAGD;AACF;AATQ,GArBH;;AAiCRM,aAAW;AACTC,SADS,mBACD;AACN,WAAKR,IAAL,CAAUE,OAAV,GAAoB,IAApB;;AAEA,UAAI,KAAKF,IAAL,CAAUF,OAAd,EAAuB;AACrB,aAAKO,kBAAL;AACD;AACF;AAPQ,GAjCH;;AA2CRI,WAAS;AACPJ,sBADO,gCACc;AAAA;;AACnB,UAAMK,QAAQ,KAAKC,mBAAL,EAAd;AACAD,YAAME,MAAN,CAAa,sBAAb,EAAqCC,kBAArC;;AAEAH,YAAMI,IAAN,CAAW,eAAO;AAChB,YAAMb,gBAAgBc,IAAI,CAAJ,EAAOC,MAA7B;;AAEA,cAAKV,OAAL,CAAa;AACXL;AADW,SAAb;AAGD,OAND;AAOD,KAZM;AAcPgB,mBAdO,6BAcW;AAChB,WAAKC,YAAL,CAAkB,WAAlB,EAA+B,KAAKlB,IAAL,CAAUF,OAAzC;AACD;AAhBM;AA3CD,CAAV,E","file":"bld-collapse\\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 options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n properties: {\r\n duration: {\r\n type: Number,\r\n value: 300\r\n },\r\n visible: {\r\n type: Boolean,\r\n value: false\r\n }\r\n },\r\n\r\n data: {\r\n contentHeight: 0, // 内容区域高度\r\n isReady: false\r\n },\r\n\r\n observers: {\r\n visible(val) {\r\n if (val && this.data.isReady) {\r\n this.getContainerHeight()\r\n } else {\r\n this.setData({\r\n contentHeight: 0\r\n })\r\n }\r\n }\r\n },\r\n\r\n lifetimes: {\r\n ready() {\r\n this.data.isReady = true\r\n\r\n if (this.data.visible) {\r\n this.getContainerHeight()\r\n }\r\n }\r\n },\r\n\r\n methods: {\r\n getContainerHeight() {\r\n const query = this.createSelectorQuery()\r\n query.select('.m-collapse__content').boundingClientRect()\r\n\r\n query.exec(res => {\r\n const contentHeight = res[0].height\r\n\r\n this.setData({\r\n contentHeight\r\n })\r\n })\r\n },\r\n\r\n onTransitionEnd() {\r\n this.triggerEvent('on-change', this.data.visible)\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 = 31);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 28:
90
+ /***/ 31:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";