@bytenew/bn-applet-ui 1.1.20 → 1.1.22

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.
@@ -308,7 +308,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `*[data-v-c3b70e18]{box-sizing:border-b
308
308
 
309
309
  /***/ },
310
310
 
311
- /***/ 6160
311
+ /***/ 9139
312
312
  (module, __webpack_exports__, __webpack_require__) {
313
313
 
314
314
  "use strict";
@@ -325,7 +325,7 @@ __webpack_require__.r(__webpack_exports__);
325
325
 
326
326
  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()));
327
327
  // Module
328
- ___CSS_LOADER_EXPORT___.push([module.id, `.bnInput-underline[data-v-dc8beb30] .el-input__inner{box-shadow:none;border-bottom:1px solid #dcdfe6;border-radius:0}`, ""]);
328
+ ___CSS_LOADER_EXPORT___.push([module.id, `.bnInput-underline[data-v-ff93d4f6] .el-input__inner{box-shadow:none;border-bottom:1px solid #dcdfe6;border-radius:0}`, ""]);
329
329
  // Exports
330
330
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
331
331
 
@@ -960,19 +960,19 @@ var update = add("1f9ce5b4", content, true, {"sourceMap":false,"shadowMode":fals
960
960
 
961
961
  /***/ },
962
962
 
963
- /***/ 1820
963
+ /***/ 1935
964
964
  (module, __unused_webpack_exports, __webpack_require__) {
965
965
 
966
966
  // style-loader: Adds some css to the DOM by adding a <style> tag
967
967
 
968
968
  // load the styles
969
- var content = __webpack_require__(6160);
969
+ var content = __webpack_require__(9139);
970
970
  if(content.__esModule) content = content.default;
971
971
  if(typeof content === 'string') content = [[module.id, content, '']];
972
972
  if(content.locals) module.exports = content.locals;
973
973
  // add the styles to the DOM
974
974
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
975
- var update = add("4fe5e778", content, true, {"sourceMap":false,"shadowMode":false});
975
+ var update = add("51cf4cdb", content, true, {"sourceMap":false,"shadowMode":false});
976
976
 
977
977
  /***/ },
978
978
 
@@ -1932,6 +1932,56 @@ var uncurryThis = __webpack_require__(9504);
1932
1932
  module.exports = uncurryThis([].slice);
1933
1933
 
1934
1934
 
1935
+ /***/ },
1936
+
1937
+ /***/ 4488
1938
+ (module, __unused_webpack_exports, __webpack_require__) {
1939
+
1940
+ "use strict";
1941
+
1942
+ var arraySlice = __webpack_require__(7680);
1943
+
1944
+ var floor = Math.floor;
1945
+
1946
+ var sort = function (array, comparefn) {
1947
+ var length = array.length;
1948
+
1949
+ if (length < 8) {
1950
+ // insertion sort
1951
+ var i = 1;
1952
+ var element, j;
1953
+
1954
+ while (i < length) {
1955
+ j = i;
1956
+ element = array[i];
1957
+ while (j && comparefn(array[j - 1], element) > 0) {
1958
+ array[j] = array[--j];
1959
+ }
1960
+ if (j !== i++) array[j] = element;
1961
+ }
1962
+ } else {
1963
+ // merge sort
1964
+ var middle = floor(length / 2);
1965
+ var left = sort(arraySlice(array, 0, middle), comparefn);
1966
+ var right = sort(arraySlice(array, middle), comparefn);
1967
+ var llength = left.length;
1968
+ var rlength = right.length;
1969
+ var lindex = 0;
1970
+ var rindex = 0;
1971
+
1972
+ while (lindex < llength || rindex < rlength) {
1973
+ array[lindex + rindex] = (lindex < llength && rindex < rlength)
1974
+ ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]
1975
+ : lindex < llength ? left[lindex++] : right[rindex++];
1976
+ }
1977
+ }
1978
+
1979
+ return array;
1980
+ };
1981
+
1982
+ module.exports = sort;
1983
+
1984
+
1935
1985
  /***/ },
1936
1986
 
1937
1987
  /***/ 7433
@@ -2801,6 +2851,32 @@ module.exports = [
2801
2851
  ];
2802
2852
 
2803
2853
 
2854
+ /***/ },
2855
+
2856
+ /***/ 3709
2857
+ (module, __unused_webpack_exports, __webpack_require__) {
2858
+
2859
+ "use strict";
2860
+
2861
+ var userAgent = __webpack_require__(2839);
2862
+
2863
+ var firefox = userAgent.match(/firefox\/(\d+)/i);
2864
+
2865
+ module.exports = !!firefox && +firefox[1];
2866
+
2867
+
2868
+ /***/ },
2869
+
2870
+ /***/ 3763
2871
+ (module, __unused_webpack_exports, __webpack_require__) {
2872
+
2873
+ "use strict";
2874
+
2875
+ var UA = __webpack_require__(2839);
2876
+
2877
+ module.exports = /MSIE|Trident/.test(UA);
2878
+
2879
+
2804
2880
  /***/ },
2805
2881
 
2806
2882
  /***/ 2839
@@ -2852,6 +2928,20 @@ if (!version && userAgent) {
2852
2928
  module.exports = version;
2853
2929
 
2854
2930
 
2931
+ /***/ },
2932
+
2933
+ /***/ 3607
2934
+ (module, __unused_webpack_exports, __webpack_require__) {
2935
+
2936
+ "use strict";
2937
+
2938
+ var userAgent = __webpack_require__(2839);
2939
+
2940
+ var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);
2941
+
2942
+ module.exports = !!webkit && +webkit[1];
2943
+
2944
+
2855
2945
  /***/ },
2856
2946
 
2857
2947
  /***/ 4215
@@ -4639,6 +4729,29 @@ Function.prototype.toString = makeBuiltIn(function toString() {
4639
4729
  }, 'toString');
4640
4730
 
4641
4731
 
4732
+ /***/ },
4733
+
4734
+ /***/ 2248
4735
+ (module, __unused_webpack_exports, __webpack_require__) {
4736
+
4737
+ "use strict";
4738
+
4739
+ var uncurryThis = __webpack_require__(9504);
4740
+
4741
+ // eslint-disable-next-line es/no-map -- safe
4742
+ var MapPrototype = Map.prototype;
4743
+
4744
+ module.exports = {
4745
+ // eslint-disable-next-line es/no-map -- safe
4746
+ Map: Map,
4747
+ set: uncurryThis(MapPrototype.set),
4748
+ get: uncurryThis(MapPrototype.get),
4749
+ has: uncurryThis(MapPrototype.has),
4750
+ remove: uncurryThis(MapPrototype['delete']),
4751
+ proto: MapPrototype
4752
+ };
4753
+
4754
+
4642
4755
  /***/ },
4643
4756
 
4644
4757
  /***/ 741
@@ -6413,6 +6526,30 @@ module.exports = function repeat(count) {
6413
6526
  };
6414
6527
 
6415
6528
 
6529
+ /***/ },
6530
+
6531
+ /***/ 706
6532
+ (module, __unused_webpack_exports, __webpack_require__) {
6533
+
6534
+ "use strict";
6535
+
6536
+ var PROPER_FUNCTION_NAME = (__webpack_require__(350).PROPER);
6537
+ var fails = __webpack_require__(9039);
6538
+ var whitespaces = __webpack_require__(7452);
6539
+
6540
+ var non = '\u200B\u0085\u180E';
6541
+
6542
+ // check that a method works with the correct list
6543
+ // of whitespaces and has a correct name
6544
+ module.exports = function (METHOD_NAME) {
6545
+ return fails(function () {
6546
+ return !!whitespaces[METHOD_NAME]()
6547
+ || non[METHOD_NAME]() !== non
6548
+ || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
6549
+ });
6550
+ };
6551
+
6552
+
6416
6553
  /***/ },
6417
6554
 
6418
6555
  /***/ 3802
@@ -7377,6 +7514,122 @@ $({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {
7377
7514
  });
7378
7515
 
7379
7516
 
7517
+ /***/ },
7518
+
7519
+ /***/ 6910
7520
+ (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
7521
+
7522
+ "use strict";
7523
+
7524
+ var $ = __webpack_require__(6518);
7525
+ var uncurryThis = __webpack_require__(9504);
7526
+ var aCallable = __webpack_require__(9306);
7527
+ var toObject = __webpack_require__(8981);
7528
+ var lengthOfArrayLike = __webpack_require__(6198);
7529
+ var deletePropertyOrThrow = __webpack_require__(4606);
7530
+ var toString = __webpack_require__(655);
7531
+ var fails = __webpack_require__(9039);
7532
+ var internalSort = __webpack_require__(4488);
7533
+ var arrayMethodIsStrict = __webpack_require__(4598);
7534
+ var FF = __webpack_require__(3709);
7535
+ var IE_OR_EDGE = __webpack_require__(3763);
7536
+ var V8 = __webpack_require__(9519);
7537
+ var WEBKIT = __webpack_require__(3607);
7538
+
7539
+ var test = [];
7540
+ var nativeSort = uncurryThis(test.sort);
7541
+ var push = uncurryThis(test.push);
7542
+
7543
+ // IE8-
7544
+ var FAILS_ON_UNDEFINED = fails(function () {
7545
+ test.sort(undefined);
7546
+ });
7547
+ // V8 bug
7548
+ var FAILS_ON_NULL = fails(function () {
7549
+ test.sort(null);
7550
+ });
7551
+ // Old WebKit
7552
+ var STRICT_METHOD = arrayMethodIsStrict('sort');
7553
+
7554
+ var STABLE_SORT = !fails(function () {
7555
+ // feature detection can be too slow, so check engines versions
7556
+ if (V8) return V8 < 70;
7557
+ if (FF && FF > 3) return;
7558
+ if (IE_OR_EDGE) return true;
7559
+ if (WEBKIT) return WEBKIT < 603;
7560
+
7561
+ var result = '';
7562
+ var code, chr, value, index;
7563
+
7564
+ // generate an array with more 512 elements (Chakra and old V8 fails only in this case)
7565
+ for (code = 65; code < 76; code++) {
7566
+ chr = String.fromCharCode(code);
7567
+
7568
+ switch (code) {
7569
+ case 66: case 69: case 70: case 72: value = 3; break;
7570
+ case 68: case 71: value = 4; break;
7571
+ default: value = 2;
7572
+ }
7573
+
7574
+ for (index = 0; index < 47; index++) {
7575
+ test.push({ k: chr + index, v: value });
7576
+ }
7577
+ }
7578
+
7579
+ test.sort(function (a, b) { return b.v - a.v; });
7580
+
7581
+ for (index = 0; index < test.length; index++) {
7582
+ chr = test[index].k.charAt(0);
7583
+ if (result.charAt(result.length - 1) !== chr) result += chr;
7584
+ }
7585
+
7586
+ return result !== 'DGBEFHACIJK';
7587
+ });
7588
+
7589
+ var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;
7590
+
7591
+ var getSortCompare = function (comparefn) {
7592
+ return function (x, y) {
7593
+ if (y === undefined) return -1;
7594
+ if (x === undefined) return 1;
7595
+ if (comparefn !== undefined) return +comparefn(x, y) || 0;
7596
+ var xString = toString(x);
7597
+ var yString = toString(y);
7598
+ return xString === yString ? 0 : xString > yString ? 1 : -1;
7599
+ };
7600
+ };
7601
+
7602
+ // `Array.prototype.sort` method
7603
+ // https://tc39.es/ecma262/#sec-array.prototype.sort
7604
+ $({ target: 'Array', proto: true, forced: FORCED }, {
7605
+ sort: function sort(comparefn) {
7606
+ if (comparefn !== undefined) aCallable(comparefn);
7607
+
7608
+ var array = toObject(this);
7609
+
7610
+ if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);
7611
+
7612
+ var items = [];
7613
+ var arrayLength = lengthOfArrayLike(array);
7614
+ var itemsLength, index;
7615
+
7616
+ for (index = 0; index < arrayLength; index++) {
7617
+ if (index in array) push(items, array[index]);
7618
+ }
7619
+
7620
+ internalSort(items, getSortCompare(comparefn));
7621
+
7622
+ itemsLength = lengthOfArrayLike(items);
7623
+ index = 0;
7624
+
7625
+ while (index < itemsLength) array[index] = items[index++];
7626
+ while (index < arrayLength) deletePropertyOrThrow(array, index++);
7627
+
7628
+ return array;
7629
+ }
7630
+ });
7631
+
7632
+
7380
7633
  /***/ },
7381
7634
 
7382
7635
  /***/ 4554
@@ -8320,6 +8573,92 @@ if ($stringify) $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_
8320
8573
  });
8321
8574
 
8322
8575
 
8576
+ /***/ },
8577
+
8578
+ /***/ 8523
8579
+ (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
8580
+
8581
+ "use strict";
8582
+
8583
+ var collection = __webpack_require__(6468);
8584
+ var collectionStrong = __webpack_require__(6938);
8585
+
8586
+ // `Map` constructor
8587
+ // https://tc39.es/ecma262/#sec-map-objects
8588
+ collection('Map', function (init) {
8589
+ return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };
8590
+ }, collectionStrong);
8591
+
8592
+
8593
+ /***/ },
8594
+
8595
+ /***/ 2731
8596
+ (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
8597
+
8598
+ "use strict";
8599
+
8600
+ var $ = __webpack_require__(6518);
8601
+ var aCallable = __webpack_require__(9306);
8602
+ var MapHelpers = __webpack_require__(2248);
8603
+ var IS_PURE = __webpack_require__(6395);
8604
+
8605
+ var get = MapHelpers.get;
8606
+ var has = MapHelpers.has;
8607
+ var set = MapHelpers.set;
8608
+
8609
+ // `Map.prototype.getOrInsertComputed` method
8610
+ // https://tc39.es/ecma262/#sec-map.prototype.getorinsertcomputed
8611
+ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
8612
+ getOrInsertComputed: function getOrInsertComputed(key, callbackfn) {
8613
+ var hasKey = has(this, key);
8614
+ aCallable(callbackfn);
8615
+ if (hasKey) return get(this, key);
8616
+ // CanonicalizeKeyedCollectionKey
8617
+ if (key === 0 && 1 / key === -Infinity) key = 0;
8618
+ var value = callbackfn(key);
8619
+ set(this, key, value);
8620
+ return value;
8621
+ }
8622
+ });
8623
+
8624
+
8625
+ /***/ },
8626
+
8627
+ /***/ 5367
8628
+ (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
8629
+
8630
+ "use strict";
8631
+
8632
+ var $ = __webpack_require__(6518);
8633
+ var MapHelpers = __webpack_require__(2248);
8634
+ var IS_PURE = __webpack_require__(6395);
8635
+
8636
+ var get = MapHelpers.get;
8637
+ var has = MapHelpers.has;
8638
+ var set = MapHelpers.set;
8639
+
8640
+ // `Map.prototype.getOrInsert` method
8641
+ // https://tc39.es/ecma262/#sec-map.prototype.getorinsert
8642
+ $({ target: 'Map', proto: true, real: true, forced: IS_PURE }, {
8643
+ getOrInsert: function getOrInsert(key, value) {
8644
+ if (has(this, key)) return get(this, key);
8645
+ set(this, key, value);
8646
+ return value;
8647
+ }
8648
+ });
8649
+
8650
+
8651
+ /***/ },
8652
+
8653
+ /***/ 6033
8654
+ (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
8655
+
8656
+ "use strict";
8657
+
8658
+ // TODO: Remove this module from `core-js@4` since it's replaced to module below
8659
+ __webpack_require__(8523);
8660
+
8661
+
8323
8662
  /***/ },
