element-ui-root 2.2.0 → 2.2.3

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/dist/index.umd.js CHANGED
@@ -9790,6 +9790,55 @@ module.exports = _default;
9790
9790
 
9791
9791
  /***/ }),
9792
9792
 
9793
+ /***/ "167f":
9794
+ /***/ (function(module, exports) {
9795
+
9796
+ //
9797
+ //
9798
+ //
9799
+ //
9800
+ //
9801
+ //
9802
+ // import 'quill/dist/quill.core.css'
9803
+ // import 'quill/dist/quill.snow.css'
9804
+ // import 'quill/dist/quill.bubble.css'
9805
+ // import { quillEditor } from 'vue-quill-editor';
9806
+ // export default {
9807
+ // props: {
9808
+ // height: { type: String, default: () => '32vh' },
9809
+ // config: { type: Object, default: () => ({}) },
9810
+ // values: { type: String, default: () => '' },
9811
+ // },
9812
+ // components: {
9813
+ // quillEditor
9814
+ // },
9815
+ // data() {
9816
+ // return {
9817
+ // content: this.values,
9818
+ // option: {
9819
+ // placeholder: '编辑文章内容',
9820
+ // ...this.config
9821
+ // },
9822
+ // }
9823
+ // },
9824
+ // mounted() {
9825
+ // this.create();
9826
+ // },
9827
+ // methods: {
9828
+ // create() {
9829
+ // const container = document.getElementsByClassName('ql-editor')[0];
9830
+ // container && (container.style.minHeight = this.height);
9831
+ // },
9832
+ // change({ editor, html, text }) {
9833
+ // this.content = html;
9834
+ // this.$emit('input', html);
9835
+ // this.$emit('change', { html, text });
9836
+ // },
9837
+ // }
9838
+ // }
9839
+
9840
+ /***/ }),
9841
+
9793
9842
  /***/ "16b0":
