cy-element-ui 1.0.46 → 1.0.48

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.
Files changed (303) hide show
  1. package/README.md +1 -1
  2. package/lib/alert.js +4 -4
  3. package/lib/aside.js +77 -77
  4. package/lib/autocomplete.js +159 -3940
  5. package/lib/avatar.js +108 -108
  6. package/lib/backtop.js +110 -110
  7. package/lib/badge.js +108 -108
  8. package/lib/breadcrumb-item.js +4 -4
  9. package/lib/breadcrumb.js +4 -4
  10. package/lib/button-group.js +4 -4
  11. package/lib/button.js +4 -4
  12. package/lib/calendar.js +46 -1545
  13. package/lib/card.js +96 -96
  14. package/lib/carousel-item.js +108 -452
  15. package/lib/carousel.js +116 -185
  16. package/lib/cascader-panel.js +187 -2270
  17. package/lib/cascader.js +275 -6452
  18. package/lib/checkbox-button.js +11 -43
  19. package/lib/checkbox-group.js +15 -47
  20. package/lib/checkbox.js +15 -47
  21. package/lib/col.js +2 -2
  22. package/lib/collapse-item.js +110 -815
  23. package/lib/collapse.js +108 -108
  24. package/lib/color-picker.js +153 -3953
  25. package/lib/container.js +88 -88
  26. package/lib/date-picker.js +419 -5230
  27. package/lib/descriptions-item.js +2 -2
  28. package/lib/descriptions.js +8 -63
  29. package/lib/dialog.js +22 -1200
  30. package/lib/divider.js +104 -104
  31. package/lib/drawer.js +105 -875
  32. package/lib/dropdown-item.js +11 -43
  33. package/lib/dropdown-menu.js +75 -2277
  34. package/lib/dropdown.js +136 -1072
  35. package/lib/element-ui.common.js +29785 -42723
  36. package/lib/empty.js +7 -603
  37. package/lib/fileUpload.js +109 -2477
  38. package/lib/footer.js +77 -77
  39. package/lib/form-item.js +28 -418
  40. package/lib/form.js +15 -29
  41. package/lib/header.js +77 -77
  42. package/lib/icon.js +4 -4
  43. package/lib/image.js +49 -1376
  44. package/lib/index.js +1 -1
  45. package/lib/infinite-scroll.js +21 -311
  46. package/lib/input-number.js +33 -1422
  47. package/lib/input.js +37 -507
  48. package/lib/link.js +4 -4
  49. package/lib/loading.js +67 -804
  50. package/lib/main.js +64 -64
  51. package/lib/menu-item-group.js +4 -4
  52. package/lib/menu-item.js +61 -2945
  53. package/lib/menu.js +54 -745
  54. package/lib/message-box.js +80 -2537
  55. package/lib/message.js +24 -1102
  56. package/lib/notification.js +25 -1102
  57. package/lib/option-group.js +11 -43
  58. package/lib/option.js +18 -394
  59. package/lib/page-header.js +87 -683
  60. package/lib/pagination.js +139 -6078
  61. package/lib/popconfirm.js +219 -3508
  62. package/lib/popover.js +99 -2624
  63. package/lib/progress.js +4 -4
  64. package/lib/radio-button.js +11 -43
  65. package/lib/radio-group.js +11 -43
  66. package/lib/radio.js +15 -47
  67. package/lib/rate.js +113 -756
  68. package/lib/result.js +4 -4
  69. package/lib/row.js +2 -2
  70. package/lib/scrollbar.js +50 -735
  71. package/lib/select.js +209 -4352
  72. package/lib/selectDisplayInput.js +108 -108
  73. package/lib/skeleton-item.js +2 -2
  74. package/lib/skeleton.js +108 -108
  75. package/lib/slider.js +120 -4266
  76. package/lib/spinner.js +4 -4
  77. package/lib/statistic.js +117 -9605
  78. package/lib/step.js +108 -108
  79. package/lib/steps.js +99 -514
  80. package/lib/subTitle.js +91 -91
  81. package/lib/submenu.js +121 -2442
  82. package/lib/switch.js +21 -476
  83. package/lib/tab-pane.js +4 -4
  84. package/lib/tabDialog.js +37 -1563
  85. package/lib/table-column.js +32 -880
  86. package/lib/table.js +424 -4467
  87. package/lib/tabs.js +12 -425
  88. package/lib/tag.js +4 -4
  89. package/lib/theme-chalk/README.md +33 -0
  90. package/lib/theme-chalk/base.css +1 -1
  91. package/lib/theme-chalk/gulpfile.js +27 -0
  92. package/lib/theme-chalk/index.css +1 -1
  93. package/lib/theme-chalk/package.json +35 -0
  94. package/lib/theme-chalk/src/alert.scss +147 -0
  95. package/lib/theme-chalk/src/aside.scss +7 -0
  96. package/lib/theme-chalk/src/autocomplete.scss +80 -0
  97. package/lib/theme-chalk/src/avatar.scss +51 -0
  98. package/lib/theme-chalk/src/backtop.scss +22 -0
  99. package/lib/theme-chalk/src/badge.scss +57 -0
  100. package/lib/theme-chalk/src/base.scss +2 -0
  101. package/lib/theme-chalk/src/breadcrumb.scss +55 -0
  102. package/lib/theme-chalk/src/button.scss +262 -0
  103. package/lib/theme-chalk/src/calendar.scss +79 -0
  104. package/lib/theme-chalk/src/card.scss +32 -0
  105. package/lib/theme-chalk/src/carousel-item.scss +50 -0
  106. package/lib/theme-chalk/src/carousel.scss +161 -0
  107. package/lib/theme-chalk/src/cascader-panel.scss +120 -0
  108. package/lib/theme-chalk/src/cascader.scss +182 -0
  109. package/lib/theme-chalk/src/checkbox.scss +359 -0
  110. package/lib/theme-chalk/src/col.scss +156 -0
  111. package/lib/theme-chalk/src/collapse.scss +63 -0
  112. package/lib/theme-chalk/src/color-picker.scss +384 -0
  113. package/lib/theme-chalk/src/common/popup.scss +42 -0
  114. package/lib/theme-chalk/src/common/transition.scss +99 -0
  115. package/lib/theme-chalk/src/common/var.scss +1028 -0
  116. package/lib/theme-chalk/src/container.scss +14 -0
  117. package/lib/theme-chalk/src/date-picker/date-picker.scss +97 -0
  118. package/lib/theme-chalk/src/date-picker/date-range-picker.scss +101 -0
  119. package/lib/theme-chalk/src/date-picker/date-table.scss +151 -0
  120. package/lib/theme-chalk/src/date-picker/month-table.scss +82 -0
  121. package/lib/theme-chalk/src/date-picker/picker-panel.scss +117 -0
  122. package/lib/theme-chalk/src/date-picker/picker.scss +197 -0
  123. package/lib/theme-chalk/src/date-picker/time-picker.scss +85 -0
  124. package/lib/theme-chalk/src/date-picker/time-range-picker.scss +31 -0
  125. package/lib/theme-chalk/src/date-picker/time-spinner.scss +110 -0
  126. package/lib/theme-chalk/src/date-picker/year-table.scss +51 -0
  127. package/lib/theme-chalk/src/date-picker.scss +12 -0
  128. package/lib/theme-chalk/src/descriptions-item.scss +42 -0
  129. package/lib/theme-chalk/src/descriptions.scss +111 -0
  130. package/lib/theme-chalk/src/dialog.scss +123 -0
  131. package/lib/theme-chalk/src/display.scss +12 -0
  132. package/lib/theme-chalk/src/divider.scss +47 -0
  133. package/lib/theme-chalk/src/drawer.scss +219 -0
  134. package/lib/theme-chalk/src/dropdown.scss +182 -0
  135. package/lib/theme-chalk/src/empty.scss +45 -0
  136. package/lib/theme-chalk/src/footer.scss +8 -0
  137. package/lib/theme-chalk/src/form.scss +167 -0
  138. package/lib/theme-chalk/src/header.scss +8 -0
  139. package/lib/theme-chalk/src/icon.scss +1167 -0
  140. package/lib/theme-chalk/src/image.scss +179 -0
  141. package/lib/theme-chalk/src/index.scss +90 -0
  142. package/lib/theme-chalk/src/input-number.scss +180 -0
  143. package/lib/theme-chalk/src/input.scss +360 -0
  144. package/lib/theme-chalk/src/link.scss +81 -0
  145. package/lib/theme-chalk/src/loading.scss +96 -0
  146. package/lib/theme-chalk/src/main.scss +12 -0
  147. package/lib/theme-chalk/src/menu.scss +289 -0
  148. package/lib/theme-chalk/src/message-box.scss +226 -0
  149. package/lib/theme-chalk/src/message.scss +120 -0
  150. package/lib/theme-chalk/src/mixins/_button.scss +81 -0
  151. package/lib/theme-chalk/src/mixins/config.scss +4 -0
  152. package/lib/theme-chalk/src/mixins/function.scss +44 -0
  153. package/lib/theme-chalk/src/mixins/mixins.scss +190 -0
  154. package/lib/theme-chalk/src/mixins/utils.scss +39 -0
  155. package/lib/theme-chalk/src/notification.scss +99 -0
  156. package/lib/theme-chalk/src/option-group.scss +42 -0
  157. package/lib/theme-chalk/src/option.scss +36 -0
  158. package/lib/theme-chalk/src/page-header.scss +41 -0
  159. package/lib/theme-chalk/src/pagination.scss +295 -0
  160. package/lib/theme-chalk/src/popconfirm.scss +16 -0
  161. package/lib/theme-chalk/src/popover.scss +40 -0
  162. package/lib/theme-chalk/src/popper.scss +101 -0
  163. package/lib/theme-chalk/src/progress.scss +141 -0
  164. package/lib/theme-chalk/src/radio-button.scss +113 -0
  165. package/lib/theme-chalk/src/radio-group.scss +9 -0
  166. package/lib/theme-chalk/src/radio.scss +199 -0
  167. package/lib/theme-chalk/src/rate.scss +49 -0
  168. package/lib/theme-chalk/src/reset.scss +79 -0
  169. package/lib/theme-chalk/src/result.scss +61 -0
  170. package/lib/theme-chalk/src/row.scss +43 -0
  171. package/lib/theme-chalk/src/scrollbar.scss +72 -0
  172. package/lib/theme-chalk/src/select-dropdown.scss +62 -0
  173. package/lib/theme-chalk/src/select.scss +152 -0
  174. package/lib/theme-chalk/src/skeleton-item.scss +84 -0
  175. package/lib/theme-chalk/src/skeleton.scss +40 -0
  176. package/lib/theme-chalk/src/slider.scss +250 -0
  177. package/lib/theme-chalk/src/spinner.scss +44 -0
  178. package/lib/theme-chalk/src/statistic.scss +38 -0
  179. package/lib/theme-chalk/src/step.scss +317 -0
  180. package/lib/theme-chalk/src/steps.scss +20 -0
  181. package/lib/theme-chalk/src/switch.scss +116 -0
  182. package/lib/theme-chalk/src/table-column.scss +97 -0
  183. package/lib/theme-chalk/src/table.scss +564 -0
  184. package/lib/theme-chalk/src/tabs.scss +602 -0
  185. package/lib/theme-chalk/src/tag.scss +163 -0
  186. package/lib/theme-chalk/src/time-picker.scss +8 -0
  187. package/lib/theme-chalk/src/time-select.scss +37 -0
  188. package/lib/theme-chalk/src/timeline-item.scss +86 -0
  189. package/lib/theme-chalk/src/timeline.scss +14 -0
  190. package/lib/theme-chalk/src/tooltip.scss +141 -0
  191. package/lib/theme-chalk/src/transfer.scss +227 -0
  192. package/lib/theme-chalk/src/tree.scss +123 -0
  193. package/lib/theme-chalk/src/upload.scss +603 -0
  194. package/lib/time-picker.js +285 -5013
  195. package/lib/time-select.js +181 -4949
  196. package/lib/timeline-item.js +108 -108
  197. package/lib/timeline.js +82 -82
  198. package/lib/tooltip.js +41 -2566
  199. package/lib/transfer.js +142 -2136
  200. package/lib/tree.js +55 -1372
  201. package/lib/treeSelect.js +106 -3421
  202. package/lib/upload.js +28 -1047
  203. package/package.json +3 -3
  204. package/packages/theme-chalk/gulpfile.js +1 -14
  205. package/packages/theme-chalk/src/common/var.scss +16 -16
  206. package/packages/theme-cy/gulpfile.js +1 -14
  207. package/src/index.js +1 -1
  208. package/lib/theme-chalk/alert.css +0 -1
  209. package/lib/theme-chalk/aside.css +0 -1
  210. package/lib/theme-chalk/autocomplete.css +0 -1
  211. package/lib/theme-chalk/avatar.css +0 -1
  212. package/lib/theme-chalk/backtop.css +0 -1
  213. package/lib/theme-chalk/badge.css +0 -1
  214. package/lib/theme-chalk/breadcrumb.css +0 -1
  215. package/lib/theme-chalk/button.css +0 -1
  216. package/lib/theme-chalk/calendar.css +0 -1
  217. package/lib/theme-chalk/card.css +0 -1
  218. package/lib/theme-chalk/carousel-item.css +0 -1
  219. package/lib/theme-chalk/carousel.css +0 -1
  220. package/lib/theme-chalk/cascader-panel.css +0 -1
  221. package/lib/theme-chalk/cascader.css +0 -1
  222. package/lib/theme-chalk/checkbox.css +0 -1
  223. package/lib/theme-chalk/col.css +0 -1
  224. package/lib/theme-chalk/collapse.css +0 -1
  225. package/lib/theme-chalk/color-picker.css +0 -1
  226. package/lib/theme-chalk/container.css +0 -1
  227. package/lib/theme-chalk/date-picker.css +0 -1
  228. package/lib/theme-chalk/descriptions-item.css +0 -1
  229. package/lib/theme-chalk/descriptions.css +0 -1
  230. package/lib/theme-chalk/dialog.css +0 -1
  231. package/lib/theme-chalk/display.css +0 -1
  232. package/lib/theme-chalk/divider.css +0 -1
  233. package/lib/theme-chalk/drawer.css +0 -1
  234. package/lib/theme-chalk/dropdown.css +0 -1
  235. package/lib/theme-chalk/empty.css +0 -1
  236. package/lib/theme-chalk/footer.css +0 -1
  237. package/lib/theme-chalk/form.css +0 -1
  238. package/lib/theme-chalk/header.css +0 -1
  239. package/lib/theme-chalk/icon.css +0 -1
  240. package/lib/theme-chalk/image.css +0 -1
  241. package/lib/theme-chalk/input-number.css +0 -1
  242. package/lib/theme-chalk/input.css +0 -1
  243. package/lib/theme-chalk/link.css +0 -1
  244. package/lib/theme-chalk/loading.css +0 -1
  245. package/lib/theme-chalk/main.css +0 -1
  246. package/lib/theme-chalk/menu.css +0 -1
  247. package/lib/theme-chalk/message-box.css +0 -1
  248. package/lib/theme-chalk/message.css +0 -1
  249. package/lib/theme-chalk/notification.css +0 -1
  250. package/lib/theme-chalk/option-group.css +0 -1
  251. package/lib/theme-chalk/option.css +0 -1
  252. package/lib/theme-chalk/page-header.css +0 -1
  253. package/lib/theme-chalk/pagination.css +0 -1
  254. package/lib/theme-chalk/popconfirm.css +0 -1
  255. package/lib/theme-chalk/popover.css +0 -1
  256. package/lib/theme-chalk/popper.css +0 -1
  257. package/lib/theme-chalk/progress.css +0 -1
  258. package/lib/theme-chalk/radio-button.css +0 -1
  259. package/lib/theme-chalk/radio-group.css +0 -1
  260. package/lib/theme-chalk/radio.css +0 -1
  261. package/lib/theme-chalk/rate.css +0 -1
  262. package/lib/theme-chalk/reset.css +0 -1
  263. package/lib/theme-chalk/result.css +0 -1
  264. package/lib/theme-chalk/row.css +0 -1
  265. package/lib/theme-chalk/scrollbar.css +0 -1
  266. package/lib/theme-chalk/select-dropdown.css +0 -1
  267. package/lib/theme-chalk/select.css +0 -1
  268. package/lib/theme-chalk/skeleton-item.css +0 -1
  269. package/lib/theme-chalk/skeleton.css +0 -1
  270. package/lib/theme-chalk/slider.css +0 -1
  271. package/lib/theme-chalk/spinner.css +0 -1
  272. package/lib/theme-chalk/statistic.css +0 -1
  273. package/lib/theme-chalk/step.css +0 -1
  274. package/lib/theme-chalk/steps.css +0 -1
  275. package/lib/theme-chalk/switch.css +0 -1
  276. package/lib/theme-chalk/table-column.css +0 -1
  277. package/lib/theme-chalk/table.css +0 -1
  278. package/lib/theme-chalk/tabs.css +0 -1
  279. package/lib/theme-chalk/tag.css +0 -1
  280. package/lib/theme-chalk/time-picker.css +0 -1
  281. package/lib/theme-chalk/time-select.css +0 -1
  282. package/lib/theme-chalk/timeline-item.css +0 -1
  283. package/lib/theme-chalk/timeline.css +0 -1
  284. package/lib/theme-chalk/tooltip.css +0 -1
  285. package/lib/theme-chalk/transfer.css +0 -1
  286. package/lib/theme-chalk/tree.css +0 -1
  287. package/lib/theme-chalk/upload.css +0 -1
  288. /package/lib/theme-chalk/{breadcrumb-item.css → src/breadcrumb-item.scss} +0 -0
  289. /package/lib/theme-chalk/{button-group.css → src/button-group.scss} +0 -0
  290. /package/lib/theme-chalk/{checkbox-button.css → src/checkbox-button.scss} +0 -0
  291. /package/lib/theme-chalk/{checkbox-group.css → src/checkbox-group.scss} +0 -0
  292. /package/lib/theme-chalk/{collapse-item.css → src/collapse-item.scss} +0 -0
  293. /package/lib/theme-chalk/{dropdown-item.css → src/dropdown-item.scss} +0 -0
  294. /package/lib/theme-chalk/{dropdown-menu.css → src/dropdown-menu.scss} +0 -0
  295. /package/lib/theme-chalk/{fonts → src/fonts}/element-icons.ttf +0 -0
  296. /package/lib/theme-chalk/{fonts → src/fonts}/element-icons.woff +0 -0
  297. /package/lib/theme-chalk/{form-item.css → src/form-item.scss} +0 -0
  298. /package/lib/theme-chalk/{infinite-scroll.css → src/infinite-scroll.scss} +0 -0
  299. /package/lib/theme-chalk/{infiniteScroll.css → src/infiniteScroll.scss} +0 -0
  300. /package/lib/theme-chalk/{menu-item-group.css → src/menu-item-group.scss} +0 -0
  301. /package/lib/theme-chalk/{menu-item.css → src/menu-item.scss} +0 -0
  302. /package/lib/theme-chalk/{submenu.css → src/submenu.scss} +0 -0
  303. /package/lib/theme-chalk/{tab-pane.css → src/tab-pane.scss} +0 -0
