iov-design 2.15.60 → 2.15.61

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 (234) hide show
  1. package/README.md +148 -148
  2. package/lib/alert.js +24 -105
  3. package/lib/aside.js +24 -34
  4. package/lib/autocomplete.js +36 -240
  5. package/lib/avatar.js +21 -20
  6. package/lib/backtop.js +27 -52
  7. package/lib/badge.js +30 -58
  8. package/lib/breadcrumb-item.js +24 -53
  9. package/lib/breadcrumb.js +24 -37
  10. package/lib/button-group.js +24 -29
  11. package/lib/button.js +38 -60
  12. package/lib/calendar.js +29 -146
  13. package/lib/card.js +24 -51
  14. package/lib/carousel-item.js +30 -68
  15. package/lib/carousel.js +27 -159
  16. package/lib/cascader-panel.js +41 -64
  17. package/lib/cascader.js +37 -470
  18. package/lib/checkbox-button.js +28 -164
  19. package/lib/checkbox-group.js +24 -37
  20. package/lib/checkbox.js +35 -189
  21. package/lib/col.js +1 -0
  22. package/lib/collapse-item.js +27 -125
  23. package/lib/collapse.js +24 -37
  24. package/lib/color-picker.js +104 -424
  25. package/lib/container.js +24 -34
  26. package/lib/date-picker.js +126 -1981
  27. package/lib/descriptions-item.js +1 -0
  28. package/lib/descriptions.js +1 -0
  29. package/lib/dialog.js +24 -137
  30. package/lib/divider.js +29 -64
  31. package/lib/drawer.js +24 -139
  32. package/lib/dropdown-item.js +27 -45
  33. package/lib/dropdown-menu.js +24 -51
  34. package/lib/dropdown.js +21 -20
  35. package/lib/empty.js +24 -61
  36. package/lib/footer.js +24 -34
  37. package/lib/form-item.js +42 -128
  38. package/lib/form.js +27 -40
  39. package/lib/header.js +24 -34
  40. package/lib/icon.js +24 -29
  41. package/lib/image.js +36 -220
  42. package/lib/index.js +1 -1
  43. package/lib/infinite-scroll.js +1 -0
  44. package/lib/input-number.js +30 -163
  45. package/lib/input.js +42 -274
  46. package/lib/iov-design.common.js +1635 -11132
  47. package/lib/link.js +31 -56
  48. package/lib/loading.js +24 -77
  49. package/lib/locale/format.js +10 -10
  50. package/lib/main.js +24 -29
  51. package/lib/menu-item-group.js +24 -40
  52. package/lib/menu-item.js +27 -83
  53. package/lib/menu.js +21 -20
  54. package/lib/message-box.js +24 -321
  55. package/lib/message.js +30 -82
  56. package/lib/mixins/migrating.js +20 -20
  57. package/lib/notification.js +24 -109
  58. package/lib/option-group.js +24 -50
  59. package/lib/option.js +27 -76
  60. package/lib/page-header.js +24 -56
  61. package/lib/pagination.js +24 -97
  62. package/lib/popconfirm.js +24 -97
  63. package/lib/popover.js +24 -89
  64. package/lib/progress.js +30 -133
  65. package/lib/radio-button.js +29 -111
  66. package/lib/radio-group.js +24 -39
  67. package/lib/radio.js +36 -152
  68. package/lib/rate.js +24 -94
  69. package/lib/result.js +72 -187
  70. package/lib/row.js +1 -0
  71. package/lib/scrollbar.js +1 -0
  72. package/lib/select.js +48 -637
  73. package/lib/skeleton-item.js +36 -68
  74. package/lib/skeleton.js +28 -70
  75. package/lib/slider.js +36 -267
  76. package/lib/spinner.js +24 -51
  77. package/lib/statistic.js +24 -76
  78. package/lib/step.js +29 -118
  79. package/lib/steps.js +27 -40
  80. package/lib/submenu.js +21 -20
  81. package/lib/switch.js +24 -130
  82. package/lib/tab-pane.js +24 -52
  83. package/lib/table-column.js +1 -0
  84. package/lib/table.js +93 -633
  85. package/lib/tabs.js +34 -49
  86. package/lib/tag.js +21 -20
  87. package/lib/theme-chalk/button.css +1 -1
  88. package/lib/theme-chalk/calendar.css +1 -1
  89. package/lib/theme-chalk/dropdown.css +1 -1
  90. package/lib/theme-chalk/index.css +1 -1
  91. package/lib/theme-chalk/link.css +1 -1
  92. package/lib/theme-chalk/message-box.css +1 -1
  93. package/lib/theme-chalk/transfer.css +1 -1
  94. package/lib/time-picker.js +58 -820
  95. package/lib/time-select.js +42 -303
  96. package/lib/timeline-item.js +29 -75
  97. package/lib/timeline.js +21 -20
  98. package/lib/tooltip.js +1 -0
  99. package/lib/transfer.js +36 -299
  100. package/lib/tree.js +54 -243
  101. package/lib/upload.js +86 -654
  102. package/lib/utils/clickoutside.js +7 -7
  103. package/lib/utils/vue-popper.js +7 -7
  104. package/package.json +154 -154
  105. package/packages/autocomplete/src/autocomplete-suggestions.vue +76 -76
  106. package/packages/autocomplete/src/autocomplete.vue +285 -285
  107. package/packages/button/src/button.vue +90 -90
  108. package/packages/calendar/src/date-table.vue +200 -200
  109. package/packages/calendar/src/main.vue +280 -280
  110. package/packages/carousel/src/item.vue +138 -138
  111. package/packages/carousel/src/main.vue +315 -315
  112. package/packages/cascader/src/cascader.vue +776 -776
  113. package/packages/cascader-panel/src/cascader-menu.vue +138 -138
  114. package/packages/cascader-panel/src/cascader-node.vue +246 -246
  115. package/packages/cascader-panel/src/cascader-panel.vue +391 -391
  116. package/packages/cascader-panel/src/node.js +166 -166
  117. package/packages/cascader-panel/src/store.js +58 -58
  118. package/packages/checkbox/src/checkbox-button.vue +199 -199
  119. package/packages/checkbox/src/checkbox-group.vue +49 -49
  120. package/packages/checkbox/src/checkbox.vue +225 -225
  121. package/packages/collapse/src/collapse-item.vue +114 -114
  122. package/packages/color-picker/src/components/picker-dropdown.vue +121 -121
  123. package/packages/color-picker/src/main.vue +188 -188
  124. package/packages/date-picker/src/basic/date-table.vue +441 -441
  125. package/packages/date-picker/src/basic/month-table.vue +269 -269
  126. package/packages/date-picker/src/basic/time-spinner.vue +304 -304
  127. package/packages/date-picker/src/basic/year-table.vue +111 -111
  128. package/packages/date-picker/src/panel/date-range.vue +680 -680
  129. package/packages/date-picker/src/panel/date.vue +609 -609
  130. package/packages/date-picker/src/panel/month-range.vue +289 -289
  131. package/packages/date-picker/src/panel/time-range.vue +248 -248
  132. package/packages/date-picker/src/panel/time-select.vue +178 -178
  133. package/packages/date-picker/src/panel/time.vue +186 -186
  134. package/packages/date-picker/src/picker.vue +967 -967
  135. package/packages/descriptions/src/index.js +180 -180
  136. package/packages/dialog/src/component.vue +262 -262
  137. package/packages/drawer/src/main.vue +205 -205
  138. package/packages/dropdown/src/dropdown-item.vue +37 -37
  139. package/packages/dropdown/src/dropdown-menu.vue +63 -63
  140. package/packages/dropdown/src/dropdown.vue +293 -293
  141. package/packages/empty/src/index.vue +70 -70
  142. package/packages/form/src/form-item.vue +324 -324
  143. package/packages/form/src/form.vue +182 -182
  144. package/packages/image/src/image-viewer.vue +330 -330
  145. package/packages/image/src/main.vue +249 -249
  146. package/packages/infinite-scroll/src/main.js +150 -150
  147. package/packages/input/src/input.vue +477 -477
  148. package/packages/input-number/src/input-number.vue +283 -283
  149. package/packages/loading/src/directive.js +133 -133
  150. package/packages/loading/src/index.js +106 -106
  151. package/packages/menu/src/menu-item.vue +112 -112
  152. package/packages/menu/src/menu.vue +325 -325
  153. package/packages/menu/src/submenu.vue +349 -349
  154. package/packages/message/src/main.js +91 -91
  155. package/packages/message-box/src/main.js +216 -216
  156. package/packages/message-box/src/main.vue +333 -333
  157. package/packages/notification/src/main.js +94 -94
  158. package/packages/page-header/src/main.vue +30 -30
  159. package/packages/pagination/src/pagination.js +390 -390
  160. package/packages/popconfirm/src/main.vue +104 -104
  161. package/packages/popover/src/main.vue +239 -239
  162. package/packages/radio/src/radio-button.vue +115 -115
  163. package/packages/radio/src/radio-group.vue +115 -115
  164. package/packages/radio/src/radio.vue +148 -148
  165. package/packages/rate/src/main.vue +348 -348
  166. package/packages/scrollbar/src/bar.js +92 -92
  167. package/packages/scrollbar/src/main.js +130 -130
  168. package/packages/select/src/option-group.vue +60 -60
  169. package/packages/select/src/option.vue +171 -171
  170. package/packages/select/src/select-dropdown.vue +74 -74
  171. package/packages/select/src/select.vue +979 -979
  172. package/packages/slider/src/button.vue +238 -238
  173. package/packages/slider/src/main.vue +427 -427
  174. package/packages/statistic/src/main.vue +204 -204
  175. package/packages/steps/src/steps.vue +68 -68
  176. package/packages/switch/src/component.vue +182 -182
  177. package/packages/table/src/config.js +153 -153
  178. package/packages/table/src/filter-panel.vue +194 -194
  179. package/packages/table/src/store/current.js +76 -76
  180. package/packages/table/src/store/helper.js +41 -41
  181. package/packages/table/src/store/index.js +147 -147
  182. package/packages/table/src/store/watcher.js +502 -502
  183. package/packages/table/src/table-body.js +469 -469
  184. package/packages/table/src/table-column.js +328 -328
  185. package/packages/table/src/table-header.js +571 -571
  186. package/packages/table/src/table-layout.js +249 -249
  187. package/packages/table/src/table-row.js +101 -101
  188. package/packages/table/src/table.vue +740 -740
  189. package/packages/table/src/util.js +273 -273
  190. package/packages/tabs/src/tab-bar.vue +57 -57
  191. package/packages/tabs/src/tab-nav.vue +294 -294
  192. package/packages/tabs/src/tabs.vue +201 -201
  193. package/packages/theme-chalk/src/button.scss +416 -416
  194. package/packages/theme-chalk/src/cascader.scss +252 -252
  195. package/packages/theme-chalk/src/checkbox.scss +419 -419
  196. package/packages/theme-chalk/src/common/var.scss +795 -795
  197. package/packages/theme-chalk/src/form.scss +201 -201
  198. package/packages/theme-chalk/src/input.scss +591 -591
  199. package/packages/theme-chalk/src/iovfont.scss +803 -803
  200. package/packages/theme-chalk/src/link.scss +8 -8
  201. package/packages/theme-chalk/src/message-box.scss +207 -207
  202. package/packages/theme-chalk/src/mixins/_button.scss +136 -136
  203. package/packages/theme-chalk/src/mixins/mixins.scss +190 -190
  204. package/packages/theme-chalk/src/radio-button.scss +115 -115
  205. package/packages/theme-chalk/src/select.scss +270 -270
  206. package/packages/theme-chalk/src/tabs.scss +755 -755
  207. package/packages/theme-chalk/src/upload.scss +568 -568
  208. package/packages/tooltip/src/main.js +242 -242
  209. package/packages/transfer/src/main.vue +231 -231
  210. package/packages/transfer/src/transfer-panel.vue +251 -251
  211. package/packages/tree/src/model/node.js +484 -484
  212. package/packages/tree/src/tree-node.vue +279 -279
  213. package/packages/tree/src/tree.vue +496 -496
  214. package/packages/upload/src/index.vue +420 -420
  215. package/packages/upload/src/upload-file.vue +98 -98
  216. package/packages/upload/src/upload-list.vue +115 -115
  217. package/packages/upload/src/upload-picture.vue +98 -98
  218. package/packages/upload/src/upload.vue +231 -231
  219. package/packages/upload/src/utils.js +31 -31
  220. package/src/directives/repeat-click.js +26 -26
  221. package/src/index.js +259 -259
  222. package/src/locale/format.js +46 -46
  223. package/src/locale/index.js +48 -48
  224. package/src/locale/lang/lo-LA.js +126 -126
  225. package/src/mixins/locale.js +9 -9
  226. package/src/mixins/migrating.js +54 -54
  227. package/src/transitions/collapse-transition.js +77 -77
  228. package/src/utils/clickoutside.js +76 -76
  229. package/src/utils/date-util.js +282 -282
  230. package/src/utils/popup/index.js +218 -218
  231. package/src/utils/popup/popup-manager.js +194 -194
  232. package/src/utils/util.js +245 -245
  233. package/src/utils/vdom.js +5 -5
  234. package/src/utils/vue-popper.js +198 -198
