bulade-ui 1.1.12 → 1.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/miniprogram_dist/assets/font/iconfont.scss +533 -0
  2. package/miniprogram_dist/assets/font/iconfont.wxss +433 -88
  3. package/miniprogram_dist/bld-action-sheet/index.js +2 -2
  4. package/miniprogram_dist/bld-action-sheet/index.js.map +1 -1
  5. package/miniprogram_dist/bld-action-sheet/index.json +1 -1
  6. package/miniprogram_dist/bld-action-sheet/index.wxml +1 -1
  7. package/miniprogram_dist/bld-badge/index.js +2 -2
  8. package/miniprogram_dist/bld-badge/index.js.map +1 -1
  9. package/miniprogram_dist/bld-button/index.js +2 -2
  10. package/miniprogram_dist/bld-button/index.js.map +1 -1
  11. package/miniprogram_dist/bld-button-v2/index.js +2 -2
  12. package/miniprogram_dist/bld-button-v2/index.js.map +1 -1
  13. package/miniprogram_dist/bld-card/index.js +2 -2
  14. package/miniprogram_dist/bld-card/index.js.map +1 -1
  15. package/miniprogram_dist/bld-cell/index.js +2 -2
  16. package/miniprogram_dist/bld-cell/index.js.map +1 -1
  17. package/miniprogram_dist/bld-cell-field/index.js +2 -2
  18. package/miniprogram_dist/bld-cell-field/index.js.map +1 -1
  19. package/miniprogram_dist/bld-cell-group/index.js +2 -2
  20. package/miniprogram_dist/bld-cell-group/index.js.map +1 -1
  21. package/miniprogram_dist/bld-cell-group-v2/index.wxss +29 -29
  22. package/miniprogram_dist/bld-cell-v2/index.json +1 -1
  23. package/miniprogram_dist/bld-cell-v2/index.wxss +63 -63
  24. package/miniprogram_dist/bld-checkbox/index.js +2 -2
  25. package/miniprogram_dist/bld-checkbox/index.js.map +1 -1
  26. package/miniprogram_dist/bld-checkbox/index.json +1 -1
  27. package/miniprogram_dist/bld-checkbox-group/index.js +2 -2
  28. package/miniprogram_dist/bld-checkbox-group/index.js.map +1 -1
  29. package/miniprogram_dist/bld-cloud-image/index.js +5 -6
  30. package/miniprogram_dist/bld-cloud-image/index.js.map +1 -1
  31. package/miniprogram_dist/bld-collapse/index.js +2 -2
  32. package/miniprogram_dist/bld-collapse/index.js.map +1 -1
  33. package/miniprogram_dist/bld-dialog-tip/index.js +2 -2
  34. package/miniprogram_dist/bld-dialog-tip/index.js.map +1 -1
  35. package/miniprogram_dist/bld-dialog-tip/index.wxss +1 -1
  36. package/miniprogram_dist/bld-drawer/index.js +2 -2
  37. package/miniprogram_dist/bld-drawer/index.js.map +1 -1
  38. package/miniprogram_dist/bld-empty-page/index.js +2 -2
  39. package/miniprogram_dist/bld-empty-page/index.js.map +1 -1
  40. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js +2 -2
  41. package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js.map +1 -1
  42. package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js +2 -2
  43. package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js.map +1 -1
  44. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.js +2 -2
  45. package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.js.map +1 -1
  46. package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js +2 -2
  47. package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js.map +1 -1
  48. package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js +2 -2
  49. package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js.map +1 -1
  50. package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js +2 -2
  51. package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js.map +1 -1
  52. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js +2 -2
  53. package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js.map +1 -1
  54. package/miniprogram_dist/bld-html/index.js +2 -2
  55. package/miniprogram_dist/bld-html/index.js.map +1 -1
  56. package/miniprogram_dist/bld-html/index.wxss +1 -1
  57. package/miniprogram_dist/bld-icon/index.js +42 -7
  58. package/miniprogram_dist/bld-icon/index.js.map +1 -1
  59. package/miniprogram_dist/bld-icon/index.json +4 -1
  60. package/miniprogram_dist/bld-icon/index.wxml +35 -1
  61. package/miniprogram_dist/bld-icon/index.wxss +337 -1
  62. package/miniprogram_dist/bld-loading/index.js +2 -2
  63. package/miniprogram_dist/bld-loading/index.js.map +1 -1
  64. package/miniprogram_dist/bld-message/index.js +2 -2
  65. package/miniprogram_dist/bld-message/index.js.map +1 -1
  66. package/miniprogram_dist/bld-message/message.js +2 -2
  67. package/miniprogram_dist/bld-message/message.js.map +1 -1
  68. package/miniprogram_dist/bld-modal/index.js +2 -2
  69. package/miniprogram_dist/bld-modal/index.js.map +1 -1
  70. package/miniprogram_dist/bld-modal/modal.js +2 -2
  71. package/miniprogram_dist/bld-modal/modal.js.map +1 -1
  72. package/miniprogram_dist/bld-nav-bar/index.js +2 -2
  73. package/miniprogram_dist/bld-nav-bar/index.js.map +1 -1
  74. package/miniprogram_dist/bld-navbar/index.js +2 -2
  75. package/miniprogram_dist/bld-navbar/index.js.map +1 -1
  76. package/miniprogram_dist/bld-navbar-group/index.js +2 -2
  77. package/miniprogram_dist/bld-navbar-group/index.js.map +1 -1
  78. package/miniprogram_dist/bld-notice-bar/index.js +2 -2
  79. package/miniprogram_dist/bld-notice-bar/index.js.map +1 -1
  80. package/miniprogram_dist/bld-overlay/index.js +2 -2
  81. package/miniprogram_dist/bld-overlay/index.js.map +1 -1
  82. package/miniprogram_dist/bld-page/index.js +2 -2
  83. package/miniprogram_dist/bld-page/index.js.map +1 -1
  84. package/miniprogram_dist/bld-pop-up/index.js +2 -2
  85. package/miniprogram_dist/bld-pop-up/index.js.map +1 -1
  86. package/miniprogram_dist/bld-progress/index.js +2 -2
  87. package/miniprogram_dist/bld-progress/index.js.map +1 -1
  88. package/miniprogram_dist/bld-radio/index.js +2 -2
  89. package/miniprogram_dist/bld-radio/index.js.map +1 -1
  90. package/miniprogram_dist/bld-radio-group/index.js +2 -2
  91. package/miniprogram_dist/bld-radio-group/index.js.map +1 -1
  92. package/miniprogram_dist/bld-retry/index.js +2 -2
  93. package/miniprogram_dist/bld-retry/index.js.map +1 -1
  94. package/miniprogram_dist/bld-scroll-view/index.js +2 -2
  95. package/miniprogram_dist/bld-scroll-view/index.js.map +1 -1
  96. package/miniprogram_dist/bld-tag/index.js +2 -2
  97. package/miniprogram_dist/bld-tag/index.js.map +1 -1
  98. package/miniprogram_dist/bld-text/index.js +2 -2
  99. package/miniprogram_dist/bld-text/index.js.map +1 -1
  100. package/miniprogram_dist/bld-toast/index.js +2 -2
  101. package/miniprogram_dist/bld-toast/index.js.map +1 -1
  102. package/miniprogram_dist/bld-toast/index.json +1 -1
  103. package/miniprogram_dist/bld-toast/toast.js +2 -2
  104. package/miniprogram_dist/bld-toast/toast.js.map +1 -1
  105. package/miniprogram_dist/bld-wrapper/index.js +2 -2
  106. package/miniprogram_dist/bld-wrapper/index.js.map +1 -1
  107. package/miniprogram_dist/components-npm/mp-weixin/index.js +4 -4
  108. package/miniprogram_dist/components-npm/mp-weixin/index.js.map +1 -1
  109. package/miniprogram_dist/components-npm/mp-weixin/node/node.js +2 -2
  110. package/miniprogram_dist/components-npm/mp-weixin/node/node.js.map +1 -1
  111. package/miniprogram_dist/grid/index.js +2 -2
  112. package/miniprogram_dist/grid/index.js.map +1 -1
  113. package/miniprogram_dist/grid-item/index.js +2 -2
  114. package/miniprogram_dist/grid-item/index.js.map +1 -1
  115. package/miniprogram_dist/grid-item/index.json +1 -1
  116. package/miniprogram_dist/timeline/index.js +2 -2
  117. package/miniprogram_dist/timeline/index.js.map +1 -1
  118. package/miniprogram_dist/timeline-item/index.js +2 -2
  119. package/miniprogram_dist/timeline-item/index.js.map +1 -1
  120. package/miniprogram_dist/timeline-item/index.json +1 -1
  121. package/package.json +1 -1
  122. package/src/assets/font/iconfont.scss +533 -0
  123. package/src/assets/font/iconfont.wxss +433 -88
  124. package/src/bld-action-sheet/index.json +1 -1
  125. package/src/bld-action-sheet/index.wxml +1 -1
  126. package/src/bld-cell-group-v2/index.wxss +29 -29
  127. package/src/bld-cell-v2/index.json +1 -1
  128. package/src/bld-cell-v2/index.wxss +63 -63
  129. package/src/bld-checkbox/index.json +1 -1
  130. package/src/bld-dialog-tip/index.wxss +1 -1
  131. package/src/bld-html/index.wxss +1 -1
  132. package/src/bld-icon/index.js +36 -2
  133. package/src/bld-icon/index.json +4 -1
  134. package/src/bld-icon/index.scss +18 -533
  135. package/src/bld-icon/index.wxml +35 -1
  136. package/src/bld-icon/index.wxss +551 -531
  137. package/src/bld-icon-back/index.js +8 -0
  138. package/src/bld-icon-back/index.scss +1 -0
  139. package/src/bld-icon-back/index.wxml +1 -0
  140. package/src/bld-icon-back/index.wxss +531 -0
  141. package/src/bld-toast/index.json +1 -1
  142. package/src/grid-item/index.json +1 -1
  143. package/src/timeline-item/index.json +1 -1
  144. package/miniprogram_dist/icon/index.js +0 -142
  145. package/miniprogram_dist/icon/index.js.map +0 -1
  146. package/miniprogram_dist/icon/index.wxml +0 -35
  147. package/miniprogram_dist/icon/index.wxss +0 -200
  148. package/src/icon/index.js +0 -42
  149. package/src/icon/index.json +0 -3
  150. package/src/icon/index.scss +0 -17
  151. package/src/icon/index.wxml +0 -35
  152. package/src/icon/index.wxss +0 -200
  153. /package/{miniprogram_dist/icon → src/bld-icon-back}/index.json +0 -0
