@bytenew/bn-applet-ui 1.1.39 → 1.1.40

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.
@@ -245,6 +245,30 @@ ___CSS_LOADER_EXPORT___.push([module.id, `.bnDrop-select[data-v-0984e2b5]{displa
245
245
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
246
246
 
247
247
 
248
+ /***/ },
249
+
250
+ /***/ 704
251
+ (module, __webpack_exports__, __webpack_require__) {
252
+
253
+ "use strict";
254
+ __webpack_require__.r(__webpack_exports__);
255
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
256
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
257
+ /* harmony export */ });
258
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
259
+ /* 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__);
260
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
261
+ /* 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__);
262
+ // Imports
263
+
264
+
265
+ 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()));
266
+ // Module
267
+ ___CSS_LOADER_EXPORT___.push([module.id, `.BnEmptyTip[data-v-24b4124f]{position:relative;width:100%;display:flex;justify-content:space-around;align-items:center}.BnEmptyTip .BnEmptyTip-box[data-v-24b4124f]{display:flex;justify-content:center;flex-direction:column;align-items:center;background-position:top;background-size:contain;background-repeat:no-repeat}.BnEmptyTip .BnEmptyTip-img[data-v-24b4124f]{background-size:contain;background-position:center 35%;background-repeat:no-repeat}.BnEmptyTip .BnEmptyTip-text[data-v-24b4124f]{height:24px;line-height:24px;text-align:center;font-size:14px;color:#ccc}`, ""]);
268
+ // Exports
269
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
270
+
271
+
248
272
  /***/ },
249
273
 
250
274
  /***/ 3304
@@ -421,7 +445,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `.addressSet[data-v-50cd72d0]{display:f
421
445
 
422
446
  /***/ },
423
447
 
424
- /***/ 3385
448
+ /***/ 2127
425
449
  (module, __webpack_exports__, __webpack_require__) {
426
450
 
427
451
  "use strict";
@@ -445,7 +469,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `.addPadding .el-input__inner{padding-r
445
469
 
446
470
  /***/ },
447
471
 
448
- /***/ 469
472
+ /***/ 5639
449
473
  (module, __webpack_exports__, __webpack_require__) {
450
474
 
451
475
  "use strict";
@@ -465,14 +489,14 @@ __webpack_require__.r(__webpack_exports__);
465
489
  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()));
466
490
  ___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);
467
491
  // Module
468
- ___CSS_LOADER_EXPORT___.push([module.id, `*[data-v-1d87e9a2]{box-sizing:border-box}.clearFix[data-v-1d87e9a2]:after{display:block;content:"";clear:both}.input-ratio[data-v-1d87e9a2]:after{content:"%";position:absolute;right:8px;top:calc(50% - 8px);color:#c0c4cc;font-weight:700}.bnRule[data-v-1d87e9a2]{position:relative;width:100%}.bnRule-setting[data-v-1d87e9a2]{position:relative;float:left;width:42%;display:flex;align-items:center}.bnRule-code[data-v-1d87e9a2]{width:100%}.bnRule-condition[data-v-1d87e9a2]{position:relative;float:left;width:58%;display:flex;align-items:center}.bnRule-wrap[data-v-1d87e9a2]{flex-wrap:wrap}.bnRule-wrap .bnRule-setting[data-v-1d87e9a2]{width:100%}.bnRule-wrap .bnRule-condition[data-v-1d87e9a2]{width:100%;padding-left:24px}.bnRule-wrap .bnRule-setting .bnRule-component[data-v-1d87e9a2]{flex-grow:0}.bnRule-wrap .bnRule-setting .bnRule-search[data-v-1d87e9a2]{padding-right:10px}.bnRule-setting-left[data-v-1d87e9a2]{display:flex;position:relative;flex-grow:1;align-items:center;max-width:100%}.bnRule-setting-left-min[data-v-1d87e9a2]{max-width:calc(100% - 30px)}.bnRule-text[data-v-1d87e9a2]{display:flex;position:relative;flex-grow:0;min-width:24px;align-items:center;padding-right:8px;color:#8c8c8c}.bnRule-component[data-v-1d87e9a2]{position:relative;flex-grow:1}.bnRule-component-custom[data-v-1d87e9a2]{position:absolute;right:8px;top:5px;padding:0 7px;height:22px;line-height:22px;border:1px solid rgba(0,0,0,.15);border-radius:2px;font-size:12px;background:#fff;cursor:pointer}.bnRule-component-custom[data-v-1d87e9a2]:hover{color:#2783f2}.bnRule-search[data-v-1d87e9a2]{width:140px;padding:0 10px}.bnRule-del[data-v-1d87e9a2],.bnRule-search[data-v-1d87e9a2]{position:relative;flex-grow:0}.bnRule-del[data-v-1d87e9a2]{width:28px;text-align:right;line-height:32px;cursor:pointer;color:#8c8c8c}.bnRule-condition-valueType[data-v-1d87e9a2]{position:relative;flex-grow:0;min-width:120px;max-width:130px}.bnRule-condition-subType[data-v-1d87e9a2]{position:relative;flex-grow:0;min-width:96px}.bnRule-condition-value[data-v-1d87e9a2]{position:relative;flex-grow:1}`, ""]);
492
+ ___CSS_LOADER_EXPORT___.push([module.id, `*[data-v-75daf7c0]{box-sizing:border-box}.clearFix[data-v-75daf7c0]:after{display:block;content:"";clear:both}.input-ratio[data-v-75daf7c0]:after{content:"%";position:absolute;right:8px;top:calc(50% - 8px);color:#c0c4cc;font-weight:700}.bnRule[data-v-75daf7c0]{position:relative;width:100%}.bnRule-setting[data-v-75daf7c0]{position:relative;float:left;width:42%;display:flex;align-items:center}.bnRule-code[data-v-75daf7c0]{width:100%}.bnRule-condition[data-v-75daf7c0]{position:relative;float:left;width:58%;display:flex;align-items:center}.bnRule-wrap[data-v-75daf7c0]{flex-wrap:wrap}.bnRule-wrap .bnRule-setting[data-v-75daf7c0]{width:100%}.bnRule-wrap .bnRule-condition[data-v-75daf7c0]{width:100%;padding-left:24px}.bnRule-wrap .bnRule-setting .bnRule-component[data-v-75daf7c0]{flex-grow:0}.bnRule-wrap .bnRule-setting .bnRule-search[data-v-75daf7c0]{padding-right:10px}.bnRule-setting-left[data-v-75daf7c0]{display:flex;position:relative;flex-grow:1;align-items:center;max-width:100%}.bnRule-setting-left-min[data-v-75daf7c0]{max-width:calc(100% - 30px)}.bnRule-text[data-v-75daf7c0]{display:flex;position:relative;flex-grow:0;min-width:24px;align-items:center;padding-right:8px;color:#8c8c8c}.bnRule-component[data-v-75daf7c0]{position:relative;flex-grow:1}.bnRule-component-custom[data-v-75daf7c0]{position:absolute;right:8px;top:5px;padding:0 7px;height:22px;line-height:22px;border:1px solid rgba(0,0,0,.15);border-radius:2px;font-size:12px;background:#fff;cursor:pointer}.bnRule-component-custom[data-v-75daf7c0]:hover{color:#2783f2}.bnRule-search[data-v-75daf7c0]{width:140px;padding:0 10px}.bnRule-del[data-v-75daf7c0],.bnRule-search[data-v-75daf7c0]{position:relative;flex-grow:0}.bnRule-del[data-v-75daf7c0]{width:28px;text-align:right;line-height:32px;cursor:pointer;color:#8c8c8c}.bnRule-condition-valueType[data-v-75daf7c0]{position:relative;flex-grow:0;min-width:120px;max-width:130px}.bnRule-condition-subType[data-v-75daf7c0]{position:relative;flex-grow:0;min-width:96px}.bnRule-condition-value[data-v-75daf7c0]{position:relative;flex-grow:1}`, ""]);
469
493
  // Exports
