iov-design 2.15.59 → 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.
- package/README.md +148 -148
- package/lib/alert.js +24 -105
- package/lib/aside.js +24 -34
- package/lib/autocomplete.js +36 -240
- package/lib/avatar.js +21 -20
- package/lib/backtop.js +27 -52
- package/lib/badge.js +30 -58
- package/lib/breadcrumb-item.js +24 -53
- package/lib/breadcrumb.js +24 -37
- package/lib/button-group.js +24 -29
- package/lib/button.js +38 -60
- package/lib/calendar.js +29 -146
- package/lib/card.js +24 -51
- package/lib/carousel-item.js +30 -68
- package/lib/carousel.js +27 -159
- package/lib/cascader-panel.js +41 -64
- package/lib/cascader.js +37 -470
- package/lib/checkbox-button.js +28 -164
- package/lib/checkbox-group.js +24 -37
- package/lib/checkbox.js +35 -189
- package/lib/col.js +1 -0
- package/lib/collapse-item.js +27 -125
- package/lib/collapse.js +24 -37
- package/lib/color-picker.js +104 -424
- package/lib/container.js +24 -34
- package/lib/date-picker.js +126 -1981
- package/lib/descriptions-item.js +1 -0
- package/lib/descriptions.js +1 -0
- package/lib/dialog.js +24 -137
- package/lib/divider.js +29 -64
- package/lib/drawer.js +24 -139
- package/lib/dropdown-item.js +27 -45
- package/lib/dropdown-menu.js +24 -51
- package/lib/dropdown.js +21 -20
- package/lib/empty.js +24 -61
- package/lib/footer.js +24 -34
- package/lib/form-item.js +42 -128
- package/lib/form.js +27 -40
- package/lib/header.js +24 -34
- package/lib/icon.js +24 -29
- package/lib/image.js +36 -220
- package/lib/index.js +1 -1
- package/lib/infinite-scroll.js +1 -0
- package/lib/input-number.js +30 -163
- package/lib/input.js +42 -274
- package/lib/iov-design.common.js +1638 -11132
- package/lib/link.js +33 -55
- package/lib/loading.js +24 -77
- package/lib/locale/format.js +10 -10
- package/lib/main.js +24 -29
- package/lib/menu-item-group.js +24 -40
- package/lib/menu-item.js +27 -83
- package/lib/menu.js +21 -20
- package/lib/message-box.js +24 -321
- package/lib/message.js +30 -82
- package/lib/mixins/migrating.js +20 -20
- package/lib/notification.js +24 -109
- package/lib/option-group.js +24 -50
- package/lib/option.js +27 -76
- package/lib/page-header.js +24 -56
- package/lib/pagination.js +24 -97
- package/lib/popconfirm.js +24 -97
- package/lib/popover.js +24 -89
- package/lib/progress.js +30 -133
- package/lib/radio-button.js +29 -111
- package/lib/radio-group.js +24 -39
- package/lib/radio.js +36 -152
- package/lib/rate.js +24 -94
- package/lib/result.js +72 -187
- package/lib/row.js +1 -0
- package/lib/scrollbar.js +1 -0
- package/lib/select.js +48 -637
- package/lib/skeleton-item.js +36 -68
- package/lib/skeleton.js +28 -70
- package/lib/slider.js +36 -267
- package/lib/spinner.js +24 -51
- package/lib/statistic.js +24 -76
- package/lib/step.js +29 -118
- package/lib/steps.js +27 -40
- package/lib/submenu.js +21 -20
- package/lib/switch.js +24 -130
- package/lib/tab-pane.js +24 -52
- package/lib/table-column.js +1 -0
- package/lib/table.js +93 -633
- package/lib/tabs.js +34 -49
- package/lib/tag.js +22 -21
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/button.css +1 -1
- package/lib/theme-chalk/calendar.css +1 -1
- package/lib/theme-chalk/cascader-panel.css +1 -1
- package/lib/theme-chalk/cascader.css +1 -1
- package/lib/theme-chalk/dropdown.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/iovfont.css +1 -1
- package/lib/theme-chalk/link.css +1 -1
- package/lib/theme-chalk/message-box.css +1 -1
- package/lib/theme-chalk/pagination.css +1 -1
- package/lib/theme-chalk/radio.css +1 -1
- package/lib/theme-chalk/select.css +1 -1
- package/lib/theme-chalk/table-column.css +1 -1
- package/lib/theme-chalk/table.css +1 -1
- package/lib/theme-chalk/tabs.css +1 -1
- package/lib/theme-chalk/tag.css +1 -1
- package/lib/theme-chalk/transfer.css +1 -1
- package/lib/time-picker.js +58 -820
- package/lib/time-select.js +42 -303
- package/lib/timeline-item.js +29 -75
- package/lib/timeline.js +21 -20
- package/lib/tooltip.js +1 -0
- package/lib/transfer.js +36 -299
- package/lib/tree.js +54 -243
- package/lib/upload.js +86 -654
- package/lib/utils/clickoutside.js +7 -7
- package/lib/utils/vue-popper.js +7 -7
- package/package.json +154 -154
- package/packages/autocomplete/src/autocomplete-suggestions.vue +76 -76
- package/packages/autocomplete/src/autocomplete.vue +285 -285
- package/packages/button/src/button.vue +90 -90
- package/packages/calendar/src/date-table.vue +200 -200
- package/packages/calendar/src/main.vue +280 -280
- package/packages/carousel/src/item.vue +138 -138
- package/packages/carousel/src/main.vue +315 -315
- package/packages/cascader/src/cascader.vue +776 -776
- package/packages/cascader-panel/src/cascader-menu.vue +138 -138
- package/packages/cascader-panel/src/cascader-node.vue +246 -246
- package/packages/cascader-panel/src/cascader-panel.vue +391 -391
- package/packages/cascader-panel/src/node.js +166 -166
- package/packages/cascader-panel/src/store.js +58 -58
- package/packages/checkbox/src/checkbox-button.vue +199 -199
- package/packages/checkbox/src/checkbox-group.vue +49 -49
- package/packages/checkbox/src/checkbox.vue +225 -225
- package/packages/collapse/src/collapse-item.vue +114 -114
- package/packages/color-picker/src/components/picker-dropdown.vue +121 -121
- package/packages/color-picker/src/main.vue +188 -188
- package/packages/date-picker/src/basic/date-table.vue +441 -441
- package/packages/date-picker/src/basic/month-table.vue +269 -269
- package/packages/date-picker/src/basic/time-spinner.vue +304 -304
- package/packages/date-picker/src/basic/year-table.vue +111 -111
- package/packages/date-picker/src/panel/date-range.vue +680 -680
- package/packages/date-picker/src/panel/date.vue +609 -609
- package/packages/date-picker/src/panel/month-range.vue +289 -289
- package/packages/date-picker/src/panel/time-range.vue +248 -248
- package/packages/date-picker/src/panel/time-select.vue +178 -178
- package/packages/date-picker/src/panel/time.vue +186 -186
- package/packages/date-picker/src/picker.vue +967 -967
- package/packages/descriptions/src/index.js +180 -180
- package/packages/dialog/src/component.vue +262 -262
- package/packages/drawer/src/main.vue +205 -205
- package/packages/dropdown/src/dropdown-item.vue +37 -37
- package/packages/dropdown/src/dropdown-menu.vue +63 -63
- package/packages/dropdown/src/dropdown.vue +293 -293
- package/packages/empty/src/index.vue +70 -70
- package/packages/form/src/form-item.vue +324 -324
- package/packages/form/src/form.vue +182 -182
- package/packages/image/src/image-viewer.vue +330 -330
- package/packages/image/src/main.vue +249 -249
- package/packages/infinite-scroll/src/main.js +150 -150
- package/packages/input/src/input.vue +477 -477
- package/packages/input-number/src/input-number.vue +283 -283
- package/packages/link/src/main.vue +2 -0
- package/packages/loading/src/directive.js +133 -133
- package/packages/loading/src/index.js +106 -106
- package/packages/menu/src/menu-item.vue +112 -112
- package/packages/menu/src/menu.vue +325 -325
- package/packages/menu/src/submenu.vue +349 -349
- package/packages/message/src/main.js +91 -91
- package/packages/message-box/src/main.js +216 -216
- package/packages/message-box/src/main.vue +333 -333
- package/packages/notification/src/main.js +94 -94
- package/packages/page-header/src/main.vue +30 -30
- package/packages/pagination/src/pagination.js +390 -390
- package/packages/popconfirm/src/main.vue +104 -104
- package/packages/popover/src/main.vue +239 -239
- package/packages/radio/src/radio-button.vue +115 -115
- package/packages/radio/src/radio-group.vue +115 -115
- package/packages/radio/src/radio.vue +148 -148
- package/packages/rate/src/main.vue +348 -348
- package/packages/scrollbar/src/bar.js +92 -92
- package/packages/scrollbar/src/main.js +130 -130
- package/packages/select/src/option-group.vue +60 -60
- package/packages/select/src/option.vue +171 -171
- package/packages/select/src/select-dropdown.vue +74 -74
- package/packages/select/src/select.vue +979 -979
- package/packages/slider/src/button.vue +238 -238
- package/packages/slider/src/main.vue +427 -427
- package/packages/statistic/src/main.vue +204 -204
- package/packages/steps/src/steps.vue +68 -68
- package/packages/switch/src/component.vue +182 -182
- package/packages/table/src/config.js +153 -153
- package/packages/table/src/filter-panel.vue +194 -194
- package/packages/table/src/store/current.js +76 -76
- package/packages/table/src/store/helper.js +41 -41
- package/packages/table/src/store/index.js +147 -147
- package/packages/table/src/store/watcher.js +502 -502
- package/packages/table/src/table-body.js +469 -469
- package/packages/table/src/table-column.js +328 -328
- package/packages/table/src/table-header.js +571 -571
- package/packages/table/src/table-layout.js +249 -249
- package/packages/table/src/table-row.js +101 -101
- package/packages/table/src/table.vue +740 -740
- package/packages/table/src/util.js +273 -273
- package/packages/tabs/src/tab-bar.vue +57 -57
- package/packages/tabs/src/tab-nav.vue +294 -294
- package/packages/tabs/src/tabs.vue +201 -201
- package/packages/tag/src/tag.vue +1 -1
- package/packages/theme-chalk/src/button.scss +416 -416
- package/packages/theme-chalk/src/cascader.scss +252 -252
- package/packages/theme-chalk/src/checkbox.scss +419 -419
- package/packages/theme-chalk/src/common/var.scss +795 -816
- package/packages/theme-chalk/src/form.scss +201 -201
- package/packages/theme-chalk/src/input.scss +591 -591
- package/packages/theme-chalk/src/iovfont.scss +803 -784
- package/packages/theme-chalk/src/link.scss +36 -19
- package/packages/theme-chalk/src/message-box.scss +207 -207
- package/packages/theme-chalk/src/mixins/_button.scss +136 -136
- package/packages/theme-chalk/src/mixins/mixins.scss +190 -190
- package/packages/theme-chalk/src/radio-button.scss +115 -115
- package/packages/theme-chalk/src/radio.scss +1 -0
- package/packages/theme-chalk/src/select.scss +270 -270
- package/packages/theme-chalk/src/table.scss +1 -2
- package/packages/theme-chalk/src/tabs.scss +755 -750
- package/packages/theme-chalk/src/tag.scss +4 -4
- package/packages/theme-chalk/src/upload.scss +568 -568
- package/packages/tooltip/src/main.js +242 -242
- package/packages/transfer/src/main.vue +231 -231
- package/packages/transfer/src/transfer-panel.vue +251 -251
- package/packages/tree/src/model/node.js +484 -484
- package/packages/tree/src/tree-node.vue +279 -279
- package/packages/tree/src/tree.vue +496 -496
- package/packages/upload/src/index.vue +420 -420
- package/packages/upload/src/upload-file.vue +98 -98
- package/packages/upload/src/upload-list.vue +115 -115
- package/packages/upload/src/upload-picture.vue +98 -98
- package/packages/upload/src/upload.vue +231 -231
- package/packages/upload/src/utils.js +31 -31
- package/src/directives/repeat-click.js +26 -26
- package/src/index.js +259 -259
- package/src/locale/format.js +46 -46
- package/src/locale/index.js +48 -48
- package/src/locale/lang/lo-LA.js +126 -126
- package/src/mixins/locale.js +9 -9
- package/src/mixins/migrating.js +54 -54
- package/src/transitions/collapse-transition.js +77 -77
- package/src/utils/clickoutside.js +76 -76
- package/src/utils/date-util.js +282 -282
- package/src/utils/popup/index.js +218 -218
- package/src/utils/popup/popup-manager.js +194 -194
- package/src/utils/util.js +245 -245
- package/src/utils/vdom.js +5 -5
- package/src/utils/vue-popper.js +198 -198
package/lib/time-select.js
CHANGED
|
@@ -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
|
|
108
|
+
moduleIdentifier /* server only */,
|
|
109
109
|
shadowMode /* vue-cli only */
|
|
110
110
|
) {
|
|
111
111
|
// Vue.extend constructor export interop
|
|
112
|
-
var options =
|
|
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) {
|
|
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 () {
|
|
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
|
|
173
|
+
// register for functional component in vue file
|
|
169
174
|
var originalRender = options.render
|
|
170
|
-
options.render = function renderWithStyleInjection
|
|
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,209 +232,17 @@ module.exports = require("iov-design/lib/utils/scroll-into-view");
|
|
|
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/picker.vue?vue&type=template&id=
|
|
233
|
-
var render = function() {
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
? _c(
|
|
239
|
-
"el-input",
|
|
240
|
-
_vm._b(
|
|
241
|
-
{
|
|
242
|
-
directives: [
|
|
243
|
-
{
|
|
244
|
-
name: "clickoutside",
|
|
245
|
-
rawName: "v-clickoutside",
|
|
246
|
-
value: _vm.handleClose,
|
|
247
|
-
expression: "handleClose"
|
|
248
|
-
}
|
|
249
|
-
],
|
|
250
|
-
ref: "reference",
|
|
251
|
-
staticClass: "el-date-editor",
|
|
252
|
-
class: "el-date-editor--" + _vm.type,
|
|
253
|
-
attrs: {
|
|
254
|
-
readonly:
|
|
255
|
-
!_vm.editable ||
|
|
256
|
-
_vm.readonly ||
|
|
257
|
-
_vm.type === "dates" ||
|
|
258
|
-
_vm.type === "week" ||
|
|
259
|
-
_vm.type === "years" ||
|
|
260
|
-
_vm.type === "months",
|
|
261
|
-
disabled: _vm.pickerDisabled,
|
|
262
|
-
size: _vm.pickerSize,
|
|
263
|
-
name: _vm.name,
|
|
264
|
-
placeholder: _vm.placeholder,
|
|
265
|
-
value: _vm.displayValue,
|
|
266
|
-
validateEvent: false
|
|
267
|
-
},
|
|
268
|
-
on: {
|
|
269
|
-
focus: _vm.handleFocus,
|
|
270
|
-
input: function(value) {
|
|
271
|
-
return (_vm.userInput = value)
|
|
272
|
-
},
|
|
273
|
-
change: _vm.handleChange
|
|
274
|
-
},
|
|
275
|
-
nativeOn: {
|
|
276
|
-
keydown: function($event) {
|
|
277
|
-
return _vm.handleKeydown($event)
|
|
278
|
-
},
|
|
279
|
-
mouseenter: function($event) {
|
|
280
|
-
return _vm.handleMouseEnter($event)
|
|
281
|
-
},
|
|
282
|
-
mouseleave: function($event) {
|
|
283
|
-
_vm.showClose = false
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
"el-input",
|
|
288
|
-
_vm.firstInputId,
|
|
289
|
-
false
|
|
290
|
-
),
|
|
291
|
-
[
|
|
292
|
-
_c("template", { slot: "prefixLabel" }, [_vm._t("prefixLabel")], 2),
|
|
293
|
-
!_vm.showClose
|
|
294
|
-
? _c("i", {
|
|
295
|
-
staticClass: "el-input__icon",
|
|
296
|
-
class: _vm.triggerClass,
|
|
297
|
-
attrs: { slot: "prefix" },
|
|
298
|
-
on: { click: _vm.handleFocus },
|
|
299
|
-
slot: "prefix"
|
|
300
|
-
})
|
|
301
|
-
: _vm._e(),
|
|
302
|
-
_vm.haveTrigger
|
|
303
|
-
? _c("i", {
|
|
304
|
-
staticClass: "el-input__icon",
|
|
305
|
-
class: [
|
|
306
|
-
_vm.showClose ? "" + _vm.clearIcon + " el-input__clear" : ""
|
|
307
|
-
],
|
|
308
|
-
attrs: { slot: "suffix" },
|
|
309
|
-
on: { click: _vm.handleClickIcon },
|
|
310
|
-
slot: "suffix"
|
|
311
|
-
})
|
|
312
|
-
: _vm._e()
|
|
313
|
-
],
|
|
314
|
-
2
|
|
315
|
-
)
|
|
316
|
-
: _c(
|
|
317
|
-
"div",
|
|
318
|
-
{
|
|
319
|
-
directives: [
|
|
320
|
-
{
|
|
321
|
-
name: "clickoutside",
|
|
322
|
-
rawName: "v-clickoutside",
|
|
323
|
-
value: _vm.handleClose,
|
|
324
|
-
expression: "handleClose"
|
|
325
|
-
}
|
|
326
|
-
],
|
|
327
|
-
ref: "reference",
|
|
328
|
-
staticClass: "el-date-editor el-range-editor el-input__inner",
|
|
329
|
-
class: [
|
|
330
|
-
"el-date-editor--" + _vm.type,
|
|
331
|
-
_vm.pickerSize ? "el-range-editor--" + _vm.pickerSize : "",
|
|
332
|
-
_vm.pickerDisabled ? "is-disabled" : "",
|
|
333
|
-
_vm.pickerVisible ? "is-active" : ""
|
|
334
|
-
],
|
|
335
|
-
on: {
|
|
336
|
-
click: _vm.handleRangeClick,
|
|
337
|
-
mouseenter: _vm.handleMouseEnter,
|
|
338
|
-
mouseleave: function($event) {
|
|
339
|
-
_vm.showClose = false
|
|
340
|
-
},
|
|
341
|
-
keydown: _vm.handleKeydown
|
|
342
|
-
}
|
|
343
|
-
},
|
|
344
|
-
[
|
|
345
|
-
_vm.$slots.prefixLabel
|
|
346
|
-
? _c(
|
|
347
|
-
"div",
|
|
348
|
-
{ staticClass: "el-input-group__prefix-label" },
|
|
349
|
-
[_vm._t("prefixLabel")],
|
|
350
|
-
2
|
|
351
|
-
)
|
|
352
|
-
: _vm._e(),
|
|
353
|
-
_c(
|
|
354
|
-
"input",
|
|
355
|
-
_vm._b(
|
|
356
|
-
{
|
|
357
|
-
staticClass: "el-range-input",
|
|
358
|
-
attrs: {
|
|
359
|
-
autocomplete: "off",
|
|
360
|
-
placeholder: _vm.startPlaceholder,
|
|
361
|
-
disabled: _vm.pickerDisabled,
|
|
362
|
-
readonly: !_vm.editable || _vm.readonly,
|
|
363
|
-
name: _vm.name && _vm.name[0]
|
|
364
|
-
},
|
|
365
|
-
domProps: { value: _vm.displayValue && _vm.displayValue[0] },
|
|
366
|
-
on: {
|
|
367
|
-
input: _vm.handleStartInput,
|
|
368
|
-
change: _vm.handleStartChange,
|
|
369
|
-
focus: _vm.handleFocus
|
|
370
|
-
}
|
|
371
|
-
},
|
|
372
|
-
"input",
|
|
373
|
-
_vm.firstInputId,
|
|
374
|
-
false
|
|
375
|
-
)
|
|
376
|
-
),
|
|
377
|
-
_vm.$slots["range-separator"]
|
|
378
|
-
? _c(
|
|
379
|
-
"span",
|
|
380
|
-
{ staticClass: "el-range-separator" },
|
|
381
|
-
[_vm._t("range-separator")],
|
|
382
|
-
2
|
|
383
|
-
)
|
|
384
|
-
: _vm.rangeSeparator
|
|
385
|
-
? _c("span", { staticClass: "el-range-separator" }, [
|
|
386
|
-
_vm._v("\n " + _vm._s(_vm.rangeSeparator) + "\n ")
|
|
387
|
-
])
|
|
388
|
-
: _c("span", { staticClass: "el-range-separator" }, [
|
|
389
|
-
_c("i", { staticClass: "iov-icon-arrow-half-right" })
|
|
390
|
-
]),
|
|
391
|
-
_c(
|
|
392
|
-
"input",
|
|
393
|
-
_vm._b(
|
|
394
|
-
{
|
|
395
|
-
staticClass: "el-range-input",
|
|
396
|
-
attrs: {
|
|
397
|
-
autocomplete: "off",
|
|
398
|
-
placeholder: _vm.endPlaceholder,
|
|
399
|
-
disabled: _vm.pickerDisabled,
|
|
400
|
-
readonly: !_vm.editable || _vm.readonly,
|
|
401
|
-
name: _vm.name && _vm.name[1]
|
|
402
|
-
},
|
|
403
|
-
domProps: { value: _vm.displayValue && _vm.displayValue[1] },
|
|
404
|
-
on: {
|
|
405
|
-
input: _vm.handleEndInput,
|
|
406
|
-
change: _vm.handleEndChange,
|
|
407
|
-
focus: _vm.handleFocus
|
|
408
|
-
}
|
|
409
|
-
},
|
|
410
|
-
"input",
|
|
411
|
-
_vm.secondInputId,
|
|
412
|
-
false
|
|
413
|
-
)
|
|
414
|
-
),
|
|
415
|
-
_c("i", {
|
|
416
|
-
staticClass: "el-input__icon el-range__close-icon",
|
|
417
|
-
class: [
|
|
418
|
-
_vm.showClose ? "" + _vm.clearIcon + " el-input__clear" : ""
|
|
419
|
-
],
|
|
420
|
-
on: { click: _vm.handleClickIcon }
|
|
421
|
-
}),
|
|
422
|
-
!_vm.showClose
|
|
423
|
-
? _c("i", {
|
|
424
|
-
class: ["el-input__icon", "el-range__icon", _vm.triggerClass]
|
|
425
|
-
})
|
|
426
|
-
: _vm._e()
|
|
427
|
-
]
|
|
428
|
-
)
|
|
429
|
-
}
|
|
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/picker.vue?vue&type=template&id=3b0d134c
|
|
236
|
+
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:[
|
|
237
|
+
'el-date-editor--' + _vm.type,
|
|
238
|
+
_vm.pickerSize ? ("el-range-editor--" + _vm.pickerSize) : '',
|
|
239
|
+
_vm.pickerDisabled ? 'is-disabled' : '',
|
|
240
|
+
_vm.pickerVisible ? 'is-active' : ''
|
|
241
|
+
],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()])}
|
|
430
242
|
var staticRenderFns = []
|
|
431
243
|
render._withStripped = true
|
|
432
244
|
|
|
433
|
-
|
|
434
|
-
// CONCATENATED MODULE: ./packages/date-picker/src/picker.vue?vue&type=template&id=79ae069f&
|
|
245
|
+
// CONCATENATED MODULE: ./packages/date-picker/src/picker.vue?vue&type=template&id=3b0d134c
|
|
435
246
|
|
|
436
247
|
// EXTERNAL MODULE: external "vue"
|
|
437
248
|
var external_vue_ = __webpack_require__(8);
|
|
@@ -460,7 +271,7 @@ var input_default = /*#__PURE__*/__webpack_require__.n(input_);
|
|
|
460
271
|
var merge_ = __webpack_require__(9);
|
|
461
272
|
var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
|
|
462
273
|
|
|
463
|
-
// 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
|
|
274
|
+
// 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
|
|
464
275
|
//
|
|
465
276
|
//
|
|
466
277
|
//
|
|
@@ -768,11 +579,11 @@ var formatAsFormatAndType = function formatAsFormatAndType(value, customFormat,
|
|
|
768
579
|
return formatter(value, format);
|
|
769
580
|
};
|
|
770
581
|
|
|
771
|
-
/*
|
|
772
|
-
* Considers:
|
|
773
|
-
* 1. Date object
|
|
774
|
-
* 2. date string
|
|
775
|
-
* 3. array of 1 or 2
|
|
582
|
+
/*
|
|
583
|
+
* Considers:
|
|
584
|
+
* 1. Date object
|
|
585
|
+
* 2. date string
|
|
586
|
+
* 3. array of 1 or 2
|
|
776
587
|
*/
|
|
777
588
|
var valueEquals = function valueEquals(a, b) {
|
|
778
589
|
// considers Date object and string
|
|
@@ -813,7 +624,7 @@ var validator = function validator(val) {
|
|
|
813
624
|
return val === null || val === undefined || isString(val) || Array.isArray(val) && val.length === 2 && val.every(isString);
|
|
814
625
|
};
|
|
815
626
|
|
|
816
|
-
/* harmony default export */ var
|
|
627
|
+
/* harmony default export */ var pickervue_type_script_lang_js = ({
|
|
817
628
|
mixins: [emitter_default.a, NewPopper],
|
|
818
629
|
|
|
819
630
|
inject: {
|
|
@@ -1395,8 +1206,8 @@ var validator = function validator(val) {
|
|
|
1395
1206
|
}
|
|
1396
1207
|
}
|
|
1397
1208
|
});
|
|
1398
|
-
// CONCATENATED MODULE: ./packages/date-picker/src/picker.vue?vue&type=script&lang=js
|
|
1399
|
-
/* harmony default export */ var
|
|
1209
|
+
// CONCATENATED MODULE: ./packages/date-picker/src/picker.vue?vue&type=script&lang=js
|
|
1210
|
+
/* harmony default export */ var src_pickervue_type_script_lang_js = (pickervue_type_script_lang_js);
|
|
1400
1211
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1401
1212
|
var componentNormalizer = __webpack_require__(0);
|
|
1402
1213
|
|
|
@@ -1409,7 +1220,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
1409
1220
|
/* normalize component */
|
|
1410
1221
|
|
|
1411
1222
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
1412
|
-
|
|
1223
|
+
src_pickervue_type_script_lang_js,
|
|
1413
1224
|
render,
|
|
1414
1225
|
staticRenderFns,
|
|
1415
1226
|
false,
|
|
@@ -1419,9 +1230,6 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
1419
1230
|
|
|
1420
1231
|
)
|
|
1421
1232
|
|
|
1422
|
-
/* hot reload */
|
|
1423
|
-
if (false) { var api; }
|
|
1424
|
-
component.options.__file = "packages/date-picker/src/picker.vue"
|
|
1425
1233
|
/* harmony default export */ var picker = __webpack_exports__["a"] = (component.exports);
|
|
1426
1234
|
|
|
1427
1235
|
/***/ }),
|
|
@@ -1451,84 +1259,18 @@ module.exports = require("vue");
|
|
|
1451
1259
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1452
1260
|
|
|
1453
1261
|
"use strict";
|
|
1262
|
+
// ESM COMPAT FLAG
|
|
1454
1263
|
__webpack_require__.r(__webpack_exports__);
|
|
1455
1264
|
|
|
1456
1265
|
// EXTERNAL MODULE: ./packages/date-picker/src/picker.vue + 4 modules
|
|
1457
1266
|
var picker = __webpack_require__(32);
|
|
1458
1267
|
|
|
1459
|
-
// 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-select.vue?vue&type=template&id=
|
|
1460
|
-
var render = function() {
|
|
1461
|
-
var _vm = this
|
|
1462
|
-
var _h = _vm.$createElement
|
|
1463
|
-
var _c = _vm._self._c || _h
|
|
1464
|
-
return _c(
|
|
1465
|
-
"transition",
|
|
1466
|
-
{
|
|
1467
|
-
attrs: { name: "el-zoom-in-top" },
|
|
1468
|
-
on: {
|
|
1469
|
-
"before-enter": _vm.handleMenuEnter,
|
|
1470
|
-
"after-leave": function($event) {
|
|
1471
|
-
_vm.$emit("dodestroy")
|
|
1472
|
-
}
|
|
1473
|
-
}
|
|
1474
|
-
},
|
|
1475
|
-
[
|
|
1476
|
-
_c(
|
|
1477
|
-
"div",
|
|
1478
|
-
{
|
|
1479
|
-
directives: [
|
|
1480
|
-
{
|
|
1481
|
-
name: "show",
|
|
1482
|
-
rawName: "v-show",
|
|
1483
|
-
value: _vm.visible,
|
|
1484
|
-
expression: "visible"
|
|
1485
|
-
}
|
|
1486
|
-
],
|
|
1487
|
-
ref: "popper",
|
|
1488
|
-
staticClass: "el-picker-panel time-select el-popper",
|
|
1489
|
-
class: _vm.popperClass,
|
|
1490
|
-
style: { width: _vm.width + "px" }
|
|
1491
|
-
},
|
|
1492
|
-
[
|
|
1493
|
-
_c(
|
|
1494
|
-
"el-scrollbar",
|
|
1495
|
-
{
|
|
1496
|
-
attrs: { noresize: "", "wrap-class": "el-picker-panel__content" }
|
|
1497
|
-
},
|
|
1498
|
-
_vm._l(_vm.items, function(item) {
|
|
1499
|
-
return _c(
|
|
1500
|
-
"div",
|
|
1501
|
-
{
|
|
1502
|
-
key: item.value,
|
|
1503
|
-
staticClass: "time-select-item",
|
|
1504
|
-
class: {
|
|
1505
|
-
selected: _vm.value === item.value,
|
|
1506
|
-
disabled: item.disabled,
|
|
1507
|
-
default: item.value === _vm.defaultValue
|
|
1508
|
-
},
|
|
1509
|
-
attrs: { disabled: item.disabled },
|
|
1510
|
-
on: {
|
|
1511
|
-
click: function($event) {
|
|
1512
|
-
_vm.handleClick(item)
|
|
1513
|
-
}
|
|
1514
|
-
}
|
|
1515
|
-
},
|
|
1516
|
-
[_vm._v(_vm._s(item.value))]
|
|
1517
|
-
)
|
|
1518
|
-
}),
|
|
1519
|
-
0
|
|
1520
|
-
)
|
|
1521
|
-
],
|
|
1522
|
-
1
|
|
1523
|
-
)
|
|
1524
|
-
]
|
|
1525
|
-
)
|
|
1526
|
-
}
|
|
1268
|
+
// 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-select.vue?vue&type=template&id=fee60936
|
|
1269
|
+
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:{"before-enter":_vm.handleMenuEnter,"after-leave":function($event){_vm.$emit('dodestroy')}}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.visible),expression:"visible"}],ref:"popper",staticClass:"el-picker-panel time-select el-popper",class:_vm.popperClass,style:({ width: _vm.width + 'px' })},[_c('el-scrollbar',{attrs:{"noresize":"","wrap-class":"el-picker-panel__content"}},_vm._l((_vm.items),function(item){return _c('div',{key:item.value,staticClass:"time-select-item",class:{ selected: _vm.value === item.value, disabled: item.disabled, default: item.value === _vm.defaultValue },attrs:{"disabled":item.disabled},on:{"click":function($event){_vm.handleClick(item)}}},[_vm._v(_vm._s(item.value))])}),0)],1)])}
|
|
1527
1270
|
var staticRenderFns = []
|
|
1528
1271
|
render._withStripped = true
|
|
1529
1272
|
|
|
1530
|
-
|
|
1531
|
-
// CONCATENATED MODULE: ./packages/date-picker/src/panel/time-select.vue?vue&type=template&id=51ab9320&
|
|
1273
|
+
// CONCATENATED MODULE: ./packages/date-picker/src/panel/time-select.vue?vue&type=template&id=fee60936
|
|
1532
1274
|
|
|
1533
1275
|
// EXTERNAL MODULE: external "iov-design/lib/scrollbar"
|
|
1534
1276
|
var scrollbar_ = __webpack_require__(15);
|
|
@@ -1538,7 +1280,7 @@ var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_);
|
|
|
1538
1280
|
var scroll_into_view_ = __webpack_require__(31);
|
|
1539
1281
|
var scroll_into_view_default = /*#__PURE__*/__webpack_require__.n(scroll_into_view_);
|
|
1540
1282
|
|
|
1541
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time-select.vue?vue&type=script&lang=js
|
|
1283
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/date-picker/src/panel/time-select.vue?vue&type=script&lang=js
|
|
1542
1284
|
//
|
|
1543
1285
|
//
|
|
1544
1286
|
//
|
|
@@ -1614,7 +1356,7 @@ var nextTime = function nextTime(time, step) {
|
|
|
1614
1356
|
return formatTime(next);
|
|
1615
1357
|
};
|
|
1616
1358
|
|
|
1617
|
-
/* harmony default export */ var
|
|
1359
|
+
/* harmony default export */ var time_selectvue_type_script_lang_js = ({
|
|
1618
1360
|
components: { ElScrollbar: scrollbar_default.a },
|
|
1619
1361
|
|
|
1620
1362
|
watch: {
|
|
@@ -1730,8 +1472,8 @@ var nextTime = function nextTime(time, step) {
|
|
|
1730
1472
|
}
|
|
1731
1473
|
}
|
|
1732
1474
|
});
|
|
1733
|
-
// CONCATENATED MODULE: ./packages/date-picker/src/panel/time-select.vue?vue&type=script&lang=js
|
|
1734
|
-
/* harmony default export */ var
|
|
1475
|
+
// CONCATENATED MODULE: ./packages/date-picker/src/panel/time-select.vue?vue&type=script&lang=js
|
|
1476
|
+
/* harmony default export */ var panel_time_selectvue_type_script_lang_js = (time_selectvue_type_script_lang_js);
|
|
1735
1477
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1736
1478
|
var componentNormalizer = __webpack_require__(0);
|
|
1737
1479
|
|
|
@@ -1744,7 +1486,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
1744
1486
|
/* normalize component */
|
|
1745
1487
|
|
|
1746
1488
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
1747
|
-
|
|
1489
|
+
panel_time_selectvue_type_script_lang_js,
|
|
1748
1490
|
render,
|
|
1749
1491
|
staticRenderFns,
|
|
1750
1492
|
false,
|
|
@@ -1754,9 +1496,6 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
1754
1496
|
|
|
1755
1497
|
)
|
|
1756
1498
|
|
|
1757
|
-
/* hot reload */
|
|
1758
|
-
if (false) { var api; }
|
|
1759
|
-
component.options.__file = "packages/date-picker/src/panel/time-select.vue"
|
|
1760
1499
|
/* harmony default export */ var time_select = (component.exports);
|
|
1761
1500
|
// CONCATENATED MODULE: ./packages/date-picker/src/picker/time-select.js
|
|
1762
1501
|
|
package/lib/timeline-item.js
CHANGED
|
@@ -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
|
|
108
|
+
moduleIdentifier /* server only */,
|
|
109
109
|
shadowMode /* vue-cli only */
|
|
110
110
|
) {
|
|
111
111
|
// Vue.extend constructor export interop
|
|
112
|
-
var options =
|
|
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) {
|
|
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 () {
|
|
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
|
|
173
|
+
// register for functional component in vue file
|
|
169
174
|
var originalRender = options.render
|
|
170
|
-
options.render = function renderWithStyleInjection
|
|
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
|
|
|
@@ -193,68 +196,22 @@ function normalizeComponent (
|
|
|
193
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
194
197
|
|
|
195
198
|
"use strict";
|
|
199
|
+
// ESM COMPAT FLAG
|
|
196
200
|
__webpack_require__.r(__webpack_exports__);
|
|
197
201
|
|
|
198
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/timeline/src/item.vue?vue&type=template&id=
|
|
199
|
-
var render = function() {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
_c("div", { staticClass: "el-timeline-
|
|
205
|
-
!_vm.$slots.dot
|
|
206
|
-
? _c(
|
|
207
|
-
"div",
|
|
208
|
-
{
|
|
209
|
-
staticClass: "el-timeline-item__node",
|
|
210
|
-
class: [
|
|
211
|
-
"el-timeline-item__node--" + (_vm.size || ""),
|
|
212
|
-
"el-timeline-item__node--" + (_vm.type || "")
|
|
213
|
-
],
|
|
214
|
-
style: {
|
|
215
|
-
backgroundColor: _vm.color
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
[
|
|
219
|
-
_vm.icon
|
|
220
|
-
? _c("i", {
|
|
221
|
-
staticClass: "el-timeline-item__icon",
|
|
222
|
-
class: _vm.icon
|
|
223
|
-
})
|
|
224
|
-
: _vm._e()
|
|
225
|
-
]
|
|
226
|
-
)
|
|
227
|
-
: _vm._e(),
|
|
228
|
-
_vm.$slots.dot
|
|
229
|
-
? _c("div", { staticClass: "el-timeline-item__dot" }, [_vm._t("dot")], 2)
|
|
230
|
-
: _vm._e(),
|
|
231
|
-
_c("div", { staticClass: "el-timeline-item__wrapper" }, [
|
|
232
|
-
!_vm.hideTimestamp && _vm.placement === "top"
|
|
233
|
-
? _c("div", { staticClass: "el-timeline-item__timestamp is-top" }, [
|
|
234
|
-
_vm._v("\n " + _vm._s(_vm.timestamp) + "\n ")
|
|
235
|
-
])
|
|
236
|
-
: _vm._e(),
|
|
237
|
-
_c(
|
|
238
|
-
"div",
|
|
239
|
-
{ staticClass: "el-timeline-item__content" },
|
|
240
|
-
[_vm._t("default")],
|
|
241
|
-
2
|
|
242
|
-
),
|
|
243
|
-
!_vm.hideTimestamp && _vm.placement === "bottom"
|
|
244
|
-
? _c("div", { staticClass: "el-timeline-item__timestamp is-bottom" }, [
|
|
245
|
-
_vm._v("\n " + _vm._s(_vm.timestamp) + "\n ")
|
|
246
|
-
])
|
|
247
|
-
: _vm._e()
|
|
248
|
-
])
|
|
249
|
-
])
|
|
250
|
-
}
|
|
202
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/timeline/src/item.vue?vue&type=template&id=dc2aee5e
|
|
203
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"el-timeline-item"},[_c('div',{staticClass:"el-timeline-item__tail"}),(!_vm.$slots.dot)?_c('div',{staticClass:"el-timeline-item__node",class:[
|
|
204
|
+
("el-timeline-item__node--" + (_vm.size || '')),
|
|
205
|
+
("el-timeline-item__node--" + (_vm.type || ''))
|
|
206
|
+
],style:({
|
|
207
|
+
backgroundColor: _vm.color
|
|
208
|
+
})},[(_vm.icon)?_c('i',{staticClass:"el-timeline-item__icon",class:_vm.icon}):_vm._e()]):_vm._e(),(_vm.$slots.dot)?_c('div',{staticClass:"el-timeline-item__dot"},[_vm._t("dot")],2):_vm._e(),_c('div',{staticClass:"el-timeline-item__wrapper"},[(!_vm.hideTimestamp && _vm.placement === 'top')?_c('div',{staticClass:"el-timeline-item__timestamp is-top"},[_vm._v("\n "+_vm._s(_vm.timestamp)+"\n ")]):_vm._e(),_c('div',{staticClass:"el-timeline-item__content"},[_vm._t("default")],2),(!_vm.hideTimestamp && _vm.placement === 'bottom')?_c('div',{staticClass:"el-timeline-item__timestamp is-bottom"},[_vm._v("\n "+_vm._s(_vm.timestamp)+"\n ")]):_vm._e()])])}
|
|
251
209
|
var staticRenderFns = []
|
|
252
210
|
render._withStripped = true
|
|
253
211
|
|
|
212
|
+
// CONCATENATED MODULE: ./packages/timeline/src/item.vue?vue&type=template&id=dc2aee5e
|
|
254
213
|
|
|
255
|
-
// CONCATENATED MODULE: ./packages/timeline/src/item.vue?vue&type=
|
|
256
|
-
|
|
257
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/timeline/src/item.vue?vue&type=script&lang=js&
|
|
214
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/timeline/src/item.vue?vue&type=script&lang=js
|
|
258
215
|
//
|
|
259
216
|
//
|
|
260
217
|
//
|
|
@@ -297,7 +254,7 @@ render._withStripped = true
|
|
|
297
254
|
//
|
|
298
255
|
//
|
|
299
256
|
|
|
300
|
-
/* harmony default export */ var
|
|
257
|
+
/* harmony default export */ var itemvue_type_script_lang_js = ({
|
|
301
258
|
name: 'ElTimelineItem',
|
|
302
259
|
|
|
303
260
|
inject: ['timeline'],
|
|
@@ -327,8 +284,8 @@ render._withStripped = true
|
|
|
327
284
|
icon: String
|
|
328
285
|
}
|
|
329
286
|
});
|
|
330
|
-
// CONCATENATED MODULE: ./packages/timeline/src/item.vue?vue&type=script&lang=js
|
|
331
|
-
/* harmony default export */ var
|
|
287
|
+
// CONCATENATED MODULE: ./packages/timeline/src/item.vue?vue&type=script&lang=js
|
|
288
|
+
/* harmony default export */ var src_itemvue_type_script_lang_js = (itemvue_type_script_lang_js);
|
|
332
289
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
333
290
|
var componentNormalizer = __webpack_require__(0);
|
|
334
291
|
|
|
@@ -341,7 +298,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
341
298
|
/* normalize component */
|
|
342
299
|
|
|
343
300
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
344
|
-
|
|
301
|
+
src_itemvue_type_script_lang_js,
|
|
345
302
|
render,
|
|
346
303
|
staticRenderFns,
|
|
347
304
|
false,
|
|
@@ -351,9 +308,6 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
351
308
|
|
|
352
309
|
)
|
|
353
310
|
|
|
354
|
-
/* hot reload */
|
|
355
|
-
if (false) { var api; }
|
|
356
|
-
component.options.__file = "packages/timeline/src/item.vue"
|
|
357
311
|
/* harmony default export */ var item = (component.exports);
|
|
358
312
|
// CONCATENATED MODULE: ./packages/timeline-item/index.js
|
|
359
313
|
|