cy-element-ui 1.0.47 → 1.0.49

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 +108 -108
  3. package/lib/aside.js +77 -77
  4. package/lib/autocomplete.js +5199 -360
  5. package/lib/avatar.js +4 -4
  6. package/lib/backtop.js +192 -101
  7. package/lib/badge.js +108 -108
  8. package/lib/breadcrumb-item.js +108 -108
  9. package/lib/breadcrumb.js +94 -94
  10. package/lib/button-group.js +4 -4
  11. package/lib/button.js +4 -4
  12. package/lib/calendar.js +1734 -137
  13. package/lib/card.js +96 -96
  14. package/lib/carousel-item.js +452 -108
  15. package/lib/carousel.js +1256 -105
  16. package/lib/cascader-panel.js +3524 -191
  17. package/lib/cascader.js +8077 -717
  18. package/lib/checkbox-button.js +151 -119
  19. package/lib/checkbox-group.js +47 -15
  20. package/lib/checkbox.js +47 -15
  21. package/lib/col.js +2 -2
  22. package/lib/collapse-item.js +815 -110
  23. package/lib/collapse.js +108 -108
  24. package/lib/color-picker.js +4705 -828
  25. package/lib/container.js +88 -88
  26. package/lib/date-picker.js +10735 -4739
  27. package/lib/descriptions-item.js +2 -2
  28. package/lib/descriptions.js +63 -8
  29. package/lib/dialog.js +1200 -22
  30. package/lib/divider.js +104 -104
  31. package/lib/drawer.js +875 -105
  32. package/lib/dropdown-item.js +128 -96
  33. package/lib/dropdown-menu.js +2301 -99
  34. package/lib/dropdown.js +990 -54
  35. package/lib/element-ui.common.js +31058 -13663
  36. package/lib/empty.js +793 -99
  37. package/lib/fileUpload.js +2542 -26
  38. package/lib/footer.js +77 -77
  39. package/lib/form-item.js +3305 -202
  40. package/lib/form.js +129 -115
  41. package/lib/header.js +77 -77
  42. package/lib/icon.js +67 -67
  43. package/lib/image.js +1662 -146
  44. package/lib/index.js +1 -1
  45. package/lib/infinite-scroll.js +435 -26
  46. package/lib/input-number.js +1421 -32
  47. package/lib/input.js +509 -37
  48. package/lib/link.js +4 -4
  49. package/lib/loading.js +886 -149
  50. package/lib/main.js +64 -64
  51. package/lib/menu-item-group.js +103 -103
  52. package/lib/menu-item.js +3140 -137
  53. package/lib/menu.js +959 -268
  54. package/lib/message-box.js +2743 -188
  55. package/lib/message.js +1196 -118
  56. package/lib/notification.js +1196 -119
  57. package/lib/option-group.js +151 -119
  58. package/lib/option.js +392 -16
  59. package/lib/page-header.js +781 -87
  60. package/lib/pagination.js +7747 -646
  61. package/lib/popconfirm.js +3606 -219
  62. package/lib/popover.js +2604 -79
  63. package/lib/progress.js +4 -4
  64. package/lib/radio-button.js +151 -119
  65. package/lib/radio-group.js +151 -119
  66. package/lib/radio.js +47 -15
  67. package/lib/rate.js +756 -113
  68. package/lib/result.js +108 -108
  69. package/lib/row.js +2 -2
  70. package/lib/scrollbar.js +1813 -41
  71. package/lib/select.js +5547 -209
  72. package/lib/selectDisplayInput.js +4 -4
  73. package/lib/skeleton-item.js +108 -108
  74. package/lib/skeleton.js +108 -108
  75. package/lib/slider.js +4768 -530
  76. package/lib/spinner.js +100 -100
  77. package/lib/statistic.js +9600 -112
  78. package/lib/step.js +108 -108
  79. package/lib/steps.js +514 -99
  80. package/lib/subTitle.js +91 -91
  81. package/lib/submenu.js +2397 -76
  82. package/lib/switch.js +582 -127
  83. package/lib/tab-pane.js +108 -108
  84. package/lib/tabDialog.js +1630 -104
  85. package/lib/table-column.js +1115 -267
  86. package/lib/table.js +7067 -1253
  87. package/lib/tabs.js +1615 -113
  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 +6481 -589
  195. package/lib/time-select.js +6334 -407
  196. package/lib/timeline-item.js +108 -108
  197. package/lib/timeline.js +4 -4
  198. package/lib/tooltip.js +2688 -44
  199. package/lib/transfer.js +2238 -146
  200. package/lib/tree.js +1563 -148
  201. package/lib/treeSelect.js +3421 -106
  202. package/lib/upload.js +1198 -31
  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,479 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 129);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 193);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