470
494
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
471
495
 
472
496
 
473
497
  /***/ },
474
498
 
475
- /***/ 7392
499
+ /***/ 9754
476
500
  (module, __webpack_exports__, __webpack_require__) {
477
501
 
478
502
  "use strict";
@@ -489,14 +513,14 @@ __webpack_require__.r(__webpack_exports__);
489
513
 
490
514
  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()));
491
515
  // Module
492
- ___CSS_LOADER_EXPORT___.push([module.id, `.bnRule-down[data-v-1d87e9a2]{position:relative;min-width:80px;height:32px;line-height:32px;cursor:pointer;overflow:hidden;padding-right:20px}.bnRule-down-title[data-v-1d87e9a2]{font-size:14px;color:#262626}.bnRule-down-title-empty[data-v-1d87e9a2]{font-size:14px;color:#c0c4cc;margin-right:8px}.bnRule-down .bnWork-down[data-v-1d87e9a2]{position:absolute;right:0;top:0;font-size:14px;color:#c0c4cc}.bnRule-condition.clearPadding[data-v-1d87e9a2]{padding-left:0}`, ""]);
516
+ ___CSS_LOADER_EXPORT___.push([module.id, `.bnRule-down[data-v-75daf7c0]{position:relative;min-width:80px;height:32px;line-height:32px;cursor:pointer;overflow:hidden;padding-right:20px}.bnRule-down-title[data-v-75daf7c0]{font-size:14px;color:#262626}.bnRule-down-title-empty[data-v-75daf7c0]{font-size:14px;color:#c0c4cc;margin-right:8px}.bnRule-down .bnWork-down[data-v-75daf7c0]{position:absolute;right:0;top:0;font-size:14px;color:#c0c4cc}.bnRule-condition.clearPadding[data-v-75daf7c0]{padding-left:0}`, ""]);
493
517
  // Exports
494
518
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
495
519
 
496
520
 
497
521
  /***/ },
498
522
 
499
- /***/ 6259
523
+ /***/ 1645
500
524
  (module, __webpack_exports__, __webpack_require__) {
501
525
 
502
526
  "use strict";
@@ -513,7 +537,7 @@ __webpack_require__.r(__webpack_exports__);
513
537
 
514
538
  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()));
515
539
  // Module
516
- ___CSS_LOADER_EXPORT___.push([module.id, `.bnRule-simple[data-v-1d87e9a2]{padding-top:32px}.bnRule-simple .bnRule-setting .bnRule-search[data-v-1d87e9a2]{flex-grow:1}.bnRule-simple-title[data-v-1d87e9a2]{display:flex;justify-content:space-between;position:absolute;top:0;left:0;width:100%;height:32px;line-height:32px}.bnRule-component-title-text[data-v-1d87e9a2],.bnRule-simple-title-text[data-v-1d87e9a2]{max-width:calc(100% - 80px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bnRule-component-title-text[data-v-1d87e9a2]{font-size:14px;color:#666}.bnRule-simple-title-but[data-v-1d87e9a2]{color:#4b7df7;font-size:12px;cursor:pointer}`, ""]);
540
+ ___CSS_LOADER_EXPORT___.push([module.id, `.bnRule-simple[data-v-75daf7c0]{padding-top:32px}.bnRule-simple .bnRule-setting .bnRule-search[data-v-75daf7c0]{flex-grow:1}.bnRule-simple-title[data-v-75daf7c0]{display:flex;justify-content:space-between;position:absolute;top:0;left:0;width:100%;height:32px;line-height:32px}.bnRule-component-title-text[data-v-75daf7c0],.bnRule-simple-title-text[data-v-75daf7c0]{max-width:calc(100% - 80px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bnRule-component-title-text[data-v-75daf7c0]{font-size:14px;color:#666}.bnRule-simple-title-but[data-v-75daf7c0]{color:#4b7df7;font-size:12px;cursor:pointer}`, ""]);
517
541
  // Exports
518
542
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
519
543
 
