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/form-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
|
|
|
@@ -214,111 +217,28 @@ module.exports = require("async-validator");
|
|
|
214
217
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
215
218
|
|
|
216
219
|
"use strict";
|
|
220
|
+
// ESM COMPAT FLAG
|
|
217
221
|
__webpack_require__.r(__webpack_exports__);
|
|
218
222
|
|
|
219
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form-item.vue?vue&type=template&id=
|
|
220
|
-
var render = function() {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
"
|
|
234
|
-
"is-required": _vm.isRequired || _vm.required,
|
|
235
|
-
"is-no-asterisk": _vm.elForm && _vm.elForm.hideRequiredAsterisk
|
|
236
|
-
},
|
|
237
|
-
_vm.sizeClass ? "el-form-item--" + _vm.sizeClass : ""
|
|
238
|
-
]
|
|
239
|
-
},
|
|
240
|
-
[
|
|
241
|
-
_c(
|
|
242
|
-
"label-wrap",
|
|
243
|
-
{
|
|
244
|
-
attrs: {
|
|
245
|
-
"is-auto-width": _vm.labelStyle && _vm.labelStyle.width === "auto",
|
|
246
|
-
"update-all": _vm.form.labelWidth === "auto"
|
|
247
|
-
}
|
|
248
|
-
},
|
|
249
|
-
[
|
|
250
|
-
_vm.label || _vm.$slots.label
|
|
251
|
-
? _c(
|
|
252
|
-
"label",
|
|
253
|
-
{
|
|
254
|
-
staticClass: "el-form-item__label",
|
|
255
|
-
style: _vm.labelStyle,
|
|
256
|
-
attrs: { for: _vm.labelFor }
|
|
257
|
-
},
|
|
258
|
-
[
|
|
259
|
-
_vm._t("label", [
|
|
260
|
-
_vm._v(_vm._s(_vm.label + _vm.form.labelSuffix))
|
|
261
|
-
])
|
|
262
|
-
],
|
|
263
|
-
2
|
|
264
|
-
)
|
|
265
|
-
: _vm._e()
|
|
266
|
-
]
|
|
267
|
-
),
|
|
268
|
-
_c(
|
|
269
|
-
"div",
|
|
270
|
-
{ staticClass: "el-form-item__content", style: _vm.contentStyle },
|
|
271
|
-
[
|
|
272
|
-
_vm._t("default"),
|
|
273
|
-
_c(
|
|
274
|
-
"transition",
|
|
275
|
-
{ attrs: { name: "el-zoom-in-top" } },
|
|
276
|
-
[
|
|
277
|
-
_vm.validateState === "error" &&
|
|
278
|
-
_vm.showMessage &&
|
|
279
|
-
_vm.form.showMessage
|
|
280
|
-
? _vm._t(
|
|
281
|
-
"error",
|
|
282
|
-
[
|
|
283
|
-
_c(
|
|
284
|
-
"div",
|
|
285
|
-
{
|
|
286
|
-
staticClass: "el-form-item__error",
|
|
287
|
-
class: {
|
|
288
|
-
"el-form-item__error--inline":
|
|
289
|
-
typeof _vm.inlineMessage === "boolean"
|
|
290
|
-
? _vm.inlineMessage
|
|
291
|
-
: (_vm.elForm && _vm.elForm.inlineMessage) ||
|
|
292
|
-
false
|
|
293
|
-
}
|
|
294
|
-
},
|
|
295
|
-
[
|
|
296
|
-
_vm._v(
|
|
297
|
-
"\n " +
|
|
298
|
-
_vm._s(_vm.validateMessage) +
|
|
299
|
-
"\n "
|
|
300
|
-
)
|
|
301
|
-
]
|
|
302
|
-
)
|
|
303
|
-
],
|
|
304
|
-
{ error: _vm.validateMessage }
|
|
305
|
-
)
|
|
306
|
-
: _vm._e()
|
|
307
|
-
],
|
|
308
|
-
2
|
|
309
|
-
)
|
|
310
|
-
],
|
|
311
|
-
2
|
|
312
|
-
)
|
|
313
|
-
],
|
|
314
|
-
1
|
|
315
|
-
)
|
|
316
|
-
}
|
|
223
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form-item.vue?vue&type=template&id=2592dad4
|
|
224
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"el-form-item",class:[{
|
|
225
|
+
'el-form-item--feedback': _vm.elForm && _vm.elForm.statusIcon,
|
|
226
|
+
'is-error': _vm.validateState === 'error',
|
|
227
|
+
'is-validating': _vm.validateState === 'validating',
|
|
228
|
+
'is-success': _vm.validateState === 'success',
|
|
229
|
+
'is-required': _vm.isRequired || _vm.required,
|
|
230
|
+
'is-no-asterisk': _vm.elForm && _vm.elForm.hideRequiredAsterisk
|
|
231
|
+
},
|
|
232
|
+
_vm.sizeClass ? 'el-form-item--' + _vm.sizeClass : ''
|
|
233
|
+
]},[_c('label-wrap',{attrs:{"is-auto-width":_vm.labelStyle && _vm.labelStyle.width === 'auto',"update-all":_vm.form.labelWidth === 'auto'}},[(_vm.label || _vm.$slots.label)?_c('label',{staticClass:"el-form-item__label",style:(_vm.labelStyle),attrs:{"for":_vm.labelFor}},[_vm._t("label",[_vm._v(_vm._s(_vm.label + _vm.form.labelSuffix))])],2):_vm._e()]),_c('div',{staticClass:"el-form-item__content",style:(_vm.contentStyle)},[_vm._t("default"),_c('transition',{attrs:{"name":"el-zoom-in-top"}},[(_vm.validateState === 'error' && _vm.showMessage && _vm.form.showMessage)?_vm._t("error",[_c('div',{staticClass:"el-form-item__error",class:{
|
|
234
|
+
'el-form-item__error--inline': typeof _vm.inlineMessage === 'boolean'
|
|
235
|
+
? _vm.inlineMessage
|
|
236
|
+
: (_vm.elForm && _vm.elForm.inlineMessage || false)
|
|
237
|
+
}},[_vm._v("\n "+_vm._s(_vm.validateMessage)+"\n ")])],{error:_vm.validateMessage}):_vm._e()],2)],2)],1)}
|
|
317
238
|
var staticRenderFns = []
|
|
318
239
|
render._withStripped = true
|
|
319
240
|
|
|
320
|
-
|
|
321
|
-
// CONCATENATED MODULE: ./packages/form/src/form-item.vue?vue&type=template&id=b6f3db6c&
|
|
241
|
+
// CONCATENATED MODULE: ./packages/form/src/form-item.vue?vue&type=template&id=2592dad4
|
|
322
242
|
|
|
323
243
|
// EXTERNAL MODULE: external "async-validator"
|
|
324
244
|
var external_async_validator_ = __webpack_require__(50);
|
|
@@ -335,10 +255,10 @@ var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
|
|
|
335
255
|
// EXTERNAL MODULE: external "iov-design/lib/utils/util"
|
|
336
256
|
var util_ = __webpack_require__(3);
|
|
337
257
|
|
|
338
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/label-wrap.vue?vue&type=script&lang=js
|
|
258
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/label-wrap.vue?vue&type=script&lang=js
|
|
339
259
|
|
|
340
260
|
|
|
341
|
-
/* harmony default export */ var
|
|
261
|
+
/* harmony default export */ var label_wrapvue_type_script_lang_js = ({
|
|
342
262
|
props: {
|
|
343
263
|
isAutoWidth: Boolean,
|
|
344
264
|
updateAll: Boolean
|
|
@@ -417,8 +337,8 @@ var util_ = __webpack_require__(3);
|
|
|
417
337
|
this.updateLabelWidth('remove');
|
|
418
338
|
}
|
|
419
339
|
});
|
|
420
|
-
// CONCATENATED MODULE: ./packages/form/src/label-wrap.vue?vue&type=script&lang=js
|
|
421
|
-
/* harmony default export */ var
|
|
340
|
+
// CONCATENATED MODULE: ./packages/form/src/label-wrap.vue?vue&type=script&lang=js
|
|
341
|
+
/* harmony default export */ var src_label_wrapvue_type_script_lang_js = (label_wrapvue_type_script_lang_js);
|
|
422
342
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
423
343
|
var componentNormalizer = __webpack_require__(0);
|
|
424
344
|
|
|
@@ -431,7 +351,7 @@ var label_wrap_render, label_wrap_staticRenderFns
|
|
|
431
351
|
/* normalize component */
|
|
432
352
|
|
|
433
353
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
434
|
-
|
|
354
|
+
src_label_wrapvue_type_script_lang_js,
|
|
435
355
|
label_wrap_render,
|
|
436
356
|
label_wrap_staticRenderFns,
|
|
437
357
|
false,
|
|
@@ -441,11 +361,8 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
441
361
|
|
|
442
362
|
)
|
|
443
363
|
|
|
444
|
-
/* hot reload */
|
|
445
|
-
if (false) { var api; }
|
|
446
|
-
component.options.__file = "packages/form/src/label-wrap.vue"
|
|
447
364
|
/* harmony default export */ var label_wrap = (component.exports);
|
|
448
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form-item.vue?vue&type=script&lang=js
|
|
365
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form-item.vue?vue&type=script&lang=js
|
|
449
366
|
//
|
|
450
367
|
//
|
|
451
368
|
//
|
|
@@ -492,7 +409,7 @@ component.options.__file = "packages/form/src/label-wrap.vue"
|
|
|
492
409
|
|
|
493
410
|
|
|
494
411
|
|
|
495
|
-
/* harmony default export */ var
|
|
412
|
+
/* harmony default export */ var form_itemvue_type_script_lang_js = ({
|
|
496
413
|
name: 'ElFormItem',
|
|
497
414
|
|
|
498
415
|
componentName: 'ElFormItem',
|
|
@@ -781,8 +698,8 @@ component.options.__file = "packages/form/src/label-wrap.vue"
|
|
|
781
698
|
this.dispatch('ElForm', 'el.form.removeField', [this]);
|
|
782
699
|
}
|
|
783
700
|
});
|
|
784
|
-
// CONCATENATED MODULE: ./packages/form/src/form-item.vue?vue&type=script&lang=js
|
|
785
|
-
/* harmony default export */ var
|
|
701
|
+
// CONCATENATED MODULE: ./packages/form/src/form-item.vue?vue&type=script&lang=js
|
|
702
|
+
/* harmony default export */ var src_form_itemvue_type_script_lang_js = (form_itemvue_type_script_lang_js);
|
|
786
703
|
// CONCATENATED MODULE: ./packages/form/src/form-item.vue
|
|
787
704
|
|
|
788
705
|
|
|
@@ -792,7 +709,7 @@ component.options.__file = "packages/form/src/label-wrap.vue"
|
|
|
792
709
|
/* normalize component */
|
|
793
710
|
|
|
794
711
|
var form_item_component = Object(componentNormalizer["a" /* default */])(
|
|
795
|
-
|
|
712
|
+
src_form_itemvue_type_script_lang_js,
|
|
796
713
|
render,
|
|
797
714
|
staticRenderFns,
|
|
798
715
|
false,
|
|
@@ -802,9 +719,6 @@ var form_item_component = Object(componentNormalizer["a" /* default */])(
|
|
|
802
719
|
|
|
803
720
|
)
|
|
804
721
|
|
|
805
|
-
/* hot reload */
|
|
806
|
-
if (false) { var form_item_api; }
|
|
807
|
-
form_item_component.options.__file = "packages/form/src/form-item.vue"
|
|
808
722
|
/* harmony default export */ var form_item = (form_item_component.exports);
|
|
809
723
|
// CONCATENATED MODULE: ./packages/form-item/index.js
|
|
810
724
|
|
package/lib/form.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,37 +196,24 @@ 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/form/src/form.vue?vue&type=template&id=
|
|
199
|
-
var render = function() {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
return _c(
|
|
204
|
-
"form",
|
|
205
|
-
{
|
|
206
|
-
staticClass: "el-form",
|
|
207
|
-
class: [
|
|
208
|
-
_vm.labelPosition ? "el-form--label-" + _vm.labelPosition : "",
|
|
209
|
-
{ "el-form--inline": _vm.inline }
|
|
210
|
-
]
|
|
211
|
-
},
|
|
212
|
-
[_vm._t("default")],
|
|
213
|
-
2
|
|
214
|
-
)
|
|
215
|
-
}
|
|
202
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form.vue?vue&type=template&id=49c77109
|
|
203
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',{staticClass:"el-form",class:[
|
|
204
|
+
_vm.labelPosition ? 'el-form--label-' + _vm.labelPosition : '',
|
|
205
|
+
{ 'el-form--inline': _vm.inline }
|
|
206
|
+
]},[_vm._t("default")],2)}
|
|
216
207
|
var staticRenderFns = []
|
|
217
208
|
render._withStripped = true
|
|
218
209
|
|
|
219
|
-
|
|
220
|
-
// CONCATENATED MODULE: ./packages/form/src/form.vue?vue&type=template&id=a1b5ff34&
|
|
210
|
+
// CONCATENATED MODULE: ./packages/form/src/form.vue?vue&type=template&id=49c77109
|
|
221
211
|
|
|
222
212
|
// EXTERNAL MODULE: external "iov-design/lib/utils/merge"
|
|
223
213
|
var merge_ = __webpack_require__(9);
|
|
224
214
|
var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
|
|
225
215
|
|
|
226
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form.vue?vue&type=script&lang=js
|
|
216
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form.vue?vue&type=script&lang=js
|
|
227
217
|
//
|
|
228
218
|
//
|
|
229
219
|
//
|
|
@@ -235,7 +225,7 @@ var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
|
|
|
235
225
|
|
|
236
226
|
|
|
237
227
|
|
|
238
|
-
/* harmony default export */ var
|
|
228
|
+
/* harmony default export */ var formvue_type_script_lang_js = ({
|
|
239
229
|
name: 'ElForm',
|
|
240
230
|
|
|
241
231
|
componentName: 'ElForm',
|
|
@@ -415,8 +405,8 @@ var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
|
|
|
415
405
|
}
|
|
416
406
|
}
|
|
417
407
|
});
|
|
418
|
-
// CONCATENATED MODULE: ./packages/form/src/form.vue?vue&type=script&lang=js
|
|
419
|
-
/* harmony default export */ var
|
|
408
|
+
// CONCATENATED MODULE: ./packages/form/src/form.vue?vue&type=script&lang=js
|
|
409
|
+
/* harmony default export */ var src_formvue_type_script_lang_js = (formvue_type_script_lang_js);
|
|
420
410
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
421
411
|
var componentNormalizer = __webpack_require__(0);
|
|
422
412
|
|
|
@@ -429,7 +419,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
429
419
|
/* normalize component */
|
|
430
420
|
|
|
431
421
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
432
|
-
|
|
422
|
+
src_formvue_type_script_lang_js,
|
|
433
423
|
render,
|
|
434
424
|
staticRenderFns,
|
|
435
425
|
false,
|
|
@@ -439,9 +429,6 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
439
429
|
|
|
440
430
|
)
|
|
441
431
|
|
|
442
|
-
/* hot reload */
|
|
443
|
-
if (false) { var api; }
|
|
444
|
-
component.options.__file = "packages/form/src/form.vue"
|
|
445
432
|
/* harmony default export */ var src_form = (component.exports);
|
|
446
433
|
// CONCATENATED MODULE: ./packages/form/index.js
|
|
447
434
|
|
package/lib/header.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,27 +196,17 @@ 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/header/src/main.vue?vue&type=template&id=
|
|
199
|
-
var render = function() {
|
|
200
|
-
var _vm = this
|
|
201
|
-
var _h = _vm.$createElement
|
|
202
|
-
var _c = _vm._self._c || _h
|
|
203
|
-
return _c(
|
|
204
|
-
"header",
|
|
205
|
-
{ staticClass: "el-header", style: { height: _vm.height } },
|
|
206
|
-
[_vm._t("default")],
|
|
207
|
-
2
|
|
208
|
-
)
|
|
209
|
-
}
|
|
202
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/header/src/main.vue?vue&type=template&id=0235921e
|
|
203
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:"el-header",style:({ height: _vm.height })},[_vm._t("default")],2)}
|
|
210
204
|
var staticRenderFns = []
|
|
211
205
|
render._withStripped = true
|
|
212
206
|
|
|
207
|
+
// CONCATENATED MODULE: ./packages/header/src/main.vue?vue&type=template&id=0235921e
|
|
213
208
|
|
|
214
|
-
// CONCATENATED MODULE: ./packages/header/src/main.vue?vue&type=
|
|
215
|
-
|
|
216
|
-
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/header/src/main.vue?vue&type=script&lang=js&
|
|
209
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/header/src/main.vue?vue&type=script&lang=js
|
|
217
210
|
//
|
|
218
211
|
//
|
|
219
212
|
//
|
|
@@ -221,7 +214,7 @@ render._withStripped = true
|
|
|
221
214
|
//
|
|
222
215
|
//
|
|
223
216
|
|
|
224
|
-
/* harmony default export */ var
|
|
217
|
+
/* harmony default export */ var mainvue_type_script_lang_js = ({
|
|
225
218
|
name: 'ElHeader',
|
|
226
219
|
|
|
227
220
|
componentName: 'ElHeader',
|
|
@@ -233,8 +226,8 @@ render._withStripped = true
|
|
|
233
226
|
}
|
|
234
227
|
}
|
|
235
228
|
});
|
|
236
|
-
// CONCATENATED MODULE: ./packages/header/src/main.vue?vue&type=script&lang=js
|
|
237
|
-
/* harmony default export */ var
|
|
229
|
+
// CONCATENATED MODULE: ./packages/header/src/main.vue?vue&type=script&lang=js
|
|
230
|
+
/* harmony default export */ var src_mainvue_type_script_lang_js = (mainvue_type_script_lang_js);
|
|
238
231
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
239
232
|
var componentNormalizer = __webpack_require__(0);
|
|
240
233
|
|
|
@@ -247,7 +240,7 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
247
240
|
/* normalize component */
|
|
248
241
|
|
|
249
242
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
250
|
-
|
|
243
|
+
src_mainvue_type_script_lang_js,
|
|
251
244
|
render,
|
|
252
245
|
staticRenderFns,
|
|
253
246
|
false,
|
|
@@ -257,9 +250,6 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
257
250
|
|
|
258
251
|
)
|
|
259
252
|
|
|
260
|
-
/* hot reload */
|
|
261
|
-
if (false) { var api; }
|
|
262
|
-
component.options.__file = "packages/header/src/main.vue"
|
|
263
253
|
/* harmony default export */ var main = (component.exports);
|
|
264
254
|
// CONCATENATED MODULE: ./packages/header/index.js
|
|
265
255
|
|