UNPKG

7.49 kBJavaScriptView Raw
1module.exports =
2/******/ (function(modules) { // webpackBootstrap
3/******/ // The module cache
4/******/ var installedModules = {};
5
6/******/ // The require function
7/******/ function __webpack_require__(moduleId) {
8
9/******/ // Check if module is in cache
10/******/ if(installedModules[moduleId])
11/******/ return installedModules[moduleId].exports;
12
13/******/ // Create a new module (and put it into the cache)
14/******/ var module = installedModules[moduleId] = {
15/******/ i: moduleId,
16/******/ l: false,
17/******/ exports: {}
18/******/ };
19
20/******/ // Execute the module function
21/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22
23/******/ // Flag the module as loaded
24/******/ module.l = true;
25
26/******/ // Return the exports of the module
27/******/ return module.exports;
28/******/ }
29
30
31/******/ // expose the modules object (__webpack_modules__)
32/******/ __webpack_require__.m = modules;
33
34/******/ // expose the module cache
35/******/ __webpack_require__.c = installedModules;
36
37/******/ // identity function for calling harmony imports with the correct context
38/******/ __webpack_require__.i = function(value) { return value; };
39
40/******/ // define getter function for harmony exports
41/******/ __webpack_require__.d = function(exports, name, getter) {
42/******/ if(!__webpack_require__.o(exports, name)) {
43/******/ Object.defineProperty(exports, name, {
44/******/ configurable: false,
45/******/ enumerable: true,
46/******/ get: getter
47/******/ });
48/******/ }
49/******/ };
50
51/******/ // getDefaultExport function for compatibility with non-harmony modules
52/******/ __webpack_require__.n = function(module) {
53/******/ var getter = module && module.__esModule ?
54/******/ function getDefault() { return module['default']; } :
55/******/ function getModuleExports() { return module; };
56/******/ __webpack_require__.d(getter, 'a', getter);
57/******/ return getter;
58/******/ };
59
60/******/ // Object.prototype.hasOwnProperty.call
61/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
62
63/******/ // __webpack_public_path__
64/******/ __webpack_require__.p = "";
65
66/******/ // Load entry module and return exports
67/******/ return __webpack_require__(__webpack_require__.s = 240);
68/******/ })
69/************************************************************************/
70/******/ ({
71
72/***/ 0:
73/***/ function(module, exports) {
74
75/* globals __VUE_SSR_CONTEXT__ */
76
77// this module is a runtime utility for cleaner component module output and will
78// be included in the final webpack user bundle
79
80module.exports = function normalizeComponent (
81 rawScriptExports,
82 compiledTemplate,
83 injectStyles,
84 scopeId,
85 moduleIdentifier /* server only */
86) {
87 var esModule
88 var scriptExports = rawScriptExports = rawScriptExports || {}
89
90 // ES6 modules interop
91 var type = typeof rawScriptExports.default
92 if (type === 'object' || type === 'function') {
93 esModule = rawScriptExports
94 scriptExports = rawScriptExports.default
95 }
96
97 // Vue.extend constructor export interop
98 var options = typeof scriptExports === 'function'
99 ? scriptExports.options
100 : scriptExports
101
102 // render functions
103 if (compiledTemplate) {
104 options.render = compiledTemplate.render
105 options.staticRenderFns = compiledTemplate.staticRenderFns
106 }
107
108 // scopedId
109 if (scopeId) {
110 options._scopeId = scopeId
111 }
112
113 var hook
114 if (moduleIdentifier) { // server build
115 hook = function (context) {
116 // 2.3 injection
117 context =
118 context || // cached call
119 (this.$vnode && this.$vnode.ssrContext) || // stateful
120 (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
121 // 2.2 with runInNewContext: true
122 if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
123 context = __VUE_SSR_CONTEXT__
124 }
125 // inject component styles
126 if (injectStyles) {
127 injectStyles.call(this, context)
128 }
129 // register component module identifier for async chunk inferrence
130 if (context && context._registeredComponents) {
131 context._registeredComponents.add(moduleIdentifier)
132 }
133 }
134 // used by ssr in case component is cached and beforeCreate
135 // never gets called
136 options._ssrRegister = hook
137 } else if (injectStyles) {
138 hook = injectStyles
139 }
140
141 if (hook) {
142 var functional = options.functional
143 var existing = functional
144 ? options.render
145 : options.beforeCreate
146 if (!functional) {
147 // inject component registration as beforeCreate hook
148 options.beforeCreate = existing
149 ? [].concat(existing, hook)
150 : [hook]
151 } else {
152 // register for functioal component in vue file
153 options.render = function renderWithStyleInjection (h, context) {
154 hook.call(context)
155 return existing(h, context)
156 }
157 }
158 }
159
160 return {
161 esModule: esModule,
162 exports: scriptExports,
163 options: options
164 }
165}
166
167
168/***/ },
169
170/***/ 108:
171/***/ function(module, exports) {
172
173// removed by extract-text-webpack-plugin
174
175/***/ },
176
177/***/ 162:
178/***/ function(module, exports, __webpack_require__) {
179
180function injectStyle (ssrContext) {
181 __webpack_require__(108)
182}
183var Component = __webpack_require__(0)(
184 /* script */
185 __webpack_require__(84),
186 /* template */
187 __webpack_require__(177),
188 /* styles */
189 injectStyle,
190 /* scopeId */
191 null,
192 /* moduleIdentifier (server only) */
193 null
194)
195
196module.exports = Component.exports
197
198
199/***/ },
200
201/***/ 177:
202/***/ function(module, exports) {
203
204module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
205 return _c('a', {
206 staticClass: "mint-tab-item",
207 class: {
208 'is-selected': _vm.$parent.value === _vm.id
209 },
210 on: {
211 "click": function($event) {
212 _vm.$parent.$emit('input', _vm.id)
213 }
214 }
215 }, [_c('div', {
216 staticClass: "mint-tab-item-icon"
217 }, [_vm._t("icon")], 2), _vm._v(" "), _c('div', {
218 staticClass: "mint-tab-item-label"
219 }, [_vm._t("default")], 2)])
220},staticRenderFns: []}
221
222/***/ },
223
224/***/ 240:
225/***/ function(module, exports, __webpack_require__) {
226
227module.exports = __webpack_require__(48);
228
229
230/***/ },
231
232/***/ 48:
233/***/ function(module, exports, __webpack_require__) {
234
235"use strict";
236/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_tab_item_vue__ = __webpack_require__(162);
237/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_tab_item_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__src_tab_item_vue__);
238Object.defineProperty(exports, "__esModule", { value: true });
239/* harmony reexport (default from non-hamory) */ __webpack_require__.d(exports, "default", function() { return __WEBPACK_IMPORTED_MODULE_0__src_tab_item_vue___default.a; });
240
241
242
243/***/ },
244
245/***/ 84:
246/***/ function(module, exports, __webpack_require__) {
247
248"use strict";
249Object.defineProperty(exports, "__esModule", { value: true });
250//
251//
252//
253//
254//
255//
256//
257//
258//
259
260/**
261 * mt-tab-item
262 * @module components/tab-item
263 * @desc 搭配 tabbar 或 navbar 使用
264 * @param {*} id - 选中后的返回值,任意类型
265 * @param {slot} [icon] - icon 图标
266 * @param {slot} - 文字
267 *
268 * @example
269 * <mt-tab-item>
270 * <img slot="icon" src="http://placehold.it/100x100">
271 * 订单
272 * </mt-tab-item>
273 */
274/* harmony default export */ exports["default"] = {
275 name: 'mt-tab-item',
276
277 props: ['id']
278};
279
280
281/***/ }
282
283/******/ });
\No newline at end of file