8324
8663
 
8325
8664
  /***/ 2892
@@ -9261,6 +9600,48 @@ $({ target: 'Set', proto: true, real: true, forced: FORCED }, {
9261
9600
  });
9262
9601
 
9263
9602
 
9603
+ /***/ },
9604
+
9605
+ /***/ 9449
9606
+ (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
9607
+
9608
+ "use strict";
9609
+
9610
+ var $ = __webpack_require__(6518);
9611
+ var uncurryThis = __webpack_require__(7476);
9612
+ var getOwnPropertyDescriptor = (__webpack_require__(7347).f);
9613
+ var toLength = __webpack_require__(8014);
9614
+ var toString = __webpack_require__(655);
9615
+ var notARegExp = __webpack_require__(511);
9616
+ var requireObjectCoercible = __webpack_require__(7750);
9617
+ var correctIsRegExpLogic = __webpack_require__(1436);
9618
+ var IS_PURE = __webpack_require__(6395);
9619
+
9620
+ var slice = uncurryThis(''.slice);
9621
+ var min = Math.min;
9622
+
9623
+ var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');
9624
+ // https://github.com/zloirock/core-js/pull/702
9625
+ var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {
9626
+ var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');
9627
+ return descriptor && !descriptor.writable;
9628
+ }();
9629
+
9630
+ // `String.prototype.endsWith` method
9631
+ // https://tc39.es/ecma262/#sec-string.prototype.endswith
9632
+ $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
9633
+ endsWith: function endsWith(searchString /* , endPosition = @length */) {
9634
+ var that = toString(requireObjectCoercible(this));
9635
+ notARegExp(searchString);
9636
+ var search = toString(searchString);
9637
+ var endPosition = arguments.length > 1 ? arguments[1] : undefined;
9638
+ var len = that.length;
9639
+ var end = endPosition === undefined ? len : min(toLength(endPosition), len);
9640
+ return slice(that, end - search.length, end) === search;
9641
+ }
9642
+ });
9643
+
9644
+
9264
9645
  /***/ },
9265
9646
 
9266
9647
  /***/ 1699
@@ -9666,6 +10047,26 @@ $({ target: 'String', proto: true, forced: FORCED }, {
9666
10047
  });
9667
10048
 
9668
10049
 
10050
+ /***/ },
10051
+
10052
+ /***/ 2762
10053
+ (__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
10054
+
10055
+ "use strict";
10056
+
10057
+ var $ = __webpack_require__(6518);
10058
+ var $trim = (__webpack_require__(3802).trim);
10059
+ var forcedStringTrimMethod = __webpack_require__(706);
10060
+
10061
+ // `String.prototype.trim` method
10062
+ // https://tc39.es/ecma262/#sec-string.prototype.trim
10063
+ $({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
10064
+ trim: function trim() {
10065
+ return $trim(this);
10066
+ }
10067
+ });
10068
+
10069
+
9669
10070
  /***/ },
9670
10071
 
9671
10072
  /***/ 3500
@@ -9932,7 +10333,9 @@ __webpack_require__.d(__webpack_exports__, {
9932
10333
  BnInputNum: () => (/* reexport */ BnInputNum),
9933
10334
  BnRuleCondition: () => (/* reexport */ bnRuleCondition),
9934
10335
  BnSelect: () => (/* reexport */ BnSelect_select),
9935
- "default": () => (/* binding */ entry_lib)
10336
+ addressParse: () => (/* reexport */ addressParse),
10337
+ "default": () => (/* binding */ entry_lib),
10338
+ idsToTexts: () => (/* reexport */ idsToTexts)
9936
10339
  });
9937
10340
 
9938
10341
  ;// ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
@@ -9953,7 +10356,7 @@ if (typeof window !== 'undefined') {
9953
10356
  // Indicate to webpack that this file can be concatenated
9954
10357
  /* harmony default export */ const setPublicPath = (null);
9955
10358
 
9956
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddress/index.vue?vue&type=template&id=8705bc38&scoped=true
10359
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddress/index.vue?vue&type=template&id=8705bc38&scoped=true
9957
10360
  var render = function render() {
9958
10361
  var _vm = this,
9959
10362
  _c = _vm._self._c;
@@ -10348,7 +10751,7 @@ var component = normalizeComponent(
10348
10751
  )
10349
10752
 
10350
10753
  /* harmony default export */ const BnAddress = (component.exports);
10351
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddressParse/index.vue?vue&type=template&id=3a0d7cb0
10754
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddressParse/index.vue?vue&type=template&id=3a0d7cb0
10352
10755
  var BnAddressParsevue_type_template_id_3a0d7cb0_render = function render() {
10353
10756
  var _vm = this,
10354
10757
  _c = _vm._self._c;
@@ -10425,8 +10828,8 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
10425
10828
  };
10426
10829
  },
10427
10830
  methods: {
10428
- /**
10429
- * 自动识别方法(使用防抖)
10831
+ /**
10832
+ * 自动识别方法(使用防抖)
10430
10833
  */
10431
10834
  autoAds: (0,external_lodash_.debounce)(function () {
10432
10835
  var _this = this;
@@ -10485,7 +10888,7 @@ var BnAddressParse_component = normalizeComponent(
10485
10888
  )
10486
10889
 
10487
10890
  /* harmony default export */ const BnAddressParse = (BnAddressParse_component.exports);
10488
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnCheck/BnCheck.vue?vue&type=template&id=3782b7e9&scoped=true
10891
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnCheck/BnCheck.vue?vue&type=template&id=3782b7e9&scoped=true
10489
10892
  var BnCheckvue_type_template_id_3782b7e9_scoped_true_render = function render() {
10490
10893
  var _vm = this,
10491
10894
  _c = _vm._self._c;
@@ -10629,8 +11032,8 @@ var es_string_includes = __webpack_require__(1699);
10629
11032
  }
10630
11033
  },
10631
11034
  methods: {
10632
- /**
10633
- * 组件默认判断
11035
+ /**
11036
+ * 组件默认判断
10634
11037
  * */
10635
11038
  check: function check() {
10636
11039
  var _this = this;
@@ -10655,8 +11058,8 @@ var es_string_includes = __webpack_require__(1699);
10655
11058
  }
10656
11059
  }
10657
11060
  },
10658
- /**
10659
- * 点击事件
11061
+ /**
11062
+ * 点击事件
10660
11063
  * */
10661
11064
  handleClick: function handleClick() {
10662
11065
  var _this2 = this;
@@ -10701,8 +11104,8 @@ var es_string_includes = __webpack_require__(1699);
10701
11104
  });
10702
11105
  this.emitClick();
10703
11106
  },
10704
- /**
10705
- * 点击事件透出
11107
+ /**
11108
+ * 点击事件透出
10706
11109
  * */
