bulade-ui 1.1.7 → 1.1.9
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.
- package/miniprogram_dist/bld-action-sheet/index.js +2 -2
- package/miniprogram_dist/bld-action-sheet/index.js.map +1 -1
- package/miniprogram_dist/bld-badge/index.js +2 -2
- package/miniprogram_dist/bld-badge/index.js.map +1 -1
- package/miniprogram_dist/bld-checkbox/index.js +2 -2
- package/miniprogram_dist/bld-checkbox/index.js.map +1 -1
- package/miniprogram_dist/bld-checkbox-group/index.js +2 -2
- package/miniprogram_dist/bld-checkbox-group/index.js.map +1 -1
- package/miniprogram_dist/bld-collapse/index.js +2 -2
- package/miniprogram_dist/bld-collapse/index.js.map +1 -1
- package/miniprogram_dist/bld-drawer/index.js +2 -2
- package/miniprogram_dist/bld-drawer/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js +3 -0
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.wxml +1 -0
- package/miniprogram_dist/bld-html/index.js +130 -0
- package/miniprogram_dist/bld-html/index.js.map +1 -0
- package/miniprogram_dist/bld-html/index.json +6 -0
- package/miniprogram_dist/bld-html/index.wxml +8 -0
- package/miniprogram_dist/bld-html/index.wxss +6 -0
- package/miniprogram_dist/bld-message/index.js +2 -2
- package/miniprogram_dist/bld-message/index.js.map +1 -1
- package/miniprogram_dist/bld-message/message.js +2 -2
- package/miniprogram_dist/bld-message/message.js.map +1 -1
- package/miniprogram_dist/bld-modal/index.js +2 -2
- package/miniprogram_dist/bld-modal/index.js.map +1 -1
- package/miniprogram_dist/bld-modal/modal.js +2 -2
- package/miniprogram_dist/bld-modal/modal.js.map +1 -1
- package/miniprogram_dist/bld-navbar/index.js +2 -2
- package/miniprogram_dist/bld-navbar/index.js.map +1 -1
- package/miniprogram_dist/bld-navbar-group/index.js +2 -2
- package/miniprogram_dist/bld-navbar-group/index.js.map +1 -1
- package/miniprogram_dist/bld-progress/index.js +2 -2
- package/miniprogram_dist/bld-progress/index.js.map +1 -1
- package/miniprogram_dist/bld-radio/index.js +2 -2
- package/miniprogram_dist/bld-radio/index.js.map +1 -1
- package/miniprogram_dist/bld-radio-group/index.js +2 -2
- package/miniprogram_dist/bld-radio-group/index.js.map +1 -1
- package/miniprogram_dist/bld-tag/index.js +2 -2
- package/miniprogram_dist/bld-tag/index.js.map +1 -1
- package/miniprogram_dist/bld-toast/index.js +2 -2
- package/miniprogram_dist/bld-toast/index.js.map +1 -1
- package/miniprogram_dist/bld-toast/toast.js +2 -2
- package/miniprogram_dist/bld-toast/toast.js.map +1 -1
- package/miniprogram_dist/cell/index.js +2 -2
- package/miniprogram_dist/cell/index.js.map +1 -1
- package/miniprogram_dist/cell-group/index.js +2 -2
- package/miniprogram_dist/cell-group/index.js.map +1 -1
- package/miniprogram_dist/components-npm/mp-weixin/index.js +488 -0
- package/miniprogram_dist/components-npm/mp-weixin/index.js.map +1 -0
- package/miniprogram_dist/components-npm/mp-weixin/index.json +1 -0
- package/miniprogram_dist/components-npm/mp-weixin/index.wxml +1 -0
- package/miniprogram_dist/components-npm/mp-weixin/index.wxss +1 -0
- package/miniprogram_dist/components-npm/mp-weixin/node/node.js +164 -0
- package/miniprogram_dist/components-npm/mp-weixin/node/node.js.map +1 -0
- package/miniprogram_dist/components-npm/mp-weixin/node/node.json +1 -0
- package/miniprogram_dist/components-npm/mp-weixin/node/node.wxml +1 -0
- package/miniprogram_dist/components-npm/mp-weixin/node/node.wxss +1 -0
- package/miniprogram_dist/grid/index.js +2 -2
- package/miniprogram_dist/grid/index.js.map +1 -1
- package/miniprogram_dist/grid-item/index.js +2 -2
- package/miniprogram_dist/grid-item/index.js.map +1 -1
- package/miniprogram_dist/icon/index.js +2 -2
- package/miniprogram_dist/icon/index.js.map +1 -1
- package/miniprogram_dist/timeline/index.js +2 -2
- package/miniprogram_dist/timeline/index.js.map +1 -1
- package/miniprogram_dist/timeline-item/index.js +2 -2
- package/miniprogram_dist/timeline-item/index.js.map +1 -1
- package/package.json +1 -1
- package/project.config.json +3 -0
- package/src/bld-form/bld-form-item/bld-form-input/index.js +4 -0
- package/src/bld-form/bld-form-item/bld-form-input/index.wxml +1 -0
- package/src/bld-html/index.js +30 -0
- package/src/bld-html/index.json +6 -0
- package/src/bld-html/index.scss +6 -0
- package/src/bld-html/index.wxml +8 -0
- package/src/bld-html/index.wxss +6 -0
- package/src/components-npm/mp-weixin/index.js +8 -0
- package/src/components-npm/mp-weixin/index.json +1 -0
- package/src/components-npm/mp-weixin/index.wxml +1 -0
- package/src/components-npm/mp-weixin/index.wxss +1 -0
- package/src/components-npm/mp-weixin/node/node.js +1 -0
- package/src/components-npm/mp-weixin/node/node.json +1 -0
- package/src/components-npm/mp-weixin/node/node.wxml +1 -0
- package/src/components-npm/mp-weixin/node/node.wxss +1 -0
- package/src/components-npm/mp-weixin/parser.js +1 -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 39);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 39:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-action-sheet/index.js"],"names":["Component","externalClasses","options","addGlobalClass","multipleSlots","properties","visible","type","Boolean","value","zIndex","Number","maskClosable","showCancel","cancelText","String","actions","Array","methods","handleMaskClick","data","handleCancelClick","handleItemClick","currentTarget","dataset","index","item","loading","disabled","triggerEvent","getuserinfo","detail","contact","getphonenumber","error"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,EAAiB,mBAAjB,EAAsC,qBAAtC,CADT;;AAGRC,WAAS;AACPC,oBAAgB,IADT;AAEPC,mBAAe;AAFR,GAHD;;AAQRC,cAAY;AACVC,aAAS;AACPC,YAAMC,OADC;AAEPC,aAAO;AAFA,KADC;AAKVC,YAAQ;AACNH,YAAMI,MADA;AAENF,aAAO;AAFD,KALE;AASVG,kBAAc;AACZL,YAAMC,OADM;AAEZC,aAAO;AAFK,KATJ;AAaVI,gBAAY;AACVN,YAAMC,OADI;AAEVC,aAAO;AAFG,KAbF;AAiBVK,gBAAY;AACVP,YAAMQ,MADI;AAEVN,aAAO;AAFG,KAjBF;AAqBVO,aAAS;AACPT,YAAMU,KADC;AAEPR,aAAO;AAFA;AArBC,GARJ;;AAmCRS,WAAS;AACP;AACAC,mBAFO,6BAEW;AAChB,UAAI,CAAC,KAAKC,IAAL,CAAUR,YAAf,EAA6B;AAC7B,WAAKS,iBAAL;AACD,KALM;;;AAOP;AACAC,mBARO,iCAQiC;AAAA,oCAAtBC,aAAsB;AAAA,UAAtBA,aAAsB,sCAAN,EAAM;;AACtC,UAAMC,UAAUD,cAAcC,OAAd,IAAyB,EAAzC;AADsC,UAE9BC,KAF8B,GAEpBD,OAFoB,CAE9BC,KAF8B;;;AAItC,UAAMC,OAAO,KAAKN,IAAL,CAAUJ,OAAV,CAAkBS,KAAlB,CAAb;;AAEA,UAAIC,KAAKC,OAAL,IAAgBD,KAAKE,QAAzB,EAAmC;;AAEnC,WAAKC,YAAL,CAAkB,OAAlB,EAA2B;AACzBJ;AADyB,OAA3B;AAGD,KAnBM;;;AAqBP;AACAJ,qBAtBO,+BAsBa;AAClB,WAAKQ,YAAL,CAAkB,QAAlB;AACD,KAxBM;AA0BPC,eA1BO,yBA4BC;AAAA,sFAAJ,EAAI;AAAA,+BADNC,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,aAAlB,EAAiCE,MAAjC;AACD,KA9BM;AA+BPC,WA/BO,qBAiCC;AAAA,sFAAJ,EAAI;AAAA,+BADND,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,SAAlB,EAA6BE,MAA7B;AACD,KAnCM;AAoCPE,kBApCO,4BAsCC;AAAA,sFAAJ,EAAI;AAAA,+BADNF,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,gBAAlB,EAAoCE,MAApC;AACD,KAxCM;AAyCPG,SAzCO,mBA2CC;AAAA,sFAAJ,EAAI;AAAA,+BADNH,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,OAAlB,EAA2BE,MAA3B;AACD;AA7CM;AAnCD,CAAV,E","file":"bld-action-sheet\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s =
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-action-sheet/index.js"],"names":["Component","externalClasses","options","addGlobalClass","multipleSlots","properties","visible","type","Boolean","value","zIndex","Number","maskClosable","showCancel","cancelText","String","actions","Array","methods","handleMaskClick","data","handleCancelClick","handleItemClick","currentTarget","dataset","index","item","loading","disabled","triggerEvent","getuserinfo","detail","contact","getphonenumber","error"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,EAAiB,mBAAjB,EAAsC,qBAAtC,CADT;;AAGRC,WAAS;AACPC,oBAAgB,IADT;AAEPC,mBAAe;AAFR,GAHD;;AAQRC,cAAY;AACVC,aAAS;AACPC,YAAMC,OADC;AAEPC,aAAO;AAFA,KADC;AAKVC,YAAQ;AACNH,YAAMI,MADA;AAENF,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,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,gBAAlB,EAAoCE,MAApC;AACD,KAxCM;AAyCPG,SAzCO,mBA2CC;AAAA,sFAAJ,EAAI;AAAA,+BADNH,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,OAAlB,EAA2BE,MAA3B;AACD;AA7CM;AAnCD,CAAV,E","file":"bld-action-sheet\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 39);\n","Component({\r\n externalClasses: ['custom-class', 'custom-mask-class', 'custom-header-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n multipleSlots: true\r\n },\r\n\r\n properties: {\r\n visible: {\r\n type: Boolean,\r\n value: false\r\n },\r\n zIndex: {\r\n type: Number,\r\n value: 9\r\n },\r\n maskClosable: {\r\n type: Boolean,\r\n value: true\r\n },\r\n showCancel: {\r\n type: Boolean,\r\n value: false\r\n },\r\n cancelText: {\r\n type: String,\r\n value: '取消'\r\n },\r\n actions: {\r\n type: Array,\r\n value: []\r\n }\r\n },\r\n\r\n methods: {\r\n // 点击遮罩\r\n handleMaskClick() {\r\n if (!this.data.maskClosable) return\r\n this.handleCancelClick()\r\n },\r\n\r\n // 点击事件\r\n handleItemClick({ currentTarget = {} }) {\r\n const dataset = currentTarget.dataset || {}\r\n const { index } = dataset\r\n\r\n const item = this.data.actions[index]\r\n\r\n if (item.loading || item.disabled) return\r\n\r\n this.triggerEvent('click', {\r\n index\r\n })\r\n },\r\n\r\n // 取消\r\n handleCancelClick() {\r\n this.triggerEvent('cancel')\r\n },\r\n\r\n getuserinfo({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('getuserinfo', detail)\r\n },\r\n contact({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('contact', detail)\r\n },\r\n getphonenumber({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('getphonenumber', detail)\r\n },\r\n error({\r\n detail = {}\r\n } = {}) {\r\n this.triggerEvent('error', detail)\r\n }\r\n }\r\n})"],"sourceRoot":""}
|
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 43);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 43:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-badge/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","value","type","Number","optionalTypes","String","observer","max","bgcolor","isDot","Boolean","static","data","_value","methods","_valueObserver","isNaN","parseInt","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,qBAAe,CAACD,MAAD,EAASE,MAAT,CAFV;AAGLJ,aAAO,EAHF;AAILK,gBAAU;AAJL,KADG;AAOVC,SAAK;AACHL,YAAMC,MADH;AAEHF,aAAO;AAFJ,KAPK;AAWVO,aAAS;AACPN,YAAMG,MADC;AAEPJ,aAAO;AAFA,KAXC;AAeVQ,WAAO;AACLP,YAAMQ,OADD;AAELT,aAAO;AAFF,KAfG;AAmBVU,YAAQ;AACNT,YAAMQ,OADA;AAENT,aAAO;AAFD;AAnBE,GAPJ;;AAgCRW,QAAM;AACJC,YAAQ;AADJ,GAhCE;;AAoCRC,WAAS;AACPC,kBADO,4BACU;AAAA,kBACQ,KAAKH,IADb;AAAA,UACPX,KADO,SACPA,KADO;AAAA,UACAM,GADA,SACAA,GADA;;;AAGf,UAAIM,SAAS,EAAb;AACA,UAAI,CAACG,MAAMf,KAAN,CAAL,EAAmB;AACjBY,iBAASI,SAAShB,KAAT,IAAkBgB,SAASV,GAAT,CAAlB,GAAqCA,GAArC,SAA8CN,KAAvD;AACD,OAFD,MAEO;AACLY,iBAASZ,KAAT;AACD;;AAED,WAAKiB,OAAL,CAAa;AACXL;AADW,OAAb;AAGD;AAdM;AApCD,CAAV,E","file":"bld-badge\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s =
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-badge/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","value","type","Number","optionalTypes","String","observer","max","bgcolor","isDot","Boolean","static","data","_value","methods","_valueObserver","isNaN","parseInt","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,cAAD,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,qBAAe,CAACD,MAAD,EAASE,MAAT,CAFV;AAGLJ,aAAO,EAHF;AAILK,gBAAU;AAJL,KADG;AAOVC,SAAK;AACHL,YAAMC,MADH;AAEHF,aAAO;AAFJ,KAPK;AAWVO,aAAS;AACPN,YAAMG,MADC;AAEPJ,aAAO;AAFA,KAXC;AAeVQ,WAAO;AACLP,YAAMQ,OADD;AAELT,aAAO;AAFF,KAfG;AAmBVU,YAAQ;AACNT,YAAMQ,OADA;AAENT,aAAO;AAFD;AAnBE,GAPJ;;AAgCRW,QAAM;AACJC,YAAQ;AADJ,GAhCE;;AAoCRC,WAAS;AACPC,kBADO,4BACU;AAAA,kBACQ,KAAKH,IADb;AAAA,UACPX,KADO,SACPA,KADO;AAAA,UACAM,GADA,SACAA,GADA;;;AAGf,UAAIM,SAAS,EAAb;AACA,UAAI,CAACG,MAAMf,KAAN,CAAL,EAAmB;AACjBY,iBAASI,SAAShB,KAAT,IAAkBgB,SAASV,GAAT,CAAlB,GAAqCA,GAArC,SAA8CN,KAAvD;AACD,OAFD,MAEO;AACLY,iBAASZ,KAAT;AACD;;AAED,WAAKiB,OAAL,CAAa;AACXL;AADW,OAAb;AAGD;AAdM;AApCD,CAAV,E","file":"bld-badge\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 43);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n properties: {\r\n value: {\r\n type: Number,\r\n optionalTypes: [Number, String],\r\n value: '',\r\n observer: '_valueObserver'\r\n },\r\n max: {\r\n type: Number,\r\n value: 99\r\n },\r\n bgcolor: {\r\n type: String,\r\n value: ''\r\n },\r\n isDot: {\r\n type: Boolean,\r\n value: false\r\n },\r\n static: {\r\n type: Boolean,\r\n value: false\r\n }\r\n },\r\n\r\n data: {\r\n _value: 0\r\n },\r\n\r\n methods: {\r\n _valueObserver() {\r\n const { value, max } = this.data\r\n\r\n let _value = ''\r\n if (!isNaN(value)) {\r\n _value = parseInt(value) > parseInt(max) ? `${max}+` : value\r\n } else {\r\n _value = value\r\n }\r\n\r\n this.setData({\r\n _value\r\n })\r\n }\r\n }\r\n})\r\n"],"sourceRoot":""}
|
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 50);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 50:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-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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OgB,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 =
|
|
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;;;;;;;;;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,UACUb,QADV,UACUA,QADV;AAAA,UACoBF,KADpB,UACoBA,KADpB;;AAEb,UAAI,CAACE,QAAD,IAAa,CAACa,aAAlB,EAAiC;AAC/B,aAAKL,UAAL,CAAgB,CAACV,KAAjB;AACD;AACF,KAxBM;AA0BPW,kBA1BO,0BA0BQf,MA1BR,EA0BgBI,KA1BhB,EA0BuB;AAC5B,UAAMgB,cAAcpB,OAAOW,IAAP,CAAYP,KAAZ,CAAkBiB,KAAlB,EAApB;;AAD4B,UAGpBlB,IAHoB,GAGX,KAAKQ,IAHM,CAGpBR,IAHoB;AAAA,UAIpBmB,GAJoB,GAIZtB,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 = 50);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n relations: {\r\n '../bld-checkbox-group/index': {\r\n type: 'ancestor',\r\n linked(target) {\r\n this.parent = target;\r\n },\r\n unlinked() {\r\n this.parent = null;\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n name: null,\r\n \r\n value: {\r\n type: Boolean,\r\n value: false\r\n },\r\n \r\n disabled: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n checkedColor: {\r\n type: String,\r\n value: ''\r\n },\r\n\r\n labelLeft: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n round: {\r\n type: Boolean,\r\n value: false\r\n }\r\n },\r\n\r\n data: {\r\n prevent: false, // 在超出可选个数限制时使用\r\n },\r\n\r\n methods: {\r\n emitChange(value) {\r\n // \r\n if (this.parent) {\r\n this.setParentValue(this.parent, value);\r\n } else {\r\n this.triggerEvent('input', value);\r\n this.triggerEvent('change', value);\r\n }\r\n },\r\n\r\n toggle() {\r\n const { disabled, value } = this.data;\r\n\r\n if (!disabled) {\r\n this.emitChange(!value);\r\n }\r\n },\r\n\r\n onClickLabel() {\r\n const { labelDisabled, disabled, value } = this.data;\r\n if (!disabled && !labelDisabled) {\r\n this.emitChange(!value);\r\n }\r\n },\r\n\r\n setParentValue(parent, value) {\r\n const parentValue = parent.data.value.slice();\r\n\r\n const { name } = this.data;\r\n const { max } = parent.data;\r\n\r\n if (value) {\r\n if (max && parentValue.length >= max) {\r\n return\r\n }\r\n \r\n if (parentValue.indexOf(name) === -1) {\r\n\r\n parentValue.push(name)\r\n\r\n parent.triggerEvent('input', parentValue)\r\n parent.triggerEvent('change', parentValue)\r\n }\r\n\r\n } else {\r\n\r\n const index = parentValue.indexOf(name)\r\n\r\n if (index !== -1) {\r\n parentValue.splice(index, 1)\r\n parent.triggerEvent('input', parentValue)\r\n parent.triggerEvent('change', parentValue)\r\n }\r\n }\r\n }\r\n }\r\n})\r\n"],"sourceRoot":""}
|
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 51);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 51:
|
|
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;;QAE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,SAEhBA,YAFgB;AAAA,UAGhBJ,KAHgB,SAGhBA,KAHgB;AAAA,UAIhBM,SAJgB,SAIhBA,SAJgB;AAAA,UAKhBH,QALgB,SAKhBA,QALgB;;;AAQlBa,YAAMI,OAAN,CAAc;AACZpB,eAAOA,MAAMqB,OAAN,CAAcL,MAAMG,IAAN,CAAWG,IAAzB,IAAiC,CAAC,CAD7B;AAEZlB,sBAAcY,MAAMG,IAAN,CAAWf,YAAX,IAA2BA,YAF7B;AAGZE,mBAAWU,MAAMG,IAAN,CAAWb,SAAX,IAAwBA,SAHvB;AAIZH,kBAAUA,YAAYa,MAAMG,IAAN,CAAWhB,QAJrB;AAKZL,eAAO,KAAKqB,IAAL,CAAUrB,KAAV,IAAmBkB,MAAMG,IAAN,CAAWrB,KALzB;AAMZyB,iBAAS,KAAKJ,IAAL,CAAUvB,GAAV,IAAiBI,MAAMc,MAAN,IAAgB,KAAKK,IAAL,CAAUvB;AANxC,OAAd;AAQD;AAxCM;AAzCD,CAAV,E","file":"bld-checkbox-group\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s =
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-checkbox-group/index.js"],"names":["Component","options","addGlobalClass","relations","type","linked","_updateChildren","unlinked","properties","max","Number","round","Boolean","value","Array","observer","disabled","checkedColor","String","labelLeft","methods","timer","clearTimeout","setTimeout","children","getRelationNodes","len","length","forEach","child","index","_updateChild","data","setData","indexOf","name","prevent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,WAAS;AACPC,oBAAgB;AADT,GADD;;AAKRC,aAAW;AACT,yBAAqB;AACnBC,YAAM,YADa;AAEnBC,YAFmB,oBAEV;AACP,aAAKC,eAAL;AACD,OAJkB;AAKnBC,cALmB,sBAKR;AACT,aAAKD,eAAL;AACD;AAPkB;AADZ,GALH;;AAiBRE,cAAY;AACVC,SAAKC,MADK;AAEVC,WAAO;AACLP,YAAMQ,OADD;AAELC,aAAO;AAFF,KAFG;AAMVA,WAAO;AACLT,YAAMU,KADD;AAELC,gBAAU;AAFL,KANG;AAUVC,cAAU;AACRZ,YAAMQ,OADE;AAERG,gBAAU;AAFF,KAVA;AAcVE,kBAAc;AACZb,YAAMc,MADM;AAEZL,aAAO;AAFK,KAdJ;AAkBVM,eAAW;AACTf,YAAMQ,OADG;AAETC,aAAO;AAFE;AAlBD,GAjBJ;;AAyCRO,WAAS;AACPd,mBADO,6BACW;AAAA;;AAEhB;AACA,UAAI,KAAKe,KAAT,EAAgB;AACdC,qBAAa,KAAKD,KAAlB;AACA,aAAKA,KAAL,GAAa,IAAb;AACD;;AAED,WAAKA,KAAL,GAAaE,WAAW,YAAM;;AAE5B,YAAIC,WAAW,MAAKC,gBAAL,CAAsB,mBAAtB,CAAf;AACA,YAAMC,MAAMF,SAASG,MAArB;;AAEA,YAAID,MAAM,CAAV,EAAa;AACX;;AAEAF,mBAASI,OAAT,CAAiB,UAACC,KAAD,EAAQC,KAAR,EAAkB;AACjC,kBAAKC,YAAL,CAAkBF,KAAlB;AACD,WAFD;AAGD;AACF,OAZY,EAYV,EAZU,CAAb;AAaD,KAtBM;AAwBPE,gBAxBO,wBAwBMF,KAxBN,EAwBa;AAAA,kBAMd,KAAKG,IANS;AAAA,UAEhBf,YAFgB,SAEhBA,YAFgB;AAAA,UAGhBJ,KAHgB,SAGhBA,KAHgB;AAAA,UAIhBM,SAJgB,SAIhBA,SAJgB;AAAA,UAKhBH,QALgB,SAKhBA,QALgB;;;AAQlBa,YAAMI,OAAN,CAAc;AACZpB,eAAOA,MAAMqB,OAAN,CAAcL,MAAMG,IAAN,CAAWG,IAAzB,IAAiC,CAAC,CAD7B;AAEZlB,sBAAcY,MAAMG,IAAN,CAAWf,YAAX,IAA2BA,YAF7B;AAGZE,mBAAWU,MAAMG,IAAN,CAAWb,SAAX,IAAwBA,SAHvB;AAIZH,kBAAUA,YAAYa,MAAMG,IAAN,CAAWhB,QAJrB;AAKZL,eAAO,KAAKqB,IAAL,CAAUrB,KAAV,IAAmBkB,MAAMG,IAAN,CAAWrB,KALzB;AAMZyB,iBAAS,KAAKJ,IAAL,CAAUvB,GAAV,IAAiBI,MAAMc,MAAN,IAAgB,KAAKK,IAAL,CAAUvB;AANxC,OAAd;AAQD;AAxCM;AAzCD,CAAV,E","file":"bld-checkbox-group\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 51);\n","Component({\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n relations: {\r\n '../checkbox/index': {\r\n type: 'descendant',\r\n linked() {\r\n this._updateChildren()\r\n },\r\n unlinked() {\r\n this._updateChildren()\r\n }\r\n }\r\n },\r\n\r\n properties: {\r\n max: Number,\r\n round: {\r\n type: Boolean,\r\n value: false\r\n },\r\n value: {\r\n type: Array,\r\n observer: '_updateChildren'\r\n },\r\n disabled: {\r\n type: Boolean,\r\n observer: '_updateChildren'\r\n },\r\n checkedColor: {\r\n type: String,\r\n value: ''\r\n },\r\n labelLeft: {\r\n type: Boolean,\r\n value: false\r\n },\r\n },\r\n\r\n methods: {\r\n _updateChildren() {\r\n\r\n // 防抖减少重复触发\r\n if (this.timer) {\r\n clearTimeout(this.timer)\r\n this.timer = null\r\n }\r\n\r\n this.timer = setTimeout(() => {\r\n\r\n let children = this.getRelationNodes('../checkbox/index')\r\n const len = children.length\r\n\r\n if (len > 0) {\r\n // let lastIndex = len - 1\r\n\r\n children.forEach((child, index) => {\r\n this._updateChild(child)\r\n })\r\n }\r\n }, 60)\r\n },\r\n\r\n _updateChild(child) {\r\n const {\r\n checkedColor,\r\n value,\r\n labelLeft,\r\n disabled\r\n } = this.data\r\n\r\n child.setData({\r\n value: value.indexOf(child.data.name) > -1,\r\n checkedColor: child.data.checkedColor || checkedColor,\r\n labelLeft: child.data.labelLeft || labelLeft,\r\n disabled: disabled || child.data.disabled,\r\n round: this.data.round || child.data.round,\r\n prevent: this.data.max && value.length >= this.data.max\r\n })\r\n }\r\n }\r\n})\r\n"],"sourceRoot":""}
|
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 47);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 47:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-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 =
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-collapse/index.js"],"names":["Component","options","addGlobalClass","properties","duration","type","Number","value","visible","Boolean","data","contentHeight","isReady","observers","val","getContainerHeight","setData","lifetimes","ready","methods","query","createSelectorQuery","select","boundingClientRect","exec","res","height","onTransitionEnd","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,WAAS;AACPC,oBAAgB;AADT,GADD;;AAKRC,cAAY;AACVC,cAAU;AACRC,YAAMC,MADE;AAERC,aAAO;AAFC,KADA;AAKVC,aAAS;AACPH,YAAMI,OADC;AAEPF,aAAO;AAFA;AALC,GALJ;;AAgBRG,QAAM;AACJC,mBAAe,CADX,EACgB;AACpBC,aAAS;AAFL,GAhBE;;AAqBRC,aAAW;AACTL,WADS,mBACDM,GADC,EACI;AACX,UAAIA,OAAO,KAAKJ,IAAL,CAAUE,OAArB,EAA8B;AAC5B,aAAKG,kBAAL;AACD,OAFD,MAEO;AACL,aAAKC,OAAL,CAAa;AACXL,yBAAe;AADJ,SAAb;AAGD;AACF;AATQ,GArBH;;AAiCRM,aAAW;AACTC,SADS,mBACD;AACN,WAAKR,IAAL,CAAUE,OAAV,GAAoB,IAApB;;AAEA,UAAI,KAAKF,IAAL,CAAUF,OAAd,EAAuB;AACrB,aAAKO,kBAAL;AACD;AACF;AAPQ,GAjCH;;AA2CRI,WAAS;AACPJ,sBADO,gCACc;AAAA;;AACnB,UAAMK,QAAQ,KAAKC,mBAAL,EAAd;AACAD,YAAME,MAAN,CAAa,sBAAb,EAAqCC,kBAArC;;AAEAH,YAAMI,IAAN,CAAW,eAAO;AAChB,YAAMb,gBAAgBc,IAAI,CAAJ,EAAOC,MAA7B;;AAEA,cAAKV,OAAL,CAAa;AACXL;AADW,SAAb;AAGD,OAND;AAOD,KAZM;AAcPgB,mBAdO,6BAcW;AAChB,WAAKC,YAAL,CAAkB,WAAlB,EAA+B,KAAKlB,IAAL,CAAUF,OAAzC;AACD;AAhBM;AA3CD,CAAV,E","file":"bld-collapse\\index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 47);\n","Component({\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n properties: {\r\n duration: {\r\n type: Number,\r\n value: 300\r\n },\r\n visible: {\r\n type: Boolean,\r\n value: false\r\n }\r\n },\r\n\r\n data: {\r\n contentHeight: 0, // 内容区域高度\r\n isReady: false\r\n },\r\n\r\n observers: {\r\n visible(val) {\r\n if (val && this.data.isReady) {\r\n this.getContainerHeight()\r\n } else {\r\n this.setData({\r\n contentHeight: 0\r\n })\r\n }\r\n }\r\n },\r\n\r\n lifetimes: {\r\n ready() {\r\n this.data.isReady = true\r\n\r\n if (this.data.visible) {\r\n this.getContainerHeight()\r\n }\r\n }\r\n },\r\n\r\n methods: {\r\n getContainerHeight() {\r\n const query = this.createSelectorQuery()\r\n query.select('.m-collapse__content').boundingClientRect()\r\n\r\n query.exec(res => {\r\n const contentHeight = res[0].height\r\n\r\n this.setData({\r\n contentHeight\r\n })\r\n })\r\n },\r\n\r\n onTransitionEnd() {\r\n this.triggerEvent('on-change', this.data.visible)\r\n }\r\n }\r\n});\r\n"],"sourceRoot":""}
|
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 38);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 38:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-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 =
|
|
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 = 38);\n","Component({\r\n externalClasses: ['custom-class'],\r\n\r\n options: {\r\n addGlobalClass: true,\r\n },\r\n\r\n properties: {\r\n visible: {\r\n type: Boolean,\r\n value: false\r\n },\r\n\r\n zIndex: {\r\n type: Number,\r\n value: 9\r\n },\r\n\r\n mask: {\r\n type: Boolean,\r\n value: true\r\n },\r\n\r\n maskClosable: {\r\n type: Boolean,\r\n value: true\r\n },\r\n\r\n position: {\r\n type: String,\r\n value: 'bottom' // left right top bottom\r\n }\r\n },\r\n\r\n methods: {\r\n handleMaskClick() {\r\n if (!this.data.maskClosable) return\r\n this.triggerEvent('close')\r\n }\r\n }\r\n});"],"sourceRoot":""}
|
|
@@ -1 +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;
|
|
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","valueblur","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;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;AACD;AAXM;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({\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 type: {\r\n type: String,\r\n value: \"text\",\r\n },\r\n disabled: {\r\n type: Boolean,\r\n value: false,\r\n },\r\n showPlaceholder: {\r\n type: Boolean,\r\n value: true,\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 valueblur(event) {\r\n this.triggerEvent(\"onValueblur\", event);\r\n },\r\n },\r\n});\r\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
module.exports =
|
|
2
|
+
/******/ (function(modules) { // webpackBootstrap
|
|
3
|
+
/******/ // The module cache
|
|
4
|
+
/******/ var installedModules = {};
|
|
5
|
+
/******/
|
|
6
|
+
/******/ // The require function
|
|
7
|
+
/******/ function __webpack_require__(moduleId) {
|
|
8
|
+
/******/
|
|
9
|
+
/******/ // Check if module is in cache
|
|
10
|
+
/******/ if(installedModules[moduleId]) {
|
|
11
|
+
/******/ return installedModules[moduleId].exports;
|
|
12
|
+
/******/ }
|
|
13
|
+
/******/ // Create a new module (and put it into the cache)
|
|
14
|
+
/******/ var module = installedModules[moduleId] = {
|
|
15
|
+
/******/ i: moduleId,
|
|
16
|
+
/******/ l: false,
|
|
17
|
+
/******/ exports: {}
|
|
18
|
+
/******/ };
|
|
19
|
+
/******/
|
|
20
|
+
/******/ // Execute the module function
|
|
21
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
22
|
+
/******/
|
|
23
|
+
/******/ // Flag the module as loaded
|
|
24
|
+
/******/ module.l = true;
|
|
25
|
+
/******/
|
|
26
|
+
/******/ // Return the exports of the module
|
|
27
|
+
/******/ return module.exports;
|
|
28
|
+
/******/ }
|
|
29
|
+
/******/
|
|
30
|
+
/******/
|
|
31
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
32
|
+
/******/ __webpack_require__.m = modules;
|
|
33
|
+
/******/
|
|
34
|
+
/******/ // expose the module cache
|
|
35
|
+
/******/ __webpack_require__.c = installedModules;
|
|
36
|
+
/******/
|
|
37
|
+
/******/ // define getter function for harmony exports
|
|
38
|
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
39
|
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
40
|
+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
|
41
|
+
/******/ }
|
|
42
|
+
/******/ };
|
|
43
|
+
/******/
|
|
44
|
+
/******/ // define __esModule on exports
|
|
45
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
46
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
47
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
48
|
+
/******/ }
|
|
49
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
50
|
+
/******/ };
|
|
51
|
+
/******/
|
|
52
|
+
/******/ // create a fake namespace object
|
|
53
|
+
/******/ // mode & 1: value is a module id, require it
|
|
54
|
+
/******/ // mode & 2: merge all properties of value into the ns
|
|
55
|
+
/******/ // mode & 4: return value when already ns object
|
|
56
|
+
/******/ // mode & 8|1: behave like require
|
|
57
|
+
/******/ __webpack_require__.t = function(value, mode) {
|
|
58
|
+
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
59
|
+
/******/ if(mode & 8) return value;
|
|
60
|
+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
61
|
+
/******/ var ns = Object.create(null);
|
|
62
|
+
/******/ __webpack_require__.r(ns);
|
|
63
|
+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
64
|
+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
65
|
+
/******/ return ns;
|
|
66
|
+
/******/ };
|
|
67
|
+
/******/
|
|
68
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
69
|
+
/******/ __webpack_require__.n = function(module) {
|
|
70
|
+
/******/ var getter = module && module.__esModule ?
|
|
71
|
+
/******/ function getDefault() { return module['default']; } :
|
|
72
|
+
/******/ function getModuleExports() { return module; };
|
|
73
|
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
74
|
+
/******/ return getter;
|
|
75
|
+
/******/ };
|
|
76
|
+
/******/
|
|
77
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
|
78
|
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
79
|
+
/******/
|
|
80
|
+
/******/ // __webpack_public_path__
|
|
81
|
+
/******/ __webpack_require__.p = "";
|
|
82
|
+
/******/
|
|
83
|
+
/******/
|
|
84
|
+
/******/ // Load entry module and return exports
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 32);
|
|
86
|
+
/******/ })
|
|
87
|
+
/************************************************************************/
|
|
88
|
+
/******/ ({
|
|
89
|
+
|
|
90
|
+
/***/ 32:
|
|
91
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
92
|
+
|
|
93
|
+
"use strict";
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
Component({
|
|
97
|
+
externalClasses: ["iclass"],
|
|
98
|
+
properties: {
|
|
99
|
+
html: {
|
|
100
|
+
type: String,
|
|
101
|
+
value: "加载中..."
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
data: {
|
|
105
|
+
content: "加载中...",
|
|
106
|
+
tagStyle: {
|
|
107
|
+
p: "margin-bottom: 14px",
|
|
108
|
+
img: "margin-bottom: 14px"
|
|
109
|
+
},
|
|
110
|
+
containerStyle: "padding: 0;"
|
|
111
|
+
},
|
|
112
|
+
observers: {
|
|
113
|
+
html: function html() {
|
|
114
|
+
var content = this.data.html;
|
|
115
|
+
|
|
116
|
+
content = content.replace(/style="(.*?)"/gm, "");
|
|
117
|
+
content = content.replace(/class="(.*?)"/gm, "");
|
|
118
|
+
content = content.replaceAll("<p><br></p>", "");
|
|
119
|
+
|
|
120
|
+
this.setData({
|
|
121
|
+
content: content
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
/***/ })
|
|
128
|
+
|
|
129
|
+
/******/ });
|
|
130
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +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 = 32);\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":""}
|
|
@@ -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 =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 33);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
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-message/index.js"],"names":["defaults_data","visible","content","duration","zIndex","top","timer","Component","externalClasses","options","addGlobalClass","data","ready","wx","canIUse","windowInfo","getWindowInfo","computedBarH","getSystemInfo","success","methods","screenHeight","windowHeight","statusBarHeight","customBarH","capsule","getMenuButtonBoundingClientRect","bottom","setData","open","type","showClose","clearTimeout","setTimeout","close"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;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;AACA,OAAIF,iBAAiBC,YAArB,EAAmC;AAClC,QAAIE,aAAa,EAAjB;AACA,QAAIC,UAAUZ,GAAGa,+BAAH,EAAd;AACA,QAAID,OAAJ,EAAa;AACZD,kBAAaC,QAAQE,MAAR,GAAiBJ,eAAjB,GAAmC,CAAhD;AACA;;AAEDvB,kBAAcK,GAAd,GAAoBmB,aAAaD,eAAb,GAA+B,IAAnD;AACA,SAAKK,OAAL,CAAa;AACZvB,UAAKmB,aAAaD,eAAb,GAA+B;AADxB,KAAb;AAGA;AACD,GArBO;AAwBRM,MAxBQ,gBAwBHpB,OAxBG,EAwBM;AAAA;;AAAA,uBAMTA,OANS,CAEZqB,IAFY;AAAA,OAEZA,IAFY,iCAEL,SAFK;AAAA,2BAMTrB,OANS,CAGXN,QAHW;AAAA,OAGXA,QAHW,qCAGA,IAHA;AAAA,yBAMTM,OANS,CAIXL,MAJW;AAAA,OAIXA,MAJW,mCAIF,IAJE;AAAA,4BAMTK,OANS,CAKXsB,SALW;AAAA,OAKXA,SALW,sCAKC,KALD;;;AAQb,QAAKH,OAAL,cACInB,OADJ;AAECqB,cAFD;AAGC3B,sBAHD;AAICC,kBAJD;AAKC2B,wBALD;AAMC9B,aAAS;AANV;;AASA,OAAIK,KAAJ,EAAW0B,aAAa1B,KAAb;;AAEX,OAAIH,QAAJ,EAAc;AACbG,YAAQ2B,WAAW,YAAM;AACxB,YAAKC,KAAL;AACA5B,aAAQ,IAAR;AACA,KAHO,EAGLH,QAHK,CAAR;AAIA;AACD,GAjDO;AAmDR+B,OAnDQ,mBAmDA;AACP,QAAKN,OAAL,cACI5B,aADJ;AAGA;AAvDO;AAvBA,CAAV,E","file":"bld-message\\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
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-message/index.js"],"names":["defaults_data","visible","content","duration","zIndex","top","timer","Component","externalClasses","options","addGlobalClass","data","ready","wx","canIUse","windowInfo","getWindowInfo","computedBarH","getSystemInfo","success","methods","screenHeight","windowHeight","statusBarHeight","customBarH","capsule","getMenuButtonBoundingClientRect","bottom","setData","open","type","showClose","clearTimeout","setTimeout","close"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;AClFA,IAAMA,gBAAgB;AACrBC,UAAS,KADY;AAErBC,UAAS,EAFY;AAGrBC,WAAU,IAHW;AAIrBC,SAAQ,CAAC,CAJY;AAKrBC,MAAK;AALgB,CAAtB;;AAQA,IAAIC,QAAQ,IAAZ;;AAEAC,UAAU;AACTC,kBAAiB,CAAC,cAAD,CADR;;AAGTC,UAAS;AACRC,kBAAgB;AADR,EA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B,cAFD;AAGC3B,sBAHD;AAICC,kBAJD;AAKC2B,wBALD;AAMC9B,aAAS;AANV;;AASA,OAAIK,KAAJ,EAAW0B,aAAa1B,KAAb;;AAEX,OAAIH,QAAJ,EAAc;AACbG,YAAQ2B,WAAW,YAAM;AACxB,YAAKC,KAAL;AACA5B,aAAQ,IAAR;AACA,KAHO,EAGLH,QAHK,CAAR;AAIA;AACD,GAjDO;AAmDR+B,OAnDQ,mBAmDA;AACP,QAAKN,OAAL,cACI5B,aADJ;AAGA;AAvDO;AAvBA,CAAV,E","file":"bld-message\\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","const defaults_data = {\r\n\tvisible: false,\r\n\tcontent: '',\r\n\tduration: 2000,\r\n\tzIndex: -1,\r\n\ttop: '0px'\r\n}\r\n\r\nlet timer = null\r\n\r\nComponent({\r\n\texternalClasses: ['custom-class'],\r\n\r\n\toptions: {\r\n\t\taddGlobalClass: true,\r\n\t},\r\n\r\n\tdata: defaults_data,\r\n\r\n\tready() {\r\n\t\tif (wx.canIUse('getWindowInfo')) {\r\n\t\t\tconst windowInfo = wx.getWindowInfo()\r\n\t\t\tthis.computedBarH(windowInfo)\r\n\t\t} else {\r\n\t\t\t// 该方法为同步\r\n\t\t\twx.getSystemInfo({\r\n\t\t\t\tsuccess: (windowInfo) => {\r\n\t\t\t\t\tthis.computedBarH(windowInfo)\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\t},\r\n\r\n\tmethods: {\r\n\t\tcomputedBarH(windowInfo) {\r\n\t\t\tconst {\r\n\t\t\t\tscreenHeight,\r\n\t\t\t\twindowHeight,\r\n\t\t\t\tstatusBarHeight\r\n\t\t\t} = windowInfo;\r\n\r\n\t\t\t// 自定义导航栏\r\n\t\t\tif (screenHeight === windowHeight) {\r\n\t\t\t\tlet customBarH = 44;\r\n\t\t\t\tlet capsule = wx.getMenuButtonBoundingClientRect();\r\n\t\t\t\tif (capsule) {\r\n\t\t\t\t\tcustomBarH = capsule.bottom - statusBarHeight + 4;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tdefaults_data.top = customBarH + statusBarHeight + 'px'\r\n\t\t\t\tthis.setData({\r\n\t\t\t\t\ttop: customBarH + statusBarHeight + 'px'\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t},\r\n\r\n\r\n\t\topen(options) {\r\n\t\t\tconst {\r\n\t\t\t\ttype = 'primary',\r\n\t\t\t\t\tduration = 2000,\r\n\t\t\t\t\tzIndex = 2000,\r\n\t\t\t\t\tshowClose = false\r\n\t\t\t} = options\r\n\r\n\t\t\tthis.setData({\r\n\t\t\t\t...options,\r\n\t\t\t\ttype,\r\n\t\t\t\tduration,\r\n\t\t\t\tzIndex,\r\n\t\t\t\tshowClose,\r\n\t\t\t\tvisible: true\r\n\t\t\t})\r\n\r\n\t\t\tif (timer) clearTimeout(timer)\r\n\r\n\t\t\tif (duration) {\r\n\t\t\t\ttimer = setTimeout(() => {\r\n\t\t\t\t\tthis.close()\r\n\t\t\t\t\ttimer = null\r\n\t\t\t\t}, duration)\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tclose() {\r\n\t\t\tthis.setData({\r\n\t\t\t\t...defaults_data\r\n\t\t\t})\r\n\t\t}\r\n\t}\r\n})"],"sourceRoot":""}
|