dolphin-weex-bc 0.0.1
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/CHANGELOG.md +8 -0
- package/README.md +1 -0
- package/assets/font/font_1278468_f69rlcvt2nb.ttf +0 -0
- package/assets/img/B_loading.gif +0 -0
- package/assets/img/W_loading.gif +0 -0
- package/assets/img/arrow_right.png +0 -0
- package/assets/img/black_dot.png +0 -0
- package/assets/img/check/checked.png +0 -0
- package/assets/img/check/choose.png +0 -0
- package/assets/img/check/dischecked.png +0 -0
- package/assets/img/check/disuncheked.png +0 -0
- package/assets/img/check/home_ic_closepop@3x.png +0 -0
- package/assets/img/check/icon_rightclose@3x.png +0 -0
- package/assets/img/check/public_ic_done@2x.png +0 -0
- package/assets/img/check/public_ic_done@3x.png +0 -0
- package/assets/img/check/radio_checked.png +0 -0
- package/assets/img/check/scene_ic_done@3x.png +0 -0
- package/assets/img/check/switch_off.png +0 -0
- package/assets/img/check/switch_on.png +0 -0
- package/assets/img/check/unchecked.png +0 -0
- package/assets/img/close.png +0 -0
- package/assets/img/colmo_loading.png +0 -0
- package/assets/img/header/TB1HrvtbBTH8KJjy0FiXXcRsXXa-32-32.png +0 -0
- package/assets/img/header/TB1cAYsbv2H8KJjy0FcXXaDlFXa-30-53.png +0 -0
- package/assets/img/header/TB1x18VpwMPMeJjy1XdXXasrXXa-21-36.png +0 -0
- package/assets/img/header/ic_back@3x.png +0 -0
- package/assets/img/header/me_ic_set@3x.png +0 -0
- package/assets/img/header/public_ic_back@3x.png +0 -0
- package/assets/img/header/tab_back.png +0 -0
- package/assets/img/header/tab_back_black.png +0 -0
- package/assets/img/header/tab_seting.png +0 -0
- package/assets/img/header/title_more_icon@3x.png +0 -0
- package/assets/img/header/title_more_icon_white.png +0 -0
- package/assets/img/image/22/347/224/265/351/245/255/347/205/262.png +0 -0
- package/assets/img/image/activity.png +0 -0
- package/assets/img/image/avatar.png +0 -0
- package/assets/img/image/list_icon_equipment@3x.png +0 -0
- package/assets/img/image/list_icon_mine@3x.png +0 -0
- package/assets/img/image/list_icon_shop@3x.png +0 -0
- package/assets/img/logo.png +0 -0
- package/assets/img/open.png +0 -0
- package/assets/img/public_ic_more@3x.png +0 -0
- package/assets/img/search/delete.png +0 -0
- package/assets/img/search/search.png +0 -0
- package/assets/img/service_ic_hide@3x.png +0 -0
- package/assets/img/service_ic_show@3x.png +0 -0
- package/assets/img/smart_ic_switch_l@2x.png +0 -0
- package/assets/img/star.png +0 -0
- package/assets/img/tabpage/icon_scene_bathroom_blue@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_bathroom_bluish@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_bathroom_gray@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_bathroom_green@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_bathroom_orange@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_bathroom_red@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_bathroom_sky@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_bathroom_violet@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_bathroom_yellow@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_kitchen_blue@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_kitchen_bluish@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_kitchen_gray@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_kitchen_green@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_kitchen_orange@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_kitchen_red@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_kitchen_sky@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_kitchen_violet@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_kitchen_yellow@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_living_blue@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_living_bluish@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_living_gray@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_living_green@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_living_orange@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_living_red@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_living_sky@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_living_violet@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_living_yellow@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_security_blue@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_security_bluish@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_security_gray@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_security_green@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_security_orange@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_security_red@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_security_sky@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_security_violet@3x.png +0 -0
- package/assets/img/tabpage/icon_scene_security_yellow@3x.png +0 -0
- package/assets/img/true.jpeg +0 -0
- package/assets/img/unstar.png +0 -0
- package/assets/img/white_dot.png +0 -0
- package/bin/build-entry.js +21 -0
- package/constant/theme.js +16 -0
- package/dist/index.native.js +218 -0
- package/dist/index.native.js.map +1 -0
- package/dist/index.web.js +702 -0
- package/dist/index.web.js.map +1 -0
- package/favicon.ico +0 -0
- package/index.js +6 -0
- package/package.json +66 -0
- package/packages/dof-bc-consumables/index.js +1 -0
- package/packages/dof-bc-consumables/index.vue +23 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/bootstrap 56b36599978ca2e45c1e","webpack:///./packages/dof-bc-consumables/index.js","webpack:///./packages/dof-bc-consumables/index.vue?f894","webpack:///./~/css-loader/lib/css-base.js","webpack:///./index.js","webpack:///index.vue","webpack:///./packages/dof-bc-consumables/index.vue","webpack:///./~/vue-loader/lib/component-normalizer.js","webpack:///./packages/dof-bc-consumables/index.vue?f13c","webpack:///./packages/dof-bc-consumables/index.vue?88e1","webpack:///./~/vue-style-loader/lib/addStylesClient.js","webpack:///./~/vue-style-loader/lib/listToStyles.js"],"names":["default","DofBcConsumables"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;QCVA;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,2CAA2C,cAAc;;QAEzD;QACA;QACA;QACA;QACA;QACA;QACA;QACA,KAAK;QACL;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA;;;;;;;;;;;;;;;;;;;0CChESA,O;;;;;;;;;;ACAT,2BAA2B,mBAAO,CAAC,CAA+C;AAClF;;;AAGA;AACA,cAAc,QAAS,8BAA8B,gBAAgB,GAAG,UAAU,sJAAsJ,MAAM,UAAU,6FAA6F,SAAS,8DAA8D,YAAY,cAAc,mDAAmD,KAAK,GAAG,uCAAuC,gBAAgB,GAAG,+BAA+B;;AAE1kB;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,mCAAmC,gBAAgB;AACnD,IAAI;AACJ;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAgB,iBAAiB;AACjC;AACA;AACA;AACA;AACA,YAAY,oBAAoB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,oDAAoD,cAAc;;AAElE;AACA;;;;;;;;;;;;;;;AC1EA;;;;;;QAGEC,gB,GAAAA,0B;;;;;;;;;;;;;;;;;;;;kBCIF;AACA;AACA;AACA,kBADA;AAEA;AAFA;AADA;AADA,C;;;;;;ACRA;AACA;AACA;AACA,EAAE,mBAAO,CAAC,CAA+P;AACzQ;AACA,gBAAgB,mBAAO,CAAC,CAAyD;AACjF;AACA,EAAE,mBAAO,CAAC,CAAwG;AAClH;AACA,EAAE,mBAAO,CAAC,CAA0L;AACpM;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E,sDAAsD,IAAI;AACzI,mCAAmC;;AAEnC;AACA,IAAI,KAAU,GAAG;AACjB;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;;AAED;;;;;;;ACrCA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;;;AC1FA,gBAAgB,mBAAmB,aAAa,0BAA0B;AAC1E;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH,CAAC;AACD;AACA,IAAI,KAAU;AACd;AACA;AACA;AACA;AACA,C;;;;;;ACnBA;;AAEA;AACA,cAAc,mBAAO,CAAC,CAAgR;AACtS,4CAA4C,QAAS;AACrD;AACA;AACA,aAAa,mBAAO,CAAC,CAA6D,gCAAgC;AAClH;AACA,GAAG,KAAU;AACb;AACA;AACA,oIAAoI,kFAAkF;AACtN,6IAA6I,kFAAkF;AAC/N;AACA;AACA,IAAI;AACJ;AACA;AACA,gCAAgC,UAAU,EAAE;AAC5C,C;;;;;;ACpBA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,UAAU,iBAAiB;AAC3B;AACA;;AAEA,mBAAmB,mBAAO,CAAC,EAAgB;;AAE3C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA,mBAAmB,mBAAmB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,mBAAmB,sBAAsB;AACzC;AACA;AACA,uBAAuB,2BAA2B;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,mBAAmB;AACpC;AACA;AACA;AACA;AACA,qBAAqB,2BAA2B;AAChD;AACA;AACA,YAAY,uBAAuB;AACnC;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,qBAAqB,uBAAuB;AAC5C;AACA;AACA,8BAA8B;AAC9B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;;;;;;AC7NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,iBAAiB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,wBAAwB;AAC3D,KAAK;AACL;AACA;AACA;AACA;AACA","file":"index.web.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"npm/dolphin-weex-bc/index\"] = factory();\n\telse\n\t\troot[\"npm/dolphin-weex-bc/index\"] = factory();\n})(this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition"," \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// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\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, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\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 \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 3);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 56b36599978ca2e45c1e","export { default } from './index.vue'\n\n\n\n// WEBPACK FOOTER //\n// ./packages/dof-bc-consumables/index.js","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \"\\n.title[data-v-6310204c] {\\n color: #66f;\\n}\\n\", \"\", {\"version\":3,\"sources\":[\"/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-bc/packages/dof-bc-consumables/index.vue?531dc53b\"],\"names\":[],\"mappings\":\";AAmBA;EACA,YAAA;CACA\",\"file\":\"index.vue\",\"sourcesContent\":[\"<template>\\n <div>\\n <text class=\\\"title\\\">{{ title }}</text>\\n </div>\\n</template>\\n\\n<script>\\n\\nexport default {\\n props: {\\n title: {\\n type: String,\\n default: '耗材卡片'\\n }\\n }\\n}\\n</script>\\n\\n<style scoped>\\n.title {\\n color: #66f;\\n}\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader?sourceMap!./~/vue-loader/lib/style-compiler?{\"vue\":true,\"id\":\"data-v-6310204c\",\"scoped\":true,\"hasInlineConfig\":false}!./~/vue-loader/lib/selector.js?type=styles&index=0!./packages/dof-bc-consumables/index.vue\n// module id = 1\n// module chunks = 0","/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader/lib/css-base.js\n// module id = 2\n// module chunks = 0","\nimport DofBcConsumables from './packages/dof-bc-consumables';\n\nexport {\n DofBcConsumables\n};\n\n\n\n// WEBPACK FOOTER //\n// ./index.js","<template>\n <div>\n <text class=\"title\">{{ title }}</text>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: {\n title: {\n type: String,\n default: '耗材卡片'\n }\n }\n}\n</script>\n\n<style scoped>\n.title {\n color: #66f;\n}\n</style>\n\n\n\n// WEBPACK FOOTER //\n// index.vue?531dc53b","var disposed = false\nfunction injectStyle (ssrContext) {\n if (disposed) return\n require(\"!!vue-style-loader!css-loader?sourceMap!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-6310204c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n}\nvar Component = require(\"!../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!happypack/loader?id=babel!../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"),\n /* template */\n require(\"!!../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-6310204c\\\",\\\"hasScoped\\\":true}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"),\n /* styles */\n injectStyle,\n /* scopeId */\n \"data-v-6310204c\",\n /* moduleIdentifier (server only) */\n null\n)\nComponent.options.__file = \"/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-bc/packages/dof-bc-consumables/index.vue\"\nif (Component.esModule && Object.keys(Component.esModule).some(function (key) {return key !== \"default\" && key.substr(0, 2) !== \"__\"})) {console.error(\"named exports are not supported in *.vue files.\")}\nif (Component.options.functional) {console.error(\"[vue-loader] index.vue: functional components are not supported with templates, they should use render functions.\")}\n\n/* hot reload */\nif (module.hot) {(function () {\n var hotAPI = require(\"vue-hot-reload-api\")\n hotAPI.install(require(\"vue\"), false)\n if (!hotAPI.compatible) return\n module.hot.accept()\n if (!module.hot.data) {\n hotAPI.createRecord(\"data-v-6310204c\", Component.options)\n } else {\n hotAPI.reload(\"data-v-6310204c\", Component.options)\n }\n module.hot.dispose(function (data) {\n disposed = true\n })\n})()}\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./packages/dof-bc-consumables/index.vue\n// module id = 5\n// module chunks = 0","/* globals __VUE_SSR_CONTEXT__ */\n\n// this module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle\n\nmodule.exports = function normalizeComponent (\n rawScriptExports,\n compiledTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */\n) {\n var esModule\n var scriptExports = rawScriptExports = rawScriptExports || {}\n\n // ES6 modules interop\n var type = typeof rawScriptExports.default\n if (type === 'object' || type === 'function') {\n esModule = rawScriptExports\n scriptExports = rawScriptExports.default\n }\n\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (compiledTemplate) {\n options.render = compiledTemplate.render\n options.staticRenderFns = compiledTemplate.staticRenderFns\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = injectStyles\n }\n\n if (hook) {\n var functional = options.functional\n var existing = functional\n ? options.render\n : options.beforeCreate\n if (!functional) {\n // inject component registration as beforeCreate hook\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n } else {\n // register for functioal component in vue file\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return existing(h, context)\n }\n }\n }\n\n return {\n esModule: esModule,\n exports: scriptExports,\n options: options\n }\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/component-normalizer.js\n// module id = 6\n// module chunks = 0","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \" weex-ct weex-div\",\n attrs: {\n \"weex-type\": \"div\"\n }\n }, [_c('p', {\n staticClass: \"title weex-el weex-text\",\n attrs: {\n \"weex-type\": \"text\"\n }\n }, [_vm._v(_vm._s(_vm.title))])])\n},staticRenderFns: []}\nmodule.exports.render._withStripped = true\nif (module.hot) {\n module.hot.accept()\n if (module.hot.data) {\n require(\"vue-hot-reload-api\").rerender(\"data-v-6310204c\", module.exports)\n }\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-6310204c\",\"hasScoped\":true}!./~/vue-loader/lib/selector.js?type=template&index=0!./packages/dof-bc-consumables/index.vue\n// module id = 7\n// module chunks = 0","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/index.js?sourceMap!../../node_modules/vue-loader/lib/style-compiler/index.js?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-6310204c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./index.vue\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar update = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\")(\"5d2cbb26\", content, false, {});\n// Hot Module Replacement\nif(module.hot) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!../../node_modules/css-loader/index.js?sourceMap!../../node_modules/vue-loader/lib/style-compiler/index.js?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-6310204c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./index.vue\", function() {\n var newContent = require(\"!!../../node_modules/css-loader/index.js?sourceMap!../../node_modules/vue-loader/lib/style-compiler/index.js?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-6310204c\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./index.vue\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-style-loader!./~/css-loader?sourceMap!./~/vue-loader/lib/style-compiler?{\"vue\":true,\"id\":\"data-v-6310204c\",\"scoped\":true,\"hasInlineConfig\":false}!./~/vue-loader/lib/selector.js?type=styles&index=0!./packages/dof-bc-consumables/index.vue\n// module id = 8\n// module chunks = 0","/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n Modified by Evan You @yyx990803\n*/\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n if (!hasDocument) {\n throw new Error(\n 'vue-style-loader cannot be used in a non-browser environment. ' +\n \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n ) }\n}\n\nvar listToStyles = require('./listToStyles')\n\n/*\ntype StyleObject = {\n id: number;\n parts: Array<StyleObjectPart>\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n// tags it will allow on a page\nvar isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase())\n\nmodule.exports = function (parentId, list, _isProduction, _options) {\n isProduction = _isProduction\n\n options = _options || {}\n\n var styles = listToStyles(parentId, list)\n addStylesToDom(styles)\n\n return function update (newList) {\n var mayRemove = []\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n domStyle.refs--\n mayRemove.push(domStyle)\n }\n if (newList) {\n styles = listToStyles(parentId, newList)\n addStylesToDom(styles)\n } else {\n styles = []\n }\n for (var i = 0; i < mayRemove.length; i++) {\n var domStyle = mayRemove[i]\n if (domStyle.refs === 0) {\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j]()\n }\n delete stylesInDom[domStyle.id]\n }\n }\n }\n}\n\nfunction addStylesToDom (styles /* Array<StyleObject> */) {\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n if (domStyle) {\n domStyle.refs++\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j](item.parts[j])\n }\n for (; j < item.parts.length; j++) {\n domStyle.parts.push(addStyle(item.parts[j]))\n }\n if (domStyle.parts.length > item.parts.length) {\n domStyle.parts.length = item.parts.length\n }\n } else {\n var parts = []\n for (var j = 0; j < item.parts.length; j++) {\n parts.push(addStyle(item.parts[j]))\n }\n stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }\n }\n }\n}\n\nfunction createStyleElement () {\n var styleElement = document.createElement('style')\n styleElement.type = 'text/css'\n head.appendChild(styleElement)\n return styleElement\n}\n\nfunction addStyle (obj /* StyleObjectPart */) {\n var update, remove\n var styleElement = document.querySelector('style[' + ssrIdKey + '~=\"' + obj.id + '\"]')\n\n if (styleElement) {\n if (isProduction) {\n // has SSR styles and in production mode.\n // simply do nothing.\n return noop\n } else {\n // has SSR styles but in dev mode.\n // for some reason Chrome can't handle source map in server-rendered\n // style tags - source maps in <style> only works if the style tag is\n // created and inserted dynamically. So we remove the server rendered\n // styles and inject new ones.\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n if (isOldIE) {\n // use singleton mode for IE9.\n var styleIndex = singletonCounter++\n styleElement = singletonElement || (singletonElement = createStyleElement())\n update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)\n remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)\n } else {\n // use multi-style-tag mode in all other cases\n styleElement = createStyleElement()\n update = applyToTag.bind(null, styleElement)\n remove = function () {\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n update(obj)\n\n return function updateStyle (newObj /* StyleObjectPart */) {\n if (newObj) {\n if (newObj.css === obj.css &&\n newObj.media === obj.media &&\n newObj.sourceMap === obj.sourceMap) {\n return\n }\n update(obj = newObj)\n } else {\n remove()\n }\n }\n}\n\nvar replaceText = (function () {\n var textStore = []\n\n return function (index, replacement) {\n textStore[index] = replacement\n return textStore.filter(Boolean).join('\\n')\n }\n})()\n\nfunction applyToSingletonTag (styleElement, index, remove, obj) {\n var css = remove ? '' : obj.css\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css)\n } else {\n var cssNode = document.createTextNode(css)\n var childNodes = styleElement.childNodes\n if (childNodes[index]) styleElement.removeChild(childNodes[index])\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index])\n } else {\n styleElement.appendChild(cssNode)\n }\n }\n}\n\nfunction applyToTag (styleElement, obj) {\n var css = obj.css\n var media = obj.media\n var sourceMap = obj.sourceMap\n\n if (media) {\n styleElement.setAttribute('media', media)\n }\n if (options.ssrId) {\n styleElement.setAttribute(ssrIdKey, obj.id)\n }\n\n if (sourceMap) {\n // https://developer.chrome.com/devtools/docs/javascript-debugging\n // this makes source maps inside style tags work properly in Chrome\n css += '\\n/*# sourceURL=' + sourceMap.sources[0] + ' */'\n // http://stackoverflow.com/a/26603875\n css += '\\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'\n }\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild)\n }\n styleElement.appendChild(document.createTextNode(css))\n }\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-style-loader/lib/addStylesClient.js\n// module id = 9\n// module chunks = 0","/**\n * Translates the list format produced by css-loader into something\n * easier to manipulate.\n */\nmodule.exports = function listToStyles (parentId, list) {\n var styles = []\n var newStyles = {}\n for (var i = 0; i < list.length; i++) {\n var item = list[i]\n var id = item[0]\n var css = item[1]\n var media = item[2]\n var sourceMap = item[3]\n var part = {\n id: parentId + ':' + i,\n css: css,\n media: media,\n sourceMap: sourceMap\n }\n if (!newStyles[id]) {\n styles.push(newStyles[id] = { id: id, parts: [part] })\n } else {\n newStyles[id].parts.push(part)\n }\n }\n return styles\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-style-loader/lib/listToStyles.js\n// module id = 10\n// module chunks = 0"],"sourceRoot":""}
|
package/favicon.ico
ADDED
|
Binary file
|
package/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dolphin-weex-bc",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"directories": {
|
|
7
|
+
"example": "examples"
|
|
8
|
+
},
|
|
9
|
+
"registryConfig": "https://registry.npmjs.org/",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"start": "npm run build && (npm run serve & npm run watch)",
|
|
12
|
+
"build": "npm run build:entry && webpack --progress",
|
|
13
|
+
"test": "npm run build:entry && webpack --progress --watch",
|
|
14
|
+
"build:entry": "node bin/build-entry.js",
|
|
15
|
+
"watch": "webpack --progress --watch",
|
|
16
|
+
"serve": "anywhere -d dist/example/ -p 8999",
|
|
17
|
+
"dev": "npm run watch && npm run serve",
|
|
18
|
+
"lint:fix": "eslint --ext .js,.vue packages example --fix",
|
|
19
|
+
"lint": "eslint --ext .js,.vue packages example",
|
|
20
|
+
"debug": "weex debug",
|
|
21
|
+
"pub": "npm run build && npm publish"
|
|
22
|
+
},
|
|
23
|
+
"license": "ISC",
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"anywhere": "^1.5.0",
|
|
26
|
+
"autoprefixer": "^7.2.2",
|
|
27
|
+
"babel-core": "^6.26.0",
|
|
28
|
+
"babel-eslint": "~8.0.1",
|
|
29
|
+
"babel-loader": "^7.1.2",
|
|
30
|
+
"babel-preset-es2015": "^6.24.1",
|
|
31
|
+
"babel-preset-stage-0": "^6.24.1",
|
|
32
|
+
"babel-runtime": "^6.26.0",
|
|
33
|
+
"clean-webpack-plugin": "~0.1.17",
|
|
34
|
+
"copy-webpack-plugin": "~4.0.1",
|
|
35
|
+
"css-loader": "~0.28.7",
|
|
36
|
+
"cz-conventional-changelog": "^2.1.0",
|
|
37
|
+
"eslint": "^5.16.0",
|
|
38
|
+
"eslint-config-airbnb": "^17.1.1",
|
|
39
|
+
"eslint-config-prettier": "^6.0.0",
|
|
40
|
+
"eslint-plugin-import": "^2.18.2",
|
|
41
|
+
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
42
|
+
"eslint-plugin-prettier": "^3.1.0",
|
|
43
|
+
"eslint-plugin-react": "^7.14.3",
|
|
44
|
+
"eslint-plugin-vue": "^5.2.3",
|
|
45
|
+
"filemanager-webpack-plugin": "^1.0.16",
|
|
46
|
+
"glob": "^7.1.2",
|
|
47
|
+
"happypack": "^4.0.0",
|
|
48
|
+
"os": "^0.1.1",
|
|
49
|
+
"postcss-loader": "^2.0.10",
|
|
50
|
+
"postcss-plugin-px2rem": "^0.7.0",
|
|
51
|
+
"postcss-plugin-weex": "^0.1.6",
|
|
52
|
+
"postcss-px2rem": "^0.3.0",
|
|
53
|
+
"prettier": "^1.18.2",
|
|
54
|
+
"uppercamelcase": "^3.0.0",
|
|
55
|
+
"url-loader": "^2.0.1",
|
|
56
|
+
"vue": "^2.5.3",
|
|
57
|
+
"vue-loader": "^12.2.2",
|
|
58
|
+
"vue-template-compiler": "^2.5.3",
|
|
59
|
+
"webpack": "^2.7.0",
|
|
60
|
+
"weex-loader": "^0.6.0",
|
|
61
|
+
"weex-vue-loader": "^0.5.0",
|
|
62
|
+
"weex-vue-precompiler": "^0.1.17",
|
|
63
|
+
"weex-vue-render": "^1.0.17"
|
|
64
|
+
},
|
|
65
|
+
"dependencies": {}
|
|
66
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './index.vue'
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<text class="title">{{ title }}</text>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
props: {
|
|
11
|
+
title: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: '耗材卡片'
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<style scoped>
|
|
20
|
+
.title {
|
|
21
|
+
color: #66f;
|
|
22
|
+
}
|
|
23
|
+
</style>
|