@@ -98,20 +98,19 @@ module.exports =
98
98
  // This module is a runtime utility for cleaner component module output and will
99
99
  // be included in the final webpack user bundle.
100
100
 
101
- function normalizeComponent (
101
+ function normalizeComponent(
102
102
  scriptExports,
103
103
  render,
104
104
  staticRenderFns,
105
105
  functionalTemplate,
106
106
  injectStyles,
107
107
  scopeId,
108
- moduleIdentifier, /* server only */
108
+ moduleIdentifier /* server only */,
109
109
  shadowMode /* vue-cli only */
110
110
  ) {
111
111
  // Vue.extend constructor export interop
112
- var options = typeof scriptExports === 'function'
113
- ? scriptExports.options
114
- : scriptExports
112
+ var options =
113
+ typeof scriptExports === 'function' ? scriptExports.options : scriptExports
115
114
 
116
115
  // render functions
117
116
  if (render) {
@@ -131,7 +130,8 @@ function normalizeComponent (
131
130
  }
132
131
 
133
132
  var hook
134
- if (moduleIdentifier) { // server build
133
+ if (moduleIdentifier) {
134
+ // server build
135
135
  hook = function (context) {
136
136
  // 2.3 injection
137
137
  context =
@@ -156,7 +156,12 @@ function normalizeComponent (
156
156
  options._ssrRegister = hook
157
157
  } else if (injectStyles) {
158
158
  hook = shadowMode
159
- ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) }
159
+ ? function () {
160
+ injectStyles.call(
161
+ this,
162
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
163
+ )
164
+ }
160
165
  : injectStyles
161
166
  }
162
167
 
@@ -165,18 +170,16 @@ function normalizeComponent (
165
170
  // for template-only hot-reload because in that case the render fn doesn't
166
171
  // go through the normalizer
167
172
  options._injectStyles = hook
168
- // register for functioal component in vue file
173
+ // register for functional component in vue file
169
174
  var originalRender = options.render
170
- options.render = function renderWithStyleInjection (h, context) {
175
+ options.render = function renderWithStyleInjection(h, context) {
171
176
  hook.call(context)
172
177
  return originalRender(h, context)
173
178
  }
174
179
  } else {
175
180
  // inject component registration as beforeCreate hook
176
181
  var existing = options.beforeCreate
177
- options.beforeCreate = existing
178
- ? [].concat(existing, hook)
179
- : [hook]
182
+ options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
180
183
  }
181
184
  }
182
185
 
@@ -229,95 +232,12 @@ module.exports = require("iov-design/lib/utils/dom");
229
232
 
230
233
  "use strict";
231
234
 
232
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time.vue?vue&type=template&id=3d939089&
233
- var render = function() {
234
- var _vm = this
235
- var _h = _vm.$createElement
236
- var _c = _vm._self._c || _h
237
- return _c(
238
- "transition",
239
- {
240
- attrs: { name: "el-zoom-in-top" },
241
- on: {
242
- "after-leave": function($event) {
243
- _vm.$emit("dodestroy")
244
- }
245
- }
246
- },
247
- [
248
- _c(
249
- "div",
250
- {
251
- directives: [
252
- {
253
- name: "show",
254
- rawName: "v-show",
255
- value: _vm.visible,
256
- expression: "visible"
257
- }
258
- ],
259
- staticClass: "el-time-panel el-popper",
260
- class: _vm.popperClass
261
- },
262
- [
263
- _c(
264
- "div",
265
- {
266
- staticClass: "el-time-panel__content",
267
- class: { "has-seconds": _vm.showSeconds }
268
- },
269
- [
270
- _c("time-spinner", {
271
- ref: "spinner",
272
- attrs: {
273
- "arrow-control": _vm.useArrow,
274
- "show-seconds": _vm.showSeconds,
275
- "am-pm-mode": _vm.amPmMode,
276
- date: _vm.date
277
- },
278
- on: {
279
- change: _vm.handleChange,
280
- "select-range": _vm.setSelectionRange
281
- }
282
- })
283
- ],
284
- 1
285
- ),
286
- _c("div", { staticClass: "el-time-panel__footer" }, [
287
- _c(
288
- "button",
289
- {
290
- staticClass: "el-time-panel__btn cancel",
291
- attrs: { type: "button" },
292
- on: { click: _vm.handleCancel }
293
- },
294
- [_vm._v(_vm._s(_vm.t("el.datepicker.cancel")))]
295
- ),
296
- _c(
297
- "button",
298
- {
299
- staticClass: "el-time-panel__btn",
300
- class: { confirm: !_vm.disabled },
301
- attrs: { type: "button" },
302
- on: {
303
- click: function($event) {
304
- _vm.handleConfirm()
305
- }
306
- }
307
- },
308
- [_vm._v(_vm._s(_vm.t("el.datepicker.confirm")))]
309
- )
310
- ])
311
- ]
312
- )
313
- ]
314
- )
315
- }
235
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time.vue?vue&type=template&id=07486175
236
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"el-zoom-in-top"},on:{"after-leave":function($event){_vm.$emit('dodestroy')}}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.visible),expression:"visible"}],staticClass:"el-time-panel el-popper",class:_vm.popperClass},[_c('div',{staticClass:"el-time-panel__content",class:{ 'has-seconds': _vm.showSeconds }},[_c('time-spinner',{ref:"spinner",attrs:{"arrow-control":_vm.useArrow,"show-seconds":_vm.showSeconds,"am-pm-mode":_vm.amPmMode,"date":_vm.date},on:{"change":_vm.handleChange,"select-range":_vm.setSelectionRange}})],1),_c('div',{staticClass:"el-time-panel__footer"},[_c('button',{staticClass:"el-time-panel__btn cancel",attrs:{"type":"button"},on:{"click":_vm.handleCancel}},[_vm._v(_vm._s(_vm.t('el.datepicker.cancel')))]),_c('button',{staticClass:"el-time-panel__btn",class:{confirm: !_vm.disabled},attrs:{"type":"button"},on:{"click":function($event){_vm.handleConfirm()}}},[_vm._v(_vm._s(_vm.t('el.datepicker.confirm')))])])])])}
316
237
  var staticRenderFns = []
