bulade-ui 1.1.0 → 1.1.2
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-button/index.wxss +4 -0
- 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-empty-page/index.json +4 -1
- package/miniprogram_dist/bld-empty-page/index.wxml +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-date/index.json +2 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-date/index.wxml +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-select-input/index.json +2 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-select-input/index.wxml +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-form/bld-form-item/bld-form-time/index.json +2 -1
- package/miniprogram_dist/bld-form/bld-form-item/bld-form-time/index.wxml +1 -1
- package/miniprogram_dist/bld-loading/index.js +2 -2
- package/miniprogram_dist/bld-loading/index.js.map +1 -1
- package/miniprogram_dist/bld-nav-bar/index.js +2 -3
- package/miniprogram_dist/bld-nav-bar/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-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-wrapper/index.js +2 -2
- package/miniprogram_dist/bld-wrapper/index.js.map +1 -1
- package/package.json +1 -1
- package/project.config.json +5 -0
- package/src/bld-button/index.scss +5 -0
- package/src/bld-button/index.wxss +4 -0
- package/src/bld-empty-page/index.json +4 -1
- package/src/bld-empty-page/index.wxml +1 -1
- package/src/bld-form/bld-form-item/bld-form-date/index.json +2 -1
- package/src/bld-form/bld-form-item/bld-form-date/index.wxml +1 -1
- package/src/bld-form/bld-form-item/bld-form-select-input/index.json +2 -1
- package/src/bld-form/bld-form-item/bld-form-select-input/index.wxml +1 -1
- package/src/bld-form/bld-form-item/bld-form-time/index.json +2 -1
- package/src/bld-form/bld-form-item/bld-form-time/index.wxml +1 -1
- package/src/bld-nav-bar/index.js +0 -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 = 9);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 9:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cloud-image/index.js"],"names":["CLOUD_PROVIDERS","myqcloud","aliyun","Component","externalClasses","properties","src","type","String","value","mode","provider","showMenuByLongpress","Boolean","thumbnail","fadeIn","data","fullSrc","loading","observers","startsWith","includes","setData","methods","loaded","e"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA,IAAMA,kBAAkB;AACtBC,YAAU,kEADY;AAEtBC,UAAQ;AAFc,CAAxB;;AAKAC,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,SAAK;AACHC,YAAMC,MADH;AAEHC,aAAO;AAFJ,KADK;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,cAAU;AACRJ,YAAMC,MADE;AAERC,aAAO;AAFC,KATA;AAaVG,yBAAqB;AACnBL,YAAMM,OADa;AAEnBJ,aAAO;AAFY,KAbX;AAiBVK,eAAW;AACTP,YAAMC,MADG;AAETC,aAAO;AAFE,KAjBD;AAqBVM,YAAQ;AACNR,YAAMM,OADA;AAENJ,aAAO;AAFD;AArBE,GAFJ;;AA6BRO,QAAM;AACJC,aAAS,EADL;AAEJC,aAAS;AAFL,GA7BE;;AAkCRC,aAAW;AACTb,SAAK,aAAUA,IAAV,EAAe;AAClB,UAAI,CAACA,IAAL,EAAU;AACR;AACD;;AAED,UAAIW,UAAU,EAAd;AACA,UAAIX,KAAIc,UAAJ,CAAe,MAAf,CAAJ,EAA4B;AAC1BH,kBAAUX,IAAV;AACD,OAFD,MAEO;AACLW,kBAAajB,gBAAgB,KAAKgB,IAAL,CAAUL,QAA1B,CAAb,SAAoDL,IAApD;AACD;;AAED,UAAIW,QAAQI,QAAR,CAAiB,+BAAjB,CAAJ,EAAuD;AACrDJ,kBAAaA,OAAb;;AAEA,YAAI,KAAKD,IAAL,CAAUF,SAAd,EAAyB;AACvBG,oBAAaA,OAAb,mBAAkC,KAAKD,IAAL,CAAUF,SAA5C;AACD;AACF;;AAED,UAAI,KAAKE,IAAL,CAAUC,OAAV,KAAsBA,OAA1B,EAAmC;AACjC;AACD;;AAED,WAAKK,OAAL,CAAa;AACXJ,iBAAS,IADE;AAEXD;AAFW,OAAb;AAID;AA7BQ,GAlCH;;AAkERM,WAAS;AACPC,YAAQ,gBAAUC,CAAV,EAAa;AACnB,WAAKH,OAAL,CAAa;AACXJ,iBAAS;AADE,OAAb;AAGD;AALM;AAlED,CAAV,E","file":"bld-cloud-image/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s =
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-cloud-image/index.js"],"names":["CLOUD_PROVIDERS","myqcloud","aliyun","Component","externalClasses","properties","src","type","String","value","mode","provider","showMenuByLongpress","Boolean","thumbnail","fadeIn","data","fullSrc","loading","observers","startsWith","includes","setData","methods","loaded","e"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA,IAAMA,kBAAkB;AACtBC,YAAU,kEADY;AAEtBC,UAAQ;AAFc,CAAxB;;AAKAC,UAAU;AACRC,mBAAiB,CAAC,QAAD,CADT;AAERC,cAAY;AACVC,SAAK;AACHC,YAAMC,MADH;AAEHC,aAAO;AAFJ,KADK;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,cAAU;AACRJ,YAAMC,MADE;AAERC,aAAO;AAFC,KATA;AAaVG,yBAAqB;AACnBL,YAAMM,OADa;AAEnBJ,aAAO;AAFY,KAbX;AAiBVK,eAAW;AACTP,YAAMC,MADG;AAETC,aAAO;AAFE,KAjBD;AAqBVM,YAAQ;AACNR,YAAMM,OADA;AAENJ,aAAO;AAFD;AArBE,GAFJ;;AA6BRO,QAAM;AACJC,aAAS,EADL;AAEJC,aAAS;AAFL,GA7BE;;AAkCRC,aAAW;AACTb,SAAK,aAAUA,IAAV,EAAe;AAClB,UAAI,CAACA,IAAL,EAAU;AACR;AACD;;AAED,UAAIW,UAAU,EAAd;AACA,UAAIX,KAAIc,UAAJ,CAAe,MAAf,CAAJ,EAA4B;AAC1BH,kBAAUX,IAAV;AACD,OAFD,MAEO;AACLW,kBAAajB,gBAAgB,KAAKgB,IAAL,CAAUL,QAA1B,CAAb,SAAoDL,IAApD;AACD;;AAED,UAAIW,QAAQI,QAAR,CAAiB,+BAAjB,CAAJ,EAAuD;AACrDJ,kBAAaA,OAAb;;AAEA,YAAI,KAAKD,IAAL,CAAUF,SAAd,EAAyB;AACvBG,oBAAaA,OAAb,mBAAkC,KAAKD,IAAL,CAAUF,SAA5C;AACD;AACF;;AAED,UAAI,KAAKE,IAAL,CAAUC,OAAV,KAAsBA,OAA1B,EAAmC;AACjC;AACD;;AAED,WAAKK,OAAL,CAAa;AACXJ,iBAAS,IADE;AAEXD;AAFW,OAAb;AAID;AA7BQ,GAlCH;;AAkERM,WAAS;AACPC,YAAQ,gBAAUC,CAAV,EAAa;AACnB,WAAKH,OAAL,CAAa;AACXJ,iBAAS;AADE,OAAb;AAGD;AALM;AAlED,CAAV,E","file":"bld-cloud-image/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 9);\n","const CLOUD_PROVIDERS = {\n myqcloud: \"https://bloodcare-1251596343.cos.ap-shanghai.myqcloud.com/assets\",\n aliyun: \"https://bulade-donate.oss-cn-beijing.aliyuncs.com/img\",\n};\n\nComponent({\n externalClasses: [\"iclass\"],\n properties: {\n src: {\n type: String,\n value: \"\",\n },\n mode: {\n type: String,\n value: \"\",\n },\n provider: {\n type: String,\n value: \"myqcloud\",\n },\n showMenuByLongpress: {\n type: Boolean,\n value: false,\n },\n thumbnail: {\n type: String,\n value: \"800x800\",\n },\n fadeIn: {\n type: Boolean,\n value: false,\n },\n },\n\n data: {\n fullSrc: \"\",\n loading: true,\n },\n\n observers: {\n src: function (src) {\n if (!src) {\n return;\n }\n\n let fullSrc = \"\";\n if (src.startsWith(\"http\")) {\n fullSrc = src;\n } else {\n fullSrc = `${CLOUD_PROVIDERS[this.data.provider]}/${src}`;\n }\n\n if (fullSrc.includes(\".cos.ap-shanghai.myqcloud.com\")) {\n fullSrc = `${fullSrc}?imageMogr2/format/webp`;\n\n if (this.data.thumbnail) {\n fullSrc = `${fullSrc}/thumbnail/${this.data.thumbnail}`;\n }\n }\n\n if (this.data.fullSrc === fullSrc) {\n return;\n }\n\n this.setData({\n loading: true,\n fullSrc,\n });\n },\n },\n\n methods: {\n loaded: function (e) {\n this.setData({\n loading: false,\n });\n },\n },\n});\n"],"sourceRoot":""}
|
|
@@ -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 = 10);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 10:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-date/index.js"],"names":["nowDate","date","Date","years","getFullYear","months","getMonth","days","getDate","Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","data","year","month","day","showActionsheet","selectValue","text","observers","initDate","lifetimes","ready","methods","i","push","setData","valueDates","replace","valueYear","valueMonth","valueDate","showSellect","handelChoose","bindChange","e","val","detail","toString","padStart","includes","setDays","setDay","setMonth","maxDay"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA,SAASA,OAAT,GAAmB;AACjB,MAAMC,OAAO,IAAIC,IAAJ,EAAb;AACA,MAAMC,QAAQF,KAAKG,WAAL,KAAqB,IAAnC;AACA,MAAMC,SAASJ,KAAKK,QAAL,EAAf;AACA,MAAMC,OAAON,KAAKO,OAAL,KAAiB,CAA9B;AACA,SAAO,CAACL,KAAD,EAAQE,MAAR,EAAgBE,IAAhB,CAAP;AACD;AACDE,UA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ar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 9);\n","function nowDate() {\n const date = new Date();\n const years = date.getFullYear() - 1925;\n const months = date.getMonth();\n const days = date.getDate() - 1;\n return [years, months, days];\n}\nComponent({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\", \"select-icon\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n },\n data: {\n date: new Date(),\n years: [],\n year: \"\",\n months: [],\n month: \"\",\n days: [],\n day: \"\",\n showActionsheet: false,\n selectValue: nowDate(),\n text: \"\",\n },\n\n observers: {\n value: function () {\n this.initDate(this.data.value);\n },\n },\n lifetimes: {\n ready() {\n // this.initDate(this.data.value);\n },\n },\n methods: {\n initDate(value = \"\") {\n const date = new Date();\n const years = [];\n const months = [];\n const days = [];\n for (let i = 1925; i <= date.getFullYear() + 10; i++) {\n years.push(i);\n }\n\n for (let i = 1; i <= 12; i++) {\n months.push(i);\n }\n\n for (let i = 1; i <= 31; i++) {\n days.push(i);\n }\n this.setData({\n years: years,\n months: months,\n days: days,\n });\n if (value) {\n const valueDates = new Date(value.replace(/-/g, \"/\"));\n const valueYear = valueDates.getFullYear() - 1925;\n const valueMonth = valueDates.getMonth();\n const valueDate = valueDates.getDate() - 1;\n\n this.setData({\n selectValue: [valueYear, valueMonth, valueDate],\n text:\n this.data.years[valueYear] + \"年\" + this.data.months[valueMonth] + \"月\" + this.data.days[valueDate] + \"日\",\n });\n } else {\n this.setData({\n selectValue: nowDate(),\n text: \"\",\n });\n }\n },\n showSellect() {\n if (this.data.disabled) return;\n\n this.setData({\n showActionsheet: true,\n });\n },\n handelChoose() {\n const year = this.data.year || this.data.years[this.data.selectValue[0]];\n const month = this.data.month || this.data.months[this.data.selectValue[1]];\n const day = this.data.day || this.data.days[this.data.selectValue[2]];\n\n this.setData({\n showActionsheet: false,\n text: year + \"年\" + month + \"月\" + day + \"日\",\n value: year + \"-\" + month + \"-\" + day,\n });\n },\n bindChange(e) {\n const val = e.detail.value;\n\n this.setData({\n year: this.data.years[val[0]],\n month: this.data.months[val[1]].toString().padStart(2, \"0\"),\n day: this.data.days[val[2]].toString().padStart(2, \"0\"),\n });\n if ([0, 2, 4, 6, 7, 9, 11].includes(val[1])) {\n this.setDays(31);\n } else if ([3, 5, 8, 10].includes(val[1])) {\n this.setDays(30);\n if (val[2] > 29) {\n this.setDay(29);\n }\n } else if (this.data.years[val[0]] % 4 == 0) {\n this.setDays(29);\n if (val[2] > 28) {\n this.setDay(28);\n }\n } else {\n this.setDays(28);\n if (val[2] > 27) {\n this.setDay(27);\n }\n }\n },\n setMonth(month) {\n const months = [];\n for (let i = 1; i <= month; i++) {\n months.push(i);\n }\n this.setData({\n months: months,\n });\n },\n setDays(day) {\n const days = [];\n for (let i = 1; i <= day; i++) {\n days.push(i);\n }\n this.setData({\n days: days,\n });\n },\n setDay(maxDay) {\n const selectValue = this.data.selectValue;\n\n selectValue[2] = maxDay;\n this.setData({\n selectValue: selectValue,\n });\n },\n },\n});\n"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-date/index.js"],"names":["nowDate","date","Date","years","getFullYear","months","getMonth","days","getDate","Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","data","year","month","day","showActionsheet","selectValue","text","observers","initDate","lifetimes","ready","methods","i","push","setData","valueDates","replace","valueYear","valueMonth","valueDate","showSellect","handelChoose","bindChange","e","val","detail","toString","padStart","includes","setDays","setDay","setMonth","maxDay"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA,SAASA,OAAT,GAAmB;AACjB,MAAMC,OAAO,IAAIC,IAAJ,EAAb;AACA,MAAMC,QAAQF,KAAKG,WAAL,KAAqB,IAAnC;AACA,MAAMC,SAASJ,KAAKK,QAAL,EAAf;AACA,MAAMC,OAAON,KAAKO,OAAL,KAAiB,CAA9B;AACA,SAAO,CAACL,KAAD,EAAQE,MAAR,EAAgBE,IAAhB,CAAP;AACD;AACDE,UAAU;AACRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,EAA0C,aAA1C,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAi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AL,CAAY,EAAZ;AACD;AACF,OALM,MAKA;AACL,aAAKD,OAAL,CAAa,EAAb;AACA,YAAIL,IAAI,CAAJ,IAAS,EAAb,EAAiB;AACf,eAAKM,MAAL,CAAY,EAAZ;AACD;AACF;AACF,KApFM;AAqFPC,YArFO,oBAqFE7B,KArFF,EAqFS;AACd,UAAMjB,SAAS,EAAf;AACA,WAAK,IAAI2B,IAAI,CAAb,EAAgBA,KAAKV,KAArB,EAA4BU,GAA5B,EAAiC;AAC/B3B,eAAO4B,IAAP,CAAYD,CAAZ;AACD;AACD,WAAKE,OAAL,CAAa;AACX7B,gBAAQA;AADG,OAAb;AAGD,KA7FM;AA8FP4C,WA9FO,mBA8FC1B,GA9FD,EA8FM;AACX,UAAMhB,OAAO,EAAb;AACA,WAAK,IAAIyB,IAAI,CAAb,EAAgBA,KAAKT,GAArB,EAA0BS,GAA1B,EAA+B;AAC7BzB,aAAK0B,IAAL,CAAUD,CAAV;AACD;AACD,WAAKE,OAAL,CAAa;AACX3B,cAAMA;AADK,OAAb;AAGD,KAtGM;AAuGP2C,UAvGO,kBAuGAE,MAvGA,EAuGQ;AACb,UAAM3B,cAAc,KAAKL,IAAL,CAAUK,WAA9B;;AAEAA,kBAAY,CAAZ,IAAiB2B,MAAjB;AACA,WAAKlB,OAAL,CAAa;AACXT,qBAAaA;AADF,OAAb;AAGD;AA9GM;AA/CD,CAAV,E","file":"bld-form/bld-form-item/bld-form-date/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 10);\n","function nowDate() {\n const date = new Date();\n const years = date.getFullYear() - 1925;\n const months = date.getMonth();\n const days = date.getDate() - 1;\n return [years, months, days];\n}\nComponent({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\", \"select-icon\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n },\n data: {\n date: new Date(),\n years: [],\n year: \"\",\n months: [],\n month: \"\",\n days: [],\n day: \"\",\n showActionsheet: false,\n selectValue: nowDate(),\n text: \"\",\n },\n\n observers: {\n value: function () {\n this.initDate(this.data.value);\n },\n },\n lifetimes: {\n ready() {\n // this.initDate(this.data.value);\n },\n },\n methods: {\n initDate(value = \"\") {\n const date = new Date();\n const years = [];\n const months = [];\n const days = [];\n for (let i = 1925; i <= date.getFullYear() + 10; i++) {\n years.push(i);\n }\n\n for (let i = 1; i <= 12; i++) {\n months.push(i);\n }\n\n for (let i = 1; i <= 31; i++) {\n days.push(i);\n }\n this.setData({\n years: years,\n months: months,\n days: days,\n });\n if (value) {\n const valueDates = new Date(value.replace(/-/g, \"/\"));\n const valueYear = valueDates.getFullYear() - 1925;\n const valueMonth = valueDates.getMonth();\n const valueDate = valueDates.getDate() - 1;\n\n this.setData({\n selectValue: [valueYear, valueMonth, valueDate],\n text:\n this.data.years[valueYear] + \"年\" + this.data.months[valueMonth] + \"月\" + this.data.days[valueDate] + \"日\",\n });\n } else {\n this.setData({\n selectValue: nowDate(),\n text: \"\",\n });\n }\n },\n showSellect() {\n if (this.data.disabled) return;\n\n this.setData({\n showActionsheet: true,\n });\n },\n handelChoose() {\n const year = this.data.year || this.data.years[this.data.selectValue[0]];\n const month = this.data.month || this.data.months[this.data.selectValue[1]];\n const day = this.data.day || this.data.days[this.data.selectValue[2]];\n\n this.setData({\n showActionsheet: false,\n text: year + \"年\" + month + \"月\" + day + \"日\",\n value: year + \"-\" + month + \"-\" + day,\n });\n },\n bindChange(e) {\n const val = e.detail.value;\n\n this.setData({\n year: this.data.years[val[0]],\n month: this.data.months[val[1]].toString().padStart(2, \"0\"),\n day: this.data.days[val[2]].toString().padStart(2, \"0\"),\n });\n if ([0, 2, 4, 6, 7, 9, 11].includes(val[1])) {\n this.setDays(31);\n } else if ([3, 5, 8, 10].includes(val[1])) {\n this.setDays(30);\n if (val[2] > 29) {\n this.setDay(29);\n }\n } else if (this.data.years[val[0]] % 4 == 0) {\n this.setDays(29);\n if (val[2] > 28) {\n this.setDay(28);\n }\n } else {\n this.setDays(28);\n if (val[2] > 27) {\n this.setDay(27);\n }\n }\n },\n setMonth(month) {\n const months = [];\n for (let i = 1; i <= month; i++) {\n months.push(i);\n }\n this.setData({\n months: months,\n });\n },\n setDays(day) {\n const days = [];\n for (let i = 1; i <= day; i++) {\n days.push(i);\n }\n this.setData({\n days: days,\n });\n },\n setDay(maxDay) {\n const selectValue = this.data.selectValue;\n\n selectValue[2] = maxDay;\n this.setData({\n selectValue: selectValue,\n });\n },\n },\n});\n"],"sourceRoot":""}
|
|
@@ -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 = 11);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 11:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-input/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","showPlaceholder","data","methods","valueChange","event","detail","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,WAAS;AACPC,oBAAgB;AADT,GADD;AAIRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CAJT;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVF,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KAjBI;AAqBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KArBA;AAyBVK,qBAAiB;AACfP,YAAMI,OADS;AAEfF,aAAO;AAFQ;AAzBP,GALJ;AAmCRM,QAAM;AACJ;AADI,GAnCE;AAsCRC,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTT,KADS,GACCS,MAAMC,MADP,CACTV,KADS;;;AAGjB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGD;AAPM;AAtCD,CAAV,E","file":"bld-form/bld-form-item/bld-form-input/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s =
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-input/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","showPlaceholder","data","methods","valueChange","event","detail","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,WAAS;AACPC,oBAAgB;AADT,GADD;AAIRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CAJT;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVF,UAAM;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KAjBI;AAqBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KArBA;AAyBVK,qBAAiB;AACfP,YAAMI,OADS;AAEfF,aAAO;AAFQ;AAzBP,GALJ;AAmCRM,QAAM;AACJ;AADI,GAnCE;AAsCRC,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTT,KADS,GACCS,MAAMC,MADP,CACTV,KADS;;;AAGjB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGD;AAPM;AAtCD,CAAV,E","file":"bld-form/bld-form-item/bld-form-input/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 11);\n","Component({\n options: {\n styleIsolation: \"shared\",\n },\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n type: {\n type: String,\n value: \"text\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n showPlaceholder: {\n type: Boolean,\n value: true,\n },\n },\n data: {\n // value: \"\",\n },\n methods: {\n valueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n },\n },\n});\n"],"sourceRoot":""}
|
|
@@ -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 = 12);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 12:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-select-input/index.js"],"names":["Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","text","keyValue","keyLabel","showAction","disabled","showFilter","listData","Array","showPlaceholder","placeholder","valuePlaceholder","data","list","showActionsheet","selectValue","inputValue","observers","setData","initSelectText","getList","lifetimes","ready","methods","showSellect","chooseRadio","e","currentTarget","dataset","handelChoose","triggerEvent","inputValueChange","event","detail"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA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,OAAhB,CAAwB/B;AAD1B,SAAb;AAGD;AACF,KAlCM;AAmCPgC,gBAnCO,0BAmCQ;AACb,WAAKX,OAAL,CAAa;AACXrB,eAAO,KAAKe,IAAL,CAAUG,WADN;AAEXD,yBAAiB;AAFN,OAAb;AAIA,WAAKgB,YAAL,CAAkB,aAAlB;AACD,KAzCM;AA0CPC,oBA1CO,4BA0CUC,KA1CV,EA0CiB;AAAA,UACdnC,KADc,GACJmC,MAAMC,MADF,CACdpC,KADc;;;AAGtB,WAAKqB,OAAL,CAAa;AACXrB,eAAOA;AADI,OAAb;AAGA,WAAKiC,YAAL,CAAkB,aAAlB;AACD;AAjDM;AA7FD,CAAV,E","file":"bld-form/bld-form-item/bld-form-select-input/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s =
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-select-input/index.js"],"names":["Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","text","keyValue","keyLabel","showAction","disabled","showFilter","listData","Array","showPlaceholder","placeholder","valuePlaceholder","data","list","showActionsheet","selectValue","inputValue","observers","setData","initSelectText","getList","lifetimes","ready","methods","showSellect","chooseRadio","e","currentTarget","dataset","handelChoose","triggerEvent","inputValueChange","event","detail"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA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OAAb;AAGD,KA3BM;AA4BPkB,eA5BO,uBA4BKC,CA5BL,EA4BQ;AACb,UAAI,CAACA,EAAEC,aAAF,CAAgBC,OAAhB,CAAwBvB,QAA7B,EAAuC;AACrC,aAAKa,OAAL,CAAa;AACXH,uBAAaW,EAAEC,aAAF,CAAgBC,OAAhB,CAAwB/B;AAD1B,SAAb;AAGD;AACF,KAlCM;AAmCPgC,gBAnCO,0BAmCQ;AACb,WAAKX,OAAL,CAAa;AACXrB,eAAO,KAAKe,IAAL,CAAUG,WADN;AAEXD,yBAAiB;AAFN,OAAb;AAIA,WAAKgB,YAAL,CAAkB,aAAlB;AACD,KAzCM;AA0CPC,oBA1CO,4BA0CUC,KA1CV,EA0CiB;AAAA,UACdnC,KADc,GACJmC,MAAMC,MADF,CACdpC,KADc;;;AAGtB,WAAKqB,OAAL,CAAa;AACXrB,eAAOA;AADI,OAAb;AAGA,WAAKiC,YAAL,CAAkB,aAAlB;AACD;AAjDM;AA7FD,CAAV,E","file":"bld-form/bld-form-item/bld-form-select-input/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 12);\n","Component({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\", \"select-icon\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n text: {\n type: String,\n value: \"\",\n },\n keyValue: {\n type: String,\n value: \"value\",\n },\n keyLabel: {\n type: String,\n value: \"label\",\n },\n showAction: {\n type: Boolean,\n value: false,\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n showFilter: {\n type: Boolean,\n value: true,\n },\n listData: {\n type: Array,\n value: [],\n },\n showPlaceholder: {\n type: Boolean,\n value: true,\n },\n placeholder: {\n type: String,\n value: \"\",\n },\n valuePlaceholder: {\n type: String,\n value: \"\",\n },\n },\n data: {\n list: [],\n showActionsheet: false,\n selectValue: \"\",\n inputValue: \"\",\n },\n\n observers: {\n showAction: function () {\n this.setData({\n showActionsheet: this.properties.showAction,\n selectValue: this.data.value,\n });\n },\n value: function () {\n this.initSelectText();\n },\n list: function () {\n this.initSelectText();\n },\n listData: function () {\n this.getList();\n },\n },\n lifetimes: {\n ready() {\n this.setData({\n selectValue: this.data.value,\n inputValue: this.data.value,\n });\n },\n },\n\n methods: {\n initSelectText() {\n if (!this.data.value) {\n this.setData({\n selectValue: \"\",\n inputValue: \"\",\n });\n\n return;\n }\n\n this.setData({\n selectValue: this.data.value,\n inputValue: this.data.value,\n });\n },\n showSellect() {\n if (this.data.disabled) return;\n\n this.setData({\n showActionsheet: true,\n });\n },\n getList() {\n this.setData({\n list: this.data.listData,\n });\n },\n chooseRadio(e) {\n if (!e.currentTarget.dataset.disabled) {\n this.setData({\n selectValue: e.currentTarget.dataset.value,\n });\n }\n },\n handelChoose() {\n this.setData({\n value: this.data.selectValue,\n showActionsheet: false,\n });\n this.triggerEvent(\"valueChange\");\n },\n inputValueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n this.triggerEvent(\"valueChange\");\n },\n },\n});\n"],"sourceRoot":""}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</view>
|
|
15
15
|
<view class="item-value-box">
|
|
16
16
|
<text overflow="ellipsis" class="item-value-text form-value {{value?'':'value-placeholder'}}">{{value?value:valuePlaceholder?valuePlaceholder:showPlaceholder?"请选择"+label:""}}</text>
|
|
17
|
-
<cloud-image
|
|
17
|
+
<bld-cloud-image
|
|
18
18
|
iclass="arrow-icon select-icon"
|
|
19
19
|
src="my/arrow.png"
|
|
20
20
|
/>
|
|
@@ -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 = 13);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 13:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-step/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","step","Number","data","methods","valueChange","event","detail","setData","reduce","add"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,WAAS;AACPC,oBAAgB;AADT,GADD;AAIRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CAJT;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KAjBA;AAqBVK,UAAM;AACJP,YAAMQ,MADF;AAEJN,aAAO;AAFH;AArBI,GALJ;AA+BRO,QAAM;AACJP,WAAO;AADH,GA/BE;AAkCRQ,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTV,KADS,GACCU,MAAMC,MADP,CACTX,KADS;;;AAGjB,WAAKY,OAAL,CAAa;AACXZ,eAAOA;AADI,OAAb;AAGD,KAPM;AAQPa,UARO,oBAQE;AACP,UAAI,KAAKN,IAAL,CAAUP,KAAd,EAAqB;AACnB,aAAKY,OAAL,CAAa;AACXZ,iBAAOM,OAAO,KAAKC,IAAL,CAAUP,KAAjB,IAA0BM,OAAO,KAAKC,IAAL,CAAUF,IAAjB;AADtB,SAAb;AAGD;AACF,KAdM;AAePS,OAfO,iBAeD;AACJ,UAAI,KAAKP,IAAL,CAAUP,KAAd,EAAqB;AACnB,aAAKY,OAAL,CAAa;AACXZ,iBAAOM,OAAO,KAAKC,IAAL,CAAUP,KAAjB,IAA0BM,OAAO,KAAKC,IAAL,CAAUF,IAAjB;AADtB,SAAb;AAGD;AACF;AArBM;AAlCD,CAAV,E","file":"bld-form/bld-form-item/bld-form-step/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s =
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-step/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","step","Number","data","methods","valueChange","event","detail","setData","reduce","add"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,WAAS;AACPC,oBAAgB;AADT,GADD;AAIRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CAJT;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KAjBA;AAqBVK,UAAM;AACJP,YAAMQ,MADF;AAEJN,aAAO;AAFH;AArBI,GALJ;AA+BRO,QAAM;AACJP,WAAO;AADH,GA/BE;AAkCRQ,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTV,KADS,GACCU,MAAMC,MADP,CACTX,KADS;;;AAGjB,WAAKY,OAAL,CAAa;AACXZ,eAAOA;AADI,OAAb;AAGD,KAPM;AAQPa,UARO,oBAQE;AACP,UAAI,KAAKN,IAAL,CAAUP,KAAd,EAAqB;AACnB,aAAKY,OAAL,CAAa;AACXZ,iBAAOM,OAAO,KAAKC,IAAL,CAAUP,KAAjB,IAA0BM,OAAO,KAAKC,IAAL,CAAUF,IAAjB;AADtB,SAAb;AAGD;AACF,KAdM;AAePS,OAfO,iBAeD;AACJ,UAAI,KAAKP,IAAL,CAAUP,KAAd,EAAqB;AACnB,aAAKY,OAAL,CAAa;AACXZ,iBAAOM,OAAO,KAAKC,IAAL,CAAUP,KAAjB,IAA0BM,OAAO,KAAKC,IAAL,CAAUF,IAAjB;AADtB,SAAb;AAGD;AACF;AArBM;AAlCD,CAAV,E","file":"bld-form/bld-form-item/bld-form-step/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 13);\n","Component({\n options: {\n styleIsolation: \"shared\",\n },\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n step: {\n type: Number,\n value: 1,\n },\n },\n data: {\n value: \"\",\n },\n methods: {\n valueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n },\n reduce() {\n if (this.data.value) {\n this.setData({\n value: Number(this.data.value) - Number(this.data.step),\n });\n }\n },\n add() {\n if (this.data.value) {\n this.setData({\n value: Number(this.data.value) + Number(this.data.step),\n });\n }\n },\n },\n});\n"],"sourceRoot":""}
|
|
@@ -82,12 +82,12 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 14);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 14:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-switch/index.js"],"names":["Component","externalClasses","properties","label","type","String","value","labelWidth","Boolean","disabled","color","data","lifetimes","methods","switchChange","event","detail","setData","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,gBAAY;AACVH,YAAMC,MADI;AAEVC,aAAO;AAFG,KALF;;AAUVA,WAAO;AACLF,YAAMI,OADD;AAELF,aAAO;AAFF,KAVG;AAcVG,cAAU;AACRL,YAAMI,OADE;AAERF,aAAO;AAFC,KAdA;AAkBVI,WAAO;AACLN,YAAMC,MADD;AAELC,aAAO;AAFF;AAlBG,GAFJ;AAyBRK,QAAM,EAzBE;AA0BRC,aAAW,EA1BH;AA2BRC,WAAS;AACPC,gBADO,wBACMC,KADN,EACa;AAAA,UACZT,KADY,GACFS,MAAMC,MADJ,CACZV,KADY;;AAElB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGA,WAAKY,YAAL,CAAkB,iBAAlB,EAAqCZ,KAArC;AACD;AAPM;AA3BD,CAAV,E","file":"bld-form/bld-form-item/bld-form-switch/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s =
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-switch/index.js"],"names":["Component","externalClasses","properties","label","type","String","value","labelWidth","Boolean","disabled","color","data","lifetimes","methods","switchChange","event","detail","setData","triggerEvent"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,gBAAY;AACVH,YAAMC,MADI;AAEVC,aAAO;AAFG,KALF;;AAUVA,WAAO;AACLF,YAAMI,OADD;AAELF,aAAO;AAFF,KAVG;AAcVG,cAAU;AACRL,YAAMI,OADE;AAERF,aAAO;AAFC,KAdA;AAkBVI,WAAO;AACLN,YAAMC,MADD;AAELC,aAAO;AAFF;AAlBG,GAFJ;AAyBRK,QAAM,EAzBE;AA0BRC,aAAW,EA1BH;AA2BRC,WAAS;AACPC,gBADO,wBACMC,KADN,EACa;AAAA,UACZT,KADY,GACFS,MAAMC,MADJ,CACZV,KADY;;AAElB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGA,WAAKY,YAAL,CAAkB,iBAAlB,EAAqCZ,KAArC;AACD;AAPM;AA3BD,CAAV,E","file":"bld-form/bld-form-item/bld-form-switch/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 14);\n","Component({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\n properties: {\n label: {\n type: String,\n value: \"\"\n },\n labelWidth: {\n type: String,\n value: \"auto\"\n },\n\n value: {\n type: Boolean,\n value: false\n },\n disabled: {\n type: Boolean,\n value: false\n },\n color: {\n type: String,\n value: \"#FF0007\"\n }\n },\n data: {},\n lifetimes: {},\n methods: {\n switchChange(event) {\n let { value } = event.detail\n this.setData({\n value: value\n })\n this.triggerEvent('bldSwitchChange', value);\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 = 15);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 15:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-textarea/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","autoHeight","data","methods","valueChange","event","detail","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,WAAS;AACPC,oBAAgB;AADT,GADD;AAIRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CAJT;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KAjBA;AAqBVK,gBAAY;AACVP,YAAMI,OADI;AAEVF,aAAO;AAFG;AArBF,GALJ;AA+BRM,QAAM;AACJN,WAAO;AADH,GA/BE;AAkCRO,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTT,KADS,GACCS,MAAMC,MADP,CACTV,KADS;;;AAGjB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGD;AAPM;AAlCD,CAAV,E","file":"bld-form/bld-form-item/bld-form-textarea/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s =
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-textarea/index.js"],"names":["Component","options","styleIsolation","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","autoHeight","data","methods","valueChange","event","detail","setData"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,WAAS;AACPC,oBAAgB;AADT,GADD;AAIRC,mBAAiB,CAAC,WAAD,EAAc,YAAd,EAA4B,YAA5B,CAJT;AAKRC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,cAAU;AACRH,YAAMI,OADE;AAERF,aAAO;AAFC,KALA;AASVG,gBAAY;AACVL,YAAMC,MADI;AAEVC,aAAO;AAFG,KATF;AAaVA,WAAO;AACLF,YAAMC,MADD;AAELC,aAAO;AAFF,KAbG;AAiBVI,cAAU;AACRN,YAAMI,OADE;AAERF,aAAO;AAFC,KAjBA;AAqBVK,gBAAY;AACVP,YAAMI,OADI;AAEVF,aAAO;AAFG;AArBF,GALJ;AA+BRM,QAAM;AACJN,WAAO;AADH,GA/BE;AAkCRO,WAAS;AACPC,eADO,uBACKC,KADL,EACY;AAAA,UACTT,KADS,GACCS,MAAMC,MADP,CACTV,KADS;;;AAGjB,WAAKW,OAAL,CAAa;AACXX,eAAOA;AADI,OAAb;AAGD;AAPM;AAlCD,CAAV,E","file":"bld-form/bld-form-item/bld-form-textarea/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 15);\n","Component({\n options: {\n styleIsolation: \"shared\",\n },\n externalClasses: [\"form-item\", \"form-label\", \"form-value\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n autoHeight: {\n type: Boolean,\n value: false,\n },\n },\n data: {\n value: \"\",\n },\n methods: {\n valueChange(event) {\n const { value } = event.detail;\n\n this.setData({\n value: value,\n });\n },\n },\n});\n"],"sourceRoot":""}
|
|
@@ -82,12 +82,12 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 16);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 16:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-time/index.js"],"names":["nowDate","date","Date","h","getHours","m","getMinutes","s","getSeconds","hours","minutes","seconds","i","push","toString","padStart","Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","data","hour","minute","second","showActionsheet","selectValue","text","observers","initDate","methods","valueDates","slice","setData","Number","showSellect","handelChoose","bindChange","e","val","detail"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAk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AL,CAAUhB,OAAV,CAAkBkC,IAAI,CAAJ,CAAlB;AAHG,OAAb;AAKD;AA7CM;AA1CD,CAAV,E","file":"bld-form/bld-form-item/bld-form-time/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s =
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-form/bld-form-item/bld-form-time/index.js"],"names":["nowDate","date","Date","h","getHours","m","getMinutes","s","getSeconds","hours","minutes","seconds","i","push","toString","padStart","Component","externalClasses","properties","label","type","String","value","required","Boolean","labelWidth","disabled","data","hour","minute","second","showActionsheet","selectValue","text","observers","initDate","methods","valueDates","slice","setData","Number","showSellect","handelChoose","bindChange","e","val","detail"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;Q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D,KAzBM;AA0BPW,gBA1BO,0BA0BQ;AACb,UAAMd,OAAO,KAAKD,IAAL,CAAUC,IAAV,IAAkB,KAAKD,IAAL,CAAUlB,KAAV,CAAgB+B,OAAO,KAAKb,IAAL,CAAUK,WAAV,CAAsB,CAAtB,CAAP,CAAhB,CAA/B;AACA,UAAMH,SAAS,KAAKF,IAAL,CAAUE,MAAV,IAAoB,KAAKF,IAAL,CAAUjB,OAAV,CAAkB8B,OAAO,KAAKb,IAAL,CAAUK,WAAV,CAAsB,CAAtB,CAAP,CAAlB,CAAnC;AACA,UAAMF,SAAS,KAAKH,IAAL,CAAUG,MAAV,IAAoB,KAAKH,IAAL,CAAUhB,OAAV,CAAkB6B,OAAO,KAAKb,IAAL,CAAUK,WAAV,CAAsB,CAAtB,CAAP,CAAlB,CAAnC;;AAEA,WAAKO,OAAL,CAAa;AACXR,yBAAiB,KADN;AAEXE,cAAML,OAAO,GAAP,GAAaC,MAAb,GAAsB,GAAtB,GAA4BC,MAFvB;AAGXR,eAAOM,OAAO,GAAP,GAAaC,MAAb,GAAsB,GAAtB,GAA4BC;AAHxB,OAAb;AAKD,KApCM;AAqCPa,cArCO,sBAqCIC,CArCJ,EAqCO;AACZ,UAAMC,MAAMD,EAAEE,MAAF,CAASxB,KAArB;;AAEA,WAAKiB,OAAL,CAAa;AACXX,cAAM,KAAKD,IAAL,CAAUlB,KAAV,CAAgBoC,IAAI,CAAJ,CAAhB,CADK;AAEXhB,gBAAQ,KAAKF,IAAL,CAAUjB,OAAV,CAAkBmC,IAAI,CAAJ,CAAlB,CAFG;AAGXf,gBAAQ,KAAKH,IAAL,CAAUhB,OAAV,CAAkBkC,IAAI,CAAJ,CAAlB;AAHG,OAAb;AAKD;AA7CM;AA1CD,CAAV,E","file":"bld-form/bld-form-item/bld-form-time/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 16);\n","function nowDate() {\n const date = new Date();\n const h = date.getHours();\n const m = date.getMinutes();\n const s = date.getSeconds();\n return [h, m, s];\n}\n\nconst hours = [];\nconst minutes = [];\nconst seconds = [];\nfor (let i = 0; i < 24; i++) {\n hours.push(i.toString().padStart(2, \"0\"));\n}\nfor (let i = 0; i < 60; i++) {\n minutes.push(i.toString().padStart(2, \"0\"));\n seconds.push(i.toString().padStart(2, \"0\"));\n}\nComponent({\n externalClasses: [\"form-item\", \"form-label\", \"form-value\", \"select-icon\"],\n properties: {\n label: {\n type: String,\n value: \"\",\n },\n required: {\n type: Boolean,\n value: false,\n },\n labelWidth: {\n type: String,\n value: \"auto\",\n },\n value: {\n type: String,\n value: \"\",\n },\n disabled: {\n type: Boolean,\n value: false,\n },\n },\n data: {\n date: new Date(),\n hours: hours,\n hour: \"\",\n minutes: minutes,\n minute: \"\",\n seconds: seconds,\n second: \"\",\n showActionsheet: false,\n selectValue: nowDate(),\n text: \"\",\n },\n\n observers: {\n value: function () {\n this.initDate(this.data.value);\n },\n },\n methods: {\n initDate(value = \"\") {\n if (value) {\n const valueDates = new Date(value);\n const h = value.slice(0, 2);\n const m = value.slice(3, 5);\n const s = value.slice(6, 8);\n\n this.setData({\n selectValue: [h, m, s],\n text: this.data.hours[Number(h)] + \":\" + this.data.minutes[Number(m)] + \":\" + this.data.seconds[Number(s)],\n });\n } else {\n this.setData({\n selectValue: nowDate(),\n text: \"\",\n });\n }\n },\n showSellect() {\n if (this.data.disabled) return;\n\n this.setData({\n showActionsheet: true,\n });\n },\n handelChoose() {\n const hour = this.data.hour || this.data.hours[Number(this.data.selectValue[0])];\n const minute = this.data.minute || this.data.minutes[Number(this.data.selectValue[1])];\n const second = this.data.second || this.data.seconds[Number(this.data.selectValue[2])];\n\n this.setData({\n showActionsheet: false,\n text: hour + \":\" + minute + \":\" + second,\n value: hour + \":\" + minute + \":\" + second,\n });\n },\n bindChange(e) {\n const val = e.detail.value;\n\n this.setData({\n hour: this.data.hours[val[0]],\n minute: this.data.minutes[val[1]],\n second: this.data.seconds[val[2]],\n });\n },\n },\n});\n"],"sourceRoot":""}
|
|
@@ -82,12 +82,12 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 17);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 17:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-loading/index.js"],"names":["Component","externalClasses","properties","text","type","String","value"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,YAAD,EAAe,WAAf,CADT;AAERC,cAAY;AACVC,UAAM;AACJC,YAAMC,MADF;AAEJC,aAAO;AAFH;AADI;AAFJ,CAAV,E","file":"bld-loading/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-loading/index.js"],"names":["Component","externalClasses","properties","text","type","String","value"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFAA,UAAU;AACRC,mBAAiB,CAAC,YAAD,EAAe,WAAf,CADT;AAERC,cAAY;AACVC,UAAM;AACJC,YAAMC,MADF;AAEJC,aAAO;AAFH;AADI;AAFJ,CAAV,E","file":"bld-loading/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 17);\n","Component({\n externalClasses: [\"icon-class\", \"tip-class\"],\n properties: {\n text: {\n type: String,\n value: \"努力加载中\",\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 = 19);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 19:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -143,7 +143,6 @@ Component({
|
|
|
143
143
|
var totalHeight = menuButtonInfo.top + menuButtonInfo.height + gap;
|
|
144
144
|
|
|
145
145
|
this.triggerEvent("height-change", totalHeight);
|
|
146
|
-
console.log(77777);
|
|
147
146
|
// let version = systemInfo.SDKVersion
|
|
148
147
|
// version = version.replace(/\./g, "")
|
|
149
148
|
// if(version.length == 3) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-nav-bar/index.js"],"names":["app","getApp","deviceInfo","globalData","systemInfo","noticeText","menuButtonInfo","menuButtonDistance","screenWidth","statusBarHeight","gap","top","padding","right","_baseStyle","height","width","res","wx","getMenuButtonBoundingClientRect","Component","externalClasses","options","multipleSlots","properties","bgColor","type","String","goBack","Boolean","value","showTitle","showShare","textAlign","data","style","join","titleStyle","lifetimes","ready","totalHeight","triggerEvent","console","log","observers","_style","push","setData","createSelectorQuery","select","boundingClientRect","exec","methods","navigateHome","switchTab","url","navigateBack","pages","getCurrentPages","length"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;AClFA,IAAMA,MAAMC,QAAZ;;AAEA,IAAMC,aAAaF,IAAIG,UAAJ,CAAeD,UAAlC;AACA,IAAME,aAAaJ,IAAIG,UAAJ,CAAeC,UAAlC;AACA,IAAMC,aAAaL,IAAIG,UAAJ,CAAeE,UAAlC;AACA,IAAMC,iBAAiBN,IAAIG,UAAJ,CAAeI,kBAAtC;AACA,IAAMC,cAAcJ,WAAW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J,EAAa;AACX,YAAMoB,mBAAa/B,UAAb,CAAN;;AAEA+B,eAAOC,IAAP,wBAAiCrB,QAAjC;AACA,aAAKsB,OAAL,CAAa;AACXZ,iBAAOU,OAAOT,IAAP,CAAY,GAAZ;AADI,SAAb;AAGD,OAPD,MAOO;AACL,aAAKW,OAAL,CAAa;AACXZ,iBAAOrB,WAAWsB,IAAX,CAAgB,GAAhB;AADI,SAAb;AAGD;AACF,KAdQ;;AAgBTR,YAAQ,gBAAUA,OAAV,EAAkB;AAAA;;AACxB,UAAI,KAAKM,IAAL,CAAUD,SAAV,IAAuB,MAA3B,EAAmC;AACjC,aAAKc,OAAL,CAAa;AACXV,sEAA0D,CAAC,KAAKzB,OAAN,IAAiB,CAA3E;AADW,SAAb;AAGA;AACD;;AAED,UAAIgB,OAAJ,EAAY;AACV,aAAKoB,mBAAL,GACGC,MADH,CACU,aADV,EAEGC,kBAFH,CAEsB,UAACjC,GAAD,EAAS;AAC3B,gBAAK8B,OAAL,CAAa;AACXV,2CAA6B,CAAC/B,eAAeU,KAAf,GAAuBJ,OAAvB,GAAiCK,IAAIF,MAAtC,IAAgD,CAA7E;AADW,WAAb;AAGD,SANH,EAOGoC,IAPH;AAQD,OATD,MASO;AACL,aAAKJ,OAAL,CAAa;AACXV,yCAA6B,CAAC/B,eAAeU,KAAf,GAAuBJ,OAAxB,IAAmC,CAAhE;AADW,SAAb;AAGD;AACF;AAtCQ,GAnDH;AA2FRwC,WAAS;AACPC,gBADO,0BACQ;AACbnC,SAAGoC,SAAH,CAAa;AACXC,aAAK;AADM,OAAb;AAGD,KALM;AAOPC,gBAPO,0BAOQ;AACb,UAAMC,QAAQC,iBAAd;;AAEA,UAAID,MAAME,MAAN,GAAe,CAAnB,EAAsB;AACpBzC,WAAGsC,YAAH;;AAEA;AACD;;AAED,WAAKH,YAAL;AACD;AAjBM;AA3FD,CAAV,E","file":"bld-nav-bar/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 18);\n","const app = getApp();\n\nconst deviceInfo = app.globalData.deviceInfo;\nconst systemInfo = app.globalData.systemInfo;\nconst noticeText = app.globalData.noticeText;\nconst menuButtonInfo = app.globalData.menuButtonDistance;\nconst screenWidth = systemInfo.screenWidth;\n\nconst statusBarHeight = systemInfo.statusBarHeight;\nconst gap = menuButtonInfo.top - statusBarHeight;\nconst padding = screenWidth - menuButtonInfo.right;\nconst _baseStyle = [\n `padding-top: ${menuButtonInfo.top}px`,\n `padding-bottom: ${gap}px`,\n `line-height: ${menuButtonInfo.height}px`,\n `height: ${menuButtonInfo.height}px`,\n `padding-left: ${padding}px`,\n `padding-right: ${padding * 2 + menuButtonInfo.width}px`,\n `width: calc(100% - ${3 * padding + menuButtonInfo.width}px)`,\n];\nconst res = wx.getMenuButtonBoundingClientRect();\nComponent({\n externalClasses: [\"iclass\"],\n options: {\n multipleSlots: true, // 在组件定义时的选项中启用多slot支持\n },\n properties: {\n bgColor: {\n type: String,\n },\n goBack: {\n type: Boolean,\n value: false,\n },\n showTitle: {\n type: Boolean,\n value: true,\n },\n showShare: {\n type: Boolean,\n value: false,\n },\n textAlign: {\n type: String,\n value: \"left\",\n },\n },\n data: {\n style: _baseStyle.join(\";\"),\n titleStyle: \"\",\n top: res.height + res.top,\n noticeText\n },\n lifetimes: {\n ready() {\n const totalHeight = menuButtonInfo.top + menuButtonInfo.height + gap;\n\n this.triggerEvent(\"height-change\", totalHeight);\n console.log(77777)\n // let version = systemInfo.SDKVersion\n // version = version.replace(/\\./g, \"\")\n // if(version.length == 3) {\n // version =version + \"0\"\n // }\n // console.log('该版本号为: '+ version)\n // if (parseInt(version) <= 3700) {\n // this.setData({\n // noticeText:\"检测到您的微信版本过低,部分功能或许无法使用,请升级微信至最新版本!!!\"\n // })\n // }\n },\n },\n observers: {\n bgColor: function (bgColor) {\n if (bgColor) {\n const _style = [..._baseStyle];\n\n _style.push(`background-color: ${bgColor}`);\n this.setData({\n style: _style.join(\";\"),\n });\n } else {\n this.setData({\n style: _baseStyle.join(\";\"),\n });\n }\n },\n\n goBack: function (goBack) {\n if (this.data.textAlign == \"left\") {\n this.setData({\n titleStyle: `justify-content: flex-start; padding-left: ${(12 - padding) * 2}rpx;`,\n });\n return;\n }\n\n if (goBack) {\n this.createSelectorQuery()\n .select(\".operations\")\n .boundingClientRect((res) => {\n this.setData({\n titleStyle: `padding-left: ${(menuButtonInfo.width - padding - res.height) * 2}rpx`,\n });\n })\n .exec();\n } else {\n this.setData({\n titleStyle: `padding-left: ${(menuButtonInfo.width - padding) * 2}rpx`,\n });\n }\n },\n },\n methods: {\n navigateHome() {\n wx.switchTab({\n url: \"/pages/home/index\",\n });\n },\n\n navigateBack() {\n const pages = getCurrentPages();\n\n if (pages.length > 1) {\n wx.navigateBack();\n\n return;\n }\n\n this.navigateHome();\n },\n },\n});\n"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-nav-bar/index.js"],"names":["app","getApp","deviceInfo","globalData","systemInfo","noticeText","menuButtonInfo","menuButtonDistance","screenWidth","statusBarHeight","gap","top","padding","right","_baseStyle","height","width","res","wx","getMenuButtonBoundingClientRect","Component","externalClasses","options","multipleSlots","properties","bgColor","type","String","goBack","Boolean","value","showTitle","showShare","textAlign","data","style","join","titleStyle","lifetimes","ready","totalHeight","triggerEvent","observers","_style","push","setData","createSelectorQuery","select","boundingClientRect","exec","methods","navigateHome","switchTab","url","navigateBack","pages","getCurrentPages","length"],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ACD;;AAED,UAAIgB,OAAJ,EAAY;AACV,aAAKkB,mBAAL,GACGC,MADH,CACU,aADV,EAEGC,kBAFH,CAEsB,UAAC/B,GAAD,EAAS;AAC3B,gBAAK4B,OAAL,CAAa;AACXR,2CAA6B,CAAC/B,eAAeU,KAAf,GAAuBJ,OAAvB,GAAiCK,IAAIF,MAAtC,IAAgD,CAA7E;AADW,WAAb;AAGD,SANH,EAOGkC,IAPH;AAQD,OATD,MASO;AACL,aAAKJ,OAAL,CAAa;AACXR,yCAA6B,CAAC/B,eAAeU,KAAf,GAAuBJ,OAAxB,IAAmC,CAAhE;AADW,SAAb;AAGD;AACF;AAtCQ,GAlDH;AA0FRsC,WAAS;AACPC,gBADO,0BACQ;AACbjC,SAAGkC,SAAH,CAAa;AACXC,aAAK;AADM,OAAb;AAGD,KALM;AAOPC,gBAPO,0BAOQ;AACb,UAAMC,QAAQC,iBAAd;;AAEA,UAAID,MAAME,MAAN,GAAe,CAAnB,EAAsB;AACpBvC,WAAGoC,YAAH;;AAEA;AACD;;AAED,WAAKH,YAAL;AACD;AAjBM;AA1FD,CAAV,E","file":"bld-nav-bar/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 19);\n","const app = getApp();\n\nconst deviceInfo = app.globalData.deviceInfo;\nconst systemInfo = app.globalData.systemInfo;\nconst noticeText = app.globalData.noticeText;\nconst menuButtonInfo = app.globalData.menuButtonDistance;\nconst screenWidth = systemInfo.screenWidth;\n\nconst statusBarHeight = systemInfo.statusBarHeight;\nconst gap = menuButtonInfo.top - statusBarHeight;\nconst padding = screenWidth - menuButtonInfo.right;\nconst _baseStyle = [\n `padding-top: ${menuButtonInfo.top}px`,\n `padding-bottom: ${gap}px`,\n `line-height: ${menuButtonInfo.height}px`,\n `height: ${menuButtonInfo.height}px`,\n `padding-left: ${padding}px`,\n `padding-right: ${padding * 2 + menuButtonInfo.width}px`,\n `width: calc(100% - ${3 * padding + menuButtonInfo.width}px)`,\n];\nconst res = wx.getMenuButtonBoundingClientRect();\nComponent({\n externalClasses: [\"iclass\"],\n options: {\n multipleSlots: true, // 在组件定义时的选项中启用多slot支持\n },\n properties: {\n bgColor: {\n type: String,\n },\n goBack: {\n type: Boolean,\n value: false,\n },\n showTitle: {\n type: Boolean,\n value: true,\n },\n showShare: {\n type: Boolean,\n value: false,\n },\n textAlign: {\n type: String,\n value: \"left\",\n },\n },\n data: {\n style: _baseStyle.join(\";\"),\n titleStyle: \"\",\n top: res.height + res.top,\n noticeText\n },\n lifetimes: {\n ready() {\n const totalHeight = menuButtonInfo.top + menuButtonInfo.height + gap;\n\n this.triggerEvent(\"height-change\", totalHeight);\n // let version = systemInfo.SDKVersion\n // version = version.replace(/\\./g, \"\")\n // if(version.length == 3) {\n // version =version + \"0\"\n // }\n // console.log('该版本号为: '+ version)\n // if (parseInt(version) <= 3700) {\n // this.setData({\n // noticeText:\"检测到您的微信版本过低,部分功能或许无法使用,请升级微信至最新版本!!!\"\n // })\n // }\n },\n },\n observers: {\n bgColor: function (bgColor) {\n if (bgColor) {\n const _style = [..._baseStyle];\n\n _style.push(`background-color: ${bgColor}`);\n this.setData({\n style: _style.join(\";\"),\n });\n } else {\n this.setData({\n style: _baseStyle.join(\";\"),\n });\n }\n },\n\n goBack: function (goBack) {\n if (this.data.textAlign == \"left\") {\n this.setData({\n titleStyle: `justify-content: flex-start; padding-left: ${(12 - padding) * 2}rpx;`,\n });\n return;\n }\n\n if (goBack) {\n this.createSelectorQuery()\n .select(\".operations\")\n .boundingClientRect((res) => {\n this.setData({\n titleStyle: `padding-left: ${(menuButtonInfo.width - padding - res.height) * 2}rpx`,\n });\n })\n .exec();\n } else {\n this.setData({\n titleStyle: `padding-left: ${(menuButtonInfo.width - padding) * 2}rpx`,\n });\n }\n },\n },\n methods: {\n navigateHome() {\n wx.switchTab({\n url: \"/pages/home/index\",\n });\n },\n\n navigateBack() {\n const pages = getCurrentPages();\n\n if (pages.length > 1) {\n wx.navigateBack();\n\n return;\n }\n\n this.navigateHome();\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 = 18);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 18:
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-notice-bar/index.js"],"names":["Component","externalClasses","options","addGlobalClass","multipleSlots","properties","delay","type","Number","value","speed","scrollable","Boolean","multiline","data","delaySec","lifetimes","ready","getContainerWidth","methods","query","createSelectorQuery","select","boundingClientRect","exec","wrapW","wx","getSystemInfoSync","windowWidth","noticeW","res","width","containW","setData","parseInt"],"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,kB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ElD;AACA,YAAIO,YAAYH,OAAhB,EAAyB;AACvB,gBAAKI,OAAL,CAAa;AACXtB,wBAAY;AADD,WAAb;;AAIA;AACD;;AAED,YAAMI,WAAWiB,WAAW,MAAKlB,IAAL,CAAUJ,KAAtC;;AAEA,cAAKuB,OAAL,CAAa;AACXlB,oBAAUmB,SAASnB,QAAT;AADC,SAAb;AAGD,OAnBD;AAoBD;AA1BM;AAxCD,CAAV,E","file":"bld-notice-bar/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-notice-bar/index.js"],"names":["Component","externalClasses","options","addGlobalClass","multipleSlots","properties","delay","type","Number","value","speed","scrollable","Boolean","multiline","data","delaySec","lifetimes","ready","getContainerWidth","methods","query","createSelectorQuery","select","boundingClientRect","exec","wrapW","wx","getSystemInfoSync","windowWidth","noticeW","res","width","containW","setData","parseInt"],"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;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AAIA;AACD;;AAED,YAAMI,WAAWiB,WAAW,MAAKlB,IAAL,CAAUJ,KAAtC;;AAEA,cAAKuB,OAAL,CAAa;AACXlB,oBAAUmB,SAASnB,QAAT;AADC,SAAb;AAGD,OAnBD;AAoBD;AA1BM;AAxCD,CAAV,E","file":"bld-notice-bar/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 18);\n","Component({\n externalClasses: ['iclass'],\n \n options: {\n addGlobalClass: true,\n multipleSlots: true // 在组件定义时的选项中启用多slot支持\n },\n \n properties: {\n // 延迟播放时长\n delay: {\n type: Number,\n value: 1\n },\n // 滚动速度 rpx/s\n speed: {\n type: Number,\n value: 150\n },\n // 长度溢出时自动滚动播放\n scrollable: {\n type: Boolean,\n value: true\n },\n multiline: {\n type: Boolean,\n value: false\n }\n },\n\n data: {\n delaySec: 0,\n },\n\n lifetimes: {\n ready() {\n this.getContainerWidth()\n }\n },\n\n methods: {\n getContainerWidth() {\n const query = this.createSelectorQuery()\n query.select('.m-notice-bar').boundingClientRect()\n query.select('.m-notice-bar__content').boundingClientRect()\n\n query.exec(res => {\n const wrapW = wx.getSystemInfoSync().windowWidth // 容器宽度\n const noticeW = (res[0].width) * (750 / wrapW)\n const containW = (res[1].width) * (750 / wrapW) // 内容宽度(折合为rpx)\n \n // 内容宽度小于内容区域宽度,则不滚动\n if (containW <= noticeW) {\n this.setData({\n scrollable: false\n })\n\n return;\n }\n\n const delaySec = containW / this.data.speed\n\n this.setData({\n delaySec: parseInt(delaySec)\n })\n })\n }\n }\n});\n"],"sourceRoot":""}
|
|
@@ -82,12 +82,12 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 20);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 20:
|
|
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-overlay/index.js"],"names":["Component","externalClasses","properties","show","type","Boolean","contentPosition","String","value","methods","hide","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;AADF,KADI;AAIVC,qBAAiB;AACfF,YAAMG,MADS;AAEfC,aAAO;AAFQ;AAJP,GAFJ;AAWRC,WAAS;AACPC,QADO,kBACA;AACL,WAAKC,OAAL,CAAa,EAAER,MAAM,KAAR,EAAb;AACD;AAHM;AAXD,CAAV,E","file":"bld-overlay/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-overlay/index.js"],"names":["Component","externalClasses","properties","show","type","Boolean","contentPosition","String","value","methods","hide","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;AADF,KADI;AAIVC,qBAAiB;AACfF,YAAMG,MADS;AAEfC,aAAO;AAFQ;AAJP,GAFJ;AAWRC,WAAS;AACPC,QADO,kBACA;AACL,WAAKC,OAAL,CAAa,EAAER,MAAM,KAAR,EAAb;AACD;AAHM;AAXD,CAAV,E","file":"bld-overlay/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 20);\n","Component({\n externalClasses: [\"iclass\"],\n properties: {\n show: {\n type: Boolean,\n },\n contentPosition: {\n type: String,\n value: \"bottom\",\n },\n },\n methods: {\n hide() {\n this.setData({ show: false });\n },\n },\n});\n"],"sourceRoot":""}
|
|
@@ -82,12 +82,12 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 22);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 22:
|
|
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-page/index.js"],"names":["Component","externalClasses","options","multipleSlots","properties","navBarMode","type","String","value","navBarShowDistance","Number","navBarShowShare","Boolean","navBarBgColor","navBarGoBack","mode","scrollTop","data","_navBarShowTitle","_navBarBgColor","lifetimes","attached","setData","methods","scroll","e","triggerEvent","detail","showNavBarAfterScroll","scrollToLower","ok"],"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,YAAD,EAAe,eAAf,EAAgC,eAAhC,EAAiD,cAAjD,CADT;AAERC,WAAS;AACPC,mBAAe;AADR,GAFD;AAKRC,cAAY;AACVC,gBAAY;AACVC,YAAMC,MADI;AAEVC,aAAO;AAFG,KADF;AAKVC,wBAAoB;AAClBH,YAAMI,MADY;AAElBF,aAAO;AAFW,KALV;AASVG,qBAAiB;AACfL,YAAMM,OADS;AAEfJ,aAAO;AAFQ,KATP;AAaVK,mBAAe;AACbP,YAAMC,MADO;AAEbC,aAAO;AAFM,KAbL;AAiBVM,kBAAc;AACZR,YAAMM,OADM;AAEZJ,aAAO;AAFK,KAjBJ;AAqBVO,UAAM;AACJT,YAAMC,MADF;AAEJC,aAAO;AAFH,KArBI;AAyBVQ,eAAW;AACTV,YAAMI,MADG;AAETF,aAAO;AAFE;AAzBD,GALJ;AAmCRS,QAAM;AACJC,sBAAkB,IADd;AAEJC,oBAAgB;AAFZ,GAnCE;AAuCRC,aAAW;AACTC,YADS,sBACE;AACT,UAAI,KAAKJ,IAAL,CAAUZ,UAAV,IAAwB,QAA5B,EAAsC;AACpC,aAAKiB,OAAL,CAAa;AACXJ,4BAAkB,IADP;AAEXC,0BAAgB,KAAKF,IAAL,CAAUJ;AAFf,SAAb;AAID,OALD,MAKO,IAAI,KAAKI,IAAL,CAAUZ,UAAV,IAAwB,mBAA5B,EAAiD;AACtD,aAAKiB,OAAL,CAAa;AACXJ,4BAAkB,KADP;AAEXC,0BAAgB;AAFL,SAAb;AAID;AACF;AAbQ,GAvCH;AAsDRI,WAAS;AACPC,UADO,kBACAC,CADA,EACG;AACR,WAAKC,YAAL,CAAkB,QAAlB,eAAiCD,EAAEE,MAAnC;AACA,WAAKC,qBAAL,CAA2BH,CAA3B;AACD,KAJM;AAMPI,iBANO,yBAMOJ,CANP,EAMU;AACf,WAAKC,YAAL,CAAkB,eAAlB,eAAwCD,EAAEE,MAA1C;AACD,KARM;AAUPC,yBAVO,iCAUeH,CAVf,EAUkB;AACvB,UAAI,KAAKR,IAAL,CAAUZ,UAAV,IAAwB,mBAA5B,EAAiD;AAC/C;AACD;;AAED,UAAMyB,KAAKL,EAAEE,MAAF,CAASX,SAAT,GAAqB,KAAKC,IAAL,CAAUR,kBAA1C;;AAEA,WAAKa,OAAL,CAAa;AACXJ,0BAAkBY,EADP;AAEXX,wBAAgBW,KAAK,KAAKb,IAAL,CAAUJ,aAAf,GAA+B;AAFpC,OAAb;AAID;AArBM;AAtDD,CAAV,E","file":"bld-page/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s =
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/bld-page/index.js"],"names":["Component","externalClasses","options","multipleSlots","properties","navBarMode","type","String","value","navBarShowDistance","Number","navBarShowShare","Boolean","navBarBgColor","navBarGoBack","mode","scrollTop","data","_navBarShowTitle","_navBarBgColor","lifetimes","attached","setData","methods","scroll","e","triggerEvent","detail","showNavBarAfterScroll","scrollToLower","ok"],"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,YAAD,EAAe,eAAf,EAAgC,eAAhC,EAAiD,cAAjD,CADT;AAERC,WAAS;AACPC,mBAAe;AADR,GAFD;AAKRC,cAAY;AACVC,gBAAY;AACVC,YAAMC,MADI;AAEVC,aAAO;AAFG,KADF;AAKVC,wBAAoB;AAClBH,YAAMI,MADY;AAElBF,aAAO;AAFW,KALV;AASVG,qBAAiB;AACfL,YA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AAf,GAA+B;AAFpC,OAAb;AAID;AArBM;AAtDD,CAAV,E","file":"bld-page/index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 22);\n","Component({\n externalClasses: [\"page-class\", \"nav-bar-class\", \"content-class\", \"footer-class\"],\n options: {\n multipleSlots: true,\n },\n properties: {\n navBarMode: {\n type: String,\n value: \"always\",\n },\n navBarShowDistance: {\n type: Number,\n value: 50,\n },\n navBarShowShare: {\n type: Boolean,\n value: false,\n },\n navBarBgColor: {\n type: String,\n value: \"#fff\",\n },\n navBarGoBack: {\n type: Boolean,\n value: true,\n },\n mode: {\n type: String,\n value: \"nav-to-bottom\",\n },\n scrollTop: {\n type: Number,\n value: 0,\n },\n },\n data: {\n _navBarShowTitle: true,\n _navBarBgColor: \"\",\n },\n lifetimes: {\n attached() {\n if (this.data.navBarMode == \"always\") {\n this.setData({\n _navBarShowTitle: true,\n _navBarBgColor: this.data.navBarBgColor,\n });\n } else if (this.data.navBarMode == \"show-after-scroll\") {\n this.setData({\n _navBarShowTitle: false,\n _navBarBgColor: null,\n });\n }\n },\n },\n methods: {\n scroll(e) {\n this.triggerEvent(\"scroll\", { ...e.detail });\n this.showNavBarAfterScroll(e);\n },\n\n scrollToLower(e) {\n this.triggerEvent(\"scrollToLower\", { ...e.detail });\n },\n\n showNavBarAfterScroll(e) {\n if (this.data.navBarMode != \"show-after-scroll\") {\n return;\n }\n\n const ok = e.detail.scrollTop > this.data.navBarShowDistance;\n\n this.setData({\n _navBarShowTitle: ok,\n _navBarBgColor: ok ? this.data.navBarBgColor : null,\n });\n },\n },\n});\n"],"sourceRoot":""}
|
|
@@ -82,12 +82,12 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 23);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 23:
|
|
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-retry/index.js"],"names":["Component","externalClasses","properties","title","type","String","value","description","actionText","methods","retry","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,QAAD,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,iBAAa;AACXH,YAAMC,MADK;AAEXC,aAAO;AAFI,KALH;AASVE,gBAAY;AACVJ,YAAMC,MADI;AAEVC,aAAO;AAFG;AATF,GAFJ;;AAiBRG,WAAS;AACPC,SADO,mBACC;AACN,WAAKC,YAAL,CAAkB,UAAlB;AACD;AAHM;AAjBD,CAAV,E","file":"bld-retry/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-retry/index.js"],"names":["Component","externalClasses","properties","title","type","String","value","description","actionText","methods","retry","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,QAAD,CADT;AAERC,cAAY;AACVC,WAAO;AACLC,YAAMC,MADD;AAELC,aAAO;AAFF,KADG;AAKVC,iBAAa;AACXH,YAAMC,MADK;AAEXC,aAAO;AAFI,KALH;AASVE,gBAAY;AACVJ,YAAMC,MADI;AAEVC,aAAO;AAFG;AATF,GAFJ;;AAiBRG,WAAS;AACPC,SADO,mBACC;AACN,WAAKC,YAAL,CAAkB,UAAlB;AACD;AAHM;AAjBD,CAAV,E","file":"bld-retry/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 = 23);\n","Component({\n externalClasses: [\"iclass\"],\n properties: {\n title: {\n type: String,\n value: \"加载失败\",\n },\n description: {\n type: String,\n value: \"发生了一些错误\",\n },\n actionText: {\n type: String,\n value: \"点击重试\",\n },\n },\n\n methods: {\n retry() {\n this.triggerEvent(\"on-retry\");\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 = 24);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 24:
|
|
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-scroll-view/index.js"],"names":["Component","externalClasses","properties","type","String","value","mode","scrollTop","Number","methods","scroll","e","triggerEvent","detail","scrollEnd","scrollToLower"],"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;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KADI;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,eAAW;AACTJ,YAAMK,MADG;AAETH,aAAO;AAFE;AATD,GAFJ;AAgBRI,WAAS;AACPC,UADO,kBACAC,CADA,EACG;AACR,WAAKC,YAAL,CAAkB,QAAlB,eAAiCD,EAAEE,MAAnC;AACD,KAHM;AAIPC,aAJO,qBAIGH,CAJH,EAIM;AACX,WAAKC,YAAL,CAAkB,WAAlB,eAAoCD,EAAEE,MAAtC;AACD,KANM;AAOPE,iBAPO,yBAOOJ,CAPP,EAOU;AACf,WAAKC,YAAL,CAAkB,eAAlB,eAAwCD,EAAEE,MAA1C;AACD;AATM;AAhBD,CAAV,E","file":"bld-scroll-view/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-scroll-view/index.js"],"names":["Component","externalClasses","properties","type","String","value","mode","scrollTop","Number","methods","scroll","e","triggerEvent","detail","scrollEnd","scrollToLower"],"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;AACJA,YAAMC,MADF;AAEJC,aAAO;AAFH,KADI;AAKVC,UAAM;AACJH,YAAMC,MADF;AAEJC,aAAO;AAFH,KALI;AASVE,eAAW;AACTJ,YAAMK,MADG;AAETH,aAAO;AAFE;AATD,GAFJ;AAgBRI,WAAS;AACPC,UADO,kBACAC,CADA,EACG;AACR,WAAKC,YAAL,CAAkB,QAAlB,eAAiCD,EAAEE,MAAnC;AACD,KAHM;AAIPC,aAJO,qBAIGH,CAJH,EAIM;AACX,WAAKC,YAAL,CAAkB,WAAlB,eAAoCD,EAAEE,MAAtC;AACD,KANM;AAOPE,iBAPO,yBAOOJ,CAPP,EAOU;AACf,WAAKC,YAAL,CAAkB,eAAlB,eAAwCD,EAAEE,MAA1C;AACD;AATM;AAhBD,CAAV,E","file":"bld-scroll-view/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 = 24);\n","Component({\n externalClasses: [\"iclass\"],\n properties: {\n type: {\n type: String,\n value: \"list\",\n },\n mode: {\n type: String,\n value: \"nav-to-bottom\",\n },\n scrollTop: {\n type: Number,\n value: 0,\n },\n },\n methods: {\n scroll(e) {\n this.triggerEvent(\"scroll\", { ...e.detail });\n },\n scrollEnd(e) {\n this.triggerEvent(\"scrollEnd\", { ...e.detail });\n },\n scrollToLower(e) {\n this.triggerEvent(\"scrollToLower\", { ...e.detail });\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 = 21);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 21:
|
|
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-wrapper/index.js"],"names":["app","getApp","menuButtonInfo","globalData","menuButtonDistance","systemInfo","safeArea","saleAreaHeight","screenHeight","bottom","tabBarHeight","statusBarHeight","gap","top","navBarHeight","height","navToTab","navToBottom","topToTab","topToBottom","modeStyleMap","modeToStyle","mode","styles","Object","keys","map","key","join","Component","externalClasses","properties","type","String","value","data","style","observers","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;;;;;;;;;;;AClFA,IAAMA,MAAMC,QAAZ;;AAEA,IAAMC,iBAAiBF,IAAIG,UAAJ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AM,gBAAY;AAChB,WAAKgB,OAAL,CAAa;AACXF,eAAOf,YAAY,KAAKc,IAAL,CAAUb,IAAtB;AADI,OAAb;AAGD;AALQ;AAZH,CAAV,E","file":"bld-wrapper/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-wrapper/index.js"],"names":["app","getApp","menuButtonInfo","globalData","menuButtonDistance","systemInfo","safeArea","saleAreaHeight","screenHeight","bottom","tabBarHeight","statusBarHeight","gap","top","navBarHeight","height","navToTab","navToBottom","topToTab","topToBottom","modeStyleMap","modeToStyle","mode","styles","Object","keys","map","key","join","Component","externalClasses","properties","type","String","value","data","style","observers","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,e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iB,CAAC,QAAD,CADT;AAERC,cAAY;AACVT,UAAM;AACJU,YAAMC,MADF;AAEJC,aAAO;AAFH;AADI,GAFJ;AAQRC,QAAM;AACJC,WAAO;AADH,GARE;;AAYRC,aAAW;AACTf,UAAM,gBAAY;AAChB,WAAKgB,OAAL,CAAa;AACXF,eAAOf,YAAY,KAAKc,IAAL,CAAUb,IAAtB;AADI,OAAb;AAGD;AALQ;AAZH,CAAV,E","file":"bld-wrapper/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 = 21);\n","const app = getApp();\n\nconst menuButtonInfo = app.globalData.menuButtonDistance;\nconst systemInfo = app.globalData.systemInfo\n// 计算 tab bar 的高度\nconst safeArea = systemInfo.safeArea;\nconst saleAreaHeight = systemInfo.screenHeight - safeArea.bottom;\nconst tabBarHeight = 60 + saleAreaHeight;\n\n// 计算 nav bar 的高度\nconst statusBarHeight = systemInfo.statusBarHeight;\nconst gap = menuButtonInfo.top - statusBarHeight;\n\nconst navBarHeight = statusBarHeight + menuButtonInfo.height + gap * 2;\n\n// 占据 nav bar 和 tab bar 之间的空间\nconst navToTab = {\n top: `${navBarHeight}px`,\n height: `calc(100% - ${navBarHeight}px - ${tabBarHeight}px)`,\n};\n\n// 占据 nav bar 页面底部的空间\nconst navToBottom = {\n top: `${navBarHeight}px`,\n height: `calc(100% - ${navBarHeight}px)`,\n};\n\n// 从页面顶部到 tab bar 之间的空间\nconst topToTab = {\n top: \"0px\",\n height: `calc(100% - ${tabBarHeight}px)`,\n};\n\n// 占据所有空间\nconst topToBottom = {\n top: \"0px\",\n height: \"100%\",\n};\n\nconst modeStyleMap = {\n \"nav-to-tab\": navToTab,\n \"nav-to-bottom\": navToBottom,\n \"top-to-tab\": topToTab,\n \"top-to-bottom\": topToBottom,\n};\n\nfunction modeToStyle(mode) {\n const styles = modeStyleMap[mode];\n return Object.keys(styles)\n .map((key) => {\n return `${key}: ${styles[key]}`;\n })\n .join(\";\");\n}\n\nComponent({\n externalClasses: [\"iclass\"],\n properties: {\n mode: {\n type: String,\n value: \"nav-to-bottom\",\n },\n },\n data: {\n style: \"height:100%\",\n },\n\n observers: {\n mode: function () {\n this.setData({\n style: modeToStyle(this.data.mode),\n });\n },\n },\n});\n"],"sourceRoot":""}
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</view>
|
|
15
15
|
<view class="item-value-box">
|
|
16
16
|
<text overflow="ellipsis" class="item-value-text form-value {{value?'':'value-placeholder'}}">{{value?value:valuePlaceholder?valuePlaceholder:showPlaceholder?"请选择"+label:""}}</text>
|
|
17
|
-
<cloud-image
|
|
17
|
+
<bld-cloud-image
|
|
18
18
|
iclass="arrow-icon select-icon"
|
|
19
19
|
src="my/arrow.png"
|
|
20
20
|
/>
|
package/src/bld-nav-bar/index.js
CHANGED
|
@@ -56,7 +56,6 @@ Component({
|
|
|
56
56
|
const totalHeight = menuButtonInfo.top + menuButtonInfo.height + gap;
|
|
57
57
|
|
|
58
58
|
this.triggerEvent("height-change", totalHeight);
|
|
59
|
-
console.log(77777)
|
|
60
59
|
// let version = systemInfo.SDKVersion
|
|
61
60
|
// version = version.replace(/\./g, "")
|
|
62
61
|
// if(version.length == 3) {
|