@bytenew/bn-applet-ui 1.1.31 → 1.1.33

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
 
@@ -648,6 +648,30 @@ ___CSS_LOADER_EXPORT___.push([module.id, `.bytenew-select-box[data-v-12683c88]{w
648
648
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
649
649
 
650
650
 
651
+ /***/ },
652
+
653
+ /***/ 3657
654
+ (module, __webpack_exports__, __webpack_require__) {
655
+
656
+ "use strict";
657
+ __webpack_require__.r(__webpack_exports__);
658
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
659
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
660
+ /* harmony export */ });
661
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
662
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
663
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
664
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
665
+ // Imports
666
+
667
+
668
+ 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()));
669
+ // Module
670
+ ___CSS_LOADER_EXPORT___.push([module.id, `.virtualPopover[data-v-387cfe9e]{position:fixed;z-index:9999;padding-top:6px}.virtualPopover-modal[data-v-387cfe9e]{position:relative;background:#fff;box-shadow:0 12px 48px 16px rgba(0,0,0,.02),0 9px 28px 0 rgba(0,0,0,.02),0 6px 16px -8px rgba(0,0,0,.04)}.virtualPopover-arrow[data-v-387cfe9e]{position:absolute}.virtualPopover-arrow[data-v-387cfe9e]:after,.virtualPopover-arrow[data-v-387cfe9e]:before{content:"";display:block;width:0;height:0;top:0;border:6px solid transparent;position:absolute;z-index:1}.virtualPopover-arrow[data-v-387cfe9e]:before{z-index:2}.virtualPopover-arrow.bottom[data-v-387cfe9e]{top:-6px}.virtualPopover-arrow.bottom[data-v-387cfe9e]:before{border-bottom-color:#fff}.virtualPopover-arrow.bottom[data-v-387cfe9e]:after{border-bottom-color:rgba(0,0,0,.08);top:-1px}.virtualPopover-arrow.top[data-v-387cfe9e]{bottom:0}.virtualPopover-arrow.top[data-v-387cfe9e]:before{border-top-color:#fff}.virtualPopover-arrow.top[data-v-387cfe9e]:after{border-top-color:rgba(0,0,0,.08);top:1px}.virtualPopover.bottom[data-v-387cfe9e]{margin-top:6px}.virtualPopover.top[data-v-387cfe9e]{margin-bottom:6px}`, ""]);
671
+ // Exports
672
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
673
+
674
+
651
675
  /***/ },
652
676
 
653
677
  /***/ 5925
@@ -819,19 +843,19 @@ module.exports = function (i) {
819
843
 
820
844
  /***/ },
821
845
 
822
- /***/ 5995
846
+ /***/ 1330
823
847
  (module, __unused_webpack_exports, __webpack_require__) {
824
848
 
825
849
  // style-loader: Adds some css to the DOM by adding a <style> tag
826
850
 
827
851
  // load the styles
828
- var content = __webpack_require__(6958);
852
+ var content = __webpack_require__(7515);
829
853
  if(content.__esModule) content = content.default;
830
854
  if(typeof content === 'string') content = [[module.id, content, '']];
831
855
  if(content.locals) module.exports = content.locals;
832
856
  // add the styles to the DOM
833
857
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
834
- var update = add("4e3c03f6", content, true, {"sourceMap":false,"shadowMode":false});
858
+ var update = add("4233f664", content, true, {"sourceMap":false,"shadowMode":false});
835
859
 
836
860
  /***/ },
837
861
 
@@ -963,19 +987,19 @@ var update = add("3698972a", content, true, {"sourceMap":false,"shadowMode":fals
963
987
 
964
988
  /***/ },
965
989
 
966
- /***/ 5479
990
+ /***/ 7448
967
991
  (module, __unused_webpack_exports, __webpack_require__) {
968
992
 
969
993
  // style-loader: Adds some css to the DOM by adding a <style> tag
970
994
 
971
995
  // load the styles
972
- var content = __webpack_require__(3211);
996
+ var content = __webpack_require__(8868);
973
997
  if(content.__esModule) content = content.default;
974
998
  if(typeof content === 'string') content = [[module.id, content, '']];
975
999
  if(content.locals) module.exports = content.locals;
976
1000
  // add the styles to the DOM
977
1001
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
978
- var update = add("0a5ef8cf", content, true, {"sourceMap":false,"shadowMode":false});
1002
+ var update = add("8d645a60", content, true, {"sourceMap":false,"shadowMode":false});
979
1003
 
980
1004
  /***/ },
981
1005
 
@@ -1235,6 +1259,22 @@ var update = add("10123774", content, true, {"sourceMap":false,"shadowMode":fals
1235
1259
 
1236
1260
  /***/ },
1237
1261
 
1262
+ /***/ 357
1263
+ (module, __unused_webpack_exports, __webpack_require__) {
1264
+
1265
+ // style-loader: Adds some css to the DOM by adding a <style> tag
1266
+
1267
+ // load the styles
1268
+ var content = __webpack_require__(3657);
1269
+ if(content.__esModule) content = content.default;
1270
+ if(typeof content === 'string') content = [[module.id, content, '']];
1271
+ if(content.locals) module.exports = content.locals;
1272
+ // add the styles to the DOM
1273
+ var add = (__webpack_require__(9548)/* ["default"] */ .A)
1274
+ var update = add("7d47f81c", content, true, {"sourceMap":false,"shadowMode":false});
1275
+
1276
+ /***/ },
1277
+
1238
1278
  /***/ 9548
1239
1279
  (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1240
1280
 
@@ -10494,6 +10534,7 @@ __webpack_require__.d(__webpack_exports__, {
10494
10534
  BnInputNum: () => (/* reexport */ BnInputNum),
10495
10535
  BnRuleCondition: () => (/* reexport */ bnRuleCondition),
10496
10536
  BnSelect: () => (/* reexport */ BnSelect_select),
10537
+ BnVirtPopover: () => (/* reexport */ BnVirtPopover),
10497
10538
  addressParse: () => (/* reexport */ addressParse),
10498
10539
  "default": () => (/* binding */ entry_lib),
10499
10540
  idsToTexts: () => (/* reexport */ idsToTexts)
@@ -10517,7 +10558,7 @@ if (typeof window !== 'undefined') {
10517
10558
  // Indicate to webpack that this file can be concatenated
10518
10559
  /* harmony default export */ const setPublicPath = (null);
10519
10560
 
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
10561
+ ;// ./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
10562
  var render = function render() {
10522
10563
  var _vm = this,
10523
10564
  _c = _vm._self._c;
@@ -10912,7 +10953,7 @@ var component = normalizeComponent(
10912
10953
  )
10913
10954
 
10914
10955
  /* 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
10956
+ ;// ./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
10957
  var BnAddressParsevue_type_template_id_3a0d7cb0_render = function render() {
10917
10958
  var _vm = this,
10918
10959
  _c = _vm._self._c;
@@ -10989,8 +11030,8 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
10989
11030
  };
10990
11031
  },
10991
11032
  methods: {
10992
- /**
10993
- * 自动识别方法(使用防抖)
11033
+ /**
11034
+ * 自动识别方法(使用防抖)
10994
11035
  */
10995
11036
  autoAds: (0,external_lodash_.debounce)(function () {
10996
11037
  var _this = this;
@@ -11049,7 +11090,7 @@ var BnAddressParse_component = normalizeComponent(
11049
11090
  )
11050
11091
 
11051
11092
  /* 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
11093
+ ;// ./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
11094
  var BnCheckvue_type_template_id_3782b7e9_scoped_true_render = function render() {
11054
11095
  var _vm = this,
11055
11096
  _c = _vm._self._c;
@@ -11193,8 +11234,8 @@ var es_string_includes = __webpack_require__(1699);
11193
11234
  }
11194
11235
  },
11195
11236
  methods: {
11196
- /**
11197
- * 组件默认判断
11237
+ /**
11238
+ * 组件默认判断
11198
11239
  * */
11199
11240
  check: function check() {
11200
11241
  var _this = this;
@@ -11219,8 +11260,8 @@ var es_string_includes = __webpack_require__(1699);
11219
11260
  }
11220
11261
  }
11221
11262
  },
11222
- /**
11223
- * 点击事件
11263
+ /**
11264
+ * 点击事件
11224
11265
  * */
11225
11266
  handleClick: function handleClick() {
11226
11267
  var _this2 = this;
@@ -11265,8 +11306,8 @@ var es_string_includes = __webpack_require__(1699);
11265
11306
  });
11266
11307
  this.emitClick();
11267
11308
  },
11268
- /**
11269
- * 点击事件透出
11309
+ /**
11310
+ * 点击事件透出
11270
11311
  * */
11271
11312
  emitClick: function emitClick() {
11272
11313
  if (this.onClick) {
@@ -11306,7 +11347,7 @@ var BnCheck_component = normalizeComponent(
11306
11347
  )
11307
11348
 
11308
11349
  /* 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
11350
+ ;// ./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
11351
  var bnDateRangevue_type_template_id_5575777a_render = function render() {
11311
11352
  var _vm = this,
11312
11353
  _c = _vm._self._c;
@@ -11485,8 +11526,8 @@ var es_object_keys = __webpack_require__(9432);
11485
11526
  };
11486
11527
  },
11487
11528
  methods: {
11488
- /**
11489
- * 更新时间选择器数据
11529
+ /**
11530
+ * 更新时间选择器数据
11490
11531
  * */
11491
11532
  updateValue: function updateValue(value) {
11492
11533
  // 更新v-model
@@ -11496,22 +11537,22 @@ var es_object_keys = __webpack_require__(9432);
11496
11537
  // 发送change事件
11497
11538
  this.$emit('change', value);
11498
11539
  },
11499
- /**
11500
- * 失去焦点
11540
+ /**
11541
+ * 失去焦点
11501
11542
  * */
11502
11543
  blur: function blur(val) {
11503
11544
  this.$emit('blur', val);
11504
11545
  },
11505
- /**
11506
- * 获得焦点
11546
+ /**
11547
+ * 获得焦点
11507
11548
  * */
11508
11549
  focus: function focus(val) {
11509
11550
  this.$emit('focus', val);
11510
11551
  }
11511
11552
  },
11512
11553
  computed: {
11513
- /**
11514
- * 日期组件value
11554
+ /**
11555
+ * 日期组件value
11515
11556
  * */
11516
11557
  date: {
11517
11558
  get: function get() {
@@ -11567,7 +11608,7 @@ var bnDateRange_component = normalizeComponent(
11567
11608
  )
11568
11609
 
11569
11610
  /* 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
11611
+ ;// ./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
11612
  var dialogvue_type_template_id_f9aaf6de_render = function render() {
11572
11613
  var _vm = this,
11573
11614
  _c = _vm._self._c;
@@ -11823,8 +11864,8 @@ var dialog_component = normalizeComponent(
11823
11864
  )
11824
11865
 
11825
11866
  /* 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() {
11867
+ ;// ./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
11868
+ var BnDropvue_type_template_id_830beb80_scoped_true_render = function render() {
11828
11869
  var _vm = this,
11829
11870
  _c = _vm._self._c;
11830
11871
  return _c('el-popover', {
@@ -11842,41 +11883,78 @@ var BnDropvue_type_template_id_1157b26e_scoped_true_render = function render() {
11842
11883
  scopedSlots: _vm._u([{
11843
11884
  key: "reference",
11844
11885
  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', {
11886
+ return [_vm.$slots["default"] ? _vm._t("default") : _c('div', {
11887
+ staticClass: "bnDrop-select",
11888
+ "class": {
11889
+ 'simple': !_vm.border,
11890
+ 'disabled': _vm.disabled,
11891
+ 'is-multiple-tags': _vm.multiple && _vm.collapseTags && _vm.val.length > 0
11892
+ }
11893
+ }, [_vm.multiple && _vm.val.length == 0 || !_vm.multiple && (!_vm.labelInValue && _vm.val === '' || _vm.labelInValue && !_vm.val[_vm.optionProps.value]) ? _c('span', {
11894
+ staticClass: "bnDrop-placeholder"
11895
+ }, [_vm._v(" " + _vm._s(_vm.placeholder) + " ")]) : [!_vm.multiple ? _c('span', {
11896
+ attrs: {
11897
+ "title": _vm.singleTitle
11898
+ }
11899
+ }, [_vm._v(_vm._s(_vm.singleTitle))]) : _vm.collapseTags ? _c('div', {
11900
+ staticClass: "bnDrop-tags"
11901
+ }, [_vm._l(_vm.visibleTags, function (tag) {
11902
+ return _c('span', {
11903
+ key: tag.index,
11904
+ staticClass: "bnDrop-tag"
11905
+ }, [_c('span', {
11906
+ staticClass: "bnDrop-tag-text",
11859
11907
  attrs: {
11860
- "title": _vm.multipleTitle
11908
+ "title": tag.label
11861
11909
  }
11862
- }, [_vm._v(" " + _vm._s(_vm.multipleTitle) + " ")]), _vm.clearable ? _c('span', {
11863
- staticClass: "bnUIcon bnUIcon-clear bnDrop-select-clear",
11910
+ }, [_vm._v(_vm._s(tag.label))]), !_vm.disabled ? _c('span', {
11911
+ staticClass: "bnDrop-tag-close bnUIcon bnUIcon-close",
11864
11912
  on: {
11865
11913
  "click": function click($event) {
11866
11914
  $event.stopPropagation();
11867
- return _vm.clear.apply(null, arguments);
11915
+ return _vm.removeTag(tag.index);
11868
11916
  }
11869
11917
  }
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
- })];
11918
+ }) : _vm._e()]);
11919
+ }), _vm.collapsedCount > 0 ? _c('el-tooltip', {
11920
+ attrs: {
11921
+ "disabled": !_vm.collapseTagsTooltip,
11922
+ "effect": "dark",
11923
+ "placement": "top"
11924
+ }
11925
+ }, [_c('div', {
11926
+ staticClass: "bnDrop-collapse-tooltip",
11927
+ attrs: {
11928
+ "slot": "content"
11929
+ },
11930
+ slot: "content"
11931
+ }, _vm._l(_vm.collapsedTags, function (tag) {
11932
+ return _c('div', {
11933
+ key: tag.index
11934
+ }, [_vm._v(_vm._s(tag.label))]);
11935
+ }), 0), _c('span', {
11936
+ staticClass: "bnDrop-tag bnDrop-tag--collapse"
11937
+ }, [_vm._v("+ " + _vm._s(_vm.collapsedCount))])]) : _vm._e()], 2) : _c('span', {
11938
+ attrs: {
11939
+ "title": _vm.multipleTitle
11940
+ }
11941
+ }, [_vm._v(_vm._s(_vm.multipleTitle))]), _vm.clearable ? _c('span', {
11942
+ staticClass: "bnUIcon bnUIcon-clear bnDrop-select-clear",
11943
+ on: {
11944
+ "click": function click($event) {
11945
+ $event.stopPropagation();
11946
+ return _vm.clear.apply(null, arguments);
11947
+ }
11948
+ }
11949
+ }) : _vm._e()], _c('span', {
11950
+ directives: [{
11951
+ name: "loading",
11952
+ rawName: "v-loading",
11953
+ value: _vm.loading,
11954
+ expression: "loading"
11955
+ }],
11956
+ staticClass: "bnUIcon bnUIcon-down bnDrop-select-down"
11957
+ })], 2)];
11880
11958
  },
11881
11959
  proxy: true
11882
11960
  }], null, true),
@@ -11975,7 +12053,7 @@ var BnDropvue_type_template_id_1157b26e_scoped_true_render = function render() {
11975
12053
  staticClass: "w-margin-left4"
11976
12054
  }, [_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
12055
  };
11978
- var BnDropvue_type_template_id_1157b26e_scoped_true_staticRenderFns = [];
12056
+ var BnDropvue_type_template_id_830beb80_scoped_true_staticRenderFns = [];
11979
12057
 
11980
12058
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.every.js
11981
12059
  var es_array_every = __webpack_require__(8431);
@@ -12196,10 +12274,6 @@ function _toConsumableArray(r) {
12196
12274
  };
12197
12275
  }
12198
12276
  },
12199
- // 数据结构
12200
- valueProps: {
12201
- type: Array
12202
- },
12203
12277
  // 位置
12204
12278
  placement: {
12205
12279
  type: String,
@@ -12251,6 +12325,18 @@ function _toConsumableArray(r) {
12251
12325
  },
12252
12326
  // 是否多选
12253
12327
  multiple: Boolean,
12328
+ // 多选 tag 是否折叠超出部分(对齐 Element UI collapse-tags)
12329
+ collapseTags: Boolean,
12330
+ // 折叠 tag 的 +N 是否启用 tooltip 展示全部
12331
+ collapseTagsTooltip: {
12332
+ type: Boolean,
12333
+ "default": true
12334
+ },
12335
+ // collapseTags 为 true 时,收起时默认展示几个 tag
12336
+ maxCollapseTags: {
12337
+ type: Number,
12338
+ "default": 1
12339
+ },
12254
12340
  // 单选模式 是否允许取消选中
12255
12341
  canUncheck: {
12256
12342
  type: Boolean,
@@ -12276,6 +12362,10 @@ function _toConsumableArray(r) {
12276
12362
  type: Boolean,
12277
12363
  "default": true
12278
12364
  },
12365
+ // 数据结构,当labelInValue=true时,返回的对象中都需要那些字段。不传就返回全部
12366
+ valueProps: {
12367
+ type: Array
12368
+ },
12279
12369
  // 不绑定v-model,仅在点击的时候回传点击事件
12280
12370
  noValue: {
12281
12371
  type: Boolean,
@@ -12343,8 +12433,8 @@ function _toConsumableArray(r) {
12343
12433
  }
12344
12434
  },
12345
12435
  methods: {
12346
- /**
12347
- * 初始化远程数据
12436
+ /**
12437
+ * 初始化远程数据
12348
12438
  * */
12349
12439
  initRemote: function initRemote() {
12350
12440
  if (this.pathUrl) {
@@ -12353,8 +12443,8 @@ function _toConsumableArray(r) {
12353
12443
  this.loadOptions();
12354
12444
  }
12355
12445
  },
12356
- /**
12357
- * 下拉框打开关闭
12446
+ /**
12447
+ * 下拉框打开关闭
12358
12448
  * */
12359
12449
  open: function open() {
12360
12450
  // 打开弹框时
@@ -12366,8 +12456,8 @@ function _toConsumableArray(r) {
12366
12456
  this.initRemote();
12367
12457
  }
12368
12458
  },
12369
- /**
12370
- * 清空value
12459
+ /**
12460
+ * 清空value
12371
12461
  * */
12372
12462
  clear: function clear() {
12373
12463
  if (this.multiple) {
@@ -12376,8 +12466,8 @@ function _toConsumableArray(r) {
12376
12466
  this.val = this.labelInValue ? {} : '';
12377
12467
  }
12378
12468
  },
12379
- /**
12380
- * 滚动加载
12469
+ /**
12470
+ * 滚动加载
12381
12471
  * */
12382
12472
  scrollMore: (0,external_lodash_.debounce)(function () {
12383
12473
  if (this.optionList.length < this.total && !this.loading) {
@@ -12394,9 +12484,9 @@ function _toConsumableArray(r) {
12394
12484
  }
12395
12485
  }
12396
12486
  }, 400),
12397
- /**
12398
- * 快速搜索选项
12399
- * @param {String} val 搜索的值
12487
+ /**
12488
+ * 快速搜索选项
12489
+ * @param {String} val 搜索的值
12400
12490
  */
12401
12491
  filterMethod: (0,external_lodash_.debounce)(function (val) {
12402
12492
  this.queryValue = val;
@@ -12406,8 +12496,8 @@ function _toConsumableArray(r) {
12406
12496
  this.loadOptions();
12407
12497
  }
12408
12498
  }, 400),
12409
- /**
12410
- * 多选时判断全部选中
12499
+ /**
12500
+ * 多选时判断全部选中
12411
12501
  * */
12412
12502
  isCheckedAll: function isCheckedAll() {
12413
12503
  var _this = this;
@@ -12440,8 +12530,8 @@ function _toConsumableArray(r) {
12440
12530
  return valSet.has(item);
12441
12531
  });
12442
12532
  },
12443
- /**
12444
- * 全选/取消全选
12533
+ /**
12534
+ * 全选/取消全选
12445
12535
  * */
12446
12536
  checkAll: function checkAll() {
12447
12537
  var _this2 = this;
@@ -12469,9 +12559,9 @@ function _toConsumableArray(r) {
12469
12559
  }
12470
12560
  this.$emit('change', value, isAllChecked);
12471
12561
  },
12472
- /**
12473
- * 多选判断是否选中 选中返回true,未选中返回false
12474
- * @param {Object} item 选项的对象数据
12562
+ /**
12563
+ * 多选判断是否选中 选中返回true,未选中返回false
12564
+ * @param {Object} item 选项的对象数据
12475
12565
  * */
12476
12566
  isChecked: function isChecked(_ref) {
12477
12567
  var _this3 = this;
@@ -12486,9 +12576,9 @@ function _toConsumableArray(r) {
12486
12576
  }
12487
12577
  return check;
12488
12578
  },
12489
- /**
12490
- * 单选判断是否选中 选中返回true,未选中返回false
12491
- * @param {Object} item 选项的对象数据
12579
+ /**
12580
+ * 单选判断是否选中 选中返回true,未选中返回false
12581
+ * @param {Object} item 选项的对象数据
12492
12582
  * */
12493
12583
  isChoose: function isChoose(item) {
12494
12584
  var check = false;
@@ -12500,9 +12590,9 @@ function _toConsumableArray(r) {
12500
12590
  }
12501
12591
  return check;
12502
12592
  },
12503
- /**
12504
- * 点击下拉菜单中的某一项,选中或取消选中
12505
- * @param {Object} item 选项的对象数据
12593
+ /**
12594
+ * 点击下拉菜单中的某一项,选中或取消选中
12595
+ * @param {Object} item 选项的对象数据
12506
12596
  * */
12507
12597
  chooseItem: function chooseItem(item) {
12508
12598
  var value = this.val;
@@ -12565,8 +12655,8 @@ function _toConsumableArray(r) {
12565
12655
  }
12566
12656
  this.$emit('change', value);
12567
12657
  },
12568
- /**
12569
- * 远程加载options
12658
+ /**
12659
+ * 远程加载options
12570
12660
  * */
12571
12661
  loadOptions: function loadOptions(post) {
12572
12662
  var _this4 = this;
@@ -12609,15 +12699,15 @@ function _toConsumableArray(r) {
12609
12699
  }
12610
12700
  });
12611
12701
  },
12612
- /**
12613
- * 前端手动分页
12702
+ /**
12703
+ * 前端手动分页
12614
12704
  * */
12615
12705
  catchPage: function catchPage(page) {
12616
12706
  this.pageData.pageNum = page || this.pageData.pageNum;
12617
12707
  return this.options.slice((this.pageData.pageNum - 1) * this.pageData.pageSize, this.pageData.pageNum * this.pageData.pageSize);
12618
12708
  },
12619
- /**
12620
- * 如果value是对象,然会value的时候把对象组装好再返回。
12709
+ /**
12710
+ * 如果value是对象,然会value的时候把对象组装好再返回。
12621
12711
  * */
12622
12712
  getValObj: function getValObj(val) {
12623
12713
  if (this.valueProps) {
@@ -12630,10 +12720,10 @@ function _toConsumableArray(r) {
12630
12720
  return val;
12631
12721
  }
12632
12722
  },
12633
- /**
12634
- * 从一个数组中通过id找到名字,并返回给调用者
12635
- * @param {Array} list 数组
12636
- * @param {String} id 需要匹配的id
12723
+ /**
12724
+ * 从一个数组中通过id找到名字,并返回给调用者
12725
+ * @param {Array} list 数组
12726
+ * @param {String} id 需要匹配的id
12637
12727
  * */
12638
12728
  foundTitle: function foundTitle(list, id) {
12639
12729
  var title = '';
@@ -12645,11 +12735,11 @@ function _toConsumableArray(r) {
12645
12735
  }
12646
12736
  return title;
12647
12737
  },
12648
- /**
12649
- * 从一个数组中通过id和ids数组的匹配找到标题,并返回给调用者
12650
- * @param {Array} list 数组
12651
- * @param {String} ids 需要匹配的id数组[1,2,3]
12652
- * @return {Array} values 返回所有匹配项组成的数组
12738
+ /**
12739
+ * 从一个数组中通过id和ids数组的匹配找到标题,并返回给调用者
12740
+ * @param {Array} list 数组
12741
+ * @param {String} ids 需要匹配的id数组[1,2,3]
12742
+ * @return {Array} values 返回所有匹配项组成的数组
12653
12743
  * */
12654
12744
  foundValue: function foundValue(list, ids) {
12655
12745
  var value = [];
@@ -12660,11 +12750,19 @@ function _toConsumableArray(r) {
12660
12750
  }
12661
12751
  return value;
12662
12752
  },
12663
- /**
12664
- * 手动关闭
12753
+ /**
12754
+ * 手动关闭
12665
12755
  * */
12666
12756
  close: function close() {
12667
12757
  this.popoverVisible = false;
12758
+ },
12759
+ /** 删除多选 tag */removeTag: function removeTag(index) {
12760
+ if (this.disabled || !this.multiple || !Array.isArray(this.val)) {
12761
+ return;
12762
+ }
12763
+ var next = _toConsumableArray(this.val);
12764
+ next.splice(index, 1);
12765
+ this.val = next;
12668
12766
  }
12669
12767
  },
12670
12768
  computed: {
@@ -12744,34 +12842,62 @@ function _toConsumableArray(r) {
12744
12842
  }
12745
12843
  return title;
12746
12844
  },
12747
- // 多选时的value值
12748
- multipleTitle: function multipleTitle() {
12845
+ // 多选时的 tag 列表
12846
+ multipleTags: function multipleTags() {
12749
12847
  var _this7 = this;
12750
- var values = [];
12751
12848
  var value = this.val;
12849
+ if (!Array.isArray(value) || !value.length) {
12850
+ return [];
12851
+ }
12752
12852
  if (this.labelInValue) {
12753
- values = value.map(function (v) {
12754
- return v[_this7.optionProps.label];
12853
+ return value.map(function (v, index) {
12854
+ return {
12855
+ index: index,
12856
+ label: v[_this7.optionProps.label] || ''
12857
+ };
12755
12858
  });
12756
- } else {
12757
- var data = this.foundValue(this.options, value);
12758
- if (data.length) {
12759
- values = [].concat(_toConsumableArray(values), _toConsumableArray(data));
12760
- }
12761
12859
  }
12762
- return values.join(',');
12860
+ return value.map(function (id, index) {
12861
+ return {
12862
+ index: index,
12863
+ label: _this7.foundTitle(_this7.options, id) || id
12864
+ };
12865
+ });
12866
+ },
12867
+ // 多选时的 value 展示文本
12868
+ multipleTitle: function multipleTitle() {
12869
+ return this.multipleTags.map(function (tag) {
12870
+ return tag.label;
12871
+ }).join(',');
12872
+ },
12873
+ // 多选 collapseTags 模式下可见 tag
12874
+ visibleTags: function visibleTags() {
12875
+ if (!this.collapseTags || this.multipleTags.length <= this.maxCollapseTags) {
12876
+ return this.multipleTags;
12877
+ }
12878
+ return this.multipleTags.slice(0, this.maxCollapseTags);
12879
+ },
12880
+ // 多选 collapseTags 模式下被折叠的 tag
12881
+ collapsedTags: function collapsedTags() {
12882
+ if (!this.collapseTags || this.multipleTags.length <= this.maxCollapseTags) {
12883
+ return [];
12884
+ }
12885
+ return this.multipleTags.slice(this.maxCollapseTags);
12886
+ },
12887
+ collapsedCount: function collapsedCount() {
12888
+ return this.collapsedTags.length;
12763
12889
  }
12764
12890
  }
12765
12891
  });
12766
12892
  ;// ./packages/BnDrop/BnDrop.vue?vue&type=script&lang=js
12767
12893
  /* 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
12894
+ // 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
12895
+ var BnDropvue_type_style_index_0_id_830beb80_prod_lang_css = __webpack_require__(1330);
12896
+ ;// ./packages/BnDrop/BnDrop.vue?vue&type=style&index=0&id=830beb80&prod&lang=css
12771
12897
 
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
12898
+ // 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
12899
+ var BnDropvue_type_style_index_1_id_830beb80_prod_scoped_true_lang_scss = __webpack_require__(7448);
12900
+ ;// ./packages/BnDrop/BnDrop.vue?vue&type=style&index=1&id=830beb80&prod&scoped=true&lang=scss
12775
12901
 
12776
12902
  ;// ./packages/BnDrop/BnDrop.vue
12777
12903
 
@@ -12785,11 +12911,11 @@ var BnDropvue_type_style_index_1_id_1157b26e_prod_scoped_true_lang_scss = __webp
12785
12911
 
12786
12912
  var BnDrop_component = normalizeComponent(
12787
12913
  BnDrop_BnDropvue_type_script_lang_js,
12788
- BnDropvue_type_template_id_1157b26e_scoped_true_render,
12789
- BnDropvue_type_template_id_1157b26e_scoped_true_staticRenderFns,
12914
+ BnDropvue_type_template_id_830beb80_scoped_true_render,
12915
+ BnDropvue_type_template_id_830beb80_scoped_true_staticRenderFns,
12790
12916
  false,
12791
12917
  null,
12792
- "1157b26e",
12918
+ "830beb80",
12793
12919
  null
12794
12920
 
12795
12921
  )
@@ -12799,7 +12925,7 @@ var BnDrop_component = normalizeComponent(
12799
12925
  var es_regexp_exec = __webpack_require__(7495);
12800
12926
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
12801
12927
  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
12928
+ ;// ./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
12929
 
12804
12930
 
12805
12931
 
@@ -13450,10 +13576,10 @@ function toPinYin(chart) {
13450
13576
  return getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
13451
13577
  }
13452
13578
 
13453
- /**
13454
- * 匹配大小写字母拼音 返回Boolean值
13455
- * @param {*} chart 需要匹配的字符
13456
- * @param {*} data 需要进行匹配的字符
13579
+ /**
13580
+ * 匹配大小写字母拼音 返回Boolean值
13581
+ * @param {*} chart 需要匹配的字符
13582
+ * @param {*} data 需要进行匹配的字符
13457
13583
  */
13458
13584
  function searchToBoolean(chart, data) {
13459
13585
  return toPinYin(data).indexOf(toPinYin(chart)) !== -1;
@@ -13537,11 +13663,11 @@ function searchItemFlat(chart, data, name) {
13537
13663
  name: "bnDropdown",
13538
13664
  props: {
13539
13665
  value: [String, Array, Number, Object],
13540
- /**
13541
- * 下拉弹窗模式
13542
- * 单选(singleCheck) 默认
13543
- * 多选(multiCheck)
13544
- * 多选框(multiCheckBox)
13666
+ /**
13667
+ * 下拉弹窗模式
13668
+ * 单选(singleCheck) 默认
13669
+ * 多选(multiCheck)
13670
+ * 多选框(multiCheckBox)
13545
13671
  */
13546
13672
  checkMode: {
13547
13673
  type: String,
@@ -13714,8 +13840,8 @@ function searchItemFlat(chart, data, name) {
13714
13840
  this.optionCheckMap = checkedMap;
13715
13841
  }
13716
13842
  },
13717
- /**
13718
- * 打开选择器时触发,初始化
13843
+ /**
13844
+ * 打开选择器时触发,初始化
13719
13845
  * */
13720
13846
  open: function open() {
13721
13847
  var _this2 = this;
@@ -13747,8 +13873,8 @@ function searchItemFlat(chart, data, name) {
13747
13873
  this.backshowMultiCheckBox();
13748
13874
  }
13749
13875
  },
13750
- /**
13751
- * 关闭时清除没有确定的选项
13876
+ /**
13877
+ * 关闭时清除没有确定的选项
13752
13878
  */
13753
13879
  close: function close() {
13754
13880
  // 多选框模式
@@ -13779,10 +13905,10 @@ function searchItemFlat(chart, data, name) {
13779
13905
  });
13780
13906
  }
13781
13907
  },
13782
- /**
13783
- * 动态计算title
13784
- * @param {Array} list 数组
13785
- * @param {String} id 需要匹配的id
13908
+ /**
13909
+ * 动态计算title
13910
+ * @param {Array} list 数组
13911
+ * @param {String} id 需要匹配的id
13786
13912
  * */
13787
13913
  foundTitle: function foundTitle() {
13788
13914
  var _this4 = this;
@@ -13804,8 +13930,8 @@ function searchItemFlat(chart, data, name) {
13804
13930
  }
13805
13931
  return title;
13806
13932
  },
13807
- /**
13808
- * 远程加载数据
13933
+ /**
13934
+ * 远程加载数据
13809
13935
  * */
13810
13936
  loadMore: function loadMore() {
13811
13937
  var _this5 = this;
@@ -13821,9 +13947,9 @@ function searchItemFlat(chart, data, name) {
13821
13947
  }
13822
13948
  });
13823
13949
  },
13824
- /**
13825
- * 判断是否选中 选中返回true,未选中返回false
13826
- * @param {Object} item 选项的对象数据
13950
+ /**
13951
+ * 判断是否选中 选中返回true,未选中返回false
13952
+ * @param {Object} item 选项的对象数据
13827
13953
  * */
13828
13954
  checked: function checked(item) {
13829
13955
  var check = false;
@@ -13855,9 +13981,9 @@ function searchItemFlat(chart, data, name) {
13855
13981
  }
13856
13982
  return check;
13857
13983
  },
13858
- /**
13859
- * 点击下拉菜单中的某一项,选中或取消选中
13860
- * @param {Object} item 选项的对象数据
13984
+ /**
13985
+ * 点击下拉菜单中的某一项,选中或取消选中
13986
+ * @param {Object} item 选项的对象数据
13861
13987
  * */
13862
13988
  chooseItem: function chooseItem(item) {
13863
13989
  var value = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
@@ -13927,8 +14053,8 @@ function searchItemFlat(chart, data, name) {
13927
14053
  // change事件
13928
14054
  this.$emit("change", value);
13929
14055
  },
13930
- /**
13931
- * 快捷查询
14056
+ /**
14057
+ * 快捷查询
13932
14058
  * */
13933
14059
  search: debounce(function (val) {
13934
14060
  // 保存当前选中状态
@@ -14042,7 +14168,7 @@ var bnDropdown_component = normalizeComponent(
14042
14168
  )
14043
14169
 
14044
14170
  /* 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
14171
+ ;// ./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
14172
  var BnFileViewvue_type_template_id_27b6fb78_scoped_true_render = function render() {
14047
14173
  var _vm = this,
14048
14174
  _c = _vm._self._c;
@@ -14149,7 +14275,7 @@ var es_error_to_string = __webpack_require__(6918);
14149
14275
  var es_date_to_string = __webpack_require__(3288);
14150
14276
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.parse-int.js
14151
14277
  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
14278
+ ;// ./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
14279
  var videoPreviewvue_type_template_id_9a7f7bec_scoped_true_render = function render() {
14154
14280
  var _vm = this,
14155
14281
  _c = _vm._self._c;
@@ -14195,8 +14321,8 @@ var videoPreviewvue_type_template_id_9a7f7bec_scoped_true_staticRenderFns = [];
14195
14321
  }
14196
14322
  },
14197
14323
  methods: {
14198
- /**
14199
- * 打开播发视频
14324
+ /**
14325
+ * 打开播发视频
14200
14326
  * */
14201
14327
  open: function open(url) {
14202
14328
  this.url = url;
@@ -14231,7 +14357,7 @@ var videoPreview_component = normalizeComponent(
14231
14357
  )
14232
14358
 
14233
14359
  /* 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
14360
+ ;// ./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
14361
  var FileDetailvue_type_template_id_7fcc19c2_scoped_true_render = function render() {
14236
14362
  var _vm = this,
14237
14363
  _c = _vm._self._c;
@@ -14335,8 +14461,8 @@ var es_parse_float = __webpack_require__(8459);
14335
14461
  }
14336
14462
  },
14337
14463
  methods: {
14338
- /**
14339
- * 获取下载链接
14464
+ /**
14465
+ * 获取下载链接
14340
14466
  * */
14341
14467
  getDownloadUrl: function getDownloadUrl(file) {
14342
14468
  if (this.downType === 'url') {
@@ -14344,8 +14470,8 @@ var es_parse_float = __webpack_require__(8459);
14344
14470
  }
14345
14471
  return !file.id ? file.url : '/v2/attachment/' + file.id;
14346
14472
  },
14347
- /**
14348
- * 计算附件大小
14473
+ /**
14474
+ * 计算附件大小
14349
14475
  * */
14350
14476
  returnSizeText: function returnSizeText(size) {
14351
14477
  if (size && parseFloat(size) / 1024 / 1024 < 1) {
@@ -14514,15 +14640,15 @@ var FileDetail_component = normalizeComponent(
14514
14640
  };
14515
14641
  },
14516
14642
  methods: {
14517
- /**
14518
- * 忽略大小写判断文件类型
14643
+ /**
14644
+ * 忽略大小写判断文件类型
14519
14645
  * */
14520
14646
  includesType: function includesType(typeList, fileType) {
14521
14647
  if (!fileType) return false;
14522
14648
  return (0,external_lodash_.includes)((0,external_lodash_.map)(typeList, external_lodash_.toLower), (0,external_lodash_.toLower)(fileType));
14523
14649
  },
14524
- /**
14525
- * 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
14650
+ /**
14651
+ * 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
14526
14652
  * */
14527
14653
  initViewer: function initViewer(view) {
14528
14654
  this.viewer = view;
@@ -14559,8 +14685,8 @@ var FileDetail_component = normalizeComponent(
14559
14685
  }
14560
14686
  }
14561
14687
  },
14562
- /**
14563
- * 根据文件类型,判端文件预览展示那种图片或icon
14688
+ /**
14689
+ * 根据文件类型,判端文件预览展示那种图片或icon
14564
14690
  * */
14565
14691
  getFileImg: function getFileImg(file) {
14566
14692
  // 默认文件图片
@@ -14603,8 +14729,8 @@ var FileDetail_component = normalizeComponent(
14603
14729
  }
14604
14730
  return url;
14605
14731
  },
14606
- /**
14607
- * 删除附件
14732
+ /**
14733
+ * 删除附件
14608
14734
  * */
14609
14735
  delFile: function delFile(index) {
14610
14736
  this.fileList.splice(index, 1);
@@ -14644,7 +14770,7 @@ var BnFileView_component = normalizeComponent(
14644
14770
  )
14645
14771
 
14646
14772
  /* 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
14773
+ ;// ./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
14774
 
14649
14775
 
14650
14776
 
@@ -15201,10 +15327,10 @@ var functions = [{
15201
15327
  }
15202
15328
  }
15203
15329
  },
15204
- /**
15205
- * 整理组件列表为schema
15206
- *@param array 组件插入到数组
15207
- *@param column 组件
15330
+ /**
15331
+ * 整理组件列表为schema
15332
+ *@param array 组件插入到数组
15333
+ *@param column 组件
15208
15334
  * */
15209
15335
  loadColumn: function loadColumn(array, column) {
15210
15336
  var data = {
@@ -15239,8 +15365,8 @@ var functions = [{
15239
15365
  array.push(data);
15240
15366
  }
15241
15367
  },
15242
- /**
15243
- * 切换函数分类的打开挂壁
15368
+ /**
15369
+ * 切换函数分类的打开挂壁
15244
15370
  * */
15245
15371
  changeOpenClass: function changeOpenClass(item) {
15246
15372
  var index = this.openFunClass.indexOf(item.name);
@@ -15250,8 +15376,8 @@ var functions = [{
15250
15376
  this.openFunClass.splice(index, 1);
15251
15377
  }
15252
15378
  },
15253
- /**
15254
- * 切换字段分类的打开挂壁
15379
+ /**
15380
+ * 切换字段分类的打开挂壁
15255
15381
  * */
15256
15382
  changeOpenColumn: function changeOpenColumn(item) {
15257
15383
  var index = this.openColumnClass.indexOf(item.name);
@@ -15261,8 +15387,8 @@ var functions = [{
15261
15387
  this.openColumnClass.splice(index, 1);
15262
15388
  }
15263
15389
  },
15264
- /**
15265
- * 获取焦点
15390
+ /**
15391
+ * 获取焦点
15266
15392
  * */
15267
15393
  onCodemirrorFocus: function onCodemirrorFocus() {
15268
15394
  var _this4 = this;
@@ -15275,8 +15401,8 @@ var functions = [{
15275
15401
  // }
15276
15402
  });
15277
15403
  },
15278
- /**
15279
- * 高亮代码
15404
+ /**
15405
+ * 高亮代码
15280
15406
  */
15281
15407
  specialString: function specialString(str) {
15282
15408
  var specialRegExp = /\*|\+|\?|\||\{|\}|\[|\]|\(|\)|\^|\$|\./g;
@@ -15340,8 +15466,8 @@ var functions = [{
15340
15466
  // setTimeout(()=>{
15341
15467
  // },3000)
15342
15468
  },
15343
- /**
15344
- * 选择函数
15469
+ /**
15470
+ * 选择函数
15345
15471
  */
15346
15472
  onSelectFun: function onSelectFun(item) {
15347
15473
  var _this6 = this;
@@ -15353,8 +15479,8 @@ var functions = [{
15353
15479
  _this6.$refs.cm && _this6.$refs.cm.codemirror.focus(); // 确保编辑器获得焦点
15354
15480
  });
15355
15481
  },
15356
- /**
15357
- * 选择字段
15482
+ /**
15483
+ * 选择字段
15358
15484
  */
15359
15485
  onSelectCol: function onSelectCol(item) {
15360
15486
  var _this7 = this;
@@ -15383,8 +15509,8 @@ var functions = [{
15383
15509
  _this7.$refs.cm && _this7.$refs.cm.codemirror.focus(); // 确保编辑器获得焦点
15384
15510
  });
15385
15511
  },
15386
- /**
15387
- * 保存
15512
+ /**
15513
+ * 保存
15388
15514
  * */
15389
15515
  saveRule: function saveRule() {
15390
15516
  var _this8 = this;
@@ -15417,8 +15543,8 @@ var functions = [{
15417
15543
  _this8.$emit('save', res);
15418
15544
  });
15419
15545
  },
15420
- /**
15421
- * 打开弹框
15546
+ /**
15547
+ * 打开弹框
15422
15548
  * */
15423
15549
  openDialog: function openDialog() {
15424
15550
  this.postData.exprExec = this.showContent;
@@ -15464,7 +15590,7 @@ var bnFunText_component = normalizeComponent(
15464
15590
  )
15465
15591
 
15466
15592
  /* 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
15593
+ ;// ./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
15594
  var BnInpNumvue_type_template_id_a086af00_scoped_true_render = function render() {
15469
15595
  var _vm = this,
15470
15596
  _c = _vm._self._c;
@@ -15571,8 +15697,8 @@ var es_string_starts_with = __webpack_require__(1392);
15571
15697
  }
15572
15698
  },
15573
15699
  methods: {
15574
- /**
15575
- * input事件 实时变化
15700
+ /**
15701
+ * input事件 实时变化
15576
15702
  * */
15577
15703
  valInput: (0,external_lodash_.debounce)(function (val) {
15578
15704
  // 快速处理空值
@@ -15635,8 +15761,8 @@ var es_string_starts_with = __webpack_require__(1392);
15635
15761
  }
15636
15762
  this.val = value;
15637
15763
  }, 200),
15638
- /**
15639
- * change事件上报
15764
+ /**
15765
+ * change事件上报
15640
15766
  * */
15641
15767
  valChange: function valChange() {
15642
15768
  // 处理只输入负号或末尾小数点的中间态
@@ -15661,8 +15787,8 @@ var es_string_starts_with = __webpack_require__(1392);
15661
15787
  }
15662
15788
  this.$emit("change", this.val);
15663
15789
  },
15664
- /**
15665
- * blur事件上报
15790
+ /**
15791
+ * blur事件上报
15666
15792
  * */
15667
15793
  inputBlur: function inputBlur() {
15668
15794
  this.$emit("blur", this.val);
@@ -15696,7 +15822,7 @@ var BnInpNum_component = normalizeComponent(
15696
15822
  )
15697
15823
 
15698
15824
  /* 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
15825
+ ;// ./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
15826
  var BnInputNumvue_type_template_id_2baef958_render = function render() {
15701
15827
  var _vm = this,
15702
15828
  _c = _vm._self._c;
@@ -15867,7 +15993,7 @@ var BnInputNum_component = normalizeComponent(
15867
15993
  )
15868
15994
 
15869
15995
  /* 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
15996
+ ;// ./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
15997
 
15872
15998
 
15873
15999
 
@@ -16700,53 +16826,53 @@ var searchList = {
16700
16826
  title: '不为空',
16701
16827
  id: '10'
16702
16828
  }],
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'},
16829
+ /*
16830
+ 9: [
16831
+ {title: '范围', id: '8'},
16832
+ {title: '为空', id: '9'},
16833
+ {title: '不为空', id: '10'},
16834
+ ],
16835
+ 11: [
16836
+ {title: '等于', id: '1'},
16837
+ {title: '不等于', id: '2'},
16838
+ {title: '包含', id: '3'},
16839
+ {title: '不包含', id: '4'},
16840
+ {title: '包含任一项', id: '5'},
16841
+ {title: '不包含任一项', id: '6'},
16842
+ {title: '包含所有项', id: '7'},
16843
+ {title: '范围', id: '8'},
16844
+ {title: '为空', id: '9'},
16845
+ {title: '不为空', id: '10'},
16846
+ {title: '属于', id: '11'},
16847
+ {title: '有交集', id: '12'},
16848
+ {title: '无交集', id: '13'},],
16849
+ 12: [
16850
+ {title: '等于', id: '1'},
16851
+ {title: '不等于', id: '2'},
16852
+ {title: '包含', id: '3'},
16853
+ {title: '不包含', id: '4'},
16854
+ {title: '包含任一项', id: '5'},
16855
+ {title: '不包含任一项', id: '6'},
16856
+ {title: '包含所有项', id: '7'},
16857
+ {title: '范围', id: '8'},
16858
+ {title: '为空', id: '9'},
16859
+ {title: '不为空', id: '10'},
16860
+ {title: '属于', id: '11'},
16861
+ {title: '有交集', id: '12'},
16862
+ {title: '无交集', id: '13'},],
16863
+ 13: [
16864
+ {title: '等于', id: '1'},
16865
+ {title: '不等于', id: '2'},
16866
+ {title: '包含', id: '3'},
16867
+ {title: '不包含', id: '4'},
16868
+ {title: '包含任一项', id: '5'},
16869
+ {title: '不包含任一项', id: '6'},
16870
+ {title: '包含所有项', id: '7'},
16871
+ {title: '范围', id: '8'},
16872
+ {title: '为空', id: '9'},
16873
+ {title: '不为空', id: '10'},
16874
+ {title: '属于', id: '11'},
16875
+ {title: '有交集', id: '12'},
16750
16876
  {title: '无交集', id: '13'},],*/
16751
16877
  15: [{
16752
16878
  title: '为空',
@@ -16758,7 +16884,7 @@ var searchList = {
16758
16884
  };
16759
16885
 
16760
16886
  //每个组件类型对应的筛选类型列表
16761
- var submitCheckTypeList = (/* unused pure expression or super */ null && ({
16887
+ var submitCheckTypeList = {
16762
16888
  1: '等于',
16763
16889
  2: '不等于',
16764
16890
  3: '包含',
@@ -16793,7 +16919,7 @@ var submitCheckTypeList = (/* unused pure expression or super */ null && ({
16793
16919
  101: '变更为',
16794
16920
  102: '变更为空',
16795
16921
  103: '变更为有值'
16796
- }));
16922
+ };
16797
16923
  var valueTypeList = {
16798
16924
  //{id: '0', title: '自定义填写'},{id: '1', title: '其他组件'},{id: '2', title: '当前组件选项'}, {id: '3', title: '空值'},{id: '4', title: '其他步骤'},{ id: '5', title: '工作表属性' }
16799
16925
  '-1': [{
@@ -16897,7 +17023,7 @@ var subTypeList = {
16897
17023
  //部分支持 {id: '6', title: '过去x时'}, {id: '7', title: '未来x时'}, {id: '8', title: '过去x月'}, {id: '9', title: '未来x月'},
16898
17024
  ]
16899
17025
  };
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
17026
+ ;// ./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
17027
  var cascadeConditionvue_type_template_id_0b10733b_render = function render() {
16902
17028
  var _vm = this,
16903
17029
  _c = _vm._self._c;
@@ -16987,7 +17113,7 @@ function _createForOfIteratorHelper(r, e) {
16987
17113
  };
16988
17114
  }
16989
17115
 
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
17116
+ ;// ./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
17117
  var BnSwitchvue_type_template_id_809f2340_render = function render() {
16992
17118
  var _vm = this,
16993
17119
  _c = _vm._self._c;
@@ -17234,10 +17360,10 @@ var BnSwitch_component = normalizeComponent(
17234
17360
  }
17235
17361
  this.$emit('update:sourceTitle', this.valueTitle);
17236
17362
  },
17237
- /**
17238
- * @param data 列表
17239
- * @param value 编辑回显时已保存的值 []
17240
- * @returns {*|Array|Array|*}
17363
+ /**
17364
+ * @param data 列表
17365
+ * @param value 编辑回显时已保存的值 []
17366
+ * @returns {*|Array|Array|*}
17241
17367
  * */
17242
17368
  dataFormat: function dataFormat(data, value) {
17243
17369
  return data.map(function (item) {
@@ -17247,12 +17373,12 @@ var BnSwitch_component = normalizeComponent(
17247
17373
  });
17248
17374
  });
17249
17375
  },
17250
- /**
17251
- *
17252
- * @param data 列表
17253
- * @param key 键
17254
- * @param value 值
17255
- * @returns {*|Array|String|Array|*}
17376
+ /**
17377
+ *
17378
+ * @param data 列表
17379
+ * @param key 键
17380
+ * @param value 值
17381
+ * @returns {*|Array|String|Array|*}
17256
17382
  */
17257
17383
  getChild: function getChild(data, key, value) {
17258
17384
  var _iterator = _createForOfIteratorHelper(data),
@@ -17335,7 +17461,7 @@ var cascadeCondition_component = normalizeComponent(
17335
17461
  )
17336
17462
 
17337
17463
  /* 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
17464
+ ;// ./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
17465
  var addressvue_type_template_id_1199c288_scoped_true_render = function render() {
17340
17466
  var _vm = this,
17341
17467
  _c = _vm._self._c;
@@ -17395,7 +17521,7 @@ var addressvue_type_template_id_1199c288_scoped_true_render = function render()
17395
17521
  };
17396
17522
  var addressvue_type_template_id_1199c288_scoped_true_staticRenderFns = [];
17397
17523
 
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
17524
+ ;// ./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
17525
  var addressSetvue_type_template_id_50cd72d0_scoped_true_render = function render() {
17400
17526
  var _vm = this,
17401
17527
  _c = _vm._self._c;
@@ -17698,7 +17824,7 @@ var address_component = normalizeComponent(
17698
17824
  )
17699
17825
 
17700
17826
  /* 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
17827
+ ;// ./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
17828
 
17703
17829
  var compositeSearchvue_type_template_id_09cb19ef_scoped_true_render = function render() {
17704
17830
  var _vm = this,
@@ -17824,7 +17950,7 @@ var compositeSearch_component = normalizeComponent(
17824
17950
  )
17825
17951
 
17826
17952
  /* 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
17953
+ ;// ./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
17954
  var numberRegvue_type_template_id_04541236_scoped_true_render = function render() {
17829
17955
  var _vm = this,
17830
17956
  _c = _vm._self._c;
@@ -18202,8 +18328,8 @@ var numberReg_component = normalizeComponent(
18202
18328
  this.$emit("input", val);
18203
18329
  }
18204
18330
  },
18205
- /**
18206
- * 当进入规则组件,已经选好组件id时,需要将组件信息回显
18331
+ /**
18332
+ * 当进入规则组件,已经选好组件id时,需要将组件信息回显
18207
18333
  * */
18208
18334
  columnInfo: {
18209
18335
  get: function get() {
@@ -18251,8 +18377,8 @@ var numberReg_component = normalizeComponent(
18251
18377
  }
18252
18378
  },
18253
18379
  methods: {
18254
- /**
18255
- * 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
18380
+ /**
18381
+ * 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
18256
18382
  * */
18257
18383
  changeCustomType: function changeCustomType(type) {
18258
18384
  this.arrowCustomType = type ? type : 'column';
@@ -18294,9 +18420,9 @@ var numberReg_component = normalizeComponent(
18294
18420
  value: value
18295
18421
  });
18296
18422
  },
18297
- /**
18298
- * 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
18299
- * @param {Any} e select发生变化返回的值
18423
+ /**
18424
+ * 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
18425
+ * @param {Any} e select发生变化返回的值
18300
18426
  * */
18301
18427
  columnChange: function columnChange(e) {
18302
18428
  var column = this.columnList.filter(function (i) {
@@ -18347,8 +18473,8 @@ var numberReg_component = normalizeComponent(
18347
18473
  value: value
18348
18474
  });
18349
18475
  },
18350
- /**
18351
- * 计算条件发生change
18476
+ /**
18477
+ * 计算条件发生change
18352
18478
  * */
18353
18479
  searchChange: function searchChange() {
18354
18480
  // 根据组件类型、计算条件、值类型来确定规则条件的value的类型
@@ -18359,8 +18485,8 @@ var numberReg_component = normalizeComponent(
18359
18485
  value: this.ruleVal
18360
18486
  });
18361
18487
  },
18362
- /**
18363
- * 规则值类型发生变化
18488
+ /**
18489
+ * 规则值类型发生变化
18364
18490
  * */
18365
18491
  valueTypeChange: function valueTypeChange() {
18366
18492
  // 根据组件类型、计算条件、值类型来确定规则条件的value的类型
@@ -18371,8 +18497,8 @@ var numberReg_component = normalizeComponent(
18371
18497
  value: this.ruleVal
18372
18498
  });
18373
18499
  },
18374
- /**
18375
- * 规则值子类型发生变化
18500
+ /**
18501
+ * 规则值子类型发生变化
18376
18502
  * */
18377
18503
  subTypeChange: function subTypeChange() {
18378
18504
  // 根据组件类型、计算条件、值类型来确定规则条件的value的类型
@@ -18383,8 +18509,8 @@ var numberReg_component = normalizeComponent(
18383
18509
  value: this.ruleVal
18384
18510
  });
18385
18511
  },
18386
- /**
18387
- * 规则的value发生变化
18512
+ /**
18513
+ * 规则的value发生变化
18388
18514
  * */
18389
18515
  valueChange: function valueChange(target) {
18390
18516
  if (target == 'date' && this.ruleVal[this.optionProps.value] == null) {
@@ -18399,9 +18525,9 @@ var numberReg_component = normalizeComponent(
18399
18525
  value: this.ruleVal
18400
18526
  });
18401
18527
  },
18402
- /**
18403
- * 获取该类型组件支持那些计算条件
18404
- * @param {Number} behaviorType 组件行为类型
18528
+ /**
18529
+ * 获取该类型组件支持那些计算条件
18530
+ * @param {Number} behaviorType 组件行为类型
18405
18531
  * */
18406
18532
  getSearchOptions: function getSearchOptions(behaviorType) {
18407
18533
  var optionList = [];
@@ -18420,9 +18546,9 @@ var numberReg_component = normalizeComponent(
18420
18546
  }
18421
18547
  return optionList;
18422
18548
  },
18423
- /**
18424
- * 获取该类型组件支持那些值类型
18425
- * @param {Number} behaviorType 组件行为类型
18549
+ /**
18550
+ * 获取该类型组件支持那些值类型
18551
+ * @param {Number} behaviorType 组件行为类型
18426
18552
  * */
18427
18553
  getValueOptions: function getValueOptions(column) {
18428
18554
  var optionList = [];
@@ -18440,9 +18566,9 @@ var numberReg_component = normalizeComponent(
18440
18566
  }
18441
18567
  return optionList;
18442
18568
  },
18443
- /**
18444
- * 获取该类型组件支持那些子类型列表:目前仅只是时间日期
18445
- * @param {Number} behaviorType 组件行为类型
18569
+ /**
18570
+ * 获取该类型组件支持那些子类型列表:目前仅只是时间日期
18571
+ * @param {Number} behaviorType 组件行为类型
18446
18572
  * */
18447
18573
  getSubTypeOptions: function getSubTypeOptions(behaviorType) {
18448
18574
  var optionList = [];
@@ -18460,9 +18586,9 @@ var numberReg_component = normalizeComponent(
18460
18586
  }
18461
18587
  return optionList;
18462
18588
  },
18463
- /**
18464
- * 获取该类型组件支持那些值类型
18465
- * @param {Number} behaviorType 组件行为类型
18589
+ /**
18590
+ * 获取该类型组件支持那些值类型
18591
+ * @param {Number} behaviorType 组件行为类型
18466
18592
  * */
18467
18593
  getOtherColumns: function getOtherColumns(behaviorType) {
18468
18594
  var _this = this;
@@ -18492,9 +18618,9 @@ var numberReg_component = normalizeComponent(
18492
18618
  }
18493
18619
  return optionList;
18494
18620
  },
18495
- /**
18496
- * 动态禁用
18497
- * @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
18621
+ /**
18622
+ * 动态禁用
18623
+ * @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
18498
18624
  * */
18499
18625
  isDisabled: function isDisabled(type) {
18500
18626
  if (this.$options.propsData.hasOwnProperty('disabledFun')) {
@@ -18504,11 +18630,11 @@ var numberReg_component = normalizeComponent(
18504
18630
  return false;
18505
18631
  }
18506
18632
  },
18507
- /**
18508
- * 给组件value赋予默认类型
18509
- * @param {Number} behaviorType 组件行为类型
18510
- * @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
18511
- * @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
18633
+ /**
18634
+ * 给组件value赋予默认类型
18635
+ * @param {Number} behaviorType 组件行为类型
18636
+ * @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
18637
+ * @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
18512
18638
  * */
18513
18639
  setValType: function setValType(behaviorType, searchType, valueType) {
18514
18640
  var data = '';
@@ -18588,14 +18714,14 @@ var numberReg_component = normalizeComponent(
18588
18714
  }
18589
18715
  return data;
18590
18716
  },
18591
- /**
18592
- * 校验value的数据类型,因为有时候数据类型不对组件会报错
18717
+ /**
18718
+ * 校验value的数据类型,因为有时候数据类型不对组件会报错
18593
18719
  * */
18594
18720
  checkValType: function checkValType(type) {
18595
18721
  return _typeof(this.ruleVal[this.optionProps.value]) == type;
18596
18722
  },
18597
- /**
18598
- * 删除规则
18723
+ /**
18724
+ * 删除规则
18599
18725
  * */
18600
18726
  del: function del() {
18601
18727
  this.$emit('del', {
@@ -18603,8 +18729,8 @@ var numberReg_component = normalizeComponent(
18603
18729
  value: this.ruleVal
18604
18730
  });
18605
18731
  },
18606
- /**
18607
- * 清空规则内容
18732
+ /**
18733
+ * 清空规则内容
18608
18734
  * */
18609
18735
  empty: function empty() {
18610
18736
  // 清空计算类型的值
@@ -18612,15 +18738,15 @@ var numberReg_component = normalizeComponent(
18612
18738
  // 清空value
18613
18739
  this.ruleVal[this.optionProps.value] = this.setValType(this.ruleVal.behaviorType);
18614
18740
  },
18615
- /**
18616
- * 设置触发值
18741
+ /**
18742
+ * 设置触发值
18617
18743
  * */
18618
18744
  setDefaultSearch: function setDefaultSearch() {
18619
18745
  // 清空计算类型的值
18620
18746
  this.ruleVal[this.optionProps.searchType] = this.getSearchOptions(this.ruleVal.behaviorType)[0].id;
18621
18747
  },
18622
- /**
18623
- * 日期,日期区间,判断时间类型
18748
+ /**
18749
+ * 日期,日期区间,判断时间类型
18624
18750
  * */
18625
18751
  getDateType: function getDateType(type) {
18626
18752
  var dateType = type == "date" ? "datetime" : "datetimerange";
@@ -18643,8 +18769,8 @@ var numberReg_component = normalizeComponent(
18643
18769
  }
18644
18770
  return dateType;
18645
18771
  },
18646
- /**
18647
- * 日期,日期区间,判断时间格式化
18772
+ /**
18773
+ * 日期,日期区间,判断时间格式化
18648
18774
  * */
18649
18775
  getDateFormat: function getDateFormat() {
18650
18776
  var format = "yyyy-MM-dd HH:mm:ss";
@@ -18701,7 +18827,7 @@ var bnRuleCondition_component = normalizeComponent(
18701
18827
  )
18702
18828
 
18703
18829
  /* 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
18830
+ ;// ./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
18831
 
18706
18832
 
18707
18833
 
@@ -19362,10 +19488,10 @@ function util_toPinYin(chart) {
19362
19488
  return util_getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
19363
19489
  }
19364
19490
 
19365
- /**
19366
- * 匹配大小写字母拼音 返回Boolean值
19367
- * @param {*} chart 需要匹配的字符
19368
- * @param {*} data 需要进行匹配的字符
19491
+ /**
19492
+ * 匹配大小写字母拼音 返回Boolean值
19493
+ * @param {*} chart 需要匹配的字符
19494
+ * @param {*} data 需要进行匹配的字符
19369
19495
  */
19370
19496
  function util_searchToBoolean(chart, data) {
19371
19497
  return util_toPinYin(data || '').indexOf(util_toPinYin(chart || '')) !== -1;
@@ -19679,18 +19805,18 @@ function util_searchToBoolean(chart, data) {
19679
19805
  this.initSelectDataDebounced.cancel();
19680
19806
  },
19681
19807
  methods: {
19682
- /**
19683
- * 下拉选项显示 返回Boolean true:显示
19684
- * @param {Object} item 某一选择的值、option的值
19808
+ /**
19809
+ * 下拉选项显示 返回Boolean true:显示
19810
+ * @param {Object} item 某一选择的值、option的值
19685
19811
  */
19686
19812
  optionHideFunction: function optionHideFunction(item) {
19687
19813
  if (this.optionHideFun) return !this.optionHideFun(item) && !item.isHide;else return !item.isHide;
19688
19814
  },
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的值
19815
+ /**
19816
+ * Option中checkbox当绑定值变化时触发的事件 更新后的值
19817
+ * @change="onCheckChange(checkBoxValue(labelInValue?item:item[optionProps['value']]), labelInValue?item:item[optionProps['value']])"
19818
+ * @param {Boolean} val checkbox更新后的值
19819
+ * @param {Object} item option的值
19694
19820
  */
19695
19821
  onCheckChange: function onCheckChange(val, item) {
19696
19822
  var _this = this;
@@ -19719,9 +19845,9 @@ function util_searchToBoolean(chart, data) {
19719
19845
  _this.changeValue();
19720
19846
  });
19721
19847
  },
19722
- /**
19723
- * 返回option中checkbox的value状态
19724
- * @param {Object} item option的选项
19848
+ /**
19849
+ * 返回option中checkbox的value状态
19850
+ * @param {Object} item option的选项
19725
19851
  */
19726
19852
  checkBoxValue: function checkBoxValue(item) {
19727
19853
  var _this2 = this;
@@ -19738,22 +19864,22 @@ function util_searchToBoolean(chart, data) {
19738
19864
  return false;
19739
19865
  }
19740
19866
  },
19741
- /**
19742
- * 下拉选项禁用 返回Boolean true:禁用
19743
- * @param {Object} item 某一选择的值、option的值
19867
+ /**
19868
+ * 下拉选项禁用 返回Boolean true:禁用
19869
+ * @param {Object} item 某一选择的值、option的值
19744
19870
  */
19745
19871
  optionDisabledFunction: function optionDisabledFunction(item) {
19746
19872
  if (this.optionDisabledFun) return this.optionDisabledFun(item) || item.disabled;else return item.disabled;
19747
19873
  },
19748
- /**
19749
- * 多选模式下移除tag时触发
19750
- * @param {Object} tag 移除的tag值
19874
+ /**
19875
+ * 多选模式下移除tag时触发
19876
+ * @param {Object} tag 移除的tag值
19751
19877
  */
19752
19878
  removeTag: function removeTag(tag) {
19753
19879
  this.$emit('removeTag', tag);
19754
19880
  },
19755
- /**
19756
- * select的change事件
19881
+ /**
19882
+ * select的change事件
19757
19883
  */
19758
19884
  changeValue: function changeValue() {
19759
19885
  var _this3 = this;
@@ -19783,9 +19909,9 @@ function util_searchToBoolean(chart, data) {
19783
19909
  }
19784
19910
  });
19785
19911
  },
19786
- /**
19787
- * 下拉框出现/隐藏时触发
19788
- * @param {Boolean} bol 出现则为 true,隐藏则为 false
19912
+ /**
19913
+ * 下拉框出现/隐藏时触发
19914
+ * @param {Boolean} bol 出现则为 true,隐藏则为 false
19789
19915
  */
19790
19916
  visibleChange: function visibleChange(bol) {
19791
19917
  var _this4 = this;
@@ -19852,15 +19978,15 @@ function util_searchToBoolean(chart, data) {
19852
19978
  });
19853
19979
  }
19854
19980
  },
19855
- /**
19856
- * 可清空的单选模式下用户点击清空按钮时触发
19981
+ /**
19982
+ * 可清空的单选模式下用户点击清空按钮时触发
19857
19983
  */
19858
19984
  clear: function clear() {
19859
19985
  this.$emit('clear');
19860
19986
  },
19861
- /**
19862
- * 返回option的label data: option数据
19863
- * @param {Object} data option数据
19987
+ /**
19988
+ * 返回option的label data: option数据
19989
+ * @param {Object} data option数据
19864
19990
  */
19865
19991
  showLabel: function showLabel(data) {
19866
19992
  if (this.optionProps['label'] instanceof Function) {
@@ -19869,9 +19995,9 @@ function util_searchToBoolean(chart, data) {
19869
19995
  return data[this.optionProps['label']];
19870
19996
  }
19871
19997
  },
19872
- /**
19873
- * 快速搜索选项
19874
- * @param {String} val 搜索的值
19998
+ /**
19999
+ * 快速搜索选项
20000
+ * @param {String} val 搜索的值
19875
20001
  */
19876
20002
  filterMethod: function filterMethod(val) {
19877
20003
  var _this5 = this;
@@ -19893,8 +20019,8 @@ function util_searchToBoolean(chart, data) {
19893
20019
  this.loadingOptionList();
19894
20020
  }
19895
20021
  },
19896
- /**
19897
- * 判断是否是全选状态
20022
+ /**
20023
+ * 判断是否是全选状态
19898
20024
  */
19899
20025
  isSelectAll: function isSelectAll() {
19900
20026
  var _this6 = this;
@@ -19918,8 +20044,8 @@ function util_searchToBoolean(chart, data) {
19918
20044
  }
19919
20045
  }
19920
20046
  },
19921
- /**
19922
- * 全选事件
20047
+ /**
20048
+ * 全选事件
19923
20049
  */
19924
20050
  onSelectAll: function onSelectAll() {
19925
20051
  var _this7 = this;
@@ -19957,14 +20083,14 @@ function util_searchToBoolean(chart, data) {
19957
20083
  this.isIndeterminate = false;
19958
20084
  this.changeValue();
19959
20085
  },
19960
- /**
19961
- * 隐藏下拉选择框事件
20086
+ /**
20087
+ * 隐藏下拉选择框事件
19962
20088
  */
19963
20089
  onConfirm: function onConfirm() {
19964
20090
  this.$refs.selectBox.blur();
19965
20091
  },
19966
- /**
19967
- * 滚动加载
20092
+ /**
20093
+ * 滚动加载
19968
20094
  */
19969
20095
  loadMore: function loadMore() {
19970
20096
  // 判断是否执行远程搜索
@@ -19990,8 +20116,8 @@ function util_searchToBoolean(chart, data) {
19990
20116
  this.isSelectAll();
19991
20117
  }
19992
20118
  },
19993
- /**
19994
- * 请求内部数据源
20119
+ /**
20120
+ * 请求内部数据源
19995
20121
  */
19996
20122
  loadOption: function loadOption(type) {
19997
20123
  var _this8 = this;
@@ -20048,8 +20174,8 @@ function util_searchToBoolean(chart, data) {
20048
20174
  _this8.showMore = false;
20049
20175
  });
20050
20176
  },
20051
- /**
20052
- * 初始化远程搜索数据
20177
+ /**
20178
+ * 初始化远程搜索数据
20053
20179
  */
20054
20180
  initRemoteMethod: function initRemoteMethod() {
20055
20181
  this.moduleDefinition = [];
@@ -20070,8 +20196,8 @@ function util_searchToBoolean(chart, data) {
20070
20196
  this.loadMore();
20071
20197
  }
20072
20198
  },
20073
- /**
20074
- * 初始化组件的数据
20199
+ /**
20200
+ * 初始化组件的数据
20075
20201
  */
20076
20202
  initSelectData: function initSelectData() {
20077
20203
  var _this9 = this;
@@ -20177,8 +20303,8 @@ function util_searchToBoolean(chart, data) {
20177
20303
  }
20178
20304
  },
20179
20305
  computed: {
20180
- /**
20181
- * option 展示的列表
20306
+ /**
20307
+ * option 展示的列表
20182
20308
  */
20183
20309
  optionShowList: function optionShowList() {
20184
20310
  var _this0 = this;
@@ -20215,8 +20341,8 @@ function util_searchToBoolean(chart, data) {
20215
20341
  return this.total + (((_this$optionList = this.optionList) === null || _this$optionList === void 0 ? void 0 : _this$optionList.length) || 0);
20216
20342
  }
20217
20343
  },
20218
- /**
20219
- * option 所有数据的id数组
20344
+ /**
20345
+ * option 所有数据的id数组
20220
20346
  */
20221
20347
  pageOptionListIds: function pageOptionListIds() {
20222
20348
  return this.optionList.slice(0, 10);
@@ -20249,8 +20375,8 @@ function util_searchToBoolean(chart, data) {
20249
20375
  valueKeys: function valueKeys() {
20250
20376
  return Array.from(new Set([].concat(_toConsumableArray(Object.values(this.optionProps)), _toConsumableArray(this.valueProps))));
20251
20377
  },
20252
- /**
20253
- * select的value数据
20378
+ /**
20379
+ * select的value数据
20254
20380
  */
20255
20381
  select: {
20256
20382
  get: function get() {
@@ -20287,8 +20413,8 @@ function util_searchToBoolean(chart, data) {
20287
20413
  }
20288
20414
  }
20289
20415
  },
20290
- /**
20291
- * select 的 popperClass
20416
+ /**
20417
+ * select 的 popperClass
20292
20418
  */
20293
20419
  popperClassName: function popperClassName() {
20294
20420
  var className = "bytenew-select-popper ".concat(this.popperClass || '');
@@ -20413,7 +20539,7 @@ var select_component = normalizeComponent(
20413
20539
  )
20414
20540
 
20415
20541
  /* 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
20542
+ ;// ./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
20543
 
20418
20544
 
20419
20545
  var BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_render = function render() {
@@ -20818,10 +20944,10 @@ function _asyncToGenerator(n) {
20818
20944
  handleBlurs: function handleBlurs() {
20819
20945
  this.visible = false;
20820
20946
  },
20821
- /**
20822
- * @name 选择change
20823
- * @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
20824
- * @param {*} record
20947
+ /**
20948
+ * @name 选择change
20949
+ * @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
20950
+ * @param {*} record
20825
20951
  */
20826
20952
  selectItem: function selectItem(record) {
20827
20953
  if (this.isSpecialTax) {
@@ -20984,6 +21110,344 @@ var BnFiTaxAutoComplete_component = normalizeComponent(
20984
21110
  )
20985
21111
 
20986
21112
  /* harmony default export */ const BnFiTaxAutoComplete = (BnFiTaxAutoComplete_component.exports);
21113
+ ;// ./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/BnVirtPopover/index.vue?vue&type=template&id=387cfe9e&scoped=true
21114
+ var BnVirtPopovervue_type_template_id_387cfe9e_scoped_true_render = function render() {
21115
+ var _vm = this,
21116
+ _c = _vm._self._c;
21117
+ return _c('transition', {
21118
+ attrs: {
21119
+ "appear": "",
21120
+ "name": _vm.popoverPosition == 'bottom' ? 'el-zoom-in-top' : 'el-zoom-in-bottom'
21121
+ }
21122
+ }, [_c('div', {
21123
+ directives: [{
21124
+ name: "show",
21125
+ rawName: "v-show",
21126
+ value: _vm.modal,
21127
+ expression: "modal"
21128
+ }],
21129
+ ref: "customPopover",
21130
+ staticClass: "virtualPopover",
21131
+ "class": _vm.popoverClass,
21132
+ style: _vm.popoverStyle,
21133
+ on: {
21134
+ "mouseover": _vm.onMouseEvent,
21135
+ "mouseleave": _vm.onMouseEvent
21136
+ }
21137
+ }, [_c('div', {
21138
+ "class": _vm.arrowClass,
21139
+ style: _vm.arrowStyle
21140
+ }), _c('div', {
21141
+ staticClass: "virtualPopover-modal",
21142
+ on: {
21143
+ "click": function click($event) {
21144
+ $event.stopPropagation();
21145
+ }
21146
+ }
21147
+ }, [_vm._t("default")], 2)])]);
21148
+ };
21149
+ var BnVirtPopovervue_type_template_id_387cfe9e_scoped_true_staticRenderFns = [];
21150
+
21151
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
21152
+ var es_string_trim = __webpack_require__(2762);
21153
+ ;// ./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/index.js??vue-loader-options!./packages/BnVirtPopover/index.vue?vue&type=script&lang=js
21154
+
21155
+
21156
+
21157
+
21158
+
21159
+
21160
+
21161
+
21162
+
21163
+
21164
+
21165
+
21166
+
21167
+
21168
+
21169
+
21170
+ /* harmony default export */ const BnVirtPopovervue_type_script_lang_js = ({
21171
+ name: "BnVirtPopover",
21172
+ props: {
21173
+ // popover的宽度,支持数字或字符串(如'200px')
21174
+ width: {
21175
+ type: [Number, String],
21176
+ "default": 220
21177
+ },
21178
+ // popover的显示位置,支持 'top' 或 'bottom'
21179
+ popoverPosition: {
21180
+ type: String,
21181
+ "default": "bottom"
21182
+ }
21183
+ },
21184
+ data: function data() {
21185
+ return {
21186
+ modal: false,
21187
+ // 控制 popover 的显示/隐藏
21188
+ popoverStyle: {},
21189
+ // popover 的样式对象
21190
+ popoverClass: [],
21191
+ // popover 的类名数组
21192
+ arrowStyle: {},
21193
+ // 箭头的样式对象
21194
+ arrowClass: [],
21195
+ // 箭头的类名数组
21196
+ targetEvent: undefined,
21197
+ // 存储触发事件的对象
21198
+ closeTimer: null // 关闭延时器
21199
+ };
21200
+ },
21201
+ computed: {
21202
+ /** 将 width 转为数字(px),用于位置计算;非纯数字返回 null */numericWidth: function numericWidth() {
21203
+ var w = this.width;
21204
+ if (typeof w === 'number' && !isNaN(w)) return w;
21205
+ if (typeof w === 'string' && /^\d+(\.\d+)?$/.test(w.trim())) return parseFloat(w);
21206
+ return null;
21207
+ }
21208
+ },
21209
+ beforeDestroy: function beforeDestroy() {
21210
+ clearTimeout(this.closeTimer);
21211
+ window.removeEventListener('click', this.close);
21212
+ window.removeEventListener('mouseup', this.onMouseup);
21213
+ },
21214
+ methods: {
21215
+ /**
21216
+ * 切换 popover 的显示状态
21217
+ * 如果当前显示且点击同一个触发元素,则关闭
21218
+ * 如果当前显示且点击不同触发元素,则更新位置
21219
+ * 如果当前隐藏,则显示
21220
+ * @param {Event} e - 触发事件对象
21221
+ */
21222
+ toggle: function toggle(e) {
21223
+ if (!e) {
21224
+ alert('把事件对象传进来');
21225
+ }
21226
+ this.targetEvent = e;
21227
+ // 鼠标悬浮事件
21228
+ if (e.type.indexOf('mouse') >= 0) {
21229
+ // 鼠标离开事件
21230
+ if (e.type == 'mouseleave') {
21231
+ this.close(e);
21232
+ } else {
21233
+ this.openPopover(e);
21234
+ }
21235
+ }
21236
+ //点击事件 或 其他
21237
+ else {
21238
+ if (this.modal) {
21239
+ this.close(e);
21240
+ } else {
21241
+ this.openPopover(e);
21242
+ }
21243
+ }
21244
+ },
21245
+ /**
21246
+ * 打开 popover
21247
+ * @param {Event} e - 触发事件对象
21248
+ */
21249
+ openPopover: function openPopover(e) {
21250
+ var _this = this;
21251
+ this.targetEvent = e;
21252
+ this.open();
21253
+ // 等待 DOM 更新后初始化位置
21254
+ this.$nextTick(function () {
21255
+ _this.initPosition();
21256
+ });
21257
+ // 阻止事件冒泡
21258
+ e && e.stopPropagation();
21259
+ // 添加全局事件监听
21260
+ window.addEventListener("click", this.close);
21261
+ window.addEventListener("mouseup", this.onMouseup);
21262
+ },
21263
+ /**
21264
+ * 初始化 popover 位置
21265
+ * 包括:
21266
+ * 1. 计算 popover 的位置和大小
21267
+ * 2. 处理屏幕边界情况
21268
+ * 3. 计算箭头位置
21269
+ * 4. 判断显示方向(上/下)
21270
+ */
21271
+ initPosition: function initPosition() {
21272
+ var triggerEl = this.getTriggerEl();
21273
+ if (triggerEl && triggerEl.getBoundingClientRect) {
21274
+ // 获取触发 dom 位置(优先 currentTarget,避免 el-button 内层子元素导致偏移)
21275
+ var _triggerEl$getBoundin = triggerEl.getBoundingClientRect(),
21276
+ left = _triggerEl$getBoundin.left,
21277
+ top = _triggerEl$getBoundin.top,
21278
+ width = _triggerEl$getBoundin.width,
21279
+ height = _triggerEl$getBoundin.height;
21280
+ // 初始样式
21281
+ this.popoverStyle = {};
21282
+ this.popoverClass = ["virtualPopover"];
21283
+ this.arrowClass = ["virtualPopover-arrow"];
21284
+ // 获取屏幕宽高
21285
+ var clientWidth = window.innerWidth;
21286
+ var clientHeight = window.innerHeight;
21287
+ // 计算变量
21288
+ var arrowWidth = 6;
21289
+ var popWidth = this.numericWidth;
21290
+ var popoverGap = popWidth && width > popWidth ? 0 : 10; // 最小边距
21291
+ var popoverLeft = left - popoverGap; // 距离左侧距离
21292
+
21293
+ // 计算 popover 的最终位置
21294
+ var finalPopoverLeft = popoverLeft;
21295
+ if (popWidth && popoverLeft + popWidth > clientWidth) {
21296
+ // 如果超出右边界,将 popover 靠右对齐
21297
+ finalPopoverLeft = clientWidth - popWidth - popoverGap;
21298
+ this.popoverStyle.left = "".concat(finalPopoverLeft, "px");
21299
+ } else {
21300
+ this.popoverStyle.left = "".concat(popoverLeft, "px");
21301
+ }
21302
+
21303
+ // 计算箭头位置,使其始终指向触发元素的中心
21304
+ var targetCenter = left + width / 2;
21305
+ var arrowLeft = targetCenter - finalPopoverLeft - arrowWidth;
21306
+
21307
+ // 确保箭头不会超出 popover 的边界
21308
+ var minArrowLeft = arrowWidth * 2;
21309
+ var maxArrowLeft = popWidth ? popWidth - arrowWidth * 3 : 200;
21310
+ this.arrowStyle.left = "".concat(Math.min(Math.max(arrowLeft, minArrowLeft), maxArrowLeft), "px");
21311
+
21312
+ // 判断popover宽度是否超出屏幕宽度,超出则减少为最小宽度,出现滚动条
21313
+ if (popWidth == null) {
21314
+ this.popoverStyle.width = "".concat(this.width);
21315
+ } else {
21316
+ if (popWidth + popoverGap * 2 > clientWidth) {
21317
+ this.popoverStyle.width = "".concat(clientWidth - popoverGap * 2, "px");
21318
+ } else this.popoverStyle.minWidth = "".concat(popWidth, "px");
21319
+ }
21320
+ // 获取popover的dom位置
21321
+ var _this$$refs$customPop = this.$refs.customPopover.getBoundingClientRect(),
21322
+ popoverBottom = _this$$refs$customPop.bottom,
21323
+ popoverHeight = _this$$refs$customPop.height;
21324
+ // 判断popover是在上方还是下方
21325
+ var bottomDistance = clientHeight - popoverBottom; // 与底部距离
21326
+ var popoverPosition = this.popoverPosition;
21327
+ if (top > bottomDistance && (popoverHeight === 0 || this.modal || popoverHeight >= bottomDistance)) {
21328
+ popoverPosition = "top";
21329
+ }
21330
+ // 内容高度大于屏幕剩高度,并且上方区域大于下方区域
21331
+ if (popoverPosition === "top") {
21332
+ this.popoverStyle.bottom = "".concat(clientHeight - top, "px");
21333
+ } else {
21334
+ this.popoverStyle.top = "".concat(top + height, "px");
21335
+ }
21336
+ this.arrowClass.push(popoverPosition);
21337
+ this.popoverClass.push(popoverPosition);
21338
+ }
21339
+ },
21340
+ /**
21341
+ * 监听鼠标抬起事件
21342
+ * 用于判断点击位置是否在 popover 外部,决定是否关闭
21343
+ * @param {MouseEvent} param0 - 鼠标事件对象,解构获取坐标
21344
+ */
21345
+ onMouseup: function onMouseup(_ref) {
21346
+ var x = _ref.x,
21347
+ y = _ref.y;
21348
+ if (this.$refs.customPopover && this.modal) {
21349
+ var triggerEl = this.getTriggerEl();
21350
+ if (triggerEl && triggerEl.getBoundingClientRect) {
21351
+ var _triggerEl$getBoundin2 = triggerEl.getBoundingClientRect(),
21352
+ _left = _triggerEl$getBoundin2.left,
21353
+ _right = _triggerEl$getBoundin2.right,
21354
+ _top = _triggerEl$getBoundin2.top,
21355
+ _bottom = _triggerEl$getBoundin2.bottom;
21356
+ if (!(x < _left || x > _right || y < _top || y > _bottom)) return;
21357
+ }
21358
+ var _this$$refs$customPop2 = this.$refs.customPopover.getBoundingClientRect(),
21359
+ left = _this$$refs$customPop2.left,
21360
+ right = _this$$refs$customPop2.right,
21361
+ top = _this$$refs$customPop2.top,
21362
+ bottom = _this$$refs$customPop2.bottom;
21363
+ if (x < left || x > right || y < top || y > bottom) {
21364
+ this.close();
21365
+ }
21366
+ ;
21367
+ }
21368
+ },
21369
+ /**
21370
+ * 开启
21371
+ */
21372
+ open: function open() {
21373
+ clearTimeout(this.closeTimer);
21374
+ this.closeTimer = null;
21375
+ this.modal = true;
21376
+ },
21377
+ /**
21378
+ * 关闭
21379
+ */
21380
+ close: function close() {
21381
+ var _this2 = this;
21382
+ clearTimeout(this.closeTimer);
21383
+ // 当触发是点击事件时,直接关闭,不延时
21384
+ if (this.targetEvent && this.targetEvent.type == 'click') {
21385
+ this.modal = false;
21386
+ window.removeEventListener("click", this.close);
21387
+ window.removeEventListener("mouseup", this.onMouseup);
21388
+ } else {
21389
+ this.closeTimer = setTimeout(function () {
21390
+ _this2.modal = false;
21391
+ window.removeEventListener("click", _this2.close);
21392
+ window.removeEventListener("mouseup", _this2.onMouseup);
21393
+ }, 300);
21394
+ }
21395
+ },
21396
+ /**
21397
+ * 处理鼠标移入移出事件
21398
+ * 用于实现 hover 效果
21399
+ * 移入时清除关闭定时器
21400
+ * 移出时设置延迟关闭
21401
+ * @param {MouseEvent} e - 鼠标事件对象
21402
+ */
21403
+ onMouseEvent: function onMouseEvent(e) {
21404
+ if (!this.targetEvent) return;
21405
+ if (e.type === 'mouseover' && this.targetEvent.type !== 'click') {
21406
+ clearTimeout(this.closeTimer);
21407
+ this.closeTimer = null;
21408
+ this.modal = true;
21409
+ }
21410
+ // 只有触发事件是鼠标悬浮时,从pop移开才关闭
21411
+ else if (this.targetEvent.type.indexOf('mouse') >= 0 && e.type === 'mouseleave') {
21412
+ clearTimeout(this.closeTimer);
21413
+ this.modal = false;
21414
+ window.removeEventListener("click", this.close);
21415
+ window.removeEventListener("mouseup", this.onMouseup);
21416
+ }
21417
+ },
21418
+ /** 获取触发元素:Vue2 组件上 .native 绑定时 currentTarget 为组件根节点 */getTriggerEl: function getTriggerEl() {
21419
+ if (!this.targetEvent) return null;
21420
+ return this.targetEvent.currentTarget || this.targetEvent.target;
21421
+ }
21422
+ }
21423
+ });
21424
+ ;// ./packages/BnVirtPopover/index.vue?vue&type=script&lang=js
21425
+ /* harmony default export */ const packages_BnVirtPopovervue_type_script_lang_js = (BnVirtPopovervue_type_script_lang_js);
21426
+ // 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/BnVirtPopover/index.vue?vue&type=style&index=0&id=387cfe9e&prod&lang=scss&scoped=true
21427
+ var BnVirtPopovervue_type_style_index_0_id_387cfe9e_prod_lang_scss_scoped_true = __webpack_require__(357);
21428
+ ;// ./packages/BnVirtPopover/index.vue?vue&type=style&index=0&id=387cfe9e&prod&lang=scss&scoped=true
21429
+
21430
+ ;// ./packages/BnVirtPopover/index.vue
21431
+
21432
+
21433
+
21434
+ ;
21435
+
21436
+
21437
+ /* normalize component */
21438
+
21439
+ var BnVirtPopover_component = normalizeComponent(
21440
+ packages_BnVirtPopovervue_type_script_lang_js,
21441
+ BnVirtPopovervue_type_template_id_387cfe9e_scoped_true_render,
21442
+ BnVirtPopovervue_type_template_id_387cfe9e_scoped_true_staticRenderFns,
21443
+ false,
21444
+ null,
21445
+ "387cfe9e",
21446
+ null
21447
+
21448
+ )
21449
+
21450
+ /* harmony default export */ const BnVirtPopover = (BnVirtPopover_component.exports);
20987
21451
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.js
20988
21452
  var es_map = __webpack_require__(6033);
20989
21453
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.get-or-insert.js
@@ -21005,22 +21469,22 @@ var es_string_pad_start = __webpack_require__(8156);
21005
21469
 
21006
21470
 
21007
21471
 
21008
- /**
21009
- * 组件库全局配置
21010
- * 用于解决组件库打包后无法获取使用方项目环境变量的问题
21472
+ /**
21473
+ * 组件库全局配置
21474
+ * 用于解决组件库打包后无法获取使用方项目环境变量的问题
21011
21475
  */
21012
21476
 
21013
21477
  // 全局配置对象
21014
- var globalConfig = (/* unused pure expression or super */ null && ({
21478
+ var globalConfig = {
21015
21479
  // API基础URL
21016
21480
  apiBaseUrl: ''
21017
21481
  // 其他配置项可以在这里添加
21018
- }));
21482
+ };
21019
21483
 
21020
- /**
21021
- * 设置全局配置
21022
- * @param {Object} config 配置对象
21023
- * @param {String} config.apiBaseUrl API基础URL
21484
+ /**
21485
+ * 设置全局配置
21486
+ * @param {Object} config 配置对象
21487
+ * @param {String} config.apiBaseUrl API基础URL
21024
21488
  */
21025
21489
  function setGlobalConfig(config) {
21026
21490
  if (config.apiBaseUrl !== undefined) {
@@ -21034,17 +21498,17 @@ function setGlobalConfig(config) {
21034
21498
  });
21035
21499
  }
21036
21500
 
21037
- /**
21038
- * 获取全局配置
21039
- * @returns {Object} 配置对象
21501
+ /**
21502
+ * 获取全局配置
21503
+ * @returns {Object} 配置对象
21040
21504
  */
21041
21505
  function getGlobalConfig() {
21042
21506
  return globalConfig;
21043
21507
  }
21044
21508
 
21045
- /**
21046
- * 获取API基础URL
21047
- * @returns {String} API基础URL
21509
+ /**
21510
+ * 获取API基础URL
21511
+ * @returns {String} API基础URL
21048
21512
  */
21049
21513
  function getApiBaseUrl() {
21050
21514
  var _window$__BN_CONFIG__, _import$meta$env;
@@ -21067,15 +21531,13 @@ function getApiBaseUrl() {
21067
21531
  console.warn('API基础URL未配置,请在使用组件库前调用 setGlobalConfig 设置 apiBaseUrl');
21068
21532
  return '';
21069
21533
  }
21070
- /* harmony default export */ const config = ((/* unused pure expression or super */ null && ({
21534
+ /* harmony default export */ const config = ({
21071
21535
  setGlobalConfig: setGlobalConfig,
21072
21536
  getGlobalConfig: getGlobalConfig,
21073
21537
  getApiBaseUrl: getApiBaseUrl
21074
- })));
21538
+ });
21075
21539
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
21076
21540
  var es_array_sort = __webpack_require__(6910);
21077
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
21078
- var es_string_trim = __webpack_require__(2762);
21079
21541
  ;// ../../packages/utils/addressParse.js
21080
21542
 
21081
21543
 
@@ -21142,11 +21604,11 @@ var mArea = {}; //以区为级别的数据 里面包括 p:省 c:市
21142
21604
 
21143
21605
  var mStreet = {}; //以街道为级别的数据 里面包括 c:市 a:区
21144
21606
 
21145
- /**
21146
- * 处理原始地址数据转换成专用数据
21147
- * @param list 原始数据
21148
- * @param init 是否初始化 如传空 已转换过不会再次转换
21149
- * @returns {boolean}
21607
+ /**
21608
+ * 处理原始地址数据转换成专用数据
21609
+ * @param list 原始数据
21610
+ * @param init 是否初始化 如传空 已转换过不会再次转换
21611
+ * @returns {boolean}
21150
21612
  */
21151
21613
  function parseArea(list, init) {
21152
21614
  if (!init && defaultData.length) {
@@ -21198,11 +21660,11 @@ function parseArea(list, init) {
21198
21660
  });
21199
21661
  }
21200
21662
 
21201
- /**
21202
- * 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
21203
- * @param address 任意地址字符串
21204
- * @param sourceData 组件配置,如 extraInfo.isFourAddress
21205
- * @returns {{name: string, mobile: string, detail: string, zip_code: string, phone: string}}
21663
+ /**
21664
+ * 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
21665
+ * @param address 任意地址字符串
21666
+ * @param sourceData 组件配置,如 extraInfo.isFourAddress
21667
+ * @returns {{name: string, mobile: string, detail: string, zip_code: string, phone: string}}
21206
21668
  */
21207
21669
  function parseAddressDetail(address, sourceData) {
21208
21670
  var parse = {
@@ -21337,13 +21799,13 @@ function parseAddressDetail(address, sourceData) {
21337
21799
  return parse;
21338
21800
  }
21339
21801
 
21340
- /**
21341
- * 正向解析模式
21342
- * 从前到后按 province city addr 逐级筛选
21343
- * 有city的值即可说明解析成功
21344
- * 此模式对地址顺序有要求
21345
- * @param address
21346
- * @returns {{province: string, city: string, area: string, addr: string}}
21802
+ /**
21803
+ * 正向解析模式
21804
+ * 从前到后按 province city addr 逐级筛选
21805
+ * 有city的值即可说明解析成功
21806
+ * 此模式对地址顺序有要求
21807
+ * @param address
21808
+ * @returns {{province: string, city: string, area: string, addr: string}}
21347
21809
  */
21348
21810
  function detail_parse_forward(address, sourceData) {
21349
21811
  var parse = {
@@ -21437,12 +21899,12 @@ function detail_parse_forward(address, sourceData) {
21437
21899
  return parse;
21438
21900
  }
21439
21901
 
21440
- /**
21441
- * 逆向解析 从后【县,区,旗】往前解析
21442
- * 有地区就能大概返回地址了
21443
- * @param address
21444
- * @param ignoreArea 是否忽视区 因为地址中含有区容易导致匹配错误 例:山东省蓬莱市黄海花园东区西门宝威学堂 曲荣声收15753572456
21445
- * @returns {{province: string, city: string, area: string, name: string, _area: string, addr: string}}
21902
+ /**
21903
+ * 逆向解析 从后【县,区,旗】往前解析
21904
+ * 有地区就能大概返回地址了
21905
+ * @param address
21906
+ * @param ignoreArea 是否忽视区 因为地址中含有区容易导致匹配错误 例:山东省蓬莱市黄海花园东区西门宝威学堂 曲荣声收15753572456
21907
+ * @returns {{province: string, city: string, area: string, name: string, _area: string, addr: string}}
21446
21908
  */
21447
21909
  function detail_parse(address) {
21448
21910
  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
@@ -21614,22 +22076,22 @@ function detail_parse(address) {
21614
22076
  }
21615
22077
  var MUNICIPALITIES = ['上海', '北京', '天津', '重庆'];
21616
22078
 
21617
- /**
21618
- * 统一换行符格式
22079
+ /**
22080
+ * 统一换行符格式
21619
22081
  */
21620
22082
  function normalizeLineBreaks(address) {
21621
22083
  return String(address || '').replace(/\r\n/g, '\n').replace(/\r/g, '\n').replace(/\t/g, ' ');
21622
22084
  }
21623
22085
 
21624
- /**
21625
- * 常见地址字段标签(姓名:、详细地址: 等),较长标签优先匹配
22086
+ /**
22087
+ * 常见地址字段标签(姓名:、详细地址: 等),较长标签优先匹配
21626
22088
  */
21627
22089
  var ADDRESS_LABEL_PATTERN = '(?:详细地址|收货地址|联系地址|收件地址|邮政编码|手机号码|联系电话|联系方式|收货人|收件人|联系人|姓名|名字|手机号|邮编|收货|地址|详细|固话|电话)[::]';
21628
22090
  var ADDRESS_LABEL_REG = new RegExp(ADDRESS_LABEL_PATTERN, 'g');
21629
22091
  var ADDRESS_LABEL_TEST_REG = new RegExp(ADDRESS_LABEL_PATTERN);
21630
22092
 
21631
- /**
21632
- * 去除「姓名:」「详细地址:」等字段标签前缀
22093
+ /**
22094
+ * 去除「姓名:」「详细地址:」等字段标签前缀
21633
22095
  */
21634
22096
  function stripAddressLabels(text) {
21635
22097
  return String(text || '').replace(ADDRESS_LABEL_REG, ' ');
@@ -21637,8 +22099,8 @@ function stripAddressLabels(text) {
21637
22099
  var NAME_LABELS = ['姓名', '名字', '联系人', '收货人', '收件人'];
21638
22100
  var PHONE_LABELS = ['电话', '手机号', '手机号码', '联系电话', '联系方式', '固话'];
21639
22101
 
21640
- /**
21641
- * 解析「标签:值」格式的单行
22102
+ /**
22103
+ * 解析「标签:值」格式的单行
21642
22104
  */
21643
22105
  function matchLabeledLine(line) {
21644
22106
  var match = line.match(/^([\u4e00-\u9fa5A-Za-z0-9]+)[::]\s*(.+)$/);
@@ -21651,9 +22113,9 @@ function matchLabeledLine(line) {
21651
22113
  };
21652
22114
  }
21653
22115
 
21654
- /**
21655
- * 按换行符拆分段落,去除行内空白后用空格拼接为单行
21656
- * 若每行是「标签:值」格式,则按标签分类提取姓名、电话和地址
22116
+ /**
22117
+ * 按换行符拆分段落,去除行内空白后用空格拼接为单行
22118
+ * 若每行是「标签:值」格式,则按标签分类提取姓名、电话和地址
21657
22119
  */
21658
22120
  function joinAddressLines(address) {
21659
22121
  var normalized = normalizeLineBreaks(address);
@@ -21700,11 +22162,11 @@ function joinAddressLines(address) {
21700
22162
  };
21701
22163
  }
21702
22164
 
21703
- /**
21704
- * 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
21705
- * @param {object} options
21706
- * @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
21707
- * @returns {array|null}
22165
+ /**
22166
+ * 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
22167
+ * @param {object} options
22168
+ * @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
22169
+ * @returns {array|null}
21708
22170
  */
21709
22171
  function getGlobalAreaList() {
21710
22172
  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -21727,8 +22189,8 @@ function getGlobalAreaList() {
21727
22189
  return null;
21728
22190
  }
21729
22191
 
21730
- /**
21731
- * 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
22192
+ /**
22193
+ * 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
21732
22194
  */
21733
22195
  function checkMunicipalityChars(str, name) {
21734
22196
  var prefix = str.substring(0, 8);
@@ -21737,8 +22199,8 @@ function checkMunicipalityChars(str, name) {
21737
22199
  return firstIndex !== -1 && firstIndex === lastIndex;
21738
22200
  }
21739
22201
 
21740
- /**
21741
- * 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
22202
+ /**
22203
+ * 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
21742
22204
  */
21743
22205
  function preprocessAddress(address) {
21744
22206
  var cleanAddress = normalizeLineBreaks(address).replace(/[ \t\f\v]+/g, '');
@@ -21759,13 +22221,13 @@ function preprocessAddress(address) {
21759
22221
  return cleanAddress;
21760
22222
  }
21761
22223
 
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: *}}
22224
+ /**
22225
+ * 自动识别地址信息,格式化为省市区街道和收件人等信息
22226
+ * @param {string} address 原始地址字符串(可含空格、姓名、手机号等)
22227
+ * @param {object} [sourceData] 组件 sourceData,用于四级地址等配置(extraInfo.isFourAddress)
22228
+ * @param {object} [options] 可选配置
22229
+ * @param {array} [options.areaList] 地址库原始数据,默认从全局 areaList 获取
22230
+ * @returns {{name: string, mobile: string, phone: string, zip_code: string, extensionNumber: string, province: string, city: string, area: string, street: string, addr: string, result: *}}
21769
22231
  */
21770
22232
  function addressParse(address, sourceData) {
21771
22233
  var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
@@ -21849,10 +22311,10 @@ function addressParse(address, sourceData) {
21849
22311
 
21850
22312
 
21851
22313
 
21852
- /**
21853
- * 规则配置默认支持的条件
22314
+ /**
22315
+ * 规则配置默认支持的条件
21854
22316
  * */
21855
- var ruleTypeMap = (/* unused pure expression or super */ null && ({
22317
+ var ruleTypeMap = {
21856
22318
  1: [{
21857
22319
  title: '等于',
21858
22320
  id: '1'
@@ -22253,71 +22715,71 @@ var ruleTypeMap = (/* unused pure expression or super */ null && ({
22253
22715
  title: '不为空',
22254
22716
  id: '10'
22255
22717
  }]
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'}
22718
+ /*8: [
22719
+ {title: '范围', id: '8'},
22720
+ {title: '为空', id: '9'},
22721
+ {title: '不为空', id: '10'},
22722
+ // {title: '属于', id: '11'},
22723
+ // {title: '有交集', id: '12'},
22724
+ // {title: '无交集', id: '13'},
22725
+ ],
22726
+ 9: [
22727
+ {title: '范围', id: '8'},
22728
+ {title: '为空', id: '9'},
22729
+ {title: '不为空', id: '10'},
22730
+ ],
22731
+ 11: [
22732
+ {title: '等于', id: '1'},
22733
+ {title: '不等于', id: '2'},
22734
+ {title: '包含', id: '3'},
22735
+ {title: '不包含', id: '4'},
22736
+ {title: '包含任一项', id: '5'},
22737
+ {title: '不包含任一项', id: '6'},
22738
+ {title: '包含所有项', id: '7'},
22739
+ {title: '范围', id: '8'},
22740
+ {title: '为空', id: '9'},
22741
+ {title: '不为空', id: '10'},
22742
+ {title: '属于', id: '11'},
22743
+ {title: '有交集', id: '12'},
22744
+ {title: '无交集', id: '13'},],
22745
+ 12: [
22746
+ {title: '等于', id: '1'},
22747
+ {title: '不等于', id: '2'},
22748
+ {title: '包含', id: '3'},
22749
+ {title: '不包含', id: '4'},
22750
+ {title: '包含任一项', id: '5'},
22751
+ {title: '不包含任一项', id: '6'},
22752
+ {title: '包含所有项', id: '7'},
22753
+ {title: '范围', id: '8'},
22754
+ {title: '为空', id: '9'},
22755
+ {title: '不为空', id: '10'},
22756
+ {title: '属于', id: '11'},
22757
+ {title: '有交集', id: '12'},
22758
+ {title: '无交集', id: '13'},],
22759
+ 13: [
22760
+ {title: '等于', id: '1'},
22761
+ {title: '不等于', id: '2'},
22762
+ {title: '包含', id: '3'},
22763
+ {title: '不包含', id: '4'},
22764
+ {title: '包含任一项', id: '5'},
22765
+ {title: '不包含任一项', id: '6'},
22766
+ {title: '包含所有项', id: '7'},
22767
+ {title: '范围', id: '8'},
22768
+ {title: '为空', id: '9'},
22769
+ {title: '不为空', id: '10'},
22770
+ {title: '属于', id: '11'},
22771
+ {title: '有交集', id: '12'},
22772
+ {title: '无交集', id: '13'},],
22773
+ 15: [
22774
+ {title: '等于', id: '1'},
22775
+ {title: '为空', id: '9'},
22776
+ {title: '不为空', id: '10'}
22315
22777
  ],*/
22316
- }));
22317
- /**
22318
- * 规则配置各组件默认支持的数值条件 当前值、选择其他组件 这种
22778
+ };
22779
+ /**
22780
+ * 规则配置各组件默认支持的数值条件 当前值、选择其他组件 这种
22319
22781
  * */
22320
- var valueTypeMap = (/* unused pure expression or super */ null && ({
22782
+ var valueTypeMap = {
22321
22783
  1: '0',
22322
22784
  2: '0',
22323
22785
  3: '2',
@@ -22333,11 +22795,11 @@ var valueTypeMap = (/* unused pure expression or super */ null && ({
22333
22795
  13: '2',
22334
22796
  14: '2',
22335
22797
  15: '2'
22336
- }));
22337
- /**
22338
- * 字段,组件数据格式化
22798
+ };
22799
+ /**
22800
+ * 字段,组件数据格式化
22339
22801
  * */
22340
- var searchTypeMap = (/* unused pure expression or super */ null && ({
22802
+ var searchTypeMap = {
22341
22803
  1: [{
22342
22804
  title: '等于',
22343
22805
  id: '1'
@@ -22695,11 +23157,11 @@ var searchTypeMap = (/* unused pure expression or super */ null && ({
22695
23157
  title: '不为空',
22696
23158
  id: '10'
22697
23159
  }]
22698
- }));
22699
- /**
22700
- * 全局默认成员列表
23160
+ };
23161
+ /**
23162
+ * 全局默认成员列表
22701
23163
  * */
22702
- var userConst = (/* unused pure expression or super */ null && ([{
23164
+ var userConst = [{
22703
23165
  title: "班牛助手(工单)",
22704
23166
  code: "10001487",
22705
23167
  id: "10001487"
@@ -22711,18 +23173,18 @@ var userConst = (/* unused pure expression or super */ null && ([{
22711
23173
  title: "班牛助手(API)",
22712
23174
  code: "110430206",
22713
23175
  id: "110430206"
22714
- }]));
23176
+ }];
22715
23177
 
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} 拼接后的字符串
23178
+ /**
23179
+ * 通过id列表,和options将title拼接出来 ,id的key名和 title的key名可以传过来,默认是id和title
23180
+ * id:[1,2] options:[{id:1,title:'name'},{id:2,title:'name2'}] 或 {1:'name',2:'name2'}
23181
+ * 结果返回 'name,name2'
23182
+ * @param {Array} ids ID列表
23183
+ * @param {Array|Object} options 选项数组或对象映射
23184
+ * @param {String} idKey ID的键名,默认为'id',仅当options为数组时使用
23185
+ * @param {String} nameKey 名称的键名,默认为'title',仅当options为数组时使用
23186
+ * @param {String} separator 自定义分隔符,默认为中文逗号','
23187
+ * @return {String} 拼接后的字符串
22726
23188
  * */
22727
23189
  function idsToTexts(ids, options) {
22728
23190
  var idKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'id';
@@ -22760,8 +23222,8 @@ function idsToTexts(ids, options) {
22760
23222
  return result;
22761
23223
  }
22762
23224
 
22763
- /**
22764
- * 向输入框的光标位置插入字符
23225
+ /**
23226
+ * 向输入框的光标位置插入字符
22765
23227
  * */
22766
23228
  function insertText(dom, value) {
22767
23229
  var selectRange;
@@ -22788,9 +23250,9 @@ function insertText(dom, value) {
22788
23250
  return dom.value;
22789
23251
  }
22790
23252
 
22791
- /**
22792
- * 格式化查看、高级筛选的组件信息
22793
- * @param Object component 组件信息
23253
+ /**
23254
+ * 格式化查看、高级筛选的组件信息
23255
+ * @param Object component 组件信息
22794
23256
  * */
22795
23257
  function tidyRuleComponent(component) {
22796
23258
  var _ruleTypeMap$componen;
@@ -22905,8 +23367,8 @@ function tidyRuleComponent(component) {
22905
23367
  return data;
22906
23368
  }
22907
23369
 
22908
- /**
22909
- * 格式化规则配置组件列表
23370
+ /**
23371
+ * 格式化规则配置组件列表
22910
23372
  * */
22911
23373
  function tidyRuleComponents(components, appId, tableId) {
22912
23374
  var componentList = [];
@@ -22936,8 +23398,8 @@ function tidyRuleComponents(components, appId, tableId) {
22936
23398
  return componentList;
22937
23399
  }
22938
23400
 
22939
- /**
22940
- * 将高级筛选的value格式化成json
23401
+ /**
23402
+ * 将高级筛选的value格式化成json
22941
23403
  * */
22942
23404
  function searchValueToJson(components) {
22943
23405
  var list = cloneDeep(components);
@@ -22959,10 +23421,10 @@ function searchValueToJson(components) {
22959
23421
  return list;
22960
23422
  }
22961
23423
 
22962
- /**
22963
- * 格式化查看、高级筛选的组件信息
22964
- * @param Object component 组件信息
22965
- * @param String power 权限字段,跟简易工单admin配置对应,不穿则不校验权限
23424
+ /**
23425
+ * 格式化查看、高级筛选的组件信息
23426
+ * @param Object component 组件信息
23427
+ * @param String power 权限字段,跟简易工单admin配置对应,不穿则不校验权限
22966
23428
  * */
22967
23429
  function formatComponent(component, power) {
22968
23430
  // 先校验权限 展示的地方特殊判断下id
@@ -23099,8 +23561,8 @@ function formatComponent(component, power) {
23099
23561
  return data;
23100
23562
  }
23101
23563
 
23102
- /**
23103
- * 格式化高级筛选组件列表
23564
+ /**
23565
+ * 格式化高级筛选组件列表
23104
23566
  * */
23105
23567
  function getSearchComponents(components, appId, tableId) {
23106
23568
  var componentList = [];
@@ -23130,8 +23592,8 @@ function getSearchComponents(components, appId, tableId) {
23130
23592
  return componentList;
23131
23593
  }
23132
23594
 
23133
- /**
23134
- * 格式化查看、详情组件列表
23595
+ /**
23596
+ * 格式化查看、详情组件列表
23135
23597
  * */
23136
23598
  function getWatchComponents(components, appId, tableId) {
23137
23599
  var power = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'listShow';
@@ -23148,11 +23610,11 @@ function getWatchComponents(components, appId, tableId) {
23148
23610
  return componentList;
23149
23611
  }
23150
23612
 
23151
- /**
23152
- * 格式化新建、编辑 组件的value
23153
- * @param Object component 组件信息
23154
- * @param Object values 编辑表单时,传入的工单数据
23155
- * @param String power 权限,当不是编辑的时候,将只给有新建权限的组件进行赋值 component.extraInfo[power]
23613
+ /**
23614
+ * 格式化新建、编辑 组件的value
23615
+ * @param Object component 组件信息
23616
+ * @param Object values 编辑表单时,传入的工单数据
23617
+ * @param String power 权限,当不是编辑的时候,将只给有新建权限的组件进行赋值 component.extraInfo[power]
23156
23618
  * */
23157
23619
  function formatColumnVal(component, values, power) {
23158
23620
  var data = {
@@ -23312,8 +23774,8 @@ function formatColumnVal(component, values, power) {
23312
23774
  return data;
23313
23775
  }
23314
23776
 
23315
- /**
23316
- * 格式化查看、编辑、组件列表
23777
+ /**
23778
+ * 格式化查看、编辑、组件列表
23317
23779
  * */
23318
23780
  function tidyComponents(components, appId, tableId, values) {
23319
23781
  var componentList = [];
@@ -23330,10 +23792,10 @@ function tidyComponents(components, appId, tableId, values) {
23330
23792
  return componentList;
23331
23793
  }
23332
23794
 
23333
- /**
23334
- * 展示子表单详情,将附件的完整value进行组装,只能在展示的时候用哦,编辑可别用
23335
- * component 子表单
23336
- * data 整条工单数据包含子表单包含inside
23795
+ /**
23796
+ * 展示子表单详情,将附件的完整value进行组装,只能在展示的时候用哦,编辑可别用
23797
+ * component 子表单
23798
+ * data 整条工单数据包含子表单包含inside
23337
23799
  * */
23338
23800
  function tidyShowSubDataFile(component, data) {
23339
23801
  var fullSubData = cloneDeep(data.inside[component.columnCode]);
@@ -23354,8 +23816,8 @@ function tidyShowSubDataFile(component, data) {
23354
23816
  return subData;
23355
23817
  }
23356
23818
 
23357
- /**
23358
- * 整理跳转工作表的筛选条件
23819
+ /**
23820
+ * 整理跳转工作表的筛选条件
23359
23821
  * */
23360
23822
  function tidyJumpSearchData(searchData, components) {
23361
23823
  var searchList = [];
@@ -23380,9 +23842,9 @@ function tidyJumpSearchData(searchData, components) {
23380
23842
  return searchList;
23381
23843
  }
23382
23844
 
23383
- /**
23384
- * 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
23385
- * @param {Object} res 接口返回体
23845
+ /**
23846
+ * 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
23847
+ * @param {Object} res 接口返回体
23386
23848
  */
23387
23849
  function formatLogDate() {
23388
23850
  var date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Date();
@@ -23398,9 +23860,9 @@ function formatLogDate() {
23398
23860
  var second = pad(d.getSeconds());
23399
23861
  return "".concat(year, "-").concat(month, "-").concat(day, " ").concat(hour, ":").concat(minute, ":").concat(second);
23400
23862
  }
23401
- /**
23402
- * 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
23403
- * @param {Object} res 接口返回体
23863
+ /**
23864
+ * 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
23865
+ * @param {Object} res 接口返回体
23404
23866
  */
23405
23867
  var recordApiLog = function recordApiLog(res) {
23406
23868
  try {
@@ -23495,10 +23957,10 @@ var recordApiLog = function recordApiLog(res) {
23495
23957
  console.log("\u4E00\u6761\u65E5\u5FD7\u672A\u80FD\u6210\u529F\u6355\u6349\uFF1A".concat(JSON.stringify(res)));
23496
23958
  }
23497
23959
  };
23498
- /**
23499
- * 跳转主应用路由
23500
- * 无界子应用内通过 bus 通知主应用改地址栏;独立运行时跳转到主应用入口
23501
- * @param {string|{ name?: string, path?: string, params?: object, query?: object }} route
23960
+ /**
23961
+ * 跳转主应用路由
23962
+ * 无界子应用内通过 bus 通知主应用改地址栏;独立运行时跳转到主应用入口
23963
+ * @param {string|{ name?: string, path?: string, params?: object, query?: object }} route
23502
23964
  */
23503
23965
 
23504
23966
  function mainAppRouterPush(route) {
@@ -23507,8 +23969,8 @@ function mainAppRouterPush(route) {
23507
23969
  (_window$$wujie = window.$wujie) === null || _window$$wujie === void 0 || _window$$wujie.bus.$emit('router-jump', route);
23508
23970
  } else {}
23509
23971
  }
23510
- /**
23511
- * 地址自动识别
23972
+ /**
23973
+ * 地址自动识别
23512
23974
  * */
23513
23975
 
23514
23976
  ;// ./install.js
@@ -23528,6 +23990,7 @@ function mainAppRouterPush(route) {
23528
23990
 
23529
23991
 
23530
23992
 
23993
+
23531
23994
  const BnAppletUi = {
23532
23995
  install: (Vue) => {
23533
23996
  Vue.component("BnAddress", BnAddress);
@@ -23544,6 +24007,7 @@ const BnAppletUi = {
23544
24007
  Vue.component("BnRuleCondition", bnRuleCondition);
23545
24008
  Vue.component("BnSelect", BnSelect_select);
23546
24009
  Vue.component("BnFiTaxAutoComplete", BnFiTaxAutoComplete);
24010
+ Vue.component("BnVirtPopover", BnVirtPopover);
23547
24011
  }
23548
24012
  };
23549
24013