90
  /***/ 0:
91
+ /***/ (function(module, exports) {
92
+
93
+ module.exports = require("vue");
94
+
95
+ /***/ }),
96
+
97
+ /***/ 11:
98
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
99
+
100
+ "use strict";
101
+
102
+ // EXPORTS
103
+ __webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ t; });
104
+
105
+ // UNUSED EXPORTS: use, i18n
106
+
107
+ // CONCATENATED MODULE: ./src/locale/lang/zh-CN.js
108
+ /* harmony default export */ var zh_CN = ({
109
+ el: {
110
+ colorpicker: {
111
+ confirm: '确定',
112
+ clear: '清空'
113
+ },
114
+ datepicker: {
115
+ now: '此刻',
116
+ today: '今天',
117
+ cancel: '取消',
118
+ clear: '清空',
119
+ confirm: '确定',
120
+ selectDate: '选择日期',
121
+ selectTime: '选择时间',
122
+ startDate: '开始日期',
123
+ startTime: '开始时间',
124
+ endDate: '结束日期',
125
+ endTime: '结束时间',
126
+ prevYear: '前一年',
127
+ nextYear: '后一年',
128
+ prevMonth: '上个月',
129
+ nextMonth: '下个月',
130
+ year: '年',
131
+ month1: '1 月',
132
+ month2: '2 月',
133
+ month3: '3 月',
134
+ month4: '4 月',
135
+ month5: '5 月',
136
+ month6: '6 月',
137
+ month7: '7 月',
138
+ month8: '8 月',
139
+ month9: '9 月',
140
+ month10: '10 月',
141
+ month11: '11 月',
142
+ month12: '12 月',
143
+ // week: '周次',
144
+ weeks: {
145
+ sun: '日',
146
+ mon: '一',
147
+ tue: '二',
148
+ wed: '三',
149
+ thu: '四',
150
+ fri: '五',
151
+ sat: '六'
152
+ },
153
+ months: {
154
+ jan: '一月',
155
+ feb: '二月',
156
+ mar: '三月',
157
+ apr: '四月',
158
+ may: '五月',
159
+ jun: '六月',
160
+ jul: '七月',
161
+ aug: '八月',
162
+ sep: '九月',
163
+ oct: '十月',
164
+ nov: '十一月',
165
+ dec: '十二月'
166
+ }
167
+ },
168
+ select: {
169
+ loading: '加载中',
170
+ noMatch: '无匹配数据',
171
+ noData: '无数据',
172
+ placeholder: '请选择'
173
+ },
174
+ cascader: {
175
+ noMatch: '无匹配数据',
176
+ loading: '加载中',
177
+ placeholder: '请选择',
178
+ noData: '暂无数据'
179
+ },
180
+ pagination: {
181
+ goto: '前往',
182
+ pagesize: '条/页',
183
+ total: '共 {total} 条',
184
+ pageClassifier: '页'
185
+ },
186
+ messagebox: {
187
+ title: '提示',
188
+ confirm: '确定',
189
+ cancel: '取消',
190
+ error: '输入的数据不合法!'
191
+ },
192
+ upload: {
193
+ deleteTip: '按 delete 键可删除',
194
+ delete: '删除',
195
+ preview: '查看图片',
196
+ continue: '继续上传'
197
+ },
198
+ table: {
199
+ emptyText: '暂无数据',
200
+ confirmFilter: '筛选',
201
+ resetFilter: '重置',
202
+ clearFilter: '全部',
203
+ sumText: '合计'
204
+ },
205
+ tree: {
206
+ emptyText: '暂无数据'
207
+ },
208
+ transfer: {
209
+ noMatch: '无匹配数据',
210
+ noData: '无数据',
211
+ titles: ['列表 1', '列表 2'],
212
+ filterPlaceholder: '请输入搜索内容',
213
+ noCheckedFormat: '共 {total} 项',
214
+ hasCheckedFormat: '已选 {checked}/{total} 项'
215
+ },
216
+ image: {
217
+ error: '加载失败'
218
+ },
219
+ pageHeader: {
220
+ title: '返回'
221
+ },
222
+ popconfirm: {
223
+ confirmButtonText: '确定',
224
+ cancelButtonText: '取消'
225
+ },
226
+ empty: {
227
+ description: '暂无数据'
228
+ }
229
+ }
230
+ });
231
+ // EXTERNAL MODULE: external "vue"
232
+ var external_vue_ = __webpack_require__(0);
233
+ var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
234
+
235
+ // EXTERNAL MODULE: ./node_modules/deepmerge/dist/cjs.js
236
+ var cjs = __webpack_require__(15);
237
+ var cjs_default = /*#__PURE__*/__webpack_require__.n(cjs);
238
+
239
+ // EXTERNAL MODULE: ./src/utils/util.js
240
+ var util = __webpack_require__(3);
241
+
242
+ // CONCATENATED MODULE: ./src/locale/format.js
243
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
244
+
245
+
246
+
247
+ var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
248
+ /**
249
+ * String format template
250
+ * - Inspired:
251
+ * https://github.com/Matt-Esch/string-template/index.js
252
+ */
253
+ /* harmony default export */ var format = (function (Vue) {
254
+ /**
255
+ * template
256
+ *
257
+ * @param {String} string
258
+ * @param {Array} ...args
259
+ * @return {String}
260
+ */
261
+
262
+ function template(string) {
263
+ for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
264
+ args[_key - 1] = arguments[_key];
265
+ }
266
+
267
+ if (args.length === 1 && _typeof(args[0]) === 'object') {
268
+ args = args[0];
269
+ }
270
+
271
+ if (!args || !args.hasOwnProperty) {
272
+ args = {};
273
+ }
274
+
275
+ return string.replace(RE_NARGS, function (match, prefix, i, index) {
276
+ var result = void 0;
277
+
278
+ if (string[index - 1] === '{' && string[index + match.length] === '}') {
279
+ return i;
280
+ } else {
281
+ result = Object(util["j" /* hasOwn */])(args, i) ? args[i] : null;
282
+ if (result === null || result === undefined) {
283
+ return '';
284
+ }
285
+
286
+ return result;
287
+ }
288
+ });
289
+ }
290
+
291
+ return template;
292
+ });
293
+ // CONCATENATED MODULE: ./src/locale/index.js
294
+
295
+
296
+
297
+
298
+
299
+ var locale_format = format(external_vue_default.a);
300
+ var lang = zh_CN;
301
+ var merged = false;
302
+ var locale_i18nHandler = function i18nHandler() {
303
+ var vuei18n = Object.getPrototypeOf(this || external_vue_default.a).$t;
304
+ if (typeof vuei18n === 'function' && !!external_vue_default.a.locale) {
305
+ if (!merged) {
306
+ merged = true;
307
+ external_vue_default.a.locale(external_vue_default.a.config.lang, cjs_default()(lang, external_vue_default.a.locale(external_vue_default.a.config.lang) || {}, { clone: true }));
308
+ }
309
+ return vuei18n.apply(this, arguments);
310
+ }
311
+ };
312
+
313
+ var t = function t(path, options) {
314
+ var value = locale_i18nHandler.apply(this, arguments);
315
+ if (value !== null && value !== undefined) return value;
316
+
317
+ var array = path.split('.');
318
+ var current = lang;
319
+
320
+ for (var i = 0, j = array.length; i < j; i++) {
321
+ var property = array[i];
322
+ value = current[property];
323
+ if (i === j - 1) return locale_format(value, options);
324
+ if (!value) return '';
325
+ current = value;
326
+ }
327
+ return '';
328
+ };
329
+
330
+ var use = function use(l) {
331
+ lang = l || lang;
332
+ };
333
+
334
+ var i18n = function i18n(fn) {
335
+ locale_i18nHandler = fn || locale_i18nHandler;
336
+ };
337
+
338
+ /* harmony default export */ var locale = ({ use: use, t: t, i18n: i18n });
339
+
340
+ /***/ }),
341
+
342
+ /***/ 15:
343
+ /***/ (function(module, exports, __webpack_require__) {
344
+
345
+ "use strict";
346
+
347
+
348
+ var isMergeableObject = function isMergeableObject(value) {
349
+ return isNonNullObject(value)
350
+ && !isSpecial(value)
351
+ };
352
+
353
+ function isNonNullObject(value) {
354
+ return !!value && typeof value === 'object'
355
+ }
356
+
357
+ function isSpecial(value) {
358
+ var stringValue = Object.prototype.toString.call(value);
359
+
360
+ return stringValue === '[object RegExp]'
361
+ || stringValue === '[object Date]'
362
+ || isReactElement(value)
363
+ }
364
+
365
+ // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
366
+ var canUseSymbol = typeof Symbol === 'function' && Symbol.for;
367
+ var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;
368
+
369
+ function isReactElement(value) {
370
+ return value.$$typeof === REACT_ELEMENT_TYPE
371
+ }
372
+
373
+ function emptyTarget(val) {
374
+ return Array.isArray(val) ? [] : {}
375
+ }
376
+
377
+ function cloneIfNecessary(value, optionsArgument) {
378
+ var clone = optionsArgument && optionsArgument.clone === true;
379
+ return (clone && isMergeableObject(value)) ? deepmerge(emptyTarget(value), value, optionsArgument) : value
380
+ }
381
+
382
+ function defaultArrayMerge(target, source, optionsArgument) {
383
+ var destination = target.slice();
384
+ source.forEach(function(e, i) {
385
+ if (typeof destination[i] === 'undefined') {
386
+ destination[i] = cloneIfNecessary(e, optionsArgument);
387
+ } else if (isMergeableObject(e)) {
388
+ destination[i] = deepmerge(target[i], e, optionsArgument);
389
+ } else if (target.indexOf(e) === -1) {
390
+ destination.push(cloneIfNecessary(e, optionsArgument));
391
+ }
392
+ });
393
+ return destination
394
+ }
395
+
396
+ function mergeObject(target, source, optionsArgument) {
397
+ var destination = {};
398
+ if (isMergeableObject(target)) {
399
+ Object.keys(target).forEach(function(key) {
400
+ destination[key] = cloneIfNecessary(target[key], optionsArgument);
401
+ });
402
+ }
403
+ Object.keys(source).forEach(function(key) {
404
+ if (!isMergeableObject(source[key]) || !target[key]) {
405
+ destination[key] = cloneIfNecessary(source[key], optionsArgument);
406
+ } else {
407
+ destination[key] = deepmerge(target[key], source[key], optionsArgument);
408
+ }
409
+ });
410
+ return destination
411
+ }
412
+
413
+ function deepmerge(target, source, optionsArgument) {
414
+ var sourceIsArray = Array.isArray(source);
415
+ var targetIsArray = Array.isArray(target);
416
+ var options = optionsArgument || { arrayMerge: defaultArrayMerge };
417
+ var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
418
+
419
+ if (!sourceAndTargetTypesMatch) {
420
+ return cloneIfNecessary(source, optionsArgument)
421
+ } else if (sourceIsArray) {
422
+ var arrayMerge = options.arrayMerge || defaultArrayMerge;
423
+ return arrayMerge(target, source, optionsArgument)
424
+ } else {
425
+ return mergeObject(target, source, optionsArgument)
426
+ }
427
+ }
428
+
429
+ deepmerge.all = function deepmergeAll(array, optionsArgument) {
430
+ if (!Array.isArray(array) || array.length < 2) {
431
+ throw new Error('first argument should be an array with at least two elements')
432
+ }
433
+
434
+ // we are sure there are at least 2 values, so it is safe to have no initial value
435
+ return array.reduce(function(prev, next) {
436
+ return deepmerge(prev, next, optionsArgument)
437
+ })
438
+ };
439
+
440
+ var deepmerge_1 = deepmerge;
441
+
442
+ module.exports = deepmerge_1;
443
+
444
+
445
+ /***/ }),
446
+
447
+ /***/ 193:
448
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
449
+
450
+ "use strict";
451
+ // ESM COMPAT FLAG
452
+ __webpack_require__.r(__webpack_exports__);
453
+
454
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/page-header/src/main.vue?vue&type=template&id=ec49041c
455
+ var render = function render() {
456
+ var _vm = this,
457
+ _c = _vm._self._c
458
+ return _c("div", { staticClass: "el-page-header" }, [
459
+ _c(
460
+ "div",
461
+ {
462
+ staticClass: "el-page-header__left",
463
+ on: {
464
+ click: function ($event) {
465
+ return _vm.$emit("back")
466
+ },
467
+ },
468
+ },
469
+ [
470
+ _c("i", { staticClass: "el-icon-back" }),
471
+ _c(
472
+ "div",
473
+ { staticClass: "el-page-header__title" },
474
+ [
475
+ _vm._t("title", function () {
476
+ return [_vm._v(_vm._s(_vm.title))]
477
+ }),
478
+ ],
479
+ 2
480
+ ),
481
+ ]
482
+ ),
483
+ _c(
484
+ "div",
485
+ { staticClass: "el-page-header__content" },
486
+ [
487
+ _vm._t("content", function () {
488
+ return [_vm._v(_vm._s(_vm.content))]
489
+ }),
490
+ ],
491
+ 2
492
+ ),
493
+ ])
494
+ }
495
+ var staticRenderFns = []
496
+ render._withStripped = true
497
+
498
+
499
+ // CONCATENATED MODULE: ./packages/page-header/src/main.vue?vue&type=template&id=ec49041c
500
+
501
+ // EXTERNAL MODULE: ./src/locale/index.js + 2 modules
502
+ var locale = __webpack_require__(11);
503
+
504
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/page-header/src/main.vue?vue&type=script&lang=js
505
+
506
+
507
+ /* harmony default export */ var mainvue_type_script_lang_js = ({
508
+ name: 'ElPageHeader',
509
+
510
+ props: {
511
+ title: {
512
+ type: String,
513
+ default: function _default() {
514
+ return Object(locale["a" /* t */])('el.pageHeader.title');
515
+ }
516
+ },
517
+ content: String
518
+ }
519
+ });
520
+ // CONCATENATED MODULE: ./packages/page-header/src/main.vue?vue&type=script&lang=js
521
+ /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
522
+ // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
523
+ var componentNormalizer = __webpack_require__(2);
524
+
525
+ // CONCATENATED MODULE: ./packages/page-header/src/main.vue
526
+
527
+
528
+
529
+
530
+
531
+ /* normalize component */
532
+
533
+ var component = Object(componentNormalizer["a" /* default */])(
534
+ src_mainvue_type_script_lang_js,
535
+ render,
536
+ staticRenderFns,
537
+ false,
538
+ null,
539
+ null,
540
+ null
541
+
542
+ )
543
+
544
+ /* harmony default export */ var main = (component.exports);
545
+ // CONCATENATED MODULE: ./packages/page-header/index.js
546
+
547
+
548
+ /* istanbul ignore next */
549
+ main.install = function (Vue) {
550
+ Vue.component(main.name, main);
551
+ };
552
+
553
+ /* harmony default export */ var page_header = __webpack_exports__["default"] = (main);
554
+
555
+ /***/ }),
556
+
557
+ /***/ 2:
91
558
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
559
 