317
238
  render._withStripped = true
318
239
 
319
-
320
- // CONCATENATED MODULE: ./packages/date-picker/src/panel/time.vue?vue&type=template&id=3d939089&
240
+ // CONCATENATED MODULE: ./packages/date-picker/src/panel/time.vue?vue&type=template&id=07486175
321
241
 
322
242
  // EXTERNAL MODULE: external "iov-design/lib/utils/date-util"
323
243
  var date_util_ = __webpack_require__(1);
@@ -329,7 +249,7 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
329
249
  // EXTERNAL MODULE: ./packages/date-picker/src/basic/time-spinner.vue + 4 modules
330
250
  var time_spinner = __webpack_require__(35);
331
251
 
332
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time.vue?vue&type=script&lang=js&
252
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time.vue?vue&type=script&lang=js
333
253
  //
334
254
  //
335
255
  //
@@ -367,7 +287,7 @@ var time_spinner = __webpack_require__(35);
367
287
 
368
288
 
369
289
 
370
- /* harmony default export */ var timevue_type_script_lang_js_ = ({
290
+ /* harmony default export */ var timevue_type_script_lang_js = ({
371
291
  mixins: [locale_default.a],
372
292
 
373
293
  components: {
@@ -521,8 +441,8 @@ var time_spinner = __webpack_require__(35);
521
441
  this.$emit('mounted');
522
442
  }
523
443
  });
524
- // CONCATENATED MODULE: ./packages/date-picker/src/panel/time.vue?vue&type=script&lang=js&
525
- /* harmony default export */ var panel_timevue_type_script_lang_js_ = (timevue_type_script_lang_js_);
444
+ // CONCATENATED MODULE: ./packages/date-picker/src/panel/time.vue?vue&type=script&lang=js
445
+ /* harmony default export */ var panel_timevue_type_script_lang_js = (timevue_type_script_lang_js);
526
446
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
527
447
  var componentNormalizer = __webpack_require__(0);
528
448
 
@@ -535,7 +455,7 @@ var componentNormalizer = __webpack_require__(0);
535
455
  /* normalize component */
536
456
 
537
457
  var component = Object(componentNormalizer["a" /* default */])(
538
- panel_timevue_type_script_lang_js_,
458
+ panel_timevue_type_script_lang_js,
539
459
  render,
540
460
  staticRenderFns,
541
461
  false,
@@ -545,9 +465,6 @@ var component = Object(componentNormalizer["a" /* default */])(
545
465
 
546
466
  )
547
467
 
548
- /* hot reload */
549
- if (false) { var api; }
550
- component.options.__file = "packages/date-picker/src/panel/time.vue"
551
468
  /* harmony default export */ var time = __webpack_exports__["a"] = (component.exports);
552
469
 
553
470
  /***/ }),
@@ -603,209 +520,17 @@ module.exports = require("iov-design/lib/utils/util");
603
520
 
604
521
  "use strict";
605
522
 
606
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/picker.vue?vue&type=template&id=79ae069f&
607
- var render = function() {
608
- var _vm = this
609
- var _h = _vm.$createElement
610
- var _c = _vm._self._c || _h
611
- return !_vm.ranged
612
- ? _c(
613
- "el-input",
614
- _vm._b(
615
- {
616
- directives: [
617
- {
618
- name: "clickoutside",
619
- rawName: "v-clickoutside",
620
- value: _vm.handleClose,
621
- expression: "handleClose"
622
- }
623
- ],
624
- ref: "reference",
625
- staticClass: "el-date-editor",
626
- class: "el-date-editor--" + _vm.type,
627
- attrs: {
628
- readonly:
629
- !_vm.editable ||
630
- _vm.readonly ||
631
- _vm.type === "dates" ||
632
- _vm.type === "week" ||
633
- _vm.type === "years" ||
634
- _vm.type === "months",
635
- disabled: _vm.pickerDisabled,
636
- size: _vm.pickerSize,
637
- name: _vm.name,
638
- placeholder: _vm.placeholder,
639
- value: _vm.displayValue,
640
- validateEvent: false
641
- },
642
- on: {
643
- focus: _vm.handleFocus,
644
- input: function(value) {
645
- return (_vm.userInput = value)
646
- },
647
- change: _vm.handleChange
648
- },
649
- nativeOn: {
650
- keydown: function($event) {
651
- return _vm.handleKeydown($event)
652
- },
653
- mouseenter: function($event) {
654
- return _vm.handleMouseEnter($event)
655
- },
656
- mouseleave: function($event) {
657
- _vm.showClose = false
658
- }
659
- }
660
- },
661
- "el-input",
662
- _vm.firstInputId,
663
- false
664
- ),
665
- [
666
- _c("template", { slot: "prefixLabel" }, [_vm._t("prefixLabel")], 2),
667
- !_vm.showClose
668
- ? _c("i", {
669
- staticClass: "el-input__icon",
670
- class: _vm.triggerClass,
671
- attrs: { slot: "prefix" },
672
- on: { click: _vm.handleFocus },
673
- slot: "prefix"
674
- })
675
- : _vm._e(),
676
- _vm.haveTrigger
677
- ? _c("i", {
678
- staticClass: "el-input__icon",
679
- class: [
680
- _vm.showClose ? "" + _vm.clearIcon + " el-input__clear" : ""
681
- ],
682
- attrs: { slot: "suffix" },
683
- on: { click: _vm.handleClickIcon },
684
- slot: "suffix"
685
- })
686
- : _vm._e()
687
- ],
688
- 2
689
- )
690
- : _c(
691
- "div",
692
- {
693
- directives: [
694
- {
695
- name: "clickoutside",
696
- rawName: "v-clickoutside",
697
- value: _vm.handleClose,
698
- expression: "handleClose"
699
- }
700
- ],
701
- ref: "reference",
702
- staticClass: "el-date-editor el-range-editor el-input__inner",
703
- class: [
704
- "el-date-editor--" + _vm.type,
705
- _vm.pickerSize ? "el-range-editor--" + _vm.pickerSize : "",
706
- _vm.pickerDisabled ? "is-disabled" : "",
707
- _vm.pickerVisible ? "is-active" : ""
708
- ],
709
- on: {
710
- click: _vm.handleRangeClick,
711
- mouseenter: _vm.handleMouseEnter,
712
- mouseleave: function($event) {
713
- _vm.showClose = false
714
- },
715
- keydown: _vm.handleKeydown
716
- }
717
- },
718
- [
719
- _vm.$slots.prefixLabel
720
- ? _c(
721
- "div",
722
- { staticClass: "el-input-group__prefix-label" },
723
- [_vm._t("prefixLabel")],
724
- 2
725
- )
726
- : _vm._e(),
727
- _c(
728
- "input",
729
- _vm._b(
730
- {
731
- staticClass: "el-range-input",
732
- attrs: {
733
- autocomplete: "off",
734
- placeholder: _vm.startPlaceholder,
735
- disabled: _vm.pickerDisabled,
736
- readonly: !_vm.editable || _vm.readonly,
737
- name: _vm.name && _vm.name[0]
738
- },
739
- domProps: { value: _vm.displayValue && _vm.displayValue[0] },
740
- on: {
741
- input: _vm.handleStartInput,
742
- change: _vm.handleStartChange,
743
- focus: _vm.handleFocus
744
- }
745
- },
746
- "input",
747
- _vm.firstInputId,
748
- false
749
- )
750
- ),
751
- _vm.$slots["range-separator"]
752
- ? _c(
753
- "span",
754
- { staticClass: "el-range-separator" },
755
- [_vm._t("range-separator")],
756
- 2
757
- )
758
- : _vm.rangeSeparator
759
- ? _c("span", { staticClass: "el-range-separator" }, [
760
- _vm._v("\n " + _vm._s(_vm.rangeSeparator) + "\n ")
761
- ])
762
- : _c("span", { staticClass: "el-range-separator" }, [
763
- _c("i", { staticClass: "iov-icon-arrow-half-right" })
764
- ]),
765
- _c(
766
- "input",
767
- _vm._b(
768
- {
769
- staticClass: "el-range-input",
770
- attrs: {
771
- autocomplete: "off",
772
- placeholder: _vm.endPlaceholder,
773
- disabled: _vm.pickerDisabled,
774
- readonly: !_vm.editable || _vm.readonly,
775
- name: _vm.name && _vm.name[1]
776
- },
777
- domProps: { value: _vm.displayValue && _vm.displayValue[1] },
778
- on: {
779
- input: _vm.handleEndInput,
780
- change: _vm.handleEndChange,
781
- focus: _vm.handleFocus
782
- }
783
- },
784
- "input",
785
- _vm.secondInputId,
786
- false
787
- )
788
- ),
789
- _c("i", {
790
- staticClass: "el-input__icon el-range__close-icon",
791
- class: [
792
- _vm.showClose ? "" + _vm.clearIcon + " el-input__clear" : ""
793
- ],
794
- on: { click: _vm.handleClickIcon }
795
- }),
796
- !_vm.showClose
797
- ? _c("i", {
798
- class: ["el-input__icon", "el-range__icon", _vm.triggerClass]
799
- })
800
- : _vm._e()
801
- ]
802
- )
803
- }
523
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/picker.vue?vue&type=template&id=3b0d134c
524
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.ranged)?_c('el-input',_vm._b({directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.handleClose),expression:"handleClose"}],ref:"reference",staticClass:"el-date-editor",class:'el-date-editor--' + _vm.type,attrs:{"readonly":!_vm.editable || _vm.readonly || _vm.type === 'dates' || _vm.type === 'week' || _vm.type === 'years' || _vm.type === 'months',"disabled":_vm.pickerDisabled,"size":_vm.pickerSize,"name":_vm.name,"placeholder":_vm.placeholder,"value":_vm.displayValue,"validateEvent":false},on:{"focus":_vm.handleFocus,"input":function (value) { return _vm.userInput = value; },"change":_vm.handleChange},nativeOn:{"keydown":function($event){return _vm.handleKeydown($event)},"mouseenter":function($event){return _vm.handleMouseEnter($event)},"mouseleave":function($event){_vm.showClose = false}}},'el-input',_vm.firstInputId,false),[_c('template',{slot:"prefixLabel"},[_vm._t("prefixLabel")],2),(!_vm.showClose)?_c('i',{staticClass:"el-input__icon",class:_vm.triggerClass,attrs:{"slot":"prefix"},on:{"click":_vm.handleFocus},slot:"prefix"}):_vm._e(),(_vm.haveTrigger)?_c('i',{staticClass:"el-input__icon",class:[_vm.showClose ? '' + _vm.clearIcon + ' el-input__clear' : ''],attrs:{"slot":"suffix"},on:{"click":_vm.handleClickIcon},slot:"suffix"}):_vm._e()],2):_c('div',{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:(_vm.handleClose),expression:"handleClose"}],ref:"reference",staticClass:"el-date-editor el-range-editor el-input__inner",class:[
525
+ 'el-date-editor--' + _vm.type,
526
+ _vm.pickerSize ? ("el-range-editor--" + _vm.pickerSize) : '',
527
+ _vm.pickerDisabled ? 'is-disabled' : '',
528
+ _vm.pickerVisible ? 'is-active' : ''
529
+ ],on:{"click":_vm.handleRangeClick,"mouseenter":_vm.handleMouseEnter,"mouseleave":function($event){_vm.showClose = false},"keydown":_vm.handleKeydown}},[(_vm.$slots.prefixLabel)?_c('div',{staticClass:"el-input-group__prefix-label"},[_vm._t("prefixLabel")],2):_vm._e(),_c('input',_vm._b({staticClass:"el-range-input",attrs:{"autocomplete":"off","placeholder":_vm.startPlaceholder,"disabled":_vm.pickerDisabled,"readonly":!_vm.editable || _vm.readonly,"name":_vm.name && _vm.name[0]},domProps:{"value":_vm.displayValue && _vm.displayValue[0]},on:{"input":_vm.handleStartInput,"change":_vm.handleStartChange,"focus":_vm.handleFocus}},'input',_vm.firstInputId,false)),(_vm.$slots['range-separator'])?_c('span',{staticClass:"el-range-separator"},[_vm._t("range-separator")],2):(_vm.rangeSeparator)?_c('span',{staticClass:"el-range-separator"},[_vm._v("\n "+_vm._s(_vm.rangeSeparator)+"\n ")]):_c('span',{staticClass:"el-range-separator"},[_c('i',{staticClass:"iov-icon-arrow-half-right"})]),_c('input',_vm._b({staticClass:"el-range-input",attrs:{"autocomplete":"off","placeholder":_vm.endPlaceholder,"disabled":_vm.pickerDisabled,"readonly":!_vm.editable || _vm.readonly,"name":_vm.name && _vm.name[1]},domProps:{"value":_vm.displayValue && _vm.displayValue[1]},on:{"input":_vm.handleEndInput,"change":_vm.handleEndChange,"focus":_vm.handleFocus}},'input',_vm.secondInputId,false)),_c('i',{staticClass:"el-input__icon el-range__close-icon",class:[_vm.showClose ? '' + _vm.clearIcon + ' el-input__clear' : ''],on:{"click":_vm.handleClickIcon}}),(!_vm.showClose)?_c('i',{class:['el-input__icon', 'el-range__icon', _vm.triggerClass]}):_vm._e()])}
804
530
  var staticRenderFns = []