@@ -993,6 +1017,22 @@ var update = add("1dfdf04f", content, true, {"sourceMap":false,"shadowMode":fals
993
1017
 
994
1018
  /***/ },
995
1019
 
1020
+ /***/ 2518
1021
+ (module, __unused_webpack_exports, __webpack_require__) {
1022
+
1023
+ // style-loader: Adds some css to the DOM by adding a <style> tag
1024
+
1025
+ // load the styles
1026
+ var content = __webpack_require__(704);
1027
+ if(content.__esModule) content = content.default;
1028
+ if(typeof content === 'string') content = [[module.id, content, '']];
1029
+ if(content.locals) module.exports = content.locals;
1030
+ // add the styles to the DOM
1031
+ var add = (__webpack_require__(9548)/* ["default"] */ .A)
1032
+ var update = add("6e6e9f5e", content, true, {"sourceMap":false,"shadowMode":false});
1033
+
1034
+ /***/ },
1035
+
996
1036
  /***/ 7362
997
1037
  (module, __unused_webpack_exports, __webpack_require__) {
998
1038
 
@@ -1105,67 +1145,67 @@ var update = add("62fe43f0", content, true, {"sourceMap":false,"shadowMode":fals
1105
1145
 
1106
1146
  /***/ },
1107
1147
 
1108
- /***/ 7547
1148
+ /***/ 8089
1109
1149
  (module, __unused_webpack_exports, __webpack_require__) {
1110
1150
 
1111
1151
  // style-loader: Adds some css to the DOM by adding a <style> tag
1112
1152
 
1113
1153
  // load the styles
1114
- var content = __webpack_require__(3385);
1154
+ var content = __webpack_require__(2127);
1115
1155
  if(content.__esModule) content = content.default;
1116
1156
  if(typeof content === 'string') content = [[module.id, content, '']];
1117
1157
  if(content.locals) module.exports = content.locals;
1118
1158
  // add the styles to the DOM
1119
1159
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
1120
- var update = add("10aeefd6", content, true, {"sourceMap":false,"shadowMode":false});
1160
+ var update = add("e6909112", content, true, {"sourceMap":false,"shadowMode":false});
1121
1161
 
1122
1162
  /***/ },
1123
1163
 
1124
- /***/ 8515
1164
+ /***/ 4461
1125
1165
  (module, __unused_webpack_exports, __webpack_require__) {
1126
1166
 
1127
1167
  // style-loader: Adds some css to the DOM by adding a <style> tag
1128
1168
 
1129
1169
  // load the styles
1130
- var content = __webpack_require__(469);
1170
+ var content = __webpack_require__(5639);
1131
1171
  if(content.__esModule) content = content.default;
1132
1172
  if(typeof content === 'string') content = [[module.id, content, '']];
1133
1173
  if(content.locals) module.exports = content.locals;
1134
1174
  // add the styles to the DOM
1135
1175
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
1136
- var update = add("2e06f0e1", content, true, {"sourceMap":false,"shadowMode":false});
1176
+ var update = add("00f01d43", content, true, {"sourceMap":false,"shadowMode":false});
1137
1177
 
1138
1178
  /***/ },
1139
1179
 
1140
- /***/ 4474
1180
+ /***/ 4612
1141
1181
  (module, __unused_webpack_exports, __webpack_require__) {
1142
1182
 
1143
1183
  // style-loader: Adds some css to the DOM by adding a <style> tag
1144
1184
 
1145
1185
  // load the styles
1146
- var content = __webpack_require__(7392);
1186
+ var content = __webpack_require__(9754);
1147
1187
  if(content.__esModule) content = content.default;
1148
1188
  if(typeof content === 'string') content = [[module.id, content, '']];
1149
1189
  if(content.locals) module.exports = content.locals;
1150
1190
  // add the styles to the DOM
1151
1191
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
1152
- var update = add("179d0cbc", content, true, {"sourceMap":false,"shadowMode":false});
1192
+ var update = add("71cab3f8", content, true, {"sourceMap":false,"shadowMode":false});
1153
1193
 
1154
1194
  /***/ },
1155
1195
 
1156
- /***/ 4149
1196
+ /***/ 5348
1157
1197
  (module, __unused_webpack_exports, __webpack_require__) {
1158
1198
 
1159
1199
  // style-loader: Adds some css to the DOM by adding a <style> tag
1160
1200
 
1161
1201
  // load the styles
1162
- var content = __webpack_require__(6259);
1202
+ var content = __webpack_require__(1645);
1163
1203
  if(content.__esModule) content = content.default;
1164
1204
  if(typeof content === 'string') content = [[module.id, content, '']];
1165
1205
  if(content.locals) module.exports = content.locals;
1166
1206
  // add the styles to the DOM
1167
1207
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
1168
- var update = add("8b47fb3a", content, true, {"sourceMap":false,"shadowMode":false});
1208
+ var update = add("e575a276", content, true, {"sourceMap":false,"shadowMode":false});
1169
1209
 
1170
1210
  /***/ },
1171
1211
 
@@ -10509,11 +10549,11 @@ __webpack_require__.d(__webpack_exports__, {
10509
10549
  BnDialog: () => (/* reexport */ dialog),
10510
10550
  BnDrop: () => (/* reexport */ BnDrop),
10511
10551
  BnDropdown: () => (/* reexport */ bnDropdown),
10552
+ BnEmptyTip: () => (/* reexport */ BnEmptyTip),
10512
10553
  BnFiTaxAutoComplete: () => (/* reexport */ BnFiTaxAutoComplete),
10513
10554
  BnFileView: () => (/* reexport */ BnFileView),
10514
10555
  BnFunText: () => (/* reexport */ bnFunText),
10515
10556
  BnInpNum: () => (/* reexport */ BnInpNum),
10516
- BnInputNum: () => (/* reexport */ BnInputNum),
10517
10557
  BnRuleCondition: () => (/* reexport */ bnRuleCondition),
10518
10558
  BnSelect: () => (/* reexport */ BnSelect_select),
10519
10559
  BnVirtPopover: () => (/* reexport */ BnVirtPopover),
@@ -14138,6 +14178,119 @@ var bnDropdown_component = normalizeComponent(
14138
14178
  )
14139
14179
 
14140
14180
  /* harmony default export */ const bnDropdown = (bnDropdown_component.exports);
14181
+ ;// ./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/BnEmptyTip/BnEmptyTip.vue?vue&type=template&id=24b4124f&scoped=true
14182
+ var BnEmptyTipvue_type_template_id_24b4124f_scoped_true_render = function render() {
14183
+ var _vm = this,
14184
+ _c = _vm._self._c;
14185
+ return _c('div', {
14186
+ staticClass: "BnEmptyTip"
14187
+ }, [_c('div', {
14188
+ staticClass: "BnEmptyTip-box"
14189
+ }, [_c('div', {
14190
+ staticClass: "BnEmptyTip-img",
14191
+ style: _vm.boxStyle
14192
+ }), _c('div', {
14193
+ staticClass: "BnEmptyTip-text"
14194
+ }, [_vm._v(_vm._s(_vm.displayTip))])])]);
14195
+ };
14196
+ var BnEmptyTipvue_type_template_id_24b4124f_scoped_true_staticRenderFns = [];
14197
+
14198
+ ;// ./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/BnEmptyTip/BnEmptyTip.vue?vue&type=script&lang=js
14199
+
14200
+
14201
+ var typeMap = {
14202
+ no: {
14203
+ url: 'https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_110527787_41d59fbd8671cfd9a5d2449ccdbfa03f.png',
14204
+ tip: '呀~没有内容呢~',
14205
+ width: 1,
14206
+ height: 0.8
14207
+ },
14208
+ search: {
14209
+ url: 'https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_457fba620e4e4c5ced6aab5691f3b933.png',
14210
+ tip: '呀~没有搜索到呢~',
14211
+ width: 0.8,
14212
+ height: 0.8
14213
+ },
14214
+ folder: {
14215
+ url: 'https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_3d1230b752dd77eded103a5161dd4fd7.png',
14216
+ tip: '呀~文件夹为空呢~',
14217
+ width: 0.8,
14218
+ height: 0.8
14219
+ },
14220
+ "default": {
14221
+ url: 'https://banniu-work.oss-cn-zhangjiakou.aliyuncs.com/125_10030158_24c3b65ec3eaedbf32ef990df0bff0f2.png',
14222
+ tip: '呀~没有内容呢~',
14223
+ width: 0.8,
14224
+ height: 0.8
14225
+ }
14226
+ };
14227
+ /* harmony default export */ const BnEmptyTipvue_type_script_lang_js = ({
14228
+ name: "BnEmptyTip",
14229
+ props: {
14230
+ url: {
14231
+ type: String,
14232
+ "default": ''
14233
+ },
14234
+ tip: {
14235
+ type: String,
14236
+ "default": ''
14237
+ },
14238
+ type: {
14239
+ type: String,
14240
+ "default": 'no'
14241
+ },
14242
+ size: {
14243
+ type: Number,
14244
+ "default": 200
14245
+ }
14246
+ },
14247
+ computed: {
14248
+ displayTip: function displayTip() {
14249
+ var _typeMap$this$type;
14250
+ return this.tip || ((_typeMap$this$type = typeMap[this.type]) === null || _typeMap$this$type === void 0 ? void 0 : _typeMap$this$type.tip) || typeMap.no.tip;
14251
+ },
14252
+ imgUrl: function imgUrl() {
14253
+ var _typeMap$this$type2;
14254
+ if (this.url) return this.url;
14255
+ return ((_typeMap$this$type2 = typeMap[this.type]) === null || _typeMap$this$type2 === void 0 ? void 0 : _typeMap$this$type2.url) || typeMap.no.url;
14256
+ },
14257
+ boxStyle: function boxStyle() {
14258
+ var _typeMap$this$type3, _typeMap$this$type4;
14259
+ return {
14260
+ backgroundImage: "url(".concat(this.imgUrl, ")"),
14261
+ width: "".concat(Math.round(this.size * (((_typeMap$this$type3 = typeMap[this.type]) === null || _typeMap$this$type3 === void 0 ? void 0 : _typeMap$this$type3.width) || 1)), "px"),
14262
+ height: "".concat(Math.round(this.size * (((_typeMap$this$type4 = typeMap[this.type]) === null || _typeMap$this$type4 === void 0 ? void 0 : _typeMap$this$type4.height) || 0.8)), "px")
14263
+ };
14264
+ }
14265
+ }
14266
+ });
14267
+ ;// ./packages/BnEmptyTip/BnEmptyTip.vue?vue&type=script&lang=js
14268
+ /* harmony default export */ const BnEmptyTip_BnEmptyTipvue_type_script_lang_js = (BnEmptyTipvue_type_script_lang_js);
14269
+ // 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/BnEmptyTip/BnEmptyTip.vue?vue&type=style&index=0&id=24b4124f&prod&scoped=true&lang=scss
14270
+ var BnEmptyTipvue_type_style_index_0_id_24b4124f_prod_scoped_true_lang_scss = __webpack_require__(2518);
14271
+ ;// ./packages/BnEmptyTip/BnEmptyTip.vue?vue&type=style&index=0&id=24b4124f&prod&scoped=true&lang=scss
14272
+
14273
+ ;// ./packages/BnEmptyTip/BnEmptyTip.vue
14274
+
14275
+
14276
+
14277
+ ;
14278
+
14279
+
14280
+ /* normalize component */
14281
+
14282
+ var BnEmptyTip_component = normalizeComponent(
14283
+ BnEmptyTip_BnEmptyTipvue_type_script_lang_js,
14284
+ BnEmptyTipvue_type_template_id_24b4124f_scoped_true_render,
14285
+ BnEmptyTipvue_type_template_id_24b4124f_scoped_true_staticRenderFns,
14286
+ false,
14287
+ null,
14288
+ "24b4124f",
14289
+ null
14290
+
14291
+ )
14292
+
14293
+ /* harmony default export */ const BnEmptyTip = (BnEmptyTip_component.exports);
14141
14294
  ;// ./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
14142
14295
  var BnFileViewvue_type_template_id_27b6fb78_scoped_true_render = function render() {
14143
14296
  var _vm = this,
@@ -15792,182 +15945,12 @@ var BnInpNum_component = normalizeComponent(
15792
15945
  )
15793
15946
 
15794
15947
  /* harmony default export */ const BnInpNum = (BnInpNum_component.exports);
15795
- ;// ./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
15796
- var BnInputNumvue_type_template_id_2baef958_render = function render() {
15797
- var _vm = this,
15798
- _c = _vm._self._c;
15799
- return _c('el-input', {
15800
- attrs: {
15801
- "placeholder": _vm.placeholder,
15802
- "disabled": _vm.disabled,
15803
- "size": _vm.size,
15804
- "maxlength": _vm.maxlength
15805
- },
15806
- on: {
15807
- "input": _vm.valInput,
15808
- "change": _vm.valChange,
15809
- "blur": _vm.inputBlur
15810
- },
15811
- model: {
15812
- value: _vm.val,
15813
- callback: function callback($$v) {
15814
- _vm.val = $$v;
15815
- },
15816
- expression: "val"
15817
- }
15818
- });
15819
- };
15820
- var BnInputNumvue_type_template_id_2baef958_staticRenderFns = [];
15821
-
15822
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
15823
- var es_regexp_test = __webpack_require__(906);
15824
- ;// ./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/BnInputNum/BnInputNum.vue?vue&type=script&lang=js
15825
-
15826
-
15827
-
15828
-
15829
-
15830
-
15831
-
15832
-
15833
-
15834
-
15835
-
15836
-
15837
-
15838
-
15839
-
15840
-
15841
-
15842
-
15843
-
15844
-
15845
- /* harmony default export */ const BnInputNumvue_type_script_lang_js = ({
15846
- name: "bn-input-num",
15847
- props: {
15848
- value: [String, Number],
15849
- placeholder: {
15850
- type: String,
15851
- "default": '请输入'
15852
- },
15853
- size: {
15854
- type: String,
15855
- "default": 'small'
15856
- },
15857
- disabled: {
15858
- type: Boolean,
15859
- "default": false
15860
- },
15861
- max: {
15862
- type: [String, Number]
15863
- },
15864
- min: {
15865
- type: [String, Number]
15866
- },
15867
- maxlength: {
15868
- type: [String, Number]
15869
- },
15870
- precision: {
15871
- type: [String, Number]
15872
- }
15873
- },
15874
- computed: {
15875
- val: {
15876
- get: function get() {
15877
- return this.value;
15878
- },
15879
- set: function set(val) {
15880
- this.$emit("input", val);
15881
- }
15882
- }
15883
- },
15884
- methods: {
15885
- // 实时变化
15886
- valInput: function valInput(val) {
15887
- var value = val;
15888
- var regex = /^-?\d*\.?\d*$/;
15889
- // 检查输入值是否符合正则表达式,并且不包含多个 '-' 符号
15890
- if (!regex.test(value)) {
15891
- value = value.replace(/[^0-9.-]/g, ''); // 移除无效字符
15892
- }
15893
- // 确保 '-' 只出现在最前面,在中间和后面出现的负数进行移除
15894
- var hyphenIndex = value.indexOf('-');
15895
- if (hyphenIndex == 0) {
15896
- value = '-' + value.replace(/-/g, ''); // 移除所有 '-'
15897
- } else if (value.indexOf('-') > 0) {
15898
- value = value.replace(/-/g, ''); // 移除所有 '-'
15899
- }
15900
- // 确保 '.' 小数点不能出现在最前面,并且只能出现一次
15901
- var sIndex = value.indexOf('.');
15902
- if (sIndex == 0) {
15903
- value = value.replace(/\./g, '');
15904
- } else if (sIndex > 0) {
15905
- value = value.replace(/\./g, '');
15906
- value = "".concat(value.slice(0, sIndex), ".").concat(value.slice(sIndex));
15907
- }
15908
- // 核实精度
15909
- if (value != '' && this.precision != null && this.precision != undefined && this.precision >= 0) {
15910
- if (value != '-') {
15911
- if (this.precision == 0) {
15912
- value = parseInt(value);
15913
- } else {
15914
- var num = value.split('.');
15915
- if (num[1] && num[1].length > this.precision) {
15916
- value = parseFloat(value).toFixed(this.precision);
15917
- }
15918
- }
15919
- } else {
15920
- value = '-';
15921
- }
15922
- }
15923
- this.val = value;
15924
- },
15925
- // chang事件上报
15926
- valChange: function valChange() {
15927
- if (this.val == '-') {
15928
- this.val = '';
15929
- }
15930
- if (this.val && this.max && this.val > this.max) {
15931
- this.val = this.max;
15932
- }
15933
- if (this.val && this.min && this.val < this.min) {
15934
- this.val = this.min;
15935
- }
15936
- this.$emit('change', this.val);
15937
- },
15938
- // blur事件上报
15939
- inputBlur: function inputBlur() {
15940
- this.$emit('blur', this.val);
15941
- }
15942
- }
15943
- });
15944
- ;// ./packages/BnInputNum/BnInputNum.vue?vue&type=script&lang=js
15945
- /* harmony default export */ const BnInputNum_BnInputNumvue_type_script_lang_js = (BnInputNumvue_type_script_lang_js);
15946
- ;// ./packages/BnInputNum/BnInputNum.vue
15948
+ ;// ./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=75daf7c0&scoped=true
15947
15949
 
15948
15950
 
15949
15951
 
15950
15952
 
15951
15953
 
15952
- /* normalize component */
15953
- ;
15954
- var BnInputNum_component = normalizeComponent(
15955
- BnInputNum_BnInputNumvue_type_script_lang_js,
15956
- BnInputNumvue_type_template_id_2baef958_render,
15957
- BnInputNumvue_type_template_id_2baef958_staticRenderFns,
15958
- false,
15959
- null,
15960
- null,
15961
- null
15962
-
15963
- )
15964
-
15965
- /* harmony default export */ const BnInputNum = (BnInputNum_component.exports);
15966
- ;// ./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
15967
-
15968
-
15969
-
15970
-
15971
15954
 
15972
15955
 
15973
15956
 
@@ -15980,8 +15963,7 @@ var BnInputNum_component = normalizeComponent(
15980
15963
 
15981
15964
 
15982
15965
 
15983
-
15984
- var bnRuleConditionvue_type_template_id_1d87e9a2_scoped_true_render = function render() {
15966
+ var bnRuleConditionvue_type_template_id_75daf7c0_scoped_true_render = function render() {
15985
15967
  var _vm = this,
15986
15968
  _c = _vm._self._c;
15987
15969
  return _c('div', {
@@ -16297,7 +16279,7 @@ var bnRuleConditionvue_type_template_id_1d87e9a2_scoped_true_render = function r
16297
16279
  },
16298
16280
  expression: "ruleVal[optionProps.value]"
16299
16281
  }
16300
- }) : ['string', 'number'].indexOf(_typeof(_vm.ruleVal[_vm.optionProps.value])) != '-1' && _vm.ruleVal[_vm.optionProps.searchType] != '8' && _vm.ruleVal.behaviorType == 2 || _vm.ruleVal.behaviorType == 7 && _vm.allowSubType && ['3', '4', '6', '7', '8', '9'].includes(_vm.ruleVal[_vm.optionProps.subType]) ? _c('BnInputNum', {
16282
+ }) : ['string', 'number'].indexOf(_typeof(_vm.ruleVal[_vm.optionProps.value])) != '-1' && _vm.ruleVal[_vm.optionProps.searchType] != '8' && _vm.ruleVal.behaviorType == 2 || _vm.ruleVal.behaviorType == 7 && _vm.allowSubType && ['3', '4', '6', '7', '8', '9'].includes(_vm.ruleVal[_vm.optionProps.subType]) ? _c('BnInpNum', {
16301
16283
  staticClass: "bnRule-condition-input",
16302
16284
  "class": {
16303
16285
  'input-ratio': _vm.ruleVal[_vm.optionProps.searchType] == '27'
@@ -16529,9 +16511,9 @@ var bnRuleConditionvue_type_template_id_1d87e9a2_scoped_true_render = function r
16529
16511
  staticClass: "bnUIcon bnUIcon-delete"
16530
16512
  })]) : _vm._e()], 2) : _vm._e()]);
16531
16513
  };
16532
- var bnRuleConditionvue_type_template_id_1d87e9a2_scoped_true_staticRenderFns = [];
16514
+ var bnRuleConditionvue_type_template_id_75daf7c0_scoped_true_staticRenderFns = [];
16533
16515
 
16534
- ;// ./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=template&id=1d87e9a2&scoped=true
16516
+ ;// ./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=template&id=75daf7c0&scoped=true
16535
16517
 
16536
16518
  ;// ./packages/BnRuleCondition/util.js
16537
16519
  /* unused harmony import specifier */ var util_toConsumableArray;
@@ -18757,21 +18739,21 @@ var numberReg_component = normalizeComponent(
18757
18739
  });