93
560
  "use strict";
@@ -192,120 +659,347 @@ function normalizeComponent(
192
659
 
193
660
  /***/ }),
194
661
 
195
- /***/ 129:
662
+ /***/ 3:
196
663
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
664
 
198
665
  "use strict";
199
- // ESM COMPAT FLAG
200
- __webpack_require__.r(__webpack_exports__);
666
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return noop; });
667
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return hasOwn; });
668
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return toObject; });
669
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return getValueByPath; });
670
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return getPropByPath; });
671
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return generateId; });
672
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return valueEquals; });
673
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return escapeRegexpString; });
674
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return arrayFindIndex; });
675
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return arrayFind; });
676
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return coerceTruthyValueToArray; });
677
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return isIE; });
678
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return isEdge; });
679
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return isFirefox; });
680
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return autoprefixer; });
681
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return kebabCase; });
682
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return capitalize; });
683
+ /* unused harmony export looseEqual */
684
+ /* unused harmony export arrayEquals */
685
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return isEqual; });
686
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return isEmpty; });
687
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return rafThrottle; });
688
+ /* unused harmony export objToArray */
689
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return isMac; });
690
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
691
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
692
+ /* harmony import */ var element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(4);
693
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
694
+
695
+
696
+
697
+
698
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
699
+
700
+ function noop() {};
701
+
702
+ function hasOwn(obj, key) {
703
+ return hasOwnProperty.call(obj, key);
704
+ };
201
705
 
