bulade-ui 1.1.5 → 1.1.7

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 (61) hide show
  1. package/miniprogram_dist/bld-action-sheet/index.js +2 -2
  2. package/miniprogram_dist/bld-action-sheet/index.js.map +1 -1
  3. package/miniprogram_dist/bld-badge/index.js +2 -2
  4. package/miniprogram_dist/bld-badge/index.js.map +1 -1
  5. package/miniprogram_dist/bld-checkbox/index.js +2 -2
  6. package/miniprogram_dist/bld-checkbox/index.js.map +1 -1
  7. package/miniprogram_dist/bld-checkbox-group/index.js +2 -2
  8. package/miniprogram_dist/bld-checkbox-group/index.js.map +1 -1
  9. package/miniprogram_dist/bld-collapse/index.js +2 -2
  10. package/miniprogram_dist/bld-collapse/index.js.map +1 -1
  11. package/miniprogram_dist/bld-dialog-tip/index.js +160 -0
  12. package/miniprogram_dist/bld-dialog-tip/index.js.map +1 -0
  13. package/miniprogram_dist/bld-dialog-tip/index.json +6 -0
  14. package/miniprogram_dist/bld-dialog-tip/index.wxml +24 -0
  15. package/miniprogram_dist/bld-dialog-tip/index.wxss +66 -0
  16. package/miniprogram_dist/bld-drawer/index.js +2 -2
  17. package/miniprogram_dist/bld-drawer/index.js.map +1 -1
  18. package/miniprogram_dist/bld-message/index.js +2 -2
  19. package/miniprogram_dist/bld-message/index.js.map +1 -1
  20. package/miniprogram_dist/bld-message/message.js +2 -2
  21. package/miniprogram_dist/bld-message/message.js.map +1 -1
  22. package/miniprogram_dist/bld-modal/index.js +2 -2
  23. package/miniprogram_dist/bld-modal/index.js.map +1 -1
  24. package/miniprogram_dist/bld-modal/modal.js +2 -2
  25. package/miniprogram_dist/bld-modal/modal.js.map +1 -1
  26. package/miniprogram_dist/bld-navbar/index.js +2 -2
  27. package/miniprogram_dist/bld-navbar/index.js.map +1 -1
  28. package/miniprogram_dist/bld-navbar-group/index.js +2 -2
  29. package/miniprogram_dist/bld-navbar-group/index.js.map +1 -1
  30. package/miniprogram_dist/bld-progress/index.js +2 -2
  31. package/miniprogram_dist/bld-progress/index.js.map +1 -1
  32. package/miniprogram_dist/bld-radio/index.js +2 -2
  33. package/miniprogram_dist/bld-radio/index.js.map +1 -1
  34. package/miniprogram_dist/bld-radio-group/index.js +2 -2
  35. package/miniprogram_dist/bld-radio-group/index.js.map +1 -1
  36. package/miniprogram_dist/bld-tag/index.js +2 -2
  37. package/miniprogram_dist/bld-tag/index.js.map +1 -1
  38. package/miniprogram_dist/bld-toast/index.js +2 -2
  39. package/miniprogram_dist/bld-toast/index.js.map +1 -1
  40. package/miniprogram_dist/bld-toast/toast.js +2 -2
  41. package/miniprogram_dist/bld-toast/toast.js.map +1 -1
  42. package/miniprogram_dist/cell/index.js +2 -2
  43. package/miniprogram_dist/cell/index.js.map +1 -1
  44. package/miniprogram_dist/cell-group/index.js +2 -2
  45. package/miniprogram_dist/cell-group/index.js.map +1 -1
  46. package/miniprogram_dist/grid/index.js +2 -2
  47. package/miniprogram_dist/grid/index.js.map +1 -1
  48. package/miniprogram_dist/grid-item/index.js +2 -2
  49. package/miniprogram_dist/grid-item/index.js.map +1 -1
  50. package/miniprogram_dist/icon/index.js +2 -2
  51. package/miniprogram_dist/icon/index.js.map +1 -1
  52. package/miniprogram_dist/timeline/index.js +2 -2
  53. package/miniprogram_dist/timeline/index.js.map +1 -1
  54. package/miniprogram_dist/timeline-item/index.js +2 -2
  55. package/miniprogram_dist/timeline-item/index.js.map +1 -1
  56. package/package.json +1 -1
  57. package/src/bld-dialog-tip/index.js +60 -0
  58. package/src/bld-dialog-tip/index.json +6 -0
  59. package/src/bld-dialog-tip/index.scss +67 -0
  60. package/src/bld-dialog-tip/index.wxml +24 -0
  61. package/src/bld-dialog-tip/index.wxss +66 -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 = 34);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 35);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 34:
90
+ /***/ 35:
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,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oCE,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 = 34);\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;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AAlB,EAA6BE,MAA7B;AACD,KAnCM;AAoCPE,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 = 35);\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 = 38);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 39);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 38:
90
+ /***/ 39:
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 = 38);\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 = 39);\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 = 45);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 46);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 45:
90
+ /***/ 46:
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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F,YAAYI,OAAZ,CAAoBrB,IAApB,MAA8B,CAAC,CAAnC,EAAsC;;AAEpCiB,sBAAYK,IAAZ,CAAiBtB,IAAjB;;AAEAH,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 = 45);\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;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I,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 = 46);\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 = 46);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 47);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 46:
90
+ /***/ 47:
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;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,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 = 46);\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"],"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,aAAW;AACT,yBAAqB;AACnBC,YAAM,YADa;AAEnBC,YAFmB,oBAEV;AACP,aAAKC,eAAL;AACD,OAJkB;AAKnBC,cALmB,sBAKR;AACT,aAAKD,eAAL;AACD;AAPkB;AADZ,GALH;;AAiBRE,cAAY;AACVC,SAAKC,MADK;AAEVC,WAAO;AACLP,YAAMQ,OADD;AAELC,aAAO;AAFF,KAFG;AAMVA,WAAO;AACLT,YAAMU,KADD;AAELC,gBAAU;AAFL,KANG;AAUVC,cAAU;AACRZ,YAAMQ,OADE;AAERG,gBAAU;AAFF,KAVA;AAcVE,kBAAc;AACZb,YAAMc,MADM;AAEZL,aAAO;AAFK,KAdJ;AAkBVM,eAAW;AACTf,YAAMQ,OADG;AAETC,aAAO;AAFE;AAlBD,GAjBJ;;AAyCRO,WAAS;AACPd,mBADO,6BACW;AAAA;;AAEhB;AACA,UAAI,KAAKe,KAAT,EAAgB;AACdC,qBAAa,KAAKD,KAAlB;AACA,aAAKA,KAAL,GAAa,IAAb;AACD;;AAED,WAAKA,KAAL,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 = 47);\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 = 42);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 43);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 42:
90
+ /***/ 43:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-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 = 42);\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;QAC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" \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 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":""}
@@ -0,0 +1,160 @@
1
+ module.exports =
2
+ /******/ (function(modules) { // webpackBootstrap
3
+ /******/ // The module cache
4
+ /******/ var installedModules = {};
5
+ /******/
6
+ /******/ // The require function
7
+ /******/ function __webpack_require__(moduleId) {
8
+ /******/
9
+ /******/ // Check if module is in cache
10
+ /******/ if(installedModules[moduleId]) {
11
+ /******/ return installedModules[moduleId].exports;
12
+ /******/ }
13
+ /******/ // Create a new module (and put it into the cache)
14
+ /******/ var module = installedModules[moduleId] = {
15
+ /******/ i: moduleId,
16
+ /******/ l: false,
17
+ /******/ exports: {}
18
+ /******/ };
19
+ /******/
20
+ /******/ // Execute the module function
21
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22
+ /******/
23
+ /******/ // Flag the module as loaded
24
+ /******/ module.l = true;
25
+ /******/
26
+ /******/ // Return the exports of the module
27
+ /******/ return module.exports;
28
+ /******/ }
29
+ /******/
30
+ /******/
31
+ /******/ // expose the modules object (__webpack_modules__)
32
+ /******/ __webpack_require__.m = modules;
33
+ /******/
34
+ /******/ // expose the module cache
35
+ /******/ __webpack_require__.c = installedModules;
36
+ /******/
37
+ /******/ // define getter function for harmony exports
38
+ /******/ __webpack_require__.d = function(exports, name, getter) {
39
+ /******/ if(!__webpack_require__.o(exports, name)) {
40
+ /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
41
+ /******/ }
42
+ /******/ };
43
+ /******/
44
+ /******/ // define __esModule on exports
45
+ /******/ __webpack_require__.r = function(exports) {
46
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
47
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
48
+ /******/ }
49
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
50
+ /******/ };
51
+ /******/
52
+ /******/ // create a fake namespace object
53
+ /******/ // mode & 1: value is a module id, require it
54
+ /******/ // mode & 2: merge all properties of value into the ns
55
+ /******/ // mode & 4: return value when already ns object
56
+ /******/ // mode & 8|1: behave like require
57
+ /******/ __webpack_require__.t = function(value, mode) {
58
+ /******/ if(mode & 1) value = __webpack_require__(value);
59
+ /******/ if(mode & 8) return value;
60
+ /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
61
+ /******/ var ns = Object.create(null);
62
+ /******/ __webpack_require__.r(ns);
63
+ /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
64
+ /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
65
+ /******/ return ns;
66
+ /******/ };
67
+ /******/
68
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
69
+ /******/ __webpack_require__.n = function(module) {
70
+ /******/ var getter = module && module.__esModule ?
71
+ /******/ function getDefault() { return module['default']; } :
72
+ /******/ function getModuleExports() { return module; };
73
+ /******/ __webpack_require__.d(getter, 'a', getter);
74
+ /******/ return getter;
75
+ /******/ };
76
+ /******/
77
+ /******/ // Object.prototype.hasOwnProperty.call
78
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
79
+ /******/
80
+ /******/ // __webpack_public_path__
81
+ /******/ __webpack_require__.p = "";
82
+ /******/
83
+ /******/
84
+ /******/ // Load entry module and return exports
85
+ /******/ return __webpack_require__(__webpack_require__.s = 28);
86
+ /******/ })
87
+ /************************************************************************/
88
+ /******/ ({
89
+
90
+ /***/ 28:
91
+ /***/ (function(module, exports, __webpack_require__) {
92
+
93
+ "use strict";
94
+
95
+
96
+ // 温馨提示弹层
97
+ Component({
98
+ properties: {
99
+ show: {
100
+ type: Boolean,
101
+ value: false
102
+ },
103
+ // 同bld-pop-up一致
104
+ cfgInfo: {
105
+ type: Object,
106
+ value: {
107
+ hideBtn: false, // 隐藏关闭按钮
108
+ bgIsClose: false // 背景是否可关闭
109
+ }
110
+ },
111
+ content: {
112
+ type: String
113
+ },
114
+ contentStyle: {
115
+ type: String
116
+ },
117
+ title: {
118
+ type: Object,
119
+ value: {
120
+ text: "温馨提示",
121
+ showBg: true,
122
+ style: ""
123
+ }
124
+ },
125
+ cancel: {
126
+ type: Object,
127
+ value: {
128
+ show: true,
129
+ text: "取消",
130
+ style: ""
131
+ }
132
+ },
133
+ confirm: {
134
+ type: Object,
135
+ value: {
136
+ show: true,
137
+ text: "确认",
138
+ style: ""
139
+ }
140
+ }
141
+ },
142
+ data: {},
143
+ observers: {},
144
+ methods: {
145
+ handleClose: function handleClose() {
146
+ this.setData({
147
+ show: false
148
+ });
149
+ this.triggerEvent("close");
150
+ },
151
+ handleConfirm: function handleConfirm() {
152
+ this.triggerEvent("confirm");
153
+ }
154
+ }
155
+ });
156
+
157
+ /***/ })
158
+
159
+ /******/ });
160
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-dialog-tip/index.js"],"names":["Component","properties","show","type","Boolean","value","cfgInfo","Object","hideBtn","bgIsClose","content","String","contentStyle","title","text","showBg","style","cancel","confirm","data","observers","methods","handleClose","setData","triggerEvent","handleConfirm"],"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;AACAA,UAAU;AACRC,cAAY;AACVC,UAAM;AACJC,YAAMC,OADF;AAEJC,aAAO;AAFH,KADI;AAKV;AACAC,aAAS;AACPH,YAAMI,MADC;AAEPF,aAAO;AACLG,iBAAS,KADJ,EACW;AAChBC,mBAAW,KAFN,CAEa;AAFb;AAFA,KANC;AAaVC,aAAS;AACPP,YAAMQ;AADC,KAbC;AAgBVC,kBAAc;AACZT,YAAMQ;AADM,KAhBJ;AAmBVE,WAAO;AACLV,YAAMI,MADD;AAELF,aAAO;AACLS,cAAM,MADD;AAELC,gBAAQ,IAFH;AAGLC,eAAO;AAHF;AAFF,KAnBG;AA2BVC,YAAQ;AACNd,YAAMI,MADA;AAENF,aAAO;AACLH,cAAM,IADD;AAELY,cAAM,IAFD;AAGLE,eAAO;AAHF;AAFD,KA3BE;AAmCVE,aAAS;AACPf,YAAMI,MADC;AAEPF,aAAO;AACLH,cAAM,IADD;AAELY,cAAM,IAFD;AAGLE,eAAO;AAHF;AAFA;AAnCC,GADJ;AA6CRG,QAAM,EA7CE;AA8CRC,aAAW,EA9CH;AA+CRC,WAAS;AACPC,eADO,yBACO;AACZ,WAAKC,OAAL,CAAa;AACXrB,cAAM;AADK,OAAb;AAGA,WAAKsB,YAAL,CAAkB,OAAlB;AACD,KANM;AAOPC,iBAPO,2BAOS;AACd,WAAKD,YAAL,CAAkB,SAAlB;AACD;AATM;AA/CD,CAAV,E","file":"bld-dialog-tip\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 28);\n","// 温馨提示弹层\r\nComponent({\r\n properties: {\r\n show: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n // 同bld-pop-up一致\r\n cfgInfo: {\r\n type: Object,\r\n value: {\r\n hideBtn: false, // 隐藏关闭按钮\r\n bgIsClose: false, // 背景是否可关闭\r\n },\r\n },\r\n content: {\r\n type: String,\r\n },\r\n contentStyle: {\r\n type: String,\r\n },\r\n title: {\r\n type: Object,\r\n value: {\r\n text: \"温馨提示\",\r\n showBg: true,\r\n style: \"\",\r\n }\r\n },\r\n cancel: {\r\n type: Object,\r\n value: {\r\n show: true,\r\n text: \"取消\",\r\n style: \"\",\r\n }\r\n },\r\n confirm: {\r\n type: Object,\r\n value: {\r\n show: true,\r\n text: \"确认\",\r\n style: \"\",\r\n }\r\n }\r\n },\r\n data: {},\r\n observers: {},\r\n methods: {\r\n handleClose() {\r\n this.setData({\r\n show: false,\r\n });\r\n this.triggerEvent(\"close\");\r\n },\r\n handleConfirm() {\r\n this.triggerEvent(\"confirm\");\r\n }\r\n },\r\n});\r\n"],"sourceRoot":""}
@@ -0,0 +1,6 @@
1
+ {
2
+ "component": true,
3
+ "usingComponents": {
4
+ "bld-pop-up": "../bld-pop-up/index"
5
+ }
6
+ }
@@ -0,0 +1,24 @@
1
+ <bld-pop-up show="{{ show }}" cfgInfo="{{cfgInfo}}" bindclosePopUp="handleClose">
2
+ <view class="tip-box">
3
+ <view class="tip-title-bg" wx:if="{{ title.showBg }}"></view>
4
+ <view class="tip-title" wx:if="{{title.text}}" style="{{ title.style }}">{{ title.text }}</view>
5
+ <slot />
6
+ <view class="tip-content" wx:if="{{content}}" style="{{ contentStyle }}">
7
+ <slot name="content"></slot>
8
+ {{ content }}
9
+ </view>
10
+ <view class="tip-btn-box">
11
+ <slot name="btn"></slot>
12
+ <view
13
+ wx:if="{{ cancel.show }}"
14
+ class="tip-btn-cancel"
15
+ bind:tap="handleClose"
16
+ >{{ cancel.text }}</view>
17
+ <view
18
+ wx:if="{{ confirm.show }}"
19
+ class="tip-btn-confirm"
20
+ bind:tap="handleConfirm"
21
+ >{{ confirm.text }}</view>
22
+ </view>
23
+ </view>
24
+ </bld-pop-up>
@@ -0,0 +1,66 @@
1
+ .tip-box {
2
+ width: 80vw;
3
+ background: #ffffff;
4
+ border-radius: 24rpx;
5
+ position: relative;
6
+ padding: 58rpx 28rpx 28rpx 28rpx;
7
+ box-sizing: border-box;
8
+ }
9
+ .tip-box .tip-title-bg {
10
+ width: 100%;
11
+ height: 86rpx;
12
+ position: absolute;
13
+ z-index: 0;
14
+ top: 0;
15
+ left: 0;
16
+ background: linear-gradient(180deg, #ffaaaa 0%, rgba(255, 193, 193, 0.72) 47%, rgba(255, 255, 255, 0.41) 100%);
17
+ border-radius: 24rpx 24rpx 0rpx 0rpx;
18
+ }
19
+ .tip-box .tip-title {
20
+ position: relative;
21
+ z-index: 1;
22
+ text-align: center;
23
+ font-weight: 500;
24
+ font-size: 36rpx;
25
+ color: #000;
26
+ line-height: 50rpx;
27
+ }
28
+ .tip-box .tip-content {
29
+ padding: 44rpx 40rpx 36rpx 40rpx;
30
+ font-weight: 400;
31
+ font-size: 32rpx;
32
+ color: #333;
33
+ line-height: 54rpx;
34
+ text-align: center;
35
+ }
36
+ .tip-box .tip-btn-box {
37
+ display: flex;
38
+ justify-content: space-between;
39
+ margin-top: 20rpx;
40
+ }
41
+ .tip-box .tip-btn-box .tip-btn-cancel {
42
+ width: 48%;
43
+ height: 84rpx;
44
+ box-shadow: 0rpx 0rpx 6rpx 0rpx rgba(231, 231, 231, 0.5);
45
+ border-radius: 48rpx;
46
+ border: 2rpx solid #f00;
47
+ font-weight: 600;
48
+ font-size: 32rpx;
49
+ color: #ff0007;
50
+ line-height: 84rpx;
51
+ text-align: center;
52
+ margin-right: 20rpx;
53
+ }
54
+ .tip-box .tip-btn-box .tip-btn-confirm {
55
+ flex: 1;
56
+ width: 48%;
57
+ height: 84rpx;
58
+ background: #ff0007;
59
+ box-shadow: 0rpx 0rpx 6rpx 0rpx rgba(231, 231, 231, 0.5);
60
+ border-radius: 48rpx;
61
+ font-weight: 600;
62
+ font-size: 32rpx;
63
+ color: #ffffff;
64
+ line-height: 84rpx;
65
+ text-align: center;
66
+ }
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 33);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 34);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 33:
90
+ /***/ 34:
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-drawer/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","visible","type","Boolean","value","zIndex","Number","mask","maskClosable","position","String","methods","handleMaskClick","data","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACVC,aAAS;AACPC,YAAMC,OADC;AAEPC,aAAO;AAFA,KADC;;AAMVC,YAAQ;AACNH,YAAMI,MADA;AAENF,aAAO;AAFD,KANE;;AAWVG,UAAM;AACJL,YAAMC,OADF;AAEJC,aAAO;AAFH,KAXI;;AAgBVI,kBAAc;AACZN,YAAMC,OADM;AAEZC,aAAO;AAFK,KAhBJ;;AAqBVK,cAAU;AACRP,YAAMQ,MADE;AAERN,aAAO,QAFC,CAEQ;AAFR;AArBA,GAPJ;;AAkCRO,WAAS;AACPC,mBADO,6BACW;AAChB,UAAI,CAAC,KAAKC,IAAL,CAAUL,YAAf,EAA6B;AAC7B,WAAKM,YAAL,CAAkB,OAAlB;AACD;AAJM;AAlCD,CAAV,E","file":"bld-drawer\\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 = 33);\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 visible: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n zIndex: {\r\n type: Number,\r\n value: 9\r\n },\r\n\r\n mask: {\r\n type: Boolean,\r\n value: true\r\n },\r\n\r\n maskClosable: {\r\n type: Boolean,\r\n value: true\r\n },\r\n\r\n position: {\r\n type: String,\r\n value: 'bottom' // left right top bottom\r\n }\r\n },\r\n\r\n methods: {\r\n handleMaskClick() {\r\n if (!this.data.maskClosable) return\r\n this.triggerEvent('close')\r\n }\r\n }\r\n});"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-drawer/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","visible","type","Boolean","value","zIndex","Number","mask","maskClosable","position","String","methods","handleMaskClick","data","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACVC,aAAS;AACPC,YAAMC,OADC;AAEPC,aAAO;AAFA,KADC;;AAMVC,YAAQ;AACNH,YAAMI,MADA;AAENF,aAAO;AAFD,KANE;;AAWVG,UAAM;AACJL,YAAMC,OADF;AAEJC,aAAO;AAFH,KAXI;;AAgBVI,kBAAc;AACZN,YAAMC,OADM;AAEZC,aAAO;AAFK,KAhBJ;;AAqBVK,cAAU;AACRP,YAAMQ,MADE;AAERN,aAAO,QAFC,CAEQ;AAFR;AArBA,GAPJ;;AAkCRO,WAAS;AACPC,mBADO,6BACW;AAChB,UAAI,CAAC,KAAKC,IAAL,CAAUL,YAAf,EAA6B;AAC7B,WAAKM,YAAL,CAAkB,OAAlB;AACD;AAJM;AAlCD,CAAV,E","file":"bld-drawer\\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 = 34);\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 visible: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n zIndex: {\r\n type: Number,\r\n value: 9\r\n },\r\n\r\n mask: {\r\n type: Boolean,\r\n value: true\r\n },\r\n\r\n maskClosable: {\r\n type: Boolean,\r\n value: true\r\n },\r\n\r\n position: {\r\n type: String,\r\n value: 'bottom' // left right top bottom\r\n }\r\n },\r\n\r\n methods: {\r\n handleMaskClick() {\r\n if (!this.data.maskClosable) return\r\n this.triggerEvent('close')\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 = 29);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 28:
90
+ /***/ 29:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";