18758
18740
  ;// ./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=script&lang=js
18759
18741
  /* harmony default export */ const BnRuleCondition_bnRuleConditionvue_type_script_lang_js = (bnRuleConditionvue_type_script_lang_js);
18760
- // 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/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=0&id=1d87e9a2&prod&lang=scss
18761
- var bnRuleConditionvue_type_style_index_0_id_1d87e9a2_prod_lang_scss = __webpack_require__(7547);
18762
- ;// ./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=0&id=1d87e9a2&prod&lang=scss
18742
+ // 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/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=0&id=75daf7c0&prod&lang=scss
18743
+ var bnRuleConditionvue_type_style_index_0_id_75daf7c0_prod_lang_scss = __webpack_require__(8089);
18744
+ ;// ./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=0&id=75daf7c0&prod&lang=scss
18763
18745
 
18764
- // 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/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=1&id=1d87e9a2&prod&lang=scss&scoped=true
18765
- var bnRuleConditionvue_type_style_index_1_id_1d87e9a2_prod_lang_scss_scoped_true = __webpack_require__(8515);
18766
- ;// ./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=1&id=1d87e9a2&prod&lang=scss&scoped=true
18746
+ // 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/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=1&id=75daf7c0&prod&lang=scss&scoped=true
18747
+ var bnRuleConditionvue_type_style_index_1_id_75daf7c0_prod_lang_scss_scoped_true = __webpack_require__(4461);
18748
+ ;// ./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=1&id=75daf7c0&prod&lang=scss&scoped=true
18767
18749
 