202
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/page-header/src/main.vue?vue&type=template&id=ec49041c
203
- var render = function render() {
204
- var _vm = this,
205
- _c = _vm._self._c
206
- return _c("div", { staticClass: "el-page-header" }, [
207
- _c(
208
- "div",
209
- {
210
- staticClass: "el-page-header__left",
211
- on: {
212
- click: function ($event) {
213
- return _vm.$emit("back")
214
- },
215
- },
216
- },
217
- [
218
- _c("i", { staticClass: "el-icon-back" }),
219
- _c(
220
- "div",
221
- { staticClass: "el-page-header__title" },
222
- [
223
- _vm._t("title", function () {
224
- return [_vm._v(_vm._s(_vm.title))]
225
- }),
226
- ],
227
- 2
228
- ),
229
- ]
230
- ),
231
- _c(
232
- "div",
233
- { staticClass: "el-page-header__content" },
234
- [
235
- _vm._t("content", function () {
236
- return [_vm._v(_vm._s(_vm.content))]
237
- }),
238
- ],
239
- 2
240
- ),
241
- ])
242
- }
243
- var staticRenderFns = []
244
- render._withStripped = true
706
+ function extend(to, _from) {
707
+ for (var key in _from) {
708
+ to[key] = _from[key];
709
+ }
710
+ return to;
711
+ };
245
712
 