805
531
  render._withStripped = true
806
532
 
807
-
808
- // CONCATENATED MODULE: ./packages/date-picker/src/picker.vue?vue&type=template&id=79ae069f&
533
+ // CONCATENATED MODULE: ./packages/date-picker/src/picker.vue?vue&type=template&id=3b0d134c
809
534
 
810
535
  // EXTERNAL MODULE: external "vue"
811
536
  var external_vue_ = __webpack_require__(8);
@@ -834,7 +559,7 @@ var input_default = /*#__PURE__*/__webpack_require__.n(input_);
834
559
  var merge_ = __webpack_require__(9);
835
560
  var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
836
561
 
837
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/picker.vue?vue&type=script&lang=js&
562
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/picker.vue?vue&type=script&lang=js
838
563
  //
839
564
  //
840
565
  //
@@ -1142,11 +867,11 @@ var formatAsFormatAndType = function formatAsFormatAndType(value, customFormat,
1142
867
  return formatter(value, format);
1143
868
  };
1144
869
 
1145
- /*
1146
- * Considers:
1147
- * 1. Date object
1148
- * 2. date string
1149
- * 3. array of 1 or 2
870
+ /*
871
+ * Considers:
872
+ * 1. Date object
873
+ * 2. date string
874
+ * 3. array of 1 or 2
1150
875
  */