9794
9843
  /***/ (function(module, exports, __webpack_require__) {
9795
9844
 
@@ -12849,6 +12898,10 @@ var map = {
12849
12898
  "./Aecharts/index.vue": "65d8",
12850
12899
  "./Aecharts/tools": "a0e9",
12851
12900
  "./Aecharts/tools.js": "a0e9",
12901
+ "./Aeditor/QuillEditor": "8958",
12902
+ "./Aeditor/QuillEditor/": "8958",
12903
+ "./Aeditor/QuillEditor/index": "8958",
12904
+ "./Aeditor/QuillEditor/index.vue": "8958",
12852
12905
  "./Aeditor/Ueditor": "2938",
12853
12906
  "./Aeditor/Ueditor/": "2938",
12854
12907
  "./Aeditor/Ueditor/index": "2938",
@@ -13366,12 +13419,14 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
13366
13419
  if (Object.keys(this.config).length > 0) {
13367
13420
  // 格式化属性为模糊查询属性
13368
13421
  for (let a in this.config) {
13369
- if (this.config[a] != '' && this.config[a].like) data[a] = '%' + this.form[a] + '%';
13370
-
13371
- if (this.config[a] != '' && (this.config[a].than || this.config[a].range || this.config[a].scope)) {
13372
- data[`${a}LE`] = this.form[`${a}LE`];
13373
- data[`${a}GE`] = this.form[`${a}GE`];
13374
- } else data[a] = this.form[a];
13422
+ if (this.config[a] != '' && this.config[a].like && this.form[a] != '' && this.form[a] != null && this.form[a] != undefined) {
13423
+ data[a] = '%' + this.form[a] + '%';
13424
+ } else {
13425
+ if (this.config[a] != '' && (this.config[a].than || this.config[a].range || this.config[a].scope)) {
13426
+ data[`${a}LE`] = this.form[`${a}LE`];
13427
+ data[`${a}GE`] = this.form[`${a}GE`];
13428
+ } else data[a] = this.form[a];
13429
+ }
13375
13430
  }
13376
13431
  }
13377
13432
 
@@ -32670,34 +32725,33 @@ __webpack_require__.r(__webpack_exports__);
32670
32725
  /* harmony default export */ __webpack_exports__["default"] = ({
32671
32726
  name: 'Bcard',
32672
32727
  props: {
32673
- text: {
32674
- type: String,
32675
- default: () => ''
32676
- },
32677
- path: {
32728
+ title: {
32678
32729
  type: String,
32679
- default: () => ''
32730
+ default: () => '编辑'
32680
32731
  }
32681
32732
  },
32682
32733
  methods: {
32683
- select(path) {
32684
- this.$emit('select', path);
32734
+ cancel() {
32735
+ this.$emit('cancel');
32685
32736
  }
32686
32737
 
32687
32738
  },
32688
32739
 
32689
32740
  render() {
32690
32741
  const h = arguments[0];
32691
- return h("a", {
32692
- "class": "b-card",
32742
+ return h("div", {
32743
+ "class": "b-card"
32744
+ }, [h("el-card", [(this.title != '' || this.$listeners.cancel) && h("div", {
32745
+ "slot": "header",
32746
+ "class": "clearfix"
32747
+ }, [this.title != '' && h("span", [this.title]), this.$listeners.cancel && h("el-button", {
32748
+ "attrs": {
32749
+ "type": "text"
32750
+ },
32693
32751
  "on": {
32694
- "click": () => this.select(this.path)
32752
+ "click": this.cancel
32695
32753
  }
32696
- }, [h("div", {
32697
- "class": "b-card-container"
32698
- }, [h("div", [h("i", {
32699
- "class": "el-icon-edit-outline"
32700
- }), this.text]), h("div", [this.$slots.default])])]);
32754
+ }, ["\u8FD4\u56DE ", h("code", [`>>`])])]), this.$slots.default])]);
32701
32755
  }
32702
32756
 
32703
32757
  });
@@ -54229,6 +54283,37 @@ module.exports = _default;
54229
54283
 
54230
54284
  /***/ }),
54231
54285
 
54286
+ /***/ "8958":
54287
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
54288
+
54289
+ "use strict";
54290
+ __webpack_require__.r(__webpack_exports__);
54291
+ /* harmony import */ var _index_vue_vue_type_template_id_51d7c90e___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a4e9");
54292
+ /* harmony import */ var _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("ac45");
54293
+ /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
54294
+ /* harmony import */ var _node_modules_vue_loader_15_9_8_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("cba8");
54295
+
54296
+
54297
+
54298
+
54299
+
54300
+ /* normalize component */
54301
+
54302
+ var component = Object(_node_modules_vue_loader_15_9_8_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "a"])(
54303
+ _index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
54304
+ _index_vue_vue_type_template_id_51d7c90e___WEBPACK_IMPORTED_MODULE_0__[/* render */ "a"],
54305
+ _index_vue_vue_type_template_id_51d7c90e___WEBPACK_IMPORTED_MODULE_0__[/* staticRenderFns */ "b"],
54306
+ false,
54307
+ null,
54308
+ null,
54309
+ null
54310
+
54311
+ )
54312
+
54313
+ /* harmony default export */ __webpack_exports__["default"] = (component.exports);
54314
+
54315
+ /***/ }),
54316
+
54232
54317
  /***/ "898d":
54233
54318
  /***/ (function(module, exports, __webpack_require__) {
54234
54319
 
@@ -124174,6 +124259,25 @@ var _default = Path.extend({
124174
124259
 
124175
124260
  module.exports = _default;
124176
124261
 
124262
+ /***/ }),
124263
+
124264
+ /***/ "a4e9":
124265
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
124266
+
124267
+ "use strict";
124268
+
124269
+ // EXPORTS
124270
+ __webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ render; });
124271
+ __webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ staticRenderFns; });
124272
+
124273
+ // CONCATENATED MODULE: ./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d5619bce-vue-loader-template"}!./node_modules/_vue-loader@15.9.8@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_cache-loader@4.1.0@cache-loader/dist/cjs.js??ref--1-0!./node_modules/_vue-loader@15.9.8@vue-loader/lib??vue-loader-options!./src/components/Aeditor/QuillEditor/index.vue?vue&type=template&id=51d7c90e&
124274
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"a-editor"})}
124275
+ var staticRenderFns = []
124276
+
124277
+
124278
+ // CONCATENATED MODULE: ./src/components/Aeditor/QuillEditor/index.vue?vue&type=template&id=51d7c90e&
124279
+
124280
+
124177
124281
  /***/ }),
124178
124282
 
124179
124283
  /***/ "a547":
@@ -127793,6 +127897,18 @@ __webpack_require__.r(__webpack_exports__);
127793
127897
 
127794
127898
  /***/ }),
127795
127899
 
