bulade-ui 1.1.2 → 1.1.3

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 (112) 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-button-v2/index.js +200 -0
  6. package/miniprogram_dist/bld-button-v2/index.js.map +1 -0
  7. package/miniprogram_dist/bld-button-v2/index.json +3 -0
  8. package/miniprogram_dist/bld-button-v2/index.wxml +42 -0
  9. package/miniprogram_dist/bld-button-v2/index.wxss +176 -0
  10. package/miniprogram_dist/bld-card/index.js +2 -2
  11. package/miniprogram_dist/bld-card/index.js.map +1 -1
  12. package/miniprogram_dist/bld-cell/index.js +2 -2
  13. package/miniprogram_dist/bld-cell/index.js.map +1 -1
  14. package/miniprogram_dist/bld-cell-field/index.js +2 -2
  15. package/miniprogram_dist/bld-cell-field/index.js.map +1 -1
  16. package/miniprogram_dist/bld-cell-group/index.js +2 -2
  17. package/miniprogram_dist/bld-cell-group/index.js.map +1 -1
  18. package/miniprogram_dist/bld-checkbox/index.js +2 -2
  19. package/miniprogram_dist/bld-checkbox/index.js.map +1 -1
  20. package/miniprogram_dist/bld-checkbox-group/index.js +2 -2
  21. package/miniprogram_dist/bld-checkbox-group/index.js.map +1 -1
  22. package/miniprogram_dist/bld-cloud-image/index.js +2 -2
  23. package/miniprogram_dist/bld-cloud-image/index.js.map +1 -1
  24. package/miniprogram_dist/bld-collapse/index.js +2 -2
  25. package/miniprogram_dist/bld-collapse/index.js.map +1 -1
  26. package/miniprogram_dist/bld-drawer/index.js +2 -2
  27. package/miniprogram_dist/bld-drawer/index.js.map +1 -1
  28. package/miniprogram_dist/bld-empty-page/index.js +2 -2
  29. package/miniprogram_dist/bld-empty-page/index.js.map +1 -1
  30. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js +2 -2
  31. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js.map +1 -1
  32. package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js +2 -2
  33. package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js.map +1 -1
  34. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.js +2 -2
  35. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.js.map +1 -1
  36. package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js +2 -2
  37. package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js.map +1 -1
  38. package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js +2 -2
  39. package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js.map +1 -1
  40. package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js +2 -2
  41. package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js.map +1 -1
  42. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js +2 -2
  43. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js.map +1 -1
  44. package/miniprogram_dist/bld-half-screen/index.js +2 -2
  45. package/miniprogram_dist/bld-half-screen/index.js.map +1 -1
  46. package/miniprogram_dist/bld-icon/index.wxss +9 -1
  47. package/miniprogram_dist/bld-loading/index.js +2 -2
  48. package/miniprogram_dist/bld-loading/index.js.map +1 -1
  49. package/miniprogram_dist/bld-message/index.js +2 -2
  50. package/miniprogram_dist/bld-message/index.js.map +1 -1
  51. package/miniprogram_dist/bld-message/message.js +2 -2
  52. package/miniprogram_dist/bld-message/message.js.map +1 -1
  53. package/miniprogram_dist/bld-modal/index.js +2 -2
  54. package/miniprogram_dist/bld-modal/index.js.map +1 -1
  55. package/miniprogram_dist/bld-modal/modal.js +2 -2
  56. package/miniprogram_dist/bld-modal/modal.js.map +1 -1
  57. package/miniprogram_dist/bld-nav-bar/index.js +2 -2
  58. package/miniprogram_dist/bld-nav-bar/index.js.map +1 -1
  59. package/miniprogram_dist/bld-navbar/index.js +2 -2
  60. package/miniprogram_dist/bld-navbar/index.js.map +1 -1
  61. package/miniprogram_dist/bld-navbar-group/index.js +2 -2
  62. package/miniprogram_dist/bld-navbar-group/index.js.map +1 -1
  63. package/miniprogram_dist/bld-notice-bar/index.js +2 -2
  64. package/miniprogram_dist/bld-notice-bar/index.js.map +1 -1
  65. package/miniprogram_dist/bld-overlay/index.js +2 -2
  66. package/miniprogram_dist/bld-overlay/index.js.map +1 -1
  67. package/miniprogram_dist/bld-page/index.js +2 -2
  68. package/miniprogram_dist/bld-page/index.js.map +1 -1
  69. package/miniprogram_dist/bld-pop-up/index.js +2 -2
  70. package/miniprogram_dist/bld-pop-up/index.js.map +1 -1
  71. package/miniprogram_dist/bld-progress/index.js +2 -2
  72. package/miniprogram_dist/bld-progress/index.js.map +1 -1
  73. package/miniprogram_dist/bld-radio/index.js +2 -2
  74. package/miniprogram_dist/bld-radio/index.js.map +1 -1
  75. package/miniprogram_dist/bld-radio-group/index.js +2 -2
  76. package/miniprogram_dist/bld-radio-group/index.js.map +1 -1
  77. package/miniprogram_dist/bld-retry/index.js +2 -2
  78. package/miniprogram_dist/bld-retry/index.js.map +1 -1
  79. package/miniprogram_dist/bld-scroll-view/index.js +2 -2
  80. package/miniprogram_dist/bld-scroll-view/index.js.map +1 -1
  81. package/miniprogram_dist/bld-tag/index.js +2 -2
  82. package/miniprogram_dist/bld-tag/index.js.map +1 -1
  83. package/miniprogram_dist/bld-text/index.js +2 -2
  84. package/miniprogram_dist/bld-text/index.js.map +1 -1
  85. package/miniprogram_dist/bld-toast/index.js +2 -2
  86. package/miniprogram_dist/bld-toast/index.js.map +1 -1
  87. package/miniprogram_dist/bld-toast/toast.js +2 -2
  88. package/miniprogram_dist/bld-toast/toast.js.map +1 -1
  89. package/miniprogram_dist/bld-wrapper/index.js +2 -2
  90. package/miniprogram_dist/bld-wrapper/index.js.map +1 -1
  91. package/miniprogram_dist/cell/index.js +2 -2
  92. package/miniprogram_dist/cell/index.js.map +1 -1
  93. package/miniprogram_dist/cell-group/index.js +2 -2
  94. package/miniprogram_dist/cell-group/index.js.map +1 -1
  95. package/miniprogram_dist/grid/index.js +2 -2
  96. package/miniprogram_dist/grid/index.js.map +1 -1
  97. package/miniprogram_dist/grid-item/index.js +2 -2
  98. package/miniprogram_dist/grid-item/index.js.map +1 -1
  99. package/miniprogram_dist/icon/index.js +2 -2
  100. package/miniprogram_dist/icon/index.js.map +1 -1
  101. package/miniprogram_dist/timeline/index.js +2 -2
  102. package/miniprogram_dist/timeline/index.js.map +1 -1
  103. package/miniprogram_dist/timeline-item/index.js +2 -2
  104. package/miniprogram_dist/timeline-item/index.js.map +1 -1
  105. package/package.json +1 -1
  106. package/src/bld-button-v2/index.js +92 -0
  107. package/src/bld-button-v2/index.json +3 -0
  108. package/src/bld-button-v2/index.scss +206 -0
  109. package/src/bld-button-v2/index.wxml +42 -0
  110. package/src/bld-button-v2/index.wxss +176 -0
  111. package/src/bld-icon/index.scss +10 -2
  112. package/src/bld-icon/index.wxss +9 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell-field/index.js"],"names":["Component","properties","title","type","String","isLink","Boolean","value"],"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,cAAY;AACVC,WAAO;AACLC,YAAMC;AADD,KADG;AAIVC,YAAQ;AACNF,YAAMG,OADA;AAENC,aAAO;AAFD;AAJE;AADJ,CAAV,E","file":"bld-cell-field/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 6);\n","Component({\n properties: {\n title: {\n type: String,\n },\n isLink: {\n type: Boolean,\n value: false,\n },\n },\n});\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell-field/index.js"],"names":["Component","properties","title","type","String","isLink","Boolean","value"],"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,cAAY;AACVC,WAAO;AACLC,YAAMC;AADD,KADG;AAIVC,YAAQ;AACNF,YAAMG,OADA;AAENC,aAAO;AAFD;AAJE;AADJ,CAAV,E","file":"bld-cell-field/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 = 7);\n","Component({\n properties: {\n title: {\n type: String,\n },\n isLink: {\n type: Boolean,\n value: false,\n },\n },\n});\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 = 7);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 8);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 7:
