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,702 @@
|
|
|
1
|
+
// { "framework": "Vue" }
|
|
2
|
+
|
|
3
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
4
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
5
|
+
module.exports = factory();
|
|
6
|
+
else if(typeof define === 'function' && define.amd)
|
|
7
|
+
define([], factory);
|
|
8
|
+
else if(typeof exports === 'object')
|
|
9
|
+
exports["npm/dolphin-weex-bc/index"] = factory();
|
|
10
|
+
else
|
|
11
|
+
root["npm/dolphin-weex-bc/index"] = factory();
|
|
12
|
+
})(this, function() {
|
|
13
|
+
return /******/ (function(modules) { // webpackBootstrap
|
|
14
|
+
/******/ // The module cache
|
|
15
|
+
/******/ var installedModules = {};
|
|
16
|
+
/******/
|
|
17
|
+
/******/ // The require function
|
|
18
|
+
/******/ function __webpack_require__(moduleId) {
|
|
19
|
+
/******/
|
|
20
|
+
/******/ // Check if module is in cache
|
|
21
|
+
/******/ if(installedModules[moduleId]) {
|
|
22
|
+
/******/ return installedModules[moduleId].exports;
|
|
23
|
+
/******/ }
|
|
24
|
+
/******/ // Create a new module (and put it into the cache)
|
|
25
|
+
/******/ var module = installedModules[moduleId] = {
|
|
26
|
+
/******/ i: moduleId,
|
|
27
|
+
/******/ l: false,
|
|
28
|
+
/******/ exports: {}
|
|
29
|
+
/******/ };
|
|
30
|
+
/******/
|
|
31
|
+
/******/ // Execute the module function
|
|
32
|
+
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
33
|
+
/******/
|
|
34
|
+
/******/ // Flag the module as loaded
|
|
35
|
+
/******/ module.l = true;
|
|
36
|
+
/******/
|
|
37
|
+
/******/ // Return the exports of the module
|
|
38
|
+
/******/ return module.exports;
|
|
39
|
+
/******/ }
|
|
40
|
+
/******/
|
|
41
|
+
/******/
|
|
42
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
43
|
+
/******/ __webpack_require__.m = modules;
|
|
44
|
+
/******/
|
|
45
|
+
/******/ // expose the module cache
|
|
46
|
+
/******/ __webpack_require__.c = installedModules;
|
|
47
|
+
/******/
|
|
48
|
+
/******/ // identity function for calling harmony imports with the correct context
|
|
49
|
+
/******/ __webpack_require__.i = function(value) { return value; };
|
|
50
|
+
/******/
|
|
51
|
+
/******/ // define getter function for harmony exports
|
|
52
|
+
/******/ __webpack_require__.d = function(exports, name, getter) {
|
|
53
|
+
/******/ if(!__webpack_require__.o(exports, name)) {
|
|
54
|
+
/******/ Object.defineProperty(exports, name, {
|
|
55
|
+
/******/ configurable: false,
|
|
56
|
+
/******/ enumerable: true,
|
|
57
|
+
/******/ get: getter
|
|
58
|
+
/******/ });
|
|
59
|
+
/******/ }
|
|
60
|
+
/******/ };
|
|
61
|
+
/******/
|
|
62
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
63
|
+
/******/ __webpack_require__.n = function(module) {
|
|
64
|
+
/******/ var getter = module && module.__esModule ?
|
|
65
|
+
/******/ function getDefault() { return module['default']; } :
|
|
66
|
+
/******/ function getModuleExports() { return module; };
|
|
67
|
+
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
68
|
+
/******/ return getter;
|
|
69
|
+
/******/ };
|
|
70
|
+
/******/
|
|
71
|
+
/******/ // Object.prototype.hasOwnProperty.call
|
|
72
|
+
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
73
|
+
/******/
|
|
74
|
+
/******/ // __webpack_public_path__
|
|
75
|
+
/******/ __webpack_require__.p = "/";
|
|
76
|
+
/******/
|
|
77
|
+
/******/ // Load entry module and return exports
|
|
78
|
+
/******/ return __webpack_require__(__webpack_require__.s = 3);
|
|
79
|
+
/******/ })
|
|
80
|
+
/************************************************************************/
|
|
81
|
+
/******/ ([
|
|
82
|
+
/* 0 */
|
|
83
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
84
|
+
|
|
85
|
+
"use strict";
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
Object.defineProperty(exports, "__esModule", {
|
|
89
|
+
value: true
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
var _index = __webpack_require__(5);
|
|
93
|
+
|
|
94
|
+
Object.defineProperty(exports, 'default', {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
get: function get() {
|
|
97
|
+
return _interopRequireDefault(_index).default;
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
102
|
+
|
|
103
|
+
/***/ }),
|
|
104
|
+
/* 1 */
|
|
105
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
106
|
+
|
|
107
|
+
exports = module.exports = __webpack_require__(2)(true);
|
|
108
|
+
// imports
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
// module
|
|
112
|
+
exports.push([module.i, "\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":""}]);
|
|
113
|
+
|
|
114
|
+
// exports
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
/***/ }),
|
|
118
|
+
/* 2 */
|
|
119
|
+
/***/ (function(module, exports) {
|
|
120
|
+
|
|
121
|
+
/*
|
|
122
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
123
|
+
Author Tobias Koppers @sokra
|
|
124
|
+
*/
|
|
125
|
+
// css base code, injected by the css-loader
|
|
126
|
+
module.exports = function(useSourceMap) {
|
|
127
|
+
var list = [];
|
|
128
|
+
|
|
129
|
+
// return the list of modules as css string
|
|
130
|
+
list.toString = function toString() {
|
|
131
|
+
return this.map(function (item) {
|
|
132
|
+
var content = cssWithMappingToString(item, useSourceMap);
|
|
133
|
+
if(item[2]) {
|
|
134
|
+
return "@media " + item[2] + "{" + content + "}";
|
|
135
|
+
} else {
|
|
136
|
+
return content;
|
|
137
|
+
}
|
|
138
|
+
}).join("");
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
// import a list of modules into the list
|
|
142
|
+
list.i = function(modules, mediaQuery) {
|
|
143
|
+
if(typeof modules === "string")
|
|
144
|
+
modules = [[null, modules, ""]];
|
|
145
|
+
var alreadyImportedModules = {};
|
|
146
|
+
for(var i = 0; i < this.length; i++) {
|
|
147
|
+
var id = this[i][0];
|
|
148
|
+
if(typeof id === "number")
|
|
149
|
+
alreadyImportedModules[id] = true;
|
|
150
|
+
}
|
|
151
|
+
for(i = 0; i < modules.length; i++) {
|
|
152
|
+
var item = modules[i];
|
|
153
|
+
// skip already imported module
|
|
154
|
+
// this implementation is not 100% perfect for weird media query combinations
|
|
155
|
+
// when a module is imported multiple times with different media queries.
|
|
156
|
+
// I hope this will never occur (Hey this way we have smaller bundles)
|
|
157
|
+
if(typeof item[0] !== "number" || !alreadyImportedModules[item[0]]) {
|
|
158
|
+
if(mediaQuery && !item[2]) {
|
|
159
|
+
item[2] = mediaQuery;
|
|
160
|
+
} else if(mediaQuery) {
|
|
161
|
+
item[2] = "(" + item[2] + ") and (" + mediaQuery + ")";
|
|
162
|
+
}
|
|
163
|
+
list.push(item);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
return list;
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
function cssWithMappingToString(item, useSourceMap) {
|
|
171
|
+
var content = item[1] || '';
|
|
172
|
+
var cssMapping = item[3];
|
|
173
|
+
if (!cssMapping) {
|
|
174
|
+
return content;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
if (useSourceMap && typeof btoa === 'function') {
|
|
178
|
+
var sourceMapping = toComment(cssMapping);
|
|
179
|
+
var sourceURLs = cssMapping.sources.map(function (source) {
|
|
180
|
+
return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
return [content].concat(sourceURLs).concat([sourceMapping]).join('\n');
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
return [content].join('\n');
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
// Adapted from convert-source-map (MIT)
|
|
190
|
+
function toComment(sourceMap) {
|
|
191
|
+
// eslint-disable-next-line no-undef
|
|
192
|
+
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
|
|
193
|
+
var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;
|
|
194
|
+
|
|
195
|
+
return '/*# ' + data + ' */';
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
/***/ }),
|
|
200
|
+
/* 3 */
|
|
201
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
202
|
+
|
|
203
|
+
"use strict";
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
Object.defineProperty(exports, "__esModule", {
|
|
207
|
+
value: true
|
|
208
|
+
});
|
|
209
|
+
exports.DofBcConsumables = undefined;
|
|
210
|
+
|
|
211
|
+
var _dofBcConsumables = __webpack_require__(0);
|
|
212
|
+
|
|
213
|
+
var _dofBcConsumables2 = _interopRequireDefault(_dofBcConsumables);
|
|
214
|
+
|
|
215
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
216
|
+
|
|
217
|
+
exports.DofBcConsumables = _dofBcConsumables2.default;
|
|
218
|
+
|
|
219
|
+
/***/ }),
|
|
220
|
+
/* 4 */
|
|
221
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
222
|
+
|
|
223
|
+
"use strict";
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
Object.defineProperty(exports, "__esModule", {
|
|
227
|
+
value: true
|
|
228
|
+
});
|
|
229
|
+
//
|
|
230
|
+
//
|
|
231
|
+
//
|
|
232
|
+
//
|
|
233
|
+
//
|
|
234
|
+
//
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
exports.default = {
|
|
238
|
+
props: {
|
|
239
|
+
title: {
|
|
240
|
+
type: String,
|
|
241
|
+
default: '耗材卡片'
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
/***/ }),
|
|
247
|
+
/* 5 */
|
|
248
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
249
|
+
|
|
250
|
+
var disposed = false
|
|
251
|
+
function injectStyle (ssrContext) {
|
|
252
|
+
if (disposed) return
|
|
253
|
+
__webpack_require__(8)
|
|
254
|
+
}
|
|
255
|
+
var Component = __webpack_require__(6)(
|
|
256
|
+
/* script */
|
|
257
|
+
__webpack_require__(4),
|
|
258
|
+
/* template */
|
|
259
|
+
__webpack_require__(7),
|
|
260
|
+
/* styles */
|
|
261
|
+
injectStyle,
|
|
262
|
+
/* scopeId */
|
|
263
|
+
"data-v-6310204c",
|
|
264
|
+
/* moduleIdentifier (server only) */
|
|
265
|
+
null
|
|
266
|
+
)
|
|
267
|
+
Component.options.__file = "/Users/wuhm45/Documents/code/weex组件库/dolphin-weex-bc/packages/dof-bc-consumables/index.vue"
|
|
268
|
+
if (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.")}
|
|
269
|
+
if (Component.options.functional) {console.error("[vue-loader] index.vue: functional components are not supported with templates, they should use render functions.")}
|
|
270
|
+
|
|
271
|
+
/* hot reload */
|
|
272
|
+
if (false) {(function () {
|
|
273
|
+
var hotAPI = require("vue-hot-reload-api")
|
|
274
|
+
hotAPI.install(require("vue"), false)
|
|
275
|
+
if (!hotAPI.compatible) return
|
|
276
|
+
module.hot.accept()
|
|
277
|
+
if (!module.hot.data) {
|
|
278
|
+
hotAPI.createRecord("data-v-6310204c", Component.options)
|
|
279
|
+
} else {
|
|
280
|
+
hotAPI.reload("data-v-6310204c", Component.options)
|
|
281
|
+
}
|
|
282
|
+
module.hot.dispose(function (data) {
|
|
283
|
+
disposed = true
|
|
284
|
+
})
|
|
285
|
+
})()}
|
|
286
|
+
|
|
287
|
+
module.exports = Component.exports
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
/***/ }),
|
|
291
|
+
/* 6 */
|
|
292
|
+
/***/ (function(module, exports) {
|
|
293
|
+
|
|
294
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
295
|
+
|
|
296
|
+
// this module is a runtime utility for cleaner component module output and will
|
|
297
|
+
// be included in the final webpack user bundle
|
|
298
|
+
|
|
299
|
+
module.exports = function normalizeComponent (
|
|
300
|
+
rawScriptExports,
|
|
301
|
+
compiledTemplate,
|
|
302
|
+
injectStyles,
|
|
303
|
+
scopeId,
|
|
304
|
+
moduleIdentifier /* server only */
|
|
305
|
+
) {
|
|
306
|
+
var esModule
|
|
307
|
+
var scriptExports = rawScriptExports = rawScriptExports || {}
|
|
308
|
+
|
|
309
|
+
// ES6 modules interop
|
|
310
|
+
var type = typeof rawScriptExports.default
|
|
311
|
+
if (type === 'object' || type === 'function') {
|
|
312
|
+
esModule = rawScriptExports
|
|
313
|
+
scriptExports = rawScriptExports.default
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
// Vue.extend constructor export interop
|
|
317
|
+
var options = typeof scriptExports === 'function'
|
|
318
|
+
? scriptExports.options
|
|
319
|
+
: scriptExports
|
|
320
|
+
|
|
321
|
+
// render functions
|
|
322
|
+
if (compiledTemplate) {
|
|
323
|
+
options.render = compiledTemplate.render
|
|
324
|
+
options.staticRenderFns = compiledTemplate.staticRenderFns
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
// scopedId
|
|
328
|
+
if (scopeId) {
|
|
329
|
+
options._scopeId = scopeId
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
var hook
|
|
333
|
+
if (moduleIdentifier) { // server build
|
|
334
|
+
hook = function (context) {
|
|
335
|
+
// 2.3 injection
|
|
336
|
+
context =
|
|
337
|
+
context || // cached call
|
|
338
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
339
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
340
|
+
// 2.2 with runInNewContext: true
|
|
341
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
342
|
+
context = __VUE_SSR_CONTEXT__
|
|
343
|
+
}
|
|
344
|
+
// inject component styles
|
|
345
|
+
if (injectStyles) {
|
|
346
|
+
injectStyles.call(this, context)
|
|
347
|
+
}
|
|
348
|
+
// register component module identifier for async chunk inferrence
|
|
349
|
+
if (context && context._registeredComponents) {
|
|
350
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
// used by ssr in case component is cached and beforeCreate
|
|
354
|
+
// never gets called
|
|
355
|
+
options._ssrRegister = hook
|
|
356
|
+
} else if (injectStyles) {
|
|
357
|
+
hook = injectStyles
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
if (hook) {
|
|
361
|
+
var functional = options.functional
|
|
362
|
+
var existing = functional
|
|
363
|
+
? options.render
|
|
364
|
+
: options.beforeCreate
|
|
365
|
+
if (!functional) {
|
|
366
|
+
// inject component registration as beforeCreate hook
|
|
367
|
+
options.beforeCreate = existing
|
|
368
|
+
? [].concat(existing, hook)
|
|
369
|
+
: [hook]
|
|
370
|
+
} else {
|
|
371
|
+
// register for functioal component in vue file
|
|
372
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
373
|
+
hook.call(context)
|
|
374
|
+
return existing(h, context)
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
return {
|
|
380
|
+
esModule: esModule,
|
|
381
|
+
exports: scriptExports,
|
|
382
|
+
options: options
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
/***/ }),
|
|
388
|
+
/* 7 */
|
|
389
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
390
|
+
|
|
391
|
+
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
|
|
392
|
+
return _c('div', {
|
|
393
|
+
staticClass: " weex-ct weex-div",
|
|
394
|
+
attrs: {
|
|
395
|
+
"weex-type": "div"
|
|
396
|
+
}
|
|
397
|
+
}, [_c('p', {
|
|
398
|
+
staticClass: "title weex-el weex-text",
|
|
399
|
+
attrs: {
|
|
400
|
+
"weex-type": "text"
|
|
401
|
+
}
|
|
402
|
+
}, [_vm._v(_vm._s(_vm.title))])])
|
|
403
|
+
},staticRenderFns: []}
|
|
404
|
+
module.exports.render._withStripped = true
|
|
405
|
+
if (false) {
|
|
406
|
+
module.hot.accept()
|
|
407
|
+
if (module.hot.data) {
|
|
408
|
+
require("vue-hot-reload-api").rerender("data-v-6310204c", module.exports)
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/***/ }),
|
|
413
|
+
/* 8 */
|
|
414
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
415
|
+
|
|
416
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
417
|
+
|
|
418
|
+
// load the styles
|
|
419
|
+
var content = __webpack_require__(1);
|
|
420
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
421
|
+
if(content.locals) module.exports = content.locals;
|
|
422
|
+
// add the styles to the DOM
|
|
423
|
+
var update = __webpack_require__(9)("5d2cbb26", content, false, {});
|
|
424
|
+
// Hot Module Replacement
|
|
425
|
+
if(false) {
|
|
426
|
+
// When the styles change, update the <style> tags
|
|
427
|
+
if(!content.locals) {
|
|
428
|
+
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() {
|
|
429
|
+
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");
|
|
430
|
+
if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];
|
|
431
|
+
update(newContent);
|
|
432
|
+
});
|
|
433
|
+
}
|
|
434
|
+
// When the module is disposed, remove the <style> tags
|
|
435
|
+
module.hot.dispose(function() { update(); });
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/***/ }),
|
|
439
|
+
/* 9 */
|
|
440
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
441
|
+
|
|
442
|
+
/*
|
|
443
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
444
|
+
Author Tobias Koppers @sokra
|
|
445
|
+
Modified by Evan You @yyx990803
|
|
446
|
+
*/
|
|
447
|
+
|
|
448
|
+
var hasDocument = typeof document !== 'undefined'
|
|
449
|
+
|
|
450
|
+
if (typeof DEBUG !== 'undefined' && DEBUG) {
|
|
451
|
+
if (!hasDocument) {
|
|
452
|
+
throw new Error(
|
|
453
|
+
'vue-style-loader cannot be used in a non-browser environment. ' +
|
|
454
|
+
"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment."
|
|
455
|
+
) }
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
var listToStyles = __webpack_require__(10)
|
|
459
|
+
|
|
460
|
+
/*
|
|
461
|
+
type StyleObject = {
|
|
462
|
+
id: number;
|
|
463
|
+
parts: Array<StyleObjectPart>
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
type StyleObjectPart = {
|
|
467
|
+
css: string;
|
|
468
|
+
media: string;
|
|
469
|
+
sourceMap: ?string
|
|
470
|
+
}
|
|
471
|
+
*/
|
|
472
|
+
|
|
473
|
+
var stylesInDom = {/*
|
|
474
|
+
[id: number]: {
|
|
475
|
+
id: number,
|
|
476
|
+
refs: number,
|
|
477
|
+
parts: Array<(obj?: StyleObjectPart) => void>
|
|
478
|
+
}
|
|
479
|
+
*/}
|
|
480
|
+
|
|
481
|
+
var head = hasDocument && (document.head || document.getElementsByTagName('head')[0])
|
|
482
|
+
var singletonElement = null
|
|
483
|
+
var singletonCounter = 0
|
|
484
|
+
var isProduction = false
|
|
485
|
+
var noop = function () {}
|
|
486
|
+
var options = null
|
|
487
|
+
var ssrIdKey = 'data-vue-ssr-id'
|
|
488
|
+
|
|
489
|
+
// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
|
|
490
|
+
// tags it will allow on a page
|
|
491
|
+
var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase())
|
|
492
|
+
|
|
493
|
+
module.exports = function (parentId, list, _isProduction, _options) {
|
|
494
|
+
isProduction = _isProduction
|
|
495
|
+
|
|
496
|
+
options = _options || {}
|
|
497
|
+
|
|
498
|
+
var styles = listToStyles(parentId, list)
|
|
499
|
+
addStylesToDom(styles)
|
|
500
|
+
|
|
501
|
+
return function update (newList) {
|
|
502
|
+
var mayRemove = []
|
|
503
|
+
for (var i = 0; i < styles.length; i++) {
|
|
504
|
+
var item = styles[i]
|
|
505
|
+
var domStyle = stylesInDom[item.id]
|
|
506
|
+
domStyle.refs--
|
|
507
|
+
mayRemove.push(domStyle)
|
|
508
|
+
}
|
|
509
|
+
if (newList) {
|
|
510
|
+
styles = listToStyles(parentId, newList)
|
|
511
|
+
addStylesToDom(styles)
|
|
512
|
+
} else {
|
|
513
|
+
styles = []
|
|
514
|
+
}
|
|
515
|
+
for (var i = 0; i < mayRemove.length; i++) {
|
|
516
|
+
var domStyle = mayRemove[i]
|
|
517
|
+
if (domStyle.refs === 0) {
|
|
518
|
+
for (var j = 0; j < domStyle.parts.length; j++) {
|
|
519
|
+
domStyle.parts[j]()
|
|
520
|
+
}
|
|
521
|
+
delete stylesInDom[domStyle.id]
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
function addStylesToDom (styles /* Array<StyleObject> */) {
|
|
528
|
+
for (var i = 0; i < styles.length; i++) {
|
|
529
|
+
var item = styles[i]
|
|
530
|
+
var domStyle = stylesInDom[item.id]
|
|
531
|
+
if (domStyle) {
|
|
532
|
+
domStyle.refs++
|
|
533
|
+
for (var j = 0; j < domStyle.parts.length; j++) {
|
|
534
|
+
domStyle.parts[j](item.parts[j])
|
|
535
|
+
}
|
|
536
|
+
for (; j < item.parts.length; j++) {
|
|
537
|
+
domStyle.parts.push(addStyle(item.parts[j]))
|
|
538
|
+
}
|
|
539
|
+
if (domStyle.parts.length > item.parts.length) {
|
|
540
|
+
domStyle.parts.length = item.parts.length
|
|
541
|
+
}
|
|
542
|
+
} else {
|
|
543
|
+
var parts = []
|
|
544
|
+
for (var j = 0; j < item.parts.length; j++) {
|
|
545
|
+
parts.push(addStyle(item.parts[j]))
|
|
546
|
+
}
|
|
547
|
+
stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
function createStyleElement () {
|
|
553
|
+
var styleElement = document.createElement('style')
|
|
554
|
+
styleElement.type = 'text/css'
|
|
555
|
+
head.appendChild(styleElement)
|
|
556
|
+
return styleElement
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
function addStyle (obj /* StyleObjectPart */) {
|
|
560
|
+
var update, remove
|
|
561
|
+
var styleElement = document.querySelector('style[' + ssrIdKey + '~="' + obj.id + '"]')
|
|
562
|
+
|
|
563
|
+
if (styleElement) {
|
|
564
|
+
if (isProduction) {
|
|
565
|
+
// has SSR styles and in production mode.
|
|
566
|
+
// simply do nothing.
|
|
567
|
+
return noop
|
|
568
|
+
} else {
|
|
569
|
+
// has SSR styles but in dev mode.
|
|
570
|
+
// for some reason Chrome can't handle source map in server-rendered
|
|
571
|
+
// style tags - source maps in <style> only works if the style tag is
|
|
572
|
+
// created and inserted dynamically. So we remove the server rendered
|
|
573
|
+
// styles and inject new ones.
|
|
574
|
+
styleElement.parentNode.removeChild(styleElement)
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
if (isOldIE) {
|
|
579
|
+
// use singleton mode for IE9.
|
|
580
|
+
var styleIndex = singletonCounter++
|
|
581
|
+
styleElement = singletonElement || (singletonElement = createStyleElement())
|
|
582
|
+
update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)
|
|
583
|
+
remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)
|
|
584
|
+
} else {
|
|
585
|
+
// use multi-style-tag mode in all other cases
|
|
586
|
+
styleElement = createStyleElement()
|
|
587
|
+
update = applyToTag.bind(null, styleElement)
|
|
588
|
+
remove = function () {
|
|
589
|
+
styleElement.parentNode.removeChild(styleElement)
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
update(obj)
|
|
594
|
+
|
|
595
|
+
return function updateStyle (newObj /* StyleObjectPart */) {
|
|
596
|
+
if (newObj) {
|
|
597
|
+
if (newObj.css === obj.css &&
|
|
598
|
+
newObj.media === obj.media &&
|
|
599
|
+
newObj.sourceMap === obj.sourceMap) {
|
|
600
|
+
return
|
|
601
|
+
}
|
|
602
|
+
update(obj = newObj)
|
|
603
|
+
} else {
|
|
604
|
+
remove()
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
var replaceText = (function () {
|
|
610
|
+
var textStore = []
|
|
611
|
+
|
|
612
|
+
return function (index, replacement) {
|
|
613
|
+
textStore[index] = replacement
|
|
614
|
+
return textStore.filter(Boolean).join('\n')
|
|
615
|
+
}
|
|
616
|
+
})()
|
|
617
|
+
|
|
618
|
+
function applyToSingletonTag (styleElement, index, remove, obj) {
|
|
619
|
+
var css = remove ? '' : obj.css
|
|
620
|
+
|
|
621
|
+
if (styleElement.styleSheet) {
|
|
622
|
+
styleElement.styleSheet.cssText = replaceText(index, css)
|
|
623
|
+
} else {
|
|
624
|
+
var cssNode = document.createTextNode(css)
|
|
625
|
+
var childNodes = styleElement.childNodes
|
|
626
|
+
if (childNodes[index]) styleElement.removeChild(childNodes[index])
|
|
627
|
+
if (childNodes.length) {
|
|
628
|
+
styleElement.insertBefore(cssNode, childNodes[index])
|
|
629
|
+
} else {
|
|
630
|
+
styleElement.appendChild(cssNode)
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
function applyToTag (styleElement, obj) {
|
|
636
|
+
var css = obj.css
|
|
637
|
+
var media = obj.media
|
|
638
|
+
var sourceMap = obj.sourceMap
|
|
639
|
+
|
|
640
|
+
if (media) {
|
|
641
|
+
styleElement.setAttribute('media', media)
|
|
642
|
+
}
|
|
643
|
+
if (options.ssrId) {
|
|
644
|
+
styleElement.setAttribute(ssrIdKey, obj.id)
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
if (sourceMap) {
|
|
648
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
649
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
650
|
+
css += '\n/*# sourceURL=' + sourceMap.sources[0] + ' */'
|
|
651
|
+
// http://stackoverflow.com/a/26603875
|
|
652
|
+
css += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
if (styleElement.styleSheet) {
|
|
656
|
+
styleElement.styleSheet.cssText = css
|
|
657
|
+
} else {
|
|
658
|
+
while (styleElement.firstChild) {
|
|
659
|
+
styleElement.removeChild(styleElement.firstChild)
|
|
660
|
+
}
|
|
661
|
+
styleElement.appendChild(document.createTextNode(css))
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
/***/ }),
|
|
667
|
+
/* 10 */
|
|
668
|
+
/***/ (function(module, exports) {
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* Translates the list format produced by css-loader into something
|
|
672
|
+
* easier to manipulate.
|
|
673
|
+
*/
|
|
674
|
+
module.exports = function listToStyles (parentId, list) {
|
|
675
|
+
var styles = []
|
|
676
|
+
var newStyles = {}
|
|
677
|
+
for (var i = 0; i < list.length; i++) {
|
|
678
|
+
var item = list[i]
|
|
679
|
+
var id = item[0]
|
|
680
|
+
var css = item[1]
|
|
681
|
+
var media = item[2]
|
|
682
|
+
var sourceMap = item[3]
|
|
683
|
+
var part = {
|
|
684
|
+
id: parentId + ':' + i,
|
|
685
|
+
css: css,
|
|
686
|
+
media: media,
|
|
687
|
+
sourceMap: sourceMap
|
|
688
|
+
}
|
|
689
|
+
if (!newStyles[id]) {
|
|
690
|
+
styles.push(newStyles[id] = { id: id, parts: [part] })
|
|
691
|
+
} else {
|
|
692
|
+
newStyles[id].parts.push(part)
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
return styles
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
/***/ })
|
|
700
|
+
/******/ ]);
|
|
701
|
+
});
|
|
702
|
+
//# sourceMappingURL=index.web.js.map
|