cy-element-ui 1.0.57 → 1.0.59
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/lib/autocomplete.js +25 -25
- package/lib/calendar.js +12 -12
- package/lib/carousel-item.js +4 -4
- package/lib/carousel.js +4 -4
- package/lib/cascader-panel.js +23 -23
- package/lib/cascader.js +32 -32
- package/lib/checkbox-button.js +4 -4
- package/lib/checkbox-group.js +4 -4
- package/lib/checkbox.js +4 -4
- package/lib/collapse-item.js +8 -8
- package/lib/color-picker.js +21 -21
- package/lib/date-picker.js +78 -78
- package/lib/descriptions.js +2 -2
- package/lib/dialog.js +8 -8
- package/lib/directives/repeat-click.js +2 -2
- package/lib/drawer.js +6 -6
- package/lib/dropdown-item.js +4 -4
- package/lib/dropdown-menu.js +4 -4
- package/lib/dropdown.js +12 -12
- package/lib/element-ui.common.js +598 -916
- package/lib/empty.js +4 -4
- package/lib/fileUpload.js +30 -30
- package/lib/form-item.js +8 -8
- package/lib/form.js +4 -4
- package/lib/image.js +19 -19
- package/lib/index.js +1 -1
- package/lib/infinite-scroll.js +4 -4
- package/lib/input-number.js +15 -15
- package/lib/input.js +10 -10
- package/lib/loading.js +8 -8
- package/lib/locale/format.js +1 -1
- package/lib/locale/index.js +1 -1
- package/lib/menu-item.js +6 -6
- package/lib/menu.js +6 -6
- package/lib/message-box.js +20 -20
- package/lib/message.js +6 -6
- package/lib/mixins/locale.js +1 -1
- package/lib/mixins/migrating.js +2 -2
- package/lib/notification.js +6 -6
- package/lib/option-group.js +4 -4
- package/lib/option.js +6 -6
- package/lib/page-header.js +4 -4
- package/lib/pagination.js +10 -10
- package/lib/popconfirm.js +8 -8
- package/lib/popover.js +8 -8
- package/lib/radio-button.js +4 -4
- package/lib/radio-group.js +4 -4
- package/lib/radio.js +4 -4
- package/lib/rate.js +8 -8
- package/lib/scrollbar.js +8 -8
- package/lib/select.js +37 -37
- package/lib/slider.js +15 -15
- package/lib/statistic.js +4 -4
- package/lib/steps.js +4 -4
- package/lib/submenu.js +6 -6
- package/lib/switch.js +8 -8
- package/lib/tabDialog.js +6 -6
- package/lib/table-column.js +8 -8
- package/lib/table.js +41 -41
- package/lib/tabs.js +6 -6
- package/lib/theme-chalk/alert.css +1 -0
- package/lib/theme-chalk/aside.css +1 -0
- package/lib/theme-chalk/autocomplete.css +1 -0
- package/lib/theme-chalk/avatar.css +1 -0
- package/lib/theme-chalk/backtop.css +1 -0
- package/lib/theme-chalk/badge.css +1 -0
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/breadcrumb-item.css +0 -0
- package/lib/theme-chalk/breadcrumb.css +1 -0
- package/lib/theme-chalk/button-group.css +0 -0
- package/lib/theme-chalk/button.css +1 -0
- package/lib/theme-chalk/calendar.css +1 -0
- package/lib/theme-chalk/card.css +1 -0
- package/lib/theme-chalk/carousel-item.css +1 -0
- package/lib/theme-chalk/carousel.css +1 -0
- package/lib/theme-chalk/cascader-panel.css +1 -0
- package/lib/theme-chalk/cascader.css +1 -0
- package/lib/theme-chalk/checkbox-button.css +0 -0
- package/lib/theme-chalk/checkbox-group.css +0 -0
- package/lib/theme-chalk/checkbox.css +1 -0
- package/lib/theme-chalk/col.css +1 -0
- package/lib/theme-chalk/collapse-item.css +0 -0
- package/lib/theme-chalk/collapse.css +1 -0
- package/lib/theme-chalk/color-picker.css +1 -0
- package/lib/theme-chalk/container.css +1 -0
- package/lib/theme-chalk/date-picker.css +1 -0
- package/lib/theme-chalk/descriptions-item.css +1 -0
- package/lib/theme-chalk/descriptions.css +1 -0
- package/lib/theme-chalk/dialog.css +1 -0
- package/lib/theme-chalk/display.css +1 -0
- package/lib/theme-chalk/divider.css +1 -0
- package/lib/theme-chalk/drawer.css +1 -0
- package/lib/theme-chalk/dropdown-item.css +0 -0
- package/lib/theme-chalk/dropdown-menu.css +0 -0
- package/lib/theme-chalk/dropdown.css +1 -0
- package/lib/theme-chalk/element.css +1 -1
- package/lib/theme-chalk/empty.css +1 -0
- package/lib/theme-chalk/fileUpload.css +1 -1
- package/lib/theme-chalk/fonts/element-icons.ttf +0 -0
- package/lib/theme-chalk/fonts/element-icons.woff +0 -0
- package/lib/theme-chalk/footer.css +1 -0
- package/lib/theme-chalk/form-item.css +0 -0
- package/lib/theme-chalk/form.css +1 -0
- package/lib/theme-chalk/header.css +1 -0
- package/lib/theme-chalk/icon.css +1 -0
- package/lib/theme-chalk/image.css +1 -0
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/infinite-scroll.css +0 -0
- package/lib/theme-chalk/infiniteScroll.css +0 -0
- package/lib/theme-chalk/input-number.css +1 -0
- package/lib/theme-chalk/input.css +1 -0
- package/lib/theme-chalk/link.css +1 -0
- package/lib/theme-chalk/loading.css +1 -0
- package/lib/theme-chalk/main.css +1 -0
- package/lib/theme-chalk/menu-item-group.css +0 -0
- package/lib/theme-chalk/menu-item.css +0 -0
- package/lib/theme-chalk/menu.css +1 -0
- package/lib/theme-chalk/message-box.css +1 -0
- package/lib/theme-chalk/message.css +1 -0
- package/lib/theme-chalk/notification.css +1 -0
- package/lib/theme-chalk/option-group.css +1 -0
- package/lib/theme-chalk/option.css +1 -0
- package/lib/theme-chalk/page-header.css +1 -0
- package/lib/theme-chalk/pagination.css +1 -0
- package/lib/theme-chalk/popconfirm.css +1 -0
- package/lib/theme-chalk/popover.css +1 -0
- package/lib/theme-chalk/popper.css +1 -0
- package/lib/theme-chalk/progress.css +1 -0
- package/lib/theme-chalk/radio-button.css +1 -0
- package/lib/theme-chalk/radio-group.css +1 -0
- package/lib/theme-chalk/radio.css +1 -0
- package/lib/theme-chalk/rate.css +1 -0
- package/lib/theme-chalk/reset.css +1 -0
- package/lib/theme-chalk/result.css +1 -0
- package/lib/theme-chalk/row.css +1 -0
- package/lib/theme-chalk/scrollbar.css +1 -0
- package/lib/theme-chalk/select-dropdown.css +1 -0
- package/lib/theme-chalk/select.css +1 -0
- package/lib/theme-chalk/selectDisplayInput.css +1 -1
- package/lib/theme-chalk/skeleton-item.css +1 -0
- package/lib/theme-chalk/skeleton.css +1 -0
- package/lib/theme-chalk/slider.css +1 -0
- package/lib/theme-chalk/spinner.css +1 -0
- package/lib/theme-chalk/statistic.css +1 -0
- package/lib/theme-chalk/step.css +1 -0
- package/lib/theme-chalk/steps.css +1 -0
- package/lib/theme-chalk/subTitle.css +1 -1
- package/lib/theme-chalk/submenu.css +0 -0
- package/lib/theme-chalk/switch.css +1 -0
- package/lib/theme-chalk/tab-pane.css +0 -0
- package/lib/theme-chalk/tabDialog.css +1 -1
- package/lib/theme-chalk/table-column.css +1 -0
- package/lib/theme-chalk/table.css +1 -0
- package/lib/theme-chalk/tabs.css +1 -0
- package/lib/theme-chalk/tag.css +1 -0
- package/lib/theme-chalk/time-picker.css +1 -0
- package/lib/theme-chalk/time-select.css +1 -0
- package/lib/theme-chalk/timeline-item.css +1 -0
- package/lib/theme-chalk/timeline.css +1 -0
- package/lib/theme-chalk/tooltip.css +1 -0
- package/lib/theme-chalk/transfer.css +1 -0
- package/lib/theme-chalk/tree.css +1 -0
- package/lib/theme-chalk/treeSelect.css +1 -1
- package/lib/theme-chalk/upload.css +1 -0
- package/lib/time-picker.js +37 -37
- package/lib/time-select.js +20 -20
- package/lib/tooltip.js +6 -6
- package/lib/transfer.js +23 -23
- package/lib/transitions/collapse-transition.js +1 -1
- package/lib/tree.js +23 -23
- package/lib/treeSelect.js +20 -20
- package/lib/upload.js +11 -11
- package/lib/utils/clickoutside.js +1 -1
- package/lib/utils/date-util.js +2 -2
- package/lib/utils/popup/index.js +2 -2
- package/lib/utils/popup/popup-manager.js +1 -1
- package/lib/utils/util.js +1 -1
- package/lib/utils/vdom.js +1 -1
- package/lib/utils/vue-popper.js +1 -1
- package/package.json +2 -2
- package/packages/autocomplete/src/autocomplete-suggestions.vue +3 -3
- package/packages/autocomplete/src/autocomplete.vue +6 -6
- package/packages/calendar/src/date-table.vue +2 -2
- package/packages/calendar/src/main.vue +5 -5
- package/packages/carousel/src/item.vue +1 -1
- package/packages/carousel/src/main.vue +1 -1
- package/packages/cascader/src/cascader.vue +15 -15
- package/packages/cascader-panel/src/cascader-menu.vue +3 -3
- package/packages/cascader-panel/src/cascader-node.vue +3 -3
- package/packages/cascader-panel/src/cascader-panel.vue +4 -4
- package/packages/cascader-panel/src/node.js +2 -2
- package/packages/cascader-panel/src/store.js +1 -1
- package/packages/checkbox/src/checkbox-button.vue +1 -1
- package/packages/checkbox/src/checkbox-group.vue +1 -1
- package/packages/checkbox/src/checkbox.vue +1 -1
- package/packages/collapse/src/collapse-item.vue +3 -3
- package/packages/color-picker/src/components/picker-dropdown.vue +4 -4
- package/packages/color-picker/src/main.vue +2 -2
- package/packages/date-picker/src/basic/date-table.vue +3 -3
- package/packages/date-picker/src/basic/month-table.vue +4 -4
- package/packages/date-picker/src/basic/time-spinner.vue +3 -3
- package/packages/date-picker/src/basic/year-table.vue +3 -3
- package/packages/date-picker/src/panel/date-range.vue +5 -5
- package/packages/date-picker/src/panel/date.vue +5 -5
- package/packages/date-picker/src/panel/month-range.vue +5 -5
- package/packages/date-picker/src/panel/time-range.vue +2 -2
- package/packages/date-picker/src/panel/time-select.vue +2 -2
- package/packages/date-picker/src/panel/time.vue +2 -2
- package/packages/date-picker/src/picker.vue +6 -6
- package/packages/descriptions/src/index.js +1 -1
- package/packages/dialog/src/component.vue +3 -3
- package/packages/drawer/src/main.vue +2 -2
- package/packages/dropdown/src/dropdown-item.vue +1 -1
- package/packages/dropdown/src/dropdown-menu.vue +1 -1
- package/packages/dropdown/src/dropdown.vue +6 -6
- package/packages/empty/src/index.vue +1 -1
- package/packages/fileUpload/src/main.vue +430 -430
- package/packages/form/src/form-item.vue +3 -3
- package/packages/form/src/form.vue +1 -1
- package/packages/image/src/image-viewer.vue +3 -3
- package/packages/image/src/main.vue +3 -3
- package/packages/infinite-scroll/src/main.js +2 -2
- package/packages/input/src/input.vue +4 -4
- package/packages/input-number/src/input-number.vue +3 -3
- package/packages/loading/src/directive.js +3 -3
- package/packages/loading/src/index.js +4 -4
- package/packages/menu/src/menu-item.vue +2 -2
- package/packages/menu/src/menu.vue +4 -4
- package/packages/menu/src/submenu.vue +3 -3
- package/packages/message/src/main.js +3 -3
- package/packages/message-box/src/main.js +2 -2
- package/packages/message-box/src/main.vue +7 -7
- package/packages/notification/src/main.js +3 -3
- package/packages/page-header/src/main.vue +1 -1
- package/packages/pagination/src/pagination.js +5 -5
- package/packages/popconfirm/src/main.vue +3 -3
- package/packages/popover/src/main.vue +4 -4
- package/packages/radio/src/radio-button.vue +1 -1
- package/packages/radio/src/radio-group.vue +1 -1
- package/packages/radio/src/radio.vue +1 -1
- package/packages/rate/src/main.vue +3 -3
- package/packages/scrollbar/src/bar.js +1 -1
- package/packages/scrollbar/src/main.js +3 -3
- package/packages/select/src/option-group.vue +1 -1
- package/packages/select/src/option.vue +2 -2
- package/packages/select/src/select-dropdown.vue +1 -1
- package/packages/select/src/select.vue +11 -11
- package/packages/selectDisplayInput/src/main.vue +75 -75
- package/packages/slider/src/button.vue +1 -1
- package/packages/slider/src/main.vue +2 -2
- package/packages/statistic/src/main.vue +1 -1
- package/packages/steps/src/steps.vue +1 -1
- package/packages/switch/src/component.vue +3 -3
- package/packages/tabDialog/src/main.vue +277 -277
- package/packages/table/src/config.js +1 -1
- package/packages/table/src/filter-panel.vue +7 -7
- package/packages/table/src/store/current.js +1 -1
- package/packages/table/src/store/index.js +1 -1
- package/packages/table/src/store/watcher.js +1 -1
- package/packages/table/src/table-body.js +4 -4
- package/packages/table/src/table-column.js +1 -1
- package/packages/table/src/table-header.js +2 -2
- package/packages/table/src/table-layout.js +1 -1
- package/packages/table/src/table-row.js +1 -1
- package/packages/table/src/table.vue +5 -5
- package/packages/table/src/util.js +1 -1
- package/packages/tabs/src/tab-bar.vue +1 -1
- package/packages/tabs/src/tab-nav.vue +1 -1
- package/packages/tooltip/src/main.js +3 -3
- package/packages/transfer/src/main.vue +4 -4
- package/packages/transfer/src/transfer-panel.vue +4 -4
- package/packages/tree/src/model/node.js +2 -2
- package/packages/tree/src/tree-node.vue +3 -3
- package/packages/tree/src/tree.vue +3 -3
- package/packages/treeSelect/src/main.vue +325 -325
- package/packages/upload/src/index.vue +2 -2
- package/packages/upload/src/upload-list.vue +2 -2
- package/src/directives/repeat-click.js +2 -2
- package/src/index.js +1 -1
- package/src/locale/format.js +1 -1
- package/src/locale/index.js +1 -1
- package/src/mixins/locale.js +1 -1
- package/src/mixins/migrating.js +2 -2
- package/src/transitions/collapse-transition.js +1 -1
- package/src/utils/clickoutside.js +1 -1
- package/src/utils/date-util.js +2 -2
- package/src/utils/popup/index.js +2 -2
- package/src/utils/popup/popup-manager.js +1 -1
- package/src/utils/util.js +1 -1
- package/src/utils/vdom.js +1 -1
- package/src/utils/vue-popper.js +1 -1
package/lib/empty.js
CHANGED
|
@@ -195,7 +195,7 @@ function normalizeComponent(
|
|
|
195
195
|
/***/ 20:
|
|
196
196
|
/***/ (function(module, exports) {
|
|
197
197
|
|
|
198
|
-
module.exports = require("
|
|
198
|
+
module.exports = require("element-ui/lib/locale");
|
|
199
199
|
|
|
200
200
|
/***/ }),
|
|
201
201
|
|
|
@@ -206,7 +206,7 @@ module.exports = require("cy-element-ui/lib/locale");
|
|
|
206
206
|
// ESM COMPAT FLAG
|
|
207
207
|
__webpack_require__.r(__webpack_exports__);
|
|
208
208
|
|
|
209
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/empty/src/index.vue?vue&type=template&id=
|
|
209
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/empty/src/index.vue?vue&type=template&id=6ae1c749
|
|
210
210
|
var render = function render() {
|
|
211
211
|
var _vm = this,
|
|
212
212
|
_c = _vm._self._c
|
|
@@ -244,7 +244,7 @@ var staticRenderFns = []
|
|
|
244
244
|
render._withStripped = true
|
|
245
245
|
|
|
246
246
|
|
|
247
|
-
// CONCATENATED MODULE: ./packages/empty/src/index.vue?vue&type=template&id=
|
|
247
|
+
// CONCATENATED MODULE: ./packages/empty/src/index.vue?vue&type=template&id=6ae1c749
|
|
248
248
|
|
|
249
249
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/empty/src/img-empty.vue?vue&type=template&id=125f7b71
|
|
250
250
|
var img_emptyvue_type_template_id_125f7b71_render = function render() {
|
|
@@ -520,7 +520,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
520
520
|
)
|
|
521
521
|
|
|
522
522
|
/* harmony default export */ var img_empty = (component.exports);
|
|
523
|
-
// EXTERNAL MODULE: external "
|
|
523
|
+
// EXTERNAL MODULE: external "element-ui/lib/locale"
|
|
524
524
|
var locale_ = __webpack_require__(20);
|
|
525
525
|
|
|
526
526
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/empty/src/index.vue?vue&type=script&lang=js
|
package/lib/fileUpload.js
CHANGED
|
@@ -195,7 +195,7 @@ function normalizeComponent(
|
|
|
195
195
|
/***/ 13:
|
|
196
196
|
/***/ (function(module, exports) {
|
|
197
197
|
|
|
198
|
-
module.exports = require("
|
|
198
|
+
module.exports = require("element-ui/lib/button");
|
|
199
199
|
|
|
200
200
|
/***/ }),
|
|
201
201
|
|
|
@@ -206,7 +206,7 @@ module.exports = require("cy-element-ui/lib/button");
|
|
|
206
206
|
// ESM COMPAT FLAG
|
|
207
207
|
__webpack_require__.r(__webpack_exports__);
|
|
208
208
|
|
|
209
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/fileUpload/src/main.vue?vue&type=template&id=
|
|
209
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/fileUpload/src/main.vue?vue&type=template&id=dd74605c
|
|
210
210
|
var render = function render() {
|
|
211
211
|
var _vm = this,
|
|
212
212
|
_c = _vm._self._c
|
|
@@ -419,17 +419,17 @@ var staticRenderFns = []
|
|
|
419
419
|
render._withStripped = true
|
|
420
420
|
|
|
421
421
|
|
|
422
|
-
// CONCATENATED MODULE: ./packages/fileUpload/src/main.vue?vue&type=template&id=
|
|
422
|
+
// CONCATENATED MODULE: ./packages/fileUpload/src/main.vue?vue&type=template&id=dd74605c
|
|
423
423
|
|
|
424
|
-
// EXTERNAL MODULE: external "
|
|
424
|
+
// EXTERNAL MODULE: external "element-ui/lib/upload"
|
|
425
425
|
var upload_ = __webpack_require__(55);
|
|
426
426
|
var upload_default = /*#__PURE__*/__webpack_require__.n(upload_);
|
|
427
427
|
|
|
428
|
-
// EXTERNAL MODULE: external "
|
|
428
|
+
// EXTERNAL MODULE: external "element-ui/lib/link"
|
|
429
429
|
var link_ = __webpack_require__(56);
|
|
430
430
|
var link_default = /*#__PURE__*/__webpack_require__.n(link_);
|
|
431
431
|
|
|
432
|
-
// EXTERNAL MODULE: external "
|
|
432
|
+
// EXTERNAL MODULE: external "element-ui/lib/button"
|
|
433
433
|
var button_ = __webpack_require__(13);
|
|
434
434
|
var button_default = /*#__PURE__*/__webpack_require__.n(button_);
|
|
435
435
|
|
|
@@ -641,8 +641,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
641
641
|
}
|
|
642
642
|
},
|
|
643
643
|
methods: {
|
|
644
|
-
/**
|
|
645
|
-
* 上传前校检格式和大小
|
|
644
|
+
/**
|
|
645
|
+
* 上传前校检格式和大小
|
|
646
646
|
*/
|
|
647
647
|
handleBeforeUpload: function handleBeforeUpload(file) {
|
|
648
648
|
this.downloadLoading = true;
|
|
@@ -668,8 +668,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
668
668
|
},
|
|
669
669
|
|
|
670
670
|
|
|
671
|
-
/**
|
|
672
|
-
* 文件个数超出
|
|
671
|
+
/**
|
|
672
|
+
* 文件个数超出
|
|
673
673
|
*/
|
|
674
674
|
handleExceed: function handleExceed() {
|
|
675
675
|
if (this.limit === 1) {
|
|
@@ -681,8 +681,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
681
681
|
},
|
|
682
682
|
|
|
683
683
|
|
|
684
|
-
/**
|
|
685
|
-
* 上传失败
|
|
684
|
+
/**
|
|
685
|
+
* 上传失败
|
|
686
686
|
*/
|
|
687
687
|
handleUploadError: function handleUploadError(err) {
|
|
688
688
|
this.$message.error('上传失败, 请重试');
|
|
@@ -690,8 +690,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
690
690
|
},
|
|
691
691
|
|
|
692
692
|
|
|
693
|
-
/**
|
|
694
|
-
* 上传成功回调
|
|
693
|
+
/**
|
|
694
|
+
* 上传成功回调
|
|
695
695
|
*/
|
|
696
696
|
handleUploadSuccess: function handleUploadSuccess(res, file) {
|
|
697
697
|
if (res.code !== 200) {
|
|
@@ -705,8 +705,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
705
705
|
},
|
|
706
706
|
|
|
707
707
|
|
|
708
|
-
/**
|
|
709
|
-
* 删除文件
|
|
708
|
+
/**
|
|
709
|
+
* 删除文件
|
|
710
710
|
*/
|
|
711
711
|
handleDelete: function handleDelete(index) {
|
|
712
712
|
var _this = this;
|
|
@@ -761,8 +761,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
761
761
|
},
|
|
762
762
|
|
|
763
763
|
|
|
764
|
-
/**
|
|
765
|
-
* 获取文件名称
|
|
764
|
+
/**
|
|
765
|
+
* 获取文件名称
|
|
766
766
|
*/
|
|
767
767
|
getFileName: function getFileName(name) {
|
|
768
768
|
if (name.lastIndexOf('/') > -1) {
|
|
@@ -773,8 +773,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
773
773
|
},
|
|
774
774
|
|
|
775
775
|
|
|
776
|
-
/**
|
|
777
|
-
* 获取文件类型,后缀
|
|
776
|
+
/**
|
|
777
|
+
* 获取文件类型,后缀
|
|
778
778
|
*/
|
|
779
779
|
getFileExtension: function getFileExtension(name) {
|
|
780
780
|
if (name.lastIndexOf('.') > -1) {
|
|
@@ -784,16 +784,16 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
784
784
|
},
|
|
785
785
|
|
|
786
786
|
|
|
787
|
-
/**
|
|
788
|
-
* 查看 预览
|
|
787
|
+
/**
|
|
788
|
+
* 查看 预览
|
|
789
789
|
*/
|
|
790
790
|
previewFile: function previewFile(file) {
|
|
791
791
|
window.open(this.getFilePreviewUrl(file));
|
|
792
792
|
},
|
|
793
793
|
|
|
794
794
|
|
|
795
|
-
/**
|
|
796
|
-
* 附件下载
|
|
795
|
+
/**
|
|
796
|
+
* 附件下载
|
|
797
797
|
* */
|
|
798
798
|
downloadAttach: function downloadAttach(file) {
|
|
799
799
|
var _this2 = this;
|
|
@@ -828,8 +828,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
828
828
|
},
|
|
829
829
|
|
|
830
830
|
|
|
831
|
-
/**
|
|
832
|
-
* 下载模板操作
|
|
831
|
+
/**
|
|
832
|
+
* 下载模板操作
|
|
833
833
|
*/
|
|
834
834
|
importTemplate: function importTemplate() {
|
|
835
835
|
var link = document.createElement('a');
|
|
@@ -842,8 +842,8 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
842
842
|
},
|
|
843
843
|
|
|
844
844
|
|
|
845
|
-
/**
|
|
846
|
-
* 自定义生成UUID
|
|
845
|
+
/**
|
|
846
|
+
* 自定义生成UUID
|
|
847
847
|
*/
|
|
848
848
|
createUUID: function createUUID() {
|
|
849
849
|
return 'xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx'.replace(/[x]/g, function (c) {
|
|
@@ -894,14 +894,14 @@ main.install = function (Vue) {
|
|
|
894
894
|
/***/ 55:
|
|
895
895
|
/***/ (function(module, exports) {
|
|
896
896
|
|
|
897
|
-
module.exports = require("
|
|
897
|
+
module.exports = require("element-ui/lib/upload");
|
|
898
898
|
|
|
899
899
|
/***/ }),
|
|
900
900
|
|
|
901
901
|
/***/ 56:
|
|
902
902
|
/***/ (function(module, exports) {
|
|
903
903
|
|
|
904
|
-
module.exports = require("
|
|
904
|
+
module.exports = require("element-ui/lib/link");
|
|
905
905
|
|
|
906
906
|
/***/ })
|
|
907
907
|
|
package/lib/form-item.js
CHANGED
|
@@ -195,14 +195,14 @@ function normalizeComponent(
|
|
|
195
195
|
/***/ 3:
|
|
196
196
|
/***/ (function(module, exports) {
|
|
197
197
|
|
|
198
|
-
module.exports = require("
|
|
198
|
+
module.exports = require("element-ui/lib/utils/util");
|
|
199
199
|
|
|
200
200
|
/***/ }),
|
|
201
201
|
|
|
202
202
|
/***/ 4:
|
|
203
203
|
/***/ (function(module, exports) {
|
|
204
204
|
|
|
205
|
-
module.exports = require("
|
|
205
|
+
module.exports = require("element-ui/lib/mixins/emitter");
|
|
206
206
|
|
|
207
207
|
/***/ }),
|
|
208
208
|
|
|
@@ -220,7 +220,7 @@ module.exports = require("async-validator");
|
|
|
220
220
|
// ESM COMPAT FLAG
|
|
221
221
|
__webpack_require__.r(__webpack_exports__);
|
|
222
222
|
|
|
223
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form-item.vue?vue&type=template&id=
|
|
223
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form-item.vue?vue&type=template&id=cdfbabd4
|
|
224
224
|
var render = function render() {
|
|
225
225
|
var _vm = this,
|
|
226
226
|
_c = _vm._self._c
|
|
@@ -323,21 +323,21 @@ var staticRenderFns = []
|
|
|
323
323
|
render._withStripped = true
|
|
324
324
|
|
|
325
325
|
|
|
326
|
-
// CONCATENATED MODULE: ./packages/form/src/form-item.vue?vue&type=template&id=
|
|
326
|
+
// CONCATENATED MODULE: ./packages/form/src/form-item.vue?vue&type=template&id=cdfbabd4
|
|
327
327
|
|
|
328
328
|
// EXTERNAL MODULE: external "async-validator"
|
|
329
329
|
var external_async_validator_ = __webpack_require__(50);
|
|
330
330
|
var external_async_validator_default = /*#__PURE__*/__webpack_require__.n(external_async_validator_);
|
|
331
331
|
|
|
332
|
-
// EXTERNAL MODULE: external "
|
|
332
|
+
// EXTERNAL MODULE: external "element-ui/lib/mixins/emitter"
|
|
333
333
|
var emitter_ = __webpack_require__(4);
|
|
334
334
|
var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
335
335
|
|
|
336
|
-
// EXTERNAL MODULE: external "
|
|
336
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/merge"
|
|
337
337
|
var merge_ = __webpack_require__(9);
|
|
338
338
|
var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
|
|
339
339
|
|
|
340
|
-
// EXTERNAL MODULE: external "
|
|
340
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
341
341
|
var util_ = __webpack_require__(3);
|
|
342
342
|
|
|
343
343
|
// 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
|
|
@@ -780,7 +780,7 @@ form_item.install = function (Vue) {
|
|
|
780
780
|
/***/ 9:
|
|
781
781
|
/***/ (function(module, exports) {
|
|
782
782
|
|
|
783
|
-
module.exports = require("
|
|
783
|
+
module.exports = require("element-ui/lib/utils/merge");
|
|
784
784
|
|
|
785
785
|
/***/ })
|
|
786
786
|
|
package/lib/form.js
CHANGED
|
@@ -199,7 +199,7 @@ function normalizeComponent(
|
|
|
199
199
|
// ESM COMPAT FLAG
|
|
200
200
|
__webpack_require__.r(__webpack_exports__);
|
|
201
201
|
|
|
202
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form.vue?vue&type=template&id=
|
|
202
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/form.vue?vue&type=template&id=c340af84
|
|
203
203
|
var render = function render() {
|
|
204
204
|
var _vm = this,
|
|
205
205
|
_c = _vm._self._c
|
|
@@ -220,9 +220,9 @@ var staticRenderFns = []
|
|
|
220
220
|
render._withStripped = true
|
|
221
221
|
|
|
222
222
|
|
|
223
|
-
// CONCATENATED MODULE: ./packages/form/src/form.vue?vue&type=template&id=
|
|
223
|
+
// CONCATENATED MODULE: ./packages/form/src/form.vue?vue&type=template&id=c340af84
|
|
224
224
|
|
|
225
|
-
// EXTERNAL MODULE: external "
|
|
225
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/merge"
|
|
226
226
|
var merge_ = __webpack_require__(9);
|
|
227
227
|
var merge_default = /*#__PURE__*/__webpack_require__.n(merge_);
|
|
228
228
|
|
|
@@ -450,7 +450,7 @@ src_form.install = function (Vue) {
|
|
|
450
450
|
/***/ 9:
|
|
451
451
|
/***/ (function(module, exports) {
|
|
452
452
|
|
|
453
|
-
module.exports = require("
|
|
453
|
+
module.exports = require("element-ui/lib/utils/merge");
|
|
454
454
|
|
|
455
455
|
/***/ })
|
|
456
456
|
|
package/lib/image.js
CHANGED
|
@@ -195,21 +195,21 @@ function normalizeComponent(
|
|
|
195
195
|
/***/ 14:
|
|
196
196
|
/***/ (function(module, exports) {
|
|
197
197
|
|
|
198
|
-
module.exports = require("
|
|
198
|
+
module.exports = require("element-ui/lib/utils/popup");
|
|
199
199
|
|
|
200
200
|
/***/ }),
|
|
201
201
|
|
|
202
202
|
/***/ 18:
|
|
203
203
|
/***/ (function(module, exports) {
|
|
204
204
|
|
|
205
|
-
module.exports = require("
|
|
205
|
+
module.exports = require("element-ui/lib/utils/types");
|
|
206
206
|
|
|
207
207
|
/***/ }),
|
|
208
208
|
|
|
209
209
|
/***/ 2:
|
|
210
210
|
/***/ (function(module, exports) {
|
|
211
211
|
|
|
212
|
-
module.exports = require("
|
|
212
|
+
module.exports = require("element-ui/lib/utils/dom");
|
|
213
213
|
|
|
214
214
|
/***/ }),
|
|
215
215
|
|
|
@@ -223,14 +223,14 @@ module.exports = require("throttle-debounce/throttle");
|
|
|
223
223
|
/***/ 3:
|
|
224
224
|
/***/ (function(module, exports) {
|
|
225
225
|
|
|
226
|
-
module.exports = require("
|
|
226
|
+
module.exports = require("element-ui/lib/utils/util");
|
|
227
227
|
|
|
228
228
|
/***/ }),
|
|
229
229
|
|
|
230
230
|
/***/ 6:
|
|
231
231
|
/***/ (function(module, exports) {
|
|
232
232
|
|
|
233
|
-
module.exports = require("
|
|
233
|
+
module.exports = require("element-ui/lib/mixins/locale");
|
|
234
234
|
|
|
235
235
|
/***/ }),
|
|
236
236
|
|
|
@@ -241,7 +241,7 @@ module.exports = require("cy-element-ui/lib/mixins/locale");
|
|
|
241
241
|
// ESM COMPAT FLAG
|
|
242
242
|
__webpack_require__.r(__webpack_exports__);
|
|
243
243
|
|
|
244
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/image/src/main.vue?vue&type=template&id=
|
|
244
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/image/src/main.vue?vue&type=template&id=4e908bdb
|
|
245
245
|
var render = function render() {
|
|
246
246
|
var _vm = this,
|
|
247
247
|
_c = _vm._self._c
|
|
@@ -304,10 +304,10 @@ var staticRenderFns = []
|
|
|
304
304
|
render._withStripped = true
|
|
305
305
|
|
|
306
306
|
|
|
307
|
-
// CONCATENATED MODULE: ./packages/image/src/main.vue?vue&type=template&id=
|
|
307
|
+
// CONCATENATED MODULE: ./packages/image/src/main.vue?vue&type=template&id=4e908bdb
|
|
308
308
|
|
|
309
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/image/src/image-viewer.vue?vue&type=template&id=
|
|
310
|
-
var
|
|
309
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./packages/image/src/image-viewer.vue?vue&type=template&id=1cbbb3b9
|
|
310
|
+
var image_viewervue_type_template_id_1cbbb3b9_render = function render() {
|
|
311
311
|
var _vm = this,
|
|
312
312
|
_c = _vm._self._c
|
|
313
313
|
return _c("transition", { attrs: { name: "viewer-fade" } }, [
|
|
@@ -429,19 +429,19 @@ var image_viewervue_type_template_id_15f7ca48_render = function render() {
|
|
|
429
429
|
),
|
|
430
430
|
])
|
|
431
431
|
}
|
|
432
|
-
var
|
|
433
|
-
|
|
432
|
+
var image_viewervue_type_template_id_1cbbb3b9_staticRenderFns = []
|
|
433
|
+
image_viewervue_type_template_id_1cbbb3b9_render._withStripped = true
|
|
434
434
|
|
|
435
435
|
|
|
436
|
-
// CONCATENATED MODULE: ./packages/image/src/image-viewer.vue?vue&type=template&id=
|
|
436
|
+
// CONCATENATED MODULE: ./packages/image/src/image-viewer.vue?vue&type=template&id=1cbbb3b9
|
|
437
437
|
|
|
438
|
-
// EXTERNAL MODULE: external "
|
|
438
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/dom"
|
|
439
439
|
var dom_ = __webpack_require__(2);
|
|
440
440
|
|
|
441
|
-
// EXTERNAL MODULE: external "
|
|
441
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
442
442
|
var util_ = __webpack_require__(3);
|
|
443
443
|
|
|
444
|
-
// EXTERNAL MODULE: external "
|
|
444
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/popup"
|
|
445
445
|
var popup_ = __webpack_require__(14);
|
|
446
446
|
|
|
447
447
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/image/src/image-viewer.vue?vue&type=script&lang=js
|
|
@@ -762,8 +762,8 @@ var componentNormalizer = __webpack_require__(0);
|
|
|
762
762
|
|
|
763
763
|
var component = Object(componentNormalizer["a" /* default */])(
|
|
764
764
|
src_image_viewervue_type_script_lang_js,
|
|
765
|
-
|
|
766
|
-
|
|
765
|
+
image_viewervue_type_template_id_1cbbb3b9_render,
|
|
766
|
+
image_viewervue_type_template_id_1cbbb3b9_staticRenderFns,
|
|
767
767
|
false,
|
|
768
768
|
null,
|
|
769
769
|
null,
|
|
@@ -772,11 +772,11 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
772
772
|
)
|
|
773
773
|
|
|
774
774
|
/* harmony default export */ var image_viewer = (component.exports);
|
|
775
|
-
// EXTERNAL MODULE: external "
|
|
775
|
+
// EXTERNAL MODULE: external "element-ui/lib/mixins/locale"
|
|
776
776
|
var locale_ = __webpack_require__(6);
|
|
777
777
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
778
778
|
|
|
779
|
-
// EXTERNAL MODULE: external "
|
|
779
|
+
// EXTERNAL MODULE: external "element-ui/lib/utils/types"
|
|
780
780
|
var types_ = __webpack_require__(18);
|
|
781
781
|
|
|
782
782
|
// EXTERNAL MODULE: external "throttle-debounce/throttle"
|