@bytenew/bn-applet-ui 1.1.22 → 1.1.24
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.
- package/common.scss +1408 -1408
- package/dist/bn-applet-ui.common.js +491 -424
- package/dist/bn-applet-ui.common.js.map +1 -1
- package/dist/bn-applet-ui.umd.js +491 -424
- package/dist/bn-applet-ui.umd.js.map +1 -1
- package/dist/bn-applet-ui.umd.min.js +2 -2
- package/dist/bn-applet-ui.umd.min.js.map +1 -1
- package/package.json +40 -40
|
@@ -298,7 +298,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `*[data-v-c3b70e18]{box-sizing:border-b
|
|
|
298
298
|
|
|
299
299
|
/***/ },
|
|
300
300
|
|
|
301
|
-
/***/
|
|
301
|
+
/***/ 80
|
|
302
302
|
(module, __webpack_exports__, __webpack_require__) {
|
|
303
303
|
|
|
304
304
|
"use strict";
|
|
@@ -315,7 +315,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
315
315
|
|
|
316
316
|
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()));
|
|
317
317
|
// Module
|
|
318
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.bnInput-underline[data-v-
|
|
318
|
+
___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}`, ""]);
|
|
319
319
|
// Exports
|
|
320
320
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
321
321
|
|
|
@@ -950,19 +950,19 @@ var update = add("2c657678", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
950
950
|
|
|
951
951
|
/***/ },
|
|
952
952
|
|
|
953
|
-
/***/
|
|
953
|
+
/***/ 1494
|
|
954
954
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
955
955
|
|
|
956
956
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
957
957
|
|
|
958
958
|
// load the styles
|
|
959
|
-
var content = __webpack_require__(
|
|
959
|
+
var content = __webpack_require__(80);
|
|
960
960
|
if(content.__esModule) content = content.default;
|
|
961
961
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
962
962
|
if(content.locals) module.exports = content.locals;
|
|
963
963
|
// add the styles to the DOM
|
|
964
964
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
965
|
-
var update = add("
|
|
965
|
+
var update = add("7ee7d200", content, true, {"sourceMap":false,"shadowMode":false});
|
|
966
966
|
|
|
967
967
|
/***/ },
|
|
968
968
|
|
|
@@ -10338,7 +10338,7 @@ if (typeof window !== 'undefined') {
|
|
|
10338
10338
|
// Indicate to webpack that this file can be concatenated
|
|
10339
10339
|
/* harmony default export */ const setPublicPath = (null);
|
|
10340
10340
|
|
|
10341
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddress/index.vue?vue&type=template&id=8705bc38&scoped=true
|
|
10341
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddress/index.vue?vue&type=template&id=8705bc38&scoped=true
|
|
10342
10342
|
var render = function render() {
|
|
10343
10343
|
var _vm = this,
|
|
10344
10344
|
_c = _vm._self._c;
|
|
@@ -10733,7 +10733,7 @@ var component = normalizeComponent(
|
|
|
10733
10733
|
)
|
|
10734
10734
|
|
|
10735
10735
|
/* harmony default export */ const BnAddress = (component.exports);
|
|
10736
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddressParse/index.vue?vue&type=template&id=3a0d7cb0
|
|
10736
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddressParse/index.vue?vue&type=template&id=3a0d7cb0
|
|
10737
10737
|
var BnAddressParsevue_type_template_id_3a0d7cb0_render = function render() {
|
|
10738
10738
|
var _vm = this,
|
|
10739
10739
|
_c = _vm._self._c;
|
|
@@ -10810,8 +10810,8 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
|
|
|
10810
10810
|
};
|
|
10811
10811
|
},
|
|
10812
10812
|
methods: {
|
|
10813
|
-
/**
|
|
10814
|
-
* 自动识别方法(使用防抖)
|
|
10813
|
+
/**
|
|
10814
|
+
* 自动识别方法(使用防抖)
|
|
10815
10815
|
*/
|
|
10816
10816
|
autoAds: (0,external_lodash_namespaceObject.debounce)(function () {
|
|
10817
10817
|
var _this = this;
|
|
@@ -10870,7 +10870,7 @@ var BnAddressParse_component = normalizeComponent(
|
|
|
10870
10870
|
)
|
|
10871
10871
|
|
|
10872
10872
|
/* harmony default export */ const BnAddressParse = (BnAddressParse_component.exports);
|
|
10873
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnCheck/BnCheck.vue?vue&type=template&id=3782b7e9&scoped=true
|
|
10873
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnCheck/BnCheck.vue?vue&type=template&id=3782b7e9&scoped=true
|
|
10874
10874
|
var BnCheckvue_type_template_id_3782b7e9_scoped_true_render = function render() {
|
|
10875
10875
|
var _vm = this,
|
|
10876
10876
|
_c = _vm._self._c;
|
|
@@ -11014,8 +11014,8 @@ var es_string_includes = __webpack_require__(1699);
|
|
|
11014
11014
|
}
|
|
11015
11015
|
},
|
|
11016
11016
|
methods: {
|
|
11017
|
-
/**
|
|
11018
|
-
* 组件默认判断
|
|
11017
|
+
/**
|
|
11018
|
+
* 组件默认判断
|
|
11019
11019
|
* */
|
|
11020
11020
|
check: function check() {
|
|
11021
11021
|
var _this = this;
|
|
@@ -11040,8 +11040,8 @@ var es_string_includes = __webpack_require__(1699);
|
|
|
11040
11040
|
}
|
|
11041
11041
|
}
|
|
11042
11042
|
},
|
|
11043
|
-
/**
|
|
11044
|
-
* 点击事件
|
|
11043
|
+
/**
|
|
11044
|
+
* 点击事件
|
|
11045
11045
|
* */
|
|
11046
11046
|
handleClick: function handleClick() {
|
|
11047
11047
|
var _this2 = this;
|
|
@@ -11086,8 +11086,8 @@ var es_string_includes = __webpack_require__(1699);
|
|
|
11086
11086
|
});
|
|
11087
11087
|
this.emitClick();
|
|
11088
11088
|
},
|
|
11089
|
-
/**
|
|
11090
|
-
* 点击事件透出
|
|
11089
|
+
/**
|
|
11090
|
+
* 点击事件透出
|
|
11091
11091
|
* */
|
|
11092
11092
|
emitClick: function emitClick() {
|
|
11093
11093
|
if (this.onClick) {
|
|
@@ -11127,7 +11127,7 @@ var BnCheck_component = normalizeComponent(
|
|
|
11127
11127
|
)
|
|
11128
11128
|
|
|
11129
11129
|
/* harmony default export */ const BnCheck = (BnCheck_component.exports);
|
|
11130
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDateRange/bnDateRange.vue?vue&type=template&id=5575777a
|
|
11130
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDateRange/bnDateRange.vue?vue&type=template&id=5575777a
|
|
11131
11131
|
var bnDateRangevue_type_template_id_5575777a_render = function render() {
|
|
11132
11132
|
var _vm = this,
|
|
11133
11133
|
_c = _vm._self._c;
|
|
@@ -11306,8 +11306,8 @@ var es_object_keys = __webpack_require__(9432);
|
|
|
11306
11306
|
};
|
|
11307
11307
|
},
|
|
11308
11308
|
methods: {
|
|
11309
|
-
/**
|
|
11310
|
-
* 更新时间选择器数据
|
|
11309
|
+
/**
|
|
11310
|
+
* 更新时间选择器数据
|
|
11311
11311
|
* */
|
|
11312
11312
|
updateValue: function updateValue(value) {
|
|
11313
11313
|
// 更新v-model
|
|
@@ -11317,22 +11317,22 @@ var es_object_keys = __webpack_require__(9432);
|
|
|
11317
11317
|
// 发送change事件
|
|
11318
11318
|
this.$emit('change', value);
|
|
11319
11319
|
},
|
|
11320
|
-
/**
|
|
11321
|
-
* 失去焦点
|
|
11320
|
+
/**
|
|
11321
|
+
* 失去焦点
|
|
11322
11322
|
* */
|
|
11323
11323
|
blur: function blur(val) {
|
|
11324
11324
|
this.$emit('blur', val);
|
|
11325
11325
|
},
|
|
11326
|
-
/**
|
|
11327
|
-
* 获得焦点
|
|
11326
|
+
/**
|
|
11327
|
+
* 获得焦点
|
|
11328
11328
|
* */
|
|
11329
11329
|
focus: function focus(val) {
|
|
11330
11330
|
this.$emit('focus', val);
|
|
11331
11331
|
}
|
|
11332
11332
|
},
|
|
11333
11333
|
computed: {
|
|
11334
|
-
/**
|
|
11335
|
-
* 日期组件value
|
|
11334
|
+
/**
|
|
11335
|
+
* 日期组件value
|
|
11336
11336
|
* */
|
|
11337
11337
|
date: {
|
|
11338
11338
|
get: function get() {
|
|
@@ -11388,7 +11388,7 @@ var bnDateRange_component = normalizeComponent(
|
|
|
11388
11388
|
)
|
|
11389
11389
|
|
|
11390
11390
|
/* harmony default export */ const bnDateRange = (bnDateRange_component.exports);
|
|
11391
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDialog/dialog.vue?vue&type=template&id=f9aaf6de
|
|
11391
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDialog/dialog.vue?vue&type=template&id=f9aaf6de
|
|
11392
11392
|
var dialogvue_type_template_id_f9aaf6de_render = function render() {
|
|
11393
11393
|
var _vm = this,
|
|
11394
11394
|
_c = _vm._self._c;
|
|
@@ -11648,7 +11648,7 @@ var dialog_component = normalizeComponent(
|
|
|
11648
11648
|
var es_regexp_exec = __webpack_require__(7495);
|
|
11649
11649
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
|
|
11650
11650
|
var es_string_search = __webpack_require__(5746);
|
|
11651
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDown/bnDropdown.vue?vue&type=template&id=a5f24f64&scoped=true
|
|
11651
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDown/bnDropdown.vue?vue&type=template&id=a5f24f64&scoped=true
|
|
11652
11652
|
|
|
11653
11653
|
|
|
11654
11654
|
|
|
@@ -12373,10 +12373,10 @@ function toPinYin(chart) {
|
|
|
12373
12373
|
return getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
|
|
12374
12374
|
}
|
|
12375
12375
|
|
|
12376
|
-
/**
|
|
12377
|
-
* 匹配大小写字母拼音 返回Boolean值
|
|
12378
|
-
* @param {*} chart 需要匹配的字符
|
|
12379
|
-
* @param {*} data 需要进行匹配的字符
|
|
12376
|
+
/**
|
|
12377
|
+
* 匹配大小写字母拼音 返回Boolean值
|
|
12378
|
+
* @param {*} chart 需要匹配的字符
|
|
12379
|
+
* @param {*} data 需要进行匹配的字符
|
|
12380
12380
|
*/
|
|
12381
12381
|
function searchToBoolean(chart, data) {
|
|
12382
12382
|
return toPinYin(data).indexOf(toPinYin(chart)) !== -1;
|
|
@@ -12460,11 +12460,11 @@ function searchItemFlat(chart, data, name) {
|
|
|
12460
12460
|
name: "bnDropdown",
|
|
12461
12461
|
props: {
|
|
12462
12462
|
value: [String, Array, Number, Object],
|
|
12463
|
-
/**
|
|
12464
|
-
* 下拉弹窗模式
|
|
12465
|
-
* 单选(singleCheck) 默认
|
|
12466
|
-
* 多选(multiCheck)
|
|
12467
|
-
* 多选框(multiCheckBox)
|
|
12463
|
+
/**
|
|
12464
|
+
* 下拉弹窗模式
|
|
12465
|
+
* 单选(singleCheck) 默认
|
|
12466
|
+
* 多选(multiCheck)
|
|
12467
|
+
* 多选框(multiCheckBox)
|
|
12468
12468
|
*/
|
|
12469
12469
|
checkMode: {
|
|
12470
12470
|
type: String,
|
|
@@ -12637,8 +12637,8 @@ function searchItemFlat(chart, data, name) {
|
|
|
12637
12637
|
this.optionCheckMap = checkedMap;
|
|
12638
12638
|
}
|
|
12639
12639
|
},
|
|
12640
|
-
/**
|
|
12641
|
-
* 打开选择器时触发,初始化
|
|
12640
|
+
/**
|
|
12641
|
+
* 打开选择器时触发,初始化
|
|
12642
12642
|
* */
|
|
12643
12643
|
open: function open() {
|
|
12644
12644
|
var _this2 = this;
|
|
@@ -12670,8 +12670,8 @@ function searchItemFlat(chart, data, name) {
|
|
|
12670
12670
|
this.backshowMultiCheckBox();
|
|
12671
12671
|
}
|
|
12672
12672
|
},
|
|
12673
|
-
/**
|
|
12674
|
-
* 关闭时清除没有确定的选项
|
|
12673
|
+
/**
|
|
12674
|
+
* 关闭时清除没有确定的选项
|
|
12675
12675
|
*/
|
|
12676
12676
|
close: function close() {
|
|
12677
12677
|
// 多选框模式
|
|
@@ -12702,10 +12702,10 @@ function searchItemFlat(chart, data, name) {
|
|
|
12702
12702
|
});
|
|
12703
12703
|
}
|
|
12704
12704
|
},
|
|
12705
|
-
/**
|
|
12706
|
-
* 动态计算title
|
|
12707
|
-
* @param {Array} list 数组
|
|
12708
|
-
* @param {String} id 需要匹配的id
|
|
12705
|
+
/**
|
|
12706
|
+
* 动态计算title
|
|
12707
|
+
* @param {Array} list 数组
|
|
12708
|
+
* @param {String} id 需要匹配的id
|
|
12709
12709
|
* */
|
|
12710
12710
|
foundTitle: function foundTitle() {
|
|
12711
12711
|
var _this4 = this;
|
|
@@ -12727,8 +12727,8 @@ function searchItemFlat(chart, data, name) {
|
|
|
12727
12727
|
}
|
|
12728
12728
|
return title;
|
|
12729
12729
|
},
|
|
12730
|
-
/**
|
|
12731
|
-
* 远程加载数据
|
|
12730
|
+
/**
|
|
12731
|
+
* 远程加载数据
|
|
12732
12732
|
* */
|
|
12733
12733
|
loadMore: function loadMore() {
|
|
12734
12734
|
var _this5 = this;
|
|
@@ -12744,9 +12744,9 @@ function searchItemFlat(chart, data, name) {
|
|
|
12744
12744
|
}
|
|
12745
12745
|
});
|
|
12746
12746
|
},
|
|
12747
|
-
/**
|
|
12748
|
-
* 判断是否选中 选中返回true,未选中返回false
|
|
12749
|
-
* @param {Object} item 选项的对象数据
|
|
12747
|
+
/**
|
|
12748
|
+
* 判断是否选中 选中返回true,未选中返回false
|
|
12749
|
+
* @param {Object} item 选项的对象数据
|
|
12750
12750
|
* */
|
|
12751
12751
|
checked: function checked(item) {
|
|
12752
12752
|
var check = false;
|
|
@@ -12778,9 +12778,9 @@ function searchItemFlat(chart, data, name) {
|
|
|
12778
12778
|
}
|
|
12779
12779
|
return check;
|
|
12780
12780
|
},
|
|
12781
|
-
/**
|
|
12782
|
-
* 点击下拉菜单中的某一项,选中或取消选中
|
|
12783
|
-
* @param {Object} item 选项的对象数据
|
|
12781
|
+
/**
|
|
12782
|
+
* 点击下拉菜单中的某一项,选中或取消选中
|
|
12783
|
+
* @param {Object} item 选项的对象数据
|
|
12784
12784
|
* */
|
|
12785
12785
|
chooseItem: function chooseItem(item) {
|
|
12786
12786
|
var value = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
|
|
@@ -12850,8 +12850,8 @@ function searchItemFlat(chart, data, name) {
|
|
|
12850
12850
|
// change事件
|
|
12851
12851
|
this.$emit("change", value);
|
|
12852
12852
|
},
|
|
12853
|
-
/**
|
|
12854
|
-
* 快捷查询
|
|
12853
|
+
/**
|
|
12854
|
+
* 快捷查询
|
|
12855
12855
|
* */
|
|
12856
12856
|
search: debounce(function (val) {
|
|
12857
12857
|
// 保存当前选中状态
|
|
@@ -12965,7 +12965,7 @@ var bnDropdown_component = normalizeComponent(
|
|
|
12965
12965
|
)
|
|
12966
12966
|
|
|
12967
12967
|
/* harmony default export */ const bnDropdown = (bnDropdown_component.exports);
|
|
12968
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=template&id=27b6fb78&scoped=true
|
|
12968
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=template&id=27b6fb78&scoped=true
|
|
12969
12969
|
var BnFileViewvue_type_template_id_27b6fb78_scoped_true_render = function render() {
|
|
12970
12970
|
var _vm = this,
|
|
12971
12971
|
_c = _vm._self._c;
|
|
@@ -13072,7 +13072,7 @@ var es_error_to_string = __webpack_require__(6918);
|
|
|
13072
13072
|
var es_date_to_string = __webpack_require__(3288);
|
|
13073
13073
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.parse-int.js
|
|
13074
13074
|
var es_parse_int = __webpack_require__(8940);
|
|
13075
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/videoPreview.vue?vue&type=template&id=9a7f7bec&scoped=true
|
|
13075
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/videoPreview.vue?vue&type=template&id=9a7f7bec&scoped=true
|
|
13076
13076
|
var videoPreviewvue_type_template_id_9a7f7bec_scoped_true_render = function render() {
|
|
13077
13077
|
var _vm = this,
|
|
13078
13078
|
_c = _vm._self._c;
|
|
@@ -13118,8 +13118,8 @@ var videoPreviewvue_type_template_id_9a7f7bec_scoped_true_staticRenderFns = [];
|
|
|
13118
13118
|
}
|
|
13119
13119
|
},
|
|
13120
13120
|
methods: {
|
|
13121
|
-
/**
|
|
13122
|
-
* 打开播发视频
|
|
13121
|
+
/**
|
|
13122
|
+
* 打开播发视频
|
|
13123
13123
|
* */
|
|
13124
13124
|
open: function open(url) {
|
|
13125
13125
|
this.url = url;
|
|
@@ -13154,7 +13154,7 @@ var videoPreview_component = normalizeComponent(
|
|
|
13154
13154
|
)
|
|
13155
13155
|
|
|
13156
13156
|
/* harmony default export */ const videoPreview = (videoPreview_component.exports);
|
|
13157
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=template&id=7fcc19c2&scoped=true
|
|
13157
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=template&id=7fcc19c2&scoped=true
|
|
13158
13158
|
var FileDetailvue_type_template_id_7fcc19c2_scoped_true_render = function render() {
|
|
13159
13159
|
var _vm = this,
|
|
13160
13160
|
_c = _vm._self._c;
|
|
@@ -13258,8 +13258,8 @@ var es_parse_float = __webpack_require__(8459);
|
|
|
13258
13258
|
}
|
|
13259
13259
|
},
|
|
13260
13260
|
methods: {
|
|
13261
|
-
/**
|
|
13262
|
-
* 获取下载链接
|
|
13261
|
+
/**
|
|
13262
|
+
* 获取下载链接
|
|
13263
13263
|
* */
|
|
13264
13264
|
getDownloadUrl: function getDownloadUrl(file) {
|
|
13265
13265
|
if (this.downType === 'url') {
|
|
@@ -13267,8 +13267,8 @@ var es_parse_float = __webpack_require__(8459);
|
|
|
13267
13267
|
}
|
|
13268
13268
|
return !file.id ? file.url : '/v2/attachment/' + file.id;
|
|
13269
13269
|
},
|
|
13270
|
-
/**
|
|
13271
|
-
* 计算附件大小
|
|
13270
|
+
/**
|
|
13271
|
+
* 计算附件大小
|
|
13272
13272
|
* */
|
|
13273
13273
|
returnSizeText: function returnSizeText(size) {
|
|
13274
13274
|
if (size && parseFloat(size) / 1024 / 1024 < 1) {
|
|
@@ -13437,15 +13437,15 @@ var FileDetail_component = normalizeComponent(
|
|
|
13437
13437
|
};
|
|
13438
13438
|
},
|
|
13439
13439
|
methods: {
|
|
13440
|
-
/**
|
|
13441
|
-
* 忽略大小写判断文件类型
|
|
13440
|
+
/**
|
|
13441
|
+
* 忽略大小写判断文件类型
|
|
13442
13442
|
* */
|
|
13443
13443
|
includesType: function includesType(typeList, fileType) {
|
|
13444
13444
|
if (!fileType) return false;
|
|
13445
13445
|
return (0,external_lodash_namespaceObject.includes)((0,external_lodash_namespaceObject.map)(typeList, external_lodash_namespaceObject.toLower), (0,external_lodash_namespaceObject.toLower)(fileType));
|
|
13446
13446
|
},
|
|
13447
|
-
/**
|
|
13448
|
-
* 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
|
|
13447
|
+
/**
|
|
13448
|
+
* 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
|
|
13449
13449
|
* */
|
|
13450
13450
|
initViewer: function initViewer(view) {
|
|
13451
13451
|
this.viewer = view;
|
|
@@ -13482,8 +13482,8 @@ var FileDetail_component = normalizeComponent(
|
|
|
13482
13482
|
}
|
|
13483
13483
|
}
|
|
13484
13484
|
},
|
|
13485
|
-
/**
|
|
13486
|
-
* 根据文件类型,判端文件预览展示那种图片或icon
|
|
13485
|
+
/**
|
|
13486
|
+
* 根据文件类型,判端文件预览展示那种图片或icon
|
|
13487
13487
|
* */
|
|
13488
13488
|
getFileImg: function getFileImg(file) {
|
|
13489
13489
|
// 默认文件图片
|
|
@@ -13526,8 +13526,8 @@ var FileDetail_component = normalizeComponent(
|
|
|
13526
13526
|
}
|
|
13527
13527
|
return url;
|
|
13528
13528
|
},
|
|
13529
|
-
/**
|
|
13530
|
-
* 删除附件
|
|
13529
|
+
/**
|
|
13530
|
+
* 删除附件
|
|
13531
13531
|
* */
|
|
13532
13532
|
delFile: function delFile(index) {
|
|
13533
13533
|
this.fileList.splice(index, 1);
|
|
@@ -13567,7 +13567,7 @@ var BnFileView_component = normalizeComponent(
|
|
|
13567
13567
|
)
|
|
13568
13568
|
|
|
13569
13569
|
/* harmony default export */ const BnFileView = (BnFileView_component.exports);
|
|
13570
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFunText/bnFunText.vue?vue&type=template&id=c3b70e18&scoped=true
|
|
13570
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFunText/bnFunText.vue?vue&type=template&id=c3b70e18&scoped=true
|
|
13571
13571
|
|
|
13572
13572
|
|
|
13573
13573
|
|
|
@@ -14128,10 +14128,10 @@ var functions = [{
|
|
|
14128
14128
|
}
|
|
14129
14129
|
}
|
|
14130
14130
|
},
|
|
14131
|
-
/**
|
|
14132
|
-
* 整理组件列表为schema
|
|
14133
|
-
*@param array 组件插入到数组
|
|
14134
|
-
*@param column 组件
|
|
14131
|
+
/**
|
|
14132
|
+
* 整理组件列表为schema
|
|
14133
|
+
*@param array 组件插入到数组
|
|
14134
|
+
*@param column 组件
|
|
14135
14135
|
* */
|
|
14136
14136
|
loadColumn: function loadColumn(array, column) {
|
|
14137
14137
|
var data = {
|
|
@@ -14166,8 +14166,8 @@ var functions = [{
|
|
|
14166
14166
|
array.push(data);
|
|
14167
14167
|
}
|
|
14168
14168
|
},
|
|
14169
|
-
/**
|
|
14170
|
-
* 切换函数分类的打开挂壁
|
|
14169
|
+
/**
|
|
14170
|
+
* 切换函数分类的打开挂壁
|
|
14171
14171
|
* */
|
|
14172
14172
|
changeOpenClass: function changeOpenClass(item) {
|
|
14173
14173
|
var index = this.openFunClass.indexOf(item.name);
|
|
@@ -14177,8 +14177,8 @@ var functions = [{
|
|
|
14177
14177
|
this.openFunClass.splice(index, 1);
|
|
14178
14178
|
}
|
|
14179
14179
|
},
|
|
14180
|
-
/**
|
|
14181
|
-
* 切换字段分类的打开挂壁
|
|
14180
|
+
/**
|
|
14181
|
+
* 切换字段分类的打开挂壁
|
|
14182
14182
|
* */
|
|
14183
14183
|
changeOpenColumn: function changeOpenColumn(item) {
|
|
14184
14184
|
var index = this.openColumnClass.indexOf(item.name);
|
|
@@ -14188,8 +14188,8 @@ var functions = [{
|
|
|
14188
14188
|
this.openColumnClass.splice(index, 1);
|
|
14189
14189
|
}
|
|
14190
14190
|
},
|
|
14191
|
-
/**
|
|
14192
|
-
* 获取焦点
|
|
14191
|
+
/**
|
|
14192
|
+
* 获取焦点
|
|
14193
14193
|
* */
|
|
14194
14194
|
onCodemirrorFocus: function onCodemirrorFocus() {
|
|
14195
14195
|
var _this4 = this;
|
|
@@ -14202,8 +14202,8 @@ var functions = [{
|
|
|
14202
14202
|
// }
|
|
14203
14203
|
});
|
|
14204
14204
|
},
|
|
14205
|
-
/**
|
|
14206
|
-
* 高亮代码
|
|
14205
|
+
/**
|
|
14206
|
+
* 高亮代码
|
|
14207
14207
|
*/
|
|
14208
14208
|
specialString: function specialString(str) {
|
|
14209
14209
|
var specialRegExp = /\*|\+|\?|\||\{|\}|\[|\]|\(|\)|\^|\$|\./g;
|
|
@@ -14267,8 +14267,8 @@ var functions = [{
|
|
|
14267
14267
|
// setTimeout(()=>{
|
|
14268
14268
|
// },3000)
|
|
14269
14269
|
},
|
|
14270
|
-
/**
|
|
14271
|
-
* 选择函数
|
|
14270
|
+
/**
|
|
14271
|
+
* 选择函数
|
|
14272
14272
|
*/
|
|
14273
14273
|
onSelectFun: function onSelectFun(item) {
|
|
14274
14274
|
var _this6 = this;
|
|
@@ -14280,8 +14280,8 @@ var functions = [{
|
|
|
14280
14280
|
_this6.$refs.cm && _this6.$refs.cm.codemirror.focus(); // 确保编辑器获得焦点
|
|
14281
14281
|
});
|
|
14282
14282
|
},
|
|
14283
|
-
/**
|
|
14284
|
-
* 选择字段
|
|
14283
|
+
/**
|
|
14284
|
+
* 选择字段
|
|
14285
14285
|
*/
|
|
14286
14286
|
onSelectCol: function onSelectCol(item) {
|
|
14287
14287
|
var _this7 = this;
|
|
@@ -14310,8 +14310,8 @@ var functions = [{
|
|
|
14310
14310
|
_this7.$refs.cm && _this7.$refs.cm.codemirror.focus(); // 确保编辑器获得焦点
|
|
14311
14311
|
});
|
|
14312
14312
|
},
|
|
14313
|
-
/**
|
|
14314
|
-
* 保存
|
|
14313
|
+
/**
|
|
14314
|
+
* 保存
|
|
14315
14315
|
* */
|
|
14316
14316
|
saveRule: function saveRule() {
|
|
14317
14317
|
var _this8 = this;
|
|
@@ -14344,8 +14344,8 @@ var functions = [{
|
|
|
14344
14344
|
_this8.$emit('save', res);
|
|
14345
14345
|
});
|
|
14346
14346
|
},
|
|
14347
|
-
/**
|
|
14348
|
-
* 打开弹框
|
|
14347
|
+
/**
|
|
14348
|
+
* 打开弹框
|
|
14349
14349
|
* */
|
|
14350
14350
|
openDialog: function openDialog() {
|
|
14351
14351
|
this.postData.exprExec = this.showContent;
|
|
@@ -14391,8 +14391,8 @@ var bnFunText_component = normalizeComponent(
|
|
|
14391
14391
|
)
|
|
14392
14392
|
|
|
14393
14393
|
/* harmony default export */ const bnFunText = (bnFunText_component.exports);
|
|
14394
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=template&id=
|
|
14395
|
-
var
|
|
14394
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=template&id=dc8beb30&scoped=true
|
|
14395
|
+
var BnInpNumvue_type_template_id_dc8beb30_scoped_true_render = function render() {
|
|
14396
14396
|
var _vm = this,
|
|
14397
14397
|
_c = _vm._self._c;
|
|
14398
14398
|
return _c('el-input', {
|
|
@@ -14420,12 +14420,10 @@ var BnInpNumvue_type_template_id_ff93d4f6_scoped_true_render = function render()
|
|
|
14420
14420
|
slot: "prefix"
|
|
14421
14421
|
}, [_vm._t("prefix")], 2), _c('template', {
|
|
14422
14422
|
slot: "suffix"
|
|
14423
|
-
}, [_vm._t("
|
|
14423
|
+
}, [_vm._t("default")], 2)], 2);
|
|
14424
14424
|
};
|
|
14425
|
-
var
|
|
14425
|
+
var BnInpNumvue_type_template_id_dc8beb30_scoped_true_staticRenderFns = [];
|
|
14426
14426
|
|
|
14427
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
14428
|
-
var es_string_ends_with = __webpack_require__(9449);
|
|
14429
14427
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.starts-with.js
|
|
14430
14428
|
var es_string_starts_with = __webpack_require__(1392);
|
|
14431
14429
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=script&lang=js
|
|
@@ -14446,19 +14444,17 @@ var es_string_starts_with = __webpack_require__(1392);
|
|
|
14446
14444
|
|
|
14447
14445
|
|
|
14448
14446
|
|
|
14449
|
-
|
|
14450
|
-
|
|
14451
14447
|
/* harmony default export */ const BnInpNumvue_type_script_lang_js = ({
|
|
14452
14448
|
name: "BnInpNum",
|
|
14453
14449
|
model: {
|
|
14454
|
-
prop:
|
|
14455
|
-
event:
|
|
14450
|
+
prop: 'modelValue',
|
|
14451
|
+
event: 'update:modelValue'
|
|
14456
14452
|
},
|
|
14457
14453
|
props: {
|
|
14458
14454
|
modelValue: [String, Number],
|
|
14459
14455
|
placeholder: {
|
|
14460
14456
|
type: String,
|
|
14461
|
-
"default":
|
|
14457
|
+
"default": ''
|
|
14462
14458
|
},
|
|
14463
14459
|
size: String,
|
|
14464
14460
|
underline: {
|
|
@@ -14497,56 +14493,55 @@ var es_string_starts_with = __webpack_require__(1392);
|
|
|
14497
14493
|
}
|
|
14498
14494
|
},
|
|
14499
14495
|
methods: {
|
|
14500
|
-
/**
|
|
14501
|
-
* input事件 实时变化
|
|
14496
|
+
/**
|
|
14497
|
+
* input事件 实时变化
|
|
14502
14498
|
* */
|
|
14503
14499
|
valInput: (0,external_lodash_namespaceObject.debounce)(function (val) {
|
|
14504
14500
|
// 快速处理空值
|
|
14505
14501
|
if (!val) {
|
|
14506
|
-
this.val =
|
|
14502
|
+
this.val = '';
|
|
14507
14503
|
return;
|
|
14508
14504
|
}
|
|
14509
14505
|
var value = val;
|
|
14510
14506
|
|
|
14511
14507
|
// 移除无效字符(一次性处理)
|
|
14512
|
-
value = value.replace(/[^0-9.-]/g,
|
|
14508
|
+
value = value.replace(/[^0-9.-]/g, '');
|
|
14513
14509
|
|
|
14514
14510
|
// 处理负号:只保留开头的第一个负号
|
|
14515
|
-
if (value.startsWith(
|
|
14516
|
-
value =
|
|
14511
|
+
if (value.startsWith('-')) {
|
|
14512
|
+
value = '-' + value.slice(1).replace(/-/g, '');
|
|
14517
14513
|
} else {
|
|
14518
|
-
value = value.replace(/-/g,
|
|
14514
|
+
value = value.replace(/-/g, '');
|
|
14519
14515
|
}
|
|
14520
14516
|
|
|
14521
|
-
//
|
|
14522
|
-
if (value.startsWith(
|
|
14523
|
-
value = value.slice(1).replace(/\./g,
|
|
14517
|
+
// 处理小数点:移除开头的点,保留第一个点
|
|
14518
|
+
if (value.startsWith('.')) {
|
|
14519
|
+
value = value.slice(1).replace(/\./g, '');
|
|
14524
14520
|
} else {
|
|
14525
|
-
var dotIndex = value.indexOf(
|
|
14521
|
+
var dotIndex = value.indexOf('.');
|
|
14526
14522
|
if (dotIndex > 0) {
|
|
14527
|
-
var parts = value.split(
|
|
14528
|
-
value = parts[0] +
|
|
14523
|
+
var parts = value.split('.');
|
|
14524
|
+
value = parts[0] + '.' + parts.slice(1).join('');
|
|
14529
14525
|
}
|
|
14530
14526
|
}
|
|
14531
14527
|
|
|
14532
|
-
//
|
|
14533
|
-
|
|
14534
|
-
|
|
14535
|
-
|
|
14536
|
-
if (precisionNum === 0) {
|
|
14528
|
+
// 处理精度
|
|
14529
|
+
if (value && value !== '-' && this.precision != null && this.precision >= 0) {
|
|
14530
|
+
var _dotIndex = value.indexOf('.');
|
|
14531
|
+
if (this.precision === 0) {
|
|
14537
14532
|
// 精度为0时,移除小数点及之后的内容
|
|
14538
|
-
value =
|
|
14539
|
-
} else if (
|
|
14533
|
+
value = _dotIndex > 0 ? value.slice(0, _dotIndex) : value;
|
|
14534
|
+
} else if (_dotIndex > 0) {
|
|
14540
14535
|
// 限制小数位数
|
|
14541
|
-
var decimalPart = value.slice(
|
|
14542
|
-
if (decimalPart.length >
|
|
14543
|
-
value = value.slice(0,
|
|
14536
|
+
var decimalPart = value.slice(_dotIndex + 1);
|
|
14537
|
+
if (decimalPart.length > this.precision) {
|
|
14538
|
+
value = value.slice(0, _dotIndex + 1 + this.precision);
|
|
14544
14539
|
}
|
|
14545
14540
|
}
|
|
14546
14541
|
}
|
|
14547
14542
|
|
|
14548
14543
|
// 实时校验最大值和最小值
|
|
14549
|
-
if (value && value !==
|
|
14544
|
+
if (value && value !== '-') {
|
|
14550
14545
|
var numValue = parseFloat(value);
|
|
14551
14546
|
if (!isNaN(numValue)) {
|
|
14552
14547
|
// 校验最大值
|
|
@@ -14561,18 +14556,13 @@ var es_string_starts_with = __webpack_require__(1392);
|
|
|
14561
14556
|
}
|
|
14562
14557
|
this.val = value;
|
|
14563
14558
|
}, 200),
|
|
14564
|
-
/**
|
|
14565
|
-
* change事件上报
|
|
14559
|
+
/**
|
|
14560
|
+
* change事件上报
|
|
14566
14561
|
* */
|
|
14567
14562
|
valChange: function valChange() {
|
|
14568
|
-
//
|
|
14569
|
-
if (this.val ===
|
|
14570
|
-
this.val =
|
|
14571
|
-
return;
|
|
14572
|
-
}
|
|
14573
|
-
// 移除末尾多余的小数点(如 '0.' → '0')
|
|
14574
|
-
if (this.val && this.val.endsWith(".")) {
|
|
14575
|
-
this.val = this.val.slice(0, -1);
|
|
14563
|
+
// 处理只输入负号的情况
|
|
14564
|
+
if (this.val === '-') {
|
|
14565
|
+
this.val = '';
|
|
14576
14566
|
}
|
|
14577
14567
|
// 最大值最小值校验已在valInput中实时处理,这里保留作为兜底
|
|
14578
14568
|
if (this.val) {
|
|
@@ -14587,19 +14577,19 @@ var es_string_starts_with = __webpack_require__(1392);
|
|
|
14587
14577
|
}
|
|
14588
14578
|
}
|
|
14589
14579
|
},
|
|
14590
|
-
/**
|
|
14591
|
-
* blur事件上报
|
|
14580
|
+
/**
|
|
14581
|
+
* blur事件上报
|
|
14592
14582
|
* */
|
|
14593
14583
|
inputBlur: function inputBlur() {
|
|
14594
|
-
this.$emit(
|
|
14584
|
+
this.$emit('blur', this.val);
|
|
14595
14585
|
}
|
|
14596
14586
|
}
|
|
14597
14587
|
});
|
|
14598
14588
|
;// ./packages/BnInpNum/BnInpNum.vue?vue&type=script&lang=js
|
|
14599
14589
|
/* harmony default export */ const BnInpNum_BnInpNumvue_type_script_lang_js = (BnInpNumvue_type_script_lang_js);
|
|
14600
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=style&index=0&id=
|
|
14601
|
-
var
|
|
14602
|
-
;// ./packages/BnInpNum/BnInpNum.vue?vue&type=style&index=0&id=
|
|
14590
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=style&index=0&id=dc8beb30&prod&lang=scss&scoped=true
|
|
14591
|
+
var BnInpNumvue_type_style_index_0_id_dc8beb30_prod_lang_scss_scoped_true = __webpack_require__(1494);
|
|
14592
|
+
;// ./packages/BnInpNum/BnInpNum.vue?vue&type=style&index=0&id=dc8beb30&prod&lang=scss&scoped=true
|
|
14603
14593
|
|
|
14604
14594
|
;// ./packages/BnInpNum/BnInpNum.vue
|
|
14605
14595
|
|
|
@@ -14612,17 +14602,17 @@ var BnInpNumvue_type_style_index_0_id_ff93d4f6_prod_lang_scss_scoped_true = __we
|
|
|
14612
14602
|
|
|
14613
14603
|
var BnInpNum_component = normalizeComponent(
|
|
14614
14604
|
BnInpNum_BnInpNumvue_type_script_lang_js,
|
|
14615
|
-
|
|
14616
|
-
|
|
14605
|
+
BnInpNumvue_type_template_id_dc8beb30_scoped_true_render,
|
|
14606
|
+
BnInpNumvue_type_template_id_dc8beb30_scoped_true_staticRenderFns,
|
|
14617
14607
|
false,
|
|
14618
14608
|
null,
|
|
14619
|
-
"
|
|
14609
|
+
"dc8beb30",
|
|
14620
14610
|
null
|
|
14621
14611
|
|
|
14622
14612
|
)
|
|
14623
14613
|
|
|
14624
14614
|
/* harmony default export */ const BnInpNum = (BnInpNum_component.exports);
|
|
14625
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInputNum/BnInputNum.vue?vue&type=template&id=2baef958
|
|
14615
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInputNum/BnInputNum.vue?vue&type=template&id=2baef958
|
|
14626
14616
|
var BnInputNumvue_type_template_id_2baef958_render = function render() {
|
|
14627
14617
|
var _vm = this,
|
|
14628
14618
|
_c = _vm._self._c;
|
|
@@ -14793,7 +14783,7 @@ var BnInputNum_component = normalizeComponent(
|
|
|
14793
14783
|
)
|
|
14794
14784
|
|
|
14795
14785
|
/* harmony default export */ const BnInputNum = (BnInputNum_component.exports);
|
|
14796
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=template&id=1d87e9a2&scoped=true
|
|
14786
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=template&id=1d87e9a2&scoped=true
|
|
14797
14787
|
|
|
14798
14788
|
|
|
14799
14789
|
|
|
@@ -15626,53 +15616,53 @@ var searchList = {
|
|
|
15626
15616
|
title: '不为空',
|
|
15627
15617
|
id: '10'
|
|
15628
15618
|
}],
|
|
15629
|
-
/*
|
|
15630
|
-
9: [
|
|
15631
|
-
{title: '范围', id: '8'},
|
|
15632
|
-
{title: '为空', id: '9'},
|
|
15633
|
-
{title: '不为空', id: '10'},
|
|
15634
|
-
],
|
|
15635
|
-
11: [
|
|
15636
|
-
{title: '等于', id: '1'},
|
|
15637
|
-
{title: '不等于', id: '2'},
|
|
15638
|
-
{title: '包含', id: '3'},
|
|
15639
|
-
{title: '不包含', id: '4'},
|
|
15640
|
-
{title: '包含任一项', id: '5'},
|
|
15641
|
-
{title: '不包含任一项', id: '6'},
|
|
15642
|
-
{title: '包含所有项', id: '7'},
|
|
15643
|
-
{title: '范围', id: '8'},
|
|
15644
|
-
{title: '为空', id: '9'},
|
|
15645
|
-
{title: '不为空', id: '10'},
|
|
15646
|
-
{title: '属于', id: '11'},
|
|
15647
|
-
{title: '有交集', id: '12'},
|
|
15648
|
-
{title: '无交集', id: '13'},],
|
|
15649
|
-
12: [
|
|
15650
|
-
{title: '等于', id: '1'},
|
|
15651
|
-
{title: '不等于', id: '2'},
|
|
15652
|
-
{title: '包含', id: '3'},
|
|
15653
|
-
{title: '不包含', id: '4'},
|
|
15654
|
-
{title: '包含任一项', id: '5'},
|
|
15655
|
-
{title: '不包含任一项', id: '6'},
|
|
15656
|
-
{title: '包含所有项', id: '7'},
|
|
15657
|
-
{title: '范围', id: '8'},
|
|
15658
|
-
{title: '为空', id: '9'},
|
|
15659
|
-
{title: '不为空', id: '10'},
|
|
15660
|
-
{title: '属于', id: '11'},
|
|
15661
|
-
{title: '有交集', id: '12'},
|
|
15662
|
-
{title: '无交集', id: '13'},],
|
|
15663
|
-
13: [
|
|
15664
|
-
{title: '等于', id: '1'},
|
|
15665
|
-
{title: '不等于', id: '2'},
|
|
15666
|
-
{title: '包含', id: '3'},
|
|
15667
|
-
{title: '不包含', id: '4'},
|
|
15668
|
-
{title: '包含任一项', id: '5'},
|
|
15669
|
-
{title: '不包含任一项', id: '6'},
|
|
15670
|
-
{title: '包含所有项', id: '7'},
|
|
15671
|
-
{title: '范围', id: '8'},
|
|
15672
|
-
{title: '为空', id: '9'},
|
|
15673
|
-
{title: '不为空', id: '10'},
|
|
15674
|
-
{title: '属于', id: '11'},
|
|
15675
|
-
{title: '有交集', id: '12'},
|
|
15619
|
+
/*
|
|
15620
|
+
9: [
|
|
15621
|
+
{title: '范围', id: '8'},
|
|
15622
|
+
{title: '为空', id: '9'},
|
|
15623
|
+
{title: '不为空', id: '10'},
|
|
15624
|
+
],
|
|
15625
|
+
11: [
|
|
15626
|
+
{title: '等于', id: '1'},
|
|
15627
|
+
{title: '不等于', id: '2'},
|
|
15628
|
+
{title: '包含', id: '3'},
|
|
15629
|
+
{title: '不包含', id: '4'},
|
|
15630
|
+
{title: '包含任一项', id: '5'},
|
|
15631
|
+
{title: '不包含任一项', id: '6'},
|
|
15632
|
+
{title: '包含所有项', id: '7'},
|
|
15633
|
+
{title: '范围', id: '8'},
|
|
15634
|
+
{title: '为空', id: '9'},
|
|
15635
|
+
{title: '不为空', id: '10'},
|
|
15636
|
+
{title: '属于', id: '11'},
|
|
15637
|
+
{title: '有交集', id: '12'},
|
|
15638
|
+
{title: '无交集', id: '13'},],
|
|
15639
|
+
12: [
|
|
15640
|
+
{title: '等于', id: '1'},
|
|
15641
|
+
{title: '不等于', id: '2'},
|
|
15642
|
+
{title: '包含', id: '3'},
|
|
15643
|
+
{title: '不包含', id: '4'},
|
|
15644
|
+
{title: '包含任一项', id: '5'},
|
|
15645
|
+
{title: '不包含任一项', id: '6'},
|
|
15646
|
+
{title: '包含所有项', id: '7'},
|
|
15647
|
+
{title: '范围', id: '8'},
|
|
15648
|
+
{title: '为空', id: '9'},
|
|
15649
|
+
{title: '不为空', id: '10'},
|
|
15650
|
+
{title: '属于', id: '11'},
|
|
15651
|
+
{title: '有交集', id: '12'},
|
|
15652
|
+
{title: '无交集', id: '13'},],
|
|
15653
|
+
13: [
|
|
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'},
|
|
15676
15666
|
{title: '无交集', id: '13'},],*/
|
|
15677
15667
|
15: [{
|
|
15678
15668
|
title: '为空',
|
|
@@ -15684,7 +15674,7 @@ var searchList = {
|
|
|
15684
15674
|
};
|
|
15685
15675
|
|
|
15686
15676
|
//每个组件类型对应的筛选类型列表
|
|
15687
|
-
var submitCheckTypeList =
|
|
15677
|
+
var submitCheckTypeList = {
|
|
15688
15678
|
1: '等于',
|
|
15689
15679
|
2: '不等于',
|
|
15690
15680
|
3: '包含',
|
|
@@ -15719,7 +15709,7 @@ var submitCheckTypeList = (/* unused pure expression or super */ null && ({
|
|
|
15719
15709
|
101: '变更为',
|
|
15720
15710
|
102: '变更为空',
|
|
15721
15711
|
103: '变更为有值'
|
|
15722
|
-
}
|
|
15712
|
+
};
|
|
15723
15713
|
var valueTypeList = {
|
|
15724
15714
|
//{id: '0', title: '自定义填写'},{id: '1', title: '其他组件'},{id: '2', title: '当前组件选项'}, {id: '3', title: '空值'},{id: '4', title: '其他步骤'},{ id: '5', title: '工作表属性' }
|
|
15725
15715
|
'-1': [{
|
|
@@ -15823,7 +15813,7 @@ var subTypeList = {
|
|
|
15823
15813
|
//部分支持 {id: '6', title: '过去x时'}, {id: '7', title: '未来x时'}, {id: '8', title: '过去x月'}, {id: '9', title: '未来x月'},
|
|
15824
15814
|
]
|
|
15825
15815
|
};
|
|
15826
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/cascadeCondition.vue?vue&type=template&id=0b10733b
|
|
15816
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/cascadeCondition.vue?vue&type=template&id=0b10733b
|
|
15827
15817
|
var cascadeConditionvue_type_template_id_0b10733b_render = function render() {
|
|
15828
15818
|
var _vm = this,
|
|
15829
15819
|
_c = _vm._self._c;
|
|
@@ -15915,7 +15905,7 @@ function _createForOfIteratorHelper(r, e) {
|
|
|
15915
15905
|
};
|
|
15916
15906
|
}
|
|
15917
15907
|
|
|
15918
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/BnSwitch.vue?vue&type=template&id=809f2340
|
|
15908
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/BnSwitch.vue?vue&type=template&id=809f2340
|
|
15919
15909
|
var BnSwitchvue_type_template_id_809f2340_render = function render() {
|
|
15920
15910
|
var _vm = this,
|
|
15921
15911
|
_c = _vm._self._c;
|
|
@@ -16162,10 +16152,10 @@ var BnSwitch_component = normalizeComponent(
|
|
|
16162
16152
|
}
|
|
16163
16153
|
this.$emit('update:sourceTitle', this.valueTitle);
|
|
16164
16154
|
},
|
|
16165
|
-
/**
|
|
16166
|
-
* @param data 列表
|
|
16167
|
-
* @param value 编辑回显时已保存的值 []
|
|
16168
|
-
* @returns {*|Array|Array|*}
|
|
16155
|
+
/**
|
|
16156
|
+
* @param data 列表
|
|
16157
|
+
* @param value 编辑回显时已保存的值 []
|
|
16158
|
+
* @returns {*|Array|Array|*}
|
|
16169
16159
|
* */
|
|
16170
16160
|
dataFormat: function dataFormat(data, value) {
|
|
16171
16161
|
return data.map(function (item) {
|
|
@@ -16175,12 +16165,12 @@ var BnSwitch_component = normalizeComponent(
|
|
|
16175
16165
|
});
|
|
16176
16166
|
});
|
|
16177
16167
|
},
|
|
16178
|
-
/**
|
|
16179
|
-
*
|
|
16180
|
-
* @param data 列表
|
|
16181
|
-
* @param key 键
|
|
16182
|
-
* @param value 值
|
|
16183
|
-
* @returns {*|Array|String|Array|*}
|
|
16168
|
+
/**
|
|
16169
|
+
*
|
|
16170
|
+
* @param data 列表
|
|
16171
|
+
* @param key 键
|
|
16172
|
+
* @param value 值
|
|
16173
|
+
* @returns {*|Array|String|Array|*}
|
|
16184
16174
|
*/
|
|
16185
16175
|
getChild: function getChild(data, key, value) {
|
|
16186
16176
|
var _iterator = _createForOfIteratorHelper(data),
|
|
@@ -16263,7 +16253,7 @@ var cascadeCondition_component = normalizeComponent(
|
|
|
16263
16253
|
)
|
|
16264
16254
|
|
|
16265
16255
|
/* harmony default export */ const cascadeCondition = (cascadeCondition_component.exports);
|
|
16266
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/address.vue?vue&type=template&id=1199c288&scoped=true
|
|
16256
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/address.vue?vue&type=template&id=1199c288&scoped=true
|
|
16267
16257
|
var addressvue_type_template_id_1199c288_scoped_true_render = function render() {
|
|
16268
16258
|
var _vm = this,
|
|
16269
16259
|
_c = _vm._self._c;
|
|
@@ -16323,7 +16313,7 @@ var addressvue_type_template_id_1199c288_scoped_true_render = function render()
|
|
|
16323
16313
|
};
|
|
16324
16314
|
var addressvue_type_template_id_1199c288_scoped_true_staticRenderFns = [];
|
|
16325
16315
|
|
|
16326
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/addressSet.vue?vue&type=template&id=50cd72d0&scoped=true
|
|
16316
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/addressSet.vue?vue&type=template&id=50cd72d0&scoped=true
|
|
16327
16317
|
var addressSetvue_type_template_id_50cd72d0_scoped_true_render = function render() {
|
|
16328
16318
|
var _vm = this,
|
|
16329
16319
|
_c = _vm._self._c;
|
|
@@ -16626,7 +16616,7 @@ var address_component = normalizeComponent(
|
|
|
16626
16616
|
)
|
|
16627
16617
|
|
|
16628
16618
|
/* harmony default export */ const address = (address_component.exports);
|
|
16629
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/compositeSearch.vue?vue&type=template&id=09cb19ef&scoped=true
|
|
16619
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/compositeSearch.vue?vue&type=template&id=09cb19ef&scoped=true
|
|
16630
16620
|
|
|
16631
16621
|
var compositeSearchvue_type_template_id_09cb19ef_scoped_true_render = function render() {
|
|
16632
16622
|
var _vm = this,
|
|
@@ -16752,7 +16742,7 @@ var compositeSearch_component = normalizeComponent(
|
|
|
16752
16742
|
)
|
|
16753
16743
|
|
|
16754
16744
|
/* harmony default export */ const compositeSearch = (compositeSearch_component.exports);
|
|
16755
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/numberReg.vue?vue&type=template&id=04541236&scoped=true
|
|
16745
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/numberReg.vue?vue&type=template&id=04541236&scoped=true
|
|
16756
16746
|
var numberRegvue_type_template_id_04541236_scoped_true_render = function render() {
|
|
16757
16747
|
var _vm = this,
|
|
16758
16748
|
_c = _vm._self._c;
|
|
@@ -17130,8 +17120,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17130
17120
|
this.$emit("input", val);
|
|
17131
17121
|
}
|
|
17132
17122
|
},
|
|
17133
|
-
/**
|
|
17134
|
-
* 当进入规则组件,已经选好组件id时,需要将组件信息回显
|
|
17123
|
+
/**
|
|
17124
|
+
* 当进入规则组件,已经选好组件id时,需要将组件信息回显
|
|
17135
17125
|
* */
|
|
17136
17126
|
columnInfo: {
|
|
17137
17127
|
get: function get() {
|
|
@@ -17179,8 +17169,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17179
17169
|
}
|
|
17180
17170
|
},
|
|
17181
17171
|
methods: {
|
|
17182
|
-
/**
|
|
17183
|
-
* 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
|
|
17172
|
+
/**
|
|
17173
|
+
* 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
|
|
17184
17174
|
* */
|
|
17185
17175
|
changeCustomType: function changeCustomType(type) {
|
|
17186
17176
|
this.arrowCustomType = type ? type : 'column';
|
|
@@ -17222,9 +17212,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17222
17212
|
value: value
|
|
17223
17213
|
});
|
|
17224
17214
|
},
|
|
17225
|
-
/**
|
|
17226
|
-
* 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
|
|
17227
|
-
* @param {Any} e select发生变化返回的值
|
|
17215
|
+
/**
|
|
17216
|
+
* 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
|
|
17217
|
+
* @param {Any} e select发生变化返回的值
|
|
17228
17218
|
* */
|
|
17229
17219
|
columnChange: function columnChange(e) {
|
|
17230
17220
|
var column = this.columnList.filter(function (i) {
|
|
@@ -17275,8 +17265,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17275
17265
|
value: value
|
|
17276
17266
|
});
|
|
17277
17267
|
},
|
|
17278
|
-
/**
|
|
17279
|
-
* 计算条件发生change
|
|
17268
|
+
/**
|
|
17269
|
+
* 计算条件发生change
|
|
17280
17270
|
* */
|
|
17281
17271
|
searchChange: function searchChange() {
|
|
17282
17272
|
// 根据组件类型、计算条件、值类型来确定规则条件的value的类型
|
|
@@ -17287,8 +17277,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17287
17277
|
value: this.ruleVal
|
|
17288
17278
|
});
|
|
17289
17279
|
},
|
|
17290
|
-
/**
|
|
17291
|
-
* 规则值类型发生变化
|
|
17280
|
+
/**
|
|
17281
|
+
* 规则值类型发生变化
|
|
17292
17282
|
* */
|
|
17293
17283
|
valueTypeChange: function valueTypeChange() {
|
|
17294
17284
|
// 根据组件类型、计算条件、值类型来确定规则条件的value的类型
|
|
@@ -17299,8 +17289,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17299
17289
|
value: this.ruleVal
|
|
17300
17290
|
});
|
|
17301
17291
|
},
|
|
17302
|
-
/**
|
|
17303
|
-
* 规则值子类型发生变化
|
|
17292
|
+
/**
|
|
17293
|
+
* 规则值子类型发生变化
|
|
17304
17294
|
* */
|
|
17305
17295
|
subTypeChange: function subTypeChange() {
|
|
17306
17296
|
// 根据组件类型、计算条件、值类型来确定规则条件的value的类型
|
|
@@ -17311,8 +17301,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17311
17301
|
value: this.ruleVal
|
|
17312
17302
|
});
|
|
17313
17303
|
},
|
|
17314
|
-
/**
|
|
17315
|
-
* 规则的value发生变化
|
|
17304
|
+
/**
|
|
17305
|
+
* 规则的value发生变化
|
|
17316
17306
|
* */
|
|
17317
17307
|
valueChange: function valueChange(target) {
|
|
17318
17308
|
if (target == 'date' && this.ruleVal[this.optionProps.value] == null) {
|
|
@@ -17327,9 +17317,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17327
17317
|
value: this.ruleVal
|
|
17328
17318
|
});
|
|
17329
17319
|
},
|
|
17330
|
-
/**
|
|
17331
|
-
* 获取该类型组件支持那些计算条件
|
|
17332
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17320
|
+
/**
|
|
17321
|
+
* 获取该类型组件支持那些计算条件
|
|
17322
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17333
17323
|
* */
|
|
17334
17324
|
getSearchOptions: function getSearchOptions(behaviorType) {
|
|
17335
17325
|
var optionList = [];
|
|
@@ -17348,9 +17338,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17348
17338
|
}
|
|
17349
17339
|
return optionList;
|
|
17350
17340
|
},
|
|
17351
|
-
/**
|
|
17352
|
-
* 获取该类型组件支持那些值类型
|
|
17353
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17341
|
+
/**
|
|
17342
|
+
* 获取该类型组件支持那些值类型
|
|
17343
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17354
17344
|
* */
|
|
17355
17345
|
getValueOptions: function getValueOptions(column) {
|
|
17356
17346
|
var optionList = [];
|
|
@@ -17368,9 +17358,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17368
17358
|
}
|
|
17369
17359
|
return optionList;
|
|
17370
17360
|
},
|
|
17371
|
-
/**
|
|
17372
|
-
* 获取该类型组件支持那些子类型列表:目前仅只是时间日期
|
|
17373
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17361
|
+
/**
|
|
17362
|
+
* 获取该类型组件支持那些子类型列表:目前仅只是时间日期
|
|
17363
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17374
17364
|
* */
|
|
17375
17365
|
getSubTypeOptions: function getSubTypeOptions(behaviorType) {
|
|
17376
17366
|
var optionList = [];
|
|
@@ -17388,9 +17378,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17388
17378
|
}
|
|
17389
17379
|
return optionList;
|
|
17390
17380
|
},
|
|
17391
|
-
/**
|
|
17392
|
-
* 获取该类型组件支持那些值类型
|
|
17393
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17381
|
+
/**
|
|
17382
|
+
* 获取该类型组件支持那些值类型
|
|
17383
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17394
17384
|
* */
|
|
17395
17385
|
getOtherColumns: function getOtherColumns(behaviorType) {
|
|
17396
17386
|
var _this = this;
|
|
@@ -17420,9 +17410,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17420
17410
|
}
|
|
17421
17411
|
return optionList;
|
|
17422
17412
|
},
|
|
17423
|
-
/**
|
|
17424
|
-
* 动态禁用
|
|
17425
|
-
* @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
|
|
17413
|
+
/**
|
|
17414
|
+
* 动态禁用
|
|
17415
|
+
* @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
|
|
17426
17416
|
* */
|
|
17427
17417
|
isDisabled: function isDisabled(type) {
|
|
17428
17418
|
if (this.$options.propsData.hasOwnProperty('disabledFun')) {
|
|
@@ -17432,11 +17422,11 @@ var numberReg_component = normalizeComponent(
|
|
|
17432
17422
|
return false;
|
|
17433
17423
|
}
|
|
17434
17424
|
},
|
|
17435
|
-
/**
|
|
17436
|
-
* 给组件value赋予默认类型
|
|
17437
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17438
|
-
* @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
|
|
17439
|
-
* @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
|
|
17425
|
+
/**
|
|
17426
|
+
* 给组件value赋予默认类型
|
|
17427
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17428
|
+
* @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
|
|
17429
|
+
* @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
|
|
17440
17430
|
* */
|
|
17441
17431
|
setValType: function setValType(behaviorType, searchType, valueType) {
|
|
17442
17432
|
var data = '';
|
|
@@ -17516,14 +17506,14 @@ var numberReg_component = normalizeComponent(
|
|
|
17516
17506
|
}
|
|
17517
17507
|
return data;
|
|
17518
17508
|
},
|
|
17519
|
-
/**
|
|
17520
|
-
* 校验value的数据类型,因为有时候数据类型不对组件会报错
|
|
17509
|
+
/**
|
|
17510
|
+
* 校验value的数据类型,因为有时候数据类型不对组件会报错
|
|
17521
17511
|
* */
|
|
17522
17512
|
checkValType: function checkValType(type) {
|
|
17523
17513
|
return _typeof(this.ruleVal[this.optionProps.value]) == type;
|
|
17524
17514
|
},
|
|
17525
|
-
/**
|
|
17526
|
-
* 删除规则
|
|
17515
|
+
/**
|
|
17516
|
+
* 删除规则
|
|
17527
17517
|
* */
|
|
17528
17518
|
del: function del() {
|
|
17529
17519
|
this.$emit('del', {
|
|
@@ -17531,8 +17521,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17531
17521
|
value: this.ruleVal
|
|
17532
17522
|
});
|
|
17533
17523
|
},
|
|
17534
|
-
/**
|
|
17535
|
-
* 清空规则内容
|
|
17524
|
+
/**
|
|
17525
|
+
* 清空规则内容
|
|
17536
17526
|
* */
|
|
17537
17527
|
empty: function empty() {
|
|
17538
17528
|
// 清空计算类型的值
|
|
@@ -17540,15 +17530,15 @@ var numberReg_component = normalizeComponent(
|
|
|
17540
17530
|
// 清空value
|
|
17541
17531
|
this.ruleVal[this.optionProps.value] = this.setValType(this.ruleVal.behaviorType);
|
|
17542
17532
|
},
|
|
17543
|
-
/**
|
|
17544
|
-
* 设置触发值
|
|
17533
|
+
/**
|
|
17534
|
+
* 设置触发值
|
|
17545
17535
|
* */
|
|
17546
17536
|
setDefaultSearch: function setDefaultSearch() {
|
|
17547
17537
|
// 清空计算类型的值
|
|
17548
17538
|
this.ruleVal[this.optionProps.searchType] = this.getSearchOptions(this.ruleVal.behaviorType)[0].id;
|
|
17549
17539
|
},
|
|
17550
|
-
/**
|
|
17551
|
-
* 日期,日期区间,判断时间类型
|
|
17540
|
+
/**
|
|
17541
|
+
* 日期,日期区间,判断时间类型
|
|
17552
17542
|
* */
|
|
17553
17543
|
getDateType: function getDateType(type) {
|
|
17554
17544
|
var dateType = type == "date" ? "datetime" : "datetimerange";
|
|
@@ -17571,8 +17561,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17571
17561
|
}
|
|
17572
17562
|
return dateType;
|
|
17573
17563
|
},
|
|
17574
|
-
/**
|
|
17575
|
-
* 日期,日期区间,判断时间格式化
|
|
17564
|
+
/**
|
|
17565
|
+
* 日期,日期区间,判断时间格式化
|
|
17576
17566
|
* */
|
|
17577
17567
|
getDateFormat: function getDateFormat() {
|
|
17578
17568
|
var format = "yyyy-MM-dd HH:mm:ss";
|
|
@@ -17629,7 +17619,7 @@ var bnRuleCondition_component = normalizeComponent(
|
|
|
17629
17619
|
)
|
|
17630
17620
|
|
|
17631
17621
|
/* harmony default export */ const bnRuleCondition = (bnRuleCondition_component.exports);
|
|
17632
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnSelect/select.vue?vue&type=template&id=12683c88&scoped=true
|
|
17622
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnSelect/select.vue?vue&type=template&id=12683c88&scoped=true
|
|
17633
17623
|
|
|
17634
17624
|
|
|
17635
17625
|
|
|
@@ -18310,10 +18300,10 @@ function util_toPinYin(chart) {
|
|
|
18310
18300
|
return util_getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
|
|
18311
18301
|
}
|
|
18312
18302
|
|
|
18313
|
-
/**
|
|
18314
|
-
* 匹配大小写字母拼音 返回Boolean值
|
|
18315
|
-
* @param {*} chart 需要匹配的字符
|
|
18316
|
-
* @param {*} data 需要进行匹配的字符
|
|
18303
|
+
/**
|
|
18304
|
+
* 匹配大小写字母拼音 返回Boolean值
|
|
18305
|
+
* @param {*} chart 需要匹配的字符
|
|
18306
|
+
* @param {*} data 需要进行匹配的字符
|
|
18317
18307
|
*/
|
|
18318
18308
|
function util_searchToBoolean(chart, data) {
|
|
18319
18309
|
return util_toPinYin(data || '').indexOf(util_toPinYin(chart || '')) !== -1;
|
|
@@ -18627,18 +18617,18 @@ function util_searchToBoolean(chart, data) {
|
|
|
18627
18617
|
this.initSelectDataDebounced.cancel();
|
|
18628
18618
|
},
|
|
18629
18619
|
methods: {
|
|
18630
|
-
/**
|
|
18631
|
-
* 下拉选项显示 返回Boolean true:显示
|
|
18632
|
-
* @param {Object} item 某一选择的值、option的值
|
|
18620
|
+
/**
|
|
18621
|
+
* 下拉选项显示 返回Boolean true:显示
|
|
18622
|
+
* @param {Object} item 某一选择的值、option的值
|
|
18633
18623
|
*/
|
|
18634
18624
|
optionHideFunction: function optionHideFunction(item) {
|
|
18635
18625
|
if (this.optionHideFun) return !this.optionHideFun(item) && !item.isHide;else return !item.isHide;
|
|
18636
18626
|
},
|
|
18637
|
-
/**
|
|
18638
|
-
* Option中checkbox当绑定值变化时触发的事件 更新后的值
|
|
18639
|
-
* @change="onCheckChange(checkBoxValue(labelInValue?item:item[optionProps['value']]), labelInValue?item:item[optionProps['value']])"
|
|
18640
|
-
* @param {Boolean} val checkbox更新后的值
|
|
18641
|
-
* @param {Object} item option的值
|
|
18627
|
+
/**
|
|
18628
|
+
* Option中checkbox当绑定值变化时触发的事件 更新后的值
|
|
18629
|
+
* @change="onCheckChange(checkBoxValue(labelInValue?item:item[optionProps['value']]), labelInValue?item:item[optionProps['value']])"
|
|
18630
|
+
* @param {Boolean} val checkbox更新后的值
|
|
18631
|
+
* @param {Object} item option的值
|
|
18642
18632
|
*/
|
|
18643
18633
|
onCheckChange: function onCheckChange(val, item) {
|
|
18644
18634
|
var _this = this;
|
|
@@ -18667,9 +18657,9 @@ function util_searchToBoolean(chart, data) {
|
|
|
18667
18657
|
_this.changeValue();
|
|
18668
18658
|
});
|
|
18669
18659
|
},
|
|
18670
|
-
/**
|
|
18671
|
-
* 返回option中checkbox的value状态
|
|
18672
|
-
* @param {Object} item option的选项
|
|
18660
|
+
/**
|
|
18661
|
+
* 返回option中checkbox的value状态
|
|
18662
|
+
* @param {Object} item option的选项
|
|
18673
18663
|
*/
|
|
18674
18664
|
checkBoxValue: function checkBoxValue(item) {
|
|
18675
18665
|
var _this2 = this;
|
|
@@ -18686,22 +18676,22 @@ function util_searchToBoolean(chart, data) {
|
|
|
18686
18676
|
return false;
|
|
18687
18677
|
}
|
|
18688
18678
|
},
|
|
18689
|
-
/**
|
|
18690
|
-
* 下拉选项禁用 返回Boolean true:禁用
|
|
18691
|
-
* @param {Object} item 某一选择的值、option的值
|
|
18679
|
+
/**
|
|
18680
|
+
* 下拉选项禁用 返回Boolean true:禁用
|
|
18681
|
+
* @param {Object} item 某一选择的值、option的值
|
|
18692
18682
|
*/
|
|
18693
18683
|
optionDisabledFunction: function optionDisabledFunction(item) {
|
|
18694
18684
|
if (this.optionDisabledFun) return this.optionDisabledFun(item) || item.disabled;else return item.disabled;
|
|
18695
18685
|
},
|
|
18696
|
-
/**
|
|
18697
|
-
* 多选模式下移除tag时触发
|
|
18698
|
-
* @param {Object} tag 移除的tag值
|
|
18686
|
+
/**
|
|
18687
|
+
* 多选模式下移除tag时触发
|
|
18688
|
+
* @param {Object} tag 移除的tag值
|
|
18699
18689
|
*/
|
|
18700
18690
|
removeTag: function removeTag(tag) {
|
|
18701
18691
|
this.$emit('removeTag', tag);
|
|
18702
18692
|
},
|
|
18703
|
-
/**
|
|
18704
|
-
* select的change事件
|
|
18693
|
+
/**
|
|
18694
|
+
* select的change事件
|
|
18705
18695
|
*/
|
|
18706
18696
|
changeValue: function changeValue() {
|
|
18707
18697
|
var _this3 = this;
|
|
@@ -18731,9 +18721,9 @@ function util_searchToBoolean(chart, data) {
|
|
|
18731
18721
|
}
|
|
18732
18722
|
});
|
|
18733
18723
|
},
|
|
18734
|
-
/**
|
|
18735
|
-
* 下拉框出现/隐藏时触发
|
|
18736
|
-
* @param {Boolean} bol 出现则为 true,隐藏则为 false
|
|
18724
|
+
/**
|
|
18725
|
+
* 下拉框出现/隐藏时触发
|
|
18726
|
+
* @param {Boolean} bol 出现则为 true,隐藏则为 false
|
|
18737
18727
|
*/
|
|
18738
18728
|
visibleChange: function visibleChange(bol) {
|
|
18739
18729
|
var _this4 = this;
|
|
@@ -18800,15 +18790,15 @@ function util_searchToBoolean(chart, data) {
|
|
|
18800
18790
|
});
|
|
18801
18791
|
}
|
|
18802
18792
|
},
|
|
18803
|
-
/**
|
|
18804
|
-
* 可清空的单选模式下用户点击清空按钮时触发
|
|
18793
|
+
/**
|
|
18794
|
+
* 可清空的单选模式下用户点击清空按钮时触发
|
|
18805
18795
|
*/
|
|
18806
18796
|
clear: function clear() {
|
|
18807
18797
|
this.$emit('clear');
|
|
18808
18798
|
},
|
|
18809
|
-
/**
|
|
18810
|
-
* 返回option的label data: option数据
|
|
18811
|
-
* @param {Object} data option数据
|
|
18799
|
+
/**
|
|
18800
|
+
* 返回option的label data: option数据
|
|
18801
|
+
* @param {Object} data option数据
|
|
18812
18802
|
*/
|
|
18813
18803
|
showLabel: function showLabel(data) {
|
|
18814
18804
|
if (this.optionProps['label'] instanceof Function) {
|
|
@@ -18817,9 +18807,9 @@ function util_searchToBoolean(chart, data) {
|
|
|
18817
18807
|
return data[this.optionProps['label']];
|
|
18818
18808
|
}
|
|
18819
18809
|
},
|
|
18820
|
-
/**
|
|
18821
|
-
* 快速搜索选项
|
|
18822
|
-
* @param {String} val 搜索的值
|
|
18810
|
+
/**
|
|
18811
|
+
* 快速搜索选项
|
|
18812
|
+
* @param {String} val 搜索的值
|
|
18823
18813
|
*/
|
|
18824
18814
|
filterMethod: function filterMethod(val) {
|
|
18825
18815
|
var _this5 = this;
|
|
@@ -18841,8 +18831,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
18841
18831
|
this.loadingOptionList();
|
|
18842
18832
|
}
|
|
18843
18833
|
},
|
|
18844
|
-
/**
|
|
18845
|
-
* 判断是否是全选状态
|
|
18834
|
+
/**
|
|
18835
|
+
* 判断是否是全选状态
|
|
18846
18836
|
*/
|
|
18847
18837
|
isSelectAll: function isSelectAll() {
|
|
18848
18838
|
var _this6 = this;
|
|
@@ -18866,8 +18856,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
18866
18856
|
}
|
|
18867
18857
|
}
|
|
18868
18858
|
},
|
|
18869
|
-
/**
|
|
18870
|
-
* 全选事件
|
|
18859
|
+
/**
|
|
18860
|
+
* 全选事件
|
|
18871
18861
|
*/
|
|
18872
18862
|
onSelectAll: function onSelectAll() {
|
|
18873
18863
|
var _this7 = this;
|
|
@@ -18905,14 +18895,14 @@ function util_searchToBoolean(chart, data) {
|
|
|
18905
18895
|
this.isIndeterminate = false;
|
|
18906
18896
|
this.changeValue();
|
|
18907
18897
|
},
|
|
18908
|
-
/**
|
|
18909
|
-
* 隐藏下拉选择框事件
|
|
18898
|
+
/**
|
|
18899
|
+
* 隐藏下拉选择框事件
|
|
18910
18900
|
*/
|
|
18911
18901
|
onConfirm: function onConfirm() {
|
|
18912
18902
|
this.$refs.selectBox.blur();
|
|
18913
18903
|
},
|
|
18914
|
-
/**
|
|
18915
|
-
* 滚动加载
|
|
18904
|
+
/**
|
|
18905
|
+
* 滚动加载
|
|
18916
18906
|
*/
|
|
18917
18907
|
loadMore: function loadMore() {
|
|
18918
18908
|
// 判断是否执行远程搜索
|
|
@@ -18938,8 +18928,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
18938
18928
|
this.isSelectAll();
|
|
18939
18929
|
}
|
|
18940
18930
|
},
|
|
18941
|
-
/**
|
|
18942
|
-
* 请求内部数据源
|
|
18931
|
+
/**
|
|
18932
|
+
* 请求内部数据源
|
|
18943
18933
|
*/
|
|
18944
18934
|
loadOption: function loadOption(type) {
|
|
18945
18935
|
var _this8 = this;
|
|
@@ -18996,8 +18986,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
18996
18986
|
_this8.showMore = false;
|
|
18997
18987
|
});
|
|
18998
18988
|
},
|
|
18999
|
-
/**
|
|
19000
|
-
* 初始化远程搜索数据
|
|
18989
|
+
/**
|
|
18990
|
+
* 初始化远程搜索数据
|
|
19001
18991
|
*/
|
|
19002
18992
|
initRemoteMethod: function initRemoteMethod() {
|
|
19003
18993
|
this.moduleDefinition = [];
|
|
@@ -19018,8 +19008,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19018
19008
|
this.loadMore();
|
|
19019
19009
|
}
|
|
19020
19010
|
},
|
|
19021
|
-
/**
|
|
19022
|
-
* 初始化组件的数据
|
|
19011
|
+
/**
|
|
19012
|
+
* 初始化组件的数据
|
|
19023
19013
|
*/
|
|
19024
19014
|
initSelectData: function initSelectData() {
|
|
19025
19015
|
var _this9 = this;
|
|
@@ -19125,8 +19115,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19125
19115
|
}
|
|
19126
19116
|
},
|
|
19127
19117
|
computed: {
|
|
19128
|
-
/**
|
|
19129
|
-
* option 展示的列表
|
|
19118
|
+
/**
|
|
19119
|
+
* option 展示的列表
|
|
19130
19120
|
*/
|
|
19131
19121
|
optionShowList: function optionShowList() {
|
|
19132
19122
|
var _this0 = this;
|
|
@@ -19163,8 +19153,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19163
19153
|
return this.total + (((_this$optionList = this.optionList) === null || _this$optionList === void 0 ? void 0 : _this$optionList.length) || 0);
|
|
19164
19154
|
}
|
|
19165
19155
|
},
|
|
19166
|
-
/**
|
|
19167
|
-
* option 所有数据的id数组
|
|
19156
|
+
/**
|
|
19157
|
+
* option 所有数据的id数组
|
|
19168
19158
|
*/
|
|
19169
19159
|
pageOptionListIds: function pageOptionListIds() {
|
|
19170
19160
|
return this.optionList.slice(0, 10);
|
|
@@ -19197,8 +19187,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19197
19187
|
valueKeys: function valueKeys() {
|
|
19198
19188
|
return Array.from(new Set([].concat(_toConsumableArray(Object.values(this.optionProps)), _toConsumableArray(this.valueProps))));
|
|
19199
19189
|
},
|
|
19200
|
-
/**
|
|
19201
|
-
* select的value数据
|
|
19190
|
+
/**
|
|
19191
|
+
* select的value数据
|
|
19202
19192
|
*/
|
|
19203
19193
|
select: {
|
|
19204
19194
|
get: function get() {
|
|
@@ -19235,8 +19225,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19235
19225
|
}
|
|
19236
19226
|
}
|
|
19237
19227
|
},
|
|
19238
|
-
/**
|
|
19239
|
-
* select 的 popperClass
|
|
19228
|
+
/**
|
|
19229
|
+
* select 的 popperClass
|
|
19240
19230
|
*/
|
|
19241
19231
|
popperClassName: function popperClassName() {
|
|
19242
19232
|
var className = "bytenew-select-popper ".concat(this.popperClass || '');
|
|
@@ -19361,7 +19351,7 @@ var select_component = normalizeComponent(
|
|
|
19361
19351
|
)
|
|
19362
19352
|
|
|
19363
19353
|
/* harmony default export */ const BnSelect_select = (select_component.exports);
|
|
19364
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=template&id=6a5eae5b&scoped=true
|
|
19354
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=template&id=6a5eae5b&scoped=true
|
|
19365
19355
|
|
|
19366
19356
|
|
|
19367
19357
|
var BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_render = function render() {
|
|
@@ -19770,10 +19760,10 @@ function _asyncToGenerator(n) {
|
|
|
19770
19760
|
handleBlurs: function handleBlurs() {
|
|
19771
19761
|
this.visible = false;
|
|
19772
19762
|
},
|
|
19773
|
-
/**
|
|
19774
|
-
* @name 选择change
|
|
19775
|
-
* @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
|
|
19776
|
-
* @param {*} record
|
|
19763
|
+
/**
|
|
19764
|
+
* @name 选择change
|
|
19765
|
+
* @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
|
|
19766
|
+
* @param {*} record
|
|
19777
19767
|
*/
|
|
19778
19768
|
selectItem: function selectItem(record) {
|
|
19779
19769
|
if (this.isSpecialTax) {
|
|
@@ -19944,6 +19934,8 @@ var es_map_get_or_insert = __webpack_require__(5367);
|
|
|
19944
19934
|
var es_map_get_or_insert_computed = __webpack_require__(2731);
|
|
19945
19935
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
|
|
19946
19936
|
var es_array_sort = __webpack_require__(6910);
|
|
19937
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
19938
|
+
var es_string_ends_with = __webpack_require__(9449);
|
|
19947
19939
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
|
|
19948
19940
|
var es_string_trim = __webpack_require__(2762);
|
|
19949
19941
|
;// ./packages/util/addressParse.js
|
|
@@ -19995,6 +19987,10 @@ var es_string_trim = __webpack_require__(2762);
|
|
|
19995
19987
|
|
|
19996
19988
|
|
|
19997
19989
|
|
|
19990
|
+
|
|
19991
|
+
|
|
19992
|
+
|
|
19993
|
+
|
|
19998
19994
|
|
|
19999
19995
|
|
|
20000
19996
|
|
|
@@ -20008,11 +20004,11 @@ var mArea = {}; //以区为级别的数据 里面包括 p:省 c:市
|
|
|
20008
20004
|
|
|
20009
20005
|
var mStreet = {}; //以街道为级别的数据 里面包括 c:市 a:区
|
|
20010
20006
|
|
|
20011
|
-
/**
|
|
20012
|
-
* 处理原始地址数据转换成专用数据
|
|
20013
|
-
* @param list 原始数据
|
|
20014
|
-
* @param init 是否初始化 如传空 已转换过不会再次转换
|
|
20015
|
-
* @returns {boolean}
|
|
20007
|
+
/**
|
|
20008
|
+
* 处理原始地址数据转换成专用数据
|
|
20009
|
+
* @param list 原始数据
|
|
20010
|
+
* @param init 是否初始化 如传空 已转换过不会再次转换
|
|
20011
|
+
* @returns {boolean}
|
|
20016
20012
|
*/
|
|
20017
20013
|
function parseArea(list, init) {
|
|
20018
20014
|
if (!init && defaultData.length) {
|
|
@@ -20064,11 +20060,11 @@ function parseArea(list, init) {
|
|
|
20064
20060
|
});
|
|
20065
20061
|
}
|
|
20066
20062
|
|
|
20067
|
-
/**
|
|
20068
|
-
* 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
|
|
20069
|
-
* @param address 任意地址字符串
|
|
20070
|
-
* @param sourceData 组件配置,如 extraInfo.isFourAddress
|
|
20071
|
-
* @returns {{name: string, mobile: string, detail: string, zip_code: string, phone: string}}
|
|
20063
|
+
/**
|
|
20064
|
+
* 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
|
|
20065
|
+
* @param address 任意地址字符串
|
|
20066
|
+
* @param sourceData 组件配置,如 extraInfo.isFourAddress
|
|
20067
|
+
* @returns {{name: string, mobile: string, detail: string, zip_code: string, phone: string}}
|
|
20072
20068
|
*/
|
|
20073
20069
|
function parseAddressDetail(address, sourceData) {
|
|
20074
20070
|
var parse = {
|
|
@@ -20080,7 +20076,9 @@ function parseAddressDetail(address, sourceData) {
|
|
|
20080
20076
|
extensionNumber: '' // 淘宝分机号码
|
|
20081
20077
|
};
|
|
20082
20078
|
address = joinAddressLines(address);
|
|
20083
|
-
var
|
|
20079
|
+
var presetName = address.name;
|
|
20080
|
+
address = stripAddressLabels(address.text);
|
|
20081
|
+
var search = ['详细地址', '收货地址', '联系地址', '收件地址', '邮政编码', '手机号码', '联系电话', '联系方式', '收货人', '收件人', '联系人', '姓名', '名字', '手机号', '邮编', '收货', '地址', '详细', '电话', '固话', ':', ':', ';', ';', ',', ',', '。'];
|
|
20084
20082
|
search.forEach(function (str) {
|
|
20085
20083
|
address = address.replace(new RegExp(str, 'g'), ' ');
|
|
20086
20084
|
});
|
|
@@ -20172,6 +20170,12 @@ function parseAddressDetail(address, sourceData) {
|
|
|
20172
20170
|
parse.street = detail.street;
|
|
20173
20171
|
parse.addr = detail.addr;
|
|
20174
20172
|
parse.result = detail.result;
|
|
20173
|
+
if (presetName) {
|
|
20174
|
+
parse.name = presetName;
|
|
20175
|
+
if (parse.addr) {
|
|
20176
|
+
parse.addr = parse.addr.replace(presetName, '').trim();
|
|
20177
|
+
}
|
|
20178
|
+
}
|
|
20175
20179
|
if (parse.province === "澳门" || parse.province === "香港") {
|
|
20176
20180
|
parse.province += "特别行政区";
|
|
20177
20181
|
} else if (parse.province === "新疆") {
|
|
@@ -20195,13 +20199,13 @@ function parseAddressDetail(address, sourceData) {
|
|
|
20195
20199
|
return parse;
|
|
20196
20200
|
}
|
|
20197
20201
|
|
|
20198
|
-
/**
|
|
20199
|
-
* 正向解析模式
|
|
20200
|
-
* 从前到后按 province city addr 逐级筛选
|
|
20201
|
-
* 有city的值即可说明解析成功
|
|
20202
|
-
* 此模式对地址顺序有要求
|
|
20203
|
-
* @param address
|
|
20204
|
-
* @returns {{province: string, city: string, area: string, addr: string}}
|
|
20202
|
+
/**
|
|
20203
|
+
* 正向解析模式
|
|
20204
|
+
* 从前到后按 province city addr 逐级筛选
|
|
20205
|
+
* 有city的值即可说明解析成功
|
|
20206
|
+
* 此模式对地址顺序有要求
|
|
20207
|
+
* @param address
|
|
20208
|
+
* @returns {{province: string, city: string, area: string, addr: string}}
|
|
20205
20209
|
*/
|
|
20206
20210
|
function detail_parse_forward(address, sourceData) {
|
|
20207
20211
|
var parse = {
|
|
@@ -20295,12 +20299,12 @@ function detail_parse_forward(address, sourceData) {
|
|
|
20295
20299
|
return parse;
|
|
20296
20300
|
}
|
|
20297
20301
|
|
|
20298
|
-
/**
|
|
20299
|
-
* 逆向解析 从后【县,区,旗】往前解析
|
|
20300
|
-
* 有地区就能大概返回地址了
|
|
20301
|
-
* @param address
|
|
20302
|
-
* @param ignoreArea 是否忽视区 因为地址中含有区容易导致匹配错误 例:山东省蓬莱市黄海花园东区西门宝威学堂 曲荣声收15753572456
|
|
20303
|
-
* @returns {{province: string, city: string, area: string, name: string, _area: string, addr: string}}
|
|
20302
|
+
/**
|
|
20303
|
+
* 逆向解析 从后【县,区,旗】往前解析
|
|
20304
|
+
* 有地区就能大概返回地址了
|
|
20305
|
+
* @param address
|
|
20306
|
+
* @param ignoreArea 是否忽视区 因为地址中含有区容易导致匹配错误 例:山东省蓬莱市黄海花园东区西门宝威学堂 曲荣声收15753572456
|
|
20307
|
+
* @returns {{province: string, city: string, area: string, name: string, _area: string, addr: string}}
|
|
20304
20308
|
*/
|
|
20305
20309
|
function detail_parse(address) {
|
|
20306
20310
|
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
@@ -20472,34 +20476,97 @@ function detail_parse(address) {
|
|
|
20472
20476
|
}
|
|
20473
20477
|
var MUNICIPALITIES = ['上海', '北京', '天津', '重庆'];
|
|
20474
20478
|
|
|
20475
|
-
/**
|
|
20476
|
-
* 统一换行符格式
|
|
20479
|
+
/**
|
|
20480
|
+
* 统一换行符格式
|
|
20477
20481
|
*/
|
|
20478
20482
|
function normalizeLineBreaks(address) {
|
|
20479
20483
|
return String(address || '').replace(/\r\n/g, '\n').replace(/\r/g, '\n').replace(/\t/g, ' ');
|
|
20480
20484
|
}
|
|
20481
20485
|
|
|
20482
|
-
/**
|
|
20483
|
-
*
|
|
20486
|
+
/**
|
|
20487
|
+
* 常见地址字段标签(姓名:、详细地址: 等),较长标签优先匹配
|
|
20488
|
+
*/
|
|
20489
|
+
var ADDRESS_LABEL_PATTERN = '(?:详细地址|收货地址|联系地址|收件地址|邮政编码|手机号码|联系电话|联系方式|收货人|收件人|联系人|姓名|名字|手机号|邮编|收货|地址|详细|固话|电话)[::]';
|
|
20490
|
+
var ADDRESS_LABEL_REG = new RegExp(ADDRESS_LABEL_PATTERN, 'g');
|
|
20491
|
+
var ADDRESS_LABEL_TEST_REG = new RegExp(ADDRESS_LABEL_PATTERN);
|
|
20492
|
+
|
|
20493
|
+
/**
|
|
20494
|
+
* 去除「姓名:」「详细地址:」等字段标签前缀
|
|
20495
|
+
*/
|
|
20496
|
+
function stripAddressLabels(text) {
|
|
20497
|
+
return String(text || '').replace(ADDRESS_LABEL_REG, ' ');
|
|
20498
|
+
}
|
|
20499
|
+
var NAME_LABELS = ['姓名', '名字', '联系人', '收货人', '收件人'];
|
|
20500
|
+
var PHONE_LABELS = ['电话', '手机号', '手机号码', '联系电话', '联系方式', '固话'];
|
|
20501
|
+
|
|
20502
|
+
/**
|
|
20503
|
+
* 解析「标签:值」格式的单行
|
|
20504
|
+
*/
|
|
20505
|
+
function matchLabeledLine(line) {
|
|
20506
|
+
var match = line.match(/^([\u4e00-\u9fa5A-Za-z0-9]+)[::]\s*(.+)$/);
|
|
20507
|
+
if (!match) {
|
|
20508
|
+
return null;
|
|
20509
|
+
}
|
|
20510
|
+
return {
|
|
20511
|
+
label: match[1],
|
|
20512
|
+
value: match[2].trim()
|
|
20513
|
+
};
|
|
20514
|
+
}
|
|
20515
|
+
|
|
20516
|
+
/**
|
|
20517
|
+
* 按换行符拆分段落,去除行内空白后用空格拼接为单行
|
|
20518
|
+
* 若每行是「标签:值」格式,则按标签分类提取姓名、电话和地址
|
|
20484
20519
|
*/
|
|
20485
20520
|
function joinAddressLines(address) {
|
|
20486
20521
|
var normalized = normalizeLineBreaks(address);
|
|
20487
|
-
var lines = normalized.split('\n')
|
|
20522
|
+
var lines = normalized.split('\n').filter(function (line) {
|
|
20523
|
+
return line.replace(/[ \t\f\v]+/g, ' ').trim();
|
|
20524
|
+
});
|
|
20525
|
+
if (lines.length === 1) {
|
|
20526
|
+
var singleLine = lines[0].replace(/[ \t\f\v]+/g, ' ').trim();
|
|
20527
|
+
if ((singleLine.match(/[::]/g) || []).length > 1 && ADDRESS_LABEL_TEST_REG.test(singleLine)) {
|
|
20528
|
+
return {
|
|
20529
|
+
text: stripAddressLabels(singleLine).replace(/ {2,}/g, ' ').trim(),
|
|
20530
|
+
name: '',
|
|
20531
|
+
phoneHint: ''
|
|
20532
|
+
};
|
|
20533
|
+
}
|
|
20534
|
+
}
|
|
20488
20535
|
var parts = [];
|
|
20536
|
+
var extracted = {
|
|
20537
|
+
name: '',
|
|
20538
|
+
phoneHint: ''
|
|
20539
|
+
};
|
|
20489
20540
|
for (var i = 0; i < lines.length; i++) {
|
|
20490
20541
|
var line = lines[i].replace(/[ \t\f\v]+/g, ' ').trim();
|
|
20491
|
-
if (line) {
|
|
20542
|
+
if (!line) {
|
|
20543
|
+
continue;
|
|
20544
|
+
}
|
|
20545
|
+
var labeled = matchLabeledLine(line);
|
|
20546
|
+
if (labeled) {
|
|
20547
|
+
if (NAME_LABELS.indexOf(labeled.label) > -1) {
|
|
20548
|
+
extracted.name = labeled.value;
|
|
20549
|
+
} else if (PHONE_LABELS.indexOf(labeled.label) > -1) {
|
|
20550
|
+
extracted.phoneHint = labeled.value;
|
|
20551
|
+
} else {
|
|
20552
|
+
parts.push(labeled.value);
|
|
20553
|
+
}
|
|
20554
|
+
} else {
|
|
20492
20555
|
parts.push(line);
|
|
20493
20556
|
}
|
|
20494
20557
|
}
|
|
20495
|
-
return
|
|
20558
|
+
return {
|
|
20559
|
+
text: parts.join(' '),
|
|
20560
|
+
name: extracted.name,
|
|
20561
|
+
phoneHint: extracted.phoneHint
|
|
20562
|
+
};
|
|
20496
20563
|
}
|
|
20497
20564
|
|
|
20498
|
-
/**
|
|
20499
|
-
* 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
|
|
20500
|
-
* @param {object} options
|
|
20501
|
-
* @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
|
|
20502
|
-
* @returns {array|null}
|
|
20565
|
+
/**
|
|
20566
|
+
* 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
|
|
20567
|
+
* @param {object} options
|
|
20568
|
+
* @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
|
|
20569
|
+
* @returns {array|null}
|
|
20503
20570
|
*/
|
|
20504
20571
|
function getGlobalAreaList() {
|
|
20505
20572
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -20522,8 +20589,8 @@ function getGlobalAreaList() {
|
|
|
20522
20589
|
return null;
|
|
20523
20590
|
}
|
|
20524
20591
|
|
|
20525
|
-
/**
|
|
20526
|
-
* 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
|
|
20592
|
+
/**
|
|
20593
|
+
* 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
|
|
20527
20594
|
*/
|
|
20528
20595
|
function checkMunicipalityChars(str, name) {
|
|
20529
20596
|
var prefix = str.substring(0, 8);
|
|
@@ -20532,8 +20599,8 @@ function checkMunicipalityChars(str, name) {
|
|
|
20532
20599
|
return firstIndex !== -1 && firstIndex === lastIndex;
|
|
20533
20600
|
}
|
|
20534
20601
|
|
|
20535
|
-
/**
|
|
20536
|
-
* 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
|
|
20602
|
+
/**
|
|
20603
|
+
* 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
|
|
20537
20604
|
*/
|
|
20538
20605
|
function preprocessAddress(address) {
|
|
20539
20606
|
var cleanAddress = normalizeLineBreaks(address).replace(/[ \t\f\v]+/g, '');
|
|
@@ -20554,13 +20621,13 @@ function preprocessAddress(address) {
|
|
|
20554
20621
|
return cleanAddress;
|
|
20555
20622
|
}
|
|
20556
20623
|
|
|
20557
|
-
/**
|
|
20558
|
-
* 自动识别地址信息,格式化为省市区街道和收件人等信息
|
|
20559
|
-
* @param {string} address 原始地址字符串(可含空格、姓名、手机号等)
|
|
20560
|
-
* @param {object} [sourceData] 组件 sourceData,用于四级地址等配置(extraInfo.isFourAddress)
|
|
20561
|
-
* @param {object} [options] 可选配置
|
|
20562
|
-
* @param {array} [options.areaList] 地址库原始数据,默认从全局 areaList 获取
|
|
20563
|
-
* @returns {{name: string, mobile: string, phone: string, zip_code: string, extensionNumber: string, province: string, city: string, area: string, street: string, addr: string, result: *}}
|
|
20624
|
+
/**
|
|
20625
|
+
* 自动识别地址信息,格式化为省市区街道和收件人等信息
|
|
20626
|
+
* @param {string} address 原始地址字符串(可含空格、姓名、手机号等)
|
|
20627
|
+
* @param {object} [sourceData] 组件 sourceData,用于四级地址等配置(extraInfo.isFourAddress)
|
|
20628
|
+
* @param {object} [options] 可选配置
|
|
20629
|
+
* @param {array} [options.areaList] 地址库原始数据,默认从全局 areaList 获取
|
|
20630
|
+
* @returns {{name: string, mobile: string, phone: string, zip_code: string, extensionNumber: string, province: string, city: string, area: string, street: string, addr: string, result: *}}
|
|
20564
20631
|
*/
|
|
20565
20632
|
function addressParse(address, sourceData) {
|
|
20566
20633
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
@@ -20593,16 +20660,16 @@ function addressParse(address, sourceData) {
|
|
|
20593
20660
|
|
|
20594
20661
|
|
|
20595
20662
|
|
|
20596
|
-
/**
|
|
20597
|
-
* 通过id列表,和options将title拼接出来 ,id的key名和 title的key名可以传过来,默认是id和title
|
|
20598
|
-
* id:[1,2] options:[{id:1,title:'name'},{id:2,title:'name2'}] 或 {1:'name',2:'name2'}
|
|
20599
|
-
* 结果返回 'name,name2'
|
|
20600
|
-
* @param {Array} ids ID列表
|
|
20601
|
-
* @param {Array|Object} options 选项数组或对象映射
|
|
20602
|
-
* @param {String} idKey ID的键名,默认为'id',仅当options为数组时使用
|
|
20603
|
-
* @param {String} nameKey 名称的键名,默认为'title',仅当options为数组时使用
|
|
20604
|
-
* @param {String} separator 自定义分隔符,默认为中文逗号','
|
|
20605
|
-
* @return {String} 拼接后的字符串
|
|
20663
|
+
/**
|
|
20664
|
+
* 通过id列表,和options将title拼接出来 ,id的key名和 title的key名可以传过来,默认是id和title
|
|
20665
|
+
* id:[1,2] options:[{id:1,title:'name'},{id:2,title:'name2'}] 或 {1:'name',2:'name2'}
|
|
20666
|
+
* 结果返回 'name,name2'
|
|
20667
|
+
* @param {Array} ids ID列表
|
|
20668
|
+
* @param {Array|Object} options 选项数组或对象映射
|
|
20669
|
+
* @param {String} idKey ID的键名,默认为'id',仅当options为数组时使用
|
|
20670
|
+
* @param {String} nameKey 名称的键名,默认为'title',仅当options为数组时使用
|
|
20671
|
+
* @param {String} separator 自定义分隔符,默认为中文逗号','
|
|
20672
|
+
* @return {String} 拼接后的字符串
|
|
20606
20673
|
* */
|
|
20607
20674
|
function idsToTexts(ids, options) {
|
|
20608
20675
|
var idKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'id';
|
|
@@ -20641,51 +20708,51 @@ function idsToTexts(ids, options) {
|
|
|
20641
20708
|
}
|
|
20642
20709
|
|
|
20643
20710
|
;// ./install.js
|
|
20644
|
-
// install.js - BnAppletUi 组件库入口
|
|
20645
|
-
|
|
20646
|
-
|
|
20647
|
-
|
|
20648
|
-
|
|
20649
|
-
|
|
20650
|
-
|
|
20651
|
-
|
|
20652
|
-
|
|
20653
|
-
|
|
20654
|
-
|
|
20655
|
-
|
|
20656
|
-
|
|
20657
|
-
|
|
20658
|
-
|
|
20659
|
-
const BnAppletUi = {
|
|
20660
|
-
install: (Vue) => {
|
|
20661
|
-
Vue.component("BnAddress", BnAddress);
|
|
20662
|
-
Vue.component("BnAddressParse", BnAddressParse);
|
|
20663
|
-
Vue.component("BnCheck", BnCheck);
|
|
20664
|
-
Vue.component("BnDateRange", bnDateRange);
|
|
20665
|
-
Vue.component("BnDialog", dialog);
|
|
20666
|
-
Vue.component("BnDropdown", bnDropdown);
|
|
20667
|
-
Vue.component("BnFileView", BnFileView);
|
|
20668
|
-
Vue.component("BnFunText", bnFunText);
|
|
20669
|
-
Vue.component("BnInpNum", BnInpNum);
|
|
20670
|
-
Vue.component("BnInputNum", BnInputNum);
|
|
20671
|
-
Vue.component("BnRuleCondition", bnRuleCondition);
|
|
20672
|
-
Vue.component("BnSelect", BnSelect_select);
|
|
20673
|
-
Vue.component("BnFiTaxAutoComplete", BnFiTaxAutoComplete);
|
|
20674
|
-
}
|
|
20675
|
-
};
|
|
20676
|
-
|
|
20677
|
-
// 支持通过 CDN 方式引入时自动注册
|
|
20678
|
-
if (typeof window !== 'undefined' && window.Vue) {
|
|
20679
|
-
window.Vue.use(BnAppletUi);
|
|
20680
|
-
}
|
|
20681
|
-
|
|
20682
|
-
// 导出插件对象(整体引入)
|
|
20683
|
-
// 使用方式:Vue.use(BnAppletUi)
|
|
20684
|
-
/* harmony default export */ const install = (BnAppletUi);
|
|
20685
|
-
|
|
20686
|
-
// 单独导出各组件(按需引入)
|
|
20687
|
-
|
|
20688
|
-
// 单独导出每个工具函数和常量,方便按需引入
|
|
20711
|
+
// install.js - BnAppletUi 组件库入口
|
|
20712
|
+
|
|
20713
|
+
|
|
20714
|
+
|
|
20715
|
+
|
|
20716
|
+
|
|
20717
|
+
|
|
20718
|
+
|
|
20719
|
+
|
|
20720
|
+
|
|
20721
|
+
|
|
20722
|
+
|
|
20723
|
+
|
|
20724
|
+
|
|
20725
|
+
|
|
20726
|
+
const BnAppletUi = {
|
|
20727
|
+
install: (Vue) => {
|
|
20728
|
+
Vue.component("BnAddress", BnAddress);
|
|
20729
|
+
Vue.component("BnAddressParse", BnAddressParse);
|
|
20730
|
+
Vue.component("BnCheck", BnCheck);
|
|
20731
|
+
Vue.component("BnDateRange", bnDateRange);
|
|
20732
|
+
Vue.component("BnDialog", dialog);
|
|
20733
|
+
Vue.component("BnDropdown", bnDropdown);
|
|
20734
|
+
Vue.component("BnFileView", BnFileView);
|
|
20735
|
+
Vue.component("BnFunText", bnFunText);
|
|
20736
|
+
Vue.component("BnInpNum", BnInpNum);
|
|
20737
|
+
Vue.component("BnInputNum", BnInputNum);
|
|
20738
|
+
Vue.component("BnRuleCondition", bnRuleCondition);
|
|
20739
|
+
Vue.component("BnSelect", BnSelect_select);
|
|
20740
|
+
Vue.component("BnFiTaxAutoComplete", BnFiTaxAutoComplete);
|
|
20741
|
+
}
|
|
20742
|
+
};
|
|
20743
|
+
|
|
20744
|
+
// 支持通过 CDN 方式引入时自动注册
|
|
20745
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
20746
|
+
window.Vue.use(BnAppletUi);
|
|
20747
|
+
}
|
|
20748
|
+
|
|
20749
|
+
// 导出插件对象(整体引入)
|
|
20750
|
+
// 使用方式:Vue.use(BnAppletUi)
|
|
20751
|
+
/* harmony default export */ const install = (BnAppletUi);
|
|
20752
|
+
|
|
20753
|
+
// 单独导出各组件(按需引入)
|
|
20754
|
+
|
|
20755
|
+
// 单独导出每个工具函数和常量,方便按需引入
|
|
20689
20756
|
|
|
20690
20757
|
;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
20691
20758
|
|