@@ -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 = 126);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 137);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 126:
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
+ /***/ 137:
91
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
197
 
93
198
  "use strict";
@@ -213,7 +318,7 @@ render._withStripped = true
213
318
  // CONCATENATED MODULE: ./packages/selectDisplayInput/src/main.vue?vue&type=script&lang=js
214
319
  /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
215
320
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
216
- var componentNormalizer = __webpack_require__(2);
321
+ var componentNormalizer = __webpack_require__(0);
217
322
 
218
323
  // CONCATENATED MODULE: ./packages/selectDisplayInput/src/main.vue
219
324
 
@@ -245,111 +350,6 @@ main.install = function (Vue) {
245
350
 
246
351
  /* harmony default export */ var selectDisplayInput = __webpack_exports__["default"] = (main);
247
352
 
248
- /***/ }),
249
-
250
- /***/ 2:
251
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
252
-
253
- "use strict";
254
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
255
- /* globals __VUE_SSR_CONTEXT__ */
256
-
257
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
258
- // This module is a runtime utility for cleaner component module output and will
259
- // be included in the final webpack user bundle.
260
-
261
- function normalizeComponent(
262
- scriptExports,
263
- render,
264
- staticRenderFns,
265
- functionalTemplate,
266
- injectStyles,
267
- scopeId,
268
- moduleIdentifier /* server only */,
269
- shadowMode /* vue-cli only */
270
- ) {
271
- // Vue.extend constructor export interop
272
- var options =
273
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
274
-
275
- // render functions
276
- if (render) {
277
- options.render = render
278
- options.staticRenderFns = staticRenderFns
279
- options._compiled = true
280
- }
281
-
282
- // functional template
283
- if (functionalTemplate) {
284
- options.functional = true
285
- }
286
-
287
- // scopedId
288
- if (scopeId) {
289
- options._scopeId = 'data-v-' + scopeId
290
- }
291
-
292
- var hook
293
- if (moduleIdentifier) {
294
- // server build
295
- hook = function (context) {
296
- // 2.3 injection
297
- context =
298
- context || // cached call
299
- (this.$vnode && this.$vnode.ssrContext) || // stateful
300
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
301
- // 2.2 with runInNewContext: true
302
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
303
- context = __VUE_SSR_CONTEXT__
304
- }
305
- // inject component styles
306
- if (injectStyles) {
307
- injectStyles.call(this, context)
308
- }
309
- // register component module identifier for async chunk inferrence
310
- if (context && context._registeredComponents) {
311
- context._registeredComponents.add(moduleIdentifier)
312
- }
313
- }
314
- // used by ssr in case component is cached and beforeCreate
315
- // never gets called
316
- options._ssrRegister = hook
317
- } else if (injectStyles) {
318
- hook = shadowMode
319
- ? function () {
320
- injectStyles.call(
321
- this,
322
- (options.functional ? this.parent : this).$root.$options.shadowRoot
323
- )
324
- }
325
- : injectStyles
326
- }
327
-
328
- if (hook) {
329
- if (options.functional) {
330
- // for template-only hot-reload because in that case the render fn doesn't
331
- // go through the normalizer
332
- options._injectStyles = hook
333
- // register for functional component in vue file
334
- var originalRender = options.render
335
- options.render = function renderWithStyleInjection(h, context) {
336
- hook.call(context)
337
- return originalRender(h, context)
338
- }
339
- } else {
340
- // inject component registration as beforeCreate hook
341
- var existing = options.beforeCreate
342
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
343
- }
344
- }
345
-
346
- return {
347
- exports: scriptExports,
348
- options: options
349
- }
350
- }
351
-
352
-
353
353
  /***/ })