10707
11110
  emitClick: function emitClick() {
10708
11111
  if (this.onClick) {
@@ -10742,7 +11145,7 @@ var BnCheck_component = normalizeComponent(
10742
11145
  )
10743
11146
 
10744
11147
  /* harmony default export */ const BnCheck = (BnCheck_component.exports);
10745
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDateRange/bnDateRange.vue?vue&type=template&id=5575777a
11148
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDateRange/bnDateRange.vue?vue&type=template&id=5575777a
10746
11149
  var bnDateRangevue_type_template_id_5575777a_render = function render() {
10747
11150
  var _vm = this,
10748
11151
  _c = _vm._self._c;
@@ -10921,8 +11324,8 @@ var es_object_keys = __webpack_require__(9432);
10921
11324
  };
10922
11325
  },
10923
11326
  methods: {
10924
- /**
10925
- * 更新时间选择器数据
11327
+ /**
11328
+ * 更新时间选择器数据
10926
11329
  * */
10927
11330
  updateValue: function updateValue(value) {
10928
11331
  // 更新v-model
@@ -10932,22 +11335,22 @@ var es_object_keys = __webpack_require__(9432);
10932
11335
  // 发送change事件
10933
11336
  this.$emit('change', value);
10934
11337
  },
10935
- /**
10936
- * 失去焦点
11338
+ /**
11339
+ * 失去焦点
10937
11340
  * */
10938
11341
  blur: function blur(val) {
10939
11342
  this.$emit('blur', val);
10940
11343
  },
10941
- /**
10942
- * 获得焦点
11344
+ /**
11345
+ * 获得焦点
10943
11346
  * */
10944
11347
  focus: function focus(val) {
10945
11348
  this.$emit('focus', val);
10946
11349
  }
10947
11350
  },
10948
11351
  computed: {
10949
- /**
10950
- * 日期组件value
11352
+ /**
11353
+ * 日期组件value
10951
11354
  * */
10952
11355
  date: {
10953
11356
  get: function get() {
@@ -11003,7 +11406,7 @@ var bnDateRange_component = normalizeComponent(
11003
11406
  )
11004
11407
 
11005
11408
  /* harmony default export */ const bnDateRange = (bnDateRange_component.exports);
11006
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDialog/dialog.vue?vue&type=template&id=f9aaf6de
11409
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDialog/dialog.vue?vue&type=template&id=f9aaf6de
11007
11410
  var dialogvue_type_template_id_f9aaf6de_render = function render() {
11008
11411
  var _vm = this,
11009
11412
  _c = _vm._self._c;
@@ -11263,7 +11666,7 @@ var dialog_component = normalizeComponent(
11263
11666
  var es_regexp_exec = __webpack_require__(7495);
11264
11667
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
11265
11668
  var es_string_search = __webpack_require__(5746);
11266
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDown/bnDropdown.vue?vue&type=template&id=a5f24f64&scoped=true
11669
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDown/bnDropdown.vue?vue&type=template&id=a5f24f64&scoped=true
11267
11670
 
11268
11671
 
11269
11672
 
@@ -11988,10 +12391,10 @@ function toPinYin(chart) {
11988
12391
  return getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
11989
12392
  }
11990
12393
 
11991
- /**
11992
- * 匹配大小写字母拼音 返回Boolean值
11993
- * @param {*} chart 需要匹配的字符
11994
- * @param {*} data 需要进行匹配的字符
12394
+ /**
12395
+ * 匹配大小写字母拼音 返回Boolean值
12396
+ * @param {*} chart 需要匹配的字符
12397
+ * @param {*} data 需要进行匹配的字符
11995
12398
  */
11996
12399
  function searchToBoolean(chart, data) {
11997
12400
  return toPinYin(data).indexOf(toPinYin(chart)) !== -1;
@@ -12075,11 +12478,11 @@ function searchItemFlat(chart, data, name) {
12075
12478
  name: "bnDropdown",
12076
12479
  props: {
12077
12480
  value: [String, Array, Number, Object],
12078
- /**
12079
- * 下拉弹窗模式
12080
- * 单选(singleCheck) 默认
12081
- * 多选(multiCheck)
12082
- * 多选框(multiCheckBox)
12481
+ /**
12482
+ * 下拉弹窗模式
12483
+ * 单选(singleCheck) 默认
12484
+ * 多选(multiCheck)
12485
+ * 多选框(multiCheckBox)
12083
12486
  */
12084
12487
  checkMode: {
12085
12488
  type: String,
@@ -12252,8 +12655,8 @@ function searchItemFlat(chart, data, name) {
12252
12655
  this.optionCheckMap = checkedMap;
12253
12656
  }
12254
12657
  },
12255
- /**
12256
- * 打开选择器时触发,初始化
12658
+ /**
12659
+ * 打开选择器时触发,初始化
12257
12660
  * */
12258
12661
  open: function open() {
12259
12662
  var _this2 = this;
@@ -12285,8 +12688,8 @@ function searchItemFlat(chart, data, name) {
12285
12688
  this.backshowMultiCheckBox();
12286
12689
  }
12287
12690
  },
12288
- /**
12289
- * 关闭时清除没有确定的选项
12691
+ /**
12692
+ * 关闭时清除没有确定的选项
12290
12693
  */
12291
12694
  close: function close() {
12292
12695
  // 多选框模式
@@ -12317,10 +12720,10 @@ function searchItemFlat(chart, data, name) {
12317
12720
  });
12318
12721
  }
12319
12722
  },
12320
- /**
12321
- * 动态计算title
12322
- * @param {Array} list 数组
12323
- * @param {String} id 需要匹配的id
12723
+ /**
12724
+ * 动态计算title
12725
+ * @param {Array} list 数组
12726
+ * @param {String} id 需要匹配的id
12324
12727
  * */
12325
12728
  foundTitle: function foundTitle() {
12326
12729
  var _this4 = this;
@@ -12342,8 +12745,8 @@ function searchItemFlat(chart, data, name) {
12342
12745
  }
12343
12746
  return title;
12344
12747
  },
12345
- /**
12346
- * 远程加载数据
12748
+ /**
12749
+ * 远程加载数据
12347
12750
  * */
12348
12751
  loadMore: function loadMore() {
12349
12752
  var _this5 = this;
@@ -12359,9 +12762,9 @@ function searchItemFlat(chart, data, name) {
12359
12762
  }
12360
12763
  });
12361
12764
  },
12362
- /**
12363
- * 判断是否选中 选中返回true,未选中返回false
12364
- * @param {Object} item 选项的对象数据
12765
+ /**
12766
+ * 判断是否选中 选中返回true,未选中返回false
12767
+ * @param {Object} item 选项的对象数据
12365
12768
  * */
12366
12769
  checked: function checked(item) {
12367
12770
  var check = false;
@@ -12393,9 +12796,9 @@ function searchItemFlat(chart, data, name) {
12393
12796
  }
12394
12797
  return check;
12395
12798
  },
12396
- /**
12397
- * 点击下拉菜单中的某一项,选中或取消选中
12398
- * @param {Object} item 选项的对象数据
12799
+ /**
12800
+ * 点击下拉菜单中的某一项,选中或取消选中
12801
+ * @param {Object} item 选项的对象数据
12399
12802
  * */
12400
12803
  chooseItem: function chooseItem(item) {
12401
12804
  var value = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
@@ -12465,8 +12868,8 @@ function searchItemFlat(chart, data, name) {
12465
12868
  // change事件
12466
12869
  this.$emit("change", value);
12467
12870
  },
12468
- /**
12469
- * 快捷查询
12871
+ /**
12872
+ * 快捷查询
12470
12873
  * */
12471
12874
  search: debounce(function (val) {
12472
12875
  // 保存当前选中状态
@@ -12580,7 +12983,7 @@ var bnDropdown_component = normalizeComponent(
12580
12983
  )
12581
12984
 
12582
12985
  /* harmony default export */ const bnDropdown = (bnDropdown_component.exports);
12583
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=template&id=27b6fb78&scoped=true
12986
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=template&id=27b6fb78&scoped=true
12584
12987
  var BnFileViewvue_type_template_id_27b6fb78_scoped_true_render = function render() {
12585
12988
  var _vm = this,
12586
12989
  _c = _vm._self._c;
@@ -12687,7 +13090,7 @@ var es_error_to_string = __webpack_require__(6918);
12687
13090
  var es_date_to_string = __webpack_require__(3288);
12688
13091
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.parse-int.js
12689
13092
  var es_parse_int = __webpack_require__(8940);
12690
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/videoPreview.vue?vue&type=template&id=9a7f7bec&scoped=true
13093
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/videoPreview.vue?vue&type=template&id=9a7f7bec&scoped=true
12691
13094
  var videoPreviewvue_type_template_id_9a7f7bec_scoped_true_render = function render() {
12692
13095
  var _vm = this,
12693
13096
  _c = _vm._self._c;
@@ -12733,8 +13136,8 @@ var videoPreviewvue_type_template_id_9a7f7bec_scoped_true_staticRenderFns = [];
12733
13136
  }
12734
13137
  },
12735
13138
  methods: {
12736
- /**
12737
- * 打开播发视频
13139
+ /**
13140
+ * 打开播发视频
12738
13141
  * */
12739
13142
  open: function open(url) {
12740
13143
  this.url = url;
@@ -12769,7 +13172,7 @@ var videoPreview_component = normalizeComponent(
12769
13172
  )
12770
13173
 
12771
13174
  /* harmony default export */ const videoPreview = (videoPreview_component.exports);
12772
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=template&id=7fcc19c2&scoped=true
13175
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=template&id=7fcc19c2&scoped=true
12773
13176
  var FileDetailvue_type_template_id_7fcc19c2_scoped_true_render = function render() {
12774
13177
  var _vm = this,
12775
13178
  _c = _vm._self._c;
@@ -12873,8 +13276,8 @@ var es_parse_float = __webpack_require__(8459);
12873
13276
  }
12874
13277
  },
12875
13278
  methods: {
12876
- /**
12877
- * 获取下载链接
13279
+ /**
13280
+ * 获取下载链接
12878
13281
  * */
12879
13282
  getDownloadUrl: function getDownloadUrl(file) {
12880
13283
  if (this.downType === 'url') {
@@ -12882,8 +13285,8 @@ var es_parse_float = __webpack_require__(8459);
12882
13285
  }
12883
13286
  return !file.id ? file.url : '/v2/attachment/' + file.id;
12884
13287
  },
12885
- /**
12886
- * 计算附件大小
13288
+ /**
13289
+ * 计算附件大小
12887
13290
  * */
12888
13291
  returnSizeText: function returnSizeText(size) {
12889
13292
  if (size && parseFloat(size) / 1024 / 1024 < 1) {
@@ -13052,15 +13455,15 @@ var FileDetail_component = normalizeComponent(
13052
13455
  };
13053
13456
  },
13054
13457
  methods: {
13055
- /**
13056
- * 忽略大小写判断文件类型
13458
+ /**
13459
+ * 忽略大小写判断文件类型
13057
13460
  * */
13058
13461
  includesType: function includesType(typeList, fileType) {
13059
13462
  if (!fileType) return false;
13060
13463
  return (0,external_lodash_.includes)((0,external_lodash_.map)(typeList, external_lodash_.toLower), (0,external_lodash_.toLower)(fileType));
13061
13464
  },
13062
- /**
13063
- * 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
13465
+ /**
13466
+ * 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
13064
13467
  * */
13065
13468
  initViewer: function initViewer(view) {
13066
13469
  this.viewer = view;
@@ -13097,8 +13500,8 @@ var FileDetail_component = normalizeComponent(
13097
13500
  }
13098
13501
  }
13099
13502
  },
13100
- /**
13101
- * 根据文件类型,判端文件预览展示那种图片或icon
13503
+ /**
13504
+ * 根据文件类型,判端文件预览展示那种图片或icon
13102
13505
  * */
13103
13506
  getFileImg: function getFileImg(file) {
13104
13507
  // 默认文件图片
@@ -13141,8 +13544,8 @@ var FileDetail_component = normalizeComponent(
13141
13544
  }
13142
13545
  return url;
13143
13546
  },
13144
- /**
13145
- * 删除附件
13547
+ /**
13548
+ * 删除附件
13146
13549
  * */
13147
13550
  delFile: function delFile(index) {
13148
13551
  this.fileList.splice(index, 1);
@@ -13182,7 +13585,7 @@ var BnFileView_component = normalizeComponent(
13182
13585
  )
13183
13586
 
13184
13587
  /* harmony default export */ const BnFileView = (BnFileView_component.exports);
13185
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFunText/bnFunText.vue?vue&type=template&id=c3b70e18&scoped=true
13588
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFunText/bnFunText.vue?vue&type=template&id=c3b70e18&scoped=true
13186
13589
 
13187
13590
 
13188
13591
 
@@ -13743,10 +14146,10 @@ var functions = [{
13743
14146
  }
13744
14147
  }
13745
14148
  },
13746
- /**
13747
- * 整理组件列表为schema
13748
- *@param array 组件插入到数组
13749
- *@param column 组件
14149
+ /**
14150
+ * 整理组件列表为schema
14151
+ *@param array 组件插入到数组
14152
+ *@param column 组件
13750
14153
  * */
13751
14154
  loadColumn: function loadColumn(array, column) {
13752
14155
  var data = {
@@ -13781,8 +14184,8 @@ var functions = [{
13781
14184
  array.push(data);
13782
14185
  }
13783
14186
  },
13784
- /**
13785
- * 切换函数分类的打开挂壁
14187
+ /**
14188
+ * 切换函数分类的打开挂壁
13786
14189
  * */
13787
14190
  changeOpenClass: function changeOpenClass(item) {
13788
14191
  var index = this.openFunClass.indexOf(item.name);
@@ -13792,8 +14195,8 @@ var functions = [{
13792
14195
  this.openFunClass.splice(index, 1);
13793
14196
  }
13794
14197
  },
13795
- /**
13796
- * 切换字段分类的打开挂壁
14198
+ /**
14199
+ * 切换字段分类的打开挂壁
13797
14200
  * */
13798
14201
  changeOpenColumn: function changeOpenColumn(item) {
13799
14202
  var index = this.openColumnClass.indexOf(item.name);
@@ -13803,8 +14206,8 @@ var functions = [{
13803
14206
  this.openColumnClass.splice(index, 1);
13804
14207
  }
13805
14208
  },
13806
- /**
13807
- * 获取焦点
14209
+ /**
14210
+ * 获取焦点
13808
14211
  * */
13809
14212
  onCodemirrorFocus: function onCodemirrorFocus() {
13810
14213
  var _this4 = this;
@@ -13817,8 +14220,8 @@ var functions = [{
13817
14220
  // }
13818
14221
  });
13819
14222
  },
13820
- /**
13821
- * 高亮代码
14223
+ /**
14224
+ * 高亮代码
13822
14225
  */
13823
14226
  specialString: function specialString(str) {
13824
14227
  var specialRegExp = /\*|\+|\?|\||\{|\}|\[|\]|\(|\)|\^|\$|\./g;
@@ -13882,8 +14285,8 @@ var functions = [{
13882
14285
  // setTimeout(()=>{
13883
14286
  // },3000)
13884
14287
  },
13885
- /**
13886
- * 选择函数
14288
+ /**
14289
+ * 选择函数
13887
14290
  */
13888
14291
  onSelectFun: function onSelectFun(item) {
13889
14292
  var _this6 = this;
@@ -13895,8 +14298,8 @@ var functions = [{
13895
14298
  _this6.$refs.cm && _this6.$refs.cm.codemirror.focus(); // 确保编辑器获得焦点
13896
14299
  });
13897
14300
  },
13898
- /**
13899
- * 选择字段
14301
+ /**
14302
+ * 选择字段
13900
14303
  */
13901
14304
  onSelectCol: function onSelectCol(item) {
13902
14305
  var _this7 = this;
@@ -13925,8 +14328,8 @@ var functions = [{
13925
14328
  _this7.$refs.cm && _this7.$refs.cm.codemirror.focus(); // 确保编辑器获得焦点
13926
14329
  });
13927
14330
  },
13928
- /**
13929
- * 保存
14331
+ /**
14332
+ * 保存
13930
14333
  * */
13931
14334
  saveRule: function saveRule() {
13932
14335
  var _this8 = this;
@@ -13959,8 +14362,8 @@ var functions = [{
13959
14362
  _this8.$emit('save', res);
13960
14363
  });
13961
14364
  },
13962
- /**
13963
- * 打开弹框
14365
+ /**
14366
+ * 打开弹框
13964
14367
  * */
13965
14368
  openDialog: function openDialog() {
13966
14369
  this.postData.exprExec = this.showContent;
@@ -14006,8 +14409,8 @@ var bnFunText_component = normalizeComponent(
14006
14409
  )
14007
14410
 
14008
14411
  /* harmony default export */ const bnFunText = (bnFunText_component.exports);
14009
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=template&id=dc8beb30&scoped=true
14010
- var BnInpNumvue_type_template_id_dc8beb30_scoped_true_render = function render() {
14412
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=template&id=ff93d4f6&scoped=true
14413
+ var BnInpNumvue_type_template_id_ff93d4f6_scoped_true_render = function render() {
14011
14414
  var _vm = this,
14012
14415
  _c = _vm._self._c;
14013
14416
  return _c('el-input', {
@@ -14035,10 +14438,12 @@ var BnInpNumvue_type_template_id_dc8beb30_scoped_true_render = function render()
14035
14438
  slot: "prefix"
14036
14439
  }, [_vm._t("prefix")], 2), _c('template', {
14037
14440
  slot: "suffix"
14038
- }, [_vm._t("default")], 2)], 2);
14441
+ }, [_vm._t("suffix")], 2)], 2);
14039
14442
  };
14040
- var BnInpNumvue_type_template_id_dc8beb30_scoped_true_staticRenderFns = [];
14443
+ var BnInpNumvue_type_template_id_ff93d4f6_scoped_true_staticRenderFns = [];
14041
14444
 
14445
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
14446
+ var es_string_ends_with = __webpack_require__(9449);
14042
14447
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.starts-with.js
14043
14448
  var es_string_starts_with = __webpack_require__(1392);
14044
14449
  ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=script&lang=js
@@ -14059,17 +14464,19 @@ var es_string_starts_with = __webpack_require__(1392);
14059
14464
 
14060
14465
 
14061
14466
 
14467
+
14468
+
14062
14469
  /* harmony default export */ const BnInpNumvue_type_script_lang_js = ({
14063
14470
  name: "BnInpNum",
14064
14471
  model: {
14065
- prop: 'modelValue',
14066
- event: 'update:modelValue'
14472
+ prop: "modelValue",
14473
+ event: "update:modelValue"
14067
14474
  },
14068
14475
  props: {
14069
14476
  modelValue: [String, Number],
14070
14477
  placeholder: {
14071
14478
  type: String,
14072
- "default": ''
14479
+ "default": ""
14073
14480
  },
14074
14481
  size: String,
14075
14482
  underline: {
@@ -14108,55 +14515,56 @@ var es_string_starts_with = __webpack_require__(1392);
14108
14515
  }
14109
14516
  },
14110
14517
  methods: {
14111
- /**
14112
- * input事件 实时变化
14518
+ /**
14519
+ * input事件 实时变化
14113
14520
  * */
14114
14521
  valInput: (0,external_lodash_.debounce)(function (val) {
14115
14522
  // 快速处理空值
14116
14523
  if (!val) {
14117
- this.val = '';
14524
+ this.val = "";
14118
14525
  return;
14119
14526
  }
14120
14527
  var value = val;
14121
14528
 
14122
14529
  // 移除无效字符(一次性处理)
14123
- value = value.replace(/[^0-9.-]/g, '');
14530
+ value = value.replace(/[^0-9.-]/g, "");
14124
14531
 
14125
14532
  // 处理负号:只保留开头的第一个负号
14126
- if (value.startsWith('-')) {
14127
- value = '-' + value.slice(1).replace(/-/g, '');
14533
+ if (value.startsWith("-")) {
14534
+ value = "-" + value.slice(1).replace(/-/g, "");
14128
14535
  } else {
14129
- value = value.replace(/-/g, '');
14536
+ value = value.replace(/-/g, "");
14130
14537
  }
14131
14538
 
14132
- // 处理小数点:移除开头的点,保留第一个点
14133
- if (value.startsWith('.')) {
14134
- value = value.slice(1).replace(/\./g, '');
14539
+ // 处理小数点:移除开头的点,只保留第一个点
14540
+ if (value.startsWith(".")) {
14541
+ value = value.slice(1).replace(/\./g, "");
14135
14542
  } else {
14136
- var dotIndex = value.indexOf('.');
14543
+ var dotIndex = value.indexOf(".");
14137
14544
  if (dotIndex > 0) {
14138
- var parts = value.split('.');
14139
- value = parts[0] + '.' + parts.slice(1).join('');
14545
+ var parts = value.split(".");
14546
+ value = parts[0] + "." + parts.slice(1).join("");
14140
14547
  }
14141
14548
  }
14142
14549
 
14143
- // 处理精度
14144
- if (value && value !== '-' && this.precision != null && this.precision >= 0) {
14145
- var _dotIndex = value.indexOf('.');
14146
- if (this.precision === 0) {
14550
+ // 处理精度(统一转为数字,避免 prop 为字符串时比较失效)
14551
+ var precisionNum = this.precision != null ? Number(this.precision) : null;
14552
+ if (value && value !== "-" && precisionNum != null && !isNaN(precisionNum) && precisionNum >= 0) {
14553
+ var pDotIndex = value.indexOf(".");
14554
+ if (precisionNum === 0) {
14147
14555
  // 精度为0时,移除小数点及之后的内容
14148
- value = _dotIndex > 0 ? value.slice(0, _dotIndex) : value;
14149
- } else if (_dotIndex > 0) {
14556
+ value = pDotIndex > 0 ? value.slice(0, pDotIndex) : value;
14557
+ } else if (pDotIndex > 0) {
14150
14558
  // 限制小数位数
14151
- var decimalPart = value.slice(_dotIndex + 1);
14152
- if (decimalPart.length > this.precision) {
14153
- value = value.slice(0, _dotIndex + 1 + this.precision);
14559
+ var decimalPart = value.slice(pDotIndex + 1);
14560
+ if (decimalPart.length > precisionNum) {
14561
+ value = value.slice(0, pDotIndex + 1 + precisionNum);
14154
14562
  }
14155
14563
  }
14156
14564
  }
14157
14565
 
14158
14566
  // 实时校验最大值和最小值
14159
- if (value && value !== '-') {
14567
+ if (value && value !== "-") {
14160
14568
  var numValue = parseFloat(value);
14161
14569
  if (!isNaN(numValue)) {
14162
14570
  // 校验最大值
@@ -14171,13 +14579,18 @@ var es_string_starts_with = __webpack_require__(1392);
14171
14579
  }
14172
14580
  this.val = value;
14173
14581
  }, 200),
14174
- /**
14175
- * change事件上报
14582
+ /**
14583
+ * change事件上报
14176
14584
  * */
14177
14585
  valChange: function valChange() {
14178
- // 处理只输入负号的情况
14179
- if (this.val === '-') {
14180
- this.val = '';
14586
+ // 处理只输入负号或末尾小数点的中间态
14587
+ if (this.val === "-" || this.val === "-.") {
14588
+ this.val = "";
14589
+ return;
14590
+ }
14591
+ // 移除末尾多余的小数点(如 '0.' → '0')
14592
+ if (this.val && this.val.endsWith(".")) {
14593
+ this.val = this.val.slice(0, -1);
14181
14594
  }
14182
14595
  // 最大值最小值校验已在valInput中实时处理,这里保留作为兜底
14183
14596
  if (this.val) {
@@ -14192,19 +14605,19 @@ var es_string_starts_with = __webpack_require__(1392);
14192
14605
  }
14193
14606
  }
14194
14607
  },
14195
- /**
14196
- * blur事件上报
14608
+ /**
14609
+ * blur事件上报
14197
14610
  * */
14198
14611
  inputBlur: function inputBlur() {
14199
- this.$emit('blur', this.val);
14612
+ this.$emit("blur", this.val);
14200
14613
  }
14201
14614
  }
14202
14615
  });
14203
14616
  ;// ./packages/BnInpNum/BnInpNum.vue?vue&type=script&lang=js
14204
14617
  /* harmony default export */ const BnInpNum_BnInpNumvue_type_script_lang_js = (BnInpNumvue_type_script_lang_js);
14205
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=style&index=0&id=dc8beb30&prod&lang=scss&scoped=true
14206
- var BnInpNumvue_type_style_index_0_id_dc8beb30_prod_lang_scss_scoped_true = __webpack_require__(1820);
14207
- ;// ./packages/BnInpNum/BnInpNum.vue?vue&type=style&index=0&id=dc8beb30&prod&lang=scss&scoped=true
14618
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=style&index=0&id=ff93d4f6&prod&lang=scss&scoped=true
14619
+ var BnInpNumvue_type_style_index_0_id_ff93d4f6_prod_lang_scss_scoped_true = __webpack_require__(1935);
14620
+ ;// ./packages/BnInpNum/BnInpNum.vue?vue&type=style&index=0&id=ff93d4f6&prod&lang=scss&scoped=true
14208
14621
 
14209
14622
  ;// ./packages/BnInpNum/BnInpNum.vue
14210
14623
 
@@ -14217,17 +14630,17 @@ var BnInpNumvue_type_style_index_0_id_dc8beb30_prod_lang_scss_scoped_true = __we
14217
14630
 
14218
14631
  var BnInpNum_component = normalizeComponent(
14219
14632
  BnInpNum_BnInpNumvue_type_script_lang_js,
14220
- BnInpNumvue_type_template_id_dc8beb30_scoped_true_render,
14221
- BnInpNumvue_type_template_id_dc8beb30_scoped_true_staticRenderFns,
14633
+ BnInpNumvue_type_template_id_ff93d4f6_scoped_true_render,
14634
+ BnInpNumvue_type_template_id_ff93d4f6_scoped_true_staticRenderFns,
14222
14635
  false,
14223
14636
  null,
14224
- "dc8beb30",
14637
+ "ff93d4f6",
14225
14638
  null
14226
14639
 
14227
14640
  )
14228
14641
 
14229
14642
  /* harmony default export */ const BnInpNum = (BnInpNum_component.exports);
14230
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInputNum/BnInputNum.vue?vue&type=template&id=2baef958
14643
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInputNum/BnInputNum.vue?vue&type=template&id=2baef958
14231
14644
  var BnInputNumvue_type_template_id_2baef958_render = function render() {
14232
14645
  var _vm = this,
14233
14646
  _c = _vm._self._c;
@@ -14398,7 +14811,7 @@ var BnInputNum_component = normalizeComponent(
14398
14811
  )
14399
14812
 
14400
14813
  /* harmony default export */ const BnInputNum = (BnInputNum_component.exports);
14401
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=template&id=1d87e9a2&scoped=true
14814
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=template&id=1d87e9a2&scoped=true
14402
14815
 
14403
14816
 
14404
14817
 
@@ -15231,53 +15644,53 @@ var searchList = {
15231
15644
  title: '不为空',
15232
15645
  id: '10'
15233
15646
  }],
15234
- /*
15235
- 9: [
15236
- {title: '范围', id: '8'},
15237
- {title: '为空', id: '9'},
15238
- {title: '不为空', id: '10'},
15239
- ],
15240
- 11: [
15241
- {title: '等于', id: '1'},
15242
- {title: '不等于', id: '2'},
15243
- {title: '包含', id: '3'},
15244
- {title: '不包含', id: '4'},
15245
- {title: '包含任一项', id: '5'},
15246
- {title: '不包含任一项', id: '6'},
15247
- {title: '包含所有项', id: '7'},
15248
- {title: '范围', id: '8'},
15249
- {title: '为空', id: '9'},
15250
- {title: '不为空', id: '10'},
15251
- {title: '属于', id: '11'},
15252
- {title: '有交集', id: '12'},
15253
- {title: '无交集', id: '13'},],
15254
- 12: [
15255
- {title: '等于', id: '1'},
15256
- {title: '不等于', id: '2'},
15257
- {title: '包含', id: '3'},
15258
- {title: '不包含', id: '4'},
15259
- {title: '包含任一项', id: '5'},
15260
- {title: '不包含任一项', id: '6'},
15261
- {title: '包含所有项', id: '7'},
15262
- {title: '范围', id: '8'},
15263
- {title: '为空', id: '9'},
15264
- {title: '不为空', id: '10'},
15265
- {title: '属于', id: '11'},
15266
- {title: '有交集', id: '12'},
15267
- {title: '无交集', id: '13'},],
15268
- 13: [
15269
- {title: '等于', id: '1'},
15270
- {title: '不等于', id: '2'},
15271
- {title: '包含', id: '3'},
15272
- {title: '不包含', id: '4'},
15273
- {title: '包含任一项', id: '5'},
15274
- {title: '不包含任一项', id: '6'},
15275
- {title: '包含所有项', id: '7'},
15276
- {title: '范围', id: '8'},
15277
- {title: '为空', id: '9'},
15278
- {title: '不为空', id: '10'},
15279
- {title: '属于', id: '11'},
15280
- {title: '有交集', id: '12'},
15647
+ /*
15648
+ 9: [
15649
+ {title: '范围', id: '8'},
15650
+ {title: '为空', id: '9'},
15651
+ {title: '不为空', id: '10'},
15652
+ ],
15653
+ 11: [
15654
+ {title: '等于', id: '1'},
15655
+ {title: '不等于', id: '2'},
15656
+ {title: '包含', id: '3'},
15657
+ {title: '不包含', id: '4'},
15658
+ {title: '包含任一项', id: '5'},
15659
+ {title: '不包含任一项', id: '6'},
15660
+ {title: '包含所有项', id: '7'},
15661
+ {title: '范围', id: '8'},
15662
+ {title: '为空', id: '9'},
15663
+ {title: '不为空', id: '10'},
15664
+ {title: '属于', id: '11'},
15665
+ {title: '有交集', id: '12'},
15666
+ {title: '无交集', id: '13'},],
15667
+ 12: [
15668
+ {title: '等于', id: '1'},
15669
+ {title: '不等于', id: '2'},
15670
+ {title: '包含', id: '3'},
15671
+ {title: '不包含', id: '4'},
15672
+ {title: '包含任一项', id: '5'},
15673
+ {title: '不包含任一项', id: '6'},
15674
+ {title: '包含所有项', id: '7'},
15675
+ {title: '范围', id: '8'},
15676
+ {title: '为空', id: '9'},
15677
+ {title: '不为空', id: '10'},
15678
+ {title: '属于', id: '11'},
15679
+ {title: '有交集', id: '12'},
15680
+ {title: '无交集', id: '13'},],
15681
+ 13: [
15682
+ {title: '等于', id: '1'},
15683
+ {title: '不等于', id: '2'},
15684
+ {title: '包含', id: '3'},
15685
+ {title: '不包含', id: '4'},
15686
+ {title: '包含任一项', id: '5'},
15687
+ {title: '不包含任一项', id: '6'},
15688
+ {title: '包含所有项', id: '7'},
15689
+ {title: '范围', id: '8'},
15690
+ {title: '为空', id: '9'},
15691
+ {title: '不为空', id: '10'},
15692
+ {title: '属于', id: '11'},
15693
+ {title: '有交集', id: '12'},
15281
15694
  {title: '无交集', id: '13'},],*/
15282
15695
  15: [{
15283
15696
  title: '为空',
@@ -15289,7 +15702,7 @@ var searchList = {
15289
15702
  };
15290
15703
 
15291
15704
  //每个组件类型对应的筛选类型列表
15292
- var submitCheckTypeList = {
15705
+ var submitCheckTypeList = (/* unused pure expression or super */ null && ({
15293
15706
  1: '等于',
15294
15707
  2: '不等于',
15295
15708
  3: '包含',
@@ -15324,7 +15737,7 @@ var submitCheckTypeList = {
15324
15737
  101: '变更为',
15325
15738
  102: '变更为空',
15326
15739
  103: '变更为有值'
15327
- };
15740
+ }));
15328
15741
  var valueTypeList = {
15329
15742
  //{id: '0', title: '自定义填写'},{id: '1', title: '其他组件'},{id: '2', title: '当前组件选项'}, {id: '3', title: '空值'},{id: '4', title: '其他步骤'},{ id: '5', title: '工作表属性' }
15330
15743
  '-1': [{
@@ -15428,7 +15841,7 @@ var subTypeList = {
15428
15841
  //部分支持 {id: '6', title: '过去x时'}, {id: '7', title: '未来x时'}, {id: '8', title: '过去x月'}, {id: '9', title: '未来x月'},
15429
15842
  ]
15430
15843
  };
15431
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/cascadeCondition.vue?vue&type=template&id=0b10733b
15844
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/cascadeCondition.vue?vue&type=template&id=0b10733b
15432
15845
  var cascadeConditionvue_type_template_id_0b10733b_render = function render() {
15433
15846
  var _vm = this,
15434
15847
  _c = _vm._self._c;
@@ -15520,7 +15933,7 @@ function _createForOfIteratorHelper(r, e) {
15520
15933
  };
15521
15934
  }
15522
15935
 
15523
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/BnSwitch.vue?vue&type=template&id=809f2340
15936
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/BnSwitch.vue?vue&type=template&id=809f2340
15524
15937
  var BnSwitchvue_type_template_id_809f2340_render = function render() {
15525
15938
  var _vm = this,
15526
15939
  _c = _vm._self._c;
@@ -15767,10 +16180,10 @@ var BnSwitch_component = normalizeComponent(
15767
16180
  }
15768
16181
  this.$emit('update:sourceTitle', this.valueTitle);
15769
16182
  },
15770
- /**
15771
- * @param data 列表
15772
- * @param value 编辑回显时已保存的值 []
15773
- * @returns {*|Array|Array|*}
16183
+ /**
16184
+ * @param data 列表
16185
+ * @param value 编辑回显时已保存的值 []
16186
+ * @returns {*|Array|Array|*}
15774
16187
  * */
15775
16188
  dataFormat: function dataFormat(data, value) {
15776
16189
  return data.map(function (item) {
@@ -15780,12 +16193,12 @@ var BnSwitch_component = normalizeComponent(
15780
16193
  });
15781
16194
  });
15782
16195
  },
15783
- /**
15784
- *
15785
- * @param data 列表
15786
- * @param key 键
15787
- * @param value 值
15788
- * @returns {*|Array|String|Array|*}
16196
+ /**
16197
+ *
16198
+ * @param data 列表
16199
+ * @param key 键
16200
+ * @param value 值
16201
+ * @returns {*|Array|String|Array|*}
15789
16202
  */
15790
16203
  getChild: function getChild(data, key, value) {
15791
16204
  var _iterator = _createForOfIteratorHelper(data),
@@ -15868,7 +16281,7 @@ var cascadeCondition_component = normalizeComponent(
15868
16281
  )
15869
16282
 
15870
16283
  /* harmony default export */ const cascadeCondition = (cascadeCondition_component.exports);
15871
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/address.vue?vue&type=template&id=1199c288&scoped=true
16284
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/address.vue?vue&type=template&id=1199c288&scoped=true
15872
16285
  var addressvue_type_template_id_1199c288_scoped_true_render = function render() {
15873
16286
  var _vm = this,
15874
16287
  _c = _vm._self._c;
@@ -15928,7 +16341,7 @@ var addressvue_type_template_id_1199c288_scoped_true_render = function render()
15928
16341
  };
15929
16342
  var addressvue_type_template_id_1199c288_scoped_true_staticRenderFns = [];
15930
16343
 
15931
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/addressSet.vue?vue&type=template&id=50cd72d0&scoped=true
16344
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/addressSet.vue?vue&type=template&id=50cd72d0&scoped=true
15932
16345
  var addressSetvue_type_template_id_50cd72d0_scoped_true_render = function render() {
15933
16346
  var _vm = this,
15934
16347
  _c = _vm._self._c;
@@ -16231,7 +16644,7 @@ var address_component = normalizeComponent(
16231
16644
  )
16232
16645
 
16233
16646
  /* harmony default export */ const address = (address_component.exports);
16234
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/compositeSearch.vue?vue&type=template&id=09cb19ef&scoped=true
16647
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/compositeSearch.vue?vue&type=template&id=09cb19ef&scoped=true
16235
16648
 
16236
16649
  var compositeSearchvue_type_template_id_09cb19ef_scoped_true_render = function render() {
16237
16650
  var _vm = this,
@@ -16357,7 +16770,7 @@ var compositeSearch_component = normalizeComponent(
16357
16770
  )
16358
16771
 
16359
16772
  /* harmony default export */ const compositeSearch = (compositeSearch_component.exports);
16360
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/numberReg.vue?vue&type=template&id=04541236&scoped=true
16773
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/numberReg.vue?vue&type=template&id=04541236&scoped=true
16361
16774
  var numberRegvue_type_template_id_04541236_scoped_true_render = function render() {
16362
16775
  var _vm = this,
16363
16776
  _c = _vm._self._c;
@@ -16735,8 +17148,8 @@ var numberReg_component = normalizeComponent(
16735
17148
  this.$emit("input", val);
16736
17149
  }
16737
17150
  },
16738
- /**
16739
- * 当进入规则组件,已经选好组件id时,需要将组件信息回显
17151
+ /**
17152
+ * 当进入规则组件,已经选好组件id时,需要将组件信息回显
16740
17153
  * */
16741
17154
  columnInfo: {
16742
17155
  get: function get() {
@@ -16784,8 +17197,8 @@ var numberReg_component = normalizeComponent(
16784
17197
  }
16785
17198
  },
16786
17199
  methods: {
16787
- /**
16788
- * 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
17200
+ /**
17201
+ * 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
16789
17202
  * */
16790
17203
  changeCustomType: function changeCustomType(type) {
16791
17204
  this.arrowCustomType = type ? type : 'column';
@@ -16827,9 +17240,9 @@ var numberReg_component = normalizeComponent(
16827
17240
  value: value
16828
17241
  });
16829
17242
  },
16830
- /**
16831
- * 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
16832
- * @param {Any} e select发生变化返回的值
17243
+ /**
17244
+ * 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
17245
+ * @param {Any} e select发生变化返回的值
16833
17246
  * */
16834
17247
  columnChange: function columnChange(e) {
16835
17248
  var column = this.columnList.filter(function (i) {
@@ -16880,8 +17293,8 @@ var numberReg_component = normalizeComponent(
16880
17293
  value: value
16881
17294
  });
16882
17295
  },
16883
- /**
16884
- * 计算条件发生change
17296
+ /**
17297
+ * 计算条件发生change
16885
17298
  * */
16886
17299
  searchChange: function searchChange() {
16887
17300
  // 根据组件类型、计算条件、值类型来确定规则条件的value的类型
@@ -16892,8 +17305,8 @@ var numberReg_component = normalizeComponent(
16892
17305
  value: this.ruleVal
16893
17306
  });
16894
17307
  },
16895
- /**
16896
- * 规则值类型发生变化
17308
+ /**
17309
+ * 规则值类型发生变化
16897
17310
  * */
16898
17311
  valueTypeChange: function valueTypeChange() {
16899
17312
  // 根据组件类型、计算条件、值类型来确定规则条件的value的类型
@@ -16904,8 +17317,8 @@ var numberReg_component = normalizeComponent(
16904
17317
  value: this.ruleVal
16905
17318
  });
16906
17319
  },
16907
- /**
16908
- * 规则值子类型发生变化
17320
+ /**
17321
+ * 规则值子类型发生变化
16909
17322
  * */
16910
17323
  subTypeChange: function subTypeChange() {
16911
17324
  // 根据组件类型、计算条件、值类型来确定规则条件的value的类型
@@ -16916,8 +17329,8 @@ var numberReg_component = normalizeComponent(
16916
17329
  value: this.ruleVal
16917
17330
  });
16918
17331
  },
16919
- /**
16920
- * 规则的value发生变化
17332
+ /**
17333
+ * 规则的value发生变化
16921
17334
  * */
16922
17335
  valueChange: function valueChange(target) {
16923
17336
  if (target == 'date' && this.ruleVal[this.optionProps.value] == null) {
@@ -16932,9 +17345,9 @@ var numberReg_component = normalizeComponent(
16932
17345
  value: this.ruleVal
16933
17346
  });
16934
17347
  },
16935
- /**
16936
- * 获取该类型组件支持那些计算条件
16937
- * @param {Number} behaviorType 组件行为类型
17348
+ /**
17349
+ * 获取该类型组件支持那些计算条件
17350
+ * @param {Number} behaviorType 组件行为类型
16938
17351
  * */
16939
17352
  getSearchOptions: function getSearchOptions(behaviorType) {
16940
17353
  var optionList = [];
@@ -16953,9 +17366,9 @@ var numberReg_component = normalizeComponent(
16953
17366
  }
16954
17367
  return optionList;
16955
17368
  },
16956
- /**
16957
- * 获取该类型组件支持那些值类型
16958
- * @param {Number} behaviorType 组件行为类型
17369
+ /**
17370
+ * 获取该类型组件支持那些值类型
17371
+ * @param {Number} behaviorType 组件行为类型
16959
17372
  * */
16960
17373
  getValueOptions: function getValueOptions(column) {
16961
17374
  var optionList = [];
@@ -16973,9 +17386,9 @@ var numberReg_component = normalizeComponent(
16973
17386
  }
16974
17387
  return optionList;
16975
17388
  },
16976
- /**
16977
- * 获取该类型组件支持那些子类型列表:目前仅只是时间日期
16978
- * @param {Number} behaviorType 组件行为类型
17389
+ /**
17390
+ * 获取该类型组件支持那些子类型列表:目前仅只是时间日期
17391
+ * @param {Number} behaviorType 组件行为类型
16979
17392
  * */
16980
17393
  getSubTypeOptions: function getSubTypeOptions(behaviorType) {
16981
17394
  var optionList = [];
@@ -16993,9 +17406,9 @@ var numberReg_component = normalizeComponent(
16993
17406
  }
16994
17407
  return optionList;
16995
17408
  },
16996
- /**
16997
- * 获取该类型组件支持那些值类型
16998
- * @param {Number} behaviorType 组件行为类型
17409
+ /**
17410
+ * 获取该类型组件支持那些值类型
17411
+ * @param {Number} behaviorType 组件行为类型
16999
17412
  * */
17000
17413
  getOtherColumns: function getOtherColumns(behaviorType) {
17001
17414
  var _this = this;
@@ -17025,9 +17438,9 @@ var numberReg_component = normalizeComponent(
17025
17438
  }
17026
17439
  return optionList;
17027
17440
  },
17028
- /**
17029
- * 动态禁用
17030
- * @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
17441
+ /**
17442
+ * 动态禁用
17443
+ * @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
17031
17444
  * */
17032
17445
  isDisabled: function isDisabled(type) {
17033
17446
  if (this.$options.propsData.hasOwnProperty('disabledFun')) {
@@ -17037,11 +17450,11 @@ var numberReg_component = normalizeComponent(
17037
17450
  return false;
17038
17451
  }
17039
17452
  },
17040
- /**
17041
- * 给组件value赋予默认类型
17042
- * @param {Number} behaviorType 组件行为类型
17043
- * @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
17044
- * @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
17453
+ /**
17454
+ * 给组件value赋予默认类型
17455
+ * @param {Number} behaviorType 组件行为类型
17456
+ * @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
17457
+ * @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
17045
17458
  * */
17046
17459
  setValType: function setValType(behaviorType, searchType, valueType) {
17047
17460
  var data = '';
@@ -17121,14 +17534,14 @@ var numberReg_component = normalizeComponent(
17121
17534
  }
17122
17535
  return data;
17123
17536
  },
17124
- /**
17125
- * 校验value的数据类型,因为有时候数据类型不对组件会报错
17537
+ /**
17538
+ * 校验value的数据类型,因为有时候数据类型不对组件会报错
17126
17539
  * */
17127
17540
  checkValType: function checkValType(type) {
17128
17541
  return _typeof(this.ruleVal[this.optionProps.value]) == type;
17129
17542
  },
17130
- /**
17131
- * 删除规则
17543
+ /**
17544
+ * 删除规则
17132
17545
  * */
17133
17546
  del: function del() {
17134
17547
  this.$emit('del', {
@@ -17136,8 +17549,8 @@ var numberReg_component = normalizeComponent(
17136
17549
  value: this.ruleVal
17137
17550
  });
17138
17551
  },
17139
- /**
17140
- * 清空规则内容
17552
+ /**
17553
+ * 清空规则内容
17141
17554
  * */
17142
17555
  empty: function empty() {
17143
17556
  // 清空计算类型的值
@@ -17145,15 +17558,15 @@ var numberReg_component = normalizeComponent(
17145
17558
  // 清空value
17146
17559
  this.ruleVal[this.optionProps.value] = this.setValType(this.ruleVal.behaviorType);
17147
17560
  },
17148
- /**
17149
- * 设置触发值
17561
+ /**
17562
+ * 设置触发值
17150
17563
  * */
17151
17564
  setDefaultSearch: function setDefaultSearch() {
17152
17565
  // 清空计算类型的值
17153
17566
  this.ruleVal[this.optionProps.searchType] = this.getSearchOptions(this.ruleVal.behaviorType)[0].id;
17154
17567
  },
17155
- /**
17156
- * 日期,日期区间,判断时间类型
17568
+ /**
17569
+ * 日期,日期区间,判断时间类型
17157
17570
  * */
17158
17571
  getDateType: function getDateType(type) {
17159
17572
  var dateType = type == "date" ? "datetime" : "datetimerange";
@@ -17176,8 +17589,8 @@ var numberReg_component = normalizeComponent(
17176
17589
  }
17177
17590
  return dateType;
17178
17591
  },
17179
- /**
17180
- * 日期,日期区间,判断时间格式化
17592
+ /**
17593
+ * 日期,日期区间,判断时间格式化
17181
17594
  * */
17182
17595
  getDateFormat: function getDateFormat() {
17183
17596
  var format = "yyyy-MM-dd HH:mm:ss";
@@ -17234,7 +17647,7 @@ var bnRuleCondition_component = normalizeComponent(
17234
17647
  )
17235
17648
 
17236
17649
  /* harmony default export */ const bnRuleCondition = (bnRuleCondition_component.exports);
17237
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnSelect/select.vue?vue&type=template&id=12683c88&scoped=true
17650
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnSelect/select.vue?vue&type=template&id=12683c88&scoped=true
17238
17651
 
17239
17652
 
17240
17653
 
@@ -17915,10 +18328,10 @@ function util_toPinYin(chart) {
17915
18328
  return util_getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
17916
18329
  }
17917
18330
 
17918
- /**
17919
- * 匹配大小写字母拼音 返回Boolean值
17920
- * @param {*} chart 需要匹配的字符
17921
- * @param {*} data 需要进行匹配的字符
18331
+ /**
18332
+ * 匹配大小写字母拼音 返回Boolean值
18333
+ * @param {*} chart 需要匹配的字符
18334
+ * @param {*} data 需要进行匹配的字符
17922
18335
  */
17923
18336
  function util_searchToBoolean(chart, data) {
17924
18337
  return util_toPinYin(data || '').indexOf(util_toPinYin(chart || '')) !== -1;
@@ -18232,18 +18645,18 @@ function util_searchToBoolean(chart, data) {
18232
18645
  this.initSelectDataDebounced.cancel();
18233
18646
  },
18234
18647
  methods: {
18235
- /**
18236
- * 下拉选项显示 返回Boolean true:显示
18237
- * @param {Object} item 某一选择的值、option的值
18648
+ /**
18649
+ * 下拉选项显示 返回Boolean true:显示
18650
+ * @param {Object} item 某一选择的值、option的值
18238
18651
  */
18239
18652
  optionHideFunction: function optionHideFunction(item) {
18240
18653
  if (this.optionHideFun) return !this.optionHideFun(item) && !item.isHide;else return !item.isHide;
18241
18654
  },
18242
- /**
18243
- * Option中checkbox当绑定值变化时触发的事件 更新后的值
18244
- * @change="onCheckChange(checkBoxValue(labelInValue?item:item[optionProps['value']]), labelInValue?item:item[optionProps['value']])"
18245
- * @param {Boolean} val checkbox更新后的值
18246
- * @param {Object} item option的值
18655
+ /**
18656
+ * Option中checkbox当绑定值变化时触发的事件 更新后的值
18657
+ * @change="onCheckChange(checkBoxValue(labelInValue?item:item[optionProps['value']]), labelInValue?item:item[optionProps['value']])"
18658
+ * @param {Boolean} val checkbox更新后的值
18659
+ * @param {Object} item option的值
18247
18660
  */
18248
18661
  onCheckChange: function onCheckChange(val, item) {
18249
18662
  var _this = this;
@@ -18272,9 +18685,9 @@ function util_searchToBoolean(chart, data) {
18272
18685
  _this.changeValue();
18273
18686
  });
18274
18687
  },
18275
- /**
18276
- * 返回option中checkbox的value状态
18277
- * @param {Object} item option的选项
18688
+ /**
18689
+ * 返回option中checkbox的value状态
18690
+ * @param {Object} item option的选项
18278
18691
  */
18279
18692
  checkBoxValue: function checkBoxValue(item) {
18280
18693
  var _this2 = this;
@@ -18291,22 +18704,22 @@ function util_searchToBoolean(chart, data) {
18291
18704
  return false;
18292
18705
  }
18293
18706
  },
18294
- /**
18295
- * 下拉选项禁用 返回Boolean true:禁用
18296
- * @param {Object} item 某一选择的值、option的值
18707
+ /**
18708
+ * 下拉选项禁用 返回Boolean true:禁用
18709
+ * @param {Object} item 某一选择的值、option的值
18297
18710
  */
18298
18711
  optionDisabledFunction: function optionDisabledFunction(item) {
18299
18712
  if (this.optionDisabledFun) return this.optionDisabledFun(item) || item.disabled;else return item.disabled;
18300
18713
  },
18301
- /**
18302
- * 多选模式下移除tag时触发
18303
- * @param {Object} tag 移除的tag值
18714
+ /**
18715
+ * 多选模式下移除tag时触发
18716
+ * @param {Object} tag 移除的tag值
18304
18717
  */
18305
18718
  removeTag: function removeTag(tag) {
18306
18719
  this.$emit('removeTag', tag);
18307
18720
  },
18308
- /**
18309
- * select的change事件
18721
+ /**
18722
+ * select的change事件
18310
18723
  */
18311
18724
  changeValue: function changeValue() {
18312
18725
  var _this3 = this;
@@ -18336,9 +18749,9 @@ function util_searchToBoolean(chart, data) {
18336
18749
  }
18337
18750
  });
18338
18751
  },
18339
- /**
18340
- * 下拉框出现/隐藏时触发
18341
- * @param {Boolean} bol 出现则为 true,隐藏则为 false
18752
+ /**
18753
+ * 下拉框出现/隐藏时触发
18754
+ * @param {Boolean} bol 出现则为 true,隐藏则为 false
18342
18755
  */
18343
18756
  visibleChange: function visibleChange(bol) {
18344
18757
  var _this4 = this;
@@ -18405,15 +18818,15 @@ function util_searchToBoolean(chart, data) {
18405
18818
  });
18406
18819
  }
18407
18820
  },
18408
- /**
18409
- * 可清空的单选模式下用户点击清空按钮时触发
18821
+ /**
18822
+ * 可清空的单选模式下用户点击清空按钮时触发
18410
18823
  */
18411
18824
  clear: function clear() {
18412
18825
  this.$emit('clear');
18413
18826
  },
18414
- /**
18415
- * 返回option的label data: option数据
18416
- * @param {Object} data option数据
18827
+ /**
18828
+ * 返回option的label data: option数据
18829
+ * @param {Object} data option数据
18417
18830
  */
18418
18831
  showLabel: function showLabel(data) {
18419
18832
  if (this.optionProps['label'] instanceof Function) {
@@ -18422,9 +18835,9 @@ function util_searchToBoolean(chart, data) {
18422
18835
  return data[this.optionProps['label']];
18423
18836
  }
18424
18837
  },
18425
- /**
18426
- * 快速搜索选项
18427
- * @param {String} val 搜索的值
18838
+ /**
18839
+ * 快速搜索选项
18840
+ * @param {String} val 搜索的值
18428
18841
  */
18429
18842
  filterMethod: function filterMethod(val) {
18430
18843
  var _this5 = this;
@@ -18446,8 +18859,8 @@ function util_searchToBoolean(chart, data) {
18446
18859
  this.loadingOptionList();
18447
18860
  }
18448
18861
  },
18449
- /**
18450
- * 判断是否是全选状态
18862
+ /**
18863
+ * 判断是否是全选状态
18451
18864
  */
18452
18865
  isSelectAll: function isSelectAll() {
18453
18866
  var _this6 = this;
@@ -18471,8 +18884,8 @@ function util_searchToBoolean(chart, data) {
18471
18884
  }
18472
18885
  }
18473
18886
  },
18474
- /**
18475
- * 全选事件
18887
+ /**
18888
+ * 全选事件
18476
18889
  */
18477
18890
  onSelectAll: function onSelectAll() {
18478
18891
  var _this7 = this;
@@ -18510,14 +18923,14 @@ function util_searchToBoolean(chart, data) {
18510
18923
  this.isIndeterminate = false;
18511
18924
  this.changeValue();
18512
18925
  },
18513
- /**
18514
- * 隐藏下拉选择框事件
18926
+ /**
18927
+ * 隐藏下拉选择框事件
18515
18928
  */
18516
18929
  onConfirm: function onConfirm() {
18517
18930
  this.$refs.selectBox.blur();
18518
18931
  },
18519
- /**
18520
- * 滚动加载
18932
+ /**
18933
+ * 滚动加载
18521
18934
  */
18522
18935
  loadMore: function loadMore() {
18523
18936
  // 判断是否执行远程搜索
@@ -18543,8 +18956,8 @@ function util_searchToBoolean(chart, data) {
18543
18956
  this.isSelectAll();
18544
18957
  }
18545
18958
  },
18546
- /**
18547
- * 请求内部数据源
18959
+ /**
18960
+ * 请求内部数据源
18548
18961
  */
18549
18962
  loadOption: function loadOption(type) {
18550
18963
  var _this8 = this;
@@ -18601,8 +19014,8 @@ function util_searchToBoolean(chart, data) {
18601
19014
  _this8.showMore = false;
18602
19015
  });
18603
19016
  },
18604
- /**
18605
- * 初始化远程搜索数据
19017
+ /**
19018
+ * 初始化远程搜索数据
18606
19019
  */
18607
19020
  initRemoteMethod: function initRemoteMethod() {
18608
19021
  this.moduleDefinition = [];
@@ -18623,8 +19036,8 @@ function util_searchToBoolean(chart, data) {
18623
19036
  this.loadMore();
18624
19037
  }
18625
19038
  },
18626
- /**
18627
- * 初始化组件的数据
19039
+ /**
19040
+ * 初始化组件的数据
18628
19041
  */
18629
19042
  initSelectData: function initSelectData() {
18630
19043
  var _this9 = this;
@@ -18730,8 +19143,8 @@ function util_searchToBoolean(chart, data) {
18730
19143
  }
18731
19144
  },
18732
19145
  computed: {
18733
- /**
18734
- * option 展示的列表
19146
+ /**
19147
+ * option 展示的列表
18735
19148
  */
18736
19149
  optionShowList: function optionShowList() {
18737
19150
  var _this0 = this;
@@ -18768,8 +19181,8 @@ function util_searchToBoolean(chart, data) {
18768
19181
  return this.total + (((_this$optionList = this.optionList) === null || _this$optionList === void 0 ? void 0 : _this$optionList.length) || 0);
18769
19182
  }
18770
19183
  },
18771
- /**
18772
- * option 所有数据的id数组
19184
+ /**
19185
+ * option 所有数据的id数组
18773
19186
  */
18774
19187
  pageOptionListIds: function pageOptionListIds() {
18775
19188
  return this.optionList.slice(0, 10);
@@ -18802,8 +19215,8 @@ function util_searchToBoolean(chart, data) {
18802
19215
  valueKeys: function valueKeys() {
18803
19216
  return Array.from(new Set([].concat(_toConsumableArray(Object.values(this.optionProps)), _toConsumableArray(this.valueProps))));
18804
19217
  },
18805
- /**
18806
- * select的value数据
19218
+ /**
19219
+ * select的value数据
18807
19220
  */
18808
19221
  select: {
18809
19222
  get: function get() {
@@ -18840,8 +19253,8 @@ function util_searchToBoolean(chart, data) {
18840
19253
  }
18841
19254
  }
18842
19255
  },
18843
- /**
18844
- * select 的 popperClass
19256
+ /**
19257
+ * select 的 popperClass
18845
19258
  */
18846
19259
  popperClassName: function popperClassName() {
18847
19260
  var className = "bytenew-select-popper ".concat(this.popperClass || '');
@@ -18966,7 +19379,7 @@ var select_component = normalizeComponent(
18966
19379
  )
18967
19380
 
18968
19381
  /* harmony default export */ const BnSelect_select = (select_component.exports);
18969
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=template&id=6a5eae5b&scoped=true
19382
+ ;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=template&id=6a5eae5b&scoped=true
18970
19383
 
18971
19384
 
18972
19385
  var BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_render = function render() {
@@ -19375,10 +19788,10 @@ function _asyncToGenerator(n) {
19375
19788
  handleBlurs: function handleBlurs() {
19376
19789
  this.visible = false;
19377
19790
  },
19378
- /**
19379
- * @name 选择change
19380
- * @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
19381
- * @param {*} record
19791
+ /**
19792
+ * @name 选择change
19793
+ * @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
19794
+ * @param {*} record
19382
19795
  */
19383
19796
  selectItem: function selectItem(record) {
19384
19797
  if (this.isSpecialTax) {
@@ -19541,50 +19954,756 @@ var BnFiTaxAutoComplete_component = normalizeComponent(
19541
19954
  )
19542
19955
 
19543
19956
  /* harmony default export */ const BnFiTaxAutoComplete = (BnFiTaxAutoComplete_component.exports);
19544
- ;// ./install.js
19545
- // install.js - BnAppletUi 组件库入口
19546
-
19547
-
19548
-
19549
-
19550
-
19551
-
19552
-
19553
-
19554
-
19555
-
19556
-
19557
-
19558
-
19559
-
19560
- const BnAppletUi = {
19561
- install: (Vue) => {
19562
- Vue.component("BnAddress", BnAddress);
19563
- Vue.component("BnAddressParse", BnAddressParse);
19564
- Vue.component("BnCheck", BnCheck);
19565
- Vue.component("BnDateRange", bnDateRange);
19566
- Vue.component("BnDialog", dialog);
19567
- Vue.component("BnDropdown", bnDropdown);
19568
- Vue.component("BnFileView", BnFileView);
19569
- Vue.component("BnFunText", bnFunText);
19570
- Vue.component("BnInpNum", BnInpNum);
19571
- Vue.component("BnInputNum", BnInputNum);
19572
- Vue.component("BnRuleCondition", bnRuleCondition);
19573
- Vue.component("BnSelect", BnSelect_select);
19574
- Vue.component("BnFiTaxAutoComplete", BnFiTaxAutoComplete);
19575
- }
19576
- };
19577
-
19578
- // 支持通过 CDN 方式引入时自动注册
19579
- if (typeof window !== 'undefined' && window.Vue) {
19580
- window.Vue.use(BnAppletUi);
19581
- }
19582
-
19583
- // 导出插件对象(整体引入)
19584
- // 使用方式:Vue.use(BnAppletUi)
19585
- /* harmony default export */ const install = (BnAppletUi);
19586
-
19587
- // 单独导出各组件(按需引入)
19957
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.js
19958
+ var es_map = __webpack_require__(6033);
19959
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.get-or-insert.js
19960
+ var es_map_get_or_insert = __webpack_require__(5367);
19961
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.get-or-insert-computed.js
19962
+ var es_map_get_or_insert_computed = __webpack_require__(2731);
19963
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
19964
+ var es_array_sort = __webpack_require__(6910);
19965
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
19966
+ var es_string_trim = __webpack_require__(2762);
19967
+ ;// ./packages/util/addressParse.js
19968
+
19969
+
19970
+
19971
+
19972
+
19973
+
19974
+
19975
+
19976
+
19977
+
19978
+
19979
+
19980
+
19981
+
19982
+
19983
+
19984
+
19985
+
19986
+
19987
+
19988
+
19989
+
19990
+
19991
+
19992
+
19993
+
19994
+
19995
+
19996
+
19997
+
19998
+
19999
+
20000
+
20001
+
20002
+
20003
+
20004
+
20005
+
20006
+
20007
+
20008
+
20009
+
20010
+
20011
+
20012
+
20013
+
20014
+
20015
+
20016
+
20017
+
20018
+
20019
+
20020
+
20021
+ var defaultData = []; //不包括省市级code的数据
20022
+
20023
+ var mCity = {}; //以市为层级的数据 里面包括 p:省 c:市 a:区列表
20024
+
20025
+ var mArea = {}; //以区为级别的数据 里面包括 p:省 c:市
20026
+
20027
+ var mStreet = {}; //以街道为级别的数据 里面包括 c:市 a:区
20028
+
20029
+ /**
20030
+ * 处理原始地址数据转换成专用数据
20031
+ * @param list 原始数据
20032
+ * @param init 是否初始化 如传空 已转换过不会再次转换
20033
+ * @returns {boolean}
20034
+ */
20035
+ function parseArea(list, init) {
20036
+ if (!init && defaultData.length) {
20037
+ return true;
20038
+ }
20039
+ defaultData = list;
20040
+ defaultData.forEach(function (province) {
20041
+ if (province.city) {
20042
+ province.city.forEach(function (city) {
20043
+ if (city.name !== '其他') {
20044
+ if (!mCity[city.name]) {
20045
+ mCity[city.name] = [];
20046
+ }
20047
+ mCity[city.name].push({
20048
+ p: province.name,
20049
+ c: city.name,
20050
+ a: city.area || [],
20051
+ s: city.street || []
20052
+ });
20053
+ }
20054
+ if (city.area) {
20055
+ city.area.forEach(function (area) {
20056
+ if (area !== '其他') {
20057
+ if (!mArea[area]) {
20058
+ mArea[area] = [];
20059
+ }
20060
+ mArea[area].push({
20061
+ p: province.name,
20062
+ c: city.name
20063
+ });
20064
+ }
20065
+ if (city.street && city.street[area]) {
20066
+ city.street[area].forEach(function (street) {
20067
+ if (street !== '其他') {
20068
+ if (!mStreet[street]) {
20069
+ mStreet[street] = [];
20070
+ }
20071
+ mStreet[street].push({
20072
+ c: city.name,
20073
+ a: area
20074
+ });
20075
+ }
20076
+ });
20077
+ }
20078
+ });
20079
+ }
20080
+ });
20081
+ }
20082
+ });
20083
+ }
20084
+
20085
+ /**
20086
+ * 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
20087
+ * @param address 任意地址字符串
20088
+ * @param sourceData 组件配置,如 extraInfo.isFourAddress
20089
+ * @returns {{name: string, mobile: string, detail: string, zip_code: string, phone: string}}
20090
+ */
20091
+ function parseAddressDetail(address, sourceData) {
20092
+ var parse = {
20093
+ name: '',
20094
+ mobile: '',
20095
+ detail: '',
20096
+ zip_code: '',
20097
+ phone: '',
20098
+ extensionNumber: '' // 淘宝分机号码
20099
+ };
20100
+ address = joinAddressLines(address);
20101
+ var search = ['地址', '收货地址', '收货人', '收件人', '收货', '邮编', '电话', '手机号', ':', ':', ';', ';', ',', ',', '。'];
20102
+ search.forEach(function (str) {
20103
+ address = address.replace(new RegExp(str, 'g'), ' ');
20104
+ });
20105
+ address = address.replace(/ {2,}/g, ' ');
20106
+ address = address.replace(/(\d{3})-(\d{4})-(\d{4})/g, '$1$2$3');
20107
+ address = address.replace(/(\d{3}) (\d{4}) (\d{4})/g, '$1$2$3');
20108
+
20109
+ // const mobileReg = /(86-[1][0-9]{10})|(86[1][0-9]{10})|([1][0-9]{10})/g;
20110
+ var mobileReg = /([1][0-9]{10}((-[0-9]{4})?))|((86-?)?[1][0-9]{10})/g;
20111
+ var mobile = mobileReg.exec(address);
20112
+ if (mobile) {
20113
+ parse.mobile = mobile[0];
20114
+ address = address.replace(mobile[0], ' ');
20115
+ }
20116
+ var phoneReg = /(([0-9]{3,4}-)[0-9]{7,8})|([0-9]{12})|([0-9]{11})|([0-9]{10})|([0-9]{9})|([0-9]{8})|([0-9]{7})/g;
20117
+ var phone = phoneReg.exec(address);
20118
+ if (phone) {
20119
+ //获取分机号码 例:16601795913-9385(11位手机号-xxxx)
20120
+ var addressArry = address.split(' ');
20121
+ var ext = addressArry.filter(function (item) {
20122
+ return item.length == 16 && item.indexOf('-');
20123
+ });
20124
+ if (ext.length > 0) {
20125
+ //截取分机号赋值
20126
+ parse.extensionNumber = ext[0].split('-')[1];
20127
+ //空格替换分机号
20128
+ var extVal = '-' + parse.extensionNumber;
20129
+ address = address.replace(extVal, ' ');
20130
+ }
20131
+ parse.phone = phone[0];
20132
+ address = address.replace(phone[0], ' ');
20133
+ }
20134
+ var zipReg = /([0-9]{6})/g;
20135
+ var zip = zipReg.exec(address);
20136
+ if (zip) {
20137
+ parse.zip_code = zip[0];
20138
+ address = address.replace(zip[0], '');
20139
+ }
20140
+ address = address.replace(/ {2,}/, ' ');
20141
+ var detail = detail_parse_forward(address.trim(), sourceData);
20142
+ if (!detail.city) {
20143
+ detail = detail_parse(address.trim());
20144
+ if (detail.area && !detail.city) {
20145
+ detail = detail_parse(address.trim(), {
20146
+ ignoreArea: true
20147
+ });
20148
+ // console.log('smart_parse->ignoreArea');
20149
+ } else {
20150
+ // console.log('smart_parse');
20151
+ }
20152
+ //这个待完善
20153
+ var list = address.replace(detail.province, '').replace(detail.city, '').replace(detail.area, '').split(' ').filter(function (str) {
20154
+ return str;
20155
+ });
20156
+ if (list.length > 1) {
20157
+ list.forEach(function (str) {
20158
+ if (!parse.name || str && str.length < parse.name.length) {
20159
+ parse.name = str.trim();
20160
+ }
20161
+ });
20162
+ if (parse.name) {
20163
+ detail.addr = detail.addr.replace(parse.name, '').trim();
20164
+ }
20165
+ }
20166
+ } else {
20167
+ if (detail.name) {
20168
+ parse.name = detail.name;
20169
+ } else {
20170
+ var _list = detail.addr.split(' ').filter(function (str) {
20171
+ return str;
20172
+ });
20173
+ if (_list.length > 1) {
20174
+ parse.name = _list[_list.length - 1];
20175
+ }
20176
+ //详细地址中去掉 姓名
20177
+ if (parse.name) {
20178
+ detail.addr = detail.addr.replace(parse.name, '').trim();
20179
+ }
20180
+ }
20181
+
20182
+ //将分机号自动粘贴在收件人姓名后
20183
+ if (parse.extensionNumber) {
20184
+ parse.name = parse.name + '[转' + parse.extensionNumber + ']';
20185
+ }
20186
+ }
20187
+ parse.province = detail.province;
20188
+ parse.city = detail.city;
20189
+ parse.area = detail.area;
20190
+ parse.street = detail.street;
20191
+ parse.addr = detail.addr;
20192
+ parse.result = detail.result;
20193
+ if (parse.province === "澳门" || parse.province === "香港") {
20194
+ parse.province += "特别行政区";
20195
+ } else if (parse.province === "新疆") {
20196
+ parse.province = "新疆维吾尔自治区";
20197
+ } else if (parse.province === "西藏") {
20198
+ parse.province = "西藏自治区";
20199
+ } else if (parse.province === "广西") {
20200
+ parse.province = "广西壮族自治区";
20201
+ } else if (parse.province === "宁夏") {
20202
+ parse.province = "宁夏回族自治区";
20203
+ } else if (parse.province === "内蒙古") {
20204
+ parse.province = "内蒙古自治区";
20205
+ } else {
20206
+ if ("北京市上海市天津市重庆市".indexOf(parse.province) === -1) {
20207
+ // parse.province += "省";
20208
+ }
20209
+ }
20210
+ if (parse.city.indexOf("市") === -1) {
20211
+ // parse.city += "市";
20212
+ }
20213
+ return parse;
20214
+ }
20215
+
20216
+ /**
20217
+ * 正向解析模式
20218
+ * 从前到后按 province city addr 逐级筛选
20219
+ * 有city的值即可说明解析成功
20220
+ * 此模式对地址顺序有要求
20221
+ * @param address
20222
+ * @returns {{province: string, city: string, area: string, addr: string}}
20223
+ */
20224
+ function detail_parse_forward(address, sourceData) {
20225
+ var parse = {
20226
+ province: '',
20227
+ city: '',
20228
+ area: '',
20229
+ street: '',
20230
+ addr: '',
20231
+ name: ''
20232
+ };
20233
+ var addressCopy = address;
20234
+ var provinceKey = ['特别行政区', '古自治区', '维吾尔自治区', '壮族自治区', '回族自治区', '自治区', '省省直辖', '省', '市'];
20235
+ var cityKey = ['布依族苗族自治州', '苗族侗族自治州', '自治州', '州', '市', '县'];
20236
+ for (var i in defaultData) {
20237
+ var province = defaultData[i];
20238
+ var provinceSimple = province.name.replace('省', '');
20239
+ var index = address.indexOf(province.name);
20240
+ if (index == -1) {
20241
+ if (address.indexOf(provinceSimple) > -1) {
20242
+ // address= address.replace(provinceSimple,province.name);
20243
+ index = address.indexOf(provinceSimple);
20244
+ }
20245
+ }
20246
+ if (index > -1) {
20247
+ if (index > 0) {
20248
+ //省份不是在第一位,在省份之前的字段识别为名称
20249
+ parse.name = address.substr(0, index).trim();
20250
+ }
20251
+ parse.province = province.name;
20252
+ address = address.substr(index + provinceSimple.length);
20253
+ for (var k in provinceKey) {
20254
+ if (address.indexOf(provinceKey[k]) === 0) {
20255
+ address = address.substr(provinceKey[k].length);
20256
+ }
20257
+ }
20258
+ for (var j in province.city) {
20259
+ var city = province.city[j];
20260
+ index = address.indexOf(city.name);
20261
+ var citySimple = city.name.replace('市', '');
20262
+ if (index == -1) {
20263
+ if (address.indexOf(citySimple) > -1) {
20264
+ // address= address.replace(citySimple,city.name);
20265
+ index = address.indexOf(citySimple);
20266
+ }
20267
+ }
20268
+ if (index > -1 && index < 3) {
20269
+ parse.city = city.name;
20270
+ address = address.substr(index + citySimple.length);
20271
+ for (var _k in cityKey) {
20272
+ if (address.indexOf(cityKey[_k]) === 0) {
20273
+ address = address.substr(cityKey[_k].length);
20274
+ }
20275
+ }
20276
+ if (city.area) {
20277
+ // 对区域进行排序,优先匹配较长的区域名(如:临澧县优先于澧县)
20278
+ var sortedAreas = _toConsumableArray(city.area).sort(function (a, b) {
20279
+ return b.length - a.length;
20280
+ });
20281
+ for (var _k2 in sortedAreas) {
20282
+ var area = sortedAreas[_k2];
20283
+ index = address.indexOf(area);
20284
+ if (index > -1 && index < 3) {
20285
+ parse.area = area;
20286
+ address = address.substr(index + parse.area.length);
20287
+ if (city.street && city.street[area] && sourceData && sourceData.extraInfo && sourceData.extraInfo.isFourAddress) {
20288
+ for (var m in city.street[area]) {
20289
+ var street = city.street[area][m];
20290
+ var indexStreet = address.indexOf(street);
20291
+ if (indexStreet > -1) {
20292
+ parse.street = street;
20293
+ address = address.substr(indexStreet + parse.street.length);
20294
+ break;
20295
+ }
20296
+ }
20297
+ }
20298
+ break;
20299
+ }
20300
+ }
20301
+ }
20302
+ break;
20303
+ }
20304
+ }
20305
+ parse.addr = address.trim();
20306
+ if (parse.city) {
20307
+ break;
20308
+ } else if (parse.province) {
20309
+ address = addressCopy;
20310
+ }
20311
+ }
20312
+ }
20313
+ return parse;
20314
+ }
20315
+
20316
+ /**
20317
+ * 逆向解析 从后【县,区,旗】往前解析
20318
+ * 有地区就能大概返回地址了
20319
+ * @param address
20320
+ * @param ignoreArea 是否忽视区 因为地址中含有区容易导致匹配错误 例:山东省蓬莱市黄海花园东区西门宝威学堂 曲荣声收15753572456
20321
+ * @returns {{province: string, city: string, area: string, name: string, _area: string, addr: string}}
20322
+ */
20323
+ function detail_parse(address) {
20324
+ var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
20325
+ _ref$ignoreArea = _ref.ignoreArea,
20326
+ ignoreArea = _ref$ignoreArea === void 0 ? false : _ref$ignoreArea;
20327
+ var parse = {
20328
+ province: '',
20329
+ city: '',
20330
+ area: '',
20331
+ name: '',
20332
+ _area: '',
20333
+ addr: ''
20334
+ };
20335
+ var areaIndex = -1,
20336
+ cityIndex = -1;
20337
+ address = address.replace(' ', ' ');
20338
+ if (!ignoreArea && address.indexOf('县') > -1 || !ignoreArea && address.indexOf('区') > -1 || !ignoreArea && address.indexOf('旗') > -1) {
20339
+ if (address.indexOf('旗') > -1) {
20340
+ areaIndex = address.indexOf('旗');
20341
+ parse.area = address.substr(areaIndex - 1, 2);
20342
+ }
20343
+ if (address.indexOf('区') > -1) {
20344
+ // 改进区名识别逻辑,优先匹配地址库中存在的完整区名
20345
+ areaIndex = address.indexOf('区');
20346
+ if (address.lastIndexOf('市', areaIndex) > -1) {
20347
+ cityIndex = address.lastIndexOf('市', areaIndex);
20348
+ parse.area = address.substr(cityIndex + 1, areaIndex - cityIndex);
20349
+ } else {
20350
+ // 查找所有可能的区名,优先选择较长的匹配项
20351
+ var possibleAreas = [];
20352
+ // 从地址中寻找所有可能的区名
20353
+ for (var areaName in mArea) {
20354
+ if (address.includes(areaName) && areaName.endsWith('区')) {
20355
+ var pos = address.indexOf(areaName);
20356
+ if (pos !== -1 && pos <= areaIndex && pos >= Math.max(0, areaIndex - 6)) {
20357
+ possibleAreas.push(areaName);
20358
+ }
20359
+ }
20360
+ }
20361
+ if (possibleAreas.length > 0) {
20362
+ // 按长度降序排列,优先选择较长的匹配项
20363
+ possibleAreas.sort(function (a, b) {
20364
+ return b.length - a.length;
20365
+ });
20366
+ parse.area = possibleAreas[0];
20367
+ areaIndex = address.lastIndexOf(parse.area);
20368
+ } else {
20369
+ parse.area = address.substr(areaIndex - 2, 3);
20370
+ }
20371
+ }
20372
+ }
20373
+ if (address.indexOf('县') > -1) {
20374
+ // 改进县名识别逻辑,优先匹配地址库中存在的完整县名
20375
+ areaIndex = address.lastIndexOf('县');
20376
+ if (address.lastIndexOf('市', areaIndex) > -1) {
20377
+ cityIndex = address.lastIndexOf('市', areaIndex);
20378
+ parse.area = address.substr(cityIndex + 1, areaIndex - cityIndex);
20379
+ } else {
20380
+ // 查找所有可能的县名,优先选择较长的匹配项
20381
+ var _possibleAreas = [];
20382
+ // 从地址中寻找所有可能的县名
20383
+ for (var _areaName in mArea) {
20384
+ if (address.includes(_areaName) && _areaName.endsWith('县')) {
20385
+ var _pos = address.indexOf(_areaName);
20386
+ if (_pos !== -1 && _pos <= areaIndex && _pos >= Math.max(0, areaIndex - 6)) {
20387
+ _possibleAreas.push(_areaName);
20388
+ }
20389
+ }
20390
+ }
20391
+ if (_possibleAreas.length > 0) {
20392
+ // 按长度降序排列,优先选择较长的匹配项
20393
+ _possibleAreas.sort(function (a, b) {
20394
+ return b.length - a.length;
20395
+ });
20396
+ parse.area = _possibleAreas[0];
20397
+ areaIndex = address.lastIndexOf(parse.area);
20398
+ } else {
20399
+ parse.area = address.substr(areaIndex - 2, 3);
20400
+ }
20401
+ }
20402
+ }
20403
+ parse.addr = address.substr(areaIndex + 1);
20404
+ } else {
20405
+ if (address.indexOf('市') > -1) {
20406
+ areaIndex = address.indexOf('市');
20407
+ parse.area = address.substr(areaIndex - 2, 3);
20408
+ parse.addr = address.substr(areaIndex + 1);
20409
+ } else {
20410
+ parse.addr = address;
20411
+ }
20412
+ }
20413
+ if (address.indexOf('市') > -1 || address.indexOf('盟') > -1 || address.indexOf('州') > -1) {
20414
+ if (address.indexOf('市') > -1) {
20415
+ parse._area = address.substr(address.indexOf('市') - 2, 2);
20416
+ }
20417
+ if (address.indexOf('盟') > -1 && !mCity[parse._area]) {
20418
+ parse._area = address.substr(address.indexOf('盟') - 2, 2);
20419
+ }
20420
+ if (address.indexOf('州') > -1 && !mCity[parse._area]) {
20421
+ parse._area = address.substr(address.indexOf('州') - 2, 2);
20422
+ }
20423
+ }
20424
+ parse.area = parse.area.trim();
20425
+
20426
+ // 确保选择最长的匹配项
20427
+ if (parse.area && mArea[parse.area]) {
20428
+ // 检查是否有更长的匹配项
20429
+ var checkLongerMatch = function checkLongerMatch(currentArea, addressSubstring, endIndex) {
20430
+ var longerMatch = currentArea;
20431
+ // 检查在当前地址片段中是否存在更长的匹配项
20432
+ for (var _areaName2 in mArea) {
20433
+ if (addressSubstring.includes(_areaName2) && _areaName2.length > longerMatch.length && (_areaName2.endsWith('县') || _areaName2.endsWith('区') || _areaName2.endsWith('旗'))) {
20434
+ var _pos2 = addressSubstring.lastIndexOf(_areaName2);
20435
+ if (_pos2 !== -1 && _pos2 <= endIndex) {
20436
+ longerMatch = _areaName2;
20437
+ }
20438
+ }
20439
+ }
20440
+ return longerMatch;
20441
+ };
20442
+
20443
+ // 更新区域名称为最长匹配项
20444
+ var originalArea = parse.area;
20445
+ if (address) {
20446
+ parse.area = checkLongerMatch(parse.area, address, areaIndex);
20447
+ // 如果区域名称发生变化,更新areaIndex
20448
+ if (parse.area !== originalArea) {
20449
+ areaIndex = address.lastIndexOf(parse.area);
20450
+ }
20451
+ }
20452
+ if (mArea[parse.area].length === 1) {
20453
+ parse.province = mArea[parse.area][0].p;
20454
+ parse.city = mArea[parse.area][0].c;
20455
+ } else {
20456
+ parse._area = parse._area.trim();
20457
+ var addr = address.substr(0, areaIndex);
20458
+ var d = mArea[parse.area].find(function (item) {
20459
+ return item.p.indexOf(addr) > -1 || item.c === parse._area;
20460
+ });
20461
+ if (d) {
20462
+ parse.province = d.p;
20463
+ parse.city = d.c;
20464
+ } else {
20465
+ parse.result = mArea[parse.area];
20466
+ }
20467
+ }
20468
+ } else {
20469
+ if (parse._area) {
20470
+ var city = mCity[parse._area];
20471
+ if (city) {
20472
+ parse.province = city[0].p;
20473
+ parse.city = city[0].c;
20474
+ parse.addr = address.substr(address.indexOf(parse.city) + parse.city.length + 1);
20475
+ parse.area = '';
20476
+ for (var i in city[0].a) {
20477
+ if (parse.addr.indexOf(city[0].a[i]) === 0) {
20478
+ parse.area = city[0].a[i];
20479
+ parse.addr = parse.addr.replace(city[0].a[i], '');
20480
+ break;
20481
+ }
20482
+ }
20483
+ }
20484
+ } else {
20485
+ parse.area = '';
20486
+ }
20487
+ }
20488
+ parse.addr = parse.addr.trim();
20489
+ return parse;
20490
+ }
20491
+ var MUNICIPALITIES = ['上海', '北京', '天津', '重庆'];
20492
+
20493
+ /**
20494
+ * 统一换行符格式
20495
+ */
20496
+ function normalizeLineBreaks(address) {
20497
+ return String(address || '').replace(/\r\n/g, '\n').replace(/\r/g, '\n').replace(/\t/g, ' ');
20498
+ }
20499
+
20500
+ /**
20501
+ * 按换行符拆分段落,去除行内空白后用空格拼接为单行
20502
+ */
20503
+ function joinAddressLines(address) {
20504
+ var normalized = normalizeLineBreaks(address);
20505
+ var lines = normalized.split('\n');
20506
+ var parts = [];
20507
+ for (var i = 0; i < lines.length; i++) {
20508
+ var line = lines[i].replace(/[ \t\f\v]+/g, ' ').trim();
20509
+ if (line) {
20510
+ parts.push(line);
20511
+ }
20512
+ }
20513
+ return parts.join(' ');
20514
+ }
20515
+
20516
+ /**
20517
+ * 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
20518
+ * @param {object} options
20519
+ * @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
20520
+ * @returns {array|null}
20521
+ */
20522
+ function getGlobalAreaList() {
20523
+ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
20524
+ if (options.areaList) {
20525
+ return options.areaList;
20526
+ }
20527
+ if (typeof window !== 'undefined' && window.areaList) {
20528
+ return window.areaList;
20529
+ }
20530
+ try {
20531
+ // CDN 场景下 areaList 为全局变量
20532
+ // eslint-disable-next-line no-undef
20533
+ if (typeof areaList !== 'undefined') {
20534
+ // eslint-disable-next-line no-undef
20535
+ return areaList;
20536
+ }
20537
+ } catch (e) {
20538
+ // areaList 未定义时忽略
20539
+ }
20540
+ return null;
20541
+ }
20542
+
20543
+ /**
20544
+ * 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
20545
+ */
20546
+ function checkMunicipalityChars(str, name) {
20547
+ var prefix = str.substring(0, 8);
20548
+ var firstIndex = prefix.indexOf(name);
20549
+ var lastIndex = prefix.lastIndexOf(name);
20550
+ return firstIndex !== -1 && firstIndex === lastIndex;
20551
+ }
20552
+
20553
+ /**
20554
+ * 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
20555
+ */
20556
+ function preprocessAddress(address) {
20557
+ var cleanAddress = normalizeLineBreaks(address).replace(/[ \t\f\v]+/g, '');
20558
+ cleanAddress = cleanAddress.replace(/\n+/g, '\n').replace(/^\n+|\n+$/g, '');
20559
+ MUNICIPALITIES.forEach(function (name) {
20560
+ if (cleanAddress.indexOf('\n') > -1) {
20561
+ var lines = cleanAddress.split('\n');
20562
+ for (var i = 0; i < lines.length; i++) {
20563
+ if (checkMunicipalityChars(lines[i], name)) {
20564
+ lines[i] = name + lines[i];
20565
+ }
20566
+ }
20567
+ cleanAddress = lines.join('\n');
20568
+ } else if (checkMunicipalityChars(cleanAddress, name)) {
20569
+ cleanAddress = name + cleanAddress;
20570
+ }
20571
+ });
20572
+ return cleanAddress;
20573
+ }
20574
+
20575
+ /**
20576
+ * 自动识别地址信息,格式化为省市区街道和收件人等信息
20577
+ * @param {string} address 原始地址字符串(可含空格、姓名、手机号等)
20578
+ * @param {object} [sourceData] 组件 sourceData,用于四级地址等配置(extraInfo.isFourAddress)
20579
+ * @param {object} [options] 可选配置
20580
+ * @param {array} [options.areaList] 地址库原始数据,默认从全局 areaList 获取
20581
+ * @returns {{name: string, mobile: string, phone: string, zip_code: string, extensionNumber: string, province: string, city: string, area: string, street: string, addr: string, result: *}}
20582
+ */
20583
+ function addressParse(address, sourceData) {
20584
+ var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
20585
+ var list = getGlobalAreaList(options);
20586
+ if (list) {
20587
+ parseArea(list);
20588
+ }
20589
+ var cleanAddress = preprocessAddress(address);
20590
+ return parseAddressDetail(cleanAddress, sourceData || {});
20591
+ }
20592
+ ;// ./packages/util/index.js
20593
+
20594
+
20595
+
20596
+
20597
+
20598
+
20599
+
20600
+
20601
+
20602
+
20603
+
20604
+
20605
+
20606
+
20607
+
20608
+
20609
+
20610
+
20611
+
20612
+
20613
+
20614
+ /**
20615
+ * 通过id列表,和options将title拼接出来 ,id的key名和 title的key名可以传过来,默认是id和title
20616
+ * id:[1,2] options:[{id:1,title:'name'},{id:2,title:'name2'}] 或 {1:'name',2:'name2'}
20617
+ * 结果返回 'name,name2'
20618
+ * @param {Array} ids ID列表
20619
+ * @param {Array|Object} options 选项数组或对象映射
20620
+ * @param {String} idKey ID的键名,默认为'id',仅当options为数组时使用
20621
+ * @param {String} nameKey 名称的键名,默认为'title',仅当options为数组时使用
20622
+ * @param {String} separator 自定义分隔符,默认为中文逗号','
20623
+ * @return {String} 拼接后的字符串
20624
+ * */
20625
+ function idsToTexts(ids, options) {
20626
+ var idKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'id';
20627
+ var nameKey = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'title';
20628
+ var separator = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ',';
20629
+ // 快速路径:空值检查
20630
+ if (!(ids !== null && ids !== void 0 && ids.length)) return '';
20631
+ if (!options) return ids.join(separator);
20632
+
20633
+ // 使用Map代替普通对象,在大量数据时性能更好
20634
+ var map = new Map();
20635
+
20636
+ // 判断options类型并进行相应处理
20637
+ if (Array.isArray(options)) {
20638
+ // 数组类型的options: [{id:1,title:'name'},{id:2,title:'name2'}]
20639
+ for (var i = 0, len = options.length; i < len; i++) {
20640
+ var item = options[i];
20641
+ if (item) map.set(item[idKey], item[nameKey]);
20642
+ }
20643
+ } else if (_typeof(options) === 'object') {
20644
+ // 对象映射类型的options: {1:'name',2:'name2'}
20645
+ var keys = Object.keys(options);
20646
+ for (var _i = 0, _len = keys.length; _i < _len; _i++) {
20647
+ var key = keys[_i];
20648
+ map.set(key, options[key]);
20649
+ }
20650
+ }
20651
+
20652
+ // 使用join的第二种模式,减少中间数组创建
20653
+ var result = '';
20654
+ for (var _i2 = 0, _len2 = ids.length; _i2 < _len2; _i2++) {
20655
+ var id = ids[_i2];
20656
+ result += (_i2 > 0 ? separator : '') + (map.has(String(id)) ? map.get(String(id)) : map.has(id) ? map.get(id) : id);
20657
+ }
20658
+ return result;
20659
+ }
20660
+
20661
+ ;// ./install.js
20662
+ // install.js - BnAppletUi 组件库入口
20663
+
20664
+
20665
+
20666
+
20667
+
20668
+
20669
+
20670
+
20671
+
20672
+
20673
+
20674
+
20675
+
20676
+
20677
+ const BnAppletUi = {
20678
+ install: (Vue) => {
20679
+ Vue.component("BnAddress", BnAddress);
20680
+ Vue.component("BnAddressParse", BnAddressParse);
20681
+ Vue.component("BnCheck", BnCheck);
20682
+ Vue.component("BnDateRange", bnDateRange);
20683
+ Vue.component("BnDialog", dialog);
20684
+ Vue.component("BnDropdown", bnDropdown);
20685
+ Vue.component("BnFileView", BnFileView);
20686
+ Vue.component("BnFunText", bnFunText);
20687
+ Vue.component("BnInpNum", BnInpNum);
20688
+ Vue.component("BnInputNum", BnInputNum);
20689
+ Vue.component("BnRuleCondition", bnRuleCondition);
20690
+ Vue.component("BnSelect", BnSelect_select);
20691
+ Vue.component("BnFiTaxAutoComplete", BnFiTaxAutoComplete);
20692
+ }
20693
+ };
20694
+
20695
+ // 支持通过 CDN 方式引入时自动注册
20696
+ if (typeof window !== 'undefined' && window.Vue) {
20697
+ window.Vue.use(BnAppletUi);
20698
+ }
20699
+
20700
+ // 导出插件对象(整体引入)
20701
+ // 使用方式:Vue.use(BnAppletUi)
20702
+ /* harmony default export */ const install = (BnAppletUi);
20703
+
20704
+ // 单独导出各组件(按需引入)
20705
+
20706
+ // 单独导出每个工具函数和常量,方便按需引入
19588
20707
 
19589
20708
  ;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
19590
20709