1151
876
  var valueEquals = function valueEquals(a, b) {
1152
877
  // considers Date object and string
@@ -1187,7 +912,7 @@ var validator = function validator(val) {
1187
912
  return val === null || val === undefined || isString(val) || Array.isArray(val) && val.length === 2 && val.every(isString);
1188
913
  };
1189
914
 
1190
- /* harmony default export */ var pickervue_type_script_lang_js_ = ({
915
+ /* harmony default export */ var pickervue_type_script_lang_js = ({
1191
916
  mixins: [emitter_default.a, NewPopper],
1192
917
 
1193
918
  inject: {
@@ -1769,8 +1494,8 @@ var validator = function validator(val) {
1769
1494
  }
1770
1495
  }
1771
1496
  });
1772
- // CONCATENATED MODULE: ./packages/date-picker/src/picker.vue?vue&type=script&lang=js&
1773
- /* harmony default export */ var src_pickervue_type_script_lang_js_ = (pickervue_type_script_lang_js_);
1497
+ // CONCATENATED MODULE: ./packages/date-picker/src/picker.vue?vue&type=script&lang=js
1498
+ /* harmony default export */ var src_pickervue_type_script_lang_js = (pickervue_type_script_lang_js);
1774
1499
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
1775
1500
  var componentNormalizer = __webpack_require__(0);
1776
1501
 
@@ -1783,7 +1508,7 @@ var componentNormalizer = __webpack_require__(0);
1783
1508
  /* normalize component */
1784
1509
 
1785
1510
  var component = Object(componentNormalizer["a" /* default */])(
1786
- src_pickervue_type_script_lang_js_,
1511
+ src_pickervue_type_script_lang_js,
1787
1512
  render,
1788
1513
  staticRenderFns,
1789
1514
  false,
@@ -1793,9 +1518,6 @@ var component = Object(componentNormalizer["a" /* default */])(
1793
1518
 
1794
1519
  )
1795
1520
 
1796
- /* hot reload */
1797
- if (false) { var api; }
1798
- component.options.__file = "packages/date-picker/src/picker.vue"
1799
1521
  /* harmony default export */ var picker = __webpack_exports__["a"] = (component.exports);
1800
1522
 
1801
1523
  /***/ }),
@@ -1805,362 +1527,12 @@ component.options.__file = "packages/date-picker/src/picker.vue"
1805
1527
 
1806
1528
  "use strict";
1807
1529
 
1808
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/time-spinner.vue?vue&type=template&id=1facadeb&
1809
- var render = function() {
1810
- var _vm = this
1811
- var _h = _vm.$createElement
1812
- var _c = _vm._self._c || _h
1813
- return _c(
1814
- "div",
1815
- {
1816
- staticClass: "el-time-spinner",
1817
- class: { "has-seconds": _vm.showSeconds }
1818
- },
1819
- [
1820
- !_vm.arrowControl
1821
- ? [
1822
- _c(
1823
- "el-scrollbar",
1824
- {
1825
- ref: "hours",
1826
- staticClass: "el-time-spinner__wrapper",
1827
- attrs: {
1828
- "wrap-style": "max-height: inherit;",
1829
- "view-class": "el-time-spinner__list",
1830
- noresize: "",
1831
- tag: "ul"
1832
- },
1833
- nativeOn: {
1834
- mouseenter: function($event) {
1835
- _vm.emitSelectRange("hours")
1836
- },
1837
- mousemove: function($event) {
1838
- _vm.adjustCurrentSpinner("hours")
1839
- }
1840
- }
1841
- },
1842
- _vm._l(_vm.hoursList, function(disabled, hour) {
1843
- return _c(
1844
- "li",
1845
- {
1846
- key: hour,
1847
- staticClass: "el-time-spinner__item",
1848
- class: { active: hour === _vm.hours, disabled: disabled },
1849
- on: {
1850
- click: function($event) {
1851
- _vm.handleClick("hours", {
1852
- value: hour,
1853
- disabled: disabled
1854
- })
1855
- }
1856
- }
1857
- },
1858
- [
1859
- _vm._v(
1860
- _vm._s(
1861
- ("0" + (_vm.amPmMode ? hour % 12 || 12 : hour)).slice(
1862
- -2
1863
- )
1864
- ) + _vm._s(_vm.amPm(hour))
1865
- )
1866
- ]
1867
- )
1868
- }),
1869
- 0
1870
- ),
1871
- _c(
1872
- "el-scrollbar",
1873
- {
1874
- ref: "minutes",
1875
- staticClass: "el-time-spinner__wrapper",
1876
- attrs: {
1877
- "wrap-style": "max-height: inherit;",
1878
- "view-class": "el-time-spinner__list",
1879
- noresize: "",
1880
- tag: "ul"
1881
- },
1882
- nativeOn: {
1883
- mouseenter: function($event) {
1884
- _vm.emitSelectRange("minutes")
1885
- },
1886
- mousemove: function($event) {
1887
- _vm.adjustCurrentSpinner("minutes")
1888
- }
1889
- }
1890
- },
1891
- _vm._l(_vm.minutesList, function(enabled, key) {
1892
- return _c(
1893
- "li",
1894
- {
1895
- key: key,
1896
- staticClass: "el-time-spinner__item",
1897
- class: { active: key === _vm.minutes, disabled: !enabled },
1898
- on: {
1899
- click: function($event) {
1900
- _vm.handleClick("minutes", {
1901
- value: key,
1902
- disabled: false
1903
- })
1904
- }
1905
- }
1906
- },
1907
- [_vm._v(_vm._s(("0" + key).slice(-2)))]
1908
- )
1909
- }),
1910
- 0
1911
- ),
1912
- _c(
1913
- "el-scrollbar",
1914
- {
1915
- directives: [
1916
- {
1917
- name: "show",
1918
- rawName: "v-show",
1919
- value: _vm.showSeconds,
1920
- expression: "showSeconds"
1921
- }
1922
- ],
1923
- ref: "seconds",
1924
- staticClass: "el-time-spinner__wrapper",
1925
- attrs: {
1926
- "wrap-style": "max-height: inherit;",
1927
- "view-class": "el-time-spinner__list",
1928
- noresize: "",
1929
- tag: "ul"
1930
- },
1931
- nativeOn: {
1932
- mouseenter: function($event) {
1933
- _vm.emitSelectRange("seconds")
1934
- },
1935
- mousemove: function($event) {
1936
- _vm.adjustCurrentSpinner("seconds")
1937
- }
1938
- }
1939
- },
1940
- _vm._l(60, function(second, key) {
1941
- return _c(
1942
- "li",
1943
- {
1944
- key: key,
1945
- staticClass: "el-time-spinner__item",
1946
- class: { active: key === _vm.seconds },
1947
- on: {
1948
- click: function($event) {
1949
- _vm.handleClick("seconds", {
1950
- value: key,
1951
- disabled: false
1952
- })
1953
- }
1954
- }
1955
- },
1956
- [_vm._v(_vm._s(("0" + key).slice(-2)))]
1957
- )
1958
- }),
1959
- 0
1960
- )
1961
- ]
1962
- : _vm._e(),
1963
- _vm.arrowControl
1964
- ? [
1965
- _c(
1966
- "div",
1967
- {
1968
- staticClass: "el-time-spinner__wrapper is-arrow",
1969
- on: {
1970
- mouseenter: function($event) {
1971
- _vm.emitSelectRange("hours")
1972
- }
1973
- }
1974
- },
1975
- [
1976
- _c("i", {
1977
- directives: [
1978
- {
1979
- name: "repeat-click",
1980
- rawName: "v-repeat-click",
1981
- value: _vm.decrease,
1982
- expression: "decrease"
1983
- }
1984
- ],
1985
- staticClass: "el-time-spinner__arrow el-icon-arrow-up"
1986
- }),
1987
- _c("i", {
1988
- directives: [
1989
- {
1990
- name: "repeat-click",
1991
- rawName: "v-repeat-click",
1992
- value: _vm.increase,
1993
- expression: "increase"
1994
- }
1995
- ],
1996
- staticClass: "el-time-spinner__arrow el-icon-arrow-down"
1997
- }),
1998
- _c(
1999
- "ul",
2000
- { ref: "hours", staticClass: "el-time-spinner__list" },
2001
- _vm._l(_vm.arrowHourList, function(hour, key) {
2002
- return _c(
2003
- "li",
2004
- {
2005
- key: key,
2006
- staticClass: "el-time-spinner__item",
2007
- class: {
2008
- active: hour === _vm.hours,
2009
- disabled: _vm.hoursList[hour]
2010
- }
2011
- },
2012
- [
2013
- _vm._v(
2014
- _vm._s(
2015
- hour === undefined
2016
- ? ""
2017
- : (
2018
- "0" + (_vm.amPmMode ? hour % 12 || 12 : hour)
2019
- ).slice(-2) + _vm.amPm(hour)
2020
- )
2021
- )
2022
- ]
2023
- )
2024
- }),
2025
- 0
2026
- )
2027
- ]
2028
- ),
2029
- _c(
2030
- "div",
2031
- {
2032
- staticClass: "el-time-spinner__wrapper is-arrow",
2033
- on: {
2034
- mouseenter: function($event) {
2035
- _vm.emitSelectRange("minutes")
2036
- }
2037
- }
2038
- },
2039
- [
2040
- _c("i", {
2041
- directives: [
2042
- {
2043
- name: "repeat-click",
2044
- rawName: "v-repeat-click",
2045
- value: _vm.decrease,
2046
- expression: "decrease"
2047
- }
2048
- ],
2049
- staticClass: "el-time-spinner__arrow el-icon-arrow-up"
2050
- }),
2051
- _c("i", {
2052
- directives: [
2053
- {
2054
- name: "repeat-click",
2055
- rawName: "v-repeat-click",
2056
- value: _vm.increase,
2057
- expression: "increase"
2058
- }
2059
- ],
2060
- staticClass: "el-time-spinner__arrow el-icon-arrow-down"
2061
- }),
2062
- _c(
2063
- "ul",
2064
- { ref: "minutes", staticClass: "el-time-spinner__list" },
2065
- _vm._l(_vm.arrowMinuteList, function(minute, key) {
2066
- return _c(
2067
- "li",
2068
- {
2069
- key: key,
2070
- staticClass: "el-time-spinner__item",
2071
- class: { active: minute === _vm.minutes }
2072
- },
2073
- [
2074
- _vm._v(
2075
- "\n " +
2076
- _vm._s(
2077
- minute === undefined
2078
- ? ""
2079
- : ("0" + minute).slice(-2)
2080
- ) +
2081
- "\n "
2082
- )
2083
- ]
2084
- )
2085
- }),
2086
- 0
2087
- )
2088
- ]
2089
- ),
2090
- _vm.showSeconds
2091
- ? _c(
2092
- "div",
2093
- {
2094
- staticClass: "el-time-spinner__wrapper is-arrow",
2095
- on: {
2096
- mouseenter: function($event) {
2097
- _vm.emitSelectRange("seconds")
2098
- }
2099
- }
2100
- },
2101
- [
2102
- _c("i", {
2103
- directives: [
2104
- {
2105
- name: "repeat-click",
2106
- rawName: "v-repeat-click",
2107
- value: _vm.decrease,
2108
- expression: "decrease"
2109
- }
2110
- ],
2111
- staticClass: "el-time-spinner__arrow el-icon-arrow-up"
2112
- }),
2113
- _c("i", {
2114
- directives: [
2115
- {
2116
- name: "repeat-click",
2117
- rawName: "v-repeat-click",
2118
- value: _vm.increase,
2119
- expression: "increase"
2120
- }
2121
- ],
2122
- staticClass: "el-time-spinner__arrow el-icon-arrow-down"
2123
- }),
2124
- _c(
2125
- "ul",
2126
- { ref: "seconds", staticClass: "el-time-spinner__list" },
2127
- _vm._l(_vm.arrowSecondList, function(second, key) {
2128
- return _c(
2129
- "li",
2130
- {
2131
- key: key,
2132
- staticClass: "el-time-spinner__item",
2133
- class: { active: second === _vm.seconds }
2134
- },
2135
- [
2136
- _vm._v(
2137
- "\n " +
2138
- _vm._s(
2139
- second === undefined
2140
- ? ""
2141
- : ("0" + second).slice(-2)
2142
- ) +
2143
- "\n "
2144
- )
2145
- ]
2146
- )
2147
- }),
2148
- 0
2149
- )
2150
- ]
2151
- )
2152
- : _vm._e()
2153
- ]
2154
- : _vm._e()
2155
- ],
2156
- 2
2157
- )
2158
- }
1530
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/time-spinner.vue?vue&type=template&id=3301867b
1531
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"el-time-spinner",class:{ 'has-seconds': _vm.showSeconds }},[(!_vm.arrowControl)?[_c('el-scrollbar',{ref:"hours",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list","noresize":"","tag":"ul"},nativeOn:{"mouseenter":function($event){_vm.emitSelectRange('hours')},"mousemove":function($event){_vm.adjustCurrentSpinner('hours')}}},_vm._l((_vm.hoursList),function(disabled,hour){return _c('li',{key:hour,staticClass:"el-time-spinner__item",class:{ 'active': hour === _vm.hours, 'disabled': disabled },on:{"click":function($event){_vm.handleClick('hours', { value: hour, disabled: disabled })}}},[_vm._v(_vm._s(('0' + (_vm.amPmMode ? (hour % 12 || 12) : hour )).slice(-2))+_vm._s(_vm.amPm(hour)))])}),0),_c('el-scrollbar',{ref:"minutes",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list","noresize":"","tag":"ul"},nativeOn:{"mouseenter":function($event){_vm.emitSelectRange('minutes')},"mousemove":function($event){_vm.adjustCurrentSpinner('minutes')}}},_vm._l((_vm.minutesList),function(enabled,key){return _c('li',{key:key,staticClass:"el-time-spinner__item",class:{ 'active': key === _vm.minutes, disabled: !enabled },on:{"click":function($event){_vm.handleClick('minutes', { value: key, disabled: false })}}},[_vm._v(_vm._s(('0' + key).slice(-2)))])}),0),_c('el-scrollbar',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSeconds),expression:"showSeconds"}],ref:"seconds",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list","noresize":"","tag":"ul"},nativeOn:{"mouseenter":function($event){_vm.emitSelectRange('seconds')},"mousemove":function($event){_vm.adjustCurrentSpinner('seconds')}}},_vm._l((60),function(second,key){return _c('li',{key:key,staticClass:"el-time-spinner__item",class:{ 'active': key === _vm.seconds },on:{"click":function($event){_vm.handleClick('seconds', { value: key, disabled: false })}}},[_vm._v(_vm._s(('0' + key).slice(-2)))])}),0)]:_vm._e(),(_vm.arrowControl)?[_c('div',{staticClass:"el-time-spinner__wrapper is-arrow",on:{"mouseenter":function($event){_vm.emitSelectRange('hours')}}},[_c('i',{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:(_vm.decrease),expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),_c('i',{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:(_vm.increase),expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),_c('ul',{ref:"hours",staticClass:"el-time-spinner__list"},_vm._l((_vm.arrowHourList),function(hour,key){return _c('li',{key:key,staticClass:"el-time-spinner__item",class:{ 'active': hour === _vm.hours, 'disabled': _vm.hoursList[hour] }},[_vm._v(_vm._s(hour === undefined ? '' : ('0' + (_vm.amPmMode ? (hour % 12 || 12) : hour )).slice(-2) + _vm.amPm(hour)))])}),0)]),_c('div',{staticClass:"el-time-spinner__wrapper is-arrow",on:{"mouseenter":function($event){_vm.emitSelectRange('minutes')}}},[_c('i',{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:(_vm.decrease),expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),_c('i',{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:(_vm.increase),expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),_c('ul',{ref:"minutes",staticClass:"el-time-spinner__list"},_vm._l((_vm.arrowMinuteList),function(minute,key){return _c('li',{key:key,staticClass:"el-time-spinner__item",class:{ 'active': minute === _vm.minutes }},[_vm._v("\n "+_vm._s(minute === undefined ? '' : ('0' + minute).slice(-2))+"\n ")])}),0)]),(_vm.showSeconds)?_c('div',{staticClass:"el-time-spinner__wrapper is-arrow",on:{"mouseenter":function($event){_vm.emitSelectRange('seconds')}}},[_c('i',{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:(_vm.decrease),expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),_c('i',{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:(_vm.increase),expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),_c('ul',{ref:"seconds",staticClass:"el-time-spinner__list"},_vm._l((_vm.arrowSecondList),function(second,key){return _c('li',{key:key,staticClass:"el-time-spinner__item",class:{ 'active': second === _vm.seconds }},[_vm._v("\n "+_vm._s(second === undefined ? '' : ('0' + second).slice(-2))+"\n ")])}),0)]):_vm._e()]:_vm._e()],2)}
2159
1532
  var staticRenderFns = []