354
354
 
355
355
  /******/ });
@@ -87,7 +87,7 @@ module.exports =
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 2:
90
+ /***/ 0:
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -248,7 +248,7 @@ img_placeholdervue_type_template_id_ba3724d8_render._withStripped = true
248
248
  // CONCATENATED MODULE: ./packages/skeleton/src/img-placeholder.vue?vue&type=script&lang=js
249
249
  /* harmony default export */ var src_img_placeholdervue_type_script_lang_js = (img_placeholdervue_type_script_lang_js);
250
250
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
251
- var componentNormalizer = __webpack_require__(2);
251
+ var componentNormalizer = __webpack_require__(0);
252
252
 
253
253
  // CONCATENATED MODULE: ./packages/skeleton/src/img-placeholder.vue
254
254
 
package/lib/skeleton.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 = 122);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 133);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 122:
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
+ /***/ 133:
91
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
197
 
93
198
  "use strict";
@@ -203,7 +308,7 @@ render._withStripped = true
203
308
  // CONCATENATED MODULE: ./packages/skeleton/src/index.vue?vue&type=script&lang=js
204
309
  /* harmony default export */ var skeleton_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
205
310
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
206
- var componentNormalizer = __webpack_require__(2);
311
+ var componentNormalizer = __webpack_require__(0);
207
312
 
