@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.
@@ -1,7 +1,7 @@
1
1
  /******/ (() => { // webpackBootstrap
2
2
  /******/ var __webpack_modules__ = ({
3
3
 
4
- /***/ 6556
4
+ /***/ 7021
5
5
  (module, __webpack_exports__, __webpack_require__) {
6
6
 
7
7
  "use strict";
@@ -220,7 +220,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `*[data-v-a5f24f64]{box-sizing:border-b
220
220
 
221
221
  /***/ },
222
222
 
223
- /***/ 4747
223
+ /***/ 404
224
224
  (module, __webpack_exports__, __webpack_require__) {
225
225
 
226
226
  "use strict";
@@ -240,7 +240,7 @@ __webpack_require__.r(__webpack_exports__);
240
240
  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()));
241
241
  ___CSS_LOADER_EXPORT___.i(_node_modules_css_loader_dist_cjs_js_clonedRuleSet_22_use_1_node_modules_vue_vue_loader_v15_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_22_use_2_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_22_use_3_font_iconfont_css__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .A);
242
242
  // Module
243
- ___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%}`, ""]);
243
+ ___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%}`, ""]);
244
244
  // Exports
245
245
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
246
246
 
@@ -638,6 +638,30 @@ ___CSS_LOADER_EXPORT___.push([module.id, `.bytenew-select-box[data-v-12683c88]{w
638
638
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
639
639
 
640
640
 
641
+ /***/ },
642
+
643
+ /***/ 6105
644
+ (module, __webpack_exports__, __webpack_require__) {
645
+
646
+ "use strict";
647
+ __webpack_require__.r(__webpack_exports__);
648
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
649
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
650
+ /* harmony export */ });
651
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
652
+ /* 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__);
653
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
654
+ /* 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__);
655
+ // Imports
656
+
657
+
658
+ 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()));
659
+ // Module
660
+ ___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}`, ""]);
661
+ // Exports
662
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
663
+
664
+
641
665
  /***/ },
642
666
 
643
667
  /***/ 4911
@@ -809,19 +833,19 @@ module.exports = function (i) {
809
833
 
810
834
  /***/ },
811
835
 
812
- /***/ 6619
836
+ /***/ 546
813
837
  (module, __unused_webpack_exports, __webpack_require__) {
814
838
 
815
839
  // style-loader: Adds some css to the DOM by adding a <style> tag
816
840
 
817
841
  // load the styles
818
- var content = __webpack_require__(6556);
842
+ var content = __webpack_require__(7021);
819
843
  if(content.__esModule) content = content.default;
820
844
  if(typeof content === 'string') content = [[module.id, content, '']];
821
845
  if(content.locals) module.exports = content.locals;
822
846
  // add the styles to the DOM
823
847
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
824
- var update = add("958ca272", content, true, {"sourceMap":false,"shadowMode":false});
848
+ var update = add("1e8ba726", content, true, {"sourceMap":false,"shadowMode":false});
825
849
 
826
850
  /***/ },
827
851
 