2160
1533
  render._withStripped = true
2161
1534
 
2162
-
2163
- // CONCATENATED MODULE: ./packages/date-picker/src/basic/time-spinner.vue?vue&type=template&id=1facadeb&
1535
+ // CONCATENATED MODULE: ./packages/date-picker/src/basic/time-spinner.vue?vue&type=template&id=3301867b
2164
1536
 
2165
1537
  // EXTERNAL MODULE: external "iov-design/lib/utils/date-util"
2166
1538
  var date_util_ = __webpack_require__(1);
@@ -2172,7 +1544,7 @@ var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_);
2172
1544
  // EXTERNAL MODULE: ./src/directives/repeat-click.js
2173
1545
  var repeat_click = __webpack_require__(30);
2174
1546
 
2175
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/time-spinner.vue?vue&type=script&lang=js&
1547
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/basic/time-spinner.vue?vue&type=script&lang=js
2176
1548
  //
2177
1549
  //
2178
1550
  //
@@ -2280,7 +1652,7 @@ var repeat_click = __webpack_require__(30);
2280
1652
 
2281
1653
 
2282
1654
 
2283
- /* harmony default export */ var time_spinnervue_type_script_lang_js_ = ({
1655
+ /* harmony default export */ var time_spinnervue_type_script_lang_js = ({
2284
1656
  components: { ElScrollbar: scrollbar_default.a },
2285
1657
 
2286
1658
  directives: {
@@ -2470,8 +1842,8 @@ var repeat_click = __webpack_require__(30);
2470
1842
  }
2471
1843
  }
2472
1844
  });
2473
- // CONCATENATED MODULE: ./packages/date-picker/src/basic/time-spinner.vue?vue&type=script&lang=js&
2474
- /* harmony default export */ var basic_time_spinnervue_type_script_lang_js_ = (time_spinnervue_type_script_lang_js_);
1845
+ // CONCATENATED MODULE: ./packages/date-picker/src/basic/time-spinner.vue?vue&type=script&lang=js
1846
+ /* harmony default export */ var basic_time_spinnervue_type_script_lang_js = (time_spinnervue_type_script_lang_js);
2475
1847
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
2476
1848
  var componentNormalizer = __webpack_require__(0);
2477
1849
 
@@ -2484,7 +1856,7 @@ var componentNormalizer = __webpack_require__(0);
2484
1856
  /* normalize component */
2485
1857
 
2486
1858
  var component = Object(componentNormalizer["a" /* default */])(
2487
- basic_time_spinnervue_type_script_lang_js_,
1859
+ basic_time_spinnervue_type_script_lang_js,
2488
1860
  render,
2489
1861
  staticRenderFns,
2490
1862
  false,
@@ -2494,9 +1866,6 @@ var component = Object(componentNormalizer["a" /* default */])(
2494
1866
 
2495
1867
  )
2496
1868
 
2497
- /* hot reload */
2498
- if (false) { var api; }
2499
- component.options.__file = "packages/date-picker/src/basic/time-spinner.vue"
2500
1869
  /* harmony default export */ var time_spinner = __webpack_exports__["a"] = (component.exports);
2501
1870
 
2502
1871
  /***/ }),