713
+ function toObject(arr) {
714
+ var res = {};
715
+ for (var i = 0; i < arr.length; i++) {
716
+ if (arr[i]) {
717
+ extend(res, arr[i]);
718
+ }
719
+ }
720
+ return res;
721
+ };
246
722
 
247
- // CONCATENATED MODULE: ./packages/page-header/src/main.vue?vue&type=template&id=ec49041c
723
+ var getValueByPath = function getValueByPath(object, prop) {
724
+ prop = prop || '';
725
+ var paths = prop.split('.');
726
+ var current = object;
727
+ var result = null;
728
+ for (var i = 0, j = paths.length; i < j; i++) {
729
+ var path = paths[i];
730
+ if (!current) break;
731
+
732
+ if (i === j - 1) {
733
+ result = current[path];
734
+ break;
735
+ }
736
+ current = current[path];
737
+ }
738
+ return result;
739
+ };
248
740
 
249
- // EXTERNAL MODULE: external "element-ui/lib/locale"
250
- var locale_ = __webpack_require__(20);
741
+ function getPropByPath(obj, path, strict) {
742
+ var tempObj = obj;
743
+ path = path.replace(/\[(\w+)\]/g, '.$1');
744
+ path = path.replace(/^\./, '');
745
+
746
+ var keyArr = path.split('.');
747
+ var i = 0;
748
+ for (var len = keyArr.length; i < len - 1; ++i) {
749
+ if (!tempObj && !strict) break;
750
+ var key = keyArr[i];
751
+ if (key in tempObj) {
752
+ tempObj = tempObj[key];
753
+ } else {
754
+ if (strict) {
755
+ throw new Error('please transfer a valid prop path to form item!');
756
+ }
757
+ break;
758
+ }
759
+ }
760
+ return {
761
+ o: tempObj,
762
+ k: keyArr[i],
763
+ v: tempObj ? tempObj[keyArr[i]] : null
764
+ };
765
+ };
251
766
 
