cy-element-ui 1.0.62 → 1.0.63
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/lib/alert.js +4 -4
- package/lib/aside.js +77 -77
- package/lib/autocomplete.js +159 -3940
- package/lib/avatar.js +108 -108
- package/lib/backtop.js +110 -110
- package/lib/badge.js +108 -108
- package/lib/breadcrumb-item.js +4 -4
- package/lib/breadcrumb.js +4 -4
- package/lib/button-group.js +4 -4
- package/lib/button.js +4 -4
- package/lib/calendar.js +46 -1545
- package/lib/card.js +96 -96
- package/lib/carousel-item.js +108 -452
- package/lib/carousel.js +116 -185
- package/lib/cascader-panel.js +187 -2270
- package/lib/cascader.js +275 -6452
- package/lib/checkbox-button.js +11 -43
- package/lib/checkbox-group.js +15 -47
- package/lib/checkbox.js +15 -47
- package/lib/col.js +2 -2
- package/lib/collapse-item.js +110 -815
- package/lib/collapse.js +108 -108
- package/lib/color-picker.js +153 -3953
- package/lib/container.js +88 -88
- package/lib/date-picker.js +419 -5230
- package/lib/descriptions-item.js +2 -2
- package/lib/descriptions.js +8 -63
- package/lib/dialog.js +22 -1200
- package/lib/directives/repeat-click.js +2 -2
- package/lib/divider.js +104 -104
- package/lib/drawer.js +105 -875
- package/lib/dropdown-item.js +11 -43
- package/lib/dropdown-menu.js +75 -2277
- package/lib/dropdown.js +136 -1072
- package/lib/element-ui.common.js +29785 -42723
- package/lib/empty.js +7 -603
- package/lib/fileUpload.js +109 -2477
- package/lib/footer.js +77 -77
- package/lib/form-item.js +28 -418
- package/lib/form.js +15 -29
- package/lib/header.js +77 -77
- package/lib/icon.js +4 -4
- package/lib/image.js +49 -1376
- package/lib/index.js +1 -1
- package/lib/infinite-scroll.js +21 -311
- package/lib/input-number.js +33 -1422
- package/lib/input.js +37 -507
- package/lib/link.js +4 -4
- package/lib/loading.js +67 -804
- package/lib/locale/format.js +1 -1
- package/lib/locale/index.js +1 -1
- package/lib/main.js +64 -64
- package/lib/menu-item-group.js +4 -4
- package/lib/menu-item.js +61 -2945
- package/lib/menu.js +54 -745
- package/lib/message-box.js +80 -2537
- package/lib/message.js +24 -1102
- package/lib/mixins/locale.js +1 -1
- package/lib/mixins/migrating.js +1 -1
- package/lib/notification.js +25 -1102
- package/lib/option-group.js +11 -43
- package/lib/option.js +18 -394
- package/lib/page-header.js +87 -683
- package/lib/pagination.js +139 -6078
- package/lib/popconfirm.js +219 -3508
- package/lib/popover.js +99 -2624
- package/lib/progress.js +4 -4
- package/lib/radio-button.js +11 -43
- package/lib/radio-group.js +11 -43
- package/lib/radio.js +15 -47
- package/lib/rate.js +113 -756
- package/lib/result.js +4 -4
- package/lib/row.js +2 -2
- package/lib/scrollbar.js +50 -735
- package/lib/select.js +209 -4352
- package/lib/selectDisplayInput.js +108 -108
- package/lib/skeleton-item.js +2 -2
- package/lib/skeleton.js +108 -108
- package/lib/slider.js +120 -4266
- package/lib/spinner.js +4 -4
- package/lib/statistic.js +117 -9605
- package/lib/step.js +108 -108
- package/lib/steps.js +99 -514
- package/lib/subTitle.js +91 -91
- package/lib/submenu.js +121 -2442
- package/lib/switch.js +21 -476
- package/lib/tab-pane.js +4 -4
- package/lib/tabDialog.js +37 -1563
- package/lib/table-column.js +32 -880
- package/lib/table.js +424 -4467
- package/lib/tabs.js +12 -425
- package/lib/tag.js +4 -4
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/element.css +1 -1
- package/lib/theme-chalk/fileUpload.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/selectDisplayInput.css +1 -1
- package/lib/theme-chalk/subTitle.css +1 -1
- package/lib/theme-chalk/tabDialog.css +1 -1
- package/lib/theme-chalk/treeSelect.css +1 -1
- package/lib/time-picker.js +285 -5013
- package/lib/time-select.js +181 -4949
- package/lib/timeline-item.js +108 -108
- package/lib/timeline.js +82 -82
- package/lib/tooltip.js +41 -2566
- package/lib/transfer.js +142 -2136
- package/lib/transitions/collapse-transition.js +1 -1
- package/lib/tree.js +55 -1372
- package/lib/treeSelect.js +106 -3421
- package/lib/upload.js +28 -1047
- package/lib/utils/clickoutside.js +1 -1
- package/lib/utils/date-util.js +2 -2
- package/lib/utils/popup/index.js +2 -2
- package/lib/utils/popup/popup-manager.js +1 -1
- package/lib/utils/util.js +1 -1
- package/lib/utils/vdom.js +1 -1
- package/lib/utils/vue-popper.js +1 -1
- package/package.json +2 -2
- package/src/index.js +1 -1
- package/lib/theme-chalk/alert.css +0 -1
- package/lib/theme-chalk/aside.css +0 -1
- package/lib/theme-chalk/autocomplete.css +0 -1
- package/lib/theme-chalk/avatar.css +0 -1
- package/lib/theme-chalk/backtop.css +0 -1
- package/lib/theme-chalk/badge.css +0 -1
- package/lib/theme-chalk/breadcrumb-item.css +0 -0
- package/lib/theme-chalk/breadcrumb.css +0 -1
- package/lib/theme-chalk/button-group.css +0 -0
- package/lib/theme-chalk/button.css +0 -1
- package/lib/theme-chalk/calendar.css +0 -1
- package/lib/theme-chalk/card.css +0 -1
- package/lib/theme-chalk/carousel-item.css +0 -1
- package/lib/theme-chalk/carousel.css +0 -1
- package/lib/theme-chalk/cascader-panel.css +0 -1
- package/lib/theme-chalk/cascader.css +0 -1
- package/lib/theme-chalk/checkbox-button.css +0 -0
- package/lib/theme-chalk/checkbox-group.css +0 -0
- package/lib/theme-chalk/checkbox.css +0 -1
- package/lib/theme-chalk/col.css +0 -1
- package/lib/theme-chalk/collapse-item.css +0 -0
- package/lib/theme-chalk/collapse.css +0 -1
- package/lib/theme-chalk/color-picker.css +0 -1
- package/lib/theme-chalk/container.css +0 -1
- package/lib/theme-chalk/date-picker.css +0 -1
- package/lib/theme-chalk/descriptions-item.css +0 -1
- package/lib/theme-chalk/descriptions.css +0 -1
- package/lib/theme-chalk/dialog.css +0 -1
- package/lib/theme-chalk/display.css +0 -1
- package/lib/theme-chalk/divider.css +0 -1
- package/lib/theme-chalk/drawer.css +0 -1
- package/lib/theme-chalk/dropdown-item.css +0 -0
- package/lib/theme-chalk/dropdown-menu.css +0 -0
- package/lib/theme-chalk/dropdown.css +0 -1
- package/lib/theme-chalk/empty.css +0 -1
- package/lib/theme-chalk/fonts/element-icons.ttf +0 -0
- package/lib/theme-chalk/fonts/element-icons.woff +0 -0
- package/lib/theme-chalk/footer.css +0 -1
- package/lib/theme-chalk/form-item.css +0 -0
- package/lib/theme-chalk/form.css +0 -1
- package/lib/theme-chalk/header.css +0 -1
- package/lib/theme-chalk/icon.css +0 -1
- package/lib/theme-chalk/image.css +0 -1
- package/lib/theme-chalk/index.scss +0 -1
- package/lib/theme-chalk/infinite-scroll.css +0 -0
- package/lib/theme-chalk/infiniteScroll.css +0 -0
- package/lib/theme-chalk/input-number.css +0 -1
- package/lib/theme-chalk/input.css +0 -1
- package/lib/theme-chalk/link.css +0 -1
- package/lib/theme-chalk/loading.css +0 -1
- package/lib/theme-chalk/main.css +0 -1
- package/lib/theme-chalk/menu-item-group.css +0 -0
- package/lib/theme-chalk/menu-item.css +0 -0
- package/lib/theme-chalk/menu.css +0 -1
- package/lib/theme-chalk/message-box.css +0 -1
- package/lib/theme-chalk/message.css +0 -1
- package/lib/theme-chalk/notification.css +0 -1
- package/lib/theme-chalk/option-group.css +0 -1
- package/lib/theme-chalk/option.css +0 -1
- package/lib/theme-chalk/page-header.css +0 -1
- package/lib/theme-chalk/pagination.css +0 -1
- package/lib/theme-chalk/popconfirm.css +0 -1
- package/lib/theme-chalk/popover.css +0 -1
- package/lib/theme-chalk/popper.css +0 -1
- package/lib/theme-chalk/progress.css +0 -1
- package/lib/theme-chalk/radio-button.css +0 -1
- package/lib/theme-chalk/radio-group.css +0 -1
- package/lib/theme-chalk/radio.css +0 -1
- package/lib/theme-chalk/rate.css +0 -1
- package/lib/theme-chalk/reset.css +0 -1
- package/lib/theme-chalk/result.css +0 -1
- package/lib/theme-chalk/row.css +0 -1
- package/lib/theme-chalk/scrollbar.css +0 -1
- package/lib/theme-chalk/select-dropdown.css +0 -1
- package/lib/theme-chalk/select.css +0 -1
- package/lib/theme-chalk/skeleton-item.css +0 -1
- package/lib/theme-chalk/skeleton.css +0 -1
- package/lib/theme-chalk/slider.css +0 -1
- package/lib/theme-chalk/spinner.css +0 -1
- package/lib/theme-chalk/statistic.css +0 -1
- package/lib/theme-chalk/step.css +0 -1
- package/lib/theme-chalk/steps.css +0 -1
- package/lib/theme-chalk/submenu.css +0 -0
- package/lib/theme-chalk/switch.css +0 -1
- package/lib/theme-chalk/tab-pane.css +0 -0
- package/lib/theme-chalk/table-column.css +0 -1
- package/lib/theme-chalk/table.css +0 -1
- package/lib/theme-chalk/tabs.css +0 -1
- package/lib/theme-chalk/tag.css +0 -1
- package/lib/theme-chalk/time-picker.css +0 -1
- package/lib/theme-chalk/time-select.css +0 -1
- package/lib/theme-chalk/timeline-item.css +0 -1
- package/lib/theme-chalk/timeline.css +0 -1
- package/lib/theme-chalk/tooltip.css +0 -1
- package/lib/theme-chalk/transfer.css +0 -1
- package/lib/theme-chalk/tree.css +0 -1
- package/lib/theme-chalk/upload.css +0 -1
package/lib/carousel.js
CHANGED
|
@@ -82,12 +82,117 @@ 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 = 115);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/
|
|
90
|
+
/***/ 0:
|
|
91
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
|
+
|
|
93
|
+
"use strict";
|
|
94
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
95
|
+
/* globals __VUE_SSR_CONTEXT__ */
|
|
96
|
+
|
|
97
|
+
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
98
|
+
// This module is a runtime utility for cleaner component module output and will
|
|
99
|
+
// be included in the final webpack user bundle.
|
|
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
|
+
// Vue.extend constructor export interop
|
|
112
|
+
var options =
|
|
113
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
114
|
+
|
|
115
|
+
// render functions
|
|
116
|
+
if (render) {
|
|
117
|
+
options.render = render
|
|
118
|
+
options.staticRenderFns = staticRenderFns
|
|
119
|
+
options._compiled = true
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// functional template
|
|
123
|
+
if (functionalTemplate) {
|
|
124
|
+
options.functional = true
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
// scopedId
|
|
128
|
+
if (scopeId) {
|
|
129
|
+
options._scopeId = 'data-v-' + scopeId
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
var hook
|
|
133
|
+
if (moduleIdentifier) {
|
|
134
|
+
// server build
|
|
135
|
+
hook = function (context) {
|
|
136
|
+
// 2.3 injection
|
|
137
|
+
context =
|
|
138
|
+
context || // cached call
|
|
139
|
+
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
140
|
+
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
141
|
+
// 2.2 with runInNewContext: true
|
|
142
|
+
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
143
|
+
context = __VUE_SSR_CONTEXT__
|
|
144
|
+
}
|
|
145
|
+
// inject component styles
|
|
146
|
+
if (injectStyles) {
|
|
147
|
+
injectStyles.call(this, context)
|
|
148
|
+
}
|
|
149
|
+
// register component module identifier for async chunk inferrence
|
|
150
|
+
if (context && context._registeredComponents) {
|
|
151
|
+
context._registeredComponents.add(moduleIdentifier)
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
// used by ssr in case component is cached and beforeCreate
|
|
155
|
+
// never gets called
|
|
156
|
+
options._ssrRegister = hook
|
|
157
|
+
} else if (injectStyles) {
|
|
158
|
+
hook = shadowMode
|
|
159
|
+
? function () {
|
|
160
|
+
injectStyles.call(
|
|
161
|
+
this,
|
|
162
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
163
|
+
)
|
|
164
|
+
}
|
|
165
|
+
: injectStyles
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
if (hook) {
|
|
169
|
+
if (options.functional) {
|
|
170
|
+
// for template-only hot-reload because in that case the render fn doesn't
|
|
171
|
+
// go through the normalizer
|
|
172
|
+
options._injectStyles = hook
|
|
173
|
+
// register for functional component in vue file
|
|
174
|
+
var originalRender = options.render
|
|
175
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
176
|
+
hook.call(context)
|
|
177
|
+
return originalRender(h, context)
|
|
178
|
+
}
|
|
179
|
+
} else {
|
|
180
|
+
// inject component registration as beforeCreate hook
|
|
181
|
+
var existing = options.beforeCreate
|
|
182
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
return {
|
|
187
|
+
exports: scriptExports,
|
|
188
|
+
options: options
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
/***/ }),
|
|
194
|
+
|
|
195
|
+
/***/ 115:
|
|
91
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
197
|
|
|
93
198
|
"use strict";
|
|
@@ -237,11 +342,11 @@ render._withStripped = true
|
|
|
237
342
|
// CONCATENATED MODULE: ./packages/carousel/src/main.vue?vue&type=template&id=3171eb48
|
|
238
343
|
|
|
239
344
|
// EXTERNAL MODULE: external "throttle-debounce/throttle"
|
|
240
|
-
var throttle_ = __webpack_require__(
|
|
345
|
+
var throttle_ = __webpack_require__(25);
|
|
241
346
|
var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_);
|
|
242
347
|
|
|
243
|
-
// EXTERNAL MODULE:
|
|
244
|
-
var
|
|
348
|
+
// EXTERNAL MODULE: external "cy-element-ui/lib/utils/resize-event"
|
|
349
|
+
var resize_event_ = __webpack_require__(17);
|
|
245
350
|
|
|
246
351
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/main.vue?vue&type=script&lang=js
|
|
247
352
|
|
|
@@ -479,7 +584,7 @@ var resize_event = __webpack_require__(14);
|
|
|
479
584
|
|
|
480
585
|
this.updateItems();
|
|
481
586
|
this.$nextTick(function () {
|
|
482
|
-
Object(
|
|
587
|
+
Object(resize_event_["addResizeListener"])(_this4.$el, _this4.resetItemPosition);
|
|
483
588
|
if (_this4.initialIndex < _this4.items.length && _this4.initialIndex >= 0) {
|
|
484
589
|
_this4.activeIndex = _this4.initialIndex;
|
|
485
590
|
}
|
|
@@ -487,14 +592,14 @@ var resize_event = __webpack_require__(14);
|
|
|
487
592
|
});
|
|
488
593
|
},
|
|
489
594
|
beforeDestroy: function beforeDestroy() {
|
|
490
|
-
if (this.$el) Object(
|
|
595
|
+
if (this.$el) Object(resize_event_["removeResizeListener"])(this.$el, this.resetItemPosition);
|
|
491
596
|
this.pauseTimer();
|
|
492
597
|
}
|
|
493
598
|
});
|
|
494
599
|
// CONCATENATED MODULE: ./packages/carousel/src/main.vue?vue&type=script&lang=js
|
|
495
600
|
/* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
496
601
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
497
|
-
var componentNormalizer = __webpack_require__(
|
|
602
|
+
var componentNormalizer = __webpack_require__(0);
|
|
498
603
|
|
|
499
604
|
// CONCATENATED MODULE: ./packages/carousel/src/main.vue
|
|
500
605
|
|
|
@@ -528,188 +633,14 @@ main.install = function (Vue) {
|
|
|
528
633
|
|
|
529
634
|
/***/ }),
|
|
530
635
|
|
|
531
|
-
/***/
|
|
532
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
533
|
-
|
|
534
|
-
"use strict";
|
|
535
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addResizeListener; });
|
|
536
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return removeResizeListener; });
|
|
537
|
-
/* harmony import */ var resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(20);
|
|
538
|
-
/* harmony import */ var resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_0__);
|
|
539
|
-
/* harmony import */ var throttle_debounce__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(19);
|
|
540
|
-
/* harmony import */ var throttle_debounce__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(throttle_debounce__WEBPACK_IMPORTED_MODULE_1__);
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
var isServer = typeof window === 'undefined';
|
|
545
|
-
|
|
546
|
-
/* istanbul ignore next */
|
|
547
|
-
var resizeHandler = function resizeHandler(entries) {
|
|
548
|
-
for (var _iterator = entries, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) {
|
|
549
|
-
var _ref;
|
|
550
|
-
|
|
551
|
-
if (_isArray) {
|
|
552
|
-
if (_i >= _iterator.length) break;
|
|
553
|
-
_ref = _iterator[_i++];
|
|
554
|
-
} else {
|
|
555
|
-
_i = _iterator.next();
|
|
556
|
-
if (_i.done) break;
|
|
557
|
-
_ref = _i.value;
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
var entry = _ref;
|
|
561
|
-
|
|
562
|
-
var listeners = entry.target.__resizeListeners__ || [];
|
|
563
|
-
if (listeners.length) {
|
|
564
|
-
listeners.forEach(function (fn) {
|
|
565
|
-
fn();
|
|
566
|
-
});
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
};
|
|
570
|
-
|
|
571
|
-
/* istanbul ignore next */
|
|
572
|
-
var addResizeListener = function addResizeListener(element, fn) {
|
|
573
|
-
if (isServer) return;
|
|
574
|
-
if (!element.__resizeListeners__) {
|
|
575
|
-
element.__resizeListeners__ = [];
|
|
576
|
-
element.__ro__ = new resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_0___default.a(Object(throttle_debounce__WEBPACK_IMPORTED_MODULE_1__["debounce"])(16, resizeHandler));
|
|
577
|
-
element.__ro__.observe(element);
|
|
578
|
-
}
|
|
579
|
-
element.__resizeListeners__.push(fn);
|
|
580
|
-
};
|
|
581
|
-
|
|
582
|
-
/* istanbul ignore next */
|
|
583
|
-
var removeResizeListener = function removeResizeListener(element, fn) {
|
|
584
|
-
if (!element || !element.__resizeListeners__) return;
|
|
585
|
-
element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);
|
|
586
|
-
if (!element.__resizeListeners__.length) {
|
|
587
|
-
element.__ro__.disconnect();
|
|
588
|
-
}
|
|
589
|
-
};
|
|
590
|
-
|
|
591
|
-
/***/ }),
|
|
592
|
-
|
|
593
|
-
/***/ 19:
|
|
594
|
-
/***/ (function(module, exports) {
|
|
595
|
-
|
|
596
|
-
module.exports = require("throttle-debounce");
|
|
597
|
-
|
|
598
|
-
/***/ }),
|
|
599
|
-
|
|
600
|
-
/***/ 2:
|
|
601
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
602
|
-
|
|
603
|
-
"use strict";
|
|
604
|
-
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
|
|
605
|
-
/* globals __VUE_SSR_CONTEXT__ */
|
|
606
|
-
|
|
607
|
-
// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
|
|
608
|
-
// This module is a runtime utility for cleaner component module output and will
|
|
609
|
-
// be included in the final webpack user bundle.
|
|
610
|
-
|
|
611
|
-
function normalizeComponent(
|
|
612
|
-
scriptExports,
|
|
613
|
-
render,
|
|
614
|
-
staticRenderFns,
|
|
615
|
-
functionalTemplate,
|
|
616
|
-
injectStyles,
|
|
617
|
-
scopeId,
|
|
618
|
-
moduleIdentifier /* server only */,
|
|
619
|
-
shadowMode /* vue-cli only */
|
|
620
|
-
) {
|
|
621
|
-
// Vue.extend constructor export interop
|
|
622
|
-
var options =
|
|
623
|
-
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
624
|
-
|
|
625
|
-
// render functions
|
|
626
|
-
if (render) {
|
|
627
|
-
options.render = render
|
|
628
|
-
options.staticRenderFns = staticRenderFns
|
|
629
|
-
options._compiled = true
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
// functional template
|
|
633
|
-
if (functionalTemplate) {
|
|
634
|
-
options.functional = true
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
// scopedId
|
|
638
|
-
if (scopeId) {
|
|
639
|
-
options._scopeId = 'data-v-' + scopeId
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
var hook
|
|
643
|
-
if (moduleIdentifier) {
|
|
644
|
-
// server build
|
|
645
|
-
hook = function (context) {
|
|
646
|
-
// 2.3 injection
|
|
647
|
-
context =
|
|
648
|
-
context || // cached call
|
|
649
|
-
(this.$vnode && this.$vnode.ssrContext) || // stateful
|
|
650
|
-
(this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
|
|
651
|
-
// 2.2 with runInNewContext: true
|
|
652
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
|
|
653
|
-
context = __VUE_SSR_CONTEXT__
|
|
654
|
-
}
|
|
655
|
-
// inject component styles
|
|
656
|
-
if (injectStyles) {
|
|
657
|
-
injectStyles.call(this, context)
|
|
658
|
-
}
|
|
659
|
-
// register component module identifier for async chunk inferrence
|
|
660
|
-
if (context && context._registeredComponents) {
|
|
661
|
-
context._registeredComponents.add(moduleIdentifier)
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
// used by ssr in case component is cached and beforeCreate
|
|
665
|
-
// never gets called
|
|
666
|
-
options._ssrRegister = hook
|
|
667
|
-
} else if (injectStyles) {
|
|
668
|
-
hook = shadowMode
|
|
669
|
-
? function () {
|
|
670
|
-
injectStyles.call(
|
|
671
|
-
this,
|
|
672
|
-
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
673
|
-
)
|
|
674
|
-
}
|
|
675
|
-
: injectStyles
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
if (hook) {
|
|
679
|
-
if (options.functional) {
|
|
680
|
-
// for template-only hot-reload because in that case the render fn doesn't
|
|
681
|
-
// go through the normalizer
|
|
682
|
-
options._injectStyles = hook
|
|
683
|
-
// register for functional component in vue file
|
|
684
|
-
var originalRender = options.render
|
|
685
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
686
|
-
hook.call(context)
|
|
687
|
-
return originalRender(h, context)
|
|
688
|
-
}
|
|
689
|
-
} else {
|
|
690
|
-
// inject component registration as beforeCreate hook
|
|
691
|
-
var existing = options.beforeCreate
|
|
692
|
-
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
693
|
-
}
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
return {
|
|
697
|
-
exports: scriptExports,
|
|
698
|
-
options: options
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
/***/ }),
|
|
704
|
-
|
|
705
|
-
/***/ 20:
|
|
636
|
+
/***/ 17:
|
|
706
637
|
/***/ (function(module, exports) {
|
|
707
638
|
|
|
708
|
-
module.exports = require("resize-
|
|
639
|
+
module.exports = require("cy-element-ui/lib/utils/resize-event");
|
|
709
640
|
|
|
710
641
|
/***/ }),
|
|
711
642
|
|
|
712
|
-
/***/
|
|
643
|
+
/***/ 25:
|
|
713
644
|
/***/ (function(module, exports) {
|
|
714
645
|
|
|
715
646
|
module.exports = require("throttle-debounce/throttle");
|