@@ -2526,6 +1895,7 @@ module.exports = require("iov-design/lib/mixins/locale");
2526
1895
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2527
1896
 
2528
1897
  "use strict";
1898
+ // ESM COMPAT FLAG
2529
1899
  __webpack_require__.r(__webpack_exports__);
2530
1900
 
2531
1901
  // EXTERNAL MODULE: ./packages/date-picker/src/picker.vue + 4 modules
@@ -2534,141 +1904,12 @@ var picker = __webpack_require__(32);
2534
1904
  // EXTERNAL MODULE: ./packages/date-picker/src/panel/time.vue + 4 modules
2535
1905
  var time = __webpack_require__(27);
2536
1906
 
2537
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time-range.vue?vue&type=template&id=fb28660e&
2538
- var render = function() {
2539
- var _vm = this
2540
- var _h = _vm.$createElement
2541
- var _c = _vm._self._c || _h
2542
- return _c(
2543
- "transition",
2544
- {
2545
- attrs: { name: "el-zoom-in-top" },
2546
- on: {
2547
- "after-leave": function($event) {
2548
- _vm.$emit("dodestroy")
2549
- }
2550
- }
2551
- },
2552
- [
2553
- _c(
2554
- "div",
2555
- {
2556
- directives: [
2557
- {
2558
- name: "show",
2559
- rawName: "v-show",
2560
- value: _vm.visible,
2561
- expression: "visible"
2562
- }
2563
- ],
2564
- staticClass: "el-time-range-picker el-picker-panel el-popper",
2565
- class: _vm.popperClass
2566
- },
2567
- [
2568
- _c("div", { staticClass: "el-time-range-picker__content" }, [
2569
- _c("div", { staticClass: "el-time-range-picker__cell" }, [
2570
- _c("div", { staticClass: "el-time-range-picker__header" }, [
2571
- _vm._v(_vm._s(_vm.t("el.datepicker.startTime")))
2572
- ]),
2573
- _c(
2574
- "div",
2575
- {
2576
- staticClass:
2577
- "el-time-range-picker__body el-time-panel__content",
2578
- class: {
2579
- "has-seconds": _vm.showSeconds,
2580
- "is-arrow": _vm.arrowControl
2581
- }
2582
- },
2583
- [
2584
- _c("time-spinner", {
2585
- ref: "minSpinner",
2586
- attrs: {
2587
- "show-seconds": _vm.showSeconds,
2588
- "am-pm-mode": _vm.amPmMode,
2589
- "arrow-control": _vm.arrowControl,
2590
- date: _vm.minDate
2591
- },
2592
- on: {
2593
- change: _vm.handleMinChange,
2594
- "select-range": _vm.setMinSelectionRange
2595
- }
2596
- })
2597
- ],
2598
- 1
2599
- )
2600
- ]),
2601
- _c("div", { staticClass: "el-time-range-picker__cell" }, [
2602
- _c("div", { staticClass: "el-time-range-picker__header" }, [
2603
- _vm._v(_vm._s(_vm.t("el.datepicker.endTime")))
2604
- ]),
2605
- _c(
2606
- "div",
2607
- {
2608
- staticClass:
2609
- "el-time-range-picker__body el-time-panel__content",
2610
- class: {
2611
- "has-seconds": _vm.showSeconds,
2612
- "is-arrow": _vm.arrowControl
2613
- }
2614
- },
2615
- [
2616
- _c("time-spinner", {
2617
- ref: "maxSpinner",
2618
- attrs: {
2619
- "show-seconds": _vm.showSeconds,
2620
- "am-pm-mode": _vm.amPmMode,
2621
- "arrow-control": _vm.arrowControl,
2622
- date: _vm.maxDate
2623
- },
2624
- on: {
2625
- change: _vm.handleMaxChange,
2626
- "select-range": _vm.setMaxSelectionRange
2627
- }
2628
- })
2629
- ],
2630
- 1
2631
- )
2632
- ])
2633
- ]),
2634
- _c("div", { staticClass: "el-time-panel__footer" }, [
2635
- _c(
2636
- "button",
2637
- {
2638
- staticClass: "el-time-panel__btn cancel",
2639
- attrs: { type: "button" },
2640
- on: {
2641
- click: function($event) {
2642
- _vm.handleCancel()
2643
- }
2644
- }
2645
- },
2646
- [_vm._v(_vm._s(_vm.t("el.datepicker.cancel")))]
2647
- ),
2648
- _c(
2649
- "button",
2650
- {
2651
- staticClass: "el-time-panel__btn confirm",
2652
- attrs: { type: "button", disabled: _vm.btnDisabled },
2653
- on: {
2654
- click: function($event) {
2655
- _vm.handleConfirm()
2656
- }
2657
- }
2658
- },
2659
- [_vm._v(_vm._s(_vm.t("el.datepicker.confirm")))]
2660
- )
2661
- ])
2662
- ]
2663
- )
2664
- ]
2665
- )
2666
- }
1907
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time-range.vue?vue&type=template&id=1cc2f926
1908
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"el-zoom-in-top"},on:{"after-leave":function($event){_vm.$emit('dodestroy')}}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.visible),expression:"visible"}],staticClass:"el-time-range-picker el-picker-panel el-popper",class:_vm.popperClass},[_c('div',{staticClass:"el-time-range-picker__content"},[_c('div',{staticClass:"el-time-range-picker__cell"},[_c('div',{staticClass:"el-time-range-picker__header"},[_vm._v(_vm._s(_vm.t('el.datepicker.startTime')))]),_c('div',{staticClass:"el-time-range-picker__body el-time-panel__content",class:{ 'has-seconds': _vm.showSeconds, 'is-arrow': _vm.arrowControl }},[_c('time-spinner',{ref:"minSpinner",attrs:{"show-seconds":_vm.showSeconds,"am-pm-mode":_vm.amPmMode,"arrow-control":_vm.arrowControl,"date":_vm.minDate},on:{"change":_vm.handleMinChange,"select-range":_vm.setMinSelectionRange}})],1)]),_c('div',{staticClass:"el-time-range-picker__cell"},[_c('div',{staticClass:"el-time-range-picker__header"},[_vm._v(_vm._s(_vm.t('el.datepicker.endTime')))]),_c('div',{staticClass:"el-time-range-picker__body el-time-panel__content",class:{ 'has-seconds': _vm.showSeconds, 'is-arrow': _vm.arrowControl }},[_c('time-spinner',{ref:"maxSpinner",attrs:{"show-seconds":_vm.showSeconds,"am-pm-mode":_vm.amPmMode,"arrow-control":_vm.arrowControl,"date":_vm.maxDate},on:{"change":_vm.handleMaxChange,"select-range":_vm.setMaxSelectionRange}})],1)])]),_c('div',{staticClass:"el-time-panel__footer"},[_c('button',{staticClass:"el-time-panel__btn cancel",attrs:{"type":"button"},on:{"click":function($event){_vm.handleCancel()}}},[_vm._v(_vm._s(_vm.t('el.datepicker.cancel')))]),_c('button',{staticClass:"el-time-panel__btn confirm",attrs:{"type":"button","disabled":_vm.btnDisabled},on:{"click":function($event){_vm.handleConfirm()}}},[_vm._v(_vm._s(_vm.t('el.datepicker.confirm')))])])])])}
2667
1909
  var staticRenderFns = []