18768
- // 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/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=2&id=1d87e9a2&prod&lang=scss&scoped=true
18769
- var bnRuleConditionvue_type_style_index_2_id_1d87e9a2_prod_lang_scss_scoped_true = __webpack_require__(4474);
18770
- ;// ./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=2&id=1d87e9a2&prod&lang=scss&scoped=true
18750
+ // 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/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=2&id=75daf7c0&prod&lang=scss&scoped=true
18751
+ var bnRuleConditionvue_type_style_index_2_id_75daf7c0_prod_lang_scss_scoped_true = __webpack_require__(4612);
18752
+ ;// ./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=2&id=75daf7c0&prod&lang=scss&scoped=true
18771
18753
 
18772
- // 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/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=3&id=1d87e9a2&prod&lang=scss&scoped=true
18773
- var bnRuleConditionvue_type_style_index_3_id_1d87e9a2_prod_lang_scss_scoped_true = __webpack_require__(4149);
18774
- ;// ./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=3&id=1d87e9a2&prod&lang=scss&scoped=true
18754
+ // 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/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=3&id=75daf7c0&prod&lang=scss&scoped=true
18755
+ var bnRuleConditionvue_type_style_index_3_id_75daf7c0_prod_lang_scss_scoped_true = __webpack_require__(5348);
18756
+ ;// ./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=style&index=3&id=75daf7c0&prod&lang=scss&scoped=true
18775
18757
 
18776
18758
  ;// ./packages/BnRuleCondition/bnRuleCondition.vue
18777
18759
 
@@ -18787,11 +18769,11 @@ var bnRuleConditionvue_type_style_index_3_id_1d87e9a2_prod_lang_scss_scoped_true
18787
18769
 
18788
18770
  var bnRuleCondition_component = normalizeComponent(
18789
18771
  BnRuleCondition_bnRuleConditionvue_type_script_lang_js,
18790
- bnRuleConditionvue_type_template_id_1d87e9a2_scoped_true_render,
18791
- bnRuleConditionvue_type_template_id_1d87e9a2_scoped_true_staticRenderFns,
18772
+ bnRuleConditionvue_type_template_id_75daf7c0_scoped_true_render,
18773
+ bnRuleConditionvue_type_template_id_75daf7c0_scoped_true_staticRenderFns,
18792
18774
  false,
18793
18775
  null,
18794
- "1d87e9a2",
18776
+ "75daf7c0",
18795
18777
  null
18796
18778
 
18797
18779
  )