208
313
  // CONCATENATED MODULE: ./packages/skeleton/src/index.vue
209
314
 
@@ -235,111 +340,6 @@ src.install = function (Vue) {
235
340
 
236
341
  /* harmony default export */ var skeleton = __webpack_exports__["default"] = (src);
237
342
 
238
- /***/ }),
239
-
240
- /***/ 2:
241
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
242
-
243
- "use strict";
244
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; });
245
- /* globals __VUE_SSR_CONTEXT__ */
246
-
247
- // IMPORTANT: Do NOT use ES2015 features in this file (except for modules).
248
- // This module is a runtime utility for cleaner component module output and will
249
- // be included in the final webpack user bundle.
250
-
251
- function normalizeComponent(
252
- scriptExports,
253
- render,
254
- staticRenderFns,
255
- functionalTemplate,
256
- injectStyles,
257
- scopeId,
258
- moduleIdentifier /* server only */,
259
- shadowMode /* vue-cli only */
260
- ) {
261
- // Vue.extend constructor export interop
262
- var options =
263
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
264
-
265
- // render functions
266
- if (render) {
267
- options.render = render
268
- options.staticRenderFns = staticRenderFns
269
- options._compiled = true
270
- }
271
-
272
- // functional template
273
- if (functionalTemplate) {
274
- options.functional = true
275
- }
276
-
277
- // scopedId
278
- if (scopeId) {
279
- options._scopeId = 'data-v-' + scopeId
280
- }
281
-
282
- var hook
283
- if (moduleIdentifier) {
284
- // server build
285
- hook = function (context) {
286
- // 2.3 injection
287
- context =
288
- context || // cached call
289
- (this.$vnode && this.$vnode.ssrContext) || // stateful
290
- (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional
291
- // 2.2 with runInNewContext: true
292
- if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
293
- context = __VUE_SSR_CONTEXT__
294
- }
295
- // inject component styles
296
- if (injectStyles) {
297
- injectStyles.call(this, context)
298
- }
299
- // register component module identifier for async chunk inferrence
300
- if (context && context._registeredComponents) {
301
- context._registeredComponents.add(moduleIdentifier)
302
- }
303
- }
304
- // used by ssr in case component is cached and beforeCreate
305
- // never gets called
306
- options._ssrRegister = hook
307
- } else if (injectStyles) {
308
- hook = shadowMode
309
- ? function () {
310
- injectStyles.call(
311
- this,
312
- (options.functional ? this.parent : this).$root.$options.shadowRoot
313
- )
314
- }
315
- : injectStyles
316
- }
317
-
318
- if (hook) {
319
- if (options.functional) {
320
- // for template-only hot-reload because in that case the render fn doesn't
321
- // go through the normalizer
322
- options._injectStyles = hook
323
- // register for functional component in vue file
324
- var originalRender = options.render
325
- options.render = function renderWithStyleInjection(h, context) {
326
- hook.call(context)
327
- return originalRender(h, context)
328
- }
329
- } else {
330
- // inject component registration as beforeCreate hook
331
- var existing = options.beforeCreate
332
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
333
- }
334
- }
335
-
336
- return {
337
- exports: scriptExports,
338
- options: options
339
- }
340
- }
341
-
342
-
343
343
  /***/ })
344
344
 
345
345
  /******/ });