@bytenew/bn-applet-ui 1.1.31 → 1.1.32

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.
@@ -11,7 +11,7 @@
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
14
- /***/ 6958
14
+ /***/ 7515
15
15
  (module, __webpack_exports__, __webpack_require__) {
16
16
 
17
17
  "use strict";
@@ -230,7 +230,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `*[data-v-a5f24f64]{box-sizing:border-b
230
230
 
231
231
  /***/ },
232
232
 
233
- /***/ 3211
233
+ /***/ 8868
234
234
  (module, __webpack_exports__, __webpack_require__) {
235
235
 
236
236
  "use strict";
@@ -250,7 +250,7 @@ __webpack_require__.r(__webpack_exports__);
250
250
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
251
251
  ___CSS_LOADER_EXPORT___.i(_node_modules_css_loader_dist_cjs_js_clonedRuleSet_64_use_1_node_modules_vue_vue_loader_v15_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_64_use_2_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_64_use_3_font_iconfont_css__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A);
252
252
  // Module
253
- ___CSS_LOADER_EXPORT___.push([module.id, `.bnDrop-select[data-v-1157b26e]{display:inline-block;position:relative;max-width:100%;min-width:110px;height:32px;line-height:32px;padding-right:28px;padding-left:12px;font-size:14px;color:rgba(0,0,0,.85);border:1px solid rgba(0,0,0,.15);border-radius:2px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bnDrop-select-clear[data-v-1157b26e]{background:#fff;display:none;position:absolute;font-size:14px;right:8px;color:#888;cursor:pointer}.bnDrop-select-down[data-v-1157b26e]{position:absolute;font-size:12px;right:8px;color:#888}.bnDrop-select-down[data-v-1157b26e] .el-loading-mask .el-loading-spinner{padding-top:6px}.bnDrop-select-down[data-v-1157b26e] .el-loading-mask .circular{width:17px;height:17px}.bnDrop-select.disabled[data-v-1157b26e]{color:rgba(0,0,0,.25);background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.15)!important;cursor:not-allowed}.bnDrop-select.disabled .bnDrop-select-clear[data-v-1157b26e]{display:none!important}.bnDrop-select[data-v-1157b26e]:hover{border-color:#1890ff}.bnDrop-select:hover .bnDrop-select-clear[data-v-1157b26e]{z-index:1;display:inline-block}.bnDrop-select.simple[data-v-1157b26e]{padding-left:0;color:#1890ff;border:1px solid transparent!important}.bnDrop-select.simple.disabled[data-v-1157b26e]{color:rgba(24,144,255,.35);background:none}.bnDrop-placeholder[data-v-1157b26e]{color:rgba(0,0,0,.25)}.bnDrop-body[data-v-1157b26e]{position:relative}.bnDrop-body-input[data-v-1157b26e]{padding:8px}.bnDrop-body-input[data-v-1157b26e] .el-input__inner{border-radius:0}.bnDrop-body-list[data-v-1157b26e]{position:relative;width:100%;background:#fff;min-height:68px;max-height:260px;overflow-y:auto}.bnDrop-body-list-item[data-v-1157b26e]{position:relative;height:36px;font-size:14px;padding:0 10px;color:rgba(0,0,0,.85);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bnDrop-body-list-item.disabled[data-v-1157b26e]{color:rgba(0,0,0,.25);background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.15)!important;cursor:not-allowed}.bnDrop-body-list-item[data-v-1157b26e]:hover{color:#2783f2;background-color:rgba(0,0,0,.04)}.bnDrop-body-list-empty[data-v-1157b26e]{height:48px;line-height:48px;text-align:center;font-size:12px;color:#999}.bnDrop-body-footer[data-v-1157b26e]{width:100%;overflow:hidden}.bnDrop-body-footer[data-v-1157b26e] .bnCheck{width:100%;max-width:100%}`, ""]);
253
+ ___CSS_LOADER_EXPORT___.push([module.id, `.bnDrop-select[data-v-830beb80]{display:inline-block;position:relative;max-width:100%;min-width:110px;height:32px;line-height:32px;padding-right:28px;padding-left:12px;font-size:14px;color:rgba(0,0,0,.85);border:1px solid rgba(0,0,0,.15);border-radius:2px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bnDrop-select-clear[data-v-830beb80]{background:#fff;display:none;position:absolute;font-size:14px;right:8px;color:#888;cursor:pointer}.bnDrop-select-down[data-v-830beb80]{position:absolute;font-size:12px;right:8px;color:#888}.bnDrop-select-down[data-v-830beb80] .el-loading-mask .el-loading-spinner{padding-top:6px}.bnDrop-select-down[data-v-830beb80] .el-loading-mask .circular{width:17px;height:17px}.bnDrop-select.disabled[data-v-830beb80]{color:rgba(0,0,0,.25);background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.15)!important;cursor:not-allowed}.bnDrop-select.disabled .bnDrop-select-clear[data-v-830beb80]{display:none!important}.bnDrop-select[data-v-830beb80]:hover{border-color:#1890ff}.bnDrop-select:hover .bnDrop-select-clear[data-v-830beb80]{z-index:1;display:inline-block}.bnDrop-select.simple[data-v-830beb80]{padding-left:0;color:#1890ff;border:1px solid transparent!important}.bnDrop-select.simple.disabled[data-v-830beb80]{color:rgba(24,144,255,.35);background:none}.bnDrop-select.is-multiple-tags[data-v-830beb80]{display:inline-flex;align-items:center;height:auto;min-height:32px;line-height:normal;padding-top:1px;padding-bottom:1px;white-space:normal;overflow:visible}.bnDrop-tags[data-v-830beb80]{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:2px 0;flex:1;min-width:0}.bnDrop-tag[data-v-830beb80]{display:inline-flex;align-items:center;max-width:100%;height:24px;padding:0 8px;font-size:12px;color:#909399;background:#f0f2f5;border-radius:4px;box-sizing:border-box}.bnDrop-tag--collapse[data-v-830beb80]{cursor:default}.bnDrop-tag-text[data-v-830beb80]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bnDrop-tag-close[data-v-830beb80]{margin-left:4px;font-size:12px;color:#909399;cursor:pointer;border-radius:50%;flex-shrink:0}.bnDrop-tag-close[data-v-830beb80]:hover{color:#409eff;background:#ecf5ff}.bnDrop-collapse-tooltip[data-v-830beb80]{max-width:280px;line-height:1.6}.bnDrop-placeholder[data-v-830beb80]{color:rgba(0,0,0,.25)}.bnDrop-body[data-v-830beb80]{position:relative}.bnDrop-body-input[data-v-830beb80]{padding:8px}.bnDrop-body-input[data-v-830beb80] .el-input__inner{border-radius:0}.bnDrop-body-list[data-v-830beb80]{position:relative;width:100%;background:#fff;min-height:68px;max-height:260px;overflow-y:auto}.bnDrop-body-list-item[data-v-830beb80]{position:relative;height:36px;font-size:14px;padding:0 10px;color:rgba(0,0,0,.85);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bnDrop-body-list-item.disabled[data-v-830beb80]{color:rgba(0,0,0,.25);background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.15)!important;cursor:not-allowed}.bnDrop-body-list-item[data-v-830beb80]:hover{color:#2783f2;background-color:rgba(0,0,0,.04)}.bnDrop-body-list-empty[data-v-830beb80]{height:48px;line-height:48px;text-align:center;font-size:12px;color:#999}.bnDrop-body-footer[data-v-830beb80]{width:100%;overflow:hidden}.bnDrop-body-footer[data-v-830beb80] .bnCheck{width:100%;max-width:100%}`, ""]);
254
254
  // Exports
255
255
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
256
256
 
@@ -819,19 +819,19 @@ module.exports = function (i) {
819
819
 
820
820
  /***/ },
821
821
 
822
- /***/ 5995
822
+ /***/ 1330
823
823
  (module, __unused_webpack_exports, __webpack_require__) {
824
824
 
825
825
  // style-loader: Adds some css to the DOM by adding a <style> tag
826
826
 
827
827
  // load the styles
828
- var content = __webpack_require__(6958);
828
+ var content = __webpack_require__(7515);
829
829
  if(content.__esModule) content = content.default;
830
830
  if(typeof content === 'string') content = [[module.id, content, '']];
831
831
  if(content.locals) module.exports = content.locals;
832
832
  // add the styles to the DOM
833
833
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
834
- var update = add("4e3c03f6", content, true, {"sourceMap":false,"shadowMode":false});
834
+ var update = add("4233f664", content, true, {"sourceMap":false,"shadowMode":false});
835
835
 
836
836
  /***/ },
837
837
 
@@ -963,19 +963,19 @@ var update = add("3698972a", content, true, {"sourceMap":false,"shadowMode":fals
963
963
 
964
964
  /***/ },
965
965
 
966
- /***/ 5479
966
+ /***/ 7448
967
967
  (module, __unused_webpack_exports, __webpack_require__) {
968
968
 
969
969
  // style-loader: Adds some css to the DOM by adding a <style> tag
970
970
 
971
971
  // load the styles
972
- var content = __webpack_require__(3211);
972
+ var content = __webpack_require__(8868);
973
973
  if(content.__esModule) content = content.default;
974
974
  if(typeof content === 'string') content = [[module.id, content, '']];
975
975
  if(content.locals) module.exports = content.locals;
976
976
  // add the styles to the DOM
977
977
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
978
- var update = add("0a5ef8cf", content, true, {"sourceMap":false,"shadowMode":false});
978
+ var update = add("8d645a60", content, true, {"sourceMap":false,"shadowMode":false});
979
979
 
980
980
  /***/ },
981
981
 
@@ -10517,7 +10517,7 @@ if (typeof window !== 'undefined') {
10517
10517
  // Indicate to webpack that this file can be concatenated
10518
10518
  /* harmony default export */ const setPublicPath = (null);
10519
10519
 
10520
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddress/index.vue?vue&type=template&id=8705bc38&scoped=true
10520
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddress/index.vue?vue&type=template&id=8705bc38&scoped=true
10521
10521
  var render = function render() {
10522
10522
  var _vm = this,
10523
10523
  _c = _vm._self._c;
@@ -10912,7 +10912,7 @@ var component = normalizeComponent(
10912
10912
  )
10913
10913
 
10914
10914
  /* harmony default export */ const BnAddress = (component.exports);
10915
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddressParse/index.vue?vue&type=template&id=3a0d7cb0
10915
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddressParse/index.vue?vue&type=template&id=3a0d7cb0
10916
10916
  var BnAddressParsevue_type_template_id_3a0d7cb0_render = function render() {
10917
10917
  var _vm = this,
10918
10918
  _c = _vm._self._c;
@@ -10989,8 +10989,8 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
10989
10989
  };
10990
10990
  },
10991
10991
  methods: {
10992
- /**
10993
- * 自动识别方法(使用防抖)
10992
+ /**
10993
+ * 自动识别方法(使用防抖)
10994
10994
  */
10995
10995
  autoAds: (0,external_lodash_.debounce)(function () {
10996
10996
  var _this = this;
@@ -11049,7 +11049,7 @@ var BnAddressParse_component = normalizeComponent(
11049
11049
  )
11050
11050
 
11051
11051
  /* harmony default export */ const BnAddressParse = (BnAddressParse_component.exports);
11052
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnCheck/BnCheck.vue?vue&type=template&id=3782b7e9&scoped=true
11052
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnCheck/BnCheck.vue?vue&type=template&id=3782b7e9&scoped=true
11053
11053
  var BnCheckvue_type_template_id_3782b7e9_scoped_true_render = function render() {
11054
11054
  var _vm = this,
11055
11055
  _c = _vm._self._c;
@@ -11193,8 +11193,8 @@ var es_string_includes = __webpack_require__(1699);
11193
11193
  }
11194
11194
  },
11195
11195
  methods: {
11196
- /**
11197
- * 组件默认判断
11196
+ /**
11197
+ * 组件默认判断
11198
11198
  * */
11199
11199
  check: function check() {
11200
11200
  var _this = this;
@@ -11219,8 +11219,8 @@ var es_string_includes = __webpack_require__(1699);
11219
11219
  }
11220
11220
  }
11221
11221
  },
11222
- /**
11223
- * 点击事件
11222
+ /**
11223
+ * 点击事件
11224
11224
  * */
11225
11225
  handleClick: function handleClick() {
11226
11226
  var _this2 = this;
@@ -11265,8 +11265,8 @@ var es_string_includes = __webpack_require__(1699);
11265
11265
  });
11266
11266
  this.emitClick();
11267
11267
  },
11268
- /**
11269
- * 点击事件透出
11268
+ /**
11269
+ * 点击事件透出
11270
11270
  * */
11271
11271
  emitClick: function emitClick() {
11272
11272
  if (this.onClick) {
@@ -11306,7 +11306,7 @@ var BnCheck_component = normalizeComponent(
11306
11306
  )
11307
11307
 
11308
11308
  /* harmony default export */ const BnCheck = (BnCheck_component.exports);
11309
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDateRange/bnDateRange.vue?vue&type=template&id=5575777a
11309
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDateRange/bnDateRange.vue?vue&type=template&id=5575777a
11310
11310
  var bnDateRangevue_type_template_id_5575777a_render = function render() {
11311
11311
  var _vm = this,
11312
11312
  _c = _vm._self._c;
@@ -11485,8 +11485,8 @@ var es_object_keys = __webpack_require__(9432);
11485
11485
  };
11486
11486
  },
11487
11487
  methods: {
11488
- /**
11489
- * 更新时间选择器数据
11488
+ /**
11489
+ * 更新时间选择器数据
11490
11490
  * */
11491
11491
  updateValue: function updateValue(value) {
11492
11492
  // 更新v-model
@@ -11496,22 +11496,22 @@ var es_object_keys = __webpack_require__(9432);
11496
11496
  // 发送change事件
11497
11497
  this.$emit('change', value);
11498
11498
  },
11499
- /**
11500
- * 失去焦点
11499
+ /**
11500
+ * 失去焦点
11501
11501
  * */
11502
11502
  blur: function blur(val) {
11503
11503
  this.$emit('blur', val);
11504
11504
  },
11505
- /**
11506
- * 获得焦点
11505
+ /**
11506
+ * 获得焦点
11507
11507
  * */
11508
11508
  focus: function focus(val) {
11509
11509
  this.$emit('focus', val);
11510
11510
  }
11511
11511
  },
11512
11512
  computed: {
11513
- /**
11514
- * 日期组件value
11513
+ /**
11514
+ * 日期组件value
11515
11515
  * */
11516
11516
  date: {
11517
11517
  get: function get() {
@@ -11567,7 +11567,7 @@ var bnDateRange_component = normalizeComponent(
11567
11567
  )
11568
11568
 
11569
11569
  /* harmony default export */ const bnDateRange = (bnDateRange_component.exports);
11570
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDialog/dialog.vue?vue&type=template&id=f9aaf6de
11570
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDialog/dialog.vue?vue&type=template&id=f9aaf6de
11571
11571
  var dialogvue_type_template_id_f9aaf6de_render = function render() {
11572
11572
  var _vm = this,
11573
11573
  _c = _vm._self._c;
@@ -11823,8 +11823,8 @@ var dialog_component = normalizeComponent(
11823
11823
  )
11824
11824
 
11825
11825
  /* harmony default export */ const dialog = (dialog_component.exports);
11826
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDrop/BnDrop.vue?vue&type=template&id=1157b26e&scoped=true
11827
- var BnDropvue_type_template_id_1157b26e_scoped_true_render = function render() {
11826
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDrop/BnDrop.vue?vue&type=template&id=830beb80&scoped=true
11827
+ var BnDropvue_type_template_id_830beb80_scoped_true_render = function render() {
11828
11828
  var _vm = this,
11829
11829
  _c = _vm._self._c;
11830
11830
  return _c('el-popover', {
@@ -11842,41 +11842,78 @@ var BnDropvue_type_template_id_1157b26e_scoped_true_render = function render() {
11842
11842
  scopedSlots: _vm._u([{
11843
11843
  key: "reference",
11844
11844
  fn: function fn() {
11845
- return [_vm._t("default", function () {
11846
- return [_c('div', {
11847
- staticClass: "bnDrop-select",
11848
- "class": {
11849
- 'simple': !_vm.border,
11850
- 'disabled': _vm.disabled
11851
- }
11852
- }, [_vm.multiple && _vm.val.length == 0 || !_vm.multiple && (!_vm.labelInValue && _vm.val === '' || _vm.labelInValue && !_vm.val[_vm.optionProps.value]) ? _c('span', {
11853
- staticClass: "bnDrop-placeholder"
11854
- }, [_vm._v(" " + _vm._s(_vm.placeholder) + " ")]) : _c('span', [!_vm.multiple ? _c('span', {
11855
- attrs: {
11856
- "title": _vm.singleTitle
11857
- }
11858
- }, [_vm._v(_vm._s(_vm.singleTitle))]) : _c('span', {
11845
+ return [_vm.$slots["default"] ? _vm._t("default") : _c('div', {
11846
+ staticClass: "bnDrop-select",
11847
+ "class": {
11848
+ 'simple': !_vm.border,
11849
+ 'disabled': _vm.disabled,
11850
+ 'is-multiple-tags': _vm.multiple && _vm.collapseTags && _vm.val.length > 0
11851
+ }
11852
+ }, [_vm.multiple && _vm.val.length == 0 || !_vm.multiple && (!_vm.labelInValue && _vm.val === '' || _vm.labelInValue && !_vm.val[_vm.optionProps.value]) ? _c('span', {
11853
+ staticClass: "bnDrop-placeholder"
11854
+ }, [_vm._v(" " + _vm._s(_vm.placeholder) + " ")]) : [!_vm.multiple ? _c('span', {
11855
+ attrs: {
11856
+ "title": _vm.singleTitle
11857
+ }
11858
+ }, [_vm._v(_vm._s(_vm.singleTitle))]) : _vm.collapseTags ? _c('div', {
11859
+ staticClass: "bnDrop-tags"
11860
+ }, [_vm._l(_vm.visibleTags, function (tag) {
11861
+ return _c('span', {
11862
+ key: tag.index,
11863
+ staticClass: "bnDrop-tag"
11864
+ }, [_c('span', {
11865
+ staticClass: "bnDrop-tag-text",
11859
11866
  attrs: {
11860
- "title": _vm.multipleTitle
11867
+ "title": tag.label
11861
11868
  }
11862
- }, [_vm._v(" " + _vm._s(_vm.multipleTitle) + " ")]), _vm.clearable ? _c('span', {
11863
- staticClass: "bnUIcon bnUIcon-clear bnDrop-select-clear",
11869
+ }, [_vm._v(_vm._s(tag.label))]), !_vm.disabled ? _c('span', {
11870
+ staticClass: "bnDrop-tag-close bnUIcon bnUIcon-close",
11864
11871
  on: {
11865
11872
  "click": function click($event) {
11866
11873
  $event.stopPropagation();
11867
- return _vm.clear.apply(null, arguments);
11874
+ return _vm.removeTag(tag.index);
11868
11875
  }
11869
11876
  }
11870
- }) : _vm._e()]), _c('span', {
11871
- directives: [{
11872
- name: "loading",
11873
- rawName: "v-loading",
11874
- value: _vm.loading,
11875
- expression: "loading"
11876
- }],
11877
- staticClass: "bnUIcon bnUIcon-down bnDrop-select-down"
11878
- })])];
11879
- })];
11877
+ }) : _vm._e()]);
11878
+ }), _vm.collapsedCount > 0 ? _c('el-tooltip', {
11879
+ attrs: {
11880
+ "disabled": !_vm.collapseTagsTooltip,
11881
+ "effect": "dark",
11882
+ "placement": "top"
11883
+ }
11884
+ }, [_c('div', {
11885
+ staticClass: "bnDrop-collapse-tooltip",
11886
+ attrs: {
11887
+ "slot": "content"
11888
+ },
11889
+ slot: "content"
11890
+ }, _vm._l(_vm.collapsedTags, function (tag) {
11891
+ return _c('div', {
11892
+ key: tag.index
11893
+ }, [_vm._v(_vm._s(tag.label))]);
11894
+ }), 0), _c('span', {
11895
+ staticClass: "bnDrop-tag bnDrop-tag--collapse"
11896
+ }, [_vm._v("+ " + _vm._s(_vm.collapsedCount))])]) : _vm._e()], 2) : _c('span', {
11897
+ attrs: {
11898
+ "title": _vm.multipleTitle
11899
+ }
11900
+ }, [_vm._v(_vm._s(_vm.multipleTitle))]), _vm.clearable ? _c('span', {
11901
+ staticClass: "bnUIcon bnUIcon-clear bnDrop-select-clear",
11902
+ on: {
11903
+ "click": function click($event) {
11904
+ $event.stopPropagation();
11905
+ return _vm.clear.apply(null, arguments);
11906
+ }
11907
+ }
11908
+ }) : _vm._e()], _c('span', {
11909
+ directives: [{
11910
+ name: "loading",
11911
+ rawName: "v-loading",
11912
+ value: _vm.loading,
11913
+ expression: "loading"
11914
+ }],
11915
+ staticClass: "bnUIcon bnUIcon-down bnDrop-select-down"
11916
+ })], 2)];
11880
11917
  },
11881
11918
  proxy: true
11882
11919
  }], null, true),
@@ -11975,7 +12012,7 @@ var BnDropvue_type_template_id_1157b26e_scoped_true_render = function render() {
11975
12012
  staticClass: "w-margin-left4"
11976
12013
  }, [_vm._v(_vm._s(_vm.val.length == 0 ? '全选' : "\u5DF2\u9009".concat(_vm.val.length - _vm.fixedFrontOptions.length, "\u9879")))]), _c('span', {}, [_vm._v("已加载" + _vm._s(_vm.optionList.length) + "/" + _vm._s(_vm.total) + "项")])])])], 1) : _vm._e(), _vm._t("dropdown-bottom")], 2)]);
11977
12014
  };
11978
- var BnDropvue_type_template_id_1157b26e_scoped_true_staticRenderFns = [];
12015
+ var BnDropvue_type_template_id_830beb80_scoped_true_staticRenderFns = [];
11979
12016
 
11980
12017
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.every.js
11981
12018
  var es_array_every = __webpack_require__(8431);
@@ -12196,10 +12233,6 @@ function _toConsumableArray(r) {
12196
12233
  };
12197
12234
  }
12198
12235
  },
