bulade-ui 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-button-v2/index.js +200 -0
- package/miniprogram_dist/bld-button-v2/index.js.map +1 -0
- package/miniprogram_dist/bld-button-v2/index.json +3 -0
- package/miniprogram_dist/bld-button-v2/index.wxml +42 -0
- package/miniprogram_dist/bld-button-v2/index.wxss +176 -0
- package/miniprogram_dist/bld-card/index.js +2 -2
- package/miniprogram_dist/bld-card/index.js.map +1 -1
- package/miniprogram_dist/bld-cell/index.js +2 -2
- package/miniprogram_dist/bld-cell/index.js.map +1 -1
- package/miniprogram_dist/bld-cell-field/index.js +2 -2
- package/miniprogram_dist/bld-cell-field/index.js.map +1 -1
- package/miniprogram_dist/bld-cell-group/index.js +2 -2
- package/miniprogram_dist/bld-cell-group/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-cloud-image/index.js +2 -2
- package/miniprogram_dist/bld-cloud-image/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-empty-page/index.js +2 -2
- package/miniprogram_dist/bld-empty-page/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js +2 -2
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-input/index.js +2 -2
- 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-select-input/index.js +2 -2
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js +2 -2
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-step/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js +2 -2
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-switch/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js +2 -2
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-textarea/index.js.map +1 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js +2 -2
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.js.map +1 -1
- package/miniprogram_dist/bld-half-screen/index.js +2 -2
- package/miniprogram_dist/bld-half-screen/index.js.map +1 -1
- package/miniprogram_dist/bld-icon/index.wxss +9 -1
- package/miniprogram_dist/bld-loading/index.js +2 -2
- package/miniprogram_dist/bld-loading/index.js.map +1 -1
- 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-nav-bar/index.js +2 -2
- package/miniprogram_dist/bld-nav-bar/index.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-notice-bar/index.js +2 -2
- package/miniprogram_dist/bld-notice-bar/index.js.map +1 -1
- package/miniprogram_dist/bld-overlay/index.js +2 -2
- package/miniprogram_dist/bld-overlay/index.js.map +1 -1
- package/miniprogram_dist/bld-page/index.js +2 -2
- package/miniprogram_dist/bld-page/index.js.map +1 -1
- package/miniprogram_dist/bld-pop-up/index.js +2 -2
- package/miniprogram_dist/bld-pop-up/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-retry/index.js +2 -2
- package/miniprogram_dist/bld-retry/index.js.map +1 -1
- package/miniprogram_dist/bld-scroll-view/index.js +2 -2
- package/miniprogram_dist/bld-scroll-view/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-text/index.js +2 -2
- package/miniprogram_dist/bld-text/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/bld-wrapper/index.js +2 -2
- package/miniprogram_dist/bld-wrapper/index.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/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/src/bld-button-v2/index.js +92 -0
- package/src/bld-button-v2/index.json +3 -0
- package/src/bld-button-v2/index.scss +206 -0
- package/src/bld-button-v2/index.wxml +42 -0
- package/src/bld-button-v2/index.wxss +176 -0
- package/src/bld-icon/index.scss +10 -2
- package/src/bld-icon/index.wxss +9 -1
|
@@ -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 = 34);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 34:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-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,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 = 34);\n","Component({\n externalClasses: ['custom-class', 'custom-mask-class', 'custom-header-class'],\n\n options: {\n addGlobalClass: true,\n multipleSlots: true\n },\n\n properties: {\n visible: {\n type: Boolean,\n value: false\n },\n zIndex: {\n type: Number,\n value: 9\n },\n maskClosable: {\n type: Boolean,\n value: true\n },\n showCancel: {\n type: Boolean,\n value: false\n },\n cancelText: {\n type: String,\n value: '取消'\n },\n actions: {\n type: Array,\n value: []\n }\n },\n\n methods: {\n // 点击遮罩\n handleMaskClick() {\n if (!this.data.maskClosable) return\n this.handleCancelClick()\n },\n\n // 点击事件\n handleItemClick({ currentTarget = {} }) {\n const dataset = currentTarget.dataset || {}\n const { index } = dataset\n\n const item = this.data.actions[index]\n\n if (item.loading || item.disabled) return\n\n this.triggerEvent('click', {\n index\n })\n },\n\n // 取消\n handleCancelClick() {\n this.triggerEvent('cancel')\n },\n\n getuserinfo({\n detail = {}\n } = {}) {\n this.triggerEvent('getuserinfo', detail)\n },\n contact({\n detail = {}\n } = {}) {\n this.triggerEvent('contact', detail)\n },\n getphonenumber({\n detail = {}\n } = {}) {\n this.triggerEvent('getphonenumber', detail)\n },\n error({\n detail = {}\n } = {}) {\n this.triggerEvent('error', detail)\n }\n }\n})"],"sourceRoot":""}
|
|
@@ -82,12 +82,12 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
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-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 = 38);\n","Component({\n externalClasses: ['custom-class'],\n\n options: {\n addGlobalClass: true,\n },\n\n properties: {\n value: {\n type: Number,\n optionalTypes: [Number, String],\n value: '',\n observer: '_valueObserver'\n },\n max: {\n type: Number,\n value: 99\n },\n bgcolor: {\n type: String,\n value: ''\n },\n isDot: {\n type: Boolean,\n value: false\n },\n static: {\n type: Boolean,\n value: false\n }\n },\n\n data: {\n _value: 0\n },\n\n methods: {\n _valueObserver() {\n const { value, max } = this.data\n\n let _value = ''\n if (!isNaN(value)) {\n _value = parseInt(value) > parseInt(max) ? `${max}+` : value\n } else {\n _value = value\n }\n\n this.setData({\n _value\n })\n }\n }\n})\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,200 @@
|
|
|
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 = 3);
|
|
86
|
+
/******/ })
|
|
87
|
+
/************************************************************************/
|
|
88
|
+
/******/ ({
|
|
89
|
+
|
|
90
|
+
/***/ 3:
|
|
91
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
92
|
+
|
|
93
|
+
"use strict";
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
Component({
|
|
97
|
+
externalClasses: ['custom-class'],
|
|
98
|
+
|
|
99
|
+
options: {
|
|
100
|
+
addGlobalClass: true
|
|
101
|
+
},
|
|
102
|
+
|
|
103
|
+
properties: {
|
|
104
|
+
// ghost, primary, info, success, warning, error
|
|
105
|
+
type: {
|
|
106
|
+
type: String,
|
|
107
|
+
value: 'default'
|
|
108
|
+
},
|
|
109
|
+
plain: {
|
|
110
|
+
type: Boolean,
|
|
111
|
+
value: false
|
|
112
|
+
},
|
|
113
|
+
inline: {
|
|
114
|
+
type: Boolean,
|
|
115
|
+
value: false
|
|
116
|
+
},
|
|
117
|
+
size: {
|
|
118
|
+
type: String,
|
|
119
|
+
value: ''
|
|
120
|
+
},
|
|
121
|
+
round: {
|
|
122
|
+
type: Boolean,
|
|
123
|
+
value: false
|
|
124
|
+
},
|
|
125
|
+
disabled: {
|
|
126
|
+
type: Boolean,
|
|
127
|
+
value: false
|
|
128
|
+
},
|
|
129
|
+
loading: {
|
|
130
|
+
type: Boolean,
|
|
131
|
+
value: false
|
|
132
|
+
},
|
|
133
|
+
full: {
|
|
134
|
+
type: Boolean,
|
|
135
|
+
value: false
|
|
136
|
+
},
|
|
137
|
+
color: {
|
|
138
|
+
type: String,
|
|
139
|
+
value: ''
|
|
140
|
+
},
|
|
141
|
+
bgcolor: {
|
|
142
|
+
type: String,
|
|
143
|
+
value: ''
|
|
144
|
+
},
|
|
145
|
+
openType: String,
|
|
146
|
+
hoverStopPropagation: Boolean,
|
|
147
|
+
hoverStartTime: {
|
|
148
|
+
type: Number,
|
|
149
|
+
value: 20
|
|
150
|
+
},
|
|
151
|
+
hoverStayTime: {
|
|
152
|
+
type: Number,
|
|
153
|
+
value: 70
|
|
154
|
+
},
|
|
155
|
+
sendMessageTitle: String,
|
|
156
|
+
sendMessagePath: String,
|
|
157
|
+
sendMessageImg: String,
|
|
158
|
+
showMessageCard: Boolean
|
|
159
|
+
},
|
|
160
|
+
|
|
161
|
+
methods: {
|
|
162
|
+
onTap: function onTap() {
|
|
163
|
+
if (this.data.disabled) return false;
|
|
164
|
+
this.triggerEvent('click');
|
|
165
|
+
},
|
|
166
|
+
getuserinfo: function getuserinfo() {
|
|
167
|
+
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
168
|
+
_ref$detail = _ref.detail,
|
|
169
|
+
detail = _ref$detail === undefined ? {} : _ref$detail;
|
|
170
|
+
|
|
171
|
+
this.triggerEvent('getuserinfo', detail);
|
|
172
|
+
},
|
|
173
|
+
contact: function contact() {
|
|
174
|
+
var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
175
|
+
_ref2$detail = _ref2.detail,
|
|
176
|
+
detail = _ref2$detail === undefined ? {} : _ref2$detail;
|
|
177
|
+
|
|
178
|
+
this.triggerEvent('contact', detail);
|
|
179
|
+
},
|
|
180
|
+
getphonenumber: function getphonenumber() {
|
|
181
|
+
var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
182
|
+
_ref3$detail = _ref3.detail,
|
|
183
|
+
detail = _ref3$detail === undefined ? {} : _ref3$detail;
|
|
184
|
+
|
|
185
|
+
this.triggerEvent('getphonenumber', detail);
|
|
186
|
+
},
|
|
187
|
+
error: function error() {
|
|
188
|
+
var _ref4 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
189
|
+
_ref4$detail = _ref4.detail,
|
|
190
|
+
detail = _ref4$detail === undefined ? {} : _ref4$detail;
|
|
191
|
+
|
|
192
|
+
this.triggerEvent('error', detail);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
|
|
197
|
+
/***/ })
|
|
198
|
+
|
|
199
|
+
/******/ });
|
|
200
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-button-v2/index.js"],"names":["Component","externalClasses","options","addGlobalClass","properties","type","String","value","plain","Boolean","inline","size","round","disabled","loading","full","color","bgcolor","openType","hoverStopPropagation","hoverStartTime","Number","hoverStayTime","sendMessageTitle","sendMessagePath","sendMessageImg","showMessageCard","methods","onTap","data","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,CADT;;AAGRC,WAAS;AACPC,oBAAgB;AADT,GAHD;;AAORC,cAAY;AACV;AACAC,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KAFI;AAMVC,WAAO;AACLH,YAAMI,OADD;AAELF,aAAO;AAFF,KANG;AAUVG,YAAQ;AACNL,YAAMI,OADA;AAENF,aAAO;AAFD,KAVE;AAcVI,UAAM;AACJN,YAAMC,MADF;AAEJC,aAAO;AAFH,KAdI;AAkBVK,WAAO;AACLP,YAAMI,OADD;AAELF,aAAO;AAFF,KAlBG;AAsBVM,cAAU;AACRR,YAAMI,OADE;AAERF,aAAO;AAFC,KAtBA;AA0BVO,aAAS;AACPT,YAAMI,OADC;AAEPF,aAAO;AAFA,KA1BC;AA8BVQ,UAAM;AACJV,YAAMI,OADF;AAEJF,aAAO;AAFH,KA9BI;AAkCVS,WAAO;AACLX,YAAMC,MADD;AAELC,aAAO;AAFF,KAlCG;AAsCVU,aAAS;AACPZ,YAAMC,MADC;AAEPC,aAAO;AAFA,KAtCC;AA0CVW,cAAUZ,MA1CA;AA2CVa,0BAAsBV,OA3CZ;AA4CVW,oBAAgB;AACdf,YAAMgB,MADQ;AAEdd,aAAO;AAFO,KA5CN;AAgDVe,mBAAe;AACbjB,YAAMgB,MADO;AAEbd,aAAO;AAFM,KAhDL;AAoDVgB,sBAAkBjB,MApDR;AAqDVkB,qBAAiBlB,MArDP;AAsDVmB,oBAAgBnB,MAtDN;AAuDVoB,qBAAiBjB;AAvDP,GAPJ;;AAiERkB,WAAS;AACPC,SADO,mBACC;AACN,UAAI,KAAKC,IAAL,CAAUhB,QAAd,EAAwB,OAAO,KAAP;AACxB,WAAKiB,YAAL,CAAkB,OAAlB;AACD,KAJM;AAKPC,eALO,yBAOC;AAAA,qFAAJ,EAAI;AAAA,6BADNC,MACM;AAAA,UADNA,MACM,+BADG,EACH;;AACN,WAAKF,YAAL,CAAkB,aAAlB,EAAiCE,MAAjC;AACD,KATM;AAUPC,WAVO,qBAYC;AAAA,sFAAJ,EAAI;AAAA,+BADND,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,SAAlB,EAA6BE,MAA7B;AACD,KAdM;AAePE,kBAfO,4BAiBC;AAAA,sFAAJ,EAAI;AAAA,+BADNF,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,gBAAlB,EAAoCE,MAApC;AACD,KAnBM;AAoBPG,SApBO,mBAsBC;AAAA,sFAAJ,EAAI;AAAA,+BADNH,MACM;AAAA,UADNA,MACM,gCADG,EACH;;AACN,WAAKF,YAAL,CAAkB,OAAlB,EAA2BE,MAA3B;AACD;AAxBM;AAjED,CAAV,E","file":"bld-button-v2/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 3);\n","Component({\n externalClasses: ['custom-class'],\n\n options: {\n addGlobalClass: true,\n },\n\n properties: {\n // ghost, primary, info, success, warning, error\n type: {\n type: String,\n value: 'default',\n },\n plain: {\n type: Boolean,\n value: false,\n },\n inline: {\n type: Boolean,\n value: false\n },\n size: {\n type: String,\n value: '',\n },\n round: {\n type: Boolean,\n value: false\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n loading: {\n type: Boolean,\n value: false,\n },\n full: {\n type: Boolean,\n value: false\n },\n color: {\n type: String,\n value: ''\n },\n bgcolor: {\n type: String,\n value: ''\n },\n openType: String,\n hoverStopPropagation: Boolean,\n hoverStartTime: {\n type: Number,\n value: 20\n },\n hoverStayTime: {\n type: Number,\n value: 70\n },\n sendMessageTitle: String,\n sendMessagePath: String,\n sendMessageImg: String,\n showMessageCard: Boolean\n },\n\n methods: {\n onTap() {\n if (this.data.disabled) return false\n this.triggerEvent('click')\n },\n getuserinfo({\n detail = {}\n } = {}) {\n this.triggerEvent('getuserinfo', detail)\n },\n contact({\n detail = {}\n } = {}) {\n this.triggerEvent('contact', detail)\n },\n getphonenumber({\n detail = {}\n } = {}) {\n this.triggerEvent('getphonenumber', detail)\n },\n error({\n detail = {}\n } = {}) {\n this.triggerEvent('error', detail)\n }\n }\n});"],"sourceRoot":""}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<button
|
|
2
|
+
class="m-button {{ full ? 'm-button--full' : '' }} {{ size ? 'm-button--' + size : '' }} {{ 'm-button--' + type }} {{ round ? 'is-round' : '' }} {{ plain ? 'is-plain' : '' }} {{ loading ? 'is-loading' : '' }} {{ disabled ? 'is-disabled' : ''}} {{ inline ? 'is-inline' : '' }} custom-class"
|
|
3
|
+
style="{{ button.getButtonStyle(color, bgcolor) }}"
|
|
4
|
+
hover-class="{{ loading || disabled ? '' : plain ? 'is-plain--hover' : 'is-hover' }}"
|
|
5
|
+
bind:tap="onTap"
|
|
6
|
+
open-type="{{ openType }}"
|
|
7
|
+
hover-stop-propagation="{{ hoverStopPropagation }}"
|
|
8
|
+
hover-start-time="{{ hoverStartTime }}"
|
|
9
|
+
hover-stay-time="{{ hoverStayTime }}"
|
|
10
|
+
send-message-title="{{ sendMessageTitle }}"
|
|
11
|
+
send-message-path="{{ sendMessagePath }}"
|
|
12
|
+
send-message-img="{{ sendMessageImg }}"
|
|
13
|
+
show-message-card="{{ showMessageCard }}"
|
|
14
|
+
bindcontact="contact"
|
|
15
|
+
bindgetuserinfo="getuserinfo"
|
|
16
|
+
bindgetphonenumber="getphonenumber"
|
|
17
|
+
binderror="error"
|
|
18
|
+
plain="true"
|
|
19
|
+
>
|
|
20
|
+
<view wx:if="{{ loading }}" class="m-button__loading"></view>
|
|
21
|
+
<slot wx:else />
|
|
22
|
+
</button>
|
|
23
|
+
|
|
24
|
+
<wxs module="button">
|
|
25
|
+
function getButtonStyle(color, bgcolor) {
|
|
26
|
+
|
|
27
|
+
var styles = []
|
|
28
|
+
if(color) {
|
|
29
|
+
styles.push('color:' + color)
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
if(bgcolor) {
|
|
33
|
+
styles.push('background-color:' + bgcolor)
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
return styles.join(";")
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
module.exports = {
|
|
40
|
+
getButtonStyle: getButtonStyle
|
|
41
|
+
}
|
|
42
|
+
</wxs>
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
.m-button {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
margin: 10px;
|
|
7
|
+
padding: 0 27rpx;
|
|
8
|
+
width: auto;
|
|
9
|
+
height: 86rpx;
|
|
10
|
+
line-height: 86rpx;
|
|
11
|
+
text-align: center;
|
|
12
|
+
vertical-align: middle;
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
letter-spacing: 4rpx;
|
|
15
|
+
font-size: 28rpx;
|
|
16
|
+
font-weight: normal;
|
|
17
|
+
border-radius: 6rpx;
|
|
18
|
+
border: 0 !important;
|
|
19
|
+
color: var(--color-text-primary, #303133);
|
|
20
|
+
overflow: visible;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
background-color: #fff;
|
|
23
|
+
transition: opacity 0.16s, background-color 0.16s;
|
|
24
|
+
/* plain */
|
|
25
|
+
}
|
|
26
|
+
.m-button .m-button__icon {
|
|
27
|
+
font-size: 28rpx;
|
|
28
|
+
width: 24rpx;
|
|
29
|
+
height: 24rpx;
|
|
30
|
+
}
|
|
31
|
+
.m-button.is-hover {
|
|
32
|
+
opacity: 0.8;
|
|
33
|
+
}
|
|
34
|
+
.m-button:not(.is-disabled).is-plain--hover::before, .m-button:not(.is-loading).is-plain--hover::before {
|
|
35
|
+
display: block;
|
|
36
|
+
position: absolute;
|
|
37
|
+
left: 0;
|
|
38
|
+
right: 0;
|
|
39
|
+
top: 0;
|
|
40
|
+
bottom: 0;
|
|
41
|
+
opacity: 0.15;
|
|
42
|
+
content: " ";
|
|
43
|
+
background-color: currentColor;
|
|
44
|
+
}
|
|
45
|
+
.m-button.is-round.is-plain--hover::before {
|
|
46
|
+
border-radius: 100rpx;
|
|
47
|
+
}
|
|
48
|
+
.m-button.m-button--full {
|
|
49
|
+
margin: 0;
|
|
50
|
+
border-radius: 0;
|
|
51
|
+
box-shadow: none;
|
|
52
|
+
}
|
|
53
|
+
.m-button.m-button--large {
|
|
54
|
+
padding: 0 32rpx;
|
|
55
|
+
height: 96rpx;
|
|
56
|
+
line-height: 96rpx;
|
|
57
|
+
font-size: 32rpx;
|
|
58
|
+
}
|
|
59
|
+
.m-button.m-button--small {
|
|
60
|
+
padding: 0 18rpx;
|
|
61
|
+
height: 68rpx;
|
|
62
|
+
line-height: 68rpx;
|
|
63
|
+
}
|
|
64
|
+
.m-button.m-button--primary {
|
|
65
|
+
color: #fff;
|
|
66
|
+
background-color: var(--color-primary, #409EFF);
|
|
67
|
+
}
|
|
68
|
+
.m-button.m-button--default {
|
|
69
|
+
background-color: transparent;
|
|
70
|
+
color: var(--color-text-primary, #303133);
|
|
71
|
+
}
|
|
72
|
+
.m-button.m-button--default::after {
|
|
73
|
+
content: " ";
|
|
74
|
+
display: block;
|
|
75
|
+
width: 200%;
|
|
76
|
+
height: 200%;
|
|
77
|
+
z-index: 1;
|
|
78
|
+
position: absolute;
|
|
79
|
+
top: 0;
|
|
80
|
+
left: 0;
|
|
81
|
+
border: 1px solid #dcdfe6;
|
|
82
|
+
transform: scale(0.5);
|
|
83
|
+
transform-origin: 0 0;
|
|
84
|
+
box-sizing: border-box;
|
|
85
|
+
border-radius: 6rpx;
|
|
86
|
+
pointer-events: none;
|
|
87
|
+
}
|
|
88
|
+
.m-button.m-button--default.is-hover {
|
|
89
|
+
background-color: rgba(0, 0, 0, 0.07);
|
|
90
|
+
}
|
|
91
|
+
.m-button.m-button--ghost {
|
|
92
|
+
background-color: transparent;
|
|
93
|
+
color: var(--color-text-primary, #303133);
|
|
94
|
+
}
|
|
95
|
+
.m-button.m-button--success {
|
|
96
|
+
color: #fff;
|
|
97
|
+
background-color: var(--color-success, #67C23A);
|
|
98
|
+
}
|
|
99
|
+
.m-button.m-button--warning {
|
|
100
|
+
color: #fff;
|
|
101
|
+
background-color: var(--color-warning, #E6A23C);
|
|
102
|
+
}
|
|
103
|
+
.m-button.m-button--danger {
|
|
104
|
+
color: #fff;
|
|
105
|
+
background-color: var(--color-danger, #F56C6C);
|
|
106
|
+
}
|
|
107
|
+
.m-button.m-button--info {
|
|
108
|
+
color: #fff;
|
|
109
|
+
background-color: var(--color-info, #909399);
|
|
110
|
+
}
|
|
111
|
+
.m-button .m-button--primary.is-plain {
|
|
112
|
+
color: var(--color-primary, #409EFF);
|
|
113
|
+
background-color: #fff;
|
|
114
|
+
}
|
|
115
|
+
.m-button .m-button--success.is-plain {
|
|
116
|
+
color: var(--color-success, #67C23A);
|
|
117
|
+
background-color: #fff;
|
|
118
|
+
}
|
|
119
|
+
.m-button .m-button--warning.is-plain {
|
|
120
|
+
color: var(--color-warning, #E6A23C);
|
|
121
|
+
background-color: #fff;
|
|
122
|
+
}
|
|
123
|
+
.m-button .m-button--danger.is-plain {
|
|
124
|
+
color: var(--color-danger, #F56C6C);
|
|
125
|
+
background-color: #fff;
|
|
126
|
+
}
|
|
127
|
+
.m-button .m-button--info.is-plain {
|
|
128
|
+
color: var(--color-info, #909399);
|
|
129
|
+
background-color: #fff;
|
|
130
|
+
}
|
|
131
|
+
.m-button.is-plain::after {
|
|
132
|
+
content: " ";
|
|
133
|
+
display: block;
|
|
134
|
+
width: 200%;
|
|
135
|
+
height: 200%;
|
|
136
|
+
position: absolute;
|
|
137
|
+
top: 0;
|
|
138
|
+
left: 0;
|
|
139
|
+
border: 1px solid currentColor;
|
|
140
|
+
transform: scale(0.5);
|
|
141
|
+
transform-origin: 0 0;
|
|
142
|
+
box-sizing: border-box;
|
|
143
|
+
border-radius: 6rpx;
|
|
144
|
+
z-index: 1;
|
|
145
|
+
pointer-events: none;
|
|
146
|
+
}
|
|
147
|
+
.m-button.is-round {
|
|
148
|
+
border-radius: 100rpx;
|
|
149
|
+
}
|
|
150
|
+
.m-button.is-round.is-plain::after {
|
|
151
|
+
border-radius: 100rpx;
|
|
152
|
+
}
|
|
153
|
+
.m-button.is-loading {
|
|
154
|
+
opacity: 0.85;
|
|
155
|
+
}
|
|
156
|
+
.m-button .m-button__loading {
|
|
157
|
+
width: 32rpx;
|
|
158
|
+
height: 32rpx;
|
|
159
|
+
background-color: 0 0;
|
|
160
|
+
border-radius: 50%;
|
|
161
|
+
border: 4rpx solid currentColor;
|
|
162
|
+
border-left-color: transparent;
|
|
163
|
+
animation: btn-spinner 0.8s linear;
|
|
164
|
+
animation-iteration-count: infinite;
|
|
165
|
+
}
|
|
166
|
+
.m-button.is-disabled {
|
|
167
|
+
opacity: 0.65;
|
|
168
|
+
}
|
|
169
|
+
.m-button.is-inline {
|
|
170
|
+
display: inline-flex;
|
|
171
|
+
}
|
|
172
|
+
@keyframes btn-spinner {
|
|
173
|
+
100% {
|
|
174
|
+
transform: rotate(360deg);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
@@ -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 = 4);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 4:
|
|
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-card/index.js"],"names":["Component","externalClasses"],"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;AADT,CAAV,E","file":"bld-card/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-card/index.js"],"names":["Component","externalClasses"],"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;AADT,CAAV,E","file":"bld-card/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 = 4);\n","Component({\n externalClasses: [\"iclass\"],\n});\n"],"sourceRoot":""}
|
|
@@ -82,12 +82,12 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 6);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 6:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cell/index.js"],"names":["Component","options","multipleSlots","properties","title","type","String","icon","subtitle","isLink","Boolean","value","padding"],"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,mBAAe;AADR,GADD;AAIRC,cAAY;AACVC,WAAO;AACLC,YAAMC;AADD,KADG;AAIVC,UAAM;AACJF,YAAMC;AADF,KAJI;AAOVE,cAAU;AACRH,YAAMC;AADE,KAPA;AAUVG,YAAQ;AACNJ,YAAMK,OADA;AAENC,aAAO;AAFD,KAVE;AAcVN,UAAM;AACJA,YAAMC,MADF;AAEJK,aAAO;AAFH,KAdI;AAkBVC,aAAS;AACPP,YAAMC,MADC;AAEPK,aAAO;AAFA;AAlBC;AAJJ,CAAV,E","file":"bld-cell/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-cell/index.js"],"names":["Component","options","multipleSlots","properties","title","type","String","icon","subtitle","isLink","Boolean","value","padding"],"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,mBAAe;AADR,GADD;AAIRC,cAAY;AACVC,WAAO;AACLC,YAAMC;AADD,KADG;AAIVC,UAAM;AACJF,YAAMC;AADF,KAJI;AAOVE,cAAU;AACRH,YAAMC;AADE,KAPA;AAUVG,YAAQ;AACNJ,YAAMK,OADA;AAENC,aAAO;AAFD,KAVE;AAcVN,UAAM;AACJA,YAAMC,MADF;AAEJK,aAAO;AAFH,KAdI;AAkBVC,aAAS;AACPP,YAAMC,MADC;AAEPK,aAAO;AAFA;AAlBC;AAJJ,CAAV,E","file":"bld-cell/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 6);\n","Component({\n options: {\n multipleSlots: true,\n },\n properties: {\n title: {\n type: String,\n },\n icon: {\n type: String,\n },\n subtitle: {\n type: String,\n },\n isLink: {\n type: Boolean,\n value: false,\n },\n type: {\n type: String,\n value: \"text\",\n },\n padding: {\n type: String,\n value: \"0 24rpx\",\n },\n },\n});\n"],"sourceRoot":""}
|
|
@@ -82,12 +82,12 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 7);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 7:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|