@@ -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 = 17);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 16);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 17:
90
+ /***/ 16:
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-step/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","step","Number","data","methods","valueChange","event","detail","setData","reduce","add"],"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;AAiBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KAjBA;AAqBVK,UAAM;AACJP,YAAMQ,MADF;AAEJN,aAAO;AAFH;AArBI,GALJ;AA+BRO,QAAM;AACJP,WAAO;AADH,GA/BE;AAkCRQ,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTV,KADS,GACCU,MAAMC,MADP,CACTX,KADS;;;AAGjB,WAAKY,OAAL,CAAa;AACXZ,eAAOA;AADI,OAAb;AAGD,KAPM;AAQPa,UARO,oBAQE;AACP,UAAI,KAAKN,IAAL,CAAUP,KAAd,EAAqB;AACnB,aAAKY,OAAL,CAAa;AACXZ,iBAAOM,OAAO,KAAKC,IAAL,CAAUP,KAAjB,IAA0BM,OAAO,KAAKC,IAAL,CAAUF,IAAjB;AADtB,SAAb;AAGD;AACF,KAdM;AAePS,OAfO,iBAeD;AACJ,UAAI,KAAKP,IAAL,CAAUP,KAAd,EAAqB;AACnB,aAAKY,OAAL,CAAa;AACXZ,iBAAOM,OAAO,KAAKC,IAAL,CAAUP,KAAjB,IAA0BM,OAAO,KAAKC,IAAL,CAAUF,IAAjB;AADtB,SAAb;AAGD;AACF;AArBM;AAlCD,CAAV,E","file":"bld-form\\bld-form-item\\bld-form-step\\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 = 17);\n","Component({\r\n options: {\r\n styleIsolation: \"shared\",\r\n },\r\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\r\n properties: {\r\n label: {\r\n type: String,\r\n value: \"\",\r\n },\r\n required: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n labelWidth: {\r\n type: String,\r\n value: \"auto\",\r\n },\r\n value: {\r\n type: String,\r\n value: \"\",\r\n },\r\n disabled: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n step: {\r\n type: Number,\r\n value: 1,\r\n },\r\n },\r\n data: {\r\n value: \"\",\r\n },\r\n methods: {\r\n valueChange(event) {\r\n const { value } = event.detail;\r\n\r\n this.setData({\r\n value: value,\r\n });\r\n },\r\n reduce() {\r\n if (this.data.value) {\r\n this.setData({\r\n value: Number(this.data.value) - Number(this.data.step),\r\n });\r\n }\r\n },\r\n add() {\r\n if (this.data.value) {\r\n this.setData({\r\n value: Number(this.data.value) + Number(this.data.step),\r\n });\r\n }\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-step/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","step","Number","data","methods","valueChange","event","detail","setData","reduce","add"],"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;AAiBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KAjBA;AAqBVK,UAAM;AACJP,YAAMQ,MADF;AAEJN,aAAO;AAFH;AArBI,GALJ;AA+BRO,QAAM;AACJP,WAAO;AADH,GA/BE;AAkCRQ,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTV,KADS,GACCU,MAAMC,MADP,CACTX,KADS;;;AAGjB,WAAKY,OAAL,CAAa;AACXZ,eAAOA;AADI,OAAb;AAGD,KAPM;AAQPa,UARO,oBAQE;AACP,UAAI,KAAKN,IAAL,CAAUP,KAAd,EAAqB;AACnB,aAAKY,OAAL,CAAa;AACXZ,iBAAOM,OAAO,KAAKC,IAAL,CAAUP,KAAjB,IAA0BM,OAAO,KAAKC,IAAL,CAAUF,IAAjB;AADtB,SAAb;AAGD;AACF,KAdM;AAePS,OAfO,iBAeD;AACJ,UAAI,KAAKP,IAAL,CAAUP,KAAd,EAAqB;AACnB,aAAKY,OAAL,CAAa;AACXZ,iBAAOM,OAAO,KAAKC,IAAL,CAAUP,KAAjB,IAA0BM,OAAO,KAAKC,IAAL,CAAUF,IAAjB;AADtB,SAAb;AAGD;AACF;AArBM;AAlCD,CAAV,E","file":"bld-form\\bld-form-item\\bld-form-step\\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 = 16);\n","Component({\r\n options: {\r\n styleIsolation: \"shared\",\r\n },\r\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\r\n properties: {\r\n label: {\r\n type: String,\r\n value: \"\",\r\n },\r\n required: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n labelWidth: {\r\n type: String,\r\n value: \"auto\",\r\n },\r\n value: {\r\n type: String,\r\n value: \"\",\r\n },\r\n disabled: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n step: {\r\n type: Number,\r\n value: 1,\r\n },\r\n },\r\n data: {\r\n value: \"\",\r\n },\r\n methods: {\r\n valueChange(event) {\r\n const { value } = event.detail;\r\n\r\n this.setData({\r\n value: value,\r\n });\r\n },\r\n reduce() {\r\n if (this.data.value) {\r\n this.setData({\r\n value: Number(this.data.value) - Number(this.data.step),\r\n });\r\n }\r\n },\r\n add() {\r\n if (this.data.value) {\r\n this.setData({\r\n value: Number(this.data.value) + Number(this.data.step),\r\n });\r\n }\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 18);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 17);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 18:
90
+ /***/ 17:
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-switch/index.js"],"names":["Component","externalClasses","properties","label","type","String","value","labelWidth","Boolean","disabled","color","data","lifetimes","methods","switchChange","event","detail","setData","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,WAAD,EAAc,YAAd,EAA4B,YAA5B,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,gBAAY;AACVH,YAAMC,MADI;AAEVC,aAAO;AAFG,KALF;;AAUVA,WAAO;AACLF,YAAMI,OADD;AAELF,aAAO;AAFF,KAVG;AAcVG,cAAU;AACRL,YAAMI,OADE;AAERF,aAAO;AAFC,KAdA;AAkBVI,WAAO;AACLN,YAAMC,MADD;AAELC,aAAO;AAFF;AAlBG,GAFJ;AAyBRK,QAAM,EAzBE;AA0BRC,aAAW,EA1BH;AA2BRC,WAAS;AACPC,gBADO,wBACMC,KADN,EACa;AAAA,UACZT,KADY,GACFS,MAAMC,MADJ,CACZV,KADY;;AAElB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGA,WAAKY,YAAL,CAAkB,iBAAlB,EAAqCZ,KAArC;AACD;AAPM;AA3BD,CAAV,E","file":"bld-form\\bld-form-item\\bld-form-switch\\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 = 18);\n","Component({\r\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\r\n properties: {\r\n label: {\r\n type: String,\r\n value: \"\"\r\n },\r\n labelWidth: {\r\n type: String,\r\n value: \"auto\"\r\n },\r\n\r\n value: {\r\n type: Boolean,\r\n value: false\r\n },\r\n disabled: {\r\n type: Boolean,\r\n value: false\r\n },\r\n color: {\r\n type: String,\r\n value: \"#FF0007\"\r\n }\r\n },\r\n data: {},\r\n lifetimes: {},\r\n methods: {\r\n switchChange(event) {\r\n let { value } = event.detail\r\n this.setData({\r\n value: value\r\n })\r\n this.triggerEvent('bldSwitchChange', value);\r\n }\r\n }\r\n})\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-switch/index.js"],"names":["Component","externalClasses","properties","label","type","String","value","labelWidth","Boolean","disabled","color","data","lifetimes","methods","switchChange","event","detail","setData","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,WAAD,EAAc,YAAd,EAA4B,YAA5B,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,gBAAY;AACVH,YAAMC,MADI;AAEVC,aAAO;AAFG,KALF;;AAUVA,WAAO;AACLF,YAAMI,OADD;AAELF,aAAO;AAFF,KAVG;AAcVG,cAAU;AACRL,YAAMI,OADE;AAERF,aAAO;AAFC,KAdA;AAkBVI,WAAO;AACLN,YAAMC,MADD;AAELC,aAAO;AAFF;AAlBG,GAFJ;AAyBRK,QAAM,EAzBE;AA0BRC,aAAW,EA1BH;AA2BRC,WAAS;AACPC,gBADO,wBACMC,KADN,EACa;AAAA,UACZT,KADY,GACFS,MAAMC,MADJ,CACZV,KADY;;AAElB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGA,WAAKY,YAAL,CAAkB,iBAAlB,EAAqCZ,KAArC;AACD;AAPM;AA3BD,CAAV,E","file":"bld-form\\bld-form-item\\bld-form-switch\\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 = 17);\n","Component({\r\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\r\n properties: {\r\n label: {\r\n type: String,\r\n value: \"\"\r\n },\r\n labelWidth: {\r\n type: String,\r\n value: \"auto\"\r\n },\r\n\r\n value: {\r\n type: Boolean,\r\n value: false\r\n },\r\n disabled: {\r\n type: Boolean,\r\n value: false\r\n },\r\n color: {\r\n type: String,\r\n value: \"#FF0007\"\r\n }\r\n },\r\n data: {},\r\n lifetimes: {},\r\n methods: {\r\n switchChange(event) {\r\n let { value } = event.detail\r\n this.setData({\r\n value: value\r\n })\r\n this.triggerEvent('bldSwitchChange', value);\r\n }\r\n }\r\n})\r\n"],"sourceRoot":""}
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 19);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 18);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 19:
90
+ /***/ 18:
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-textarea/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","autoHeight","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;AAiBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KAjBA;AAqBVK,gBAAY;AACVP,YAAMI,OADI;AAEVF,aAAO;AAFG;AArBF,GALJ;AA+BRM,QAAM;AACJN,WAAO;AADH,GA/BE;AAkCRO,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTT,KADS,GACCS,MAAMC,MADP,CACTV,KADS;;;AAGjB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGD;AAPM;AAlCD,CAAV,E","file":"bld-form\\bld-form-item\\bld-form-textarea\\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 = 19);\n","Component({\r\n options: {\r\n styleIsolation: \"shared\",\r\n },\r\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\r\n properties: {\r\n label: {\r\n type: String,\r\n value: \"\",\r\n },\r\n required: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n labelWidth: {\r\n type: String,\r\n value: \"auto\",\r\n },\r\n value: {\r\n type: String,\r\n value: \"\",\r\n },\r\n disabled: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n autoHeight: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n },\r\n data: {\r\n value: \"\",\r\n },\r\n methods: {\r\n valueChange(event) {\r\n const { value } = event.detail;\r\n\r\n this.setData({\r\n value: value,\r\n });\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-textarea/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","autoHeight","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;AAiBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KAjBA;AAqBVK,gBAAY;AACVP,YAAMI,OADI;AAEVF,aAAO;AAFG;AArBF,GALJ;AA+BRM,QAAM;AACJN,WAAO;AADH,GA/BE;AAkCRO,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTT,KADS,GACCS,MAAMC,MADP,CACTV,KADS;;;AAGjB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGD;AAPM;AAlCD,CAAV,E","file":"bld-form\\bld-form-item\\bld-form-textarea\\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 = 18);\n","Component({\r\n options: {\r\n styleIsolation: \"shared\",\r\n },\r\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\r\n properties: {\r\n label: {\r\n type: String,\r\n value: \"\",\r\n },\r\n required: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n labelWidth: {\r\n type: String,\r\n value: \"auto\",\r\n },\r\n value: {\r\n type: String,\r\n value: \"\",\r\n },\r\n disabled: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n autoHeight: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n },\r\n data: {\r\n value: \"\",\r\n },\r\n methods: {\r\n valueChange(event) {\r\n const { value } = event.detail;\r\n\r\n this.setData({\r\n value: value,\r\n });\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 20);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 19);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 20:
90
+ /***/ 19:
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-time/index.js"],"names":["nowDate","date","Date","h","getHours","m","getMinutes","s","getSeconds","hours","minutes","seconds","i","push","toString","padStart","Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","data","hour","minute","second","showActionsheet","selectValue","text","observers","initDate","methods","valueDates","slice","setData","Number","showSellect","handelChoose","bindChange","e","val","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,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,s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,gBA1BO,0BA0BQ;AACb,UAAMd,OAAO,KAAKD,IAAL,CAAUC,IAAV,IAAkB,KAAKD,IAAL,CAAUlB,KAAV,CAAgB+B,OAAO,KAAKb,IAAL,CAAUK,WAAV,CAAsB,CAAtB,CAAP,CAAhB,CAA/B;AACA,UAAMH,SAAS,KAAKF,IAAL,CAAUE,MAAV,IAAoB,KAAKF,IAAL,CAAUjB,OAAV,CAAkB8B,OAAO,KAAKb,IAAL,CAAUK,WAAV,CAAsB,CAAtB,CAAP,CAAlB,CAAnC;AACA,UAAMF,SAAS,KAAKH,IAAL,CAAUG,MAAV,IAAoB,KAAKH,IAAL,CAAUhB,OAAV,CAAkB6B,OAAO,KAAKb,IAAL,CAAUK,WAAV,CAAsB,CAAtB,CAAP,CAAlB,CAAnC;;AAEA,WAAKO,OAAL,CAAa;AACXR,yBAAiB,KADN;AAEXE,cAAML,OAAO,GAAP,GAAaC,MAAb,GAAsB,GAAtB,GAA4BC,MAFvB;AAGXR,eAAOM,OAAO,GAAP,GAAaC,MAAb,GAAsB,GAAtB,GAA4BC;AAHxB,OAAb;AAKD,KApCM;AAqCPa,cArCO,sBAqCIC,CArCJ,EAqCO;AACZ,UAAMC,MAAMD,EAAEE,MAAF,CAASxB,KAArB;;AAEA,WAAKiB,OAAL,CAAa;AACXX,cAAM,KAAKD,IAAL,CAAUlB,KAAV,CAAgBoC,IAAI,CAAJ,CAAhB,CADK;AAEXhB,gBAAQ,KAAKF,IAAL,CAAUjB,OAAV,CAAkBmC,IAAI,CAAJ,CAAlB,CAFG;AAGXf,gBAAQ,KAAKH,IAAL,CAAUhB,OAAV,CAAkBkC,IAAI,CAAJ,CAAlB;AAHG,OAAb;AAKD;AA7CM;AA1CD,CAAV,E","file":"bld-form\\bld-form-item\\bld-form-time\\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 = 20);\n","function nowDate() {\r\n const date = new Date();\r\n const h = date.getHours();\r\n const m = date.getMinutes();\r\n const s = date.getSeconds();\r\n return [h, m, s];\r\n}\r\n\r\nconst hours = [];\r\nconst minutes = [];\r\nconst seconds = [];\r\nfor (let i = 0; i < 24; i++) {\r\n hours.push(i.toString().padStart(2, \"0\"));\r\n}\r\nfor (let i = 0; i < 60; i++) {\r\n minutes.push(i.toString().padStart(2, \"0\"));\r\n seconds.push(i.toString().padStart(2, \"0\"));\r\n}\r\nComponent({\r\n externalClasses: [\"form-item\", \"form-label\", \"form-value\", \"select-icon\"],\r\n properties: {\r\n label: {\r\n type: String,\r\n value: \"\",\r\n },\r\n required: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n labelWidth: {\r\n type: String,\r\n value: \"auto\",\r\n },\r\n value: {\r\n type: String,\r\n value: \"\",\r\n },\r\n disabled: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n },\r\n data: {\r\n date: new Date(),\r\n hours: hours,\r\n hour: \"\",\r\n minutes: minutes,\r\n minute: \"\",\r\n seconds: seconds,\r\n second: \"\",\r\n showActionsheet: false,\r\n selectValue: nowDate(),\r\n text: \"\",\r\n },\r\n\r\n observers: {\r\n value: function () {\r\n this.initDate(this.data.value);\r\n },\r\n },\r\n methods: {\r\n initDate(value = \"\") {\r\n if (value) {\r\n const valueDates = new Date(value);\r\n const h = value.slice(0, 2);\r\n const m = value.slice(3, 5);\r\n const s = value.slice(6, 8);\r\n\r\n this.setData({\r\n selectValue: [h, m, s],\r\n text: this.data.hours[Number(h)] + \":\" + this.data.minutes[Number(m)] + \":\" + this.data.seconds[Number(s)],\r\n });\r\n } else {\r\n this.setData({\r\n selectValue: nowDate(),\r\n text: \"\",\r\n });\r\n }\r\n },\r\n showSellect() {\r\n if (this.data.disabled) return;\r\n\r\n this.setData({\r\n showActionsheet: true,\r\n });\r\n },\r\n handelChoose() {\r\n const hour = this.data.hour || this.data.hours[Number(this.data.selectValue[0])];\r\n const minute = this.data.minute || this.data.minutes[Number(this.data.selectValue[1])];\r\n const second = this.data.second || this.data.seconds[Number(this.data.selectValue[2])];\r\n\r\n this.setData({\r\n showActionsheet: false,\r\n text: hour + \":\" + minute + \":\" + second,\r\n value: hour + \":\" + minute + \":\" + second,\r\n });\r\n },\r\n bindChange(e) {\r\n const val = e.detail.value;\r\n\r\n this.setData({\r\n hour: this.data.hours[val[0]],\r\n minute: this.data.minutes[val[1]],\r\n second: this.data.seconds[val[2]],\r\n });\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-time/index.js"],"names":["nowDate","date","Date","h","getHours","m","getMinutes","s","getSeconds","hours","minutes","seconds","i","push","toString","padStart","Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","data","hour","minute","second","showActionsheet","selectValue","text","observers","initDate","methods","valueDates","slice","setData","Number","showSellect","handelChoose","bindChange","e","val","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,mBAAmB,EAAE;QACrI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var 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 = 19);\n","function nowDate() {\r\n const date = new Date();\r\n const h = date.getHours();\r\n const m = date.getMinutes();\r\n const s = date.getSeconds();\r\n return [h, m, s];\r\n}\r\n\r\nconst hours = [];\r\nconst minutes = [];\r\nconst seconds = [];\r\nfor (let i = 0; i < 24; i++) {\r\n hours.push(i.toString().padStart(2, \"0\"));\r\n}\r\nfor (let i = 0; i < 60; i++) {\r\n minutes.push(i.toString().padStart(2, \"0\"));\r\n seconds.push(i.toString().padStart(2, \"0\"));\r\n}\r\nComponent({\r\n externalClasses: [\"form-item\", \"form-label\", \"form-value\", \"select-icon\"],\r\n properties: {\r\n label: {\r\n type: String,\r\n value: \"\",\r\n },\r\n required: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n labelWidth: {\r\n type: String,\r\n value: \"auto\",\r\n },\r\n value: {\r\n type: String,\r\n value: \"\",\r\n },\r\n disabled: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n },\r\n data: {\r\n date: new Date(),\r\n hours: hours,\r\n hour: \"\",\r\n minutes: minutes,\r\n minute: \"\",\r\n seconds: seconds,\r\n second: \"\",\r\n showActionsheet: false,\r\n selectValue: nowDate(),\r\n text: \"\",\r\n },\r\n\r\n observers: {\r\n value: function () {\r\n this.initDate(this.data.value);\r\n },\r\n },\r\n methods: {\r\n initDate(value = \"\") {\r\n if (value) {\r\n const valueDates = new Date(value);\r\n const h = value.slice(0, 2);\r\n const m = value.slice(3, 5);\r\n const s = value.slice(6, 8);\r\n\r\n this.setData({\r\n selectValue: [h, m, s],\r\n text: this.data.hours[Number(h)] + \":\" + this.data.minutes[Number(m)] + \":\" + this.data.seconds[Number(s)],\r\n });\r\n } else {\r\n this.setData({\r\n selectValue: nowDate(),\r\n text: \"\",\r\n });\r\n }\r\n },\r\n showSellect() {\r\n if (this.data.disabled) return;\r\n\r\n this.setData({\r\n showActionsheet: true,\r\n });\r\n },\r\n handelChoose() {\r\n const hour = this.data.hour || this.data.hours[Number(this.data.selectValue[0])];\r\n const minute = this.data.minute || this.data.minutes[Number(this.data.selectValue[1])];\r\n const second = this.data.second || this.data.seconds[Number(this.data.selectValue[2])];\r\n\r\n this.setData({\r\n showActionsheet: false,\r\n text: hour + \":\" + minute + \":\" + second,\r\n value: hour + \":\" + minute + \":\" + second,\r\n });\r\n },\r\n bindChange(e) {\r\n const val = e.detail.value;\r\n\r\n this.setData({\r\n hour: this.data.hours[val[0]],\r\n minute: this.data.minutes[val[1]],\r\n second: this.data.seconds[val[2]],\r\n });\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 35);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 34);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 35:
90
+ /***/ 34:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-html/index.js"],"names":["Component","externalClasses","properties","html","type","String","value","data","content","tagStyle","p","img","containerStyle","observers","replace","replaceAll","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJC,YAAMC,MADF;AAEJC,aAAO;AAFH;AADI,GAFJ;AAQRC,QAAM;AACJC,aAAS,QADL;AAEJC,cAAU;AACRC,SAAG,qBADK;AAERC,WAAK;AAFG,KAFN;AAMJC,oBAAgB;AANZ,GARE;AAgBRC,aAAW;AACTV,QADS,kBACF;AACL,UAAIK,UAAU,KAAKD,IAAL,CAAUJ,IAAxB;;AAEAK,gBAAUA,QAAQM,OAAR,CAAgB,iBAAhB,EAAmC,EAAnC,CAAV;AACAN,gBAAUA,QAAQM,OAAR,CAAgB,iBAAhB,EAAmC,EAAnC,CAAV;AACAN,gBAAUA,QAAQO,UAAR,CAAmB,aAAnB,EAAkC,EAAlC,CAAV;;AAEA,WAAKC,OAAL,CAAa;AACXR;AADW,OAAb;AAGD;AAXQ;AAhBH,CAAV,E","file":"bld-html\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 35);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n html: {\r\n type: String,\r\n value: \"加载中...\",\r\n },\r\n },\r\n data: {\r\n content: \"加载中...\",\r\n tagStyle: {\r\n p: \"margin-bottom: 14px\",\r\n img: \"margin-bottom: 14px\",\r\n },\r\n containerStyle: \"padding: 0;\",\r\n },\r\n observers: {\r\n html() {\r\n let content = this.data.html;\r\n\r\n content = content.replace(/style=\"(.*?)\"/gm, \"\");\r\n content = content.replace(/class=\"(.*?)\"/gm, \"\");\r\n content = content.replaceAll(\"<p><br></p>\", \"\");\r\n\r\n this.setData({\r\n content,\r\n });\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-html/index.js"],"names":["Component","externalClasses","properties","html","type","String","value","data","content","tagStyle","p","img","containerStyle","observers","replace","replaceAll","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJC,YAAMC,MADF;AAEJC,aAAO;AAFH;AADI,GAFJ;AAQRC,QAAM;AACJC,aAAS,QADL;AAEJC,cAAU;AACRC,SAAG,qBADK;AAERC,WAAK;AAFG,KAFN;AAMJC,oBAAgB;AANZ,GARE;AAgBRC,aAAW;AACTV,QADS,kBACF;AACL,UAAIK,UAAU,KAAKD,IAAL,CAAUJ,IAAxB;;AAEAK,gBAAUA,QAAQM,OAAR,CAAgB,iBAAhB,EAAmC,EAAnC,CAAV;AACAN,gBAAUA,QAAQM,OAAR,CAAgB,iBAAhB,EAAmC,EAAnC,CAAV;AACAN,gBAAUA,QAAQO,UAAR,CAAmB,aAAnB,EAAkC,EAAlC,CAAV;;AAEA,WAAKC,OAAL,CAAa;AACXR;AADW,OAAb;AAGD;AAXQ;AAhBH,CAAV,E","file":"bld-html\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 34);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n html: {\r\n type: String,\r\n value: \"加载中...\",\r\n },\r\n },\r\n data: {\r\n content: \"加载中...\",\r\n tagStyle: {\r\n p: \"margin-bottom: 14px\",\r\n img: \"margin-bottom: 14px\",\r\n },\r\n containerStyle: \"padding: 0;\",\r\n },\r\n observers: {\r\n html() {\r\n let content = this.data.html;\r\n\r\n content = content.replace(/style=\"(.*?)\"/gm, \"\");\r\n content = content.replace(/class=\"(.*?)\"/gm, \"\");\r\n content = content.replaceAll(\"<p><br></p>\", \"\");\r\n\r\n this.setData({\r\n content,\r\n });\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
@@ -3,4 +3,4 @@
3
3
  font-size: var(--font-size-lg);
4
4
  letter-spacing: 2rpx;
5
5
  text-align: justify;
6
- }
6
+ }
@@ -82,26 +82,61 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 1);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 2);
86
86
  /******/ })