127900
+ /***/ "ac45":
127901
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
127902
+
127903
+ "use strict";
127904
+ __webpack_require__.r(__webpack_exports__);
127905
+ /* harmony import */ var _node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_13_0_node_modules_thread_loader_2_1_3_thread_loader_dist_cjs_js_node_modules_babel_loader_8_2_5_babel_loader_lib_index_js_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("167f");
127906
+ /* harmony import */ var _node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_13_0_node_modules_thread_loader_2_1_3_thread_loader_dist_cjs_js_node_modules_babel_loader_8_2_5_babel_loader_lib_index_js_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_13_0_node_modules_thread_loader_2_1_3_thread_loader_dist_cjs_js_node_modules_babel_loader_8_2_5_babel_loader_lib_index_js_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__);
127907
+ /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_13_0_node_modules_thread_loader_2_1_3_thread_loader_dist_cjs_js_node_modules_babel_loader_8_2_5_babel_loader_lib_index_js_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_13_0_node_modules_thread_loader_2_1_3_thread_loader_dist_cjs_js_node_modules_babel_loader_8_2_5_babel_loader_lib_index_js_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
127908
+ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_13_0_node_modules_thread_loader_2_1_3_thread_loader_dist_cjs_js_node_modules_babel_loader_8_2_5_babel_loader_lib_index_js_node_modules_cache_loader_4_1_0_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_15_9_8_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0___default.a);
127909
+
127910
+ /***/ }),
127911
+
127796
127912
  /***/ "acc4":
127797
127913
  /***/ (function(module, exports, __webpack_require__) {
127798
127914
 
@@ -130386,7 +130502,7 @@ __webpack_require__.r(__webpack_exports__);
130386
130502
  /* harmony import */ var _index_css__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_index_css__WEBPACK_IMPORTED_MODULE_2__);
130387
130503
 
130388
130504
 
130389
- // const AformItem = () => import('@/components/AformItem');
130505
+
130390
130506
 
130391
130507
  const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__("2234")]; (a).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}.bind(this)).catch(__webpack_require__.oe);
130392
130508
 
@@ -132838,12 +132954,12 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
132838
132954
  }