12199
- // 数据结构
12200
- valueProps: {
12201
- type: Array
12202
- },
12203
12236
  // 位置
12204
12237
  placement: {
12205
12238
  type: String,
@@ -12251,6 +12284,18 @@ function _toConsumableArray(r) {
12251
12284
  },
12252
12285
  // 是否多选
12253
12286
  multiple: Boolean,
12287
+ // 多选 tag 是否折叠超出部分(对齐 Element UI collapse-tags)
12288
+ collapseTags: Boolean,
12289
+ // 折叠 tag 的 +N 是否启用 tooltip 展示全部
12290
+ collapseTagsTooltip: {
12291
+ type: Boolean,
12292
+ "default": true
12293
+ },
12294
+ // collapseTags 为 true 时,收起时默认展示几个 tag
12295
+ maxCollapseTags: {
12296
+ type: Number,
12297
+ "default": 1
12298
+ },
12254
12299
  // 单选模式 是否允许取消选中
12255
12300
  canUncheck: {
12256
12301
  type: Boolean,
@@ -12276,6 +12321,10 @@ function _toConsumableArray(r) {
12276
12321
  type: Boolean,
12277
12322
  "default": true
12278
12323
  },
12324
+ // 数据结构,当labelInValue=true时,返回的对象中都需要那些字段。不传就返回全部
12325
+ valueProps: {
12326
+ type: Array
12327
+ },
12279
12328
  // 不绑定v-model,仅在点击的时候回传点击事件
12280
12329
  noValue: {
12281
12330
  type: Boolean,
@@ -12343,8 +12392,8 @@ function _toConsumableArray(r) {
12343
12392
  }
12344
12393
  },
12345
12394
  methods: {
12346
- /**
12347
- * 初始化远程数据
12395
+ /**
12396
+ * 初始化远程数据
12348
12397
  * */
12349
12398
  initRemote: function initRemote() {
12350
12399
  if (this.pathUrl) {
@@ -12353,8 +12402,8 @@ function _toConsumableArray(r) {
12353
12402
  this.loadOptions();
12354
12403
  }
12355
12404
  },
12356
- /**
12357
- * 下拉框打开关闭
12405
+ /**
12406
+ * 下拉框打开关闭
12358
12407
  * */
12359
12408
  open: function open() {
12360
12409
  // 打开弹框时
@@ -12366,8 +12415,8 @@ function _toConsumableArray(r) {
12366
12415
  this.initRemote();
12367
12416
  }
12368
12417
  },
12369
- /**
12370
- * 清空value
12418
+ /**
12419
+ * 清空value
12371
12420
  * */
12372
12421
  clear: function clear() {
12373
12422
  if (this.multiple) {
@@ -12376,8 +12425,8 @@ function _toConsumableArray(r) {
12376
12425
  this.val = this.labelInValue ? {} : '';
12377
12426
  }
12378
12427
  },
12379
- /**
12380
- * 滚动加载
12428
+ /**
12429
+ * 滚动加载
12381
12430
  * */
12382
12431
  scrollMore: (0,external_lodash_.debounce)(function () {
12383
12432
  if (this.optionList.length < this.total && !this.loading) {
@@ -12394,9 +12443,9 @@ function _toConsumableArray(r) {
12394
12443
  }
12395
12444
  }
12396
12445
  }, 400),
12397
- /**
12398
- * 快速搜索选项
12399
- * @param {String} val 搜索的值
12446
+ /**
12447
+ * 快速搜索选项
12448
+ * @param {String} val 搜索的值
12400
12449
  */
12401
12450
  filterMethod: (0,external_lodash_.debounce)(function (val) {
12402
12451
  this.queryValue = val;
@@ -12406,8 +12455,8 @@ function _toConsumableArray(r) {
12406
12455
  this.loadOptions();
12407
12456
  }
12408
12457
  }, 400),
12409
- /**
12410
- * 多选时判断全部选中
12458
+ /**
12459
+ * 多选时判断全部选中
12411
12460
  * */
12412
12461
  isCheckedAll: function isCheckedAll() {
12413
12462
  var _this = this;
@@ -12440,8 +12489,8 @@ function _toConsumableArray(r) {
12440
12489
  return valSet.has(item);
12441
12490
  });
12442
12491
  },
12443
- /**
12444
- * 全选/取消全选
12492
+ /**
12493
+ * 全选/取消全选
12445
12494
  * */
12446
12495
  checkAll: function checkAll() {
12447
12496
  var _this2 = this;
@@ -12469,9 +12518,9 @@ function _toConsumableArray(r) {
12469
12518
  }
12470
12519
  this.$emit('change', value, isAllChecked);
12471
12520
  },
12472
- /**
12473
- * 多选判断是否选中 选中返回true,未选中返回false
12474
- * @param {Object} item 选项的对象数据
12521
+ /**
12522
+ * 多选判断是否选中 选中返回true,未选中返回false
12523
+ * @param {Object} item 选项的对象数据
12475
12524
  * */
12476
12525
  isChecked: function isChecked(_ref) {
12477
12526
  var _this3 = this;
@@ -12486,9 +12535,9 @@ function _toConsumableArray(r) {
12486
12535
  }
12487
12536
  return check;
12488
12537
  },
12489
- /**
12490
- * 单选判断是否选中 选中返回true,未选中返回false
12491
- * @param {Object} item 选项的对象数据
12538
+ /**
12539
+ * 单选判断是否选中 选中返回true,未选中返回false
12540
+ * @param {Object} item 选项的对象数据
12492
12541
  * */
12493
12542
  isChoose: function isChoose(item) {
12494
12543
  var check = false;
@@ -12500,9 +12549,9 @@ function _toConsumableArray(r) {
12500
12549
  }
12501
12550
  return check;
12502
12551
  },
12503
- /**
12504
- * 点击下拉菜单中的某一项,选中或取消选中
12505
- * @param {Object} item 选项的对象数据
12552
+ /**
12553
+ * 点击下拉菜单中的某一项,选中或取消选中
12554
+ * @param {Object} item 选项的对象数据
12506
12555
  * */
12507
12556
  chooseItem: function chooseItem(item) {
12508
12557
  var value = this.val;
@@ -12565,8 +12614,8 @@ function _toConsumableArray(r) {
12565
12614
  }
12566
12615
  this.$emit('change', value);
12567
12616
  },
12568
- /**
12569
- * 远程加载options
12617
+ /**
12618
+ * 远程加载options
12570
12619
  * */
12571
12620
  loadOptions: function loadOptions(post) {
12572
12621
  var _this4 = this;
@@ -12609,15 +12658,15 @@ function _toConsumableArray(r) {
12609
12658
  }
12610
12659
  });
12611
12660
  },
12612
- /**
12613
- * 前端手动分页
12661
+ /**
12662
+ * 前端手动分页
12614
12663
  * */
12615
12664
  catchPage: function catchPage(page) {
12616
12665
  this.pageData.pageNum = page || this.pageData.pageNum;
12617
12666
  return this.options.slice((this.pageData.pageNum - 1) * this.pageData.pageSize, this.pageData.pageNum * this.pageData.pageSize);
12618
12667
  },
12619
- /**
12620
- * 如果value是对象,然会value的时候把对象组装好再返回。
12668
+ /**
12669
+ * 如果value是对象,然会value的时候把对象组装好再返回。
12621
12670
  * */
12622
12671
  getValObj: function getValObj(val) {
12623
12672
  if (this.valueProps) {
@@ -12630,10 +12679,10 @@ function _toConsumableArray(r) {
12630
12679
  return val;
12631
12680
  }
12632
12681
  },
12633
- /**
12634
- * 从一个数组中通过id找到名字,并返回给调用者
12635
- * @param {Array} list 数组
12636
- * @param {String} id 需要匹配的id
12682
+ /**
12683
+ * 从一个数组中通过id找到名字,并返回给调用者
12684
+ * @param {Array} list 数组
12685
+ * @param {String} id 需要匹配的id
12637
12686
  * */
12638
12687
  foundTitle: function foundTitle(list, id) {
12639
12688
  var title = '';
@@ -12645,11 +12694,11 @@ function _toConsumableArray(r) {
12645
12694
  }
12646
12695
  return title;
12647
12696
  },
12648
- /**
12649
- * 从一个数组中通过id和ids数组的匹配找到标题,并返回给调用者
12650
- * @param {Array} list 数组
12651
- * @param {String} ids 需要匹配的id数组[1,2,3]
12652
- * @return {Array} values 返回所有匹配项组成的数组
12697
+ /**
12698
+ * 从一个数组中通过id和ids数组的匹配找到标题,并返回给调用者
12699
+ * @param {Array} list 数组
12700
+ * @param {String} ids 需要匹配的id数组[1,2,3]
12701
+ * @return {Array} values 返回所有匹配项组成的数组
12653
12702
  * */
12654
12703
  foundValue: function foundValue(list, ids) {
12655
12704
  var value = [];
@@ -12660,11 +12709,19 @@ function _toConsumableArray(r) {
12660
12709
  }
12661
12710
  return value;
12662
12711
  },
12663
- /**
12664
- * 手动关闭
12712
+ /**
12713
+ * 手动关闭
12665
12714
  * */
12666
12715
  close: function close() {
12667
12716
  this.popoverVisible = false;
12717
+ },
12718
+ /** 删除多选 tag */removeTag: function removeTag(index) {
12719
+ if (this.disabled || !this.multiple || !Array.isArray(this.val)) {
12720
+ return;
12721
+ }
12722
+ var next = _toConsumableArray(this.val);
12723
+ next.splice(index, 1);
12724
+ this.val = next;
12668
12725
  }
12669
12726
  },
12670
12727
  computed: {
@@ -12744,34 +12801,62 @@ function _toConsumableArray(r) {
12744
12801
  }
12745
12802
  return title;
12746
12803
  },
12747
- // 多选时的value值
12748
- multipleTitle: function multipleTitle() {
12804
+ // 多选时的 tag 列表
12805
+ multipleTags: function multipleTags() {
12749
12806
  var _this7 = this;
12750
- var values = [];
12751
12807
  var value = this.val;
12808
+ if (!Array.isArray(value) || !value.length) {
12809
+ return [];
12810
+ }
12752
12811
  if (this.labelInValue) {
12753
- values = value.map(function (v) {
12754
- return v[_this7.optionProps.label];
12812
+ return value.map(function (v, index) {
12813
+ return {
12814
+ index: index,
12815
+ label: v[_this7.optionProps.label] || ''
12816
+ };
12755
12817
  });
12756
- } else {
12757
- var data = this.foundValue(this.options, value);
12758
- if (data.length) {
12759
- values = [].concat(_toConsumableArray(values), _toConsumableArray(data));
12760
- }
12761
12818
  }
12762
- return values.join(',');
12819
+ return value.map(function (id, index) {
12820
+ return {
12821
+ index: index,
12822
+ label: _this7.foundTitle(_this7.options, id) || id
12823
+ };
12824
+ });
12825
+ },
12826
+ // 多选时的 value 展示文本
12827
+ multipleTitle: function multipleTitle() {
12828
+ return this.multipleTags.map(function (tag) {
12829
+ return tag.label;
12830
+ }).join(',');
12831
+ },
12832
+ // 多选 collapseTags 模式下可见 tag
12833
+ visibleTags: function visibleTags() {
12834
+ if (!this.collapseTags || this.multipleTags.length <= this.maxCollapseTags) {
12835
+ return this.multipleTags;
12836
+ }
12837
+ return this.multipleTags.slice(0, this.maxCollapseTags);
12838
+ },
12839
+ // 多选 collapseTags 模式下被折叠的 tag
12840
+ collapsedTags: function collapsedTags() {
12841
+ if (!this.collapseTags || this.multipleTags.length <= this.maxCollapseTags) {
12842
+ return [];
12843
+ }
12844
+ return this.multipleTags.slice(this.maxCollapseTags);
12845
+ },
12846
+ collapsedCount: function collapsedCount() {
12847
+ return this.collapsedTags.length;
12763
12848
  }
12764
12849
  }
12765
12850
  });
12766
12851
  ;// ./packages/BnDrop/BnDrop.vue?vue&type=script&lang=js
12767
12852
  /* harmony default export */ const BnDrop_BnDropvue_type_script_lang_js = (BnDropvue_type_script_lang_js);
12768
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDrop/BnDrop.vue?vue&type=style&index=0&id=1157b26e&prod&lang=css
12769
- var BnDropvue_type_style_index_0_id_1157b26e_prod_lang_css = __webpack_require__(5995);
12770
- ;// ./packages/BnDrop/BnDrop.vue?vue&type=style&index=0&id=1157b26e&prod&lang=css
12853
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDrop/BnDrop.vue?vue&type=style&index=0&id=830beb80&prod&lang=css
12854
+ var BnDropvue_type_style_index_0_id_830beb80_prod_lang_css = __webpack_require__(1330);
12855
+ ;// ./packages/BnDrop/BnDrop.vue?vue&type=style&index=0&id=830beb80&prod&lang=css
12771
12856
 
12772
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDrop/BnDrop.vue?vue&type=style&index=1&id=1157b26e&prod&scoped=true&lang=scss
12773
- var BnDropvue_type_style_index_1_id_1157b26e_prod_scoped_true_lang_scss = __webpack_require__(5479);
12774
- ;// ./packages/BnDrop/BnDrop.vue?vue&type=style&index=1&id=1157b26e&prod&scoped=true&lang=scss
12857
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDrop/BnDrop.vue?vue&type=style&index=1&id=830beb80&prod&scoped=true&lang=scss
12858
+ var BnDropvue_type_style_index_1_id_830beb80_prod_scoped_true_lang_scss = __webpack_require__(7448);
12859
+ ;// ./packages/BnDrop/BnDrop.vue?vue&type=style&index=1&id=830beb80&prod&scoped=true&lang=scss
12775
12860
 
12776
12861
  ;// ./packages/BnDrop/BnDrop.vue
12777
12862
 
@@ -12785,11 +12870,11 @@ var BnDropvue_type_style_index_1_id_1157b26e_prod_scoped_true_lang_scss = __webp
12785
12870
 
12786
12871
  var BnDrop_component = normalizeComponent(
12787
12872
  BnDrop_BnDropvue_type_script_lang_js,
12788
- BnDropvue_type_template_id_1157b26e_scoped_true_render,
12789
- BnDropvue_type_template_id_1157b26e_scoped_true_staticRenderFns,
12873
+ BnDropvue_type_template_id_830beb80_scoped_true_render,
12874
+ BnDropvue_type_template_id_830beb80_scoped_true_staticRenderFns,
12790
12875
  false,
12791
12876
  null,
12792
- "1157b26e",
12877
+ "830beb80",
12793
12878
  null
12794
12879
 
12795
12880
  )
@@ -12799,7 +12884,7 @@ var BnDrop_component = normalizeComponent(
12799
12884
  var es_regexp_exec = __webpack_require__(7495);
12800
12885
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
12801
12886
  var es_string_search = __webpack_require__(5746);
12802
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDown/bnDropdown.vue?vue&type=template&id=a5f24f64&scoped=true
12887
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDown/bnDropdown.vue?vue&type=template&id=a5f24f64&scoped=true
12803
12888
 
12804
12889
 
12805
12890
 
@@ -13450,10 +13535,10 @@ function toPinYin(chart) {
13450
13535
  return getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
13451
13536
  }
13452
13537
 
13453
- /**
13454
- * 匹配大小写字母拼音 返回Boolean值
13455
- * @param {*} chart 需要匹配的字符
13456
- * @param {*} data 需要进行匹配的字符
13538
+ /**
13539
+ * 匹配大小写字母拼音 返回Boolean值
13540
+ * @param {*} chart 需要匹配的字符
13541
+ * @param {*} data 需要进行匹配的字符
13457
13542
  */
13458
13543
  function searchToBoolean(chart, data) {
13459
13544
  return toPinYin(data).indexOf(toPinYin(chart)) !== -1;
@@ -13537,11 +13622,11 @@ function searchItemFlat(chart, data, name) {
13537
13622
  name: "bnDropdown",
13538
13623
  props: {
13539
13624
  value: [String, Array, Number, Object],
13540
- /**
13541
- * 下拉弹窗模式
13542
- * 单选(singleCheck) 默认
13543
- * 多选(multiCheck)
13544
- * 多选框(multiCheckBox)
13625
+ /**
13626
+ * 下拉弹窗模式
13627
+ * 单选(singleCheck) 默认
13628
+ * 多选(multiCheck)
13629
+ * 多选框(multiCheckBox)
13545
13630
  */
13546
13631
  checkMode: {
13547
13632
  type: String,
@@ -13714,8 +13799,8 @@ function searchItemFlat(chart, data, name) {
13714
13799
  this.optionCheckMap = checkedMap;
13715
13800
  }
13716
13801
  },
13717
- /**
13718
- * 打开选择器时触发,初始化
13802
+ /**
13803
+ * 打开选择器时触发,初始化
13719
13804
  * */
13720
13805
  open: function open() {
13721
13806
  var _this2 = this;
@@ -13747,8 +13832,8 @@ function searchItemFlat(chart, data, name) {
13747
13832
  this.backshowMultiCheckBox();
13748
13833
  }
13749
13834
  },
13750
- /**
13751
- * 关闭时清除没有确定的选项
13835
+ /**
13836
+ * 关闭时清除没有确定的选项
13752
13837
  */
13753
13838
  close: function close() {
13754
13839
  // 多选框模式
@@ -13779,10 +13864,10 @@ function searchItemFlat(chart, data, name) {
13779
13864
  });
13780
13865
  }
13781
13866
  },
13782
- /**
13783
- * 动态计算title
13784
- * @param {Array} list 数组
13785
- * @param {String} id 需要匹配的id
13867
+ /**
13868
+ * 动态计算title
13869
+ * @param {Array} list 数组
13870
+ * @param {String} id 需要匹配的id
13786
13871
  * */
13787
13872
  foundTitle: function foundTitle() {
13788
13873
  var _this4 = this;
@@ -13804,8 +13889,8 @@ function searchItemFlat(chart, data, name) {
13804
13889
  }
13805
13890
  return title;
13806
13891
  },
13807
- /**
13808
- * 远程加载数据
13892
+ /**
13893
+ * 远程加载数据
13809
13894
  * */
13810
13895
  loadMore: function loadMore() {
13811
13896
  var _this5 = this;
@@ -13821,9 +13906,9 @@ function searchItemFlat(chart, data, name) {
13821
13906
  }
13822
13907
  });
13823
13908
  },
13824
- /**
13825
- * 判断是否选中 选中返回true,未选中返回false
13826
- * @param {Object} item 选项的对象数据
13909
+ /**
13910
+ * 判断是否选中 选中返回true,未选中返回false
13911
+ * @param {Object} item 选项的对象数据
13827
13912
  * */
13828
13913
  checked: function checked(item) {
13829
13914
  var check = false;
@@ -13855,9 +13940,9 @@ function searchItemFlat(chart, data, name) {
13855
13940
  }
13856
13941
  return check;
13857
13942
  },
13858
- /**
13859
- * 点击下拉菜单中的某一项,选中或取消选中
13860
- * @param {Object} item 选项的对象数据
13943
+ /**
13944
+ * 点击下拉菜单中的某一项,选中或取消选中
13945
+ * @param {Object} item 选项的对象数据
13861
13946
  * */
13862
13947
  chooseItem: function chooseItem(item) {
13863
13948
  var value = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
@@ -13927,8 +14012,8 @@ function searchItemFlat(chart, data, name) {
13927
14012
  // change事件
13928
14013
  this.$emit("change", value);
13929
14014
  },
13930
- /**
13931
- * 快捷查询
14015
+ /**
14016
+ * 快捷查询
13932
14017
  * */
13933
14018
  search: debounce(function (val) {
13934
14019
  // 保存当前选中状态
@@ -14042,7 +14127,7 @@ var bnDropdown_component = normalizeComponent(
14042
14127
  )
14043
14128
 
14044
14129
  /* harmony default export */ const bnDropdown = (bnDropdown_component.exports);
14045
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=template&id=27b6fb78&scoped=true
14130
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=template&id=27b6fb78&scoped=true
14046
14131
  var BnFileViewvue_type_template_id_27b6fb78_scoped_true_render = function render() {
14047
14132
  var _vm = this,
14048
14133
  _c = _vm._self._c;
@@ -14149,7 +14234,7 @@ var es_error_to_string = __webpack_require__(6918);
14149
14234
  var es_date_to_string = __webpack_require__(3288);
14150
14235
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.parse-int.js
14151
14236
  var es_parse_int = __webpack_require__(8940);
14152
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/videoPreview.vue?vue&type=template&id=9a7f7bec&scoped=true
14237
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/videoPreview.vue?vue&type=template&id=9a7f7bec&scoped=true
14153
14238
  var videoPreviewvue_type_template_id_9a7f7bec_scoped_true_render = function render() {
14154
14239
  var _vm = this,
14155
14240
  _c = _vm._self._c;
@@ -14195,8 +14280,8 @@ var videoPreviewvue_type_template_id_9a7f7bec_scoped_true_staticRenderFns = [];
14195
14280
  }
14196
14281
  },
14197
14282
  methods: {
14198
- /**
14199
- * 打开播发视频
14283
+ /**
14284
+ * 打开播发视频
14200
14285
  * */
14201
14286
  open: function open(url) {
14202
14287
  this.url = url;
@@ -14231,7 +14316,7 @@ var videoPreview_component = normalizeComponent(
14231
14316
  )
14232
14317
 
14233
14318
  /* harmony default export */ const videoPreview = (videoPreview_component.exports);
14234
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=template&id=7fcc19c2&scoped=true
14319
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=template&id=7fcc19c2&scoped=true
14235
14320
  var FileDetailvue_type_template_id_7fcc19c2_scoped_true_render = function render() {
14236
14321
  var _vm = this,
14237
14322
  _c = _vm._self._c;
@@ -14335,8 +14420,8 @@ var es_parse_float = __webpack_require__(8459);
14335
14420
  }
14336
14421
  },
14337
14422
  methods: {
14338
- /**
14339
- * 获取下载链接
14423
+ /**
14424
+ * 获取下载链接
14340
14425
  * */
14341
14426
  getDownloadUrl: function getDownloadUrl(file) {
14342
14427
  if (this.downType === 'url') {
@@ -14344,8 +14429,8 @@ var es_parse_float = __webpack_require__(8459);
14344
14429
  }
14345
14430
  return !file.id ? file.url : '/v2/attachment/' + file.id;
14346
14431
  },
14347
- /**
14348
- * 计算附件大小
14432
+ /**
14433
+ * 计算附件大小
14349
14434
  * */
14350
14435
  returnSizeText: function returnSizeText(size) {
14351
14436
  if (size && parseFloat(size) / 1024 / 1024 < 1) {
@@ -14514,15 +14599,15 @@ var FileDetail_component = normalizeComponent(
14514
14599
  };
14515
14600
  },
14516
14601
  methods: {
14517
- /**
14518
- * 忽略大小写判断文件类型
14602
+ /**
14603
+ * 忽略大小写判断文件类型
14519
14604
  * */
14520
14605
  includesType: function includesType(typeList, fileType) {
14521
14606
  if (!fileType) return false;
14522
14607
  return (0,external_lodash_.includes)((0,external_lodash_.map)(typeList, external_lodash_.toLower), (0,external_lodash_.toLower)(fileType));
14523
14608
  },
14524
- /**
14525
- * 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
14609
+ /**
14610
+ * 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
14526
14611
  * */
14527
14612
  initViewer: function initViewer(view) {
14528
14613
  this.viewer = view;
@@ -14559,8 +14644,8 @@ var FileDetail_component = normalizeComponent(
14559
14644
  }
14560
14645
  }
14561
14646
  },
14562
- /**
14563
- * 根据文件类型,判端文件预览展示那种图片或icon
14647
+ /**
14648
+ * 根据文件类型,判端文件预览展示那种图片或icon
14564
14649
  * */
14565
14650
  getFileImg: function getFileImg(file) {
14566
14651
  // 默认文件图片
@@ -14603,8 +14688,8 @@ var FileDetail_component = normalizeComponent(
14603
14688
  }
14604
14689
  return url;
14605
14690
  },
14606
- /**
14607
- * 删除附件
14691
+ /**
14692
+ * 删除附件
14608
14693
  * */
14609
14694
  delFile: function delFile(index) {
14610
14695
  this.fileList.splice(index, 1);
@@ -14644,7 +14729,7 @@ var BnFileView_component = normalizeComponent(
14644
14729
  )
14645
14730
 
14646
14731
  /* harmony default export */ const BnFileView = (BnFileView_component.exports);
14647
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFunText/bnFunText.vue?vue&type=template&id=c3b70e18&scoped=true
14732
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFunText/bnFunText.vue?vue&type=template&id=c3b70e18&scoped=true
14648
14733
 
14649
14734
 
14650
14735
 
@@ -15201,10 +15286,10 @@ var functions = [{
15201
15286
  }
15202
15287
  }
15203
15288
  },
15204
- /**
15205
- * 整理组件列表为schema
15206
- *@param array 组件插入到数组
15207
- *@param column 组件
15289
+ /**
15290
+ * 整理组件列表为schema
15291
+ *@param array 组件插入到数组
15292
+ *@param column 组件
15208
15293
  * */
15209
15294
  loadColumn: function loadColumn(array, column) {
15210
15295
  var data = {
@@ -15239,8 +15324,8 @@ var functions = [{
15239
15324
  array.push(data);
15240
15325
  }
15241
15326
  },
15242
- /**
15243
- * 切换函数分类的打开挂壁
15327
+ /**
15328
+ * 切换函数分类的打开挂壁
15244
15329
  * */
15245
15330
  changeOpenClass: function changeOpenClass(item) {
15246
15331
  var index = this.openFunClass.indexOf(item.name);
@@ -15250,8 +15335,8 @@ var functions = [{
15250
15335
  this.openFunClass.splice(index, 1);
15251
15336
  }
15252
15337
  },
15253
- /**
15254
- * 切换字段分类的打开挂壁
15338
+ /**
15339
+ * 切换字段分类的打开挂壁
15255
15340
  * */
15256
15341
  changeOpenColumn: function changeOpenColumn(item) {
15257
15342
  var index = this.openColumnClass.indexOf(item.name);
@@ -15261,8 +15346,8 @@ var functions = [{
15261
15346
  this.openColumnClass.splice(index, 1);
15262
15347
  }
15263
15348
  },
15264
- /**
15265
- * 获取焦点
15349
+ /**
15350
+ * 获取焦点
15266
15351
  * */
15267
15352
  onCodemirrorFocus: function onCodemirrorFocus() {
15268
15353
  var _this4 = this;
@@ -15275,8 +15360,8 @@ var functions = [{
15275
15360
  // }
15276
15361
  });
15277
15362
  },
15278
- /**
15279
- * 高亮代码
15363
+ /**
15364
+ * 高亮代码
15280
15365
  */
15281
15366
  specialString: function specialString(str) {
15282
15367
  var specialRegExp = /\*|\+|\?|\||\{|\}|\[|\]|\(|\)|\^|\$|\./g;
@@ -15340,8 +15425,8 @@ var functions = [{
15340
15425
  // setTimeout(()=>{
15341
15426
  // },3000)
15342
15427
  },
15343
- /**
15344
- * 选择函数
15428
+ /**
15429
+ * 选择函数
15345
15430
  */
15346
15431
  onSelectFun: function onSelectFun(item) {
15347
15432
  var _this6 = this;
@@ -15353,8 +15438,8 @@ var functions = [{
15353
15438
  _this6.$refs.cm && _this6.$refs.cm.codemirror.focus(); // 确保编辑器获得焦点
15354
15439
  });
15355
15440
  },
15356
- /**
15357
- * 选择字段
15441
+ /**
15442
+ * 选择字段
15358
15443
  */
15359
15444
  onSelectCol: function onSelectCol(item) {
15360
15445
  var _this7 = this;
@@ -15383,8 +15468,8 @@ var functions = [{
15383
15468
  _this7.$refs.cm && _this7.$refs.cm.codemirror.focus(); // 确保编辑器获得焦点
15384
15469
  });
15385
15470
  },
15386
- /**
15387
- * 保存
15471
+ /**
15472
+ * 保存
15388
15473
  * */
15389
15474
  saveRule: function saveRule() {
15390
15475
  var _this8 = this;
@@ -15417,8 +15502,8 @@ var functions = [{
15417
15502
  _this8.$emit('save', res);
15418
15503
  });
15419
15504
  },
15420
- /**
15421
- * 打开弹框
15505
+ /**
15506
+ * 打开弹框
15422
15507
  * */
15423
15508
  openDialog: function openDialog() {
15424
15509
  this.postData.exprExec = this.showContent;
@@ -15464,7 +15549,7 @@ var bnFunText_component = normalizeComponent(
15464
15549
  )
15465
15550
 
15466
15551
  /* harmony default export */ const bnFunText = (bnFunText_component.exports);
15467
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=template&id=a086af00&scoped=true
15552
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=template&id=a086af00&scoped=true
15468
15553
  var BnInpNumvue_type_template_id_a086af00_scoped_true_render = function render() {
15469
15554
  var _vm = this,
15470
15555
  _c = _vm._self._c;
@@ -15571,8 +15656,8 @@ var es_string_starts_with = __webpack_require__(1392);
15571
15656
  }
15572
15657
  },
15573
15658
  methods: {
15574
- /**
15575
- * input事件 实时变化
15659
+ /**
15660
+ * input事件 实时变化
15576
15661
  * */
15577
15662
  valInput: (0,external_lodash_.debounce)(function (val) {
15578
15663
  // 快速处理空值
@@ -15635,8 +15720,8 @@ var es_string_starts_with = __webpack_require__(1392);
15635
15720
  }
15636
15721
  this.val = value;
15637
15722
  }, 200),
15638
- /**
15639
- * change事件上报
15723
+ /**
15724
+ * change事件上报
15640
15725
  * */
15641
15726
  valChange: function valChange() {
15642
15727
  // 处理只输入负号或末尾小数点的中间态
@@ -15661,8 +15746,8 @@ var es_string_starts_with = __webpack_require__(1392);
15661
15746
  }
15662
15747
  this.$emit("change", this.val);
15663
15748
  },
15664
- /**
15665
- * blur事件上报
15749
+ /**
15750
+ * blur事件上报
15666
15751
  * */
15667
15752
  inputBlur: function inputBlur() {
15668
15753
  this.$emit("blur", this.val);
@@ -15696,7 +15781,7 @@ var BnInpNum_component = normalizeComponent(
15696
15781
  )
15697
15782
 
15698
15783
  /* harmony default export */ const BnInpNum = (BnInpNum_component.exports);
15699
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInputNum/BnInputNum.vue?vue&type=template&id=2baef958
15784
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInputNum/BnInputNum.vue?vue&type=template&id=2baef958
15700
15785
  var BnInputNumvue_type_template_id_2baef958_render = function render() {
15701
15786
  var _vm = this,
15702
15787
  _c = _vm._self._c;
@@ -15867,7 +15952,7 @@ var BnInputNum_component = normalizeComponent(
15867
15952
  )
15868
15953
 
15869
15954
  /* harmony default export */ const BnInputNum = (BnInputNum_component.exports);
15870
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=template&id=1d87e9a2&scoped=true
15955
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=template&id=1d87e9a2&scoped=true
15871
15956
 
15872
15957
 
15873
15958
 
@@ -16700,53 +16785,53 @@ var searchList = {
16700
16785
  title: '不为空',
16701
16786
  id: '10'
16702
16787
  }],
16703
- /*
16704
- 9: [
16705
- {title: '范围', id: '8'},
16706
- {title: '为空', id: '9'},
16707
- {title: '不为空', id: '10'},
16708
- ],
16709
- 11: [
16710
- {title: '等于', id: '1'},
16711
- {title: '不等于', id: '2'},
16712
- {title: '包含', id: '3'},
16713
- {title: '不包含', id: '4'},
16714
- {title: '包含任一项', id: '5'},
16715
- {title: '不包含任一项', id: '6'},
16716
- {title: '包含所有项', id: '7'},
16717
- {title: '范围', id: '8'},
16718
- {title: '为空', id: '9'},
16719
- {title: '不为空', id: '10'},
16720
- {title: '属于', id: '11'},
16721
- {title: '有交集', id: '12'},
16722
- {title: '无交集', id: '13'},],
16723
- 12: [
16724
- {title: '等于', id: '1'},
16725
- {title: '不等于', id: '2'},
16726
- {title: '包含', id: '3'},
16727
- {title: '不包含', id: '4'},
16728
- {title: '包含任一项', id: '5'},
16729
- {title: '不包含任一项', id: '6'},
16730
- {title: '包含所有项', id: '7'},
16731
- {title: '范围', id: '8'},
16732
- {title: '为空', id: '9'},
16733
- {title: '不为空', id: '10'},
16734
- {title: '属于', id: '11'},
16735
- {title: '有交集', id: '12'},
16736
- {title: '无交集', id: '13'},],
16737
- 13: [
16738
- {title: '等于', id: '1'},
16739
- {title: '不等于', id: '2'},
16740
- {title: '包含', id: '3'},
16741
- {title: '不包含', id: '4'},
16742
- {title: '包含任一项', id: '5'},
16743
- {title: '不包含任一项', id: '6'},
16744
- {title: '包含所有项', id: '7'},
16745
- {title: '范围', id: '8'},
16746
- {title: '为空', id: '9'},
16747
- {title: '不为空', id: '10'},
16748
- {title: '属于', id: '11'},
16749
- {title: '有交集', id: '12'},
16788
+ /*
16789
+ 9: [
16790
+ {title: '范围', id: '8'},
16791
+ {title: '为空', id: '9'},
16792
+ {title: '不为空', id: '10'},
16793
+ ],
16794
+ 11: [
16795
+ {title: '等于', id: '1'},
16796
+ {title: '不等于', id: '2'},
16797
+ {title: '包含', id: '3'},
16798
+ {title: '不包含', id: '4'},
16799
+ {title: '包含任一项', id: '5'},
16800
+ {title: '不包含任一项', id: '6'},
16801
+ {title: '包含所有项', id: '7'},
16802
+ {title: '范围', id: '8'},
16803
+ {title: '为空', id: '9'},
16804
+ {title: '不为空', id: '10'},
16805
+ {title: '属于', id: '11'},
16806
+ {title: '有交集', id: '12'},
16807
+ {title: '无交集', id: '13'},],
16808
+ 12: [
16809
+ {title: '等于', id: '1'},
16810
+ {title: '不等于', id: '2'},
16811
+ {title: '包含', id: '3'},
16812
+ {title: '不包含', id: '4'},
16813
+ {title: '包含任一项', id: '5'},
16814
+ {title: '不包含任一项', id: '6'},
16815
+ {title: '包含所有项', id: '7'},
16816
+ {title: '范围', id: '8'},
16817
+ {title: '为空', id: '9'},
16818
+ {title: '不为空', id: '10'},
16819
+ {title: '属于', id: '11'},
16820
+ {title: '有交集', id: '12'},
16821
+ {title: '无交集', id: '13'},],
16822
+ 13: [
16823
+ {title: '等于', id: '1'},
16824
+ {title: '不等于', id: '2'},
16825
+ {title: '包含', id: '3'},
16826
+ {title: '不包含', id: '4'},
16827
+ {title: '包含任一项', id: '5'},
16828
+ {title: '不包含任一项', id: '6'},
16829
+ {title: '包含所有项', id: '7'},
16830
+ {title: '范围', id: '8'},
16831
+ {title: '为空', id: '9'},
16832
+ {title: '不为空', id: '10'},
16833
+ {title: '属于', id: '11'},
16834
+ {title: '有交集', id: '12'},
16750
16835
  {title: '无交集', id: '13'},],*/
16751
16836
  15: [{
16752
16837
  title: '为空',
@@ -16758,7 +16843,7 @@ var searchList = {
16758
16843
  };
16759
16844
 
16760
16845
  //每个组件类型对应的筛选类型列表
16761
- var submitCheckTypeList = (/* unused pure expression or super */ null && ({
16846
+ var submitCheckTypeList = {
16762
16847
  1: '等于',
16763
16848
  2: '不等于',
16764
16849
  3: '包含',
@@ -16793,7 +16878,7 @@ var submitCheckTypeList = (/* unused pure expression or super */ null && ({
16793
16878
  101: '变更为',
16794
16879
  102: '变更为空',
16795
16880
  103: '变更为有值'
16796
- }));
16881
+ };
16797
16882
  var valueTypeList = {
16798
16883
  //{id: '0', title: '自定义填写'},{id: '1', title: '其他组件'},{id: '2', title: '当前组件选项'}, {id: '3', title: '空值'},{id: '4', title: '其他步骤'},{ id: '5', title: '工作表属性' }
16799
16884
  '-1': [{
@@ -16897,7 +16982,7 @@ var subTypeList = {
16897
16982
  //部分支持 {id: '6', title: '过去x时'}, {id: '7', title: '未来x时'}, {id: '8', title: '过去x月'}, {id: '9', title: '未来x月'},
16898
16983
  ]
16899
16984
  };
16900
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/cascadeCondition.vue?vue&type=template&id=0b10733b
16985
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/cascadeCondition.vue?vue&type=template&id=0b10733b
16901
16986
  var cascadeConditionvue_type_template_id_0b10733b_render = function render() {
16902
16987
  var _vm = this,
16903
16988
  _c = _vm._self._c;
@@ -16987,7 +17072,7 @@ function _createForOfIteratorHelper(r, e) {
16987
17072
  };
16988
17073
  }
16989
17074
 
16990
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/BnSwitch.vue?vue&type=template&id=809f2340
17075
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/BnSwitch.vue?vue&type=template&id=809f2340
16991
17076
  var BnSwitchvue_type_template_id_809f2340_render = function render() {
16992
17077
  var _vm = this,
16993
17078
  _c = _vm._self._c;
@@ -17234,10 +17319,10 @@ var BnSwitch_component = normalizeComponent(
17234
17319
  }
17235
17320
  this.$emit('update:sourceTitle', this.valueTitle);
17236
17321
  },
17237
- /**
17238
- * @param data 列表
17239
- * @param value 编辑回显时已保存的值 []
17240
- * @returns {*|Array|Array|*}
17322
+ /**
17323
+ * @param data 列表
17324
+ * @param value 编辑回显时已保存的值 []
17325
+ * @returns {*|Array|Array|*}
17241
17326
  * */
17242
17327
  dataFormat: function dataFormat(data, value) {
17243
17328
  return data.map(function (item) {
@@ -17247,12 +17332,12 @@ var BnSwitch_component = normalizeComponent(
17247
17332
  });
17248
17333
  });
17249
17334
  },
17250
- /**
17251
- *
17252
- * @param data 列表
17253
- * @param key 键
17254
- * @param value 值
17255
- * @returns {*|Array|String|Array|*}
17335
+ /**
17336
+ *
17337
+ * @param data 列表
17338
+ * @param key 键
17339
+ * @param value 值
17340
+ * @returns {*|Array|String|Array|*}
17256
17341
  */
17257
17342
  getChild: function getChild(data, key, value) {
17258
17343
  var _iterator = _createForOfIteratorHelper(data),
@@ -17335,7 +17420,7 @@ var cascadeCondition_component = normalizeComponent(
17335
17420
  )
17336
17421
 
17337
17422
  /* harmony default export */ const cascadeCondition = (cascadeCondition_component.exports);
17338
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/address.vue?vue&type=template&id=1199c288&scoped=true
17423
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/address.vue?vue&type=template&id=1199c288&scoped=true
17339
17424
  var addressvue_type_template_id_1199c288_scoped_true_render = function render() {
17340
17425
  var _vm = this,
17341
17426
  _c = _vm._self._c;
@@ -17395,7 +17480,7 @@ var addressvue_type_template_id_1199c288_scoped_true_render = function render()
17395
17480
  };
17396
17481
  var addressvue_type_template_id_1199c288_scoped_true_staticRenderFns = [];
17397
17482
 
17398
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/addressSet.vue?vue&type=template&id=50cd72d0&scoped=true
17483
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/addressSet.vue?vue&type=template&id=50cd72d0&scoped=true
17399
17484
  var addressSetvue_type_template_id_50cd72d0_scoped_true_render = function render() {
17400
17485
  var _vm = this,
17401
17486
  _c = _vm._self._c;
@@ -17698,7 +17783,7 @@ var address_component = normalizeComponent(
17698
17783
  )
17699
17784
 
17700
17785
  /* harmony default export */ const address = (address_component.exports);
17701
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/compositeSearch.vue?vue&type=template&id=09cb19ef&scoped=true
17786
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/compositeSearch.vue?vue&type=template&id=09cb19ef&scoped=true
17702
17787
 
17703
17788
  var compositeSearchvue_type_template_id_09cb19ef_scoped_true_render = function render() {
17704
17789
  var _vm = this,
@@ -17824,7 +17909,7 @@ var compositeSearch_component = normalizeComponent(
17824
17909
  )
17825
17910
 
17826
17911
  /* harmony default export */ const compositeSearch = (compositeSearch_component.exports);
17827
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/numberReg.vue?vue&type=template&id=04541236&scoped=true
17912
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/numberReg.vue?vue&type=template&id=04541236&scoped=true
17828
17913
  var numberRegvue_type_template_id_04541236_scoped_true_render = function render() {
17829
17914
  var _vm = this,
17830
17915
  _c = _vm._self._c;
@@ -18202,8 +18287,8 @@ var numberReg_component = normalizeComponent(
18202
18287
  this.$emit("input", val);
18203
18288
  }
18204
18289
  },
18205
- /**
18206
- * 当进入规则组件,已经选好组件id时,需要将组件信息回显
18290
+ /**
18291
+ * 当进入规则组件,已经选好组件id时,需要将组件信息回显
18207
18292
  * */
18208
18293
  columnInfo: {
18209
18294
  get: function get() {
@@ -18251,8 +18336,8 @@ var numberReg_component = normalizeComponent(
18251
18336
  }
18252
18337
  },
18253
18338
  methods: {
18254
- /**
18255
- * 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
18339
+ /**
18340
+ * 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
18256
18341
  * */
18257
18342
  changeCustomType: function changeCustomType(type) {
18258
18343
  this.arrowCustomType = type ? type : 'column';
@@ -18294,9 +18379,9 @@ var numberReg_component = normalizeComponent(
18294
18379
  value: value
18295
18380
  });
18296
18381
  },
18297
- /**
18298
- * 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
18299
- * @param {Any} e select发生变化返回的值
18382
+ /**
18383
+ * 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
18384
+ * @param {Any} e select发生变化返回的值
18300
18385
  * */
18301
18386
  columnChange: function columnChange(e) {
18302
18387
  var column = this.columnList.filter(function (i) {
@@ -18347,8 +18432,8 @@ var numberReg_component = normalizeComponent(
18347
18432
  value: value
18348
18433
  });
18349
18434
  },
18350
- /**
18351
- * 计算条件发生change
18435
+ /**
18436
+ * 计算条件发生change
18352
18437
  * */
18353
18438
  searchChange: function searchChange() {
18354
18439
  // 根据组件类型、计算条件、值类型来确定规则条件的value的类型
@@ -18359,8 +18444,8 @@ var numberReg_component = normalizeComponent(
18359
18444
  value: this.ruleVal
18360
18445
  });
18361
18446
  },
18362
- /**
18363
- * 规则值类型发生变化
18447
+ /**
18448
+ * 规则值类型发生变化
18364
18449
  * */
18365
18450
  valueTypeChange: function valueTypeChange() {
18366
18451
  // 根据组件类型、计算条件、值类型来确定规则条件的value的类型
@@ -18371,8 +18456,8 @@ var numberReg_component = normalizeComponent(
18371
18456
  value: this.ruleVal
18372
18457
  });
18373
18458
  },
18374
- /**
18375
- * 规则值子类型发生变化
18459
+ /**
18460
+ * 规则值子类型发生变化
18376
18461
  * */
18377
18462
  subTypeChange: function subTypeChange() {
18378
18463
  // 根据组件类型、计算条件、值类型来确定规则条件的value的类型
@@ -18383,8 +18468,8 @@ var numberReg_component = normalizeComponent(
18383
18468
  value: this.ruleVal
18384
18469
  });
18385
18470
  },
18386
- /**
18387
- * 规则的value发生变化
18471
+ /**
18472
+ * 规则的value发生变化
18388
18473
  * */
18389
18474
  valueChange: function valueChange(target) {
18390
18475
  if (target == 'date' && this.ruleVal[this.optionProps.value] == null) {
@@ -18399,9 +18484,9 @@ var numberReg_component = normalizeComponent(
18399
18484
  value: this.ruleVal
18400
18485
  });
18401
18486
  },
18402
- /**
18403
- * 获取该类型组件支持那些计算条件
18404
- * @param {Number} behaviorType 组件行为类型
18487
+ /**
18488
+ * 获取该类型组件支持那些计算条件
18489
+ * @param {Number} behaviorType 组件行为类型
18405
18490
  * */
18406
18491
  getSearchOptions: function getSearchOptions(behaviorType) {
18407
18492
  var optionList = [];
@@ -18420,9 +18505,9 @@ var numberReg_component = normalizeComponent(
18420
18505
  }
18421
18506
  return optionList;
18422
18507
  },
18423
- /**
18424
- * 获取该类型组件支持那些值类型
18425
- * @param {Number} behaviorType 组件行为类型
18508
+ /**
18509
+ * 获取该类型组件支持那些值类型
18510
+ * @param {Number} behaviorType 组件行为类型
18426
18511
  * */
18427
18512
  getValueOptions: function getValueOptions(column) {
18428
18513
  var optionList = [];
@@ -18440,9 +18525,9 @@ var numberReg_component = normalizeComponent(
18440
18525
  }
18441
18526
  return optionList;
18442
18527
  },
18443
- /**
18444
- * 获取该类型组件支持那些子类型列表:目前仅只是时间日期
18445
- * @param {Number} behaviorType 组件行为类型
18528
+ /**
18529
+ * 获取该类型组件支持那些子类型列表:目前仅只是时间日期
18530
+ * @param {Number} behaviorType 组件行为类型
18446
18531
  * */
18447
18532
  getSubTypeOptions: function getSubTypeOptions(behaviorType) {
18448
18533
  var optionList = [];
@@ -18460,9 +18545,9 @@ var numberReg_component = normalizeComponent(
18460
18545
  }
18461
18546
  return optionList;
18462
18547
  },
18463
- /**
18464
- * 获取该类型组件支持那些值类型
18465
- * @param {Number} behaviorType 组件行为类型
18548
+ /**
18549
+ * 获取该类型组件支持那些值类型
18550
+ * @param {Number} behaviorType 组件行为类型
18466
18551
  * */
18467
18552
  getOtherColumns: function getOtherColumns(behaviorType) {
18468
18553
  var _this = this;
@@ -18492,9 +18577,9 @@ var numberReg_component = normalizeComponent(
18492
18577
  }
18493
18578
  return optionList;
18494
18579
  },
18495
- /**
18496
- * 动态禁用
18497
- * @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
18580
+ /**
18581
+ * 动态禁用
18582
+ * @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
18498
18583
  * */
18499
18584
  isDisabled: function isDisabled(type) {
18500
18585
  if (this.$options.propsData.hasOwnProperty('disabledFun')) {
@@ -18504,11 +18589,11 @@ var numberReg_component = normalizeComponent(
18504
18589
  return false;
18505
18590
  }
18506
18591
  },
18507
- /**
18508
- * 给组件value赋予默认类型
18509
- * @param {Number} behaviorType 组件行为类型
18510
- * @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
18511
- * @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
18592
+ /**
18593
+ * 给组件value赋予默认类型
18594
+ * @param {Number} behaviorType 组件行为类型
18595
+ * @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
18596
+ * @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
18512
18597
  * */
18513
18598
  setValType: function setValType(behaviorType, searchType, valueType) {
18514
18599
  var data = '';
@@ -18588,14 +18673,14 @@ var numberReg_component = normalizeComponent(
18588
18673
  }
18589
18674
  return data;
18590
18675
  },
18591
- /**
18592
- * 校验value的数据类型,因为有时候数据类型不对组件会报错
18676
+ /**
18677
+ * 校验value的数据类型,因为有时候数据类型不对组件会报错
18593
18678
  * */
18594
18679
  checkValType: function checkValType(type) {
18595
18680
  return _typeof(this.ruleVal[this.optionProps.value]) == type;
18596
18681
  },
18597
- /**
18598
- * 删除规则
18682
+ /**
18683
+ * 删除规则
18599
18684
  * */
18600
18685
  del: function del() {
18601
18686
  this.$emit('del', {
@@ -18603,8 +18688,8 @@ var numberReg_component = normalizeComponent(
18603
18688
  value: this.ruleVal
18604
18689
  });
18605
18690
  },
18606
- /**
18607
- * 清空规则内容
18691
+ /**
18692
+ * 清空规则内容
18608
18693
  * */
18609
18694
  empty: function empty() {
18610
18695
  // 清空计算类型的值
@@ -18612,15 +18697,15 @@ var numberReg_component = normalizeComponent(
18612
18697
  // 清空value
18613
18698
  this.ruleVal[this.optionProps.value] = this.setValType(this.ruleVal.behaviorType);
18614
18699
  },
18615
- /**
18616
- * 设置触发值
18700
+ /**
18701
+ * 设置触发值
18617
18702
  * */
18618
18703
  setDefaultSearch: function setDefaultSearch() {
18619
18704
  // 清空计算类型的值
18620
18705
  this.ruleVal[this.optionProps.searchType] = this.getSearchOptions(this.ruleVal.behaviorType)[0].id;
18621
18706
  },
18622
- /**
18623
- * 日期,日期区间,判断时间类型
18707
+ /**
18708
+ * 日期,日期区间,判断时间类型
18624
18709
  * */
18625
18710
  getDateType: function getDateType(type) {
18626
18711
  var dateType = type == "date" ? "datetime" : "datetimerange";
@@ -18643,8 +18728,8 @@ var numberReg_component = normalizeComponent(
18643
18728
  }
18644
18729
  return dateType;
18645
18730
  },
18646
- /**
18647
- * 日期,日期区间,判断时间格式化
18731
+ /**
18732
+ * 日期,日期区间,判断时间格式化
18648
18733
  * */
18649
18734
  getDateFormat: function getDateFormat() {
18650
18735
  var format = "yyyy-MM-dd HH:mm:ss";
@@ -18701,7 +18786,7 @@ var bnRuleCondition_component = normalizeComponent(
18701
18786
  )
18702
18787
 
18703
18788
  /* harmony default export */ const bnRuleCondition = (bnRuleCondition_component.exports);
18704
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnSelect/select.vue?vue&type=template&id=12683c88&scoped=true
18789
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnSelect/select.vue?vue&type=template&id=12683c88&scoped=true
18705
18790
 
18706
18791
 
18707
18792
 
@@ -19362,10 +19447,10 @@ function util_toPinYin(chart) {
19362
19447
  return util_getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
19363
19448
  }
19364
19449
 
19365
- /**
19366
- * 匹配大小写字母拼音 返回Boolean值
19367
- * @param {*} chart 需要匹配的字符
19368
- * @param {*} data 需要进行匹配的字符
19450
+ /**
19451
+ * 匹配大小写字母拼音 返回Boolean值
19452
+ * @param {*} chart 需要匹配的字符
19453
+ * @param {*} data 需要进行匹配的字符
19369
19454
  */
19370
19455
  function util_searchToBoolean(chart, data) {
19371
19456
  return util_toPinYin(data || '').indexOf(util_toPinYin(chart || '')) !== -1;
@@ -19679,18 +19764,18 @@ function util_searchToBoolean(chart, data) {
19679
19764
  this.initSelectDataDebounced.cancel();
19680
19765
  },
19681
19766
  methods: {
19682
- /**
19683
- * 下拉选项显示 返回Boolean true:显示
19684
- * @param {Object} item 某一选择的值、option的值
19767
+ /**
19768
+ * 下拉选项显示 返回Boolean true:显示
19769
+ * @param {Object} item 某一选择的值、option的值
19685
19770
  */
19686
19771
  optionHideFunction: function optionHideFunction(item) {
19687
19772
  if (this.optionHideFun) return !this.optionHideFun(item) && !item.isHide;else return !item.isHide;
19688
19773
  },
19689
- /**
19690
- * Option中checkbox当绑定值变化时触发的事件 更新后的值
19691
- * @change="onCheckChange(checkBoxValue(labelInValue?item:item[optionProps['value']]), labelInValue?item:item[optionProps['value']])"
19692
- * @param {Boolean} val checkbox更新后的值
19693
- * @param {Object} item option的值
19774
+ /**
19775
+ * Option中checkbox当绑定值变化时触发的事件 更新后的值
19776
+ * @change="onCheckChange(checkBoxValue(labelInValue?item:item[optionProps['value']]), labelInValue?item:item[optionProps['value']])"
19777
+ * @param {Boolean} val checkbox更新后的值
19778
+ * @param {Object} item option的值
19694
19779
  */
19695
19780
  onCheckChange: function onCheckChange(val, item) {
19696
19781
  var _this = this;
@@ -19719,9 +19804,9 @@ function util_searchToBoolean(chart, data) {
19719
19804
  _this.changeValue();
19720
19805
  });
19721
19806
  },
19722
- /**
19723
- * 返回option中checkbox的value状态
19724
- * @param {Object} item option的选项
19807
+ /**
19808
+ * 返回option中checkbox的value状态
19809
+ * @param {Object} item option的选项
19725
19810
  */
19726
19811
  checkBoxValue: function checkBoxValue(item) {
19727
19812
  var _this2 = this;
@@ -19738,22 +19823,22 @@ function util_searchToBoolean(chart, data) {
19738
19823
  return false;
19739
19824
  }
19740
19825
  },
19741
- /**
19742
- * 下拉选项禁用 返回Boolean true:禁用
19743
- * @param {Object} item 某一选择的值、option的值
19826
+ /**
19827
+ * 下拉选项禁用 返回Boolean true:禁用
19828
+ * @param {Object} item 某一选择的值、option的值
19744
19829
  */
19745
19830
  optionDisabledFunction: function optionDisabledFunction(item) {
19746
19831
  if (this.optionDisabledFun) return this.optionDisabledFun(item) || item.disabled;else return item.disabled;
19747
19832
  },
19748
- /**
19749
- * 多选模式下移除tag时触发
19750
- * @param {Object} tag 移除的tag值
19833
+ /**
19834
+ * 多选模式下移除tag时触发
19835
+ * @param {Object} tag 移除的tag值
19751
19836
  */
19752
19837
  removeTag: function removeTag(tag) {
19753
19838
  this.$emit('removeTag', tag);
19754
19839
  },
19755
- /**
19756
- * select的change事件
19840
+ /**
19841
+ * select的change事件
19757
19842
  */
19758
19843
  changeValue: function changeValue() {
19759
19844
  var _this3 = this;
@@ -19783,9 +19868,9 @@ function util_searchToBoolean(chart, data) {
19783
19868
  }
19784
19869
  });
19785
19870
  },
19786
- /**
19787
- * 下拉框出现/隐藏时触发
19788
- * @param {Boolean} bol 出现则为 true,隐藏则为 false
19871
+ /**
19872
+ * 下拉框出现/隐藏时触发
19873
+ * @param {Boolean} bol 出现则为 true,隐藏则为 false
19789
19874
  */
19790
19875
  visibleChange: function visibleChange(bol) {
19791
19876
  var _this4 = this;
@@ -19852,15 +19937,15 @@ function util_searchToBoolean(chart, data) {
19852
19937
  });
19853
19938
  }
19854
19939
  },
19855
- /**
19856
- * 可清空的单选模式下用户点击清空按钮时触发
19940
+ /**
19941
+ * 可清空的单选模式下用户点击清空按钮时触发
19857
19942
  */
19858
19943
  clear: function clear() {
19859
19944
  this.$emit('clear');
19860
19945
  },
19861
- /**
19862
- * 返回option的label data: option数据
19863
- * @param {Object} data option数据
19946
+ /**
19947
+ * 返回option的label data: option数据
19948
+ * @param {Object} data option数据
19864
19949
  */
19865
19950
  showLabel: function showLabel(data) {
19866
19951
  if (this.optionProps['label'] instanceof Function) {
@@ -19869,9 +19954,9 @@ function util_searchToBoolean(chart, data) {
19869
19954
  return data[this.optionProps['label']];
19870
19955
  }
19871
19956
  },
19872
- /**
19873
- * 快速搜索选项
19874
- * @param {String} val 搜索的值
19957
+ /**
19958
+ * 快速搜索选项
19959
+ * @param {String} val 搜索的值
19875
19960
  */
19876
19961
  filterMethod: function filterMethod(val) {
19877
19962
  var _this5 = this;
@@ -19893,8 +19978,8 @@ function util_searchToBoolean(chart, data) {
19893
19978
  this.loadingOptionList();
19894
19979
  }
19895
19980
  },
19896
- /**
19897
- * 判断是否是全选状态
19981
+ /**
19982
+ * 判断是否是全选状态
19898
19983
  */
19899
19984
  isSelectAll: function isSelectAll() {
19900
19985
  var _this6 = this;
@@ -19918,8 +20003,8 @@ function util_searchToBoolean(chart, data) {
19918
20003
  }
19919
20004
  }
19920
20005
  },
19921
- /**
19922
- * 全选事件
20006
+ /**
20007
+ * 全选事件
19923
20008
  */
19924
20009
  onSelectAll: function onSelectAll() {
19925
20010
  var _this7 = this;
@@ -19957,14 +20042,14 @@ function util_searchToBoolean(chart, data) {
19957
20042
  this.isIndeterminate = false;
19958
20043
  this.changeValue();
19959
20044
  },
19960
- /**
19961
- * 隐藏下拉选择框事件
20045
+ /**
20046
+ * 隐藏下拉选择框事件
19962
20047
  */
19963
20048
  onConfirm: function onConfirm() {
19964
20049
  this.$refs.selectBox.blur();
19965
20050
  },
19966
- /**
19967
- * 滚动加载
20051
+ /**
20052
+ * 滚动加载
19968
20053
  */
19969
20054
  loadMore: function loadMore() {
19970
20055
  // 判断是否执行远程搜索
@@ -19990,8 +20075,8 @@ function util_searchToBoolean(chart, data) {
19990
20075
  this.isSelectAll();
19991
20076
  }
19992
20077
  },
19993
- /**
19994
- * 请求内部数据源
20078
+ /**
20079
+ * 请求内部数据源
19995
20080
  */
19996
20081
  loadOption: function loadOption(type) {
19997
20082
  var _this8 = this;
@@ -20048,8 +20133,8 @@ function util_searchToBoolean(chart, data) {
20048
20133
  _this8.showMore = false;
20049
20134
  });
20050
20135
  },
20051
- /**
20052
- * 初始化远程搜索数据
20136
+ /**
20137
+ * 初始化远程搜索数据
20053
20138
  */
20054
20139
  initRemoteMethod: function initRemoteMethod() {
20055
20140
  this.moduleDefinition = [];
@@ -20070,8 +20155,8 @@ function util_searchToBoolean(chart, data) {
20070
20155
  this.loadMore();
20071
20156
  }
20072
20157
  },
20073
- /**
20074
- * 初始化组件的数据
20158
+ /**
20159
+ * 初始化组件的数据
20075
20160
  */
20076
20161
  initSelectData: function initSelectData() {
20077
20162
  var _this9 = this;
@@ -20177,8 +20262,8 @@ function util_searchToBoolean(chart, data) {
20177
20262
  }
20178
20263
  },
20179
20264
  computed: {
20180
- /**
20181
- * option 展示的列表
20265
+ /**
20266
+ * option 展示的列表
20182
20267
  */
20183
20268
  optionShowList: function optionShowList() {
20184
20269
  var _this0 = this;
@@ -20215,8 +20300,8 @@ function util_searchToBoolean(chart, data) {
20215
20300
  return this.total + (((_this$optionList = this.optionList) === null || _this$optionList === void 0 ? void 0 : _this$optionList.length) || 0);
20216
20301
  }
20217
20302
  },
20218
- /**
20219
- * option 所有数据的id数组
20303
+ /**
20304
+ * option 所有数据的id数组
20220
20305
  */
20221
20306
  pageOptionListIds: function pageOptionListIds() {
20222
20307
  return this.optionList.slice(0, 10);
@@ -20249,8 +20334,8 @@ function util_searchToBoolean(chart, data) {
20249
20334
  valueKeys: function valueKeys() {
20250
20335
  return Array.from(new Set([].concat(_toConsumableArray(Object.values(this.optionProps)), _toConsumableArray(this.valueProps))));
20251
20336
  },
20252
- /**
20253
- * select的value数据
20337
+ /**
20338
+ * select的value数据
20254
20339
  */
20255
20340
  select: {
20256
20341
  get: function get() {
@@ -20287,8 +20372,8 @@ function util_searchToBoolean(chart, data) {
20287
20372
  }
20288
20373
  }
20289
20374
  },
20290
- /**
20291
- * select 的 popperClass
20375
+ /**
20376
+ * select 的 popperClass
20292
20377
  */
20293
20378
  popperClassName: function popperClassName() {
20294
20379
  var className = "bytenew-select-popper ".concat(this.popperClass || '');
@@ -20413,7 +20498,7 @@ var select_component = normalizeComponent(
20413
20498
  )
20414
20499
 
20415
20500
  /* harmony default export */ const BnSelect_select = (select_component.exports);
20416
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=template&id=6a5eae5b&scoped=true
20501
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=template&id=6a5eae5b&scoped=true
20417
20502
 
20418
20503
 
20419
20504
  var BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_render = function render() {
@@ -20818,10 +20903,10 @@ function _asyncToGenerator(n) {
20818
20903
  handleBlurs: function handleBlurs() {
20819
20904
  this.visible = false;
20820
20905
  },
20821
- /**
20822
- * @name 选择change
20823
- * @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
20824
- * @param {*} record
20906
+ /**
20907
+ * @name 选择change
20908
+ * @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
20909
+ * @param {*} record
20825
20910
  */
20826
20911
  selectItem: function selectItem(record) {
20827
20912
  if (this.isSpecialTax) {
@@ -21005,22 +21090,22 @@ var es_string_pad_start = __webpack_require__(8156);
21005
21090
 
21006
21091
 
21007
21092
 
21008
- /**
21009
- * 组件库全局配置
21010
- * 用于解决组件库打包后无法获取使用方项目环境变量的问题
21093
+ /**
21094
+ * 组件库全局配置
21095
+ * 用于解决组件库打包后无法获取使用方项目环境变量的问题
21011
21096
  */
21012
21097
 
21013
21098
  // 全局配置对象
21014
- var globalConfig = (/* unused pure expression or super */ null && ({
21099
+ var globalConfig = {
21015
21100
  // API基础URL
21016
21101
  apiBaseUrl: ''
21017
21102
  // 其他配置项可以在这里添加
21018
- }));
21103
+ };
21019
21104
 
21020
- /**
21021
- * 设置全局配置
21022
- * @param {Object} config 配置对象
21023
- * @param {String} config.apiBaseUrl API基础URL
21105
+ /**
21106
+ * 设置全局配置
21107
+ * @param {Object} config 配置对象
21108
+ * @param {String} config.apiBaseUrl API基础URL
21024
21109
  */
21025
21110
  function setGlobalConfig(config) {
21026
21111
  if (config.apiBaseUrl !== undefined) {
@@ -21034,17 +21119,17 @@ function setGlobalConfig(config) {
21034
21119
  });
21035
21120
  }
21036
21121
 
21037
- /**
21038
- * 获取全局配置
21039
- * @returns {Object} 配置对象
21122
+ /**
21123
+ * 获取全局配置
21124
+ * @returns {Object} 配置对象
21040
21125
  */
21041
21126
  function getGlobalConfig() {
21042
21127
  return globalConfig;
21043
21128
  }
21044
21129
 
21045
- /**
21046
- * 获取API基础URL
21047
- * @returns {String} API基础URL
21130
+ /**
21131
+ * 获取API基础URL
21132
+ * @returns {String} API基础URL
21048
21133
  */
21049
21134
  function getApiBaseUrl() {
21050
21135
  var _window$__BN_CONFIG__, _import$meta$env;
@@ -21067,11 +21152,11 @@ function getApiBaseUrl() {
21067
21152
  console.warn('API基础URL未配置,请在使用组件库前调用 setGlobalConfig 设置 apiBaseUrl');
21068
21153
  return '';
21069
21154
  }
21070
- /* harmony default export */ const config = ((/* unused pure expression or super */ null && ({
21155
+ /* harmony default export */ const config = ({
21071
21156
  setGlobalConfig: setGlobalConfig,
21072
21157
  getGlobalConfig: getGlobalConfig,
21073
21158
  getApiBaseUrl: getApiBaseUrl
21074
- })));
21159
+ });
21075
21160
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
21076
21161
  var es_array_sort = __webpack_require__(6910);
21077
21162
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
@@ -21142,11 +21227,11 @@ var mArea = {}; //以区为级别的数据 里面包括 p:省 c:市
21142
21227
 
21143
21228
  var mStreet = {}; //以街道为级别的数据 里面包括 c:市 a:区
21144
21229
 
21145
- /**
21146
- * 处理原始地址数据转换成专用数据
21147
- * @param list 原始数据
21148
- * @param init 是否初始化 如传空 已转换过不会再次转换
21149
- * @returns {boolean}
21230
+ /**
21231
+ * 处理原始地址数据转换成专用数据
21232
+ * @param list 原始数据
21233
+ * @param init 是否初始化 如传空 已转换过不会再次转换
21234
+ * @returns {boolean}
21150
21235
  */
21151
21236
  function parseArea(list, init) {
21152
21237
  if (!init && defaultData.length) {
@@ -21198,11 +21283,11 @@ function parseArea(list, init) {
21198
21283
  });
21199
21284
  }
21200
21285
 
21201
- /**
21202
- * 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
21203
- * @param address 任意地址字符串
21204
- * @param sourceData 组件配置,如 extraInfo.isFourAddress
21205
- * @returns {{name: string, mobile: string, detail: string, zip_code: string, phone: string}}
21286
+ /**
21287
+ * 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
21288
+ * @param address 任意地址字符串
21289
+ * @param sourceData 组件配置,如 extraInfo.isFourAddress
21290
+ * @returns {{name: string, mobile: string, detail: string, zip_code: string, phone: string}}
21206
21291
  */
21207
21292
  function parseAddressDetail(address, sourceData) {
21208
21293
  var parse = {
@@ -21337,13 +21422,13 @@ function parseAddressDetail(address, sourceData) {
21337
21422
  return parse;
21338
21423
  }
21339
21424
 
21340
- /**
21341
- * 正向解析模式
21342
- * 从前到后按 province city addr 逐级筛选
21343
- * 有city的值即可说明解析成功
21344
- * 此模式对地址顺序有要求
21345
- * @param address
21346
- * @returns {{province: string, city: string, area: string, addr: string}}
21425
+ /**
21426
+ * 正向解析模式
21427
+ * 从前到后按 province city addr 逐级筛选
21428
+ * 有city的值即可说明解析成功
21429
+ * 此模式对地址顺序有要求
21430
+ * @param address
21431
+ * @returns {{province: string, city: string, area: string, addr: string}}
21347
21432
  */
21348
21433
  function detail_parse_forward(address, sourceData) {
21349
21434
  var parse = {
@@ -21437,12 +21522,12 @@ function detail_parse_forward(address, sourceData) {
21437
21522
  return parse;
21438
21523
  }
21439
21524
 
21440
- /**
21441
- * 逆向解析 从后【县,区,旗】往前解析
21442
- * 有地区就能大概返回地址了
21443
- * @param address
21444
- * @param ignoreArea 是否忽视区 因为地址中含有区容易导致匹配错误 例:山东省蓬莱市黄海花园东区西门宝威学堂 曲荣声收15753572456
21445
- * @returns {{province: string, city: string, area: string, name: string, _area: string, addr: string}}
21525
+ /**
21526
+ * 逆向解析 从后【县,区,旗】往前解析
21527
+ * 有地区就能大概返回地址了
21528
+ * @param address
21529
+ * @param ignoreArea 是否忽视区 因为地址中含有区容易导致匹配错误 例:山东省蓬莱市黄海花园东区西门宝威学堂 曲荣声收15753572456
21530
+ * @returns {{province: string, city: string, area: string, name: string, _area: string, addr: string}}
21446
21531
  */
21447
21532
  function detail_parse(address) {
21448
21533
  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
@@ -21614,22 +21699,22 @@ function detail_parse(address) {
21614
21699
  }
21615
21700
  var MUNICIPALITIES = ['上海', '北京', '天津', '重庆'];
21616
21701
 
21617
- /**
21618
- * 统一换行符格式
21702
+ /**
21703
+ * 统一换行符格式
21619
21704
  */
21620
21705
  function normalizeLineBreaks(address) {
21621
21706
  return String(address || '').replace(/\r\n/g, '\n').replace(/\r/g, '\n').replace(/\t/g, ' ');
21622
21707
  }
21623
21708
 
21624
- /**
21625
- * 常见地址字段标签(姓名:、详细地址: 等),较长标签优先匹配
21709
+ /**
21710
+ * 常见地址字段标签(姓名:、详细地址: 等),较长标签优先匹配
21626
21711
  */
21627
21712
  var ADDRESS_LABEL_PATTERN = '(?:详细地址|收货地址|联系地址|收件地址|邮政编码|手机号码|联系电话|联系方式|收货人|收件人|联系人|姓名|名字|手机号|邮编|收货|地址|详细|固话|电话)[::]';
21628
21713
  var ADDRESS_LABEL_REG = new RegExp(ADDRESS_LABEL_PATTERN, 'g');
21629
21714
  var ADDRESS_LABEL_TEST_REG = new RegExp(ADDRESS_LABEL_PATTERN);
21630
21715
 
21631
- /**
21632
- * 去除「姓名:」「详细地址:」等字段标签前缀
21716
+ /**
21717
+ * 去除「姓名:」「详细地址:」等字段标签前缀
21633
21718
  */
21634
21719
  function stripAddressLabels(text) {
21635
21720
  return String(text || '').replace(ADDRESS_LABEL_REG, ' ');
@@ -21637,8 +21722,8 @@ function stripAddressLabels(text) {
21637
21722
  var NAME_LABELS = ['姓名', '名字', '联系人', '收货人', '收件人'];
21638
21723
  var PHONE_LABELS = ['电话', '手机号', '手机号码', '联系电话', '联系方式', '固话'];
21639
21724
 
21640
- /**
21641
- * 解析「标签:值」格式的单行
21725
+ /**
21726
+ * 解析「标签:值」格式的单行
21642
21727
  */
21643
21728
  function matchLabeledLine(line) {
21644
21729
  var match = line.match(/^([\u4e00-\u9fa5A-Za-z0-9]+)[::]\s*(.+)$/);
@@ -21651,9 +21736,9 @@ function matchLabeledLine(line) {
21651
21736
  };
21652
21737
  }
21653
21738
 
21654
- /**
21655
- * 按换行符拆分段落,去除行内空白后用空格拼接为单行
21656
- * 若每行是「标签:值」格式,则按标签分类提取姓名、电话和地址
21739
+ /**
21740
+ * 按换行符拆分段落,去除行内空白后用空格拼接为单行
21741
+ * 若每行是「标签:值」格式,则按标签分类提取姓名、电话和地址
21657
21742
  */
21658
21743
  function joinAddressLines(address) {
21659
21744
  var normalized = normalizeLineBreaks(address);
@@ -21700,11 +21785,11 @@ function joinAddressLines(address) {
21700
21785
  };
21701
21786
  }
21702
21787
 
21703
- /**
21704
- * 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
21705
- * @param {object} options
21706
- * @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
21707
- * @returns {array|null}
21788
+ /**
21789
+ * 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
21790
+ * @param {object} options
21791
+ * @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
21792
+ * @returns {array|null}
21708
21793
  */
21709
21794
  function getGlobalAreaList() {
21710
21795
  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -21727,8 +21812,8 @@ function getGlobalAreaList() {
21727
21812
  return null;
21728
21813
  }
21729
21814
 
21730
- /**
21731
- * 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
21815
+ /**
21816
+ * 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
21732
21817
  */
21733
21818
  function checkMunicipalityChars(str, name) {
21734
21819
  var prefix = str.substring(0, 8);
@@ -21737,8 +21822,8 @@ function checkMunicipalityChars(str, name) {
21737
21822
  return firstIndex !== -1 && firstIndex === lastIndex;
21738
21823
  }
21739
21824
 
21740
- /**
21741
- * 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
21825
+ /**
21826
+ * 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
21742
21827
  */
21743
21828
  function preprocessAddress(address) {
21744
21829
  var cleanAddress = normalizeLineBreaks(address).replace(/[ \t\f\v]+/g, '');
@@ -21759,13 +21844,13 @@ function preprocessAddress(address) {
21759
21844
  return cleanAddress;
21760
21845
  }
21761
21846
 
21762
- /**
21763
- * 自动识别地址信息,格式化为省市区街道和收件人等信息
21764
- * @param {string} address 原始地址字符串(可含空格、姓名、手机号等)
21765
- * @param {object} [sourceData] 组件 sourceData,用于四级地址等配置(extraInfo.isFourAddress)
21766
- * @param {object} [options] 可选配置
21767
- * @param {array} [options.areaList] 地址库原始数据,默认从全局 areaList 获取
21768
- * @returns {{name: string, mobile: string, phone: string, zip_code: string, extensionNumber: string, province: string, city: string, area: string, street: string, addr: string, result: *}}
21847
+ /**
21848
+ * 自动识别地址信息,格式化为省市区街道和收件人等信息
21849
+ * @param {string} address 原始地址字符串(可含空格、姓名、手机号等)
21850
+ * @param {object} [sourceData] 组件 sourceData,用于四级地址等配置(extraInfo.isFourAddress)
21851
+ * @param {object} [options] 可选配置
21852
+ * @param {array} [options.areaList] 地址库原始数据,默认从全局 areaList 获取
21853
+ * @returns {{name: string, mobile: string, phone: string, zip_code: string, extensionNumber: string, province: string, city: string, area: string, street: string, addr: string, result: *}}
21769
21854
  */
21770
21855
  function addressParse(address, sourceData) {
21771
21856
  var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
@@ -21849,10 +21934,10 @@ function addressParse(address, sourceData) {
21849
21934
 
21850
21935
 
21851
21936
 
21852
- /**
21853
- * 规则配置默认支持的条件
21937
+ /**
21938
+ * 规则配置默认支持的条件
21854
21939
  * */
21855
- var ruleTypeMap = (/* unused pure expression or super */ null && ({
21940
+ var ruleTypeMap = {
21856
21941
  1: [{
21857
21942
  title: '等于',
21858
21943
  id: '1'
@@ -22253,71 +22338,71 @@ var ruleTypeMap = (/* unused pure expression or super */ null && ({
22253
22338
  title: '不为空',
22254
22339
  id: '10'
22255
22340
  }]
22256
- /*8: [
22257
- {title: '范围', id: '8'},
22258
- {title: '为空', id: '9'},
22259
- {title: '不为空', id: '10'},
22260
- // {title: '属于', id: '11'},
22261
- // {title: '有交集', id: '12'},
22262
- // {title: '无交集', id: '13'},
22263
- ],
22264
- 9: [
22265
- {title: '范围', id: '8'},
22266
- {title: '为空', id: '9'},
22267
- {title: '不为空', id: '10'},
22268
- ],
22269
- 11: [
22270
- {title: '等于', id: '1'},
22271
- {title: '不等于', id: '2'},
22272
- {title: '包含', id: '3'},
22273
- {title: '不包含', id: '4'},
22274
- {title: '包含任一项', id: '5'},
22275
- {title: '不包含任一项', id: '6'},
22276
- {title: '包含所有项', id: '7'},
22277
- {title: '范围', id: '8'},
22278
- {title: '为空', id: '9'},
22279
- {title: '不为空', id: '10'},
22280
- {title: '属于', id: '11'},
22281
- {title: '有交集', id: '12'},
22282
- {title: '无交集', id: '13'},],
22283
- 12: [
22284
- {title: '等于', id: '1'},
22285
- {title: '不等于', id: '2'},
22286
- {title: '包含', id: '3'},
22287
- {title: '不包含', id: '4'},
22288
- {title: '包含任一项', id: '5'},
22289
- {title: '不包含任一项', id: '6'},
22290
- {title: '包含所有项', id: '7'},
22291
- {title: '范围', id: '8'},
22292
- {title: '为空', id: '9'},
22293
- {title: '不为空', id: '10'},
22294
- {title: '属于', id: '11'},
22295
- {title: '有交集', id: '12'},
22296
- {title: '无交集', id: '13'},],
22297
- 13: [
22298
- {title: '等于', id: '1'},
22299
- {title: '不等于', id: '2'},
22300
- {title: '包含', id: '3'},
22301
- {title: '不包含', id: '4'},
22302
- {title: '包含任一项', id: '5'},
22303
- {title: '不包含任一项', id: '6'},
22304
- {title: '包含所有项', id: '7'},
22305
- {title: '范围', id: '8'},
22306
- {title: '为空', id: '9'},
22307
- {title: '不为空', id: '10'},
22308
- {title: '属于', id: '11'},
22309
- {title: '有交集', id: '12'},
22310
- {title: '无交集', id: '13'},],
22311
- 15: [
22312
- {title: '等于', id: '1'},
22313
- {title: '为空', id: '9'},
22314
- {title: '不为空', id: '10'}
22341
+ /*8: [
22342
+ {title: '范围', id: '8'},
22343
+ {title: '为空', id: '9'},
22344
+ {title: '不为空', id: '10'},
22345
+ // {title: '属于', id: '11'},
22346
+ // {title: '有交集', id: '12'},
22347
+ // {title: '无交集', id: '13'},
22348
+ ],
22349
+ 9: [
22350
+ {title: '范围', id: '8'},
22351
+ {title: '为空', id: '9'},
22352
+ {title: '不为空', id: '10'},
22353
+ ],
22354
+ 11: [
22355
+ {title: '等于', id: '1'},
22356
+ {title: '不等于', id: '2'},
22357
+ {title: '包含', id: '3'},
22358
+ {title: '不包含', id: '4'},
22359
+ {title: '包含任一项', id: '5'},
22360
+ {title: '不包含任一项', id: '6'},
22361
+ {title: '包含所有项', id: '7'},
22362
+ {title: '范围', id: '8'},
22363
+ {title: '为空', id: '9'},
22364
+ {title: '不为空', id: '10'},
22365
+ {title: '属于', id: '11'},
22366
+ {title: '有交集', id: '12'},
22367
+ {title: '无交集', id: '13'},],
22368
+ 12: [
22369
+ {title: '等于', id: '1'},
22370
+ {title: '不等于', id: '2'},
22371
+ {title: '包含', id: '3'},
22372
+ {title: '不包含', id: '4'},
22373
+ {title: '包含任一项', id: '5'},
22374
+ {title: '不包含任一项', id: '6'},
22375
+ {title: '包含所有项', id: '7'},
22376
+ {title: '范围', id: '8'},
22377
+ {title: '为空', id: '9'},
22378
+ {title: '不为空', id: '10'},
22379
+ {title: '属于', id: '11'},
22380
+ {title: '有交集', id: '12'},
22381
+ {title: '无交集', id: '13'},],
22382
+ 13: [
22383
+ {title: '等于', id: '1'},
22384
+ {title: '不等于', id: '2'},
22385
+ {title: '包含', id: '3'},
22386
+ {title: '不包含', id: '4'},
22387
+ {title: '包含任一项', id: '5'},
22388
+ {title: '不包含任一项', id: '6'},
22389
+ {title: '包含所有项', id: '7'},
22390
+ {title: '范围', id: '8'},
22391
+ {title: '为空', id: '9'},
22392
+ {title: '不为空', id: '10'},
22393
+ {title: '属于', id: '11'},
22394
+ {title: '有交集', id: '12'},
22395
+ {title: '无交集', id: '13'},],
22396
+ 15: [
22397
+ {title: '等于', id: '1'},
22398
+ {title: '为空', id: '9'},
22399
+ {title: '不为空', id: '10'}
22315
22400
  ],*/
22316
- }));
22317
- /**
22318
- * 规则配置各组件默认支持的数值条件 当前值、选择其他组件 这种
22401
+ };
22402
+ /**
22403
+ * 规则配置各组件默认支持的数值条件 当前值、选择其他组件 这种
22319
22404
  * */
22320
- var valueTypeMap = (/* unused pure expression or super */ null && ({
22405
+ var valueTypeMap = {
22321
22406
  1: '0',
22322
22407
  2: '0',
22323
22408
  3: '2',
@@ -22333,11 +22418,11 @@ var valueTypeMap = (/* unused pure expression or super */ null && ({
22333
22418
  13: '2',
22334
22419
  14: '2',
22335
22420
  15: '2'
22336
- }));
22337
- /**
22338
- * 字段,组件数据格式化
22421
+ };
22422
+ /**
22423
+ * 字段,组件数据格式化
22339
22424
  * */
22340
- var searchTypeMap = (/* unused pure expression or super */ null && ({
22425
+ var searchTypeMap = {
22341
22426
  1: [{
22342
22427
  title: '等于',
22343
22428
  id: '1'
@@ -22695,11 +22780,11 @@ var searchTypeMap = (/* unused pure expression or super */ null && ({
22695
22780
  title: '不为空',
22696
22781
  id: '10'
22697
22782
  }]
22698
- }));
22699
- /**
22700
- * 全局默认成员列表
22783
+ };
22784
+ /**
22785
+ * 全局默认成员列表
22701
22786
  * */
22702
- var userConst = (/* unused pure expression or super */ null && ([{
22787
+ var userConst = [{
22703
22788
  title: "班牛助手(工单)",
22704
22789
  code: "10001487",
22705
22790
  id: "10001487"
@@ -22711,18 +22796,18 @@ var userConst = (/* unused pure expression or super */ null && ([{
22711
22796
  title: "班牛助手(API)",
22712
22797
  code: "110430206",
22713
22798
  id: "110430206"
22714
- }]));
22799
+ }];
22715
22800
 
22716
- /**
22717
- * 通过id列表,和options将title拼接出来 ,id的key名和 title的key名可以传过来,默认是id和title
22718
- * id:[1,2] options:[{id:1,title:'name'},{id:2,title:'name2'}] 或 {1:'name',2:'name2'}
22719
- * 结果返回 'name,name2'
22720
- * @param {Array} ids ID列表
22721
- * @param {Array|Object} options 选项数组或对象映射
22722
- * @param {String} idKey ID的键名,默认为'id',仅当options为数组时使用
22723
- * @param {String} nameKey 名称的键名,默认为'title',仅当options为数组时使用
22724
- * @param {String} separator 自定义分隔符,默认为中文逗号','
22725
- * @return {String} 拼接后的字符串
22801
+ /**
22802
+ * 通过id列表,和options将title拼接出来 ,id的key名和 title的key名可以传过来,默认是id和title
22803
+ * id:[1,2] options:[{id:1,title:'name'},{id:2,title:'name2'}] 或 {1:'name',2:'name2'}
22804
+ * 结果返回 'name,name2'
22805
+ * @param {Array} ids ID列表
22806
+ * @param {Array|Object} options 选项数组或对象映射
22807
+ * @param {String} idKey ID的键名,默认为'id',仅当options为数组时使用
22808
+ * @param {String} nameKey 名称的键名,默认为'title',仅当options为数组时使用
22809
+ * @param {String} separator 自定义分隔符,默认为中文逗号','
22810
+ * @return {String} 拼接后的字符串
22726
22811
  * */
22727
22812
  function idsToTexts(ids, options) {
22728
22813
  var idKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'id';
@@ -22760,8 +22845,8 @@ function idsToTexts(ids, options) {
22760
22845
  return result;
22761
22846
  }
22762
22847
 
22763
- /**
22764
- * 向输入框的光标位置插入字符
22848
+ /**
22849
+ * 向输入框的光标位置插入字符
22765
22850
  * */
22766
22851
  function insertText(dom, value) {
22767
22852
  var selectRange;
@@ -22788,9 +22873,9 @@ function insertText(dom, value) {
22788
22873
  return dom.value;
22789
22874
  }
22790
22875
 
22791
- /**
22792
- * 格式化查看、高级筛选的组件信息
22793
- * @param Object component 组件信息
22876
+ /**
22877
+ * 格式化查看、高级筛选的组件信息
22878
+ * @param Object component 组件信息
22794
22879
  * */
22795
22880
  function tidyRuleComponent(component) {
22796
22881
  var _ruleTypeMap$componen;
@@ -22905,8 +22990,8 @@ function tidyRuleComponent(component) {
22905
22990
  return data;
22906
22991
  }
22907
22992
 
22908
- /**
22909
- * 格式化规则配置组件列表
22993
+ /**
22994
+ * 格式化规则配置组件列表
22910
22995
  * */
22911
22996
  function tidyRuleComponents(components, appId, tableId) {
22912
22997
  var componentList = [];
@@ -22936,8 +23021,8 @@ function tidyRuleComponents(components, appId, tableId) {
22936
23021
  return componentList;
22937
23022
  }
22938
23023
 
22939
- /**
22940
- * 将高级筛选的value格式化成json
23024
+ /**
23025
+ * 将高级筛选的value格式化成json
22941
23026
  * */
22942
23027
  function searchValueToJson(components) {
22943
23028
  var list = cloneDeep(components);
@@ -22959,10 +23044,10 @@ function searchValueToJson(components) {
22959
23044
  return list;
22960
23045
  }
22961
23046
 
22962
- /**
22963
- * 格式化查看、高级筛选的组件信息
22964
- * @param Object component 组件信息
22965
- * @param String power 权限字段,跟简易工单admin配置对应,不穿则不校验权限
23047
+ /**
23048
+ * 格式化查看、高级筛选的组件信息
23049
+ * @param Object component 组件信息
23050
+ * @param String power 权限字段,跟简易工单admin配置对应,不穿则不校验权限
22966
23051
  * */
22967
23052
  function formatComponent(component, power) {
22968
23053
  // 先校验权限 展示的地方特殊判断下id
@@ -23099,8 +23184,8 @@ function formatComponent(component, power) {
23099
23184
  return data;
23100
23185
  }
23101
23186
 
23102
- /**
23103
- * 格式化高级筛选组件列表
23187
+ /**
23188
+ * 格式化高级筛选组件列表
23104
23189
  * */
23105
23190
  function getSearchComponents(components, appId, tableId) {
23106
23191
  var componentList = [];
@@ -23130,8 +23215,8 @@ function getSearchComponents(components, appId, tableId) {
23130
23215
  return componentList;
23131
23216
  }
23132
23217
 
23133
- /**
23134
- * 格式化查看、详情组件列表
23218
+ /**
23219
+ * 格式化查看、详情组件列表
23135
23220
  * */
23136
23221
  function getWatchComponents(components, appId, tableId) {
23137
23222
  var power = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'listShow';
@@ -23148,11 +23233,11 @@ function getWatchComponents(components, appId, tableId) {
23148
23233
  return componentList;
23149
23234
  }
23150
23235
 
23151
- /**
23152
- * 格式化新建、编辑 组件的value
23153
- * @param Object component 组件信息
23154
- * @param Object values 编辑表单时,传入的工单数据
23155
- * @param String power 权限,当不是编辑的时候,将只给有新建权限的组件进行赋值 component.extraInfo[power]
23236
+ /**
23237
+ * 格式化新建、编辑 组件的value
23238
+ * @param Object component 组件信息
23239
+ * @param Object values 编辑表单时,传入的工单数据
23240
+ * @param String power 权限,当不是编辑的时候,将只给有新建权限的组件进行赋值 component.extraInfo[power]
23156
23241
  * */
23157
23242
  function formatColumnVal(component, values, power) {
23158
23243
  var data = {
@@ -23312,8 +23397,8 @@ function formatColumnVal(component, values, power) {
23312
23397
  return data;
23313
23398
  }
23314
23399
 
23315
- /**
23316
- * 格式化查看、编辑、组件列表
23400
+ /**
23401
+ * 格式化查看、编辑、组件列表
23317
23402
  * */
23318
23403
  function tidyComponents(components, appId, tableId, values) {
23319
23404
  var componentList = [];
@@ -23330,10 +23415,10 @@ function tidyComponents(components, appId, tableId, values) {
23330
23415
  return componentList;
23331
23416
  }
23332
23417
 
23333
- /**
23334
- * 展示子表单详情,将附件的完整value进行组装,只能在展示的时候用哦,编辑可别用
23335
- * component 子表单
23336
- * data 整条工单数据包含子表单包含inside
23418
+ /**
23419
+ * 展示子表单详情,将附件的完整value进行组装,只能在展示的时候用哦,编辑可别用
23420
+ * component 子表单
23421
+ * data 整条工单数据包含子表单包含inside
23337
23422
  * */
23338
23423
  function tidyShowSubDataFile(component, data) {
23339
23424
  var fullSubData = cloneDeep(data.inside[component.columnCode]);
@@ -23354,8 +23439,8 @@ function tidyShowSubDataFile(component, data) {
23354
23439
  return subData;
23355
23440
  }
23356
23441
 
23357
- /**
23358
- * 整理跳转工作表的筛选条件
23442
+ /**
23443
+ * 整理跳转工作表的筛选条件
23359
23444
  * */
23360
23445
  function tidyJumpSearchData(searchData, components) {
23361
23446
  var searchList = [];
@@ -23380,9 +23465,9 @@ function tidyJumpSearchData(searchData, components) {
23380
23465
  return searchList;
23381
23466
  }
23382
23467
 
23383
- /**
23384
- * 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
23385
- * @param {Object} res 接口返回体
23468
+ /**
23469
+ * 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
23470
+ * @param {Object} res 接口返回体
23386
23471
  */
23387
23472
  function formatLogDate() {
23388
23473
  var date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Date();
@@ -23398,9 +23483,9 @@ function formatLogDate() {
23398
23483
  var second = pad(d.getSeconds());
23399
23484
  return "".concat(year, "-").concat(month, "-").concat(day, " ").concat(hour, ":").concat(minute, ":").concat(second);
23400
23485
  }
23401
- /**
23402
- * 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
23403
- * @param {Object} res 接口返回体
23486
+ /**
23487
+ * 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
23488
+ * @param {Object} res 接口返回体
23404
23489
  */
23405
23490
  var recordApiLog = function recordApiLog(res) {
23406
23491
  try {
@@ -23495,10 +23580,10 @@ var recordApiLog = function recordApiLog(res) {
23495
23580
  console.log("\u4E00\u6761\u65E5\u5FD7\u672A\u80FD\u6210\u529F\u6355\u6349\uFF1A".concat(JSON.stringify(res)));
23496
23581
  }
23497
23582
  };
23498
- /**
23499
- * 跳转主应用路由
23500
- * 无界子应用内通过 bus 通知主应用改地址栏;独立运行时跳转到主应用入口
23501
- * @param {string|{ name?: string, path?: string, params?: object, query?: object }} route
23583
+ /**
23584
+ * 跳转主应用路由
23585
+ * 无界子应用内通过 bus 通知主应用改地址栏;独立运行时跳转到主应用入口
23586
+ * @param {string|{ name?: string, path?: string, params?: object, query?: object }} route
23502
23587
  */
23503
23588
 
23504
23589
  function mainAppRouterPush(route) {
@@ -23507,8 +23592,8 @@ function mainAppRouterPush(route) {
23507
23592
  (_window$$wujie = window.$wujie) === null || _window$$wujie === void 0 || _window$$wujie.bus.$emit('router-jump', route);
23508
23593
  } else {}
23509
23594
  }
23510
- /**
23511
- * 地址自动识别
23595
+ /**
23596
+ * 地址自动识别
23512
23597
  * */
23513
23598
 
23514
23599
  ;// ./install.js