87
87
  /************************************************************************/
88
- /******/ ([
89
- /* 0 */,
90
- /* 1 */
88
+ /******/ ({
89
+
90
+ /***/ 2:
91
91
  /***/ (function(module, exports, __webpack_require__) {
92
92
 
93
93
  "use strict";
94
94
 
95
95
 
96
96
  Component({
97
- externalClasses: ["iclass"],
97
+ externalClasses: ['iclass'],
98
+
99
+ options: {
100
+ addGlobalClass: true
101
+ },
102
+
98
103
  properties: {
99
104
  name: {
100
- type: String
105
+ type: String,
106
+ observer: function observer(val) {
107
+ this.setData({
108
+ isImage: val.indexOf('/') > -1
109
+ });
110
+ }
111
+ },
112
+
113
+ size: {
114
+ type: Number,
115
+ optionalTypes: [Number, String],
116
+ value: 32,
117
+ observer: function observer(val) {
118
+ this.setData({
119
+ fsize: parseInt(val)
120
+ });
121
+ }
122
+ },
123
+ color: {
124
+ type: String,
125
+ value: ''
126
+ },
127
+ customStyle: {
128
+ type: String,
129
+ value: ''
101
130
  }
131
+ },
132
+
133
+ data: {
134
+ isImage: false,
135
+ fsize: 32
102
136
  }
103
137
  });
104
138
 
105
139
  /***/ })
106
- /******/ ]);
140
+
141
+ /******/ });
107
142
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-icon/index.js"],"names":["Component","externalClasses","properties","name","type","String"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,UAAM;AACJC,YAAMC;AADF;AADI;AAFJ,CAAV,E","file":"bld-icon\\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 = 1);\n","Component({\r\n externalClasses: [\"iclass\"],\r\n properties: {\r\n name: {\r\n type: String,\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-icon/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","name","type","String","observer","val","setData","isImage","indexOf","size","Number","optionalTypes","value","fsize","parseInt","color","customStyle","data"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACVC,UAAM;AACJC,YAAMC,MADF;AAEJC,cAFI,oBAEKC,GAFL,EAEU;AACZ,aAAKC,OAAL,CAAa;AACXC,mBAASF,IAAIG,OAAJ,CAAY,GAAZ,IAAmB,CAAC;AADlB,SAAb;AAGD;AANG,KADI;;AAUVC,UAAM;AACJP,YAAMQ,MADF;AAEJC,qBAAe,CAACD,MAAD,EAASP,MAAT,CAFX;AAGJS,aAAO,EAHH;AAIJR,cAJI,oBAIKC,GAJL,EAIU;AACZ,aAAKC,OAAL,CAAa;AACXO,iBAAOC,SAAST,GAAT;AADI,SAAb;AAGD;AARG,KAVI;AAoBVU,WAAO;AACLb,YAAMC,MADD;AAELS,aAAO;AAFF,KApBG;AAwBVI,iBAAa;AACXd,YAAMC,MADK;AAEXS,aAAO;AAFI;AAxBH,GAPJ;;AAqCRK,QAAM;AACJV,aAAS,KADL;AAEJM,WAAO;AAFH;AArCE,CAAV,E","file":"bld-icon\\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 = 2);\n","Component({\r\n externalClasses: ['iclass'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n properties: {\r\n name: {\r\n type: String,\r\n observer(val) {\r\n this.setData({\r\n isImage: val.indexOf('/') > -1\r\n })\r\n }\r\n },\r\n \r\n size: {\r\n type: Number,\r\n optionalTypes: [Number, String],\r\n value: 32,\r\n observer(val) {\r\n this.setData({\r\n fsize: parseInt(val)\r\n }) \r\n }\r\n },\r\n color: {\r\n type: String,\r\n value: ''\r\n },\r\n customStyle: {\r\n type: String,\r\n value: ''\r\n }\r\n },\r\n \r\n data: {\r\n isImage: false,\r\n fsize: 32\r\n }\r\n})"],"sourceRoot":""}
@@ -1,3 +1,6 @@
1
1
  {
2
- "component": true
2
+ "component": true,
3
+ "usingComponents": {
4
+ "bld-cloud-image": "../bld-cloud-image/index"
5
+ }
3
6
  }
@@ -1 +1,35 @@
1
- <view class="iclass bld-iconfont icon-{{ name }}" />
1
+ <view
2
+ class="iclass bld-iconfont icon-{{ name }} m-icon"
3
+ style="{{ icon.setIconStyle(isImage, fsize, color) }} {{ customStyle }}"
4
+ >
5
+ <bld-cloud-image
6
+ class="c-image__wrap"
7
+ wx:if="{{ isImage }}"
8
+ iclass="m-icon__image"
9
+ src="{{ name }}"
10
+ />
11
+ </view>
12
+
13
+ <wxs module="icon">
14
+ function setIconStyle(isImage, size, color) {
15
+ var styles = []
16
+
17
+ if(size) {
18
+ if(isImage) {
19
+ styles.push('width:' + size +'rpx')
20
+ styles.push('height:' + size +'rpx')
21
+ }
22
+ styles.push('font-size:' + size +'rpx')
23
+ }
24
+
25
+ if(color) {
26
+ styles.push('color:' + color)
27
+ }
28
+ return styles.join(";")
29
+ }
30
+
31
+ module.exports = {
32
+ setIconStyle: setIconStyle
33
+ }
34
+ </wxs>
35
+