132839
132955
  }]), [h("el-row", {
132840
132956
  "attrs": {
132841
- "gutter": this.config[a].span && this.config[a].span != '' || this.cols != '' ? parseInt(this.gutter) : 0
132957
+ "gutter": this.cols != '' ? this.gutter != '' ? parseInt(this.gutter) : 0 : 0
132842
132958
  }
132843
132959
  }, [Object.keys(this.config).map((a, b) => this.config[a].span && this.config[a].span != '' || this.cols != '' ? h("el-col", {
132844
132960
  "key": b,
132845
132961
  "attrs": {
132846
- "span": Number(this.config[a].span) || 24 / Number(this.cols)
132962
+ "span": parseInt(this.config[a].span) || 24 / parseInt(this.cols)
132847
132963
  }
132848
132964
  }, [this.format(a, b)]) : this.format(a, b)), this.$slots.default]), (finish || submit || cancel) && h("div", {
132849
132965
  "class": "action"
@@ -135438,7 +135554,7 @@ const Aempty = a => Promise.resolve(/* AMD require */).then(function() { var __W
135438
135554
  "row-click": this.choose,
135439
135555
  "selection-change": this.select
135440
135556
  }
135441
- }, [condition && this.selection && this.$listeners.select && h("el-table-column", {
135557
+ }, [condition && (this.selection || this.$listeners.select) && h("el-table-column", {
135442
135558
  "attrs": {
135443
135559
  "fixed": "left",
135444
135560
  "type": "selection",
@@ -158580,8 +158696,7 @@ exports.max = max;
158580
158696
  __webpack_require__.r(__webpack_exports__);
158581
158697
  /* harmony import */ var _index_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a655");
158582
158698
  /* harmony import */ var _index_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_index_css__WEBPACK_IMPORTED_MODULE_0__);
158583
- // const Aauthority = () => import('@/components/Aauthority');
158584
- // const AuploadFile = () => import('@/components/Aupload/File');
158699
+
158585
158700
 
158586
158701
  const Aauthority = a => Promise.resolve(/* AMD require */).then(function() { var __WEBPACK_AMD_REQUIRE_ARRAY__ = [__webpack_require__("0eb8")]; (a).apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);}.bind(this)).catch(__webpack_require__.oe);
158587
158702
 
@@ -158655,7 +158770,7 @@ const AuploadFile = a => Promise.resolve(/* AMD require */).then(function() { va
158655
158770
  "disabled": disabled
158656
158771
  },
158657
158772
  "on": {
158658
- "click": e => this.delete(a, e)
158773
+ "click": e => this.select(a, e)
158659
158774
  },
158660
158775
  "props": { ...a
158661
158776
  }
@@ -158670,7 +158785,7 @@ const AuploadFile = a => Promise.resolve(/* AMD require */).then(function() { va
158670
158785
  "disabled": disabled
158671
158786
  },
158672
158787
  "on": {
158673
- "click": e => this.delete(a, e)
158788
+ "click": e => this.select(a, e)
158674
158789
  },
158675
158790
  "props": { ...a
158676
158791
  }
@@ -158685,7 +158800,7 @@ const AuploadFile = a => Promise.resolve(/* AMD require */).then(function() { va
158685
158800
  "disabled": disabled
158686
158801
  },
158687
158802
  "on": {
158688
- "click": e => this.delete(a, e)
158803
+ "click": e => this.select(a, e)
158689
158804
  },
158690
158805
  "props": { ...a
158691
158806
  }
@@ -158700,7 +158815,7 @@ const AuploadFile = a => Promise.resolve(/* AMD require */).then(function() { va
158700
158815
  "disabled": disabled
158701
158816
  },
158702
158817
  "on": {
158703
- "click": () => a.click()
158818
+ "click": e => this.select(a, e, 'custom')
158704
158819
  },
158705
158820
  "style": {
158706
158821
  color: a.color,
@@ -158713,9 +158828,21 @@ const AuploadFile = a => Promise.resolve(/* AMD require */).then(function() { va
158713
158828
  }
158714
158829
  },
158715
158830
 
158716
- delete(a, e) {
158831
+ select(a, e, c = '') {
158717
158832
  e.preventDefault();
158718
158833
 
158834
+ if (c == 'custom') {
158835
+ const {
158836
+ selectedKeys = [],
158837
+ selectedRows = []
158838
+ } = this.$store.state;
158839
+ const params = {
158840
+ keys: selectedKeys,
158841
+ rows: selectedRows
158842
+ };
158843
+ return a.click(params);
158844
+ }
158845
+
158719
158846
  if (this.deletePrompt) {
158720
158847
  const {
158721
158848
  selectedKeys = [],
@@ -162761,6 +162888,7 @@ var map = {
162761
162888
  "./Aecharts/AeMap/index.vue": "975a",
162762
162889
  "./Aecharts/BeMap/index.vue": "63af",
162763
162890
  "./Aecharts/index.vue": "65d8",
162891
+ "./Aeditor/QuillEditor/index.vue": "8958",
162764
162892
  "./Aeditor/WangEditor/index.vue": "3302",
162765
162893
  "./Aplayer/index.vue": "1c4e",
162766
162894
  "./Atree/index.vue": "ce34",
@@ -165954,12 +166082,14 @@ const AformItem = a => Promise.resolve(/* AMD require */).then(function() { var
165954
166082
  if (Object.keys(this.config).length > 0) {
165955
166083
  // 格式化属性为模糊查询属性
165956
166084
  for (let a in this.config) {
165957
- if (this.config[a] != '' && this.config[a].like) data[a] = '%' + this.form[a] + '%';
165958
-
165959
- if (this.config[a] != '' && (this.config[a].than || this.config[a].range || this.config[a].scope)) {
165960
- data[`${a}LE`] = this.form[`${a}LE`];
165961
- data[`${a}GE`] = this.form[`${a}GE`];
165962
- } else data[a] = this.form[a];
166085
+ if (this.config[a] != '' && this.config[a].like && this.form[a] != '' && this.form[a] != null && this.form[a] != undefined) {
166086
+ data[a] = '%' + this.form[a] + '%';
166087
+ } else {
166088
+ if (this.config[a] != '' && (this.config[a].than || this.config[a].range || this.config[a].scope)) {
166089
+ data[`${a}LE`] = this.form[`${a}LE`];
166090
+ data[`${a}GE`] = this.form[`${a}GE`];
166091
+ } else data[a] = this.form[a];
166092
+ }
165963
166093
  }
165964
166094
  }
165965
166095