252
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/page-header/src/main.vue?vue&type=script&lang=js
767
+ var generateId = function generateId() {
768
+ return Math.floor(Math.random() * 10000);
769
+ };
253
770
 
771
+ var valueEquals = function valueEquals(a, b) {
772
+ // see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript
773
+ if (a === b) return true;
774
+ if (!(a instanceof Array)) return false;
775
+ if (!(b instanceof Array)) return false;
776
+ if (a.length !== b.length) return false;
777
+ for (var i = 0; i !== a.length; ++i) {
778
+ if (a[i] !== b[i]) return false;
779
+ }
780
+ return true;
781
+ };
254
782
 
255
- /* harmony default export */ var mainvue_type_script_lang_js = ({
256
- name: 'ElPageHeader',
783
+ var escapeRegexpString = function escapeRegexpString() {
784
+ var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
785
+ return String(value).replace(/[|\\{}()[\]^$+*?.]/g, '\\$&');
786
+ };
257
787
 
258
- props: {
259
- title: {
260
- type: String,
261
- default: function _default() {
262
- return Object(locale_["t"])('el.pageHeader.title');
263
- }
264
- },
265
- content: String
788
+ // TODO: use native Array.find, Array.findIndex when IE support is dropped
789
+ var arrayFindIndex = function arrayFindIndex(arr, pred) {
790
+ for (var i = 0; i !== arr.length; ++i) {
791
+ if (pred(arr[i])) {
792
+ return i;
793
+ }
266
794
  }
267
- });
268
- // CONCATENATED MODULE: ./packages/page-header/src/main.vue?vue&type=script&lang=js
269
- /* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
270
- // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
271
- var componentNormalizer = __webpack_require__(0);
795
+ return -1;
796
+ };
272
797
 
273
- // CONCATENATED MODULE: ./packages/page-header/src/main.vue
798
+ var arrayFind = function arrayFind(arr, pred) {
799
+ var idx = arrayFindIndex(arr, pred);
800
+ return idx !== -1 ? arr[idx] : undefined;
801
+ };
274
802
 
803
+ // coerce truthy value to array
804
+ var coerceTruthyValueToArray = function coerceTruthyValueToArray(val) {
805
+ if (Array.isArray(val)) {
806
+ return val;
807
+ } else if (val) {
808
+ return [val];
809
+ } else {
810
+ return [];
811
+ }
812
+ };
275
813
 
814
+ var isIE = function isIE() {
815
+ return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && !isNaN(Number(document.documentMode));
816
+ };
276
817
 
818
+ var isEdge = function isEdge() {
819
+ return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && navigator.userAgent.indexOf('Edge') > -1;
820
+ };
277
821
 
822
+ var isFirefox = function isFirefox() {
823
+ return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && !!window.navigator.userAgent.match(/firefox/i);
824
+ };
278
825
 
279
- /* normalize component */
826
+ var autoprefixer = function autoprefixer(style) {
827
+ if ((typeof style === 'undefined' ? 'undefined' : _typeof(style)) !== 'object') return style;
828
+ var rules = ['transform', 'transition', 'animation'];
829
+ var prefixes = ['ms-', 'webkit-'];
830
+ rules.forEach(function (rule) {
831
+ var value = style[rule];
832
+ if (rule && value) {
833
+ prefixes.forEach(function (prefix) {
834
+ style[prefix + rule] = value;
835
+ });
836
+ }
837
+ });
838
+ return style;
839
+ };
280
840
 
281
- var component = Object(componentNormalizer["a" /* default */])(
282
- src_mainvue_type_script_lang_js,
283
- render,
284
- staticRenderFns,
285
- false,
286
- null,
287
- null,
288
- null
289
-
290
- )
841
+ var kebabCase = function kebabCase(str) {
842
+ var hyphenateRE = /([^-])([A-Z])/g;
843
+ return str.replace(hyphenateRE, '$1-$2').replace(hyphenateRE, '$1-$2').toLowerCase();
844
+ };
291
845
 
292
- /* harmony default export */ var main = (component.exports);
293
- // CONCATENATED MODULE: ./packages/page-header/index.js
846
+ var capitalize = function capitalize(str) {
847
+ if (!Object(element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__[/* isString */ "e"])(str)) return str;
848
+ return str.charAt(0).toUpperCase() + str.slice(1);
849
+ };
294
850
 
851
+ var looseEqual = function looseEqual(a, b) {
852
+ var isObjectA = Object(element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__[/* isObject */ "d"])(a);
853
+ var isObjectB = Object(element_ui_src_utils_types__WEBPACK_IMPORTED_MODULE_1__[/* isObject */ "d"])(b);
854
+ if (isObjectA && isObjectB) {
855
+ return JSON.stringify(a) === JSON.stringify(b);
856
+ } else if (!isObjectA && !isObjectB) {
857
+ return String(a) === String(b);
858
+ } else {
859
+ return false;
860
+ }
861
+ };
295
862
 
296
- /* istanbul ignore next */
297
- main.install = function (Vue) {
298
- Vue.component(main.name, main);
863
+ var arrayEquals = function arrayEquals(arrayA, arrayB) {
864
+ arrayA = arrayA || [];
865
+ arrayB = arrayB || [];
866
+
867
+ if (arrayA.length !== arrayB.length) {
868
+ return false;
869
+ }
870
+
871
+ for (var i = 0; i < arrayA.length; i++) {
872
+ if (!looseEqual(arrayA[i], arrayB[i])) {
873
+ return false;
874
+ }
875
+ }
876
+
877
+ return true;
299
878
  };
300
879
 
301
- /* harmony default export */ var page_header = __webpack_exports__["default"] = (main);
880
+ var isEqual = function isEqual(value1, value2) {
881
+ if (Array.isArray(value1) && Array.isArray(value2)) {
882
+ return arrayEquals(value1, value2);
883
+ }
884
+ return looseEqual(value1, value2);
885
+ };
886
+
887
+ var isEmpty = function isEmpty(val) {
888
+ // null or undefined
889
+ if (val == null) return true;
890
+
891
+ if (typeof val === 'boolean') return false;
892
+
893
+ if (typeof val === 'number') return !val;
894
+
895
+ if (val instanceof Error) return val.message === '';
896
+
897
+ switch (Object.prototype.toString.call(val)) {
898
+ // String or Array
899
+ case '[object String]':
900
+ case '[object Array]':
901
+ return !val.length;
902
+
903
+ // Map or Set or File
904
+ case '[object File]':
905
+ case '[object Map]':
906
+ case '[object Set]':
907
+ {
908
+ return !val.size;
909
+ }
910
+ // Plain Object
911
+ case '[object Object]':
912
+ {
913
+ return !Object.keys(val).length;
914
+ }
915
+ }
916
+
917
+ return false;
918
+ };
919
+
920
+ function rafThrottle(fn) {
921
+ var locked = false;
922
+ return function () {
923
+ var _this = this;
924
+
925
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
926
+ args[_key] = arguments[_key];
927
+ }
928
+
929
+ if (locked) return;
930
+ locked = true;
931
+ window.requestAnimationFrame(function (_) {
932
+ fn.apply(_this, args);
933
+ locked = false;
934
+ });
935
+ };
936
+ }
937
+
938
+ function objToArray(obj) {
939
+ if (Array.isArray(obj)) {
940
+ return obj;
941
+ }
942
+ return isEmpty(obj) ? [] : [obj];
943
+ }
944
+
945
+ var isMac = function isMac() {
946
+ return !vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer && /macintosh|mac os x/i.test(navigator.userAgent);
947
+ };
302
948
 
303
949
  /***/ }),