@@ -21118,6 +21100,8 @@ var BnVirtPopovervue_type_template_id_387cfe9e_scoped_true_render = function ren
21118
21100
  };
21119
21101
  var BnVirtPopovervue_type_template_id_387cfe9e_scoped_true_staticRenderFns = [];
21120
21102
 
21103
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
21104
+ var es_regexp_test = __webpack_require__(906);
21121
21105
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
21122
21106
  var es_string_trim = __webpack_require__(2762);
21123
21107
  ;// ./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
@@ -21572,8 +21556,6 @@ var es_array_sort = __webpack_require__(6910);
21572
21556
 
21573
21557
 
21574
21558
 
21575
-
21576
-
21577
21559
 
21578
21560
 
21579
21561
 
@@ -21647,6 +21629,161 @@ function parseArea(list, init) {
21647
21629
  function isFourAddressLevel(sourceData) {
21648
21630
  return !!(sourceData && sourceData.extraInfo && sourceData.extraInfo.isFourAddress == 1);
21649
21631
  }
21632
+ var CITY_SUFFIX_KEYS = ['布依族苗族自治州', '苗族侗族自治州', '自治州', '州', '市', '县', '地区'];
21633
+ var INVALID_AREA_NAMES = ['其他', '其它区', '其他区'];
21634
+
21635
+ /**
21636
+ * 去掉地址片段开头的市/州等后缀
21637
+ */
21638
+ function stripLeadingCitySuffix(text) {
21639
+ var result = text;
21640
+ for (var i = 0; i < CITY_SUFFIX_KEYS.length; i++) {
21641
+ var suffix = CITY_SUFFIX_KEYS[i];
21642
+ if (result.indexOf(suffix) === 0) {
21643
+ result = result.substring(suffix.length);
21644
+ break;
21645
+ }
21646
+ }
21647
+ return result;
21648
+ }
21649
+
21650
+ /**
21651
+ * 同名区对应多个城市时,根据地址中是否出现城市名进行消歧
21652
+ */
21653
+ function pickCityByContext(address, areaName, areaData) {
21654
+ if (!areaData || areaData.length === 0) {
21655
+ return null;
21656
+ }
21657
+ if (areaData.length === 1) {
21658
+ return areaData[0];
21659
+ }
21660
+ var areaIdx = address.indexOf(areaName);
21661
+ var best = null;
21662
+ var bestScore = -1;
21663
+ for (var i = 0; i < areaData.length; i++) {
21664
+ var candidate = areaData[i];
21665
+ var score = 0;
21666
+ var cityIdx = address.indexOf(candidate.c);
21667
+ if (cityIdx > -1 && (areaIdx === -1 || cityIdx < areaIdx)) {
21668
+ score = 1000 - (areaIdx === -1 ? cityIdx : areaIdx - cityIdx);
21669
+ }
21670
+ var cityShort = candidate.c.replace('市', '').replace('地区', '');
21671
+ if (cityShort.length >= 2 && cityShort !== candidate.c) {
21672
+ var shortIdx = address.indexOf(cityShort);
21673
+ if (shortIdx > -1 && (areaIdx === -1 || shortIdx < areaIdx)) {
21674
+ var shortScore = 500 - (areaIdx === -1 ? shortIdx : areaIdx - shortIdx);
21675
+ if (shortScore > score) {
21676
+ score = shortScore;
21677
+ }
21678
+ }
21679
+ }
21680
+ if (address.indexOf(candidate.p) > -1) {
21681
+ score += 10;
21682
+ }
21683
+ if (score > bestScore) {
21684
+ bestScore = score;
21685
+ best = candidate;
21686
+ }
21687
+ }
21688
+ return best || areaData[0];
21689
+ }
21690
+
21691
+ /**
21692
+ * 在文本中匹配城市,返回最早出现的城市
21693
+ */
21694
+ function matchCityInText(text, cities) {
21695
+ var matchedCity = null;
21696
+ var matchIdx = -1;
21697
+ var matchedLength = 0;
21698
+ for (var i = 0; i < cities.length; i++) {
21699
+ var city = cities[i];
21700
+ var cityName = city.name;
21701
+ var idx = text.indexOf(cityName);
21702
+ if (idx > -1 && idx < 15) {
21703
+ if (matchIdx === -1 || idx < matchIdx || idx === matchIdx && cityName.length > matchedLength) {
21704
+ matchedCity = city;
21705
+ matchIdx = idx;
21706
+ matchedLength = cityName.length;
21707
+ }
21708
+ }
21709
+ var cityShort = cityName.replace('市', '').replace('地区', '');
21710
+ if (cityShort !== cityName && cityShort.length >= 2) {
21711
+ var shortIdx = text.indexOf(cityShort);
21712
+ if (shortIdx > -1 && shortIdx < 15) {
21713
+ if (matchIdx === -1 || shortIdx < matchIdx || shortIdx === matchIdx && cityShort.length > matchedLength) {
21714
+ matchedCity = city;
21715
+ matchIdx = shortIdx;
21716
+ matchedLength = cityShort.length;
21717
+ }
21718
+ }
21719
+ }
21720
+ }
21721
+ if (!matchedCity) {
21722
+ return null;
21723
+ }
21724
+ var afterCity = text.substring(matchIdx + matchedLength);
21725
+ afterCity = stripLeadingCitySuffix(afterCity);
21726
+ return {
21727
+ city: matchedCity,
21728
+ afterCity: afterCity
21729
+ };
21730
+ }
21731
+
21732
+ /**
21733
+ * 在城市范围内匹配区/街道,并写入 parse
21734
+ */
21735
+ function matchAreaInCity(afterCity, city, sourceData, parse) {
21736
+ if (!city.area || city.area.length === 0) {
21737
+ return afterCity;
21738
+ }
21739
+ var sortedAreas = city.area.filter(function (a) {
21740
+ return a && INVALID_AREA_NAMES.indexOf(a) === -1 && a.length >= 2;
21741
+ }).sort(function (a, b) {
21742
+ return b.length - a.length;
21743
+ });
21744
+ for (var i = 0; i < sortedAreas.length; i++) {
21745
+ var areaName = sortedAreas[i];
21746
+ var areaIdx = afterCity.indexOf(areaName);
21747
+ if (areaIdx > -1 && areaIdx < 15) {
21748
+ parse.area = areaName;
21749
+ var afterArea = afterCity.substring(areaIdx + areaName.length);
21750
+ if (isFourAddressLevel(sourceData) && city.street && city.street[areaName]) {
21751
+ var streets = city.street[areaName];
21752
+ if (streets && streets.length > 0) {
21753
+ var sortedStreets = streets.filter(function (s) {
21754
+ return s && INVALID_AREA_NAMES.indexOf(s) === -1 && s.length >= 2;
21755
+ }).sort(function (a, b) {
21756
+ return b.length - a.length;
21757
+ });
21758
+ for (var j = 0; j < sortedStreets.length; j++) {
21759
+ var streetName = sortedStreets[j];
21760
+ var streetIdx = afterArea.indexOf(streetName);
21761
+ if (streetIdx > -1 && streetIdx < 8) {
21762
+ parse.street = streetName;
21763
+ afterArea = afterArea.substring(streetIdx + streetName.length);
21764
+ break;
21765
+ }
21766
+ var streetShort = streetName.replace('街道', '').replace('镇', '').replace('乡', '');
21767
+ if (streetShort !== streetName && streetShort.length >= 2) {
21768
+ streetIdx = afterArea.indexOf(streetShort);
21769
+ if (streetIdx > -1 && streetIdx < 8) {
21770
+ parse.street = streetName;
21771
+ afterArea = afterArea.substring(streetIdx + streetShort.length);
21772
+ if (afterArea.startsWith('区')) {
21773
+ afterArea = afterArea.substring(1);
21774
+ }
21775
+ break;
21776
+ }
21777
+ }
21778
+ }
21779
+ }
21780
+ }
21781
+ parse.addr = afterArea.trim();
21782
+ return '';
21783
+ }
21784
+ }
21785
+ return afterCity;
21786
+ }
21650
21787
 
21651
21788
  /**
21652
21789
  * 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
@@ -21940,154 +22077,106 @@ function detail_parse_forward(address, sourceData) {
21940
22077
  return parse;
21941
22078
  }
21942
22079
 
21943
- // ========== 第二步:在省份内查找 area,反推城市 ==========
22080
+ // ========== 第二步:优先匹配城市,再匹配区;无城市时再按区反推 ==========
21944
22081
  if (matchedProvince.city && matchedProvince.city.length > 0) {
21945
- // 收集所有 area
22082
+ var cityMatch = matchCityInText(remaining, matchedProvince.city);
22083
+ if (cityMatch) {
22084
+ parse.city = cityMatch.city.name;
22085
+ console.log('匹配到城市:', parse.city);
22086
+ var afterArea = matchAreaInCity(cityMatch.afterCity, cityMatch.city, sourceData, parse);
22087
+ if (parse.area) {
22088
+ console.log('匹配到area:', parse.area, '城市:', parse.city);
22089
+ return parse;
22090
+ }
22091
+ parse.addr = afterArea.trim();
22092
+ return parse;
22093
+ }
22094
+ console.log('未匹配到城市,尝试通过区名反推城市');
22095
+
22096
+ // 收集所有 area,同名区优先选择地址中出现对应城市名的
21946
22097
  var allAreas = [];
21947
- var _iterator = _createForOfIteratorHelper(matchedProvince.city),
21948
- _step;
21949
- try {
21950
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
21951
- var city = _step.value;
21952
- if (city.area && city.area.length > 0) {
21953
- var _iterator4 = _createForOfIteratorHelper(city.area),
21954
- _step4;
21955
- try {
21956
- for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
21957
- var areaName = _step4.value;
21958
- if (areaName && areaName !== '其他' && areaName !== '其它区' && areaName !== '其他区' && areaName.length >= 2) {
21959
- allAreas.push({
21960
- areaName: areaName,
21961
- cityName: city.name,
21962
- cityData: city
21963
- });
21964
- }
22098
+ for (var _i2 = 0; _i2 < matchedProvince.city.length; _i2++) {
22099
+ var city = matchedProvince.city[_i2];
22100
+ if (city.area && city.area.length > 0) {
22101
+ for (var j = 0; j < city.area.length; j++) {
22102
+ var areaName = city.area[j];
22103
+ if (areaName && INVALID_AREA_NAMES.indexOf(areaName) === -1 && areaName.length >= 2) {
22104
+ var _idx = remaining.indexOf(areaName);
22105
+ if (_idx > -1 && _idx < 15) {
22106
+ allAreas.push({
22107
+ areaName: areaName,
22108
+ cityName: city.name,
22109
+ cityData: city,
22110
+ index: _idx
22111
+ });
21965
22112
  }
21966
- } catch (err) {
21967
- _iterator4.e(err);
21968
- } finally {
21969
- _iterator4.f();
21970
22113
  }
21971
22114
  }
21972
22115
  }
21973
-
21974
- // 按长度降序
21975
- } catch (err) {
21976
- _iterator.e(err);
21977
- } finally {
21978
- _iterator.f();
21979
22116
  }
21980
22117
  allAreas.sort(function (a, b) {
22118
+ if (a.index !== b.index) {
22119
+ return a.index - b.index;
22120
+ }
21981
22121
  return b.areaName.length - a.areaName.length;
21982
22122
  });
21983
-
21984
- // 查找匹配的 area
21985
- for (var _i2 = 0, _allAreas = allAreas; _i2 < _allAreas.length; _i2++) {
21986
- var areaItem = _allAreas[_i2];
21987
- var _idx = remaining.indexOf(areaItem.areaName);
21988
- if (_idx > -1 && _idx < 10) {
21989
- parse.city = areaItem.cityName;
21990
- parse.area = areaItem.areaName;
21991
- var afterArea = remaining.substring(_idx + areaItem.areaName.length);
21992
- console.log('匹配到area:', areaItem.areaName, '城市:', areaItem.cityName);
21993
-
21994
- // 四级地址才单独匹配街道,三级地址街道保留在详细地址中
21995
- if (isFourAddressLevel(sourceData) && areaItem.cityData.street && areaItem.cityData.street[areaItem.areaName]) {
21996
- var streets = areaItem.cityData.street[areaItem.areaName];
21997
- if (streets && streets.length > 0) {
21998
- var sortedStreets = streets.filter(function (s) {
21999
- return s && s !== '其他' && s !== '其它区' && s !== '其他区' && s.length >= 2;
22000
- }).sort(function (a, b) {
22001
- return b.length - a.length;
22002
- });
22003
- console.log('该area下的街道:', sortedStreets.slice(0, 5));
22004
- var _iterator2 = _createForOfIteratorHelper(sortedStreets),
22005
- _step2;
22006
- try {
22007
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
22008
- var streetName = _step2.value;
22009
- // 完整匹配
22010
- var streetIdx = afterArea.indexOf(streetName);
22011
- if (streetIdx > -1 && streetIdx < 8) {
22012
- parse.street = streetName;
22013
- afterArea = afterArea.substring(streetIdx + streetName.length);
22014
- console.log('匹配到街道(完整):', streetName);
22015
- break;
22016
- }
22017
-
22018
- // 模糊匹配:去掉后缀
22019
- var streetShort = streetName.replace('街道', '').replace('镇', '').replace('乡', '');
22020
- if (streetShort !== streetName && streetShort.length >= 2) {
22021
- streetIdx = afterArea.indexOf(streetShort);
22022
- if (streetIdx > -1 && streetIdx < 8) {
22023
- parse.street = streetName;
22024
- afterArea = afterArea.substring(streetIdx + streetShort.length);
22025
- if (afterArea.startsWith('区')) {
22026
- afterArea = afterArea.substring(1);
22027
- }
22028
- console.log('匹配到街道(模糊):', streetShort, '->', streetName);
22029
- break;
22030
- }
22031
- }
22032
- }
22033
- } catch (err) {
22034
- _iterator2.e(err);
22035
- } finally {
22036
- _iterator2.f();
22037
- }
22038
- }
22123
+ if (allAreas.length > 0) {
22124
+ var firstAreaName = allAreas[0].areaName;
22125
+ var sameNameAreas = allAreas.filter(function (item) {
22126
+ return item.areaName === firstAreaName && item.index === allAreas[0].index;
22127
+ });
22128
+ var selectedArea = sameNameAreas[0];
22129
+ if (sameNameAreas.length > 1) {
22130
+ var areaData = sameNameAreas.map(function (item) {
22131
+ return {
22132
+ p: matchedProvince.name,
22133
+ c: item.cityName
22134
+ };
22135
+ });
22136
+ var picked = pickCityByContext(remaining, firstAreaName, areaData);
22137
+ if (picked) {
22138
+ selectedArea = sameNameAreas.find(function (item) {
22139
+ return item.cityName === picked.c;
22140
+ }) || selectedArea;
22039
22141
  }
22040
- parse.addr = afterArea.trim();
22041
- return parse;
22042
22142
  }
22043
- }
22044
- console.log('未匹配到area,尝试直接匹配城市');
22045
-
22046
- // 如果没找到 area,尝试直接匹配城市名
22047
- var _iterator3 = _createForOfIteratorHelper(matchedProvince.city),
22048
- _step3;
22049
- try {
22050
- for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
22051
- var _city = _step3.value;
22052
- var cityName = _city.name;
22053
- var _idx2 = remaining.indexOf(cityName);
22054
- if (_idx2 > -1 && _idx2 < 10) {
22055
- parse.city = cityName;
22056
- remaining = remaining.substring(_idx2 + cityName.length);
22057
-
22058
- // 尝试在剩余部分找 area
22059
- if (_city.area && _city.area.length > 0) {
22060
- var sortedAreas = _toConsumableArray(_city.area).filter(function (a) {
22061
- return a && a.length >= 2;
22062
- }).sort(function (a, b) {
22063
- return b.length - a.length;
22064
- });
22065
- var _iterator5 = _createForOfIteratorHelper(sortedAreas),
22066
- _step5;
22067
- try {
22068
- for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
22069
- var _areaName = _step5.value;
22070
- var areaIdx = remaining.indexOf(_areaName);
22071
- if (areaIdx > -1 && areaIdx < 10) {
22072
- parse.area = _areaName;
22073
- remaining = remaining.substring(areaIdx + _areaName.length);
22074
- break;
22143
+ parse.city = selectedArea.cityName;
22144
+ parse.area = selectedArea.areaName;
22145
+ var _afterArea = remaining.substring(selectedArea.index + selectedArea.areaName.length);
22146
+ console.log('通过区反推城市:', parse.city, 'area:', parse.area);
22147
+ if (isFourAddressLevel(sourceData) && selectedArea.cityData.street && selectedArea.cityData.street[selectedArea.areaName]) {
22148
+ var streets = selectedArea.cityData.street[selectedArea.areaName];
22149
+ if (streets && streets.length > 0) {
22150
+ var sortedStreets = streets.filter(function (s) {
22151
+ return s && INVALID_AREA_NAMES.indexOf(s) === -1 && s.length >= 2;
22152
+ }).sort(function (a, b) {
22153
+ return b.length - a.length;
22154
+ });
22155
+ for (var _i3 = 0; _i3 < sortedStreets.length; _i3++) {
22156
+ var streetName = sortedStreets[_i3];
22157
+ var streetIdx = _afterArea.indexOf(streetName);
22158
+ if (streetIdx > -1 && streetIdx < 8) {
22159
+ parse.street = streetName;
22160
+ _afterArea = _afterArea.substring(streetIdx + streetName.length);
22161
+ break;
22162
+ }
22163
+ var streetShort = streetName.replace('街道', '').replace('镇', '').replace('乡', '');
22164
+ if (streetShort !== streetName && streetShort.length >= 2) {
22165
+ streetIdx = _afterArea.indexOf(streetShort);
22166
+ if (streetIdx > -1 && streetIdx < 8) {
22167
+ parse.street = streetName;
22168
+ _afterArea = _afterArea.substring(streetIdx + streetShort.length);
22169
+ if (_afterArea.startsWith('区')) {
22170
+ _afterArea = _afterArea.substring(1);
22075
22171
  }
22172
+ break;
22076
22173
  }
22077
- } catch (err) {
22078
- _iterator5.e(err);
22079
- } finally {
22080
- _iterator5.f();
22081
22174
  }
22082
22175
  }
22083
- parse.addr = remaining.trim();
22084
- return parse;
22085
22176
  }
22086
22177
  }
22087
- } catch (err) {
22088
- _iterator3.e(err);
22089
- } finally {
22090
- _iterator3.f();
22178
+ parse.addr = _afterArea.trim();
22179
+ return parse;
22091
22180
  }
22092
22181
  }
22093
22182
  parse.addr = remaining;
@@ -22123,9 +22212,10 @@ function findProvinceByArea(address) {
22123
22212
  var bestMatch = allAreas[0];
22124
22213
  var areaData = bestMatch.data;
22125
22214
  if (areaData && areaData.length >= 1) {
22215
+ var picked = pickCityByContext(address, bestMatch.name, areaData);
22126
22216
  return {
22127
- province: areaData[0].p,
22128
- city: areaData[0].c,
22217
+ province: picked.p,
22218
+ city: picked.c,
22129
22219
  area: bestMatch.name,
22130
22220
  addr: address.substring(bestMatch.index + bestMatch.name.length)
22131
22221
  };
@@ -22189,42 +22279,10 @@ function detail_parse(address) {
22189
22279
  console.log('该area有多个城市:', areaData.map(function (d) {
22190
22280
  return d.c;
22191
22281
  }));
22192
-
22193
- // 通过上下文判断
22194
- var _iterator6 = _createForOfIteratorHelper(areaData),
22195
- _step6;
22196
- try {
22197
- for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
22198
- var _candidate = _step6.value;
22199
- if (address.includes(_candidate.c)) {
22200
- parse.province = _candidate.p;
22201
- parse.city = _candidate.c;
22202
- break;
22203
- }
22204
- }
22205
- } catch (err) {
22206
- _iterator6.e(err);
22207
- } finally {
22208
- _iterator6.f();
22209
- }
22210
- if (!parse.city) {
22211
- var _iterator7 = _createForOfIteratorHelper(areaData),
22212
- _step7;
22213
- try {
22214
- for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
22215
- var candidate = _step7.value;
22216
- var cityShort = candidate.c.replace('市', '');
22217
- if (cityShort.length >= 2 && address.includes(cityShort)) {
22218
- parse.province = candidate.p;
22219
- parse.city = candidate.c;
22220
- break;
22221
- }
22222
- }
22223
- } catch (err) {
22224
- _iterator7.e(err);
22225
- } finally {
22226
- _iterator7.f();
22227
- }
22282
+ var picked = pickCityByContext(address, bestMatch.name, areaData);
22283
+ if (picked) {
22284
+ parse.province = picked.p;
22285
+ parse.city = picked.c;
22228
22286
  }
22229
22287
  }
22230
22288
  }
@@ -24178,10 +24236,10 @@ const BnAppletUi = {
24178
24236
  Vue.component("BnDialog", dialog);
24179
24237
  Vue.component("BnDrop", BnDrop);
24180
24238
  Vue.component("BnDropdown", bnDropdown);
24239
+ Vue.component("BnEmptyTip", BnEmptyTip);
24181
24240
  Vue.component("BnFileView", BnFileView);
24182
24241
  Vue.component("BnFunText", bnFunText);
24183
24242
  Vue.component("BnInpNum", BnInpNum);
24184
- Vue.component("BnInputNum", BnInputNum);
24185
24243
  Vue.component("BnRuleCondition", bnRuleCondition);
24186
24244
  Vue.component("BnSelect", BnSelect_select);
24187
24245
  Vue.component("BnFiTaxAutoComplete", BnFiTaxAutoComplete);