2668
1910
  render._withStripped = true
2669
1911
 
2670
-
2671
- // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-range.vue?vue&type=template&id=fb28660e&
1912
+ // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-range.vue?vue&type=template&id=1cc2f926
2672
1913
 
2673
1914
  // EXTERNAL MODULE: external "iov-design/lib/utils/date-util"
2674
1915
  var date_util_ = __webpack_require__(1);
@@ -2680,7 +1921,7 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
2680
1921
  // EXTERNAL MODULE: ./packages/date-picker/src/basic/time-spinner.vue + 4 modules
2681
1922
  var time_spinner = __webpack_require__(35);
2682
1923
 
2683
- // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time-range.vue?vue&type=script&lang=js&
1924
+ // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time-range.vue?vue&type=script&lang=js
2684
1925
  //
2685
1926
  //
2686
1927
  //
@@ -2759,7 +2000,7 @@ var advanceTime = function advanceTime(date, amount) {
2759
2000
  return new Date(Math.min(date.getTime() + amount, time_rangevue_type_script_lang_js_maxTimeOfDay(date).getTime()));
2760
2001
  };
2761
2002
 
2762
- /* harmony default export */ var time_rangevue_type_script_lang_js_ = ({
2003
+ /* harmony default export */ var time_rangevue_type_script_lang_js = ({
2763
2004
  mixins: [locale_default.a],
2764
2005
 
2765
2006
  components: { TimeSpinner: time_spinner["a" /* default */] },
@@ -2912,8 +2153,8 @@ var advanceTime = function advanceTime(date, amount) {
2912
2153
  }
2913
2154
  }
2914
2155
  });
2915
- // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-range.vue?vue&type=script&lang=js&
2916
- /* harmony default export */ var panel_time_rangevue_type_script_lang_js_ = (time_rangevue_type_script_lang_js_);
2156
+ // CONCATENATED MODULE: ./packages/date-picker/src/panel/time-range.vue?vue&type=script&lang=js
2157
+ /* harmony default export */ var panel_time_rangevue_type_script_lang_js = (time_rangevue_type_script_lang_js);
2917
2158
  // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
2918
2159
  var componentNormalizer = __webpack_require__(0);
2919
2160
 
@@ -2926,7 +2167,7 @@ var componentNormalizer = __webpack_require__(0);
2926
2167
  /* normalize component */
2927
2168
 
2928
2169
  var component = Object(componentNormalizer["a" /* default */])(
2929
- panel_time_rangevue_type_script_lang_js_,
2170
+ panel_time_rangevue_type_script_lang_js,
2930
2171
  render,
2931
2172
  staticRenderFns,
2932
2173
  false,
@@ -2936,9 +2177,6 @@ var component = Object(componentNormalizer["a" /* default */])(
2936
2177
 
2937
2178
  )
2938
2179
 
2939
- /* hot reload */
2940
- if (false) { var api; }
2941
- component.options.__file = "packages/date-picker/src/panel/time-range.vue"
2942
2180
  /* harmony default export */ var time_range = (component.exports);
2943
2181
  // CONCATENATED MODULE: ./packages/date-picker/src/picker/time-picker.js
2944
2182