304
950
 
305
- /***/ 20:
306
- /***/ (function(module, exports) {
951
+ /***/ 4:
952
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
953
+
954
+ "use strict";
955
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return isString; });
956
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return isObject; });
957
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return isHtmlElement; });
958
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return isFunction; });
959
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return isUndefined; });
960
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return isDefined; });
961
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(0);
962
+ /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_0__);
963
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
964
+
965
+
307
966
 
308
- module.exports = require("element-ui/lib/locale");
967
+ function isString(obj) {
968
+ return Object.prototype.toString.call(obj) === '[object String]';
969
+ }
970
+
971
+ function isObject(obj) {
972
+ return Object.prototype.toString.call(obj) === '[object Object]';
973
+ }
974
+
975
+ function isHtmlElement(node) {
976
+ return node && node.nodeType === Node.ELEMENT_NODE;
977
+ }
978
+
979
+ /**
980
+ * - Inspired:
981
+ * https://github.com/jashkenas/underscore/blob/master/modules/isFunction.js
982
+ */
983
+ var isFunction = function isFunction(functionToCheck) {
984
+ var getType = {};
985
+ return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';
986
+ };
987
+
988
+ if ( true && (typeof Int8Array === 'undefined' ? 'undefined' : _typeof(Int8Array)) !== 'object' && (vue__WEBPACK_IMPORTED_MODULE_0___default.a.prototype.$isServer || typeof document.childNodes !== 'function')) {
989
+ isFunction = function isFunction(obj) {
990
+ return typeof obj === 'function' || false;
991
+ };
992
+ }
993
+
994
+
995
+
996
+ var isUndefined = function isUndefined(val) {
997
+ return val === void 0;
998
+ };
999
+
1000
+ var isDefined = function isDefined(val) {
1001
+ return val !== undefined && val !== null;
1002
+ };
309
1003
 
310
1004
  /***/ })
311
1005