90
+ /***/ 8:
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-cell-group/index.js"],"names":["Component","properties","title","type","String","isFirst","Boolean","value"],"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,cAAY;AACVC,WAAO;AACLC,YAAMC;AADD,KADG;AAIVC,aAAS;AACPF,YAAMG,OADC;AAEPC,aAAO;AAFA;AAJC;AADJ,CAAV,E","file":"bld-cell-group/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 7);\n","Component({\n properties: {\n title: {\n type: String,\n },\n isFirst: {\n type: Boolean,\n value: false,\n },\n },\n});\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell-group/index.js"],"names":["Component","properties","title","type","String","isFirst","Boolean","value"],"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,cAAY;AACVC,WAAO;AACLC,YAAMC;AADD,KADG;AAIVC,aAAS;AACPF,YAAMG,OADC;AAEPC,aAAO;AAFA;AAJC;AADJ,CAAV,E","file":"bld-cell-group/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 8);\n","Component({\n properties: {\n title: {\n type: String,\n },\n isFirst: {\n type: Boolean,\n value: false,\n },\n },\n});\n"],"sourceRoot":""}
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 44);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 45);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 44:
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-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;;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IZtB,OAAOW,IAJK,CAIpBW,GAJoB;;;AAM5B,UAAIlB,KAAJ,EAAW;AACT,YAAIkB,OAAOF,YAAYG,MAAZ,IAAsBD,GAAjC,EAAsC;AACpC;AACD;;AAED,YAAIF,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 = 44);\n","Component({\n externalClasses: ['custom-class'],\n\n options: {\n addGlobalClass: true,\n },\n\n relations: {\n '../bld-checkbox-group/index': {\n type: 'ancestor',\n linked(target) {\n this.parent = target;\n },\n unlinked() {\n this.parent = null;\n }\n }\n },\n\n properties: {\n name: null,\n \n value: {\n type: Boolean,\n value: false\n },\n \n disabled: {\n type: Boolean,\n value: false\n },\n\n checkedColor: {\n type: String,\n value: ''\n },\n\n labelLeft: {\n type: Boolean,\n value: false\n },\n\n round: {\n type: Boolean,\n value: false\n }\n },\n\n data: {\n prevent: false, // 在超出可选个数限制时使用\n },\n\n methods: {\n emitChange(value) {\n // \n if (this.parent) {\n this.setParentValue(this.parent, value);\n } else {\n this.triggerEvent('input', value);\n this.triggerEvent('change', value);\n }\n },\n\n toggle() {\n const { disabled, value } = this.data;\n\n if (!disabled) {\n this.emitChange(!value);\n }\n },\n\n onClickLabel() {\n const { labelDisabled, disabled, value } = this.data;\n if (!disabled && !labelDisabled) {\n this.emitChange(!value);\n }\n },\n\n setParentValue(parent, value) {\n const parentValue = parent.data.value.slice();\n\n const { name } = this.data;\n const { max } = parent.data;\n\n if (value) {\n if (max && parentValue.length >= max) {\n return\n }\n \n if (parentValue.indexOf(name) === -1) {\n\n parentValue.push(name)\n\n parent.triggerEvent('input', parentValue)\n parent.triggerEvent('change', parentValue)\n }\n\n } else {\n\n const index = parentValue.indexOf(name)\n\n if (index !== -1) {\n parentValue.splice(index, 1)\n parent.triggerEvent('input', parentValue)\n parent.triggerEvent('change', parentValue)\n }\n }\n }\n }\n})\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;;QAEA;QACA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A1B;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({\n externalClasses: ['custom-class'],\n\n options: {\n addGlobalClass: true,\n },\n\n relations: {\n '../bld-checkbox-group/index': {\n type: 'ancestor',\n linked(target) {\n this.parent = target;\n },\n unlinked() {\n this.parent = null;\n }\n }\n },\n\n properties: {\n name: null,\n \n value: {\n type: Boolean,\n value: false\n },\n \n disabled: {\n type: Boolean,\n value: false\n },\n\n checkedColor: {\n type: String,\n value: ''\n },\n\n labelLeft: {\n type: Boolean,\n value: false\n },\n\n round: {\n type: Boolean,\n value: false\n }\n },\n\n data: {\n prevent: false, // 在超出可选个数限制时使用\n },\n\n methods: {\n emitChange(value) {\n // \n if (this.parent) {\n this.setParentValue(this.parent, value);\n } else {\n this.triggerEvent('input', value);\n this.triggerEvent('change', value);\n }\n },\n\n toggle() {\n const { disabled, value } = this.data;\n\n if (!disabled) {\n this.emitChange(!value);\n }\n },\n\n onClickLabel() {\n const { labelDisabled, disabled, value } = this.data;\n if (!disabled && !labelDisabled) {\n this.emitChange(!value);\n }\n },\n\n setParentValue(parent, value) {\n const parentValue = parent.data.value.slice();\n\n const { name } = this.data;\n const { max } = parent.data;\n\n if (value) {\n if (max && parentValue.length >= max) {\n return\n }\n \n if (parentValue.indexOf(name) === -1) {\n\n parentValue.push(name)\n\n parent.triggerEvent('input', parentValue)\n parent.triggerEvent('change', parentValue)\n }\n\n } else {\n\n const index = parentValue.indexOf(name)\n\n if (index !== -1) {\n parentValue.splice(index, 1)\n parent.triggerEvent('input', parentValue)\n parent.triggerEvent('change', parentValue)\n }\n }\n }\n }\n})\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-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,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A,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 = 45);\n","Component({\n options: {\n addGlobalClass: true,\n },\n\n relations: {\n '../checkbox/index': {\n type: 'descendant',\n linked() {\n this._updateChildren()\n },\n unlinked() {\n this._updateChildren()\n }\n }\n },\n\n properties: {\n max: Number,\n round: {\n type: Boolean,\n value: false\n },\n value: {\n type: Array,\n observer: '_updateChildren'\n },\n disabled: {\n type: Boolean,\n observer: '_updateChildren'\n },\n checkedColor: {\n type: String,\n value: ''\n },\n labelLeft: {\n type: Boolean,\n value: false\n },\n },\n\n methods: {\n _updateChildren() {\n\n // 防抖减少重复触发\n if (this.timer) {\n clearTimeout(this.timer)\n this.timer = null\n }\n\n this.timer = setTimeout(() => {\n\n let children = this.getRelationNodes('../checkbox/index')\n const len = children.length\n\n if (len > 0) {\n // let lastIndex = len - 1\n\n children.forEach((child, index) => {\n this._updateChild(child)\n })\n }\n }, 60)\n },\n\n _updateChild(child) {\n const {\n checkedColor,\n value,\n labelLeft,\n disabled\n } = this.data\n\n child.setData({\n value: value.indexOf(child.data.name) > -1,\n checkedColor: child.data.checkedColor || checkedColor,\n labelLeft: child.data.labelLeft || labelLeft,\n disabled: disabled || child.data.disabled,\n round: this.data.round || child.data.round,\n prevent: this.data.max && value.length >= this.data.max\n })\n }\n }\n})\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,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JgB;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({\n options: {\n addGlobalClass: true,\n },\n\n relations: {\n '../checkbox/index': {\n type: 'descendant',\n linked() {\n this._updateChildren()\n },\n unlinked() {\n this._updateChildren()\n }\n }\n },\n\n properties: {\n max: Number,\n round: {\n type: Boolean,\n value: false\n },\n value: {\n type: Array,\n observer: '_updateChildren'\n },\n disabled: {\n type: Boolean,\n observer: '_updateChildren'\n },\n checkedColor: {\n type: String,\n value: ''\n },\n labelLeft: {\n type: Boolean,\n value: false\n },\n },\n\n methods: {\n _updateChildren() {\n\n // 防抖减少重复触发\n if (this.timer) {\n clearTimeout(this.timer)\n this.timer = null\n }\n\n this.timer = setTimeout(() => {\n\n let children = this.getRelationNodes('../checkbox/index')\n const len = children.length\n\n if (len > 0) {\n // let lastIndex = len - 1\n\n children.forEach((child, index) => {\n this._updateChild(child)\n })\n }\n }, 60)\n },\n\n _updateChild(child) {\n const {\n checkedColor,\n value,\n labelLeft,\n disabled\n } = this.data\n\n child.setData({\n value: value.indexOf(child.data.name) > -1,\n checkedColor: child.data.checkedColor || checkedColor,\n labelLeft: child.data.labelLeft || labelLeft,\n disabled: disabled || child.data.disabled,\n round: this.data.round || child.data.round,\n prevent: this.data.max && value.length >= this.data.max\n })\n }\n }\n})\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 = 9);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 10);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 9:
90
+ /***/ 10:
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;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,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 = 9);\n","const CLOUD_PROVIDERS = {\n myqcloud: \"https://bloodcare-1251596343.cos.ap-shanghai.myqcloud.com/assets\",\n aliyun: \"https://bulade-donate.oss-cn-beijing.aliyuncs.com/img\",\n};\n\nComponent({\n externalClasses: [\"iclass\"],\n properties: {\n src: {\n type: String,\n value: \"\",\n },\n mode: {\n type: String,\n value: \"\",\n },\n provider: {\n type: String,\n value: \"myqcloud\",\n },\n showMenuByLongpress: {\n type: Boolean,\n value: false,\n },\n thumbnail: {\n type: String,\n value: \"800x800\",\n },\n fadeIn: {\n type: Boolean,\n value: false,\n },\n },\n\n data: {\n fullSrc: \"\",\n loading: true,\n },\n\n observers: {\n src: function (src) {\n if (!src) {\n return;\n }\n\n let fullSrc = \"\";\n if (src.startsWith(\"http\")) {\n fullSrc = src;\n } else {\n fullSrc = `${CLOUD_PROVIDERS[this.data.provider]}/${src}`;\n }\n\n if (fullSrc.includes(\".cos.ap-shanghai.myqcloud.com\")) {\n fullSrc = `${fullSrc}?imageMogr2/format/webp`;\n\n if (this.data.thumbnail) {\n fullSrc = `${fullSrc}/thumbnail/${this.data.thumbnail}`;\n }\n }\n\n if (this.data.fullSrc === fullSrc) {\n return;\n }\n\n this.setData({\n loading: true,\n fullSrc,\n });\n },\n },\n\n methods: {\n loaded: function (e) {\n this.setData({\n loading: false,\n });\n },\n },\n});\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 = 10);\n","const CLOUD_PROVIDERS = {\n myqcloud: \"https://bloodcare-1251596343.cos.ap-shanghai.myqcloud.com/assets\",\n aliyun: \"https://bulade-donate.oss-cn-beijing.aliyuncs.com/img\",\n};\n\nComponent({\n externalClasses: [\"iclass\"],\n properties: {\n src: {\n type: String,\n value: \"\",\n },\n mode: {\n type: String,\n value: \"\",\n },\n provider: {\n type: String,\n value: \"myqcloud\",\n },\n showMenuByLongpress: {\n type: Boolean,\n value: false,\n },\n thumbnail: {\n type: String,\n value: \"800x800\",\n },\n fadeIn: {\n type: Boolean,\n value: false,\n },\n },\n\n data: {\n fullSrc: \"\",\n loading: true,\n },\n\n observers: {\n src: function (src) {\n if (!src) {\n return;\n }\n\n let fullSrc = \"\";\n if (src.startsWith(\"http\")) {\n fullSrc = src;\n } else {\n fullSrc = `${CLOUD_PROVIDERS[this.data.provider]}/${src}`;\n }\n\n if (fullSrc.includes(\".cos.ap-shanghai.myqcloud.com\")) {\n fullSrc = `${fullSrc}?imageMogr2/format/webp`;\n\n if (this.data.thumbnail) {\n fullSrc = `${fullSrc}/thumbnail/${this.data.thumbnail}`;\n }\n }\n\n if (this.data.fullSrc === fullSrc) {\n return;\n }\n\n this.setData({\n loading: true,\n fullSrc,\n });\n },\n },\n\n methods: {\n loaded: function (e) {\n this.setData({\n loading: false,\n });\n },\n },\n});\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 = 41);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 42);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 41:
90
+ /***/ 42:
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 = 41);\n","Component({\n options: {\n addGlobalClass: true,\n },\n\n properties: {\n duration: {\n type: Number,\n value: 300\n },\n visible: {\n type: Boolean,\n value: false\n }\n },\n\n data: {\n contentHeight: 0, // 内容区域高度\n isReady: false\n },\n\n observers: {\n visible(val) {\n if (val && this.data.isReady) {\n this.getContainerHeight()\n } else {\n this.setData({\n contentHeight: 0\n })\n }\n }\n },\n\n lifetimes: {\n ready() {\n this.data.isReady = true\n\n if (this.data.visible) {\n this.getContainerHeight()\n }\n }\n },\n\n methods: {\n getContainerHeight() {\n const query = this.createSelectorQuery()\n query.select('.m-collapse__content').boundingClientRect()\n\n query.exec(res => {\n const contentHeight = res[0].height\n\n this.setData({\n contentHeight\n })\n })\n },\n\n onTransitionEnd() {\n this.triggerEvent('on-change', this.data.visible)\n }\n }\n});\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 = 42);\n","Component({\n options: {\n addGlobalClass: true,\n },\n\n properties: {\n duration: {\n type: Number,\n value: 300\n },\n visible: {\n type: Boolean,\n value: false\n }\n },\n\n data: {\n contentHeight: 0, // 内容区域高度\n isReady: false\n },\n\n observers: {\n visible(val) {\n if (val && this.data.isReady) {\n this.getContainerHeight()\n } else {\n this.setData({\n contentHeight: 0\n })\n }\n }\n },\n\n lifetimes: {\n ready() {\n this.data.isReady = true\n\n if (this.data.visible) {\n this.getContainerHeight()\n }\n }\n },\n\n methods: {\n getContainerHeight() {\n const query = this.createSelectorQuery()\n query.select('.m-collapse__content').boundingClientRect()\n\n query.exec(res => {\n const contentHeight = res[0].height\n\n this.setData({\n contentHeight\n })\n })\n },\n\n onTransitionEnd() {\n this.triggerEvent('on-change', this.data.visible)\n }\n }\n});\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 = 32);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 33);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 32:
90
+ /***/ 33:
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 = 32);\n","Component({\n externalClasses: ['custom-class'],\n\n options: {\n addGlobalClass: true,\n },\n\n properties: {\n visible: {\n type: Boolean,\n value: false\n },\n\n zIndex: {\n type: Number,\n value: 9\n },\n\n mask: {\n type: Boolean,\n value: true\n },\n\n maskClosable: {\n type: Boolean,\n value: true\n },\n\n position: {\n type: String,\n value: 'bottom' // left right top bottom\n }\n },\n\n methods: {\n handleMaskClick() {\n if (!this.data.maskClosable) return\n this.triggerEvent('close')\n }\n }\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 = 33);\n","Component({\n externalClasses: ['custom-class'],\n\n options: {\n addGlobalClass: true,\n },\n\n properties: {\n visible: {\n type: Boolean,\n value: false\n },\n\n zIndex: {\n type: Number,\n value: 9\n },\n\n mask: {\n type: Boolean,\n value: true\n },\n\n maskClosable: {\n type: Boolean,\n value: true\n },\n\n position: {\n type: String,\n value: 'bottom' // left right top bottom\n }\n },\n\n methods: {\n handleMaskClick() {\n if (!this.data.maskClosable) return\n this.triggerEvent('close')\n }\n }\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 = 26);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 27);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 26:
90
+ /***/ 27:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-empty-page/index.js"],"names":["app","getApp","Component","externalClasses","properties","content","type","String","value","imageSrc","padding","showImage","Boolean"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA,IAAMA,MAAMC,QAAZ;;AAEAC,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,aAAS;AACPC,YAAMC,MADC;AAEPC,aAAO;AAFA,KADC;AAKVC,cAAU;AACRH,YAAMC,MADE;AAERC,aAAO;AAFC,KALA;AASVE,aAAS;AACPJ,YAAMC,MADC;AAEPC,aAAO;AAFA,KATC;AAaVG,eAAW;AACTL,YAAMM,OADG;AAETJ,aAAO;AAFE;AAbD;AAFJ,CAAV,E","file":"bld-empty-page/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 26);\n","const app = getApp();\n\nComponent({\n externalClasses: [\"iclass\"],\n properties: {\n content: {\n type: String,\n value: \"这里什么都没有\",\n },\n imageSrc: {\n type: String,\n value: \"empty/empty-default.png\",\n },\n padding: {\n type: String,\n value: \"40% 0\",\n },\n showImage: {\n type: Boolean,\n value: true,\n },\n },\n});\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-empty-page/index.js"],"names":["app","getApp","Component","externalClasses","properties","content","type","String","value","imageSrc","padding","showImage","Boolean"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA,IAAMA,MAAMC,QAAZ;;AAEAC,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,aAAS;AACPC,YAAMC,MADC;AAEPC,aAAO;AAFA,KADC;AAKVC,cAAU;AACRH,YAAMC,MADE;AAERC,aAAO;AAFC,KALA;AASVE,aAAS;AACPJ,YAAMC,MADC;AAEPC,aAAO;AAFA,KATC;AAaVG,eAAW;AACTL,YAAMM,OADG;AAETJ,aAAO;AAFE;AAbD;AAFJ,CAAV,E","file":"bld-empty-page/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 27);\n","const app = getApp();\n\nComponent({\n externalClasses: [\"iclass\"],\n properties: {\n content: {\n type: String,\n value: \"这里什么都没有\",\n },\n imageSrc: {\n type: String,\n value: \"empty/empty-default.png\",\n },\n padding: {\n type: String,\n value: \"40% 0\",\n },\n showImage: {\n type: Boolean,\n value: true,\n },\n },\n});\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 = 11);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 10:
90
+ /***/ 11:
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-form/bld-form-item/bld-form-date/index.js"],"names":["nowDate","date","Date","years","getFullYear","months","getMonth","days","getDate","Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","data","year","month","day","showActionsheet","selectValue","text","observers","initDate","lifetimes","ready","methods","i","push","setData","valueDates","replace","valueYear","valueMonth","valueDate","showSellect","handelChoose","bindChange","e","val","detail","toString","padStart","includes","setDays","setDay","setMonth","maxDay"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA,SAASA,OAAT,GAAmB;AACjB,MAAMC,OAAO,IAAIC,IAAJ,EAAb;AACA,MAAMC,QAAQF,KAAKG,WAAL,KAAqB,IAAnC;AACA,MAAMC,SAASJ,KAAKK,QAAL,EAAf;AACA,MAAMC,OAAON,KAAKO,OAAL,KAAiB,CAA9B;AACA,SAAO,CAACL,KAAD,EAAQE,MAAR,EAAgBE,IAAhB,CAAP;AACD;AACDE,UAAU;AACRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,EAA0C,aAA1C,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAa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,YAAIL,IAAI,CAAJ,IAAS,EAAb,EAAiB;AACf,eAAKM,MAAL,CAAY,EAAZ;AACD;AACF,OALM,MAKA;AACL,aAAKD,OAAL,CAAa,EAAb;AACA,YAAIL,IAAI,CAAJ,IAAS,EAAb,EAAiB;AACf,eAAKM,MAAL,CAAY,EAAZ;AACD;AACF;AACF,KApFM;AAqFPC,YArFO,oBAqFE7B,KArFF,EAqFS;AACd,UAAMjB,SAAS,EAAf;AACA,WAAK,IAAI2B,IAAI,CAAb,EAAgBA,KAAKV,KAArB,EAA4BU,GAA5B,EAAiC;AAC/B3B,eAAO4B,IAAP,CAAYD,CAAZ;AACD;AACD,WAAKE,OAAL,CAAa;AACX7B,gBAAQA;AADG,OAAb;AAGD,KA7FM;AA8FP4C,WA9FO,mBA8FC1B,GA9FD,EA8FM;AACX,UAAMhB,OAAO,EAAb;AACA,WAAK,IAAIyB,IAAI,CAAb,EAAgBA,KAAKT,GAArB,EAA0BS,GAA1B,EAA+B;AAC7BzB,aAAK0B,IAAL,CAAUD,CAAV;AACD;AACD,WAAKE,OAAL,CAAa;AACX3B,cAAMA;AADK,OAAb;AAGD,KAtGM;AAuGP2C,UAvGO,kBAuGAE,MAvGA,EAuGQ;AACb,UAAM3B,cAAc,KAAKL,IAAL,CAAUK,WAA9B;;AAEAA,kBAAY,CAAZ,IAAiB2B,MAAjB;AACA,WAAKlB,OAAL,CAAa;AACXT,qBAAaA;AADF,OAAb;AAGD;AA9GM;AA/CD,CAAV,E","file":"bld-form/bld-form-item/bld-form-date/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","function nowDate() {\n const date = new Date();\n const years = date.getFullYear() - 1925;\n const months = date.getMonth();\n const days = date.getDate() - 1;\n return [years, months, days];\n}\nComponent({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\", \"select-icon\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n },\n data: {\n date: new Date(),\n years: [],\n year: \"\",\n months: [],\n month: \"\",\n days: [],\n day: \"\",\n showActionsheet: false,\n selectValue: nowDate(),\n text: \"\",\n },\n\n observers: {\n value: function () {\n this.initDate(this.data.value);\n },\n },\n lifetimes: {\n ready() {\n // this.initDate(this.data.value);\n },\n },\n methods: {\n initDate(value = \"\") {\n const date = new Date();\n const years = [];\n const months = [];\n const days = [];\n for (let i = 1925; i <= date.getFullYear() + 10; i++) {\n years.push(i);\n }\n\n for (let i = 1; i <= 12; i++) {\n months.push(i);\n }\n\n for (let i = 1; i <= 31; i++) {\n days.push(i);\n }\n this.setData({\n years: years,\n months: months,\n days: days,\n });\n if (value) {\n const valueDates = new Date(value.replace(/-/g, \"/\"));\n const valueYear = valueDates.getFullYear() - 1925;\n const valueMonth = valueDates.getMonth();\n const valueDate = valueDates.getDate() - 1;\n\n this.setData({\n selectValue: [valueYear, valueMonth, valueDate],\n text:\n this.data.years[valueYear] + \"年\" + this.data.months[valueMonth] + \"月\" + this.data.days[valueDate] + \"日\",\n });\n } else {\n this.setData({\n selectValue: nowDate(),\n text: \"\",\n });\n }\n },\n showSellect() {\n if (this.data.disabled) return;\n\n this.setData({\n showActionsheet: true,\n });\n },\n handelChoose() {\n const year = this.data.year || this.data.years[this.data.selectValue[0]];\n const month = this.data.month || this.data.months[this.data.selectValue[1]];\n const day = this.data.day || this.data.days[this.data.selectValue[2]];\n\n this.setData({\n showActionsheet: false,\n text: year + \"年\" + month + \"月\" + day + \"日\",\n value: year + \"-\" + month + \"-\" + day,\n });\n },\n bindChange(e) {\n const val = e.detail.value;\n\n this.setData({\n year: this.data.years[val[0]],\n month: this.data.months[val[1]].toString().padStart(2, \"0\"),\n day: this.data.days[val[2]].toString().padStart(2, \"0\"),\n });\n if ([0, 2, 4, 6, 7, 9, 11].includes(val[1])) {\n this.setDays(31);\n } else if ([3, 5, 8, 10].includes(val[1])) {\n this.setDays(30);\n if (val[2] > 29) {\n this.setDay(29);\n }\n } else if (this.data.years[val[0]] % 4 == 0) {\n this.setDays(29);\n if (val[2] > 28) {\n this.setDay(28);\n }\n } else {\n this.setDays(28);\n if (val[2] > 27) {\n this.setDay(27);\n }\n }\n },\n setMonth(month) {\n const months = [];\n for (let i = 1; i <= month; i++) {\n months.push(i);\n }\n this.setData({\n months: months,\n });\n },\n setDays(day) {\n const days = [];\n for (let i = 1; i <= day; i++) {\n days.push(i);\n }\n this.setData({\n days: days,\n });\n },\n setDay(maxDay) {\n const selectValue = this.data.selectValue;\n\n selectValue[2] = maxDay;\n this.setData({\n selectValue: selectValue,\n });\n },\n },\n});\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-date/index.js"],"names":["nowDate","date","Date","years","getFullYear","months","getMonth","days","getDate","Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","data","year","month","day","showActionsheet","selectValue","text","observers","initDate","lifetimes","ready","methods","i","push","setData","valueDates","replace","valueYear","valueMonth","valueDate","showSellect","handelChoose","bindChange","e","val","detail","toString","padStart","includes","setDays","setDay","setMonth","maxDay"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAE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AgBA,KAAKV,KAArB,EAA4BU,GAA5B,EAAiC;AAC/B3B,eAAO4B,IAAP,CAAYD,CAAZ;AACD;AACD,WAAKE,OAAL,CAAa;AACX7B,gBAAQA;AADG,OAAb;AAGD,KA7FM;AA8FP4C,WA9FO,mBA8FC1B,GA9FD,EA8FM;AACX,UAAMhB,OAAO,EAAb;AACA,WAAK,IAAIyB,IAAI,CAAb,EAAgBA,KAAKT,GAArB,EAA0BS,GAA1B,EAA+B;AAC7BzB,aAAK0B,IAAL,CAAUD,CAAV;AACD;AACD,WAAKE,OAAL,CAAa;AACX3B,cAAMA;AADK,OAAb;AAGD,KAtGM;AAuGP2C,UAvGO,kBAuGAE,MAvGA,EAuGQ;AACb,UAAM3B,cAAc,KAAKL,IAAL,CAAUK,WAA9B;;AAEAA,kBAAY,CAAZ,IAAiB2B,MAAjB;AACA,WAAKlB,OAAL,CAAa;AACXT,qBAAaA;AADF,OAAb;AAGD;AA9GM;AA/CD,CAAV,E","file":"bld-form/bld-form-item/bld-form-date/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","function nowDate() {\n const date = new Date();\n const years = date.getFullYear() - 1925;\n const months = date.getMonth();\n const days = date.getDate() - 1;\n return [years, months, days];\n}\nComponent({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\", \"select-icon\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n },\n data: {\n date: new Date(),\n years: [],\n year: \"\",\n months: [],\n month: \"\",\n days: [],\n day: \"\",\n showActionsheet: false,\n selectValue: nowDate(),\n text: \"\",\n },\n\n observers: {\n value: function () {\n this.initDate(this.data.value);\n },\n },\n lifetimes: {\n ready() {\n // this.initDate(this.data.value);\n },\n },\n methods: {\n initDate(value = \"\") {\n const date = new Date();\n const years = [];\n const months = [];\n const days = [];\n for (let i = 1925; i <= date.getFullYear() + 10; i++) {\n years.push(i);\n }\n\n for (let i = 1; i <= 12; i++) {\n months.push(i);\n }\n\n for (let i = 1; i <= 31; i++) {\n days.push(i);\n }\n this.setData({\n years: years,\n months: months,\n days: days,\n });\n if (value) {\n const valueDates = new Date(value.replace(/-/g, \"/\"));\n const valueYear = valueDates.getFullYear() - 1925;\n const valueMonth = valueDates.getMonth();\n const valueDate = valueDates.getDate() - 1;\n\n this.setData({\n selectValue: [valueYear, valueMonth, valueDate],\n text:\n this.data.years[valueYear] + \"年\" + this.data.months[valueMonth] + \"月\" + this.data.days[valueDate] + \"日\",\n });\n } else {\n this.setData({\n selectValue: nowDate(),\n text: \"\",\n });\n }\n },\n showSellect() {\n if (this.data.disabled) return;\n\n this.setData({\n showActionsheet: true,\n });\n },\n handelChoose() {\n const year = this.data.year || this.data.years[this.data.selectValue[0]];\n const month = this.data.month || this.data.months[this.data.selectValue[1]];\n const day = this.data.day || this.data.days[this.data.selectValue[2]];\n\n this.setData({\n showActionsheet: false,\n text: year + \"年\" + month + \"月\" + day + \"日\",\n value: year + \"-\" + month + \"-\" + day,\n });\n },\n bindChange(e) {\n const val = e.detail.value;\n\n this.setData({\n year: this.data.years[val[0]],\n month: this.data.months[val[1]].toString().padStart(2, \"0\"),\n day: this.data.days[val[2]].toString().padStart(2, \"0\"),\n });\n if ([0, 2, 4, 6, 7, 9, 11].includes(val[1])) {\n this.setDays(31);\n } else if ([3, 5, 8, 10].includes(val[1])) {\n this.setDays(30);\n if (val[2] > 29) {\n this.setDay(29);\n }\n } else if (this.data.years[val[0]] % 4 == 0) {\n this.setDays(29);\n if (val[2] > 28) {\n this.setDay(28);\n }\n } else {\n this.setDays(28);\n if (val[2] > 27) {\n this.setDay(27);\n }\n }\n },\n setMonth(month) {\n const months = [];\n for (let i = 1; i <= month; i++) {\n months.push(i);\n }\n this.setData({\n months: months,\n });\n },\n setDays(day) {\n const days = [];\n for (let i = 1; i <= day; i++) {\n days.push(i);\n }\n this.setData({\n days: days,\n });\n },\n setDay(maxDay) {\n const selectValue = this.data.selectValue;\n\n selectValue[2] = maxDay;\n this.setData({\n selectValue: selectValue,\n });\n },\n },\n});\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 = 11);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 12);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 11:
90
+ /***/ 12:
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-form/bld-form-item/bld-form-input/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","showPlaceholder","data","methods","valueChange","event","detail","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,WAAS;AACPC,oBAAgB;AADT,GADD;AAIRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CAJT;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVF,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KAjBI;AAqBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KArBA;AAyBVK,qBAAiB;AACfP,YAAMI,OADS;AAEfF,aAAO;AAFQ;AAzBP,GALJ;AAmCRM,QAAM;AACJ;AADI,GAnCE;AAsCRC,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTT,KADS,GACCS,MAAMC,MADP,CACTV,KADS;;;AAGjB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGD;AAPM;AAtCD,CAAV,E","file":"bld-form/bld-form-item/bld-form-input/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({\n options: {\n styleIsolation: \"shared\",\n },\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n type: {\n type: String,\n value: \"text\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n showPlaceholder: {\n type: Boolean,\n value: true,\n },\n },\n data: {\n // value: \"\",\n },\n methods: {\n valueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n },\n },\n});\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-input/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","showPlaceholder","data","methods","valueChange","event","detail","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,WAAS;AACPC,oBAAgB;AADT,GADD;AAIRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CAJT;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVF,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KAjBI;AAqBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KArBA;AAyBVK,qBAAiB;AACfP,YAAMI,OADS;AAEfF,aAAO;AAFQ;AAzBP,GALJ;AAmCRM,QAAM;AACJ;AADI,GAnCE;AAsCRC,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTT,KADS,GACCS,MAAMC,MADP,CACTV,KADS;;;AAGjB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGD;AAPM;AAtCD,CAAV,E","file":"bld-form/bld-form-item/bld-form-input/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 = 12);\n","Component({\n options: {\n styleIsolation: \"shared\",\n },\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n type: {\n type: String,\n value: \"text\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n showPlaceholder: {\n type: Boolean,\n value: true,\n },\n },\n data: {\n // value: \"\",\n },\n methods: {\n valueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n },\n },\n});\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 = 12);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 13);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 12:
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-form/bld-form-item/bld-form-select-input/index.js"],"names":["Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","text","keyValue","keyLabel","showAction","disabled","showFilter","listData","Array","showPlaceholder","placeholder","valuePlaceholder","data","list","showActionsheet","selectValue","inputValue","observers","setData","initSelectText","getList","lifetimes","ready","methods","showSellect","chooseRadio","e","currentTarget","dataset","handelChoose","triggerEvent","inputValueChange","event","detail"],"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,mBAAm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ACb,WAAKX,OAAL,CAAa;AACXrB,eAAO,KAAKe,IAAL,CAAUG,WADN;AAEXD,yBAAiB;AAFN,OAAb;AAIA,WAAKgB,YAAL,CAAkB,aAAlB;AACD,KAzCM;AA0CPC,oBA1CO,4BA0CUC,KA1CV,EA0CiB;AAAA,UACdnC,KADc,GACJmC,MAAMC,MADF,CACdpC,KADc;;;AAGtB,WAAKqB,OAAL,CAAa;AACXrB,eAAOA;AADI,OAAb;AAGA,WAAKiC,YAAL,CAAkB,aAAlB;AACD;AAjDM;AA7FD,CAAV,E","file":"bld-form/bld-form-item/bld-form-select-input/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 = 12);\n","Component({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\", \"select-icon\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n text: {\n type: String,\n value: \"\",\n },\n keyValue: {\n type: String,\n value: \"value\",\n },\n keyLabel: {\n type: String,\n value: \"label\",\n },\n showAction: {\n type: Boolean,\n value: false,\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n showFilter: {\n type: Boolean,\n value: true,\n },\n listData: {\n type: Array,\n value: [],\n },\n showPlaceholder: {\n type: Boolean,\n value: true,\n },\n placeholder: {\n type: String,\n value: \"\",\n },\n valuePlaceholder: {\n type: String,\n value: \"\",\n },\n },\n data: {\n list: [],\n showActionsheet: false,\n selectValue: \"\",\n inputValue: \"\",\n },\n\n observers: {\n showAction: function () {\n this.setData({\n showActionsheet: this.properties.showAction,\n selectValue: this.data.value,\n });\n },\n value: function () {\n this.initSelectText();\n },\n list: function () {\n this.initSelectText();\n },\n listData: function () {\n this.getList();\n },\n },\n lifetimes: {\n ready() {\n this.setData({\n selectValue: this.data.value,\n inputValue: this.data.value,\n });\n },\n },\n\n methods: {\n initSelectText() {\n if (!this.data.value) {\n this.setData({\n selectValue: \"\",\n inputValue: \"\",\n });\n\n return;\n }\n\n this.setData({\n selectValue: this.data.value,\n inputValue: this.data.value,\n });\n },\n showSellect() {\n if (this.data.disabled) return;\n\n this.setData({\n showActionsheet: true,\n });\n },\n getList() {\n this.setData({\n list: this.data.listData,\n });\n },\n chooseRadio(e) {\n if (!e.currentTarget.dataset.disabled) {\n this.setData({\n selectValue: e.currentTarget.dataset.value,\n });\n }\n },\n handelChoose() {\n this.setData({\n value: this.data.selectValue,\n showActionsheet: false,\n });\n this.triggerEvent(\"valueChange\");\n },\n inputValueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n this.triggerEvent(\"valueChange\");\n },\n },\n});\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-select-input/index.js"],"names":["Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","text","keyValue","keyLabel","showAction","disabled","showFilter","listData","Array","showPlaceholder","placeholder","valuePlaceholder","data","list","showActionsheet","selectValue","inputValue","observers","setData","initSelectText","getList","lifetimes","ready","methods","showSellect","chooseRadio","e","currentTarget","dataset","handelChoose","triggerEvent","inputValueChange","event","detail"],"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;QAC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ACb,UAAI,CAACA,EAAEC,aAAF,CAAgBC,OAAhB,CAAwBvB,QAA7B,EAAuC;AACrC,aAAKa,OAAL,CAAa;AACXH,uBAAaW,EAAEC,aAAF,CAAgBC,OAAhB,CAAwB/B;AAD1B,SAAb;AAGD;AACF,KAlCM;AAmCPgC,gBAnCO,0BAmCQ;AACb,WAAKX,OAAL,CAAa;AACXrB,eAAO,KAAKe,IAAL,CAAUG,WADN;AAEXD,yBAAiB;AAFN,OAAb;AAIA,WAAKgB,YAAL,CAAkB,aAAlB;AACD,KAzCM;AA0CPC,oBA1CO,4BA0CUC,KA1CV,EA0CiB;AAAA,UACdnC,KADc,GACJmC,MAAMC,MADF,CACdpC,KADc;;;AAGtB,WAAKqB,OAAL,CAAa;AACXrB,eAAOA;AADI,OAAb;AAGA,WAAKiC,YAAL,CAAkB,aAAlB;AACD;AAjDM;AA7FD,CAAV,E","file":"bld-form/bld-form-item/bld-form-select-input/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","Component({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\", \"select-icon\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n text: {\n type: String,\n value: \"\",\n },\n keyValue: {\n type: String,\n value: \"value\",\n },\n keyLabel: {\n type: String,\n value: \"label\",\n },\n showAction: {\n type: Boolean,\n value: false,\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n showFilter: {\n type: Boolean,\n value: true,\n },\n listData: {\n type: Array,\n value: [],\n },\n showPlaceholder: {\n type: Boolean,\n value: true,\n },\n placeholder: {\n type: String,\n value: \"\",\n },\n valuePlaceholder: {\n type: String,\n value: \"\",\n },\n },\n data: {\n list: [],\n showActionsheet: false,\n selectValue: \"\",\n inputValue: \"\",\n },\n\n observers: {\n showAction: function () {\n this.setData({\n showActionsheet: this.properties.showAction,\n selectValue: this.data.value,\n });\n },\n value: function () {\n this.initSelectText();\n },\n list: function () {\n this.initSelectText();\n },\n listData: function () {\n this.getList();\n },\n },\n lifetimes: {\n ready() {\n this.setData({\n selectValue: this.data.value,\n inputValue: this.data.value,\n });\n },\n },\n\n methods: {\n initSelectText() {\n if (!this.data.value) {\n this.setData({\n selectValue: \"\",\n inputValue: \"\",\n });\n\n return;\n }\n\n this.setData({\n selectValue: this.data.value,\n inputValue: this.data.value,\n });\n },\n showSellect() {\n if (this.data.disabled) return;\n\n this.setData({\n showActionsheet: true,\n });\n },\n getList() {\n this.setData({\n list: this.data.listData,\n });\n },\n chooseRadio(e) {\n if (!e.currentTarget.dataset.disabled) {\n this.setData({\n selectValue: e.currentTarget.dataset.value,\n });\n }\n },\n handelChoose() {\n this.setData({\n value: this.data.selectValue,\n showActionsheet: false,\n });\n this.triggerEvent(\"valueChange\");\n },\n inputValueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n this.triggerEvent(\"valueChange\");\n },\n },\n});\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 = 13);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 14);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 13:
90
+ /***/ 14:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";