@@ -953,19 +977,19 @@ var update = add("3ff3fb27", content, true, {"sourceMap":false,"shadowMode":fals
953
977
 
954
978
  /***/ },
955
979
 
956
- /***/ 8865
980
+ /***/ 2022
957
981
  (module, __unused_webpack_exports, __webpack_require__) {
958
982
 
959
983
  // style-loader: Adds some css to the DOM by adding a <style> tag
960
984
 
961
985
  // load the styles
962
- var content = __webpack_require__(4747);
986
+ var content = __webpack_require__(404);
963
987
  if(content.__esModule) content = content.default;
964
988
  if(typeof content === 'string') content = [[module.id, content, '']];
965
989
  if(content.locals) module.exports = content.locals;
966
990
  // add the styles to the DOM
967
991
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
968
- var update = add("f18088ea", content, true, {"sourceMap":false,"shadowMode":false});
992
+ var update = add("362e958c", content, true, {"sourceMap":false,"shadowMode":false});
969
993
 
970
994
  /***/ },
971
995
 
@@ -1225,6 +1249,22 @@ var update = add("506589a0", content, true, {"sourceMap":false,"shadowMode":fals
1225
1249
 
1226
1250
  /***/ },
1227
1251
 
1252
+ /***/ 9587
1253
+ (module, __unused_webpack_exports, __webpack_require__) {
1254
+
1255
+ // style-loader: Adds some css to the DOM by adding a <style> tag
1256
+
1257
+ // load the styles
1258
+ var content = __webpack_require__(6105);
1259
+ if(content.__esModule) content = content.default;
1260
+ if(typeof content === 'string') content = [[module.id, content, '']];
1261
+ if(content.locals) module.exports = content.locals;
1262
+ // add the styles to the DOM
1263
+ var add = (__webpack_require__(9548)/* ["default"] */ .A)
1264
+ var update = add("c518d294", content, true, {"sourceMap":false,"shadowMode":false});
1265
+
1266
+ /***/ },
1267
+
1228
1268
  /***/ 9548
1229
1269
  (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
1230
1270
 
@@ -10476,6 +10516,7 @@ __webpack_require__.d(__webpack_exports__, {
10476
10516
  BnInputNum: () => (/* reexport */ BnInputNum),
10477
10517
  BnRuleCondition: () => (/* reexport */ bnRuleCondition),
10478
10518
  BnSelect: () => (/* reexport */ BnSelect_select),
10519
+ BnVirtPopover: () => (/* reexport */ BnVirtPopover),
10479
10520
  addressParse: () => (/* reexport */ addressParse),
10480
10521
  "default": () => (/* binding */ entry_lib),
10481
10522
  idsToTexts: () => (/* reexport */ idsToTexts)
@@ -10499,7 +10540,7 @@ if (typeof window !== 'undefined') {
10499
10540
  // Indicate to webpack that this file can be concatenated
10500
10541
  /* harmony default export */ const setPublicPath = (null);
10501
10542
 
10502
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
10543
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
10503
10544
  var render = function render() {
10504
10545
  var _vm = this,
10505
10546
  _c = _vm._self._c;
@@ -10894,7 +10935,7 @@ var component = normalizeComponent(
10894
10935
  )
10895
10936
 
10896
10937
  /* harmony default export */ const BnAddress = (component.exports);
10897
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
10938
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
10898
10939
  var BnAddressParsevue_type_template_id_3a0d7cb0_render = function render() {
10899
10940
  var _vm = this,
10900
10941
  _c = _vm._self._c;
@@ -10971,8 +11012,8 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
10971
11012
  };
10972
11013
  },
10973
11014
  methods: {
10974
- /**
10975
- * 自动识别方法(使用防抖)
11015
+ /**
11016
+ * 自动识别方法(使用防抖)
10976
11017
  */
10977
11018
  autoAds: (0,external_lodash_namespaceObject.debounce)(function () {
10978
11019
  var _this = this;
@@ -11031,7 +11072,7 @@ var BnAddressParse_component = normalizeComponent(
11031
11072
  )
11032
11073
 
11033
11074
  /* harmony default export */ const BnAddressParse = (BnAddressParse_component.exports);
11034
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
11075
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
11035
11076
  var BnCheckvue_type_template_id_3782b7e9_scoped_true_render = function render() {
11036
11077
  var _vm = this,
11037
11078
  _c = _vm._self._c;
@@ -11175,8 +11216,8 @@ var es_string_includes = __webpack_require__(1699);
11175
11216
  }
11176
11217
  },
11177
11218
  methods: {
11178
- /**
11179
- * 组件默认判断
11219
+ /**
11220
+ * 组件默认判断
11180
11221
  * */
11181
11222
  check: function check() {
11182
11223
  var _this = this;
@@ -11201,8 +11242,8 @@ var es_string_includes = __webpack_require__(1699);
11201
11242
  }
11202
11243
  }
11203
11244
  },
11204
- /**
11205
- * 点击事件
11245
+ /**
11246
+ * 点击事件
11206
11247
  * */
11207
11248
  handleClick: function handleClick() {
11208
11249
  var _this2 = this;
@@ -11247,8 +11288,8 @@ var es_string_includes = __webpack_require__(1699);
11247
11288
  });
11248
11289
  this.emitClick();
11249
11290
  },
11250
- /**
11251
- * 点击事件透出
11291
+ /**
11292
+ * 点击事件透出
11252
11293
  * */
11253
11294
  emitClick: function emitClick() {
11254
11295
  if (this.onClick) {
@@ -11288,7 +11329,7 @@ var BnCheck_component = normalizeComponent(
11288
11329
  )
11289
11330
 
11290
11331
  /* harmony default export */ const BnCheck = (BnCheck_component.exports);
11291
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
11332
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
11292
11333
  var bnDateRangevue_type_template_id_5575777a_render = function render() {
11293
11334
  var _vm = this,
11294
11335
  _c = _vm._self._c;
@@ -11467,8 +11508,8 @@ var es_object_keys = __webpack_require__(9432);
11467
11508
  };
11468
11509
  },
11469
11510
  methods: {
11470
- /**
11471
- * 更新时间选择器数据
11511
+ /**
11512
+ * 更新时间选择器数据
11472
11513
  * */
11473
11514
  updateValue: function updateValue(value) {
11474
11515
  // 更新v-model
@@ -11478,22 +11519,22 @@ var es_object_keys = __webpack_require__(9432);
11478
11519
  // 发送change事件
11479
11520
  this.$emit('change', value);
11480
11521
  },
11481
- /**
11482
- * 失去焦点
11522
+ /**
11523
+ * 失去焦点
11483
11524
  * */
11484
11525
  blur: function blur(val) {
11485
11526
  this.$emit('blur', val);
11486
11527
  },
11487
- /**
11488
- * 获得焦点
11528
+ /**
11529
+ * 获得焦点
11489
11530
  * */
11490
11531
  focus: function focus(val) {
11491
11532
  this.$emit('focus', val);
11492
11533
  }
11493
11534
  },
11494
11535
  computed: {
11495
- /**
11496
- * 日期组件value
11536
+ /**
11537
+ * 日期组件value
11497
11538
  * */
11498
11539
  date: {
11499
11540
  get: function get() {
@@ -11549,7 +11590,7 @@ var bnDateRange_component = normalizeComponent(
11549
11590
  )
11550
11591
 
11551
11592
  /* harmony default export */ const bnDateRange = (bnDateRange_component.exports);
11552
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
11593
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
11553
11594
  var dialogvue_type_template_id_f9aaf6de_render = function render() {
11554
11595
  var _vm = this,
11555
11596
  _c = _vm._self._c;
@@ -11805,8 +11846,8 @@ var dialog_component = normalizeComponent(
11805
11846
  )
11806
11847
 
11807
11848
  /* harmony default export */ const dialog = (dialog_component.exports);
11808
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
11809
- var BnDropvue_type_template_id_1157b26e_scoped_true_render = function render() {
11849
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
11850
+ var BnDropvue_type_template_id_830beb80_scoped_true_render = function render() {
11810
11851
  var _vm = this,
11811
11852
  _c = _vm._self._c;
11812
11853
  return _c('el-popover', {
@@ -11824,41 +11865,78 @@ var BnDropvue_type_template_id_1157b26e_scoped_true_render = function render() {
11824
11865
  scopedSlots: _vm._u([{
11825
11866
  key: "reference",
11826
11867
  fn: function fn() {
11827
- return [_vm._t("default", function () {
11828
- return [_c('div', {
11829
- staticClass: "bnDrop-select",
11830
- "class": {
11831
- 'simple': !_vm.border,
11832
- 'disabled': _vm.disabled
11833
- }
11834
- }, [_vm.multiple && _vm.val.length == 0 || !_vm.multiple && (!_vm.labelInValue && _vm.val === '' || _vm.labelInValue && !_vm.val[_vm.optionProps.value]) ? _c('span', {
11835
- staticClass: "bnDrop-placeholder"
11836
- }, [_vm._v(" " + _vm._s(_vm.placeholder) + " ")]) : _c('span', [!_vm.multiple ? _c('span', {
11837
- attrs: {
11838
- "title": _vm.singleTitle
11839
- }
11840
- }, [_vm._v(_vm._s(_vm.singleTitle))]) : _c('span', {
11868
+ return [_vm.$slots["default"] ? _vm._t("default") : _c('div', {
11869
+ staticClass: "bnDrop-select",
11870
+ "class": {
11871
+ 'simple': !_vm.border,
11872
+ 'disabled': _vm.disabled,
11873
+ 'is-multiple-tags': _vm.multiple && _vm.collapseTags && _vm.val.length > 0
11874
+ }
11875
+ }, [_vm.multiple && _vm.val.length == 0 || !_vm.multiple && (!_vm.labelInValue && _vm.val === '' || _vm.labelInValue && !_vm.val[_vm.optionProps.value]) ? _c('span', {
11876
+ staticClass: "bnDrop-placeholder"
11877
+ }, [_vm._v(" " + _vm._s(_vm.placeholder) + " ")]) : [!_vm.multiple ? _c('span', {
11878
+ attrs: {
11879
+ "title": _vm.singleTitle
11880
+ }
11881
+ }, [_vm._v(_vm._s(_vm.singleTitle))]) : _vm.collapseTags ? _c('div', {
11882
+ staticClass: "bnDrop-tags"
11883
+ }, [_vm._l(_vm.visibleTags, function (tag) {
11884
+ return _c('span', {
11885
+ key: tag.index,
11886
+ staticClass: "bnDrop-tag"
11887
+ }, [_c('span', {
11888
+ staticClass: "bnDrop-tag-text",
11841
11889
  attrs: {
11842
- "title": _vm.multipleTitle
11890
+ "title": tag.label
11843
11891
  }
11844
- }, [_vm._v(" " + _vm._s(_vm.multipleTitle) + " ")]), _vm.clearable ? _c('span', {
11845
- staticClass: "bnUIcon bnUIcon-clear bnDrop-select-clear",
11892
+ }, [_vm._v(_vm._s(tag.label))]), !_vm.disabled ? _c('span', {
11893
+ staticClass: "bnDrop-tag-close bnUIcon bnUIcon-close",
11846
11894
  on: {
11847
11895
  "click": function click($event) {
11848
11896
  $event.stopPropagation();
11849
- return _vm.clear.apply(null, arguments);
11897
+ return _vm.removeTag(tag.index);
11850
11898
  }
11851
11899
  }
11852
- }) : _vm._e()]), _c('span', {
11853
- directives: [{
11854
- name: "loading",
11855
- rawName: "v-loading",
11856
- value: _vm.loading,
11857
- expression: "loading"
11858
- }],
11859
- staticClass: "bnUIcon bnUIcon-down bnDrop-select-down"
11860
- })])];
11861
- })];
11900
+ }) : _vm._e()]);
11901
+ }), _vm.collapsedCount > 0 ? _c('el-tooltip', {
11902
+ attrs: {
11903
+ "disabled": !_vm.collapseTagsTooltip,
11904
+ "effect": "dark",
11905
+ "placement": "top"
11906
+ }
11907
+ }, [_c('div', {
11908
+ staticClass: "bnDrop-collapse-tooltip",
11909
+ attrs: {
11910
+ "slot": "content"
11911
+ },
11912
+ slot: "content"
11913
+ }, _vm._l(_vm.collapsedTags, function (tag) {
11914
+ return _c('div', {
11915
+ key: tag.index
11916
+ }, [_vm._v(_vm._s(tag.label))]);
11917
+ }), 0), _c('span', {
11918
+ staticClass: "bnDrop-tag bnDrop-tag--collapse"
11919
+ }, [_vm._v("+ " + _vm._s(_vm.collapsedCount))])]) : _vm._e()], 2) : _c('span', {
11920
+ attrs: {
11921
+ "title": _vm.multipleTitle
11922
+ }
11923
+ }, [_vm._v(_vm._s(_vm.multipleTitle))]), _vm.clearable ? _c('span', {
11924
+ staticClass: "bnUIcon bnUIcon-clear bnDrop-select-clear",
11925
+ on: {
11926
+ "click": function click($event) {
11927
+ $event.stopPropagation();
11928
+ return _vm.clear.apply(null, arguments);
11929
+ }
11930
+ }
11931
+ }) : _vm._e()], _c('span', {
11932
+ directives: [{
11933
+ name: "loading",
11934
+ rawName: "v-loading",
11935
+ value: _vm.loading,
11936
+ expression: "loading"
11937
+ }],
11938
+ staticClass: "bnUIcon bnUIcon-down bnDrop-select-down"
11939
+ })], 2)];
11862
11940
  },
11863
11941
  proxy: true
11864
11942
  }], null, true),
@@ -11957,7 +12035,7 @@ var BnDropvue_type_template_id_1157b26e_scoped_true_render = function render() {
11957
12035
  staticClass: "w-margin-left4"
11958
12036
  }, [_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)]);
11959
12037
  };
11960
- var BnDropvue_type_template_id_1157b26e_scoped_true_staticRenderFns = [];
12038
+ var BnDropvue_type_template_id_830beb80_scoped_true_staticRenderFns = [];
11961
12039
 
11962
12040
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.every.js
11963
12041
  var es_array_every = __webpack_require__(8431);
@@ -12178,10 +12256,6 @@ function _toConsumableArray(r) {
12178
12256
  };
12179
12257
  }
12180
12258
  },
12181
- // 数据结构
12182
- valueProps: {
12183
- type: Array
12184
- },
12185
12259
  // 位置
12186
12260
  placement: {
12187
12261
  type: String,
@@ -12233,6 +12307,18 @@ function _toConsumableArray(r) {
12233
12307
  },
12234
12308
  // 是否多选
12235
12309
  multiple: Boolean,
12310
+ // 多选 tag 是否折叠超出部分(对齐 Element UI collapse-tags)
12311
+ collapseTags: Boolean,
12312
+ // 折叠 tag 的 +N 是否启用 tooltip 展示全部
12313
+ collapseTagsTooltip: {
12314
+ type: Boolean,
12315
+ "default": true
12316
+ },
12317
+ // collapseTags 为 true 时,收起时默认展示几个 tag
12318
+ maxCollapseTags: {
12319
+ type: Number,
12320
+ "default": 1
12321
+ },
12236
12322
  // 单选模式 是否允许取消选中
12237
12323
  canUncheck: {
12238
12324
  type: Boolean,
@@ -12258,6 +12344,10 @@ function _toConsumableArray(r) {
12258
12344
  type: Boolean,
12259
12345
  "default": true
12260
12346
  },
12347
+ // 数据结构,当labelInValue=true时,返回的对象中都需要那些字段。不传就返回全部
12348
+ valueProps: {
12349
+ type: Array
12350
+ },
12261
12351
  // 不绑定v-model,仅在点击的时候回传点击事件
12262
12352
  noValue: {
12263
12353
  type: Boolean,
@@ -12325,8 +12415,8 @@ function _toConsumableArray(r) {
12325
12415
  }
12326
12416
  },
12327
12417
  methods: {
12328
- /**
12329
- * 初始化远程数据
12418
+ /**
12419
+ * 初始化远程数据
12330
12420
  * */
12331
12421
  initRemote: function initRemote() {
12332
12422
  if (this.pathUrl) {
@@ -12335,8 +12425,8 @@ function _toConsumableArray(r) {
12335
12425
  this.loadOptions();
12336
12426
  }
12337
12427
  },
12338
- /**
12339
- * 下拉框打开关闭
12428
+ /**
12429
+ * 下拉框打开关闭
12340
12430
  * */
12341
12431
  open: function open() {
12342
12432
  // 打开弹框时
@@ -12348,8 +12438,8 @@ function _toConsumableArray(r) {
12348
12438
  this.initRemote();
12349
12439
  }
12350
12440
  },
12351
- /**
12352
- * 清空value
12441
+ /**
12442
+ * 清空value
12353
12443
  * */
12354
12444
  clear: function clear() {
12355
12445
  if (this.multiple) {
@@ -12358,8 +12448,8 @@ function _toConsumableArray(r) {
12358
12448
  this.val = this.labelInValue ? {} : '';
12359
12449
  }
12360
12450
  },
12361
- /**
12362
- * 滚动加载
12451
+ /**
12452
+ * 滚动加载
12363
12453
  * */
12364
12454
  scrollMore: (0,external_lodash_namespaceObject.debounce)(function () {
12365
12455
  if (this.optionList.length < this.total && !this.loading) {
@@ -12376,9 +12466,9 @@ function _toConsumableArray(r) {
12376
12466
  }
12377
12467
  }
12378
12468
  }, 400),
12379
- /**
12380
- * 快速搜索选项
12381
- * @param {String} val 搜索的值
12469
+ /**
12470
+ * 快速搜索选项
12471
+ * @param {String} val 搜索的值
12382
12472
  */
12383
12473
  filterMethod: (0,external_lodash_namespaceObject.debounce)(function (val) {
12384
12474
  this.queryValue = val;
@@ -12388,8 +12478,8 @@ function _toConsumableArray(r) {
12388
12478
  this.loadOptions();
12389
12479
  }
12390
12480
  }, 400),
12391
- /**
12392
- * 多选时判断全部选中
12481
+ /**
12482
+ * 多选时判断全部选中
12393
12483
  * */
12394
12484
  isCheckedAll: function isCheckedAll() {
12395
12485
  var _this = this;
@@ -12422,8 +12512,8 @@ function _toConsumableArray(r) {
12422
12512
  return valSet.has(item);
12423
12513
  });
12424
12514
  },
12425
- /**
12426
- * 全选/取消全选
12515
+ /**
12516
+ * 全选/取消全选
12427
12517
  * */
12428
12518
  checkAll: function checkAll() {
12429
12519
  var _this2 = this;
@@ -12451,9 +12541,9 @@ function _toConsumableArray(r) {
12451
12541
  }
12452
12542
  this.$emit('change', value, isAllChecked);
12453
12543
  },
12454
- /**
12455
- * 多选判断是否选中 选中返回true,未选中返回false
12456
- * @param {Object} item 选项的对象数据
12544
+ /**
12545
+ * 多选判断是否选中 选中返回true,未选中返回false
12546
+ * @param {Object} item 选项的对象数据
12457
12547
  * */
12458
12548
  isChecked: function isChecked(_ref) {
12459
12549
  var _this3 = this;
@@ -12468,9 +12558,9 @@ function _toConsumableArray(r) {
12468
12558
  }
12469
12559
  return check;
12470
12560
  },
12471
- /**
12472
- * 单选判断是否选中 选中返回true,未选中返回false
12473
- * @param {Object} item 选项的对象数据
12561
+ /**
12562
+ * 单选判断是否选中 选中返回true,未选中返回false
12563
+ * @param {Object} item 选项的对象数据
12474
12564
  * */
12475
12565
  isChoose: function isChoose(item) {
12476
12566
  var check = false;
@@ -12482,9 +12572,9 @@ function _toConsumableArray(r) {
12482
12572
  }
12483
12573
  return check;
12484
12574
  },
12485
- /**
12486
- * 点击下拉菜单中的某一项,选中或取消选中
12487
- * @param {Object} item 选项的对象数据
12575
+ /**
12576
+ * 点击下拉菜单中的某一项,选中或取消选中
12577
+ * @param {Object} item 选项的对象数据
12488
12578
  * */
12489
12579
  chooseItem: function chooseItem(item) {
12490
12580
  var value = this.val;
@@ -12547,8 +12637,8 @@ function _toConsumableArray(r) {
12547
12637
  }
12548
12638
  this.$emit('change', value);
12549
12639
  },
12550
- /**
12551
- * 远程加载options
12640
+ /**
12641
+ * 远程加载options
12552
12642
  * */
12553
12643
  loadOptions: function loadOptions(post) {
12554
12644
  var _this4 = this;
@@ -12591,15 +12681,15 @@ function _toConsumableArray(r) {
12591
12681
  }
12592
12682
  });
12593
12683
  },
12594
- /**
12595
- * 前端手动分页
12684
+ /**
12685
+ * 前端手动分页
12596
12686
  * */
12597
12687
  catchPage: function catchPage(page) {
12598
12688
  this.pageData.pageNum = page || this.pageData.pageNum;
12599
12689
  return this.options.slice((this.pageData.pageNum - 1) * this.pageData.pageSize, this.pageData.pageNum * this.pageData.pageSize);
12600
12690
  },
12601
- /**
12602
- * 如果value是对象,然会value的时候把对象组装好再返回。
12691
+ /**
12692
+ * 如果value是对象,然会value的时候把对象组装好再返回。
12603
12693
  * */
12604
12694
  getValObj: function getValObj(val) {
12605
12695
  if (this.valueProps) {
@@ -12612,10 +12702,10 @@ function _toConsumableArray(r) {
12612
12702
  return val;
12613
12703
  }
12614
12704
  },
12615
- /**
12616
- * 从一个数组中通过id找到名字,并返回给调用者
12617
- * @param {Array} list 数组
12618
- * @param {String} id 需要匹配的id
12705
+ /**
12706
+ * 从一个数组中通过id找到名字,并返回给调用者
12707
+ * @param {Array} list 数组
12708
+ * @param {String} id 需要匹配的id
12619
12709
  * */
12620
12710
  foundTitle: function foundTitle(list, id) {
12621
12711
  var title = '';
@@ -12627,11 +12717,11 @@ function _toConsumableArray(r) {
12627
12717
  }
12628
12718
  return title;
12629
12719
  },
12630
- /**
12631
- * 从一个数组中通过id和ids数组的匹配找到标题,并返回给调用者
12632
- * @param {Array} list 数组
12633
- * @param {String} ids 需要匹配的id数组[1,2,3]
12634
- * @return {Array} values 返回所有匹配项组成的数组
12720
+ /**
12721
+ * 从一个数组中通过id和ids数组的匹配找到标题,并返回给调用者
12722
+ * @param {Array} list 数组
12723
+ * @param {String} ids 需要匹配的id数组[1,2,3]
12724
+ * @return {Array} values 返回所有匹配项组成的数组
12635
12725
  * */
12636
12726
  foundValue: function foundValue(list, ids) {
12637
12727
  var value = [];
@@ -12642,11 +12732,19 @@ function _toConsumableArray(r) {
12642
12732
  }
12643
12733
  return value;
12644
12734
  },
12645
- /**
12646
- * 手动关闭
12735
+ /**
12736
+ * 手动关闭
12647
12737
  * */
12648
12738
  close: function close() {
12649
12739
  this.popoverVisible = false;
12740
+ },
12741
+ /** 删除多选 tag */removeTag: function removeTag(index) {
12742
+ if (this.disabled || !this.multiple || !Array.isArray(this.val)) {
12743
+ return;
12744
+ }
12745
+ var next = _toConsumableArray(this.val);
12746
+ next.splice(index, 1);
12747
+ this.val = next;
12650
12748
  }
12651
12749
  },
12652
12750
  computed: {
@@ -12726,34 +12824,62 @@ function _toConsumableArray(r) {
12726
12824
  }
12727
12825
  return title;
12728
12826
  },
12729
- // 多选时的value值
12730
- multipleTitle: function multipleTitle() {
12827
+ // 多选时的 tag 列表
12828
+ multipleTags: function multipleTags() {
12731
12829
  var _this7 = this;
12732
- var values = [];
12733
12830
  var value = this.val;
12831
+ if (!Array.isArray(value) || !value.length) {
12832
+ return [];
12833
+ }
12734
12834
  if (this.labelInValue) {
12735
- values = value.map(function (v) {
12736
- return v[_this7.optionProps.label];
12835
+ return value.map(function (v, index) {
12836
+ return {
12837
+ index: index,
12838
+ label: v[_this7.optionProps.label] || ''
12839
+ };
12737
12840
  });
12738
- } else {
12739
- var data = this.foundValue(this.options, value);
12740
- if (data.length) {
12741
- values = [].concat(_toConsumableArray(values), _toConsumableArray(data));
12742
- }
12743
12841
  }
12744
- return values.join(',');
12842
+ return value.map(function (id, index) {
12843
+ return {
12844
+ index: index,
12845
+ label: _this7.foundTitle(_this7.options, id) || id
12846
+ };
12847
+ });
12848
+ },
12849
+ // 多选时的 value 展示文本
12850
+ multipleTitle: function multipleTitle() {
12851
+ return this.multipleTags.map(function (tag) {
12852
+ return tag.label;
12853
+ }).join(',');
12854
+ },
12855
+ // 多选 collapseTags 模式下可见 tag
12856
+ visibleTags: function visibleTags() {
12857
+ if (!this.collapseTags || this.multipleTags.length <= this.maxCollapseTags) {
12858
+ return this.multipleTags;
12859
+ }
12860
+ return this.multipleTags.slice(0, this.maxCollapseTags);
12861
+ },
12862
+ // 多选 collapseTags 模式下被折叠的 tag
12863
+ collapsedTags: function collapsedTags() {
12864
+ if (!this.collapseTags || this.multipleTags.length <= this.maxCollapseTags) {
12865
+ return [];
12866
+ }
12867
+ return this.multipleTags.slice(this.maxCollapseTags);
12868
+ },
12869
+ collapsedCount: function collapsedCount() {
12870
+ return this.collapsedTags.length;
12745
12871
  }
12746
12872
  }
12747
12873
  });
12748
12874
  ;// ./packages/BnDrop/BnDrop.vue?vue&type=script&lang=js
12749
12875
  /* harmony default export */ const BnDrop_BnDropvue_type_script_lang_js = (BnDropvue_type_script_lang_js);
12750
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.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
12751
- var BnDropvue_type_style_index_0_id_1157b26e_prod_lang_css = __webpack_require__(6619);
12752
- ;// ./packages/BnDrop/BnDrop.vue?vue&type=style&index=0&id=1157b26e&prod&lang=css
12876
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.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
12877
+ var BnDropvue_type_style_index_0_id_830beb80_prod_lang_css = __webpack_require__(546);
12878
+ ;// ./packages/BnDrop/BnDrop.vue?vue&type=style&index=0&id=830beb80&prod&lang=css
12753
12879
 
12754
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
12755
- var BnDropvue_type_style_index_1_id_1157b26e_prod_scoped_true_lang_scss = __webpack_require__(8865);
12756
- ;// ./packages/BnDrop/BnDrop.vue?vue&type=style&index=1&id=1157b26e&prod&scoped=true&lang=scss
12880
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
12881
+ var BnDropvue_type_style_index_1_id_830beb80_prod_scoped_true_lang_scss = __webpack_require__(2022);
12882
+ ;// ./packages/BnDrop/BnDrop.vue?vue&type=style&index=1&id=830beb80&prod&scoped=true&lang=scss
12757
12883
 
12758
12884
  ;// ./packages/BnDrop/BnDrop.vue
12759
12885
 
@@ -12767,11 +12893,11 @@ var BnDropvue_type_style_index_1_id_1157b26e_prod_scoped_true_lang_scss = __webp
12767
12893
 
12768
12894
  var BnDrop_component = normalizeComponent(
12769
12895
  BnDrop_BnDropvue_type_script_lang_js,
12770
- BnDropvue_type_template_id_1157b26e_scoped_true_render,
12771
- BnDropvue_type_template_id_1157b26e_scoped_true_staticRenderFns,
12896
+ BnDropvue_type_template_id_830beb80_scoped_true_render,
12897
+ BnDropvue_type_template_id_830beb80_scoped_true_staticRenderFns,
12772
12898
  false,
12773
12899
  null,
12774
- "1157b26e",
12900
+ "830beb80",
12775
12901
  null
12776
12902
 
12777
12903
  )
@@ -12781,7 +12907,7 @@ var BnDrop_component = normalizeComponent(
12781
12907
  var es_regexp_exec = __webpack_require__(7495);
12782
12908
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
12783
12909
  var es_string_search = __webpack_require__(5746);
12784
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
12910
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
12785
12911
 
12786
12912
 
12787
12913
 
@@ -13432,10 +13558,10 @@ function toPinYin(chart) {
13432
13558
  return getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
13433
13559
  }
13434
13560
 
13435
- /**
13436
- * 匹配大小写字母拼音 返回Boolean值
13437
- * @param {*} chart 需要匹配的字符
13438
- * @param {*} data 需要进行匹配的字符
13561
+ /**
13562
+ * 匹配大小写字母拼音 返回Boolean值
13563
+ * @param {*} chart 需要匹配的字符
13564
+ * @param {*} data 需要进行匹配的字符
13439
13565
  */
13440
13566
  function searchToBoolean(chart, data) {
13441
13567
  return toPinYin(data).indexOf(toPinYin(chart)) !== -1;
@@ -13519,11 +13645,11 @@ function searchItemFlat(chart, data, name) {
13519
13645
  name: "bnDropdown",
13520
13646
  props: {
13521
13647
  value: [String, Array, Number, Object],
13522
- /**
13523
- * 下拉弹窗模式
13524
- * 单选(singleCheck) 默认
13525
- * 多选(multiCheck)
13526
- * 多选框(multiCheckBox)
13648
+ /**
13649
+ * 下拉弹窗模式
13650
+ * 单选(singleCheck) 默认
13651
+ * 多选(multiCheck)
13652
+ * 多选框(multiCheckBox)
13527
13653
  */
13528
13654
  checkMode: {
13529
13655
  type: String,
@@ -13696,8 +13822,8 @@ function searchItemFlat(chart, data, name) {
13696
13822
  this.optionCheckMap = checkedMap;
13697
13823
  }
13698
13824
  },
13699
- /**
13700
- * 打开选择器时触发,初始化
13825
+ /**
13826
+ * 打开选择器时触发,初始化
13701
13827
  * */
13702
13828
  open: function open() {
13703
13829
  var _this2 = this;
@@ -13729,8 +13855,8 @@ function searchItemFlat(chart, data, name) {
13729
13855
  this.backshowMultiCheckBox();
13730
13856
  }
13731
13857
  },
13732
- /**
13733
- * 关闭时清除没有确定的选项
13858
+ /**
13859
+ * 关闭时清除没有确定的选项
13734
13860
  */
13735
13861
  close: function close() {
13736
13862
  // 多选框模式
@@ -13761,10 +13887,10 @@ function searchItemFlat(chart, data, name) {
13761
13887
  });
13762
13888
  }
13763
13889
  },
13764
- /**
13765
- * 动态计算title
13766
- * @param {Array} list 数组
13767
- * @param {String} id 需要匹配的id
13890
+ /**
13891
+ * 动态计算title
13892
+ * @param {Array} list 数组
13893
+ * @param {String} id 需要匹配的id
13768
13894
  * */
13769
13895
  foundTitle: function foundTitle() {
13770
13896
  var _this4 = this;
@@ -13786,8 +13912,8 @@ function searchItemFlat(chart, data, name) {
13786
13912
  }
13787
13913
  return title;
13788
13914
  },
13789
- /**
13790
- * 远程加载数据
13915
+ /**
13916
+ * 远程加载数据
13791
13917
  * */
13792
13918
  loadMore: function loadMore() {
13793
13919
  var _this5 = this;
@@ -13803,9 +13929,9 @@ function searchItemFlat(chart, data, name) {
13803
13929
  }
13804
13930
  });
13805
13931
  },
13806
- /**
13807
- * 判断是否选中 选中返回true,未选中返回false
13808
- * @param {Object} item 选项的对象数据
13932
+ /**
13933
+ * 判断是否选中 选中返回true,未选中返回false
13934
+ * @param {Object} item 选项的对象数据
13809
13935
  * */
13810
13936
  checked: function checked(item) {
13811
13937
  var check = false;
@@ -13837,9 +13963,9 @@ function searchItemFlat(chart, data, name) {
13837
13963
  }
13838
13964
  return check;
13839
13965
  },
13840
- /**
13841
- * 点击下拉菜单中的某一项,选中或取消选中
13842
- * @param {Object} item 选项的对象数据
13966
+ /**
13967
+ * 点击下拉菜单中的某一项,选中或取消选中
13968
+ * @param {Object} item 选项的对象数据
13843
13969
  * */
13844
13970
  chooseItem: function chooseItem(item) {
13845
13971
  var value = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
@@ -13909,8 +14035,8 @@ function searchItemFlat(chart, data, name) {
13909
14035
  // change事件
13910
14036
  this.$emit("change", value);
13911
14037
  },
13912
- /**
13913
- * 快捷查询
14038
+ /**
14039
+ * 快捷查询
13914
14040
  * */
13915
14041
  search: debounce(function (val) {
13916
14042
  // 保存当前选中状态
@@ -14024,7 +14150,7 @@ var bnDropdown_component = normalizeComponent(
14024
14150
  )
14025
14151
 
14026
14152
  /* harmony default export */ const bnDropdown = (bnDropdown_component.exports);
14027
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
14153
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
14028
14154
  var BnFileViewvue_type_template_id_27b6fb78_scoped_true_render = function render() {
14029
14155
  var _vm = this,
14030
14156
  _c = _vm._self._c;
@@ -14131,7 +14257,7 @@ var es_error_to_string = __webpack_require__(6918);
14131
14257
  var es_date_to_string = __webpack_require__(3288);
14132
14258
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.parse-int.js
14133
14259
  var es_parse_int = __webpack_require__(8940);
14134
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
14260
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
14135
14261
  var videoPreviewvue_type_template_id_9a7f7bec_scoped_true_render = function render() {
14136
14262
  var _vm = this,
14137
14263
  _c = _vm._self._c;
@@ -14177,8 +14303,8 @@ var videoPreviewvue_type_template_id_9a7f7bec_scoped_true_staticRenderFns = [];
14177
14303
  }
14178
14304
  },
14179
14305
  methods: {
14180
- /**
14181
- * 打开播发视频
14306
+ /**
14307
+ * 打开播发视频
14182
14308
  * */
14183
14309
  open: function open(url) {
14184
14310
  this.url = url;
@@ -14213,7 +14339,7 @@ var videoPreview_component = normalizeComponent(
14213
14339
  )
14214
14340
 
14215
14341
  /* harmony default export */ const videoPreview = (videoPreview_component.exports);
14216
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
14342
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
14217
14343
  var FileDetailvue_type_template_id_7fcc19c2_scoped_true_render = function render() {
14218
14344
  var _vm = this,
14219
14345
  _c = _vm._self._c;
@@ -14317,8 +14443,8 @@ var es_parse_float = __webpack_require__(8459);
14317
14443
  }
14318
14444
  },
14319
14445
  methods: {
14320
- /**
14321
- * 获取下载链接
14446
+ /**
14447
+ * 获取下载链接
14322
14448
  * */
14323
14449
  getDownloadUrl: function getDownloadUrl(file) {
14324
14450
  if (this.downType === 'url') {
@@ -14326,8 +14452,8 @@ var es_parse_float = __webpack_require__(8459);
14326
14452
  }
14327
14453
  return !file.id ? file.url : '/v2/attachment/' + file.id;
14328
14454
  },
14329
- /**
14330
- * 计算附件大小
14455
+ /**
14456
+ * 计算附件大小
14331
14457
  * */
14332
14458
  returnSizeText: function returnSizeText(size) {
14333
14459
  if (size && parseFloat(size) / 1024 / 1024 < 1) {
@@ -14496,15 +14622,15 @@ var FileDetail_component = normalizeComponent(
14496
14622
  };
14497
14623
  },
14498
14624
  methods: {
14499
- /**
14500
- * 忽略大小写判断文件类型
14625
+ /**
14626
+ * 忽略大小写判断文件类型
14501
14627
  * */
14502
14628
  includesType: function includesType(typeList, fileType) {
14503
14629
  if (!fileType) return false;
14504
14630
  return (0,external_lodash_namespaceObject.includes)((0,external_lodash_namespaceObject.map)(typeList, external_lodash_namespaceObject.toLower), (0,external_lodash_namespaceObject.toLower)(fileType));
14505
14631
  },
14506
- /**
14507
- * 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
14632
+ /**
14633
+ * 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
14508
14634
  * */
14509
14635
  initViewer: function initViewer(view) {
14510
14636
  this.viewer = view;
@@ -14541,8 +14667,8 @@ var FileDetail_component = normalizeComponent(
14541
14667
  }
14542
14668
  }
14543
14669
  },
14544
- /**
14545
- * 根据文件类型,判端文件预览展示那种图片或icon
14670
+ /**
14671
+ * 根据文件类型,判端文件预览展示那种图片或icon
14546
14672
  * */
14547
14673
  getFileImg: function getFileImg(file) {
14548
14674
  // 默认文件图片
@@ -14585,8 +14711,8 @@ var FileDetail_component = normalizeComponent(
14585
14711
  }
14586
14712
  return url;
14587
14713
  },
14588
- /**
14589
- * 删除附件
14714
+ /**
14715
+ * 删除附件
14590
14716
  * */
14591
14717
  delFile: function delFile(index) {
14592
14718
  this.fileList.splice(index, 1);
@@ -14626,7 +14752,7 @@ var BnFileView_component = normalizeComponent(
14626
14752
  )
14627
14753
 
14628
14754
  /* harmony default export */ const BnFileView = (BnFileView_component.exports);
14629
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
14755
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
14630
14756
 
14631
14757
 
14632
14758
 
@@ -15183,10 +15309,10 @@ var functions = [{
15183
15309
  }
15184
15310
  }
15185
15311
  },
15186
- /**
15187
- * 整理组件列表为schema
15188
- *@param array 组件插入到数组
15189
- *@param column 组件
15312
+ /**
15313
+ * 整理组件列表为schema
15314
+ *@param array 组件插入到数组
15315
+ *@param column 组件
15190
15316
  * */
15191
15317
  loadColumn: function loadColumn(array, column) {
15192
15318
  var data = {
@@ -15221,8 +15347,8 @@ var functions = [{
15221
15347
  array.push(data);
15222
15348
  }
15223
15349
  },
15224
- /**
15225
- * 切换函数分类的打开挂壁
15350
+ /**
15351
+ * 切换函数分类的打开挂壁
15226
15352
  * */
15227
15353
  changeOpenClass: function changeOpenClass(item) {
15228
15354
  var index = this.openFunClass.indexOf(item.name);
@@ -15232,8 +15358,8 @@ var functions = [{
15232
15358
  this.openFunClass.splice(index, 1);
15233
15359
  }
15234
15360
  },
15235
- /**
15236
- * 切换字段分类的打开挂壁
15361
+ /**
15362
+ * 切换字段分类的打开挂壁
15237
15363
  * */
15238
15364
  changeOpenColumn: function changeOpenColumn(item) {
15239
15365
  var index = this.openColumnClass.indexOf(item.name);
@@ -15243,8 +15369,8 @@ var functions = [{
15243
15369
  this.openColumnClass.splice(index, 1);
15244
15370
  }
15245
15371
  },
15246
- /**
15247
- * 获取焦点
15372
+ /**
15373
+ * 获取焦点
15248
15374
  * */
15249
15375
  onCodemirrorFocus: function onCodemirrorFocus() {
15250
15376
  var _this4 = this;
@@ -15257,8 +15383,8 @@ var functions = [{
15257
15383
  // }
15258
15384
  });
15259
15385
  },
15260
- /**
15261
- * 高亮代码
15386
+ /**
15387
+ * 高亮代码
15262
15388
  */
15263
15389
  specialString: function specialString(str) {
15264
15390
  var specialRegExp = /\*|\+|\?|\||\{|\}|\[|\]|\(|\)|\^|\$|\./g;
@@ -15322,8 +15448,8 @@ var functions = [{
15322
15448
  // setTimeout(()=>{
15323
15449
  // },3000)
15324
15450
  },
15325
- /**
15326
- * 选择函数
15451
+ /**
15452
+ * 选择函数
15327
15453
  */
15328
15454
  onSelectFun: function onSelectFun(item) {
15329
15455
  var _this6 = this;
@@ -15335,8 +15461,8 @@ var functions = [{
15335
15461
  _this6.$refs.cm && _this6.$refs.cm.codemirror.focus(); // 确保编辑器获得焦点
15336
15462
  });
15337
15463
  },
15338
- /**
15339
- * 选择字段
15464
+ /**
15465
+ * 选择字段
15340
15466
  */
15341
15467
  onSelectCol: function onSelectCol(item) {
15342
15468
  var _this7 = this;
@@ -15365,8 +15491,8 @@ var functions = [{
15365
15491
  _this7.$refs.cm && _this7.$refs.cm.codemirror.focus(); // 确保编辑器获得焦点
15366
15492
  });
15367
15493
  },
15368
- /**
15369
- * 保存
15494
+ /**
15495
+ * 保存
15370
15496
  * */
15371
15497
  saveRule: function saveRule() {
15372
15498
  var _this8 = this;
@@ -15399,8 +15525,8 @@ var functions = [{
15399
15525
  _this8.$emit('save', res);
15400
15526
  });
15401
15527
  },
15402
- /**
15403
- * 打开弹框
15528
+ /**
15529
+ * 打开弹框
15404
15530
  * */
15405
15531
  openDialog: function openDialog() {
15406
15532
  this.postData.exprExec = this.showContent;
@@ -15446,7 +15572,7 @@ var bnFunText_component = normalizeComponent(
15446
15572
  )
15447
15573
 
15448
15574
  /* harmony default export */ const bnFunText = (bnFunText_component.exports);
15449
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
15575
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
15450
15576
  var BnInpNumvue_type_template_id_a086af00_scoped_true_render = function render() {
15451
15577
  var _vm = this,
15452
15578
  _c = _vm._self._c;
@@ -15553,8 +15679,8 @@ var es_string_starts_with = __webpack_require__(1392);
15553
15679
  }
15554
15680
  },
15555
15681
  methods: {
15556
- /**
15557
- * input事件 实时变化
15682
+ /**
15683
+ * input事件 实时变化
15558
15684
  * */
15559
15685
  valInput: (0,external_lodash_namespaceObject.debounce)(function (val) {
15560
15686
  // 快速处理空值
@@ -15617,8 +15743,8 @@ var es_string_starts_with = __webpack_require__(1392);
15617
15743
  }
15618
15744
  this.val = value;
15619
15745
  }, 200),
15620
- /**
15621
- * change事件上报
15746
+ /**
15747
+ * change事件上报
15622
15748
  * */
15623
15749
  valChange: function valChange() {
15624
15750
  // 处理只输入负号或末尾小数点的中间态
@@ -15643,8 +15769,8 @@ var es_string_starts_with = __webpack_require__(1392);
15643
15769
  }
15644
15770
  this.$emit("change", this.val);
15645
15771
  },
15646
- /**
15647
- * blur事件上报
15772
+ /**
15773
+ * blur事件上报
15648
15774
  * */
15649
15775
  inputBlur: function inputBlur() {
15650
15776
  this.$emit("blur", this.val);
@@ -15678,7 +15804,7 @@ var BnInpNum_component = normalizeComponent(
15678
15804
  )
15679
15805
 
15680
15806
  /* harmony default export */ const BnInpNum = (BnInpNum_component.exports);
15681
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
15807
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
15682
15808
  var BnInputNumvue_type_template_id_2baef958_render = function render() {
15683
15809
  var _vm = this,
15684
15810
  _c = _vm._self._c;
@@ -15849,7 +15975,7 @@ var BnInputNum_component = normalizeComponent(
15849
15975
  )
15850
15976
 
15851
15977
  /* harmony default export */ const BnInputNum = (BnInputNum_component.exports);
15852
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
15978
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
15853
15979
 
15854
15980
 
15855
15981
 
@@ -16682,53 +16808,53 @@ var searchList = {
16682
16808
  title: '不为空',
16683
16809
  id: '10'
16684
16810
  }],
16685
- /*
16686
- 9: [
16687
- {title: '范围', id: '8'},
16688
- {title: '为空', id: '9'},
16689
- {title: '不为空', id: '10'},
16690
- ],
16691
- 11: [
16692
- {title: '等于', id: '1'},
16693
- {title: '不等于', id: '2'},
16694
- {title: '包含', id: '3'},
16695
- {title: '不包含', id: '4'},
16696
- {title: '包含任一项', id: '5'},
16697
- {title: '不包含任一项', id: '6'},
16698
- {title: '包含所有项', id: '7'},
16699
- {title: '范围', id: '8'},
16700
- {title: '为空', id: '9'},
16701
- {title: '不为空', id: '10'},
16702
- {title: '属于', id: '11'},
16703
- {title: '有交集', id: '12'},
16704
- {title: '无交集', id: '13'},],
16705
- 12: [
16706
- {title: '等于', id: '1'},
16707
- {title: '不等于', id: '2'},
16708
- {title: '包含', id: '3'},
16709
- {title: '不包含', id: '4'},
16710
- {title: '包含任一项', id: '5'},
16711
- {title: '不包含任一项', id: '6'},
16712
- {title: '包含所有项', id: '7'},
16713
- {title: '范围', id: '8'},
16714
- {title: '为空', id: '9'},
16715
- {title: '不为空', id: '10'},
16716
- {title: '属于', id: '11'},
16717
- {title: '有交集', id: '12'},
16718
- {title: '无交集', id: '13'},],
16719
- 13: [
16720
- {title: '等于', id: '1'},
16721
- {title: '不等于', id: '2'},
16722
- {title: '包含', id: '3'},
16723
- {title: '不包含', id: '4'},
16724
- {title: '包含任一项', id: '5'},
16725
- {title: '不包含任一项', id: '6'},
16726
- {title: '包含所有项', id: '7'},
16727
- {title: '范围', id: '8'},
16728
- {title: '为空', id: '9'},
16729
- {title: '不为空', id: '10'},
16730
- {title: '属于', id: '11'},
16731
- {title: '有交集', id: '12'},
16811
+ /*
16812
+ 9: [
16813
+ {title: '范围', id: '8'},
16814
+ {title: '为空', id: '9'},
16815
+ {title: '不为空', id: '10'},
16816
+ ],
16817
+ 11: [
16818
+ {title: '等于', id: '1'},
16819
+ {title: '不等于', id: '2'},
16820
+ {title: '包含', id: '3'},
16821
+ {title: '不包含', id: '4'},
16822
+ {title: '包含任一项', id: '5'},
16823
+ {title: '不包含任一项', id: '6'},
16824
+ {title: '包含所有项', id: '7'},
16825
+ {title: '范围', id: '8'},
16826
+ {title: '为空', id: '9'},
16827
+ {title: '不为空', id: '10'},
16828
+ {title: '属于', id: '11'},
16829
+ {title: '有交集', id: '12'},
16830
+ {title: '无交集', id: '13'},],
16831
+ 12: [
16832
+ {title: '等于', id: '1'},
16833
+ {title: '不等于', id: '2'},
16834
+ {title: '包含', id: '3'},
16835
+ {title: '不包含', id: '4'},
16836
+ {title: '包含任一项', id: '5'},
16837
+ {title: '不包含任一项', id: '6'},
16838
+ {title: '包含所有项', id: '7'},
16839
+ {title: '范围', id: '8'},
16840
+ {title: '为空', id: '9'},
16841
+ {title: '不为空', id: '10'},
16842
+ {title: '属于', id: '11'},
16843
+ {title: '有交集', id: '12'},
16844
+ {title: '无交集', id: '13'},],
16845
+ 13: [
16846
+ {title: '等于', id: '1'},
16847
+ {title: '不等于', id: '2'},
16848
+ {title: '包含', id: '3'},
16849
+ {title: '不包含', id: '4'},
16850
+ {title: '包含任一项', id: '5'},
16851
+ {title: '不包含任一项', id: '6'},
16852
+ {title: '包含所有项', id: '7'},
16853
+ {title: '范围', id: '8'},
16854
+ {title: '为空', id: '9'},
16855
+ {title: '不为空', id: '10'},
16856
+ {title: '属于', id: '11'},
16857
+ {title: '有交集', id: '12'},
16732
16858
  {title: '无交集', id: '13'},],*/
16733
16859
  15: [{
16734
16860
  title: '为空',
@@ -16740,7 +16866,7 @@ var searchList = {
16740
16866
  };
16741
16867
 
16742
16868
  //每个组件类型对应的筛选类型列表
16743
- var submitCheckTypeList = (/* unused pure expression or super */ null && ({
16869
+ var submitCheckTypeList = {
16744
16870
  1: '等于',
16745
16871
  2: '不等于',
16746
16872
  3: '包含',
@@ -16775,7 +16901,7 @@ var submitCheckTypeList = (/* unused pure expression or super */ null && ({
16775
16901
  101: '变更为',
16776
16902
  102: '变更为空',
16777
16903
  103: '变更为有值'
16778
- }));
16904
+ };
16779
16905
  var valueTypeList = {
16780
16906
  //{id: '0', title: '自定义填写'},{id: '1', title: '其他组件'},{id: '2', title: '当前组件选项'}, {id: '3', title: '空值'},{id: '4', title: '其他步骤'},{ id: '5', title: '工作表属性' }
16781
16907
  '-1': [{
@@ -16879,7 +17005,7 @@ var subTypeList = {
16879
17005
  //部分支持 {id: '6', title: '过去x时'}, {id: '7', title: '未来x时'}, {id: '8', title: '过去x月'}, {id: '9', title: '未来x月'},
16880
17006
  ]
16881
17007
  };
16882
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
17008
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
16883
17009
  var cascadeConditionvue_type_template_id_0b10733b_render = function render() {
16884
17010
  var _vm = this,
16885
17011
  _c = _vm._self._c;
@@ -16969,7 +17095,7 @@ function _createForOfIteratorHelper(r, e) {
16969
17095
  };
16970
17096
  }
16971
17097
 
16972
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
17098
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
16973
17099
  var BnSwitchvue_type_template_id_809f2340_render = function render() {
16974
17100
  var _vm = this,
16975
17101
  _c = _vm._self._c;
@@ -17216,10 +17342,10 @@ var BnSwitch_component = normalizeComponent(
17216
17342
  }
17217
17343
  this.$emit('update:sourceTitle', this.valueTitle);
17218
17344
  },
17219
- /**
17220
- * @param data 列表
17221
- * @param value 编辑回显时已保存的值 []
17222
- * @returns {*|Array|Array|*}
17345
+ /**
17346
+ * @param data 列表
17347
+ * @param value 编辑回显时已保存的值 []
17348
+ * @returns {*|Array|Array|*}
17223
17349
  * */
17224
17350
  dataFormat: function dataFormat(data, value) {
17225
17351
  return data.map(function (item) {
@@ -17229,12 +17355,12 @@ var BnSwitch_component = normalizeComponent(
17229
17355
  });
17230
17356
  });
17231
17357
  },
17232
- /**
17233
- *
17234
- * @param data 列表
17235
- * @param key 键
17236
- * @param value 值
17237
- * @returns {*|Array|String|Array|*}
17358
+ /**
17359
+ *
17360
+ * @param data 列表
17361
+ * @param key 键
17362
+ * @param value 值
17363
+ * @returns {*|Array|String|Array|*}
17238
17364
  */
17239
17365
  getChild: function getChild(data, key, value) {
17240
17366
  var _iterator = _createForOfIteratorHelper(data),
@@ -17317,7 +17443,7 @@ var cascadeCondition_component = normalizeComponent(
17317
17443
  )
17318
17444
 
17319
17445
  /* harmony default export */ const cascadeCondition = (cascadeCondition_component.exports);
17320
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
17446
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
17321
17447
  var addressvue_type_template_id_1199c288_scoped_true_render = function render() {
17322
17448
  var _vm = this,
17323
17449
  _c = _vm._self._c;
@@ -17377,7 +17503,7 @@ var addressvue_type_template_id_1199c288_scoped_true_render = function render()
17377
17503
  };
17378
17504
  var addressvue_type_template_id_1199c288_scoped_true_staticRenderFns = [];
17379
17505
 
17380
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
17506
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
17381
17507
  var addressSetvue_type_template_id_50cd72d0_scoped_true_render = function render() {
17382
17508
  var _vm = this,
17383
17509
  _c = _vm._self._c;
@@ -17680,7 +17806,7 @@ var address_component = normalizeComponent(
17680
17806
  )
17681
17807
 
17682
17808
  /* harmony default export */ const address = (address_component.exports);
17683
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
17809
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
17684
17810
 
17685
17811
  var compositeSearchvue_type_template_id_09cb19ef_scoped_true_render = function render() {
17686
17812
  var _vm = this,
@@ -17806,7 +17932,7 @@ var compositeSearch_component = normalizeComponent(
17806
17932
  )
17807
17933
 
17808
17934
  /* harmony default export */ const compositeSearch = (compositeSearch_component.exports);
17809
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
17935
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
17810
17936
  var numberRegvue_type_template_id_04541236_scoped_true_render = function render() {
17811
17937
  var _vm = this,
17812
17938
  _c = _vm._self._c;
@@ -18184,8 +18310,8 @@ var numberReg_component = normalizeComponent(
18184
18310
  this.$emit("input", val);
18185
18311
  }
18186
18312
  },
18187
- /**
18188
- * 当进入规则组件,已经选好组件id时,需要将组件信息回显
18313
+ /**
18314
+ * 当进入规则组件,已经选好组件id时,需要将组件信息回显
18189
18315
  * */
18190
18316
  columnInfo: {
18191
18317
  get: function get() {
@@ -18233,8 +18359,8 @@ var numberReg_component = normalizeComponent(
18233
18359
  }
18234
18360
  },
18235
18361
  methods: {
18236
- /**
18237
- * 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
18362
+ /**
18363
+ * 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
18238
18364
  * */
18239
18365
  changeCustomType: function changeCustomType(type) {
18240
18366
  this.arrowCustomType = type ? type : 'column';
@@ -18276,9 +18402,9 @@ var numberReg_component = normalizeComponent(
18276
18402
  value: value
18277
18403
  });
18278
18404
  },
18279
- /**
18280
- * 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
18281
- * @param {Any} e select发生变化返回的值
18405
+ /**
18406
+ * 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
18407
+ * @param {Any} e select发生变化返回的值
18282
18408
  * */
18283
18409
  columnChange: function columnChange(e) {
18284
18410
  var column = this.columnList.filter(function (i) {
@@ -18329,8 +18455,8 @@ var numberReg_component = normalizeComponent(
18329
18455
  value: value
18330
18456
  });
18331
18457
  },
18332
- /**
18333
- * 计算条件发生change
18458
+ /**
18459
+ * 计算条件发生change
18334
18460
  * */
18335
18461
  searchChange: function searchChange() {
18336
18462
  // 根据组件类型、计算条件、值类型来确定规则条件的value的类型
@@ -18341,8 +18467,8 @@ var numberReg_component = normalizeComponent(
18341
18467
  value: this.ruleVal
18342
18468
  });
18343
18469
  },
18344
- /**
18345
- * 规则值类型发生变化
18470
+ /**
18471
+ * 规则值类型发生变化
18346
18472
  * */
18347
18473
  valueTypeChange: function valueTypeChange() {
18348
18474
  // 根据组件类型、计算条件、值类型来确定规则条件的value的类型
@@ -18353,8 +18479,8 @@ var numberReg_component = normalizeComponent(
18353
18479
  value: this.ruleVal
18354
18480
  });
18355
18481
  },
18356
- /**
18357
- * 规则值子类型发生变化
18482
+ /**
18483
+ * 规则值子类型发生变化
18358
18484
  * */
18359
18485
  subTypeChange: function subTypeChange() {
18360
18486
  // 根据组件类型、计算条件、值类型来确定规则条件的value的类型
@@ -18365,8 +18491,8 @@ var numberReg_component = normalizeComponent(
18365
18491
  value: this.ruleVal
18366
18492
  });
18367
18493
  },
18368
- /**
18369
- * 规则的value发生变化
18494
+ /**
18495
+ * 规则的value发生变化
18370
18496
  * */
18371
18497
  valueChange: function valueChange(target) {
18372
18498
  if (target == 'date' && this.ruleVal[this.optionProps.value] == null) {
@@ -18381,9 +18507,9 @@ var numberReg_component = normalizeComponent(
18381
18507
  value: this.ruleVal
18382
18508
  });
18383
18509
  },
18384
- /**
18385
- * 获取该类型组件支持那些计算条件
18386
- * @param {Number} behaviorType 组件行为类型
18510
+ /**
18511
+ * 获取该类型组件支持那些计算条件
18512
+ * @param {Number} behaviorType 组件行为类型
18387
18513
  * */
18388
18514
  getSearchOptions: function getSearchOptions(behaviorType) {
18389
18515
  var optionList = [];
@@ -18402,9 +18528,9 @@ var numberReg_component = normalizeComponent(
18402
18528
  }
18403
18529
  return optionList;
18404
18530
  },
18405
- /**
18406
- * 获取该类型组件支持那些值类型
18407
- * @param {Number} behaviorType 组件行为类型
18531
+ /**
18532
+ * 获取该类型组件支持那些值类型
18533
+ * @param {Number} behaviorType 组件行为类型
18408
18534
  * */
18409
18535
  getValueOptions: function getValueOptions(column) {
18410
18536
  var optionList = [];
@@ -18422,9 +18548,9 @@ var numberReg_component = normalizeComponent(
18422
18548
  }
18423
18549
  return optionList;
18424
18550
  },
18425
- /**
18426
- * 获取该类型组件支持那些子类型列表:目前仅只是时间日期
18427
- * @param {Number} behaviorType 组件行为类型
18551
+ /**
18552
+ * 获取该类型组件支持那些子类型列表:目前仅只是时间日期
18553
+ * @param {Number} behaviorType 组件行为类型
18428
18554
  * */
18429
18555
  getSubTypeOptions: function getSubTypeOptions(behaviorType) {
18430
18556
  var optionList = [];
@@ -18442,9 +18568,9 @@ var numberReg_component = normalizeComponent(
18442
18568
  }
18443
18569
  return optionList;
18444
18570
  },
18445
- /**
18446
- * 获取该类型组件支持那些值类型
18447
- * @param {Number} behaviorType 组件行为类型
18571
+ /**
18572
+ * 获取该类型组件支持那些值类型
18573
+ * @param {Number} behaviorType 组件行为类型
18448
18574
  * */
18449
18575
  getOtherColumns: function getOtherColumns(behaviorType) {
18450
18576
  var _this = this;
@@ -18474,9 +18600,9 @@ var numberReg_component = normalizeComponent(
18474
18600
  }
18475
18601
  return optionList;
18476
18602
  },
18477
- /**
18478
- * 动态禁用
18479
- * @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
18603
+ /**
18604
+ * 动态禁用
18605
+ * @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
18480
18606
  * */
18481
18607
  isDisabled: function isDisabled(type) {
18482
18608
  if (this.$options.propsData.hasOwnProperty('disabledFun')) {
@@ -18486,11 +18612,11 @@ var numberReg_component = normalizeComponent(
18486
18612
  return false;
18487
18613
  }
18488
18614
  },
18489
- /**
18490
- * 给组件value赋予默认类型
18491
- * @param {Number} behaviorType 组件行为类型
18492
- * @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
18493
- * @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
18615
+ /**
18616
+ * 给组件value赋予默认类型
18617
+ * @param {Number} behaviorType 组件行为类型
18618
+ * @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
18619
+ * @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
18494
18620
  * */
18495
18621
  setValType: function setValType(behaviorType, searchType, valueType) {
18496
18622
  var data = '';
@@ -18570,14 +18696,14 @@ var numberReg_component = normalizeComponent(
18570
18696
  }
18571
18697
  return data;
18572
18698
  },
18573
- /**
18574
- * 校验value的数据类型,因为有时候数据类型不对组件会报错
18699
+ /**
18700
+ * 校验value的数据类型,因为有时候数据类型不对组件会报错
18575
18701
  * */
18576
18702
  checkValType: function checkValType(type) {
18577
18703
  return _typeof(this.ruleVal[this.optionProps.value]) == type;
18578
18704
  },
18579
- /**
18580
- * 删除规则
18705
+ /**
18706
+ * 删除规则
18581
18707
  * */
18582
18708
  del: function del() {
18583
18709
  this.$emit('del', {
@@ -18585,8 +18711,8 @@ var numberReg_component = normalizeComponent(
18585
18711
  value: this.ruleVal
18586
18712
  });
18587
18713
  },
18588
- /**
18589
- * 清空规则内容
18714
+ /**
18715
+ * 清空规则内容
18590
18716
  * */
18591
18717
  empty: function empty() {
18592
18718
  // 清空计算类型的值
@@ -18594,15 +18720,15 @@ var numberReg_component = normalizeComponent(
18594
18720
  // 清空value
18595
18721
  this.ruleVal[this.optionProps.value] = this.setValType(this.ruleVal.behaviorType);
18596
18722
  },
18597
- /**
18598
- * 设置触发值
18723
+ /**
18724
+ * 设置触发值
18599
18725
  * */
18600
18726
  setDefaultSearch: function setDefaultSearch() {
18601
18727
  // 清空计算类型的值
18602
18728
  this.ruleVal[this.optionProps.searchType] = this.getSearchOptions(this.ruleVal.behaviorType)[0].id;
18603
18729
  },
18604
- /**
18605
- * 日期,日期区间,判断时间类型
18730
+ /**
18731
+ * 日期,日期区间,判断时间类型
18606
18732
  * */
18607
18733
  getDateType: function getDateType(type) {
18608
18734
  var dateType = type == "date" ? "datetime" : "datetimerange";
@@ -18625,8 +18751,8 @@ var numberReg_component = normalizeComponent(
18625
18751
  }
18626
18752
  return dateType;
18627
18753
  },
18628
- /**
18629
- * 日期,日期区间,判断时间格式化
18754
+ /**
18755
+ * 日期,日期区间,判断时间格式化
18630
18756
  * */
18631
18757
  getDateFormat: function getDateFormat() {
18632
18758
  var format = "yyyy-MM-dd HH:mm:ss";
@@ -18683,7 +18809,7 @@ var bnRuleCondition_component = normalizeComponent(
18683
18809
  )
18684
18810
 
18685
18811
  /* harmony default export */ const bnRuleCondition = (bnRuleCondition_component.exports);
18686
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
18812
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
18687
18813
 
18688
18814
 
18689
18815
 
@@ -19344,10 +19470,10 @@ function util_toPinYin(chart) {
19344
19470
  return util_getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
19345
19471
  }
19346
19472
 
19347
- /**
19348
- * 匹配大小写字母拼音 返回Boolean值
19349
- * @param {*} chart 需要匹配的字符
19350
- * @param {*} data 需要进行匹配的字符
19473
+ /**
19474
+ * 匹配大小写字母拼音 返回Boolean值
19475
+ * @param {*} chart 需要匹配的字符
19476
+ * @param {*} data 需要进行匹配的字符
19351
19477
  */
19352
19478
  function util_searchToBoolean(chart, data) {
19353
19479
  return util_toPinYin(data || '').indexOf(util_toPinYin(chart || '')) !== -1;
@@ -19661,18 +19787,18 @@ function util_searchToBoolean(chart, data) {
19661
19787
  this.initSelectDataDebounced.cancel();
19662
19788
  },
19663
19789
  methods: {
19664
- /**
19665
- * 下拉选项显示 返回Boolean true:显示
19666
- * @param {Object} item 某一选择的值、option的值
19790
+ /**
19791
+ * 下拉选项显示 返回Boolean true:显示
19792
+ * @param {Object} item 某一选择的值、option的值
19667
19793
  */
19668
19794
  optionHideFunction: function optionHideFunction(item) {
19669
19795
  if (this.optionHideFun) return !this.optionHideFun(item) && !item.isHide;else return !item.isHide;
19670
19796
  },
19671
- /**
19672
- * Option中checkbox当绑定值变化时触发的事件 更新后的值
19673
- * @change="onCheckChange(checkBoxValue(labelInValue?item:item[optionProps['value']]), labelInValue?item:item[optionProps['value']])"
19674
- * @param {Boolean} val checkbox更新后的值
19675
- * @param {Object} item option的值
19797
+ /**
19798
+ * Option中checkbox当绑定值变化时触发的事件 更新后的值
19799
+ * @change="onCheckChange(checkBoxValue(labelInValue?item:item[optionProps['value']]), labelInValue?item:item[optionProps['value']])"
19800
+ * @param {Boolean} val checkbox更新后的值
19801
+ * @param {Object} item option的值
19676
19802
  */
19677
19803
  onCheckChange: function onCheckChange(val, item) {
19678
19804
  var _this = this;
@@ -19701,9 +19827,9 @@ function util_searchToBoolean(chart, data) {
19701
19827
  _this.changeValue();
19702
19828
  });
19703
19829
  },
19704
- /**
19705
- * 返回option中checkbox的value状态
19706
- * @param {Object} item option的选项
19830
+ /**
19831
+ * 返回option中checkbox的value状态
19832
+ * @param {Object} item option的选项
19707
19833
  */
19708
19834
  checkBoxValue: function checkBoxValue(item) {
19709
19835
  var _this2 = this;
@@ -19720,22 +19846,22 @@ function util_searchToBoolean(chart, data) {
19720
19846
  return false;
19721
19847
  }
19722
19848
  },
19723
- /**
19724
- * 下拉选项禁用 返回Boolean true:禁用
19725
- * @param {Object} item 某一选择的值、option的值
19849
+ /**
19850
+ * 下拉选项禁用 返回Boolean true:禁用
19851
+ * @param {Object} item 某一选择的值、option的值
19726
19852
  */
19727
19853
  optionDisabledFunction: function optionDisabledFunction(item) {
19728
19854
  if (this.optionDisabledFun) return this.optionDisabledFun(item) || item.disabled;else return item.disabled;
19729
19855
  },
19730
- /**
19731
- * 多选模式下移除tag时触发
19732
- * @param {Object} tag 移除的tag值
19856
+ /**
19857
+ * 多选模式下移除tag时触发
19858
+ * @param {Object} tag 移除的tag值
19733
19859
  */
19734
19860
  removeTag: function removeTag(tag) {
19735
19861
  this.$emit('removeTag', tag);
19736
19862
  },
19737
- /**
19738
- * select的change事件
19863
+ /**
19864
+ * select的change事件
19739
19865
  */
19740
19866
  changeValue: function changeValue() {
19741
19867
  var _this3 = this;
@@ -19765,9 +19891,9 @@ function util_searchToBoolean(chart, data) {
19765
19891
  }
19766
19892
  });
19767
19893
  },
19768
- /**
19769
- * 下拉框出现/隐藏时触发
19770
- * @param {Boolean} bol 出现则为 true,隐藏则为 false
19894
+ /**
19895
+ * 下拉框出现/隐藏时触发
19896
+ * @param {Boolean} bol 出现则为 true,隐藏则为 false
19771
19897
  */
19772
19898
  visibleChange: function visibleChange(bol) {
19773
19899
  var _this4 = this;
@@ -19834,15 +19960,15 @@ function util_searchToBoolean(chart, data) {
19834
19960
  });
19835
19961
  }
19836
19962
  },
19837
- /**
19838
- * 可清空的单选模式下用户点击清空按钮时触发
19963
+ /**
19964
+ * 可清空的单选模式下用户点击清空按钮时触发
19839
19965
  */
19840
19966
  clear: function clear() {
19841
19967
  this.$emit('clear');
19842
19968
  },
19843
- /**
19844
- * 返回option的label data: option数据
19845
- * @param {Object} data option数据
19969
+ /**
19970
+ * 返回option的label data: option数据
19971
+ * @param {Object} data option数据
19846
19972
  */
19847
19973
  showLabel: function showLabel(data) {
19848
19974
  if (this.optionProps['label'] instanceof Function) {
@@ -19851,9 +19977,9 @@ function util_searchToBoolean(chart, data) {
19851
19977
  return data[this.optionProps['label']];
19852
19978
  }
19853
19979
  },
19854
- /**
19855
- * 快速搜索选项
19856
- * @param {String} val 搜索的值
19980
+ /**
19981
+ * 快速搜索选项
19982
+ * @param {String} val 搜索的值
19857
19983
  */
19858
19984
  filterMethod: function filterMethod(val) {
19859
19985
  var _this5 = this;
@@ -19875,8 +20001,8 @@ function util_searchToBoolean(chart, data) {
19875
20001
  this.loadingOptionList();
19876
20002
  }
19877
20003
  },
19878
- /**
19879
- * 判断是否是全选状态
20004
+ /**
20005
+ * 判断是否是全选状态
19880
20006
  */
19881
20007
  isSelectAll: function isSelectAll() {
19882
20008
  var _this6 = this;
@@ -19900,8 +20026,8 @@ function util_searchToBoolean(chart, data) {
19900
20026
  }
19901
20027
  }
19902
20028
  },
19903
- /**
19904
- * 全选事件
20029
+ /**
20030
+ * 全选事件
19905
20031
  */
19906
20032
  onSelectAll: function onSelectAll() {
19907
20033
  var _this7 = this;
@@ -19939,14 +20065,14 @@ function util_searchToBoolean(chart, data) {
19939
20065
  this.isIndeterminate = false;
19940
20066
  this.changeValue();
19941
20067
  },
19942
- /**
19943
- * 隐藏下拉选择框事件
20068
+ /**
20069
+ * 隐藏下拉选择框事件
19944
20070
  */
19945
20071
  onConfirm: function onConfirm() {
19946
20072
  this.$refs.selectBox.blur();
19947
20073
  },
19948
- /**
19949
- * 滚动加载
20074
+ /**
20075
+ * 滚动加载
19950
20076
  */
19951
20077
  loadMore: function loadMore() {
19952
20078
  // 判断是否执行远程搜索
@@ -19972,8 +20098,8 @@ function util_searchToBoolean(chart, data) {
19972
20098
  this.isSelectAll();
19973
20099
  }
19974
20100
  },
19975
- /**
19976
- * 请求内部数据源
20101
+ /**
20102
+ * 请求内部数据源
19977
20103
  */
19978
20104
  loadOption: function loadOption(type) {
19979
20105
  var _this8 = this;
@@ -20030,8 +20156,8 @@ function util_searchToBoolean(chart, data) {
20030
20156
  _this8.showMore = false;
20031
20157
  });
20032
20158
  },
20033
- /**
20034
- * 初始化远程搜索数据
20159
+ /**
20160
+ * 初始化远程搜索数据
20035
20161
  */
20036
20162
  initRemoteMethod: function initRemoteMethod() {
20037
20163
  this.moduleDefinition = [];
@@ -20052,8 +20178,8 @@ function util_searchToBoolean(chart, data) {
20052
20178
  this.loadMore();
20053
20179
  }
20054
20180
  },
20055
- /**
20056
- * 初始化组件的数据
20181
+ /**
20182
+ * 初始化组件的数据
20057
20183
  */
20058
20184
  initSelectData: function initSelectData() {
20059
20185
  var _this9 = this;
@@ -20159,8 +20285,8 @@ function util_searchToBoolean(chart, data) {
20159
20285
  }
20160
20286
  },
20161
20287
  computed: {
20162
- /**
20163
- * option 展示的列表
20288
+ /**
20289
+ * option 展示的列表
20164
20290
  */
20165
20291
  optionShowList: function optionShowList() {
20166
20292
  var _this0 = this;
@@ -20197,8 +20323,8 @@ function util_searchToBoolean(chart, data) {
20197
20323
  return this.total + (((_this$optionList = this.optionList) === null || _this$optionList === void 0 ? void 0 : _this$optionList.length) || 0);
20198
20324
  }
20199
20325
  },
20200
- /**
20201
- * option 所有数据的id数组
20326
+ /**
20327
+ * option 所有数据的id数组
20202
20328
  */
20203
20329
  pageOptionListIds: function pageOptionListIds() {
20204
20330
  return this.optionList.slice(0, 10);
@@ -20231,8 +20357,8 @@ function util_searchToBoolean(chart, data) {
20231
20357
  valueKeys: function valueKeys() {
20232
20358
  return Array.from(new Set([].concat(_toConsumableArray(Object.values(this.optionProps)), _toConsumableArray(this.valueProps))));
20233
20359
  },
20234
- /**
20235
- * select的value数据
20360
+ /**
20361
+ * select的value数据
20236
20362
  */
20237
20363
  select: {
20238
20364
  get: function get() {
@@ -20269,8 +20395,8 @@ function util_searchToBoolean(chart, data) {
20269
20395
  }
20270
20396
  }
20271
20397
  },
20272
- /**
20273
- * select 的 popperClass
20398
+ /**
20399
+ * select 的 popperClass
20274
20400
  */
20275
20401
  popperClassName: function popperClassName() {
20276
20402
  var className = "bytenew-select-popper ".concat(this.popperClass || '');
@@ -20395,7 +20521,7 @@ var select_component = normalizeComponent(
20395
20521
  )
20396
20522
 
20397
20523
  /* harmony default export */ const BnSelect_select = (select_component.exports);
20398
- ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
20524
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
20399
20525
 
20400
20526
 
20401
20527
  var BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_render = function render() {
@@ -20800,10 +20926,10 @@ function _asyncToGenerator(n) {
20800
20926
  handleBlurs: function handleBlurs() {
20801
20927
  this.visible = false;
20802
20928
  },
20803
- /**
20804
- * @name 选择change
20805
- * @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
20806
- * @param {*} record
20929
+ /**
20930
+ * @name 选择change
20931
+ * @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
20932
+ * @param {*} record
20807
20933
  */
20808
20934
  selectItem: function selectItem(record) {
20809
20935
  if (this.isSpecialTax) {
@@ -20966,6 +21092,344 @@ var BnFiTaxAutoComplete_component = normalizeComponent(
20966
21092
  )
20967
21093
 
20968
21094
  /* harmony default export */ const BnFiTaxAutoComplete = (BnFiTaxAutoComplete_component.exports);
21095
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
21096
+ var BnVirtPopovervue_type_template_id_387cfe9e_scoped_true_render = function render() {
21097
+ var _vm = this,
21098
+ _c = _vm._self._c;
21099
+ return _c('transition', {
21100
+ attrs: {
21101
+ "appear": "",
21102
+ "name": _vm.popoverPosition == 'bottom' ? 'el-zoom-in-top' : 'el-zoom-in-bottom'
21103
+ }
21104
+ }, [_c('div', {
21105
+ directives: [{
21106
+ name: "show",
21107
+ rawName: "v-show",
21108
+ value: _vm.modal,
21109
+ expression: "modal"
21110
+ }],
21111
+ ref: "customPopover",
21112
+ staticClass: "virtualPopover",
21113
+ "class": _vm.popoverClass,
21114
+ style: _vm.popoverStyle,
21115
+ on: {
21116
+ "mouseover": _vm.onMouseEvent,
21117
+ "mouseleave": _vm.onMouseEvent
21118
+ }
21119
+ }, [_c('div', {
21120
+ "class": _vm.arrowClass,
21121
+ style: _vm.arrowStyle
21122
+ }), _c('div', {
21123
+ staticClass: "virtualPopover-modal",
21124
+ on: {
21125
+ "click": function click($event) {
21126
+ $event.stopPropagation();
21127
+ }
21128
+ }
21129
+ }, [_vm._t("default")], 2)])]);
21130
+ };
21131
+ var BnVirtPopovervue_type_template_id_387cfe9e_scoped_true_staticRenderFns = [];
21132
+
21133
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
21134
+ var es_string_trim = __webpack_require__(2762);
21135
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.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
21136
+
21137
+
21138
+
21139
+
21140
+
21141
+
21142
+
21143
+
21144
+
21145
+
21146
+
21147
+
21148
+
21149
+
21150
+
21151
+
21152
+ /* harmony default export */ const BnVirtPopovervue_type_script_lang_js = ({
21153
+ name: "BnVirtPopover",
21154
+ props: {
21155
+ // popover的宽度,支持数字或字符串(如'200px')
21156
+ width: {
21157
+ type: [Number, String],
21158
+ "default": 220
21159
+ },
21160
+ // popover的显示位置,支持 'top' 或 'bottom'
21161
+ popoverPosition: {
21162
+ type: String,
21163
+ "default": "bottom"
21164
+ }
21165
+ },
21166
+ data: function data() {
21167
+ return {
21168
+ modal: false,
21169
+ // 控制 popover 的显示/隐藏
21170
+ popoverStyle: {},
21171
+ // popover 的样式对象
21172
+ popoverClass: [],
21173
+ // popover 的类名数组
21174
+ arrowStyle: {},
21175
+ // 箭头的样式对象
21176
+ arrowClass: [],
21177
+ // 箭头的类名数组
21178
+ targetEvent: undefined,
21179
+ // 存储触发事件的对象
21180
+ closeTimer: null // 关闭延时器
21181
+ };
21182
+ },
21183
+ computed: {
21184
+ /** 将 width 转为数字(px),用于位置计算;非纯数字返回 null */numericWidth: function numericWidth() {
21185
+ var w = this.width;
21186
+ if (typeof w === 'number' && !isNaN(w)) return w;
21187
+ if (typeof w === 'string' && /^\d+(\.\d+)?$/.test(w.trim())) return parseFloat(w);
21188
+ return null;
21189
+ }
21190
+ },
21191
+ beforeDestroy: function beforeDestroy() {
21192
+ clearTimeout(this.closeTimer);
21193
+ window.removeEventListener('click', this.close);
21194
+ window.removeEventListener('mouseup', this.onMouseup);
21195
+ },
21196
+ methods: {
21197
+ /**
21198
+ * 切换 popover 的显示状态
21199
+ * 如果当前显示且点击同一个触发元素,则关闭
21200
+ * 如果当前显示且点击不同触发元素,则更新位置
21201
+ * 如果当前隐藏,则显示
21202
+ * @param {Event} e - 触发事件对象
21203
+ */
21204
+ toggle: function toggle(e) {
21205
+ if (!e) {
21206
+ alert('把事件对象传进来');
21207
+ }
21208
+ this.targetEvent = e;
21209
+ // 鼠标悬浮事件
21210
+ if (e.type.indexOf('mouse') >= 0) {
21211
+ // 鼠标离开事件
21212
+ if (e.type == 'mouseleave') {
21213
+ this.close(e);
21214
+ } else {
21215
+ this.openPopover(e);
21216
+ }
21217
+ }
21218
+ //点击事件 或 其他
21219
+ else {
21220
+ if (this.modal) {
21221
+ this.close(e);
21222
+ } else {
21223
+ this.openPopover(e);
21224
+ }
21225
+ }
21226
+ },
21227
+ /**
21228
+ * 打开 popover
21229
+ * @param {Event} e - 触发事件对象
21230
+ */
21231
+ openPopover: function openPopover(e) {
21232
+ var _this = this;
21233
+ this.targetEvent = e;
21234
+ this.open();
21235
+ // 等待 DOM 更新后初始化位置
21236
+ this.$nextTick(function () {
21237
+ _this.initPosition();
21238
+ });
21239
+ // 阻止事件冒泡
21240
+ e && e.stopPropagation();
21241
+ // 添加全局事件监听
21242
+ window.addEventListener("click", this.close);
21243
+ window.addEventListener("mouseup", this.onMouseup);
21244
+ },
21245
+ /**
21246
+ * 初始化 popover 位置
21247
+ * 包括:
21248
+ * 1. 计算 popover 的位置和大小
21249
+ * 2. 处理屏幕边界情况
21250
+ * 3. 计算箭头位置
21251
+ * 4. 判断显示方向(上/下)
21252
+ */
21253
+ initPosition: function initPosition() {
21254
+ var triggerEl = this.getTriggerEl();
21255
+ if (triggerEl && triggerEl.getBoundingClientRect) {
21256
+ // 获取触发 dom 位置(优先 currentTarget,避免 el-button 内层子元素导致偏移)
21257
+ var _triggerEl$getBoundin = triggerEl.getBoundingClientRect(),
21258
+ left = _triggerEl$getBoundin.left,
21259
+ top = _triggerEl$getBoundin.top,
21260
+ width = _triggerEl$getBoundin.width,
21261
+ height = _triggerEl$getBoundin.height;
21262
+ // 初始样式
21263
+ this.popoverStyle = {};
21264
+ this.popoverClass = ["virtualPopover"];
21265
+ this.arrowClass = ["virtualPopover-arrow"];
21266
+ // 获取屏幕宽高
21267
+ var clientWidth = window.innerWidth;
21268
+ var clientHeight = window.innerHeight;
21269
+ // 计算变量
21270
+ var arrowWidth = 6;
21271
+ var popWidth = this.numericWidth;
21272
+ var popoverGap = popWidth && width > popWidth ? 0 : 10; // 最小边距
21273
+ var popoverLeft = left - popoverGap; // 距离左侧距离
21274
+
21275
+ // 计算 popover 的最终位置
21276
+ var finalPopoverLeft = popoverLeft;
21277
+ if (popWidth && popoverLeft + popWidth > clientWidth) {
21278
+ // 如果超出右边界,将 popover 靠右对齐
21279
+ finalPopoverLeft = clientWidth - popWidth - popoverGap;
21280
+ this.popoverStyle.left = "".concat(finalPopoverLeft, "px");
21281
+ } else {
21282
+ this.popoverStyle.left = "".concat(popoverLeft, "px");
21283
+ }
21284
+
21285
+ // 计算箭头位置,使其始终指向触发元素的中心
21286
+ var targetCenter = left + width / 2;
21287
+ var arrowLeft = targetCenter - finalPopoverLeft - arrowWidth;
21288
+
21289
+ // 确保箭头不会超出 popover 的边界
21290
+ var minArrowLeft = arrowWidth * 2;
21291
+ var maxArrowLeft = popWidth ? popWidth - arrowWidth * 3 : 200;
21292
+ this.arrowStyle.left = "".concat(Math.min(Math.max(arrowLeft, minArrowLeft), maxArrowLeft), "px");
21293
+
21294
+ // 判断popover宽度是否超出屏幕宽度,超出则减少为最小宽度,出现滚动条
21295
+ if (popWidth == null) {
21296
+ this.popoverStyle.width = "".concat(this.width);
21297
+ } else {
21298
+ if (popWidth + popoverGap * 2 > clientWidth) {
21299
+ this.popoverStyle.width = "".concat(clientWidth - popoverGap * 2, "px");
21300
+ } else this.popoverStyle.minWidth = "".concat(popWidth, "px");
21301
+ }
21302
+ // 获取popover的dom位置
21303
+ var _this$$refs$customPop = this.$refs.customPopover.getBoundingClientRect(),
21304
+ popoverBottom = _this$$refs$customPop.bottom,
21305
+ popoverHeight = _this$$refs$customPop.height;
21306
+ // 判断popover是在上方还是下方
21307
+ var bottomDistance = clientHeight - popoverBottom; // 与底部距离
21308
+ var popoverPosition = this.popoverPosition;
21309
+ if (top > bottomDistance && (popoverHeight === 0 || this.modal || popoverHeight >= bottomDistance)) {
21310
+ popoverPosition = "top";
21311
+ }
21312
+ // 内容高度大于屏幕剩高度,并且上方区域大于下方区域
21313
+ if (popoverPosition === "top") {
21314
+ this.popoverStyle.bottom = "".concat(clientHeight - top, "px");
21315
+ } else {
21316
+ this.popoverStyle.top = "".concat(top + height, "px");
21317
+ }
21318
+ this.arrowClass.push(popoverPosition);
21319
+ this.popoverClass.push(popoverPosition);
21320
+ }
21321
+ },
21322
+ /**
21323
+ * 监听鼠标抬起事件
21324
+ * 用于判断点击位置是否在 popover 外部,决定是否关闭
21325
+ * @param {MouseEvent} param0 - 鼠标事件对象,解构获取坐标
21326
+ */
21327
+ onMouseup: function onMouseup(_ref) {
21328
+ var x = _ref.x,
21329
+ y = _ref.y;
21330
+ if (this.$refs.customPopover && this.modal) {
21331
+ var triggerEl = this.getTriggerEl();
21332
+ if (triggerEl && triggerEl.getBoundingClientRect) {
21333
+ var _triggerEl$getBoundin2 = triggerEl.getBoundingClientRect(),
21334
+ _left = _triggerEl$getBoundin2.left,
21335
+ _right = _triggerEl$getBoundin2.right,
21336
+ _top = _triggerEl$getBoundin2.top,
21337
+ _bottom = _triggerEl$getBoundin2.bottom;
21338
+ if (!(x < _left || x > _right || y < _top || y > _bottom)) return;
21339
+ }
21340
+ var _this$$refs$customPop2 = this.$refs.customPopover.getBoundingClientRect(),
21341
+ left = _this$$refs$customPop2.left,
21342
+ right = _this$$refs$customPop2.right,
21343
+ top = _this$$refs$customPop2.top,
21344
+ bottom = _this$$refs$customPop2.bottom;
21345
+ if (x < left || x > right || y < top || y > bottom) {
21346
+ this.close();
21347
+ }
21348
+ ;
21349
+ }
21350
+ },
21351
+ /**
21352
+ * 开启
21353
+ */
21354
+ open: function open() {
21355
+ clearTimeout(this.closeTimer);
21356
+ this.closeTimer = null;
21357
+ this.modal = true;
21358
+ },
21359
+ /**
21360
+ * 关闭
21361
+ */
21362
+ close: function close() {
21363
+ var _this2 = this;
21364
+ clearTimeout(this.closeTimer);
21365
+ // 当触发是点击事件时,直接关闭,不延时
21366
+ if (this.targetEvent && this.targetEvent.type == 'click') {
21367
+ this.modal = false;
21368
+ window.removeEventListener("click", this.close);
21369
+ window.removeEventListener("mouseup", this.onMouseup);
21370
+ } else {
21371
+ this.closeTimer = setTimeout(function () {
21372
+ _this2.modal = false;
21373
+ window.removeEventListener("click", _this2.close);
21374
+ window.removeEventListener("mouseup", _this2.onMouseup);
21375
+ }, 300);
21376
+ }
21377
+ },
21378
+ /**
21379
+ * 处理鼠标移入移出事件
21380
+ * 用于实现 hover 效果
21381
+ * 移入时清除关闭定时器
21382
+ * 移出时设置延迟关闭
21383
+ * @param {MouseEvent} e - 鼠标事件对象
21384
+ */
21385
+ onMouseEvent: function onMouseEvent(e) {
21386
+ if (!this.targetEvent) return;
21387
+ if (e.type === 'mouseover' && this.targetEvent.type !== 'click') {
21388
+ clearTimeout(this.closeTimer);
21389
+ this.closeTimer = null;
21390
+ this.modal = true;
21391
+ }
21392
+ // 只有触发事件是鼠标悬浮时,从pop移开才关闭
21393
+ else if (this.targetEvent.type.indexOf('mouse') >= 0 && e.type === 'mouseleave') {
21394
+ clearTimeout(this.closeTimer);
21395
+ this.modal = false;
21396
+ window.removeEventListener("click", this.close);
21397
+ window.removeEventListener("mouseup", this.onMouseup);
21398
+ }
21399
+ },
21400
+ /** 获取触发元素:Vue2 组件上 .native 绑定时 currentTarget 为组件根节点 */getTriggerEl: function getTriggerEl() {
21401
+ if (!this.targetEvent) return null;
21402
+ return this.targetEvent.currentTarget || this.targetEvent.target;
21403
+ }
21404
+ }
21405
+ });
21406
+ ;// ./packages/BnVirtPopover/index.vue?vue&type=script&lang=js
21407
+ /* harmony default export */ const packages_BnVirtPopovervue_type_script_lang_js = (BnVirtPopovervue_type_script_lang_js);
21408
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.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
21409
+ var BnVirtPopovervue_type_style_index_0_id_387cfe9e_prod_lang_scss_scoped_true = __webpack_require__(9587);
21410
+ ;// ./packages/BnVirtPopover/index.vue?vue&type=style&index=0&id=387cfe9e&prod&lang=scss&scoped=true
21411
+
21412
+ ;// ./packages/BnVirtPopover/index.vue
21413
+
21414
+
21415
+
21416
+ ;
21417
+
21418
+
21419
+ /* normalize component */
21420
+
21421
+ var BnVirtPopover_component = normalizeComponent(
21422
+ packages_BnVirtPopovervue_type_script_lang_js,
21423
+ BnVirtPopovervue_type_template_id_387cfe9e_scoped_true_render,
21424
+ BnVirtPopovervue_type_template_id_387cfe9e_scoped_true_staticRenderFns,
21425
+ false,
21426
+ null,
21427
+ "387cfe9e",
21428
+ null
21429
+
21430
+ )
21431
+
21432
+ /* harmony default export */ const BnVirtPopover = (BnVirtPopover_component.exports);
20969
21433
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.js
20970
21434
  var es_map = __webpack_require__(6033);
20971
21435
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.get-or-insert.js
@@ -20987,22 +21451,22 @@ var es_string_pad_start = __webpack_require__(8156);
20987
21451
 
20988
21452
 
20989
21453
 
20990
- /**
20991
- * 组件库全局配置
20992
- * 用于解决组件库打包后无法获取使用方项目环境变量的问题
21454
+ /**
21455
+ * 组件库全局配置
21456
+ * 用于解决组件库打包后无法获取使用方项目环境变量的问题
20993
21457
  */
20994
21458
 
20995
21459
  // 全局配置对象
20996
- var globalConfig = (/* unused pure expression or super */ null && ({
21460
+ var globalConfig = {
20997
21461
  // API基础URL
20998
21462
  apiBaseUrl: ''
20999
21463
  // 其他配置项可以在这里添加
21000
- }));
21464
+ };
21001
21465
 
21002
- /**
21003
- * 设置全局配置
21004
- * @param {Object} config 配置对象
21005
- * @param {String} config.apiBaseUrl API基础URL
21466
+ /**
21467
+ * 设置全局配置
21468
+ * @param {Object} config 配置对象
21469
+ * @param {String} config.apiBaseUrl API基础URL
21006
21470
  */
21007
21471
  function setGlobalConfig(config) {
21008
21472
  if (config.apiBaseUrl !== undefined) {
@@ -21016,17 +21480,17 @@ function setGlobalConfig(config) {
21016
21480
  });
21017
21481
  }
21018
21482
 
21019
- /**
21020
- * 获取全局配置
21021
- * @returns {Object} 配置对象
21483
+ /**
21484
+ * 获取全局配置
21485
+ * @returns {Object} 配置对象
21022
21486
  */
21023
21487
  function getGlobalConfig() {
21024
21488
  return globalConfig;
21025
21489
  }
21026
21490
 
21027
- /**
21028
- * 获取API基础URL
21029
- * @returns {String} API基础URL
21491
+ /**
21492
+ * 获取API基础URL
21493
+ * @returns {String} API基础URL
21030
21494
  */
21031
21495
  function getApiBaseUrl() {
21032
21496
  var _window$__BN_CONFIG__, _import$meta$env;
@@ -21049,15 +21513,13 @@ function getApiBaseUrl() {
21049
21513
  console.warn('API基础URL未配置,请在使用组件库前调用 setGlobalConfig 设置 apiBaseUrl');
21050
21514
  return '';
21051
21515
  }
21052
- /* harmony default export */ const config = ((/* unused pure expression or super */ null && ({
21516
+ /* harmony default export */ const config = ({
21053
21517
  setGlobalConfig: setGlobalConfig,
21054
21518
  getGlobalConfig: getGlobalConfig,
21055
21519
  getApiBaseUrl: getApiBaseUrl
21056
- })));
21520
+ });
21057
21521
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
21058
21522
  var es_array_sort = __webpack_require__(6910);
21059
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
21060
- var es_string_trim = __webpack_require__(2762);
21061
21523
  ;// ../../packages/utils/addressParse.js
21062
21524
 
21063
21525
 
@@ -21124,11 +21586,11 @@ var mArea = {}; //以区为级别的数据 里面包括 p:省 c:市
21124
21586
 
21125
21587
  var mStreet = {}; //以街道为级别的数据 里面包括 c:市 a:区
21126
21588
 
21127
- /**
21128
- * 处理原始地址数据转换成专用数据
21129
- * @param list 原始数据
21130
- * @param init 是否初始化 如传空 已转换过不会再次转换
21131
- * @returns {boolean}
21589
+ /**
21590
+ * 处理原始地址数据转换成专用数据
21591
+ * @param list 原始数据
21592
+ * @param init 是否初始化 如传空 已转换过不会再次转换
21593
+ * @returns {boolean}
21132
21594
  */
21133
21595
  function parseArea(list, init) {
21134
21596
  if (!init && defaultData.length) {
@@ -21180,11 +21642,11 @@ function parseArea(list, init) {
21180
21642
  });
21181
21643
  }
21182
21644
 
21183
- /**
21184
- * 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
21185
- * @param address 任意地址字符串
21186
- * @param sourceData 组件配置,如 extraInfo.isFourAddress
21187
- * @returns {{name: string, mobile: string, detail: string, zip_code: string, phone: string}}
21645
+ /**
21646
+ * 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
21647
+ * @param address 任意地址字符串
21648
+ * @param sourceData 组件配置,如 extraInfo.isFourAddress
21649
+ * @returns {{name: string, mobile: string, detail: string, zip_code: string, phone: string}}
21188
21650
  */
21189
21651
  function parseAddressDetail(address, sourceData) {
21190
21652
  var parse = {
@@ -21319,13 +21781,13 @@ function parseAddressDetail(address, sourceData) {
21319
21781
  return parse;
21320
21782
  }
21321
21783
 
21322
- /**
21323
- * 正向解析模式
21324
- * 从前到后按 province city addr 逐级筛选
21325
- * 有city的值即可说明解析成功
21326
- * 此模式对地址顺序有要求
21327
- * @param address
21328
- * @returns {{province: string, city: string, area: string, addr: string}}
21784
+ /**
21785
+ * 正向解析模式
21786
+ * 从前到后按 province city addr 逐级筛选
21787
+ * 有city的值即可说明解析成功
21788
+ * 此模式对地址顺序有要求
21789
+ * @param address
21790
+ * @returns {{province: string, city: string, area: string, addr: string}}
21329
21791
  */
21330
21792
  function detail_parse_forward(address, sourceData) {
21331
21793
  var parse = {
@@ -21419,12 +21881,12 @@ function detail_parse_forward(address, sourceData) {
21419
21881
  return parse;
21420
21882
  }
21421
21883
 
21422
- /**
21423
- * 逆向解析 从后【县,区,旗】往前解析
21424
- * 有地区就能大概返回地址了
21425
- * @param address
21426
- * @param ignoreArea 是否忽视区 因为地址中含有区容易导致匹配错误 例:山东省蓬莱市黄海花园东区西门宝威学堂 曲荣声收15753572456
21427
- * @returns {{province: string, city: string, area: string, name: string, _area: string, addr: string}}
21884
+ /**
21885
+ * 逆向解析 从后【县,区,旗】往前解析
21886
+ * 有地区就能大概返回地址了
21887
+ * @param address
21888
+ * @param ignoreArea 是否忽视区 因为地址中含有区容易导致匹配错误 例:山东省蓬莱市黄海花园东区西门宝威学堂 曲荣声收15753572456
21889
+ * @returns {{province: string, city: string, area: string, name: string, _area: string, addr: string}}
21428
21890
  */
21429
21891
  function detail_parse(address) {
21430
21892
  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
@@ -21596,22 +22058,22 @@ function detail_parse(address) {
21596
22058
  }
21597
22059
  var MUNICIPALITIES = ['上海', '北京', '天津', '重庆'];
21598
22060
 
21599
- /**
21600
- * 统一换行符格式
22061
+ /**
22062
+ * 统一换行符格式
21601
22063
  */
21602
22064
  function normalizeLineBreaks(address) {
21603
22065
  return String(address || '').replace(/\r\n/g, '\n').replace(/\r/g, '\n').replace(/\t/g, ' ');
21604
22066
  }
21605
22067
 
21606
- /**
21607
- * 常见地址字段标签(姓名:、详细地址: 等),较长标签优先匹配
22068
+ /**
22069
+ * 常见地址字段标签(姓名:、详细地址: 等),较长标签优先匹配
21608
22070
  */
21609
22071
  var ADDRESS_LABEL_PATTERN = '(?:详细地址|收货地址|联系地址|收件地址|邮政编码|手机号码|联系电话|联系方式|收货人|收件人|联系人|姓名|名字|手机号|邮编|收货|地址|详细|固话|电话)[::]';
21610
22072
  var ADDRESS_LABEL_REG = new RegExp(ADDRESS_LABEL_PATTERN, 'g');
21611
22073
  var ADDRESS_LABEL_TEST_REG = new RegExp(ADDRESS_LABEL_PATTERN);
21612
22074
 
21613
- /**
21614
- * 去除「姓名:」「详细地址:」等字段标签前缀
22075
+ /**
22076
+ * 去除「姓名:」「详细地址:」等字段标签前缀
21615
22077
  */
21616
22078
  function stripAddressLabels(text) {
21617
22079
  return String(text || '').replace(ADDRESS_LABEL_REG, ' ');
@@ -21619,8 +22081,8 @@ function stripAddressLabels(text) {
21619
22081
  var NAME_LABELS = ['姓名', '名字', '联系人', '收货人', '收件人'];
21620
22082
  var PHONE_LABELS = ['电话', '手机号', '手机号码', '联系电话', '联系方式', '固话'];
21621
22083
 
21622
- /**
21623
- * 解析「标签:值」格式的单行
22084
+ /**
22085
+ * 解析「标签:值」格式的单行
21624
22086
  */
21625
22087
  function matchLabeledLine(line) {
21626
22088
  var match = line.match(/^([\u4e00-\u9fa5A-Za-z0-9]+)[::]\s*(.+)$/);
@@ -21633,9 +22095,9 @@ function matchLabeledLine(line) {
21633
22095
  };
21634
22096
  }
21635
22097
 
21636
- /**
21637
- * 按换行符拆分段落,去除行内空白后用空格拼接为单行
21638
- * 若每行是「标签:值」格式,则按标签分类提取姓名、电话和地址
22098
+ /**
22099
+ * 按换行符拆分段落,去除行内空白后用空格拼接为单行
22100
+ * 若每行是「标签:值」格式,则按标签分类提取姓名、电话和地址
21639
22101
  */
21640
22102
  function joinAddressLines(address) {
21641
22103
  var normalized = normalizeLineBreaks(address);
@@ -21682,11 +22144,11 @@ function joinAddressLines(address) {
21682
22144
  };
21683
22145
  }
21684
22146
 
21685
- /**
21686
- * 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
21687
- * @param {object} options
21688
- * @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
21689
- * @returns {array|null}
22147
+ /**
22148
+ * 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
22149
+ * @param {object} options
22150
+ * @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
22151
+ * @returns {array|null}
21690
22152
  */
21691
22153
  function getGlobalAreaList() {
21692
22154
  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -21709,8 +22171,8 @@ function getGlobalAreaList() {
21709
22171
  return null;
21710
22172
  }
21711
22173
 
21712
- /**
21713
- * 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
22174
+ /**
22175
+ * 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
21714
22176
  */
21715
22177
  function checkMunicipalityChars(str, name) {
21716
22178
  var prefix = str.substring(0, 8);
@@ -21719,8 +22181,8 @@ function checkMunicipalityChars(str, name) {
21719
22181
  return firstIndex !== -1 && firstIndex === lastIndex;
21720
22182
  }
21721
22183
 
21722
- /**
21723
- * 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
22184
+ /**
22185
+ * 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
21724
22186
  */
21725
22187
  function preprocessAddress(address) {
21726
22188
  var cleanAddress = normalizeLineBreaks(address).replace(/[ \t\f\v]+/g, '');
@@ -21741,13 +22203,13 @@ function preprocessAddress(address) {
21741
22203
  return cleanAddress;
21742
22204
  }
21743
22205
 
21744
- /**
21745
- * 自动识别地址信息,格式化为省市区街道和收件人等信息
21746
- * @param {string} address 原始地址字符串(可含空格、姓名、手机号等)
21747
- * @param {object} [sourceData] 组件 sourceData,用于四级地址等配置(extraInfo.isFourAddress)
21748
- * @param {object} [options] 可选配置
21749
- * @param {array} [options.areaList] 地址库原始数据,默认从全局 areaList 获取
21750
- * @returns {{name: string, mobile: string, phone: string, zip_code: string, extensionNumber: string, province: string, city: string, area: string, street: string, addr: string, result: *}}
22206
+ /**
22207
+ * 自动识别地址信息,格式化为省市区街道和收件人等信息
22208
+ * @param {string} address 原始地址字符串(可含空格、姓名、手机号等)
22209
+ * @param {object} [sourceData] 组件 sourceData,用于四级地址等配置(extraInfo.isFourAddress)
22210
+ * @param {object} [options] 可选配置
22211
+ * @param {array} [options.areaList] 地址库原始数据,默认从全局 areaList 获取
22212
+ * @returns {{name: string, mobile: string, phone: string, zip_code: string, extensionNumber: string, province: string, city: string, area: string, street: string, addr: string, result: *}}
21751
22213
  */
21752
22214
  function addressParse(address, sourceData) {
21753
22215
  var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
@@ -21831,10 +22293,10 @@ function addressParse(address, sourceData) {
21831
22293
 
21832
22294
 
21833
22295
 
21834
- /**
21835
- * 规则配置默认支持的条件
22296
+ /**
22297
+ * 规则配置默认支持的条件
21836
22298
  * */
21837
- var ruleTypeMap = (/* unused pure expression or super */ null && ({
22299
+ var ruleTypeMap = {
21838
22300
  1: [{
21839
22301
  title: '等于',
21840
22302
  id: '1'
@@ -22235,71 +22697,71 @@ var ruleTypeMap = (/* unused pure expression or super */ null && ({
22235
22697
  title: '不为空',
22236
22698
  id: '10'
22237
22699
  }]
22238
- /*8: [
22239
- {title: '范围', id: '8'},
22240
- {title: '为空', id: '9'},
22241
- {title: '不为空', id: '10'},
22242
- // {title: '属于', id: '11'},
22243
- // {title: '有交集', id: '12'},
22244
- // {title: '无交集', id: '13'},
22245
- ],
22246
- 9: [
22247
- {title: '范围', id: '8'},
22248
- {title: '为空', id: '9'},
22249
- {title: '不为空', id: '10'},
22250
- ],
22251
- 11: [
22252
- {title: '等于', id: '1'},
22253
- {title: '不等于', id: '2'},
22254
- {title: '包含', id: '3'},
22255
- {title: '不包含', id: '4'},
22256
- {title: '包含任一项', id: '5'},
22257
- {title: '不包含任一项', id: '6'},
22258
- {title: '包含所有项', id: '7'},
22259
- {title: '范围', id: '8'},
22260
- {title: '为空', id: '9'},
22261
- {title: '不为空', id: '10'},
22262
- {title: '属于', id: '11'},
22263
- {title: '有交集', id: '12'},
22264
- {title: '无交集', id: '13'},],
22265
- 12: [
22266
- {title: '等于', id: '1'},
22267
- {title: '不等于', id: '2'},
22268
- {title: '包含', id: '3'},
22269
- {title: '不包含', id: '4'},
22270
- {title: '包含任一项', id: '5'},
22271
- {title: '不包含任一项', id: '6'},
22272
- {title: '包含所有项', id: '7'},
22273
- {title: '范围', id: '8'},
22274
- {title: '为空', id: '9'},
22275
- {title: '不为空', id: '10'},
22276
- {title: '属于', id: '11'},
22277
- {title: '有交集', id: '12'},
22278
- {title: '无交集', id: '13'},],
22279
- 13: [
22280
- {title: '等于', id: '1'},
22281
- {title: '不等于', id: '2'},
22282
- {title: '包含', id: '3'},
22283
- {title: '不包含', id: '4'},
22284
- {title: '包含任一项', id: '5'},
22285
- {title: '不包含任一项', id: '6'},
22286
- {title: '包含所有项', id: '7'},
22287
- {title: '范围', id: '8'},
22288
- {title: '为空', id: '9'},
22289
- {title: '不为空', id: '10'},
22290
- {title: '属于', id: '11'},
22291
- {title: '有交集', id: '12'},
22292
- {title: '无交集', id: '13'},],
22293
- 15: [
22294
- {title: '等于', id: '1'},
22295
- {title: '为空', id: '9'},
22296
- {title: '不为空', id: '10'}
22700
+ /*8: [
22701
+ {title: '范围', id: '8'},
22702
+ {title: '为空', id: '9'},
22703
+ {title: '不为空', id: '10'},
22704
+ // {title: '属于', id: '11'},
22705
+ // {title: '有交集', id: '12'},
22706
+ // {title: '无交集', id: '13'},
22707
+ ],
22708
+ 9: [
22709
+ {title: '范围', id: '8'},
22710
+ {title: '为空', id: '9'},
22711
+ {title: '不为空', id: '10'},
22712
+ ],
22713
+ 11: [
22714
+ {title: '等于', id: '1'},
22715
+ {title: '不等于', id: '2'},
22716
+ {title: '包含', id: '3'},
22717
+ {title: '不包含', id: '4'},
22718
+ {title: '包含任一项', id: '5'},
22719
+ {title: '不包含任一项', id: '6'},
22720
+ {title: '包含所有项', id: '7'},
22721
+ {title: '范围', id: '8'},
22722
+ {title: '为空', id: '9'},
22723
+ {title: '不为空', id: '10'},
22724
+ {title: '属于', id: '11'},
22725
+ {title: '有交集', id: '12'},
22726
+ {title: '无交集', id: '13'},],
22727
+ 12: [
22728
+ {title: '等于', id: '1'},
22729
+ {title: '不等于', id: '2'},
22730
+ {title: '包含', id: '3'},
22731
+ {title: '不包含', id: '4'},
22732
+ {title: '包含任一项', id: '5'},
22733
+ {title: '不包含任一项', id: '6'},
22734
+ {title: '包含所有项', id: '7'},
22735
+ {title: '范围', id: '8'},
22736
+ {title: '为空', id: '9'},
22737
+ {title: '不为空', id: '10'},
22738
+ {title: '属于', id: '11'},
22739
+ {title: '有交集', id: '12'},
22740
+ {title: '无交集', id: '13'},],
22741
+ 13: [
22742
+ {title: '等于', id: '1'},
22743
+ {title: '不等于', id: '2'},
22744
+ {title: '包含', id: '3'},
22745
+ {title: '不包含', id: '4'},
22746
+ {title: '包含任一项', id: '5'},
22747
+ {title: '不包含任一项', id: '6'},
22748
+ {title: '包含所有项', id: '7'},
22749
+ {title: '范围', id: '8'},
22750
+ {title: '为空', id: '9'},
22751
+ {title: '不为空', id: '10'},
22752
+ {title: '属于', id: '11'},
22753
+ {title: '有交集', id: '12'},
22754
+ {title: '无交集', id: '13'},],
22755
+ 15: [
22756
+ {title: '等于', id: '1'},
22757
+ {title: '为空', id: '9'},
22758
+ {title: '不为空', id: '10'}
22297
22759
  ],*/
22298
- }));
22299
- /**
22300
- * 规则配置各组件默认支持的数值条件 当前值、选择其他组件 这种
22760
+ };
22761
+ /**
22762
+ * 规则配置各组件默认支持的数值条件 当前值、选择其他组件 这种
22301
22763
  * */
22302
- var valueTypeMap = (/* unused pure expression or super */ null && ({
22764
+ var valueTypeMap = {
22303
22765
  1: '0',
22304
22766
  2: '0',
22305
22767
  3: '2',
@@ -22315,11 +22777,11 @@ var valueTypeMap = (/* unused pure expression or super */ null && ({
22315
22777
  13: '2',
22316
22778
  14: '2',
22317
22779
  15: '2'
22318
- }));
22319
- /**
22320
- * 字段,组件数据格式化
22780
+ };
22781
+ /**
22782
+ * 字段,组件数据格式化
22321
22783
  * */
22322
- var searchTypeMap = (/* unused pure expression or super */ null && ({
22784
+ var searchTypeMap = {
22323
22785
  1: [{
22324
22786
  title: '等于',
22325
22787
  id: '1'
@@ -22677,11 +23139,11 @@ var searchTypeMap = (/* unused pure expression or super */ null && ({
22677
23139
  title: '不为空',
22678
23140
  id: '10'
22679
23141
  }]
22680
- }));
22681
- /**
22682
- * 全局默认成员列表
23142
+ };
23143
+ /**
23144
+ * 全局默认成员列表
22683
23145
  * */
22684
- var userConst = (/* unused pure expression or super */ null && ([{
23146
+ var userConst = [{
22685
23147
  title: "班牛助手(工单)",
22686
23148
  code: "10001487",
22687
23149
  id: "10001487"
@@ -22693,18 +23155,18 @@ var userConst = (/* unused pure expression or super */ null && ([{
22693
23155
  title: "班牛助手(API)",
22694
23156
  code: "110430206",
22695
23157
  id: "110430206"
22696
- }]));
23158
+ }];
22697
23159
 
22698
- /**
22699
- * 通过id列表,和options将title拼接出来 ,id的key名和 title的key名可以传过来,默认是id和title
22700
- * id:[1,2] options:[{id:1,title:'name'},{id:2,title:'name2'}] 或 {1:'name',2:'name2'}
22701
- * 结果返回 'name,name2'
22702
- * @param {Array} ids ID列表
22703
- * @param {Array|Object} options 选项数组或对象映射
22704
- * @param {String} idKey ID的键名,默认为'id',仅当options为数组时使用
22705
- * @param {String} nameKey 名称的键名,默认为'title',仅当options为数组时使用
22706
- * @param {String} separator 自定义分隔符,默认为中文逗号','
22707
- * @return {String} 拼接后的字符串
23160
+ /**
23161
+ * 通过id列表,和options将title拼接出来 ,id的key名和 title的key名可以传过来,默认是id和title
23162
+ * id:[1,2] options:[{id:1,title:'name'},{id:2,title:'name2'}] 或 {1:'name',2:'name2'}
23163
+ * 结果返回 'name,name2'
23164
+ * @param {Array} ids ID列表
23165
+ * @param {Array|Object} options 选项数组或对象映射
23166
+ * @param {String} idKey ID的键名,默认为'id',仅当options为数组时使用
23167
+ * @param {String} nameKey 名称的键名,默认为'title',仅当options为数组时使用
23168
+ * @param {String} separator 自定义分隔符,默认为中文逗号','
23169
+ * @return {String} 拼接后的字符串
22708
23170
  * */
22709
23171
  function idsToTexts(ids, options) {
22710
23172
  var idKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'id';
@@ -22742,8 +23204,8 @@ function idsToTexts(ids, options) {
22742
23204
  return result;
22743
23205
  }
22744
23206
 
22745
- /**
22746
- * 向输入框的光标位置插入字符
23207
+ /**
23208
+ * 向输入框的光标位置插入字符
22747
23209
  * */
22748
23210
  function insertText(dom, value) {
22749
23211
  var selectRange;
@@ -22770,9 +23232,9 @@ function insertText(dom, value) {
22770
23232
  return dom.value;
22771
23233
  }
22772
23234
 
22773
- /**
22774
- * 格式化查看、高级筛选的组件信息
22775
- * @param Object component 组件信息
23235
+ /**
23236
+ * 格式化查看、高级筛选的组件信息
23237
+ * @param Object component 组件信息
22776
23238
  * */
22777
23239
  function tidyRuleComponent(component) {
22778
23240
  var _ruleTypeMap$componen;
@@ -22887,8 +23349,8 @@ function tidyRuleComponent(component) {
22887
23349
  return data;
22888
23350
  }
22889
23351
 
22890
- /**
22891
- * 格式化规则配置组件列表
23352
+ /**
23353
+ * 格式化规则配置组件列表
22892
23354
  * */
22893
23355
  function tidyRuleComponents(components, appId, tableId) {
22894
23356
  var componentList = [];
@@ -22918,8 +23380,8 @@ function tidyRuleComponents(components, appId, tableId) {
22918
23380
  return componentList;
22919
23381
  }
22920
23382
 
22921
- /**
22922
- * 将高级筛选的value格式化成json
23383
+ /**
23384
+ * 将高级筛选的value格式化成json
22923
23385
  * */
22924
23386
  function searchValueToJson(components) {
22925
23387
  var list = cloneDeep(components);
@@ -22941,10 +23403,10 @@ function searchValueToJson(components) {
22941
23403
  return list;
22942
23404
  }
22943
23405
 
22944
- /**
22945
- * 格式化查看、高级筛选的组件信息
22946
- * @param Object component 组件信息
22947
- * @param String power 权限字段,跟简易工单admin配置对应,不穿则不校验权限
23406
+ /**
23407
+ * 格式化查看、高级筛选的组件信息
23408
+ * @param Object component 组件信息
23409
+ * @param String power 权限字段,跟简易工单admin配置对应,不穿则不校验权限
22948
23410
  * */
22949
23411
  function formatComponent(component, power) {
22950
23412
  // 先校验权限 展示的地方特殊判断下id
@@ -23081,8 +23543,8 @@ function formatComponent(component, power) {
23081
23543
  return data;
23082
23544
  }
23083
23545
 
23084
- /**
23085
- * 格式化高级筛选组件列表
23546
+ /**
23547
+ * 格式化高级筛选组件列表
23086
23548
  * */
23087
23549
  function getSearchComponents(components, appId, tableId) {
23088
23550
  var componentList = [];
@@ -23112,8 +23574,8 @@ function getSearchComponents(components, appId, tableId) {
23112
23574
  return componentList;
23113
23575
  }
23114
23576
 
23115
- /**
23116
- * 格式化查看、详情组件列表
23577
+ /**
23578
+ * 格式化查看、详情组件列表
23117
23579
  * */
23118
23580
  function getWatchComponents(components, appId, tableId) {
23119
23581
  var power = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'listShow';
@@ -23130,11 +23592,11 @@ function getWatchComponents(components, appId, tableId) {
23130
23592
  return componentList;
23131
23593
  }
23132
23594
 
23133
- /**
23134
- * 格式化新建、编辑 组件的value
23135
- * @param Object component 组件信息
23136
- * @param Object values 编辑表单时,传入的工单数据
23137
- * @param String power 权限,当不是编辑的时候,将只给有新建权限的组件进行赋值 component.extraInfo[power]
23595
+ /**
23596
+ * 格式化新建、编辑 组件的value
23597
+ * @param Object component 组件信息
23598
+ * @param Object values 编辑表单时,传入的工单数据
23599
+ * @param String power 权限,当不是编辑的时候,将只给有新建权限的组件进行赋值 component.extraInfo[power]
23138
23600
  * */
23139
23601
  function formatColumnVal(component, values, power) {
23140
23602
  var data = {
@@ -23294,8 +23756,8 @@ function formatColumnVal(component, values, power) {
23294
23756
  return data;
23295
23757
  }
23296
23758
 
23297
- /**
23298
- * 格式化查看、编辑、组件列表
23759
+ /**
23760
+ * 格式化查看、编辑、组件列表
23299
23761
  * */
23300
23762
  function tidyComponents(components, appId, tableId, values) {
23301
23763
  var componentList = [];
@@ -23312,10 +23774,10 @@ function tidyComponents(components, appId, tableId, values) {
23312
23774
  return componentList;
23313
23775
  }
23314
23776
 
23315
- /**
23316
- * 展示子表单详情,将附件的完整value进行组装,只能在展示的时候用哦,编辑可别用
23317
- * component 子表单
23318
- * data 整条工单数据包含子表单包含inside
23777
+ /**
23778
+ * 展示子表单详情,将附件的完整value进行组装,只能在展示的时候用哦,编辑可别用
23779
+ * component 子表单
23780
+ * data 整条工单数据包含子表单包含inside
23319
23781
  * */
23320
23782
  function tidyShowSubDataFile(component, data) {
23321
23783
  var fullSubData = cloneDeep(data.inside[component.columnCode]);
@@ -23336,8 +23798,8 @@ function tidyShowSubDataFile(component, data) {
23336
23798
  return subData;
23337
23799
  }
23338
23800
 
23339
- /**
23340
- * 整理跳转工作表的筛选条件
23801
+ /**
23802
+ * 整理跳转工作表的筛选条件
23341
23803
  * */
23342
23804
  function tidyJumpSearchData(searchData, components) {
23343
23805
  var searchList = [];
@@ -23362,9 +23824,9 @@ function tidyJumpSearchData(searchData, components) {
23362
23824
  return searchList;
23363
23825
  }
23364
23826
 
23365
- /**
23366
- * 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
23367
- * @param {Object} res 接口返回体
23827
+ /**
23828
+ * 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
23829
+ * @param {Object} res 接口返回体
23368
23830
  */
23369
23831
  function formatLogDate() {
23370
23832
  var date = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Date();
@@ -23380,9 +23842,9 @@ function formatLogDate() {
23380
23842
  var second = pad(d.getSeconds());
23381
23843
  return "".concat(year, "-").concat(month, "-").concat(day, " ").concat(hour, ":").concat(minute, ":").concat(second);
23382
23844
  }
23383
- /**
23384
- * 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
23385
- * @param {Object} res 接口返回体
23845
+ /**
23846
+ * 接口日志记录器,将系统最近100条接口请求记录到localStrage缓存中去
23847
+ * @param {Object} res 接口返回体
23386
23848
  */
23387
23849
  var recordApiLog = function recordApiLog(res) {
23388
23850
  try {
@@ -23477,10 +23939,10 @@ var recordApiLog = function recordApiLog(res) {
23477
23939
  console.log("\u4E00\u6761\u65E5\u5FD7\u672A\u80FD\u6210\u529F\u6355\u6349\uFF1A".concat(JSON.stringify(res)));
23478
23940
  }
23479
23941
  };
23480
- /**
23481
- * 跳转主应用路由
23482
- * 无界子应用内通过 bus 通知主应用改地址栏;独立运行时跳转到主应用入口
23483
- * @param {string|{ name?: string, path?: string, params?: object, query?: object }} route
23942
+ /**
23943
+ * 跳转主应用路由
23944
+ * 无界子应用内通过 bus 通知主应用改地址栏;独立运行时跳转到主应用入口
23945
+ * @param {string|{ name?: string, path?: string, params?: object, query?: object }} route
23484
23946
  */
23485
23947
 
23486
23948
  function mainAppRouterPush(route) {
@@ -23489,8 +23951,8 @@ function mainAppRouterPush(route) {
23489
23951
  (_window$$wujie = window.$wujie) === null || _window$$wujie === void 0 || _window$$wujie.bus.$emit('router-jump', route);
23490
23952
  } else {}
23491
23953
  }
23492
- /**
23493
- * 地址自动识别
23954
+ /**
23955
+ * 地址自动识别
23494
23956
  * */
23495
23957
 
23496
23958
  ;// ./install.js
@@ -23510,6 +23972,7 @@ function mainAppRouterPush(route) {
23510
23972
 
23511
23973
 
23512
23974
 
23975
+
23513
23976
  const BnAppletUi = {
23514
23977
  install: (Vue) => {
23515
23978
  Vue.component("BnAddress", BnAddress);
@@ -23526,6 +23989,7 @@ const BnAppletUi = {
23526
23989
  Vue.component("BnRuleCondition", bnRuleCondition);
23527
23990
  Vue.component("BnSelect", BnSelect_select);
23528
23991
  Vue.component("BnFiTaxAutoComplete", BnFiTaxAutoComplete);
23992
+ Vue.component("BnVirtPopover", BnVirtPopover);
23529
23993
  }
23530
23994
  };
23531
23995