1 | module.exports =
|
2 | (function(modules) {
|
3 |
|
4 | var installedModules = {};
|
5 |
|
6 |
|
7 | function __webpack_require__(moduleId) {
|
8 |
|
9 |
|
10 | if(installedModules[moduleId]) {
|
11 | return installedModules[moduleId].exports;
|
12 | }
|
13 |
|
14 | var module = installedModules[moduleId] = {
|
15 | i: moduleId,
|
16 | l: false,
|
17 | exports: {}
|
18 | };
|
19 |
|
20 |
|
21 | modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
22 |
|
23 |
|
24 | module.l = true;
|
25 |
|
26 |
|
27 | return module.exports;
|
28 | }
|
29 |
|
30 |
|
31 |
|
32 | __webpack_require__.m = modules;
|
33 |
|
34 |
|
35 | __webpack_require__.c = installedModules;
|
36 |
|
37 |
|
38 | __webpack_require__.d = function(exports, name, getter) {
|
39 | if(!__webpack_require__.o(exports, name)) {
|
40 | Object.defineProperty(exports, name, { enumerable: true, get: getter });
|
41 | }
|
42 | };
|
43 |
|
44 |
|
45 | __webpack_require__.r = function(exports) {
|
46 | if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
47 | Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
48 | }
|
49 | Object.defineProperty(exports, '__esModule', { value: true });
|
50 | };
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 | __webpack_require__.t = function(value, mode) {
|
58 | if(mode & 1) value = __webpack_require__(value);
|
59 | if(mode & 8) return value;
|
60 | if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
61 | var ns = Object.create(null);
|
62 | __webpack_require__.r(ns);
|
63 | Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
64 | if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
65 | return ns;
|
66 | };
|
67 |
|
68 |
|
69 | __webpack_require__.n = function(module) {
|
70 | var getter = module && module.__esModule ?
|
71 | function getDefault() { return module['default']; } :
|
72 | function getModuleExports() { return module; };
|
73 | __webpack_require__.d(getter, 'a', getter);
|
74 | return getter;
|
75 | };
|
76 |
|
77 |
|
78 | __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
79 |
|
80 |
|
81 | __webpack_require__.p = "/dist/";
|
82 |
|
83 |
|
84 |
|
85 | return __webpack_require__(__webpack_require__.s = 56);
|
86 | })
|
87 |
|
88 | ({
|
89 |
|
90 | 0:
|
91 | (function(module, __webpack_exports__, __webpack_require__) {
|
92 |
|
93 | "use strict";
|
94 | __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
95 |
|
96 |
|
97 |
|
98 |
|
99 |
|
100 |
|
101 | function normalizeComponent (
|
102 | scriptExports,
|
103 | render,
|
104 | staticRenderFns,
|
105 | functionalTemplate,
|
106 | injectStyles,
|
107 | scopeId,
|
108 | moduleIdentifier, /* server only */
|
109 | shadowMode /* vue-cli only */
|
110 | ) {
|
111 |
|
112 | var options = typeof scriptExports === 'function'
|
113 | ? scriptExports.options
|
114 | : scriptExports
|
115 |
|
116 |
|
117 | if (render) {
|
118 | options.render = render
|
119 | options.staticRenderFns = staticRenderFns
|
120 | options._compiled = true
|
121 | }
|
122 |
|
123 |
|
124 | if (functionalTemplate) {
|
125 | options.functional = true
|
126 | }
|
127 |
|
128 |
|
129 | if (scopeId) {
|
130 | options._scopeId = 'data-v-' + scopeId
|
131 | }
|
132 |
|
133 | var hook
|
134 | if (moduleIdentifier) {
|
135 | hook = function (context) {
|
136 |
|
137 | context =
|
138 | context ||
|
139 | (this.$vnode && this.$vnode.ssrContext) ||
|
140 | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext)
|
141 |
|
142 | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
143 | context = __VUE_SSR_CONTEXT__
|
144 | }
|
145 |
|
146 | if (injectStyles) {
|
147 | injectStyles.call(this, context)
|
148 | }
|
149 |
|
150 | if (context && context._registeredComponents) {
|
151 | context._registeredComponents.add(moduleIdentifier)
|
152 | }
|
153 | }
|
154 |
|
155 |
|
156 | options._ssrRegister = hook
|
157 | } else if (injectStyles) {
|
158 | hook = shadowMode
|
159 | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
|
160 | : injectStyles
|
161 | }
|
162 |
|
163 | if (hook) {
|
164 | if (options.functional) {
|
165 |
|
166 |
|
167 | options._injectStyles = hook
|
168 |
|
169 | var originalRender = options.render
|
170 | options.render = function renderWithStyleInjection (h, context) {
|
171 | hook.call(context)
|
172 | return originalRender(h, context)
|
173 | }
|
174 | } else {
|
175 |
|
176 | var existing = options.beforeCreate
|
177 | options.beforeCreate = existing
|
178 | ? [].concat(existing, hook)
|
179 | : [hook]
|
180 | }
|
181 | }
|
182 |
|
183 | return {
|
184 | exports: scriptExports,
|
185 | options: options
|
186 | }
|
187 | }
|
188 |
|
189 |
|
190 | }),
|
191 |
|
192 | 56:
|
193 | (function(module, __webpack_exports__, __webpack_require__) {
|
194 |
|
195 | "use strict";
|
196 | __webpack_require__.r(__webpack_exports__);
|
197 |
|
198 |
|
199 | var render = function() {
|
200 | var _vm = this
|
201 | var _h = _vm.$createElement
|
202 | var _c = _vm._self._c || _h
|
203 | return _c("div", { staticClass: "el-result" }, [
|
204 | _c(
|
205 | "div",
|
206 | { staticClass: "el-result__icon" },
|
207 | [
|
208 | _vm._t("icon", [
|
209 | _c(_vm.iconElement, { tag: "component", class: _vm.iconElement })
|
210 | ])
|
211 | ],
|
212 | 2
|
213 | ),
|
214 | _vm.title || _vm.$slots.title
|
215 | ? _c(
|
216 | "div",
|
217 | { staticClass: "el-result__title" },
|
218 | [_vm._t("title", [_c("p", [_vm._v(_vm._s(_vm.title))])])],
|
219 | 2
|
220 | )
|
221 | : _vm._e(),
|
222 | _vm.subTitle || _vm.$slots.subTitle
|
223 | ? _c(
|
224 | "div",
|
225 | { staticClass: "el-result__subtitle" },
|
226 | [_vm._t("subTitle", [_c("p", [_vm._v(_vm._s(_vm.subTitle))])])],
|
227 | 2
|
228 | )
|
229 | : _vm._e(),
|
230 | _vm.$slots.extra
|
231 | ? _c("div", { staticClass: "el-result__extra" }, [_vm._t("extra")], 2)
|
232 | : _vm._e()
|
233 | ])
|
234 | }
|
235 | var staticRenderFns = []
|
236 | render._withStripped = true
|
237 |
|
238 |
|
239 |
|
240 |
|
241 |
|
242 | var icon_successvue_type_template_id_18119418_render = function() {
|
243 | var _vm = this
|
244 | var _h = _vm.$createElement
|
245 | var _c = _vm._self._c || _h
|
246 | return _c(
|
247 | "svg",
|
248 | { attrs: { viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg" } },
|
249 | [
|
250 | _c("path", {
|
251 | attrs: {
|
252 | d:
|
253 | "M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M34.5548098,16.4485711 C33.9612228,15.8504763 32.9988282,15.8504763 32.4052412,16.4485711 L32.4052412,16.4485711 L21.413757,27.5805811 L21.413757,27.5805811 L21.4034642,27.590855 C21.0097542,27.9781674 20.3766105,27.9729811 19.9892981,27.5792711 L19.9892981,27.5792711 L15.5947588,23.1121428 C15.0011718,22.514048 14.0387772,22.514048 13.4451902,23.1121428 C12.8516033,23.7102376 12.8516033,24.6799409 13.4451902,25.2780357 L13.4451902,25.2780357 L19.6260786,31.5514289 C20.2196656,32.1495237 21.1820602,32.1495237 21.7756472,31.5514289 L21.7756472,31.5514289 L34.5548098,18.614464 C35.1483967,18.0163692 35.1483967,17.0466659 34.5548098,16.4485711 Z"
|
254 | }
|
255 | })
|
256 | ]
|
257 | )
|
258 | }
|
259 | var icon_successvue_type_template_id_18119418_staticRenderFns = []
|
260 | icon_successvue_type_template_id_18119418_render._withStripped = true
|
261 |
|
262 |
|
263 |
|
264 |
|
265 |
|
266 |
|
267 |
|
268 |
|
269 |
|
270 |
|
271 |
|
272 |
|
273 |
|
274 |
|
275 | var icon_successvue_type_script_lang_js_ = ({
|
276 | name: 'IconSuccess'
|
277 | });
|
278 |
|
279 | var src_icon_successvue_type_script_lang_js_ = (icon_successvue_type_script_lang_js_);
|
280 |
|
281 | var componentNormalizer = __webpack_require__(0);
|
282 |
|
283 |
|
284 |
|
285 |
|
286 |
|
287 |
|
288 |
|
289 |
|
290 |
|
291 | var component = Object(componentNormalizer["a" ])(
|
292 | src_icon_successvue_type_script_lang_js_,
|
293 | icon_successvue_type_template_id_18119418_render,
|
294 | icon_successvue_type_template_id_18119418_staticRenderFns,
|
295 | false,
|
296 | null,
|
297 | null,
|
298 | null
|
299 |
|
300 | )
|
301 |
|
302 |
|
303 | if (false) { var api; }
|
304 | component.options.__file = "packages/result/src/icon-success.vue"
|
305 | var icon_success = (component.exports);
|
306 |
|
307 | var icon_errorvue_type_template_id_21199246_render = function() {
|
308 | var _vm = this
|
309 | var _h = _vm.$createElement
|
310 | var _c = _vm._self._c || _h
|
311 | return _c(
|
312 | "svg",
|
313 | { attrs: { viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg" } },
|
314 | [
|
315 | _c("path", {
|
316 | attrs: {
|
317 | d:
|
318 | "M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.57818,15.42182 C32.0157534,14.8593933 31.1038797,14.8593933 30.541453,15.42182 L30.541453,15.42182 L24.0006789,21.9625941 L17.458547,15.42182 C16.8961203,14.8593933 15.9842466,14.8593933 15.42182,15.42182 C14.8593933,15.9842466 14.8593933,16.8961203 15.42182,17.458547 L15.42182,17.458547 L21.9639519,23.9993211 L15.42182,30.541453 C14.8593933,31.1038797 14.8593933,32.0157534 15.42182,32.57818 C15.9842466,33.1406067 16.8961203,33.1406067 17.458547,32.57818 L17.458547,32.57818 L24.0006789,26.0360481 L30.541453,32.57818 C31.1038797,33.1406067 32.0157534,33.1406067 32.57818,32.57818 C33.1406067,32.0157534 33.1406067,31.1038797 32.57818,30.541453 L32.57818,30.541453 L26.0374059,23.9993211 L32.57818,17.458547 C33.1406067,16.8961203 33.1406067,15.9842466 32.57818,15.42182 Z"
|
319 | }
|
320 | })
|
321 | ]
|
322 | )
|
323 | }
|
324 | var icon_errorvue_type_template_id_21199246_staticRenderFns = []
|
325 | icon_errorvue_type_template_id_21199246_render._withStripped = true
|
326 |
|
327 |
|
328 |
|
329 |
|
330 |
|
331 |
|
332 |
|
333 |
|
334 |
|
335 |
|
336 |
|
337 |
|
338 |
|
339 |
|
340 | var icon_errorvue_type_script_lang_js_ = ({
|
341 | name: 'IconError'
|
342 | });
|
343 |
|
344 | var src_icon_errorvue_type_script_lang_js_ = (icon_errorvue_type_script_lang_js_);
|
345 |
|
346 |
|
347 |
|
348 |
|
349 |
|
350 |
|
351 |
|
352 |
|
353 | var icon_error_component = Object(componentNormalizer["a" ])(
|
354 | src_icon_errorvue_type_script_lang_js_,
|
355 | icon_errorvue_type_template_id_21199246_render,
|
356 | icon_errorvue_type_template_id_21199246_staticRenderFns,
|
357 | false,
|
358 | null,
|
359 | null,
|
360 | null
|
361 |
|
362 | )
|
363 |
|
364 |
|
365 | if (false) { var icon_error_api; }
|
366 | icon_error_component.options.__file = "packages/result/src/icon-error.vue"
|
367 | var icon_error = (icon_error_component.exports);
|
368 |
|
369 | var icon_warningvue_type_template_id_46fe8f31_render = function() {
|
370 | var _vm = this
|
371 | var _h = _vm.$createElement
|
372 | var _c = _vm._self._c || _h
|
373 | return _c(
|
374 | "svg",
|
375 | { attrs: { viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg" } },
|
376 | [
|
377 | _c("path", {
|
378 | attrs: {
|
379 | d:
|
380 | "M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M24,31 C22.8954305,31 22,31.8954305 22,33 C22,34.1045695 22.8954305,35 24,35 C25.1045695,35 26,34.1045695 26,33 C26,31.8954305 25.1045695,31 24,31 Z M24,14 C23.1715729,14 22.5,14.6715729 22.5,15.5 L22.5,15.5 L22.5,27.5 C22.5,28.3284271 23.1715729,29 24,29 C24.8284271,29 25.5,28.3284271 25.5,27.5 L25.5,27.5 L25.5,15.5 C25.5,14.6715729 24.8284271,14 24,14 Z"
|
381 | }
|
382 | })
|
383 | ]
|
384 | )
|
385 | }
|
386 | var icon_warningvue_type_template_id_46fe8f31_staticRenderFns = []
|
387 | icon_warningvue_type_template_id_46fe8f31_render._withStripped = true
|
388 |
|
389 |
|
390 |
|
391 |
|
392 |
|
393 |
|
394 |
|
395 |
|
396 |
|
397 |
|
398 |
|
399 |
|
400 |
|
401 |
|
402 | var icon_warningvue_type_script_lang_ts_ = ({
|
403 | name: 'IconWarning'
|
404 | });
|
405 |
|
406 |
|
407 | var src_icon_warningvue_type_script_lang_ts_ = (icon_warningvue_type_script_lang_ts_);
|
408 |
|
409 |
|
410 |
|
411 |
|
412 |
|
413 |
|
414 |
|
415 |
|
416 | var icon_warning_component = Object(componentNormalizer["a" ])(
|
417 | src_icon_warningvue_type_script_lang_ts_,
|
418 | icon_warningvue_type_template_id_46fe8f31_render,
|
419 | icon_warningvue_type_template_id_46fe8f31_staticRenderFns,
|
420 | false,
|
421 | null,
|
422 | null,
|
423 | null
|
424 |
|
425 | )
|
426 |
|
427 |
|
428 | if (false) { var icon_warning_api; }
|
429 | icon_warning_component.options.__file = "packages/result/src/icon-warning.vue"
|
430 | var icon_warning = (icon_warning_component.exports);
|
431 |
|
432 | var icon_infovue_type_template_id_19e3de69_render = function() {
|
433 | var _vm = this
|
434 | var _h = _vm.$createElement
|
435 | var _c = _vm._self._c || _h
|
436 | return _c(
|
437 | "svg",
|
438 | { attrs: { viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg" } },
|
439 | [
|
440 | _c("path", {
|
441 | attrs: {
|
442 | d:
|
443 | "M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M24,19 L21,19 C20.1715729,19 19.5,19.6715729 19.5,20.5 C19.5,21.3284271 20.1715729,22 21,22 L21,22 L22.5,22 L22.5,31 L21,31 C20.1715729,31 19.5,31.6715729 19.5,32.5 C19.5,33.3284271 20.1715729,34 21,34 L21,34 L27,34 C27.8284271,34 28.5,33.3284271 28.5,32.5 C28.5,31.6715729 27.8284271,31 27,31 L27,31 L25.5,31 L25.5,20.5 C25.5,19.6715729 24.8284271,19 24,19 L24,19 Z M24,13 C22.8954305,13 22,13.8954305 22,15 C22,16.1045695 22.8954305,17 24,17 C25.1045695,17 26,16.1045695 26,15 C26,13.8954305 25.1045695,13 24,13 Z"
|
444 | }
|
445 | })
|
446 | ]
|
447 | )
|
448 | }
|
449 | var icon_infovue_type_template_id_19e3de69_staticRenderFns = []
|
450 | icon_infovue_type_template_id_19e3de69_render._withStripped = true
|
451 |
|
452 |
|
453 |
|
454 |
|
455 |
|
456 |
|
457 |
|
458 |
|
459 |
|
460 |
|
461 |
|
462 |
|
463 |
|
464 |
|
465 | var icon_infovue_type_script_lang_ts_ = ({
|
466 | name: 'IconInfo'
|
467 | });
|
468 |
|
469 |
|
470 | var src_icon_infovue_type_script_lang_ts_ = (icon_infovue_type_script_lang_ts_);
|
471 |
|
472 |
|
473 |
|
474 |
|
475 |
|
476 |
|
477 |
|
478 |
|
479 | var icon_info_component = Object(componentNormalizer["a" ])(
|
480 | src_icon_infovue_type_script_lang_ts_,
|
481 | icon_infovue_type_template_id_19e3de69_render,
|
482 | icon_infovue_type_template_id_19e3de69_staticRenderFns,
|
483 | false,
|
484 | null,
|
485 | null,
|
486 | null
|
487 |
|
488 | )
|
489 |
|
490 |
|
491 | if (false) { var icon_info_api; }
|
492 | icon_info_component.options.__file = "packages/result/src/icon-info.vue"
|
493 | var icon_info = (icon_info_component.exports);
|
494 |
|
495 | var _components;
|
496 |
|
497 |
|
498 |
|
499 |
|
500 |
|
501 |
|
502 |
|
503 |
|
504 |
|
505 |
|
506 |
|
507 |
|
508 |
|
509 |
|
510 |
|
511 |
|
512 |
|
513 |
|
514 |
|
515 |
|
516 |
|
517 |
|
518 |
|
519 |
|
520 |
|
521 |
|
522 |
|
523 |
|
524 |
|
525 | var IconMap = {
|
526 | success: 'icon-success',
|
527 | warning: 'icon-warning',
|
528 | error: 'icon-error',
|
529 | info: 'icon-info'
|
530 | };
|
531 |
|
532 | var srcvue_type_script_lang_js_ = ({
|
533 | name: 'ElResult',
|
534 | components: (_components = {}, _components[icon_success.name] = icon_success, _components[icon_error.name] = icon_error, _components[icon_warning.name] = icon_warning, _components[icon_info.name] = icon_info, _components),
|
535 | props: {
|
536 | title: {
|
537 | type: String,
|
538 | default: ''
|
539 | },
|
540 | subTitle: {
|
541 | type: String,
|
542 | default: ''
|
543 | },
|
544 | icon: {
|
545 | type: String,
|
546 | default: 'info'
|
547 | }
|
548 | },
|
549 | computed: {
|
550 | iconElement: function iconElement() {
|
551 | var icon = this.icon;
|
552 | return icon && IconMap[icon] ? IconMap[icon] : 'icon-info';
|
553 | }
|
554 | }
|
555 | });
|
556 |
|
557 | var result_srcvue_type_script_lang_js_ = (srcvue_type_script_lang_js_);
|
558 |
|
559 |
|
560 |
|
561 |
|
562 |
|
563 |
|
564 |
|
565 |
|
566 | var src_component = Object(componentNormalizer["a" ])(
|
567 | result_srcvue_type_script_lang_js_,
|
568 | render,
|
569 | staticRenderFns,
|
570 | false,
|
571 | null,
|
572 | null,
|
573 | null
|
574 |
|
575 | )
|
576 |
|
577 |
|
578 | if (false) { var src_api; }
|
579 | src_component.options.__file = "packages/result/src/index.vue"
|
580 | var src = (src_component.exports);
|
581 |
|
582 |
|
583 |
|
584 |
|
585 | src.install = function (Vue) {
|
586 | Vue.component(src.name, src);
|
587 | };
|
588 |
|
589 | var result = __webpack_exports__["default"] = (src);
|
590 |
|
591 | })
|
592 |
|
593 | }); |
\ | No newline at end of file |