@bytenew/bn-applet-ui 1.1.23 → 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 -425
- package/dist/bn-applet-ui.common.js.map +1 -1
- package/dist/bn-applet-ui.umd.js +491 -425
- 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_a086af00_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: {
|
|
@@ -14493,61 +14489,59 @@ var es_string_starts_with = __webpack_require__(1392);
|
|
|
14493
14489
|
},
|
|
14494
14490
|
set: function set(val) {
|
|
14495
14491
|
this.$emit("update:modelValue", val);
|
|
14496
|
-
this.$emit("input", val);
|
|
14497
14492
|
}
|
|
14498
14493
|
}
|
|
14499
14494
|
},
|
|
14500
14495
|
methods: {
|
|
14501
|
-
/**
|
|
14502
|
-
* input事件 实时变化
|
|
14496
|
+
/**
|
|
14497
|
+
* input事件 实时变化
|
|
14503
14498
|
* */
|
|
14504
14499
|
valInput: (0,external_lodash_namespaceObject.debounce)(function (val) {
|
|
14505
14500
|
// 快速处理空值
|
|
14506
14501
|
if (!val) {
|
|
14507
|
-
this.val =
|
|
14502
|
+
this.val = '';
|
|
14508
14503
|
return;
|
|
14509
14504
|
}
|
|
14510
14505
|
var value = val;
|
|
14511
14506
|
|
|
14512
14507
|
// 移除无效字符(一次性处理)
|
|
14513
|
-
value = value.replace(/[^0-9.-]/g,
|
|
14508
|
+
value = value.replace(/[^0-9.-]/g, '');
|
|
14514
14509
|
|
|
14515
14510
|
// 处理负号:只保留开头的第一个负号
|
|
14516
|
-
if (value.startsWith(
|
|
14517
|
-
value =
|
|
14511
|
+
if (value.startsWith('-')) {
|
|
14512
|
+
value = '-' + value.slice(1).replace(/-/g, '');
|
|
14518
14513
|
} else {
|
|
14519
|
-
value = value.replace(/-/g,
|
|
14514
|
+
value = value.replace(/-/g, '');
|
|
14520
14515
|
}
|
|
14521
14516
|
|
|
14522
|
-
//
|
|
14523
|
-
if (value.startsWith(
|
|
14524
|
-
value = value.slice(1).replace(/\./g,
|
|
14517
|
+
// 处理小数点:移除开头的点,保留第一个点
|
|
14518
|
+
if (value.startsWith('.')) {
|
|
14519
|
+
value = value.slice(1).replace(/\./g, '');
|
|
14525
14520
|
} else {
|
|
14526
|
-
var dotIndex = value.indexOf(
|
|
14521
|
+
var dotIndex = value.indexOf('.');
|
|
14527
14522
|
if (dotIndex > 0) {
|
|
14528
|
-
var parts = value.split(
|
|
14529
|
-
value = parts[0] +
|
|
14523
|
+
var parts = value.split('.');
|
|
14524
|
+
value = parts[0] + '.' + parts.slice(1).join('');
|
|
14530
14525
|
}
|
|
14531
14526
|
}
|
|
14532
14527
|
|
|
14533
|
-
//
|
|
14534
|
-
|
|
14535
|
-
|
|
14536
|
-
|
|
14537
|
-
if (precisionNum === 0) {
|
|
14528
|
+
// 处理精度
|
|
14529
|
+
if (value && value !== '-' && this.precision != null && this.precision >= 0) {
|
|
14530
|
+
var _dotIndex = value.indexOf('.');
|
|
14531
|
+
if (this.precision === 0) {
|
|
14538
14532
|
// 精度为0时,移除小数点及之后的内容
|
|
14539
|
-
value =
|
|
14540
|
-
} else if (
|
|
14533
|
+
value = _dotIndex > 0 ? value.slice(0, _dotIndex) : value;
|
|
14534
|
+
} else if (_dotIndex > 0) {
|
|
14541
14535
|
// 限制小数位数
|
|
14542
|
-
var decimalPart = value.slice(
|
|
14543
|
-
if (decimalPart.length >
|
|
14544
|
-
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);
|
|
14545
14539
|
}
|
|
14546
14540
|
}
|
|
14547
14541
|
}
|
|
14548
14542
|
|
|
14549
14543
|
// 实时校验最大值和最小值
|
|
14550
|
-
if (value && value !==
|
|
14544
|
+
if (value && value !== '-') {
|
|
14551
14545
|
var numValue = parseFloat(value);
|
|
14552
14546
|
if (!isNaN(numValue)) {
|
|
14553
14547
|
// 校验最大值
|
|
@@ -14562,17 +14556,13 @@ var es_string_starts_with = __webpack_require__(1392);
|
|
|
14562
14556
|
}
|
|
14563
14557
|
this.val = value;
|
|
14564
14558
|
}, 200),
|
|
14565
|
-
/**
|
|
14566
|
-
* change事件上报
|
|
14559
|
+
/**
|
|
14560
|
+
* change事件上报
|
|
14567
14561
|
* */
|
|
14568
14562
|
valChange: function valChange() {
|
|
14569
|
-
//
|
|
14570
|
-
if (this.val ===
|
|
14571
|
-
this.val =
|
|
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) {
|
|
@@ -14586,21 +14576,20 @@ var es_string_starts_with = __webpack_require__(1392);
|
|
|
14586
14576
|
}
|
|
14587
14577
|
}
|
|
14588
14578
|
}
|
|
14589
|
-
this.$emit("change", this.val);
|
|
14590
14579
|
},
|
|
14591
|
-
/**
|
|
14592
|
-
* blur事件上报
|
|
14580
|
+
/**
|
|
14581
|
+
* blur事件上报
|
|
14593
14582
|
* */
|
|
14594
14583
|
inputBlur: function inputBlur() {
|
|
14595
|
-
this.$emit(
|
|
14584
|
+
this.$emit('blur', this.val);
|
|
14596
14585
|
}
|
|
14597
14586
|
}
|
|
14598
14587
|
});
|
|
14599
14588
|
;// ./packages/BnInpNum/BnInpNum.vue?vue&type=script&lang=js
|
|
14600
14589
|
/* harmony default export */ const BnInpNum_BnInpNumvue_type_script_lang_js = (BnInpNumvue_type_script_lang_js);
|
|
14601
|
-
// 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=
|
|
14602
|
-
var
|
|
14603
|
-
;// ./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
|
|
14604
14593
|
|
|
14605
14594
|
;// ./packages/BnInpNum/BnInpNum.vue
|
|
14606
14595
|
|
|
@@ -14613,17 +14602,17 @@ var BnInpNumvue_type_style_index_0_id_a086af00_prod_lang_scss_scoped_true = __we
|
|
|
14613
14602
|
|
|
14614
14603
|
var BnInpNum_component = normalizeComponent(
|
|
14615
14604
|
BnInpNum_BnInpNumvue_type_script_lang_js,
|
|
14616
|
-
|
|
14617
|
-
|
|
14605
|
+
BnInpNumvue_type_template_id_dc8beb30_scoped_true_render,
|
|
14606
|
+
BnInpNumvue_type_template_id_dc8beb30_scoped_true_staticRenderFns,
|
|
14618
14607
|
false,
|
|
14619
14608
|
null,
|
|
14620
|
-
"
|
|
14609
|
+
"dc8beb30",
|
|
14621
14610
|
null
|
|
14622
14611
|
|
|
14623
14612
|
)
|
|
14624
14613
|
|
|
14625
14614
|
/* harmony default export */ const BnInpNum = (BnInpNum_component.exports);
|
|
14626
|
-
;// ./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
|
|
14627
14616
|
var BnInputNumvue_type_template_id_2baef958_render = function render() {
|
|
14628
14617
|
var _vm = this,
|
|
14629
14618
|
_c = _vm._self._c;
|
|
@@ -14794,7 +14783,7 @@ var BnInputNum_component = normalizeComponent(
|
|
|
14794
14783
|
)
|
|
14795
14784
|
|
|
14796
14785
|
/* harmony default export */ const BnInputNum = (BnInputNum_component.exports);
|
|
14797
|
-
;// ./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
|
|
14798
14787
|
|
|
14799
14788
|
|
|
14800
14789
|
|
|
@@ -15627,53 +15616,53 @@ var searchList = {
|
|
|
15627
15616
|
title: '不为空',
|
|
15628
15617
|
id: '10'
|
|
15629
15618
|
}],
|
|
15630
|
-
/*
|
|
15631
|
-
9: [
|
|
15632
|
-
{title: '范围', id: '8'},
|
|
15633
|
-
{title: '为空', id: '9'},
|
|
15634
|
-
{title: '不为空', id: '10'},
|
|
15635
|
-
],
|
|
15636
|
-
11: [
|
|
15637
|
-
{title: '等于', id: '1'},
|
|
15638
|
-
{title: '不等于', id: '2'},
|
|
15639
|
-
{title: '包含', id: '3'},
|
|
15640
|
-
{title: '不包含', id: '4'},
|
|
15641
|
-
{title: '包含任一项', id: '5'},
|
|
15642
|
-
{title: '不包含任一项', id: '6'},
|
|
15643
|
-
{title: '包含所有项', id: '7'},
|
|
15644
|
-
{title: '范围', id: '8'},
|
|
15645
|
-
{title: '为空', id: '9'},
|
|
15646
|
-
{title: '不为空', id: '10'},
|
|
15647
|
-
{title: '属于', id: '11'},
|
|
15648
|
-
{title: '有交集', id: '12'},
|
|
15649
|
-
{title: '无交集', id: '13'},],
|
|
15650
|
-
12: [
|
|
15651
|
-
{title: '等于', id: '1'},
|
|
15652
|
-
{title: '不等于', id: '2'},
|
|
15653
|
-
{title: '包含', id: '3'},
|
|
15654
|
-
{title: '不包含', id: '4'},
|
|
15655
|
-
{title: '包含任一项', id: '5'},
|
|
15656
|
-
{title: '不包含任一项', id: '6'},
|
|
15657
|
-
{title: '包含所有项', id: '7'},
|
|
15658
|
-
{title: '范围', id: '8'},
|
|
15659
|
-
{title: '为空', id: '9'},
|
|
15660
|
-
{title: '不为空', id: '10'},
|
|
15661
|
-
{title: '属于', id: '11'},
|
|
15662
|
-
{title: '有交集', id: '12'},
|
|
15663
|
-
{title: '无交集', id: '13'},],
|
|
15664
|
-
13: [
|
|
15665
|
-
{title: '等于', id: '1'},
|
|
15666
|
-
{title: '不等于', id: '2'},
|
|
15667
|
-
{title: '包含', id: '3'},
|
|
15668
|
-
{title: '不包含', id: '4'},
|
|
15669
|
-
{title: '包含任一项', id: '5'},
|
|
15670
|
-
{title: '不包含任一项', id: '6'},
|
|
15671
|
-
{title: '包含所有项', id: '7'},
|
|
15672
|
-
{title: '范围', id: '8'},
|
|
15673
|
-
{title: '为空', id: '9'},
|
|
15674
|
-
{title: '不为空', id: '10'},
|
|
15675
|
-
{title: '属于', id: '11'},
|
|
15676
|
-
{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'},
|
|
15677
15666
|
{title: '无交集', id: '13'},],*/
|
|
15678
15667
|
15: [{
|
|
15679
15668
|
title: '为空',
|
|
@@ -15685,7 +15674,7 @@ var searchList = {
|
|
|
15685
15674
|
};
|
|
15686
15675
|
|
|
15687
15676
|
//每个组件类型对应的筛选类型列表
|
|
15688
|
-
var submitCheckTypeList =
|
|
15677
|
+
var submitCheckTypeList = {
|
|
15689
15678
|
1: '等于',
|
|
15690
15679
|
2: '不等于',
|
|
15691
15680
|
3: '包含',
|
|
@@ -15720,7 +15709,7 @@ var submitCheckTypeList = (/* unused pure expression or super */ null && ({
|
|
|
15720
15709
|
101: '变更为',
|
|
15721
15710
|
102: '变更为空',
|
|
15722
15711
|
103: '变更为有值'
|
|
15723
|
-
}
|
|
15712
|
+
};
|
|
15724
15713
|
var valueTypeList = {
|
|
15725
15714
|
//{id: '0', title: '自定义填写'},{id: '1', title: '其他组件'},{id: '2', title: '当前组件选项'}, {id: '3', title: '空值'},{id: '4', title: '其他步骤'},{ id: '5', title: '工作表属性' }
|
|
15726
15715
|
'-1': [{
|
|
@@ -15824,7 +15813,7 @@ var subTypeList = {
|
|
|
15824
15813
|
//部分支持 {id: '6', title: '过去x时'}, {id: '7', title: '未来x时'}, {id: '8', title: '过去x月'}, {id: '9', title: '未来x月'},
|
|
15825
15814
|
]
|
|
15826
15815
|
};
|
|
15827
|
-
;// ./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
|
|
15828
15817
|
var cascadeConditionvue_type_template_id_0b10733b_render = function render() {
|
|
15829
15818
|
var _vm = this,
|
|
15830
15819
|
_c = _vm._self._c;
|
|
@@ -15916,7 +15905,7 @@ function _createForOfIteratorHelper(r, e) {
|
|
|
15916
15905
|
};
|
|
15917
15906
|
}
|
|
15918
15907
|
|
|
15919
|
-
;// ./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
|
|
15920
15909
|
var BnSwitchvue_type_template_id_809f2340_render = function render() {
|
|
15921
15910
|
var _vm = this,
|
|
15922
15911
|
_c = _vm._self._c;
|
|
@@ -16163,10 +16152,10 @@ var BnSwitch_component = normalizeComponent(
|
|
|
16163
16152
|
}
|
|
16164
16153
|
this.$emit('update:sourceTitle', this.valueTitle);
|
|
16165
16154
|
},
|
|
16166
|
-
/**
|
|
16167
|
-
* @param data 列表
|
|
16168
|
-
* @param value 编辑回显时已保存的值 []
|
|
16169
|
-
* @returns {*|Array|Array|*}
|
|
16155
|
+
/**
|
|
16156
|
+
* @param data 列表
|
|
16157
|
+
* @param value 编辑回显时已保存的值 []
|
|
16158
|
+
* @returns {*|Array|Array|*}
|
|
16170
16159
|
* */
|
|
16171
16160
|
dataFormat: function dataFormat(data, value) {
|
|
16172
16161
|
return data.map(function (item) {
|
|
@@ -16176,12 +16165,12 @@ var BnSwitch_component = normalizeComponent(
|
|
|
16176
16165
|
});
|
|
16177
16166
|
});
|
|
16178
16167
|
},
|
|
16179
|
-
/**
|
|
16180
|
-
*
|
|
16181
|
-
* @param data 列表
|
|
16182
|
-
* @param key 键
|
|
16183
|
-
* @param value 值
|
|
16184
|
-
* @returns {*|Array|String|Array|*}
|
|
16168
|
+
/**
|
|
16169
|
+
*
|
|
16170
|
+
* @param data 列表
|
|
16171
|
+
* @param key 键
|
|
16172
|
+
* @param value 值
|
|
16173
|
+
* @returns {*|Array|String|Array|*}
|
|
16185
16174
|
*/
|
|
16186
16175
|
getChild: function getChild(data, key, value) {
|
|
16187
16176
|
var _iterator = _createForOfIteratorHelper(data),
|
|
@@ -16264,7 +16253,7 @@ var cascadeCondition_component = normalizeComponent(
|
|
|
16264
16253
|
)
|
|
16265
16254
|
|
|
16266
16255
|
/* harmony default export */ const cascadeCondition = (cascadeCondition_component.exports);
|
|
16267
|
-
;// ./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
|
|
16268
16257
|
var addressvue_type_template_id_1199c288_scoped_true_render = function render() {
|
|
16269
16258
|
var _vm = this,
|
|
16270
16259
|
_c = _vm._self._c;
|
|
@@ -16324,7 +16313,7 @@ var addressvue_type_template_id_1199c288_scoped_true_render = function render()
|
|
|
16324
16313
|
};
|
|
16325
16314
|
var addressvue_type_template_id_1199c288_scoped_true_staticRenderFns = [];
|
|
16326
16315
|
|
|
16327
|
-
;// ./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
|
|
16328
16317
|
var addressSetvue_type_template_id_50cd72d0_scoped_true_render = function render() {
|
|
16329
16318
|
var _vm = this,
|
|
16330
16319
|
_c = _vm._self._c;
|
|
@@ -16627,7 +16616,7 @@ var address_component = normalizeComponent(
|
|
|
16627
16616
|
)
|
|
16628
16617
|
|
|
16629
16618
|
/* harmony default export */ const address = (address_component.exports);
|
|
16630
|
-
;// ./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
|
|
16631
16620
|
|
|
16632
16621
|
var compositeSearchvue_type_template_id_09cb19ef_scoped_true_render = function render() {
|
|
16633
16622
|
var _vm = this,
|
|
@@ -16753,7 +16742,7 @@ var compositeSearch_component = normalizeComponent(
|
|
|
16753
16742
|
)
|
|
16754
16743
|
|
|
16755
16744
|
/* harmony default export */ const compositeSearch = (compositeSearch_component.exports);
|
|
16756
|
-
;// ./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
|
|
16757
16746
|
var numberRegvue_type_template_id_04541236_scoped_true_render = function render() {
|
|
16758
16747
|
var _vm = this,
|
|
16759
16748
|
_c = _vm._self._c;
|
|
@@ -17131,8 +17120,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17131
17120
|
this.$emit("input", val);
|
|
17132
17121
|
}
|
|
17133
17122
|
},
|
|
17134
|
-
/**
|
|
17135
|
-
* 当进入规则组件,已经选好组件id时,需要将组件信息回显
|
|
17123
|
+
/**
|
|
17124
|
+
* 当进入规则组件,已经选好组件id时,需要将组件信息回显
|
|
17136
17125
|
* */
|
|
17137
17126
|
columnInfo: {
|
|
17138
17127
|
get: function get() {
|
|
@@ -17180,8 +17169,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17180
17169
|
}
|
|
17181
17170
|
},
|
|
17182
17171
|
methods: {
|
|
17183
|
-
/**
|
|
17184
|
-
* 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
|
|
17172
|
+
/**
|
|
17173
|
+
* 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
|
|
17185
17174
|
* */
|
|
17186
17175
|
changeCustomType: function changeCustomType(type) {
|
|
17187
17176
|
this.arrowCustomType = type ? type : 'column';
|
|
@@ -17223,9 +17212,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17223
17212
|
value: value
|
|
17224
17213
|
});
|
|
17225
17214
|
},
|
|
17226
|
-
/**
|
|
17227
|
-
* 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
|
|
17228
|
-
* @param {Any} e select发生变化返回的值
|
|
17215
|
+
/**
|
|
17216
|
+
* 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
|
|
17217
|
+
* @param {Any} e select发生变化返回的值
|
|
17229
17218
|
* */
|
|
17230
17219
|
columnChange: function columnChange(e) {
|
|
17231
17220
|
var column = this.columnList.filter(function (i) {
|
|
@@ -17276,8 +17265,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17276
17265
|
value: value
|
|
17277
17266
|
});
|
|
17278
17267
|
},
|
|
17279
|
-
/**
|
|
17280
|
-
* 计算条件发生change
|
|
17268
|
+
/**
|
|
17269
|
+
* 计算条件发生change
|
|
17281
17270
|
* */
|
|
17282
17271
|
searchChange: function searchChange() {
|
|
17283
17272
|
// 根据组件类型、计算条件、值类型来确定规则条件的value的类型
|
|
@@ -17288,8 +17277,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17288
17277
|
value: this.ruleVal
|
|
17289
17278
|
});
|
|
17290
17279
|
},
|
|
17291
|
-
/**
|
|
17292
|
-
* 规则值类型发生变化
|
|
17280
|
+
/**
|
|
17281
|
+
* 规则值类型发生变化
|
|
17293
17282
|
* */
|
|
17294
17283
|
valueTypeChange: function valueTypeChange() {
|
|
17295
17284
|
// 根据组件类型、计算条件、值类型来确定规则条件的value的类型
|
|
@@ -17300,8 +17289,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17300
17289
|
value: this.ruleVal
|
|
17301
17290
|
});
|
|
17302
17291
|
},
|
|
17303
|
-
/**
|
|
17304
|
-
* 规则值子类型发生变化
|
|
17292
|
+
/**
|
|
17293
|
+
* 规则值子类型发生变化
|
|
17305
17294
|
* */
|
|
17306
17295
|
subTypeChange: function subTypeChange() {
|
|
17307
17296
|
// 根据组件类型、计算条件、值类型来确定规则条件的value的类型
|
|
@@ -17312,8 +17301,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17312
17301
|
value: this.ruleVal
|
|
17313
17302
|
});
|
|
17314
17303
|
},
|
|
17315
|
-
/**
|
|
17316
|
-
* 规则的value发生变化
|
|
17304
|
+
/**
|
|
17305
|
+
* 规则的value发生变化
|
|
17317
17306
|
* */
|
|
17318
17307
|
valueChange: function valueChange(target) {
|
|
17319
17308
|
if (target == 'date' && this.ruleVal[this.optionProps.value] == null) {
|
|
@@ -17328,9 +17317,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17328
17317
|
value: this.ruleVal
|
|
17329
17318
|
});
|
|
17330
17319
|
},
|
|
17331
|
-
/**
|
|
17332
|
-
* 获取该类型组件支持那些计算条件
|
|
17333
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17320
|
+
/**
|
|
17321
|
+
* 获取该类型组件支持那些计算条件
|
|
17322
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17334
17323
|
* */
|
|
17335
17324
|
getSearchOptions: function getSearchOptions(behaviorType) {
|
|
17336
17325
|
var optionList = [];
|
|
@@ -17349,9 +17338,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17349
17338
|
}
|
|
17350
17339
|
return optionList;
|
|
17351
17340
|
},
|
|
17352
|
-
/**
|
|
17353
|
-
* 获取该类型组件支持那些值类型
|
|
17354
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17341
|
+
/**
|
|
17342
|
+
* 获取该类型组件支持那些值类型
|
|
17343
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17355
17344
|
* */
|
|
17356
17345
|
getValueOptions: function getValueOptions(column) {
|
|
17357
17346
|
var optionList = [];
|
|
@@ -17369,9 +17358,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17369
17358
|
}
|
|
17370
17359
|
return optionList;
|
|
17371
17360
|
},
|
|
17372
|
-
/**
|
|
17373
|
-
* 获取该类型组件支持那些子类型列表:目前仅只是时间日期
|
|
17374
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17361
|
+
/**
|
|
17362
|
+
* 获取该类型组件支持那些子类型列表:目前仅只是时间日期
|
|
17363
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17375
17364
|
* */
|
|
17376
17365
|
getSubTypeOptions: function getSubTypeOptions(behaviorType) {
|
|
17377
17366
|
var optionList = [];
|
|
@@ -17389,9 +17378,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17389
17378
|
}
|
|
17390
17379
|
return optionList;
|
|
17391
17380
|
},
|
|
17392
|
-
/**
|
|
17393
|
-
* 获取该类型组件支持那些值类型
|
|
17394
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17381
|
+
/**
|
|
17382
|
+
* 获取该类型组件支持那些值类型
|
|
17383
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17395
17384
|
* */
|
|
17396
17385
|
getOtherColumns: function getOtherColumns(behaviorType) {
|
|
17397
17386
|
var _this = this;
|
|
@@ -17421,9 +17410,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17421
17410
|
}
|
|
17422
17411
|
return optionList;
|
|
17423
17412
|
},
|
|
17424
|
-
/**
|
|
17425
|
-
* 动态禁用
|
|
17426
|
-
* @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
|
|
17413
|
+
/**
|
|
17414
|
+
* 动态禁用
|
|
17415
|
+
* @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
|
|
17427
17416
|
* */
|
|
17428
17417
|
isDisabled: function isDisabled(type) {
|
|
17429
17418
|
if (this.$options.propsData.hasOwnProperty('disabledFun')) {
|
|
@@ -17433,11 +17422,11 @@ var numberReg_component = normalizeComponent(
|
|
|
17433
17422
|
return false;
|
|
17434
17423
|
}
|
|
17435
17424
|
},
|
|
17436
|
-
/**
|
|
17437
|
-
* 给组件value赋予默认类型
|
|
17438
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17439
|
-
* @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
|
|
17440
|
-
* @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
|
|
17425
|
+
/**
|
|
17426
|
+
* 给组件value赋予默认类型
|
|
17427
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17428
|
+
* @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
|
|
17429
|
+
* @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
|
|
17441
17430
|
* */
|
|
17442
17431
|
setValType: function setValType(behaviorType, searchType, valueType) {
|
|
17443
17432
|
var data = '';
|
|
@@ -17517,14 +17506,14 @@ var numberReg_component = normalizeComponent(
|
|
|
17517
17506
|
}
|
|
17518
17507
|
return data;
|
|
17519
17508
|
},
|
|
17520
|
-
/**
|
|
17521
|
-
* 校验value的数据类型,因为有时候数据类型不对组件会报错
|
|
17509
|
+
/**
|
|
17510
|
+
* 校验value的数据类型,因为有时候数据类型不对组件会报错
|
|
17522
17511
|
* */
|
|
17523
17512
|
checkValType: function checkValType(type) {
|
|
17524
17513
|
return _typeof(this.ruleVal[this.optionProps.value]) == type;
|
|
17525
17514
|
},
|
|
17526
|
-
/**
|
|
17527
|
-
* 删除规则
|
|
17515
|
+
/**
|
|
17516
|
+
* 删除规则
|
|
17528
17517
|
* */
|
|
17529
17518
|
del: function del() {
|
|
17530
17519
|
this.$emit('del', {
|
|
@@ -17532,8 +17521,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17532
17521
|
value: this.ruleVal
|
|
17533
17522
|
});
|
|
17534
17523
|
},
|
|
17535
|
-
/**
|
|
17536
|
-
* 清空规则内容
|
|
17524
|
+
/**
|
|
17525
|
+
* 清空规则内容
|
|
17537
17526
|
* */
|
|
17538
17527
|
empty: function empty() {
|
|
17539
17528
|
// 清空计算类型的值
|
|
@@ -17541,15 +17530,15 @@ var numberReg_component = normalizeComponent(
|
|
|
17541
17530
|
// 清空value
|
|
17542
17531
|
this.ruleVal[this.optionProps.value] = this.setValType(this.ruleVal.behaviorType);
|
|
17543
17532
|
},
|
|
17544
|
-
/**
|
|
17545
|
-
* 设置触发值
|
|
17533
|
+
/**
|
|
17534
|
+
* 设置触发值
|
|
17546
17535
|
* */
|
|
17547
17536
|
setDefaultSearch: function setDefaultSearch() {
|
|
17548
17537
|
// 清空计算类型的值
|
|
17549
17538
|
this.ruleVal[this.optionProps.searchType] = this.getSearchOptions(this.ruleVal.behaviorType)[0].id;
|
|
17550
17539
|
},
|
|
17551
|
-
/**
|
|
17552
|
-
* 日期,日期区间,判断时间类型
|
|
17540
|
+
/**
|
|
17541
|
+
* 日期,日期区间,判断时间类型
|
|
17553
17542
|
* */
|
|
17554
17543
|
getDateType: function getDateType(type) {
|
|
17555
17544
|
var dateType = type == "date" ? "datetime" : "datetimerange";
|
|
@@ -17572,8 +17561,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17572
17561
|
}
|
|
17573
17562
|
return dateType;
|
|
17574
17563
|
},
|
|
17575
|
-
/**
|
|
17576
|
-
* 日期,日期区间,判断时间格式化
|
|
17564
|
+
/**
|
|
17565
|
+
* 日期,日期区间,判断时间格式化
|
|
17577
17566
|
* */
|
|
17578
17567
|
getDateFormat: function getDateFormat() {
|
|
17579
17568
|
var format = "yyyy-MM-dd HH:mm:ss";
|
|
@@ -17630,7 +17619,7 @@ var bnRuleCondition_component = normalizeComponent(
|
|
|
17630
17619
|
)
|
|
17631
17620
|
|
|
17632
17621
|
/* harmony default export */ const bnRuleCondition = (bnRuleCondition_component.exports);
|
|
17633
|
-
;// ./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
|
|
17634
17623
|
|
|
17635
17624
|
|
|
17636
17625
|
|
|
@@ -18311,10 +18300,10 @@ function util_toPinYin(chart) {
|
|
|
18311
18300
|
return util_getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
|
|
18312
18301
|
}
|
|
18313
18302
|
|
|
18314
|
-
/**
|
|
18315
|
-
* 匹配大小写字母拼音 返回Boolean值
|
|
18316
|
-
* @param {*} chart 需要匹配的字符
|
|
18317
|
-
* @param {*} data 需要进行匹配的字符
|
|
18303
|
+
/**
|
|
18304
|
+
* 匹配大小写字母拼音 返回Boolean值
|
|
18305
|
+
* @param {*} chart 需要匹配的字符
|
|
18306
|
+
* @param {*} data 需要进行匹配的字符
|
|
18318
18307
|
*/
|
|
18319
18308
|
function util_searchToBoolean(chart, data) {
|
|
18320
18309
|
return util_toPinYin(data || '').indexOf(util_toPinYin(chart || '')) !== -1;
|
|
@@ -18628,18 +18617,18 @@ function util_searchToBoolean(chart, data) {
|
|
|
18628
18617
|
this.initSelectDataDebounced.cancel();
|
|
18629
18618
|
},
|
|
18630
18619
|
methods: {
|
|
18631
|
-
/**
|
|
18632
|
-
* 下拉选项显示 返回Boolean true:显示
|
|
18633
|
-
* @param {Object} item 某一选择的值、option的值
|
|
18620
|
+
/**
|
|
18621
|
+
* 下拉选项显示 返回Boolean true:显示
|
|
18622
|
+
* @param {Object} item 某一选择的值、option的值
|
|
18634
18623
|
*/
|
|
18635
18624
|
optionHideFunction: function optionHideFunction(item) {
|
|
18636
18625
|
if (this.optionHideFun) return !this.optionHideFun(item) && !item.isHide;else return !item.isHide;
|
|
18637
18626
|
},
|
|
18638
|
-
/**
|
|
18639
|
-
* Option中checkbox当绑定值变化时触发的事件 更新后的值
|
|
18640
|
-
* @change="onCheckChange(checkBoxValue(labelInValue?item:item[optionProps['value']]), labelInValue?item:item[optionProps['value']])"
|
|
18641
|
-
* @param {Boolean} val checkbox更新后的值
|
|
18642
|
-
* @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的值
|
|
18643
18632
|
*/
|
|
18644
18633
|
onCheckChange: function onCheckChange(val, item) {
|
|
18645
18634
|
var _this = this;
|
|
@@ -18668,9 +18657,9 @@ function util_searchToBoolean(chart, data) {
|
|
|
18668
18657
|
_this.changeValue();
|
|
18669
18658
|
});
|
|
18670
18659
|
},
|
|
18671
|
-
/**
|
|
18672
|
-
* 返回option中checkbox的value状态
|
|
18673
|
-
* @param {Object} item option的选项
|
|
18660
|
+
/**
|
|
18661
|
+
* 返回option中checkbox的value状态
|
|
18662
|
+
* @param {Object} item option的选项
|
|
18674
18663
|
*/
|
|
18675
18664
|
checkBoxValue: function checkBoxValue(item) {
|
|
18676
18665
|
var _this2 = this;
|
|
@@ -18687,22 +18676,22 @@ function util_searchToBoolean(chart, data) {
|
|
|
18687
18676
|
return false;
|
|
18688
18677
|
}
|
|
18689
18678
|
},
|
|
18690
|
-
/**
|
|
18691
|
-
* 下拉选项禁用 返回Boolean true:禁用
|
|
18692
|
-
* @param {Object} item 某一选择的值、option的值
|
|
18679
|
+
/**
|
|
18680
|
+
* 下拉选项禁用 返回Boolean true:禁用
|
|
18681
|
+
* @param {Object} item 某一选择的值、option的值
|
|
18693
18682
|
*/
|
|
18694
18683
|
optionDisabledFunction: function optionDisabledFunction(item) {
|
|
18695
18684
|
if (this.optionDisabledFun) return this.optionDisabledFun(item) || item.disabled;else return item.disabled;
|
|
18696
18685
|
},
|
|
18697
|
-
/**
|
|
18698
|
-
* 多选模式下移除tag时触发
|
|
18699
|
-
* @param {Object} tag 移除的tag值
|
|
18686
|
+
/**
|
|
18687
|
+
* 多选模式下移除tag时触发
|
|
18688
|
+
* @param {Object} tag 移除的tag值
|
|
18700
18689
|
*/
|
|
18701
18690
|
removeTag: function removeTag(tag) {
|
|
18702
18691
|
this.$emit('removeTag', tag);
|
|
18703
18692
|
},
|
|
18704
|
-
/**
|
|
18705
|
-
* select的change事件
|
|
18693
|
+
/**
|
|
18694
|
+
* select的change事件
|
|
18706
18695
|
*/
|
|
18707
18696
|
changeValue: function changeValue() {
|
|
18708
18697
|
var _this3 = this;
|
|
@@ -18732,9 +18721,9 @@ function util_searchToBoolean(chart, data) {
|
|
|
18732
18721
|
}
|
|
18733
18722
|
});
|
|
18734
18723
|
},
|
|
18735
|
-
/**
|
|
18736
|
-
* 下拉框出现/隐藏时触发
|
|
18737
|
-
* @param {Boolean} bol 出现则为 true,隐藏则为 false
|
|
18724
|
+
/**
|
|
18725
|
+
* 下拉框出现/隐藏时触发
|
|
18726
|
+
* @param {Boolean} bol 出现则为 true,隐藏则为 false
|
|
18738
18727
|
*/
|
|
18739
18728
|
visibleChange: function visibleChange(bol) {
|
|
18740
18729
|
var _this4 = this;
|
|
@@ -18801,15 +18790,15 @@ function util_searchToBoolean(chart, data) {
|
|
|
18801
18790
|
});
|
|
18802
18791
|
}
|
|
18803
18792
|
},
|
|
18804
|
-
/**
|
|
18805
|
-
* 可清空的单选模式下用户点击清空按钮时触发
|
|
18793
|
+
/**
|
|
18794
|
+
* 可清空的单选模式下用户点击清空按钮时触发
|
|
18806
18795
|
*/
|
|
18807
18796
|
clear: function clear() {
|
|
18808
18797
|
this.$emit('clear');
|
|
18809
18798
|
},
|
|
18810
|
-
/**
|
|
18811
|
-
* 返回option的label data: option数据
|
|
18812
|
-
* @param {Object} data option数据
|
|
18799
|
+
/**
|
|
18800
|
+
* 返回option的label data: option数据
|
|
18801
|
+
* @param {Object} data option数据
|
|
18813
18802
|
*/
|
|
18814
18803
|
showLabel: function showLabel(data) {
|
|
18815
18804
|
if (this.optionProps['label'] instanceof Function) {
|
|
@@ -18818,9 +18807,9 @@ function util_searchToBoolean(chart, data) {
|
|
|
18818
18807
|
return data[this.optionProps['label']];
|
|
18819
18808
|
}
|
|
18820
18809
|
},
|
|
18821
|
-
/**
|
|
18822
|
-
* 快速搜索选项
|
|
18823
|
-
* @param {String} val 搜索的值
|
|
18810
|
+
/**
|
|
18811
|
+
* 快速搜索选项
|
|
18812
|
+
* @param {String} val 搜索的值
|
|
18824
18813
|
*/
|
|
18825
18814
|
filterMethod: function filterMethod(val) {
|
|
18826
18815
|
var _this5 = this;
|
|
@@ -18842,8 +18831,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
18842
18831
|
this.loadingOptionList();
|
|
18843
18832
|
}
|
|
18844
18833
|
},
|
|
18845
|
-
/**
|
|
18846
|
-
* 判断是否是全选状态
|
|
18834
|
+
/**
|
|
18835
|
+
* 判断是否是全选状态
|
|
18847
18836
|
*/
|
|
18848
18837
|
isSelectAll: function isSelectAll() {
|
|
18849
18838
|
var _this6 = this;
|
|
@@ -18867,8 +18856,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
18867
18856
|
}
|
|
18868
18857
|
}
|
|
18869
18858
|
},
|
|
18870
|
-
/**
|
|
18871
|
-
* 全选事件
|
|
18859
|
+
/**
|
|
18860
|
+
* 全选事件
|
|
18872
18861
|
*/
|
|
18873
18862
|
onSelectAll: function onSelectAll() {
|
|
18874
18863
|
var _this7 = this;
|
|
@@ -18906,14 +18895,14 @@ function util_searchToBoolean(chart, data) {
|
|
|
18906
18895
|
this.isIndeterminate = false;
|
|
18907
18896
|
this.changeValue();
|
|
18908
18897
|
},
|
|
18909
|
-
/**
|
|
18910
|
-
* 隐藏下拉选择框事件
|
|
18898
|
+
/**
|
|
18899
|
+
* 隐藏下拉选择框事件
|
|
18911
18900
|
*/
|
|
18912
18901
|
onConfirm: function onConfirm() {
|
|
18913
18902
|
this.$refs.selectBox.blur();
|
|
18914
18903
|
},
|
|
18915
|
-
/**
|
|
18916
|
-
* 滚动加载
|
|
18904
|
+
/**
|
|
18905
|
+
* 滚动加载
|
|
18917
18906
|
*/
|
|
18918
18907
|
loadMore: function loadMore() {
|
|
18919
18908
|
// 判断是否执行远程搜索
|
|
@@ -18939,8 +18928,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
18939
18928
|
this.isSelectAll();
|
|
18940
18929
|
}
|
|
18941
18930
|
},
|
|
18942
|
-
/**
|
|
18943
|
-
* 请求内部数据源
|
|
18931
|
+
/**
|
|
18932
|
+
* 请求内部数据源
|
|
18944
18933
|
*/
|
|
18945
18934
|
loadOption: function loadOption(type) {
|
|
18946
18935
|
var _this8 = this;
|
|
@@ -18997,8 +18986,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
18997
18986
|
_this8.showMore = false;
|
|
18998
18987
|
});
|
|
18999
18988
|
},
|
|
19000
|
-
/**
|
|
19001
|
-
* 初始化远程搜索数据
|
|
18989
|
+
/**
|
|
18990
|
+
* 初始化远程搜索数据
|
|
19002
18991
|
*/
|
|
19003
18992
|
initRemoteMethod: function initRemoteMethod() {
|
|
19004
18993
|
this.moduleDefinition = [];
|
|
@@ -19019,8 +19008,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19019
19008
|
this.loadMore();
|
|
19020
19009
|
}
|
|
19021
19010
|
},
|
|
19022
|
-
/**
|
|
19023
|
-
* 初始化组件的数据
|
|
19011
|
+
/**
|
|
19012
|
+
* 初始化组件的数据
|
|
19024
19013
|
*/
|
|
19025
19014
|
initSelectData: function initSelectData() {
|
|
19026
19015
|
var _this9 = this;
|
|
@@ -19126,8 +19115,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19126
19115
|
}
|
|
19127
19116
|
},
|
|
19128
19117
|
computed: {
|
|
19129
|
-
/**
|
|
19130
|
-
* option 展示的列表
|
|
19118
|
+
/**
|
|
19119
|
+
* option 展示的列表
|
|
19131
19120
|
*/
|
|
19132
19121
|
optionShowList: function optionShowList() {
|
|
19133
19122
|
var _this0 = this;
|
|
@@ -19164,8 +19153,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19164
19153
|
return this.total + (((_this$optionList = this.optionList) === null || _this$optionList === void 0 ? void 0 : _this$optionList.length) || 0);
|
|
19165
19154
|
}
|
|
19166
19155
|
},
|
|
19167
|
-
/**
|
|
19168
|
-
* option 所有数据的id数组
|
|
19156
|
+
/**
|
|
19157
|
+
* option 所有数据的id数组
|
|
19169
19158
|
*/
|
|
19170
19159
|
pageOptionListIds: function pageOptionListIds() {
|
|
19171
19160
|
return this.optionList.slice(0, 10);
|
|
@@ -19198,8 +19187,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19198
19187
|
valueKeys: function valueKeys() {
|
|
19199
19188
|
return Array.from(new Set([].concat(_toConsumableArray(Object.values(this.optionProps)), _toConsumableArray(this.valueProps))));
|
|
19200
19189
|
},
|
|
19201
|
-
/**
|
|
19202
|
-
* select的value数据
|
|
19190
|
+
/**
|
|
19191
|
+
* select的value数据
|
|
19203
19192
|
*/
|
|
19204
19193
|
select: {
|
|
19205
19194
|
get: function get() {
|
|
@@ -19236,8 +19225,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19236
19225
|
}
|
|
19237
19226
|
}
|
|
19238
19227
|
},
|
|
19239
|
-
/**
|
|
19240
|
-
* select 的 popperClass
|
|
19228
|
+
/**
|
|
19229
|
+
* select 的 popperClass
|
|
19241
19230
|
*/
|
|
19242
19231
|
popperClassName: function popperClassName() {
|
|
19243
19232
|
var className = "bytenew-select-popper ".concat(this.popperClass || '');
|
|
@@ -19362,7 +19351,7 @@ var select_component = normalizeComponent(
|
|
|
19362
19351
|
)
|
|
19363
19352
|
|
|
19364
19353
|
/* harmony default export */ const BnSelect_select = (select_component.exports);
|
|
19365
|
-
;// ./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
|
|
19366
19355
|
|
|
19367
19356
|
|
|
19368
19357
|
var BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_render = function render() {
|
|
@@ -19771,10 +19760,10 @@ function _asyncToGenerator(n) {
|
|
|
19771
19760
|
handleBlurs: function handleBlurs() {
|
|
19772
19761
|
this.visible = false;
|
|
19773
19762
|
},
|
|
19774
|
-
/**
|
|
19775
|
-
* @name 选择change
|
|
19776
|
-
* @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
|
|
19777
|
-
* @param {*} record
|
|
19763
|
+
/**
|
|
19764
|
+
* @name 选择change
|
|
19765
|
+
* @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
|
|
19766
|
+
* @param {*} record
|
|
19778
19767
|
*/
|
|
19779
19768
|
selectItem: function selectItem(record) {
|
|
19780
19769
|
if (this.isSpecialTax) {
|
|
@@ -19945,6 +19934,8 @@ var es_map_get_or_insert = __webpack_require__(5367);
|
|
|
19945
19934
|
var es_map_get_or_insert_computed = __webpack_require__(2731);
|
|
19946
19935
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
|
|
19947
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);
|
|
19948
19939
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
|
|
19949
19940
|
var es_string_trim = __webpack_require__(2762);
|
|
19950
19941
|
;// ./packages/util/addressParse.js
|
|
@@ -19996,6 +19987,10 @@ var es_string_trim = __webpack_require__(2762);
|
|
|
19996
19987
|
|
|
19997
19988
|
|
|
19998
19989
|
|
|
19990
|
+
|
|
19991
|
+
|
|
19992
|
+
|
|
19993
|
+
|
|
19999
19994
|
|
|
20000
19995
|
|
|
20001
19996
|
|
|
@@ -20009,11 +20004,11 @@ var mArea = {}; //以区为级别的数据 里面包括 p:省 c:市
|
|
|
20009
20004
|
|
|
20010
20005
|
var mStreet = {}; //以街道为级别的数据 里面包括 c:市 a:区
|
|
20011
20006
|
|
|
20012
|
-
/**
|
|
20013
|
-
* 处理原始地址数据转换成专用数据
|
|
20014
|
-
* @param list 原始数据
|
|
20015
|
-
* @param init 是否初始化 如传空 已转换过不会再次转换
|
|
20016
|
-
* @returns {boolean}
|
|
20007
|
+
/**
|
|
20008
|
+
* 处理原始地址数据转换成专用数据
|
|
20009
|
+
* @param list 原始数据
|
|
20010
|
+
* @param init 是否初始化 如传空 已转换过不会再次转换
|
|
20011
|
+
* @returns {boolean}
|
|
20017
20012
|
*/
|
|
20018
20013
|
function parseArea(list, init) {
|
|
20019
20014
|
if (!init && defaultData.length) {
|
|
@@ -20065,11 +20060,11 @@ function parseArea(list, init) {
|
|
|
20065
20060
|
});
|
|
20066
20061
|
}
|
|
20067
20062
|
|
|
20068
|
-
/**
|
|
20069
|
-
* 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
|
|
20070
|
-
* @param address 任意地址字符串
|
|
20071
|
-
* @param sourceData 组件配置,如 extraInfo.isFourAddress
|
|
20072
|
-
* @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}}
|
|
20073
20068
|
*/
|
|
20074
20069
|
function parseAddressDetail(address, sourceData) {
|
|
20075
20070
|
var parse = {
|
|
@@ -20081,7 +20076,9 @@ function parseAddressDetail(address, sourceData) {
|
|
|
20081
20076
|
extensionNumber: '' // 淘宝分机号码
|
|
20082
20077
|
};
|
|
20083
20078
|
address = joinAddressLines(address);
|
|
20084
|
-
var
|
|
20079
|
+
var presetName = address.name;
|
|
20080
|
+
address = stripAddressLabels(address.text);
|
|
20081
|
+
var search = ['详细地址', '收货地址', '联系地址', '收件地址', '邮政编码', '手机号码', '联系电话', '联系方式', '收货人', '收件人', '联系人', '姓名', '名字', '手机号', '邮编', '收货', '地址', '详细', '电话', '固话', ':', ':', ';', ';', ',', ',', '。'];
|
|
20085
20082
|
search.forEach(function (str) {
|
|
20086
20083
|
address = address.replace(new RegExp(str, 'g'), ' ');
|
|
20087
20084
|
});
|
|
@@ -20173,6 +20170,12 @@ function parseAddressDetail(address, sourceData) {
|
|
|
20173
20170
|
parse.street = detail.street;
|
|
20174
20171
|
parse.addr = detail.addr;
|
|
20175
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
|
+
}
|
|
20176
20179
|
if (parse.province === "澳门" || parse.province === "香港") {
|
|
20177
20180
|
parse.province += "特别行政区";
|
|
20178
20181
|
} else if (parse.province === "新疆") {
|
|
@@ -20196,13 +20199,13 @@ function parseAddressDetail(address, sourceData) {
|
|
|
20196
20199
|
return parse;
|
|
20197
20200
|
}
|
|
20198
20201
|
|
|
20199
|
-
/**
|
|
20200
|
-
* 正向解析模式
|
|
20201
|
-
* 从前到后按 province city addr 逐级筛选
|
|
20202
|
-
* 有city的值即可说明解析成功
|
|
20203
|
-
* 此模式对地址顺序有要求
|
|
20204
|
-
* @param address
|
|
20205
|
-
* @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}}
|
|
20206
20209
|
*/
|
|
20207
20210
|
function detail_parse_forward(address, sourceData) {
|
|
20208
20211
|
var parse = {
|
|
@@ -20296,12 +20299,12 @@ function detail_parse_forward(address, sourceData) {
|
|
|
20296
20299
|
return parse;
|
|
20297
20300
|
}
|
|
20298
20301
|
|
|
20299
|
-
/**
|
|
20300
|
-
* 逆向解析 从后【县,区,旗】往前解析
|
|
20301
|
-
* 有地区就能大概返回地址了
|
|
20302
|
-
* @param address
|
|
20303
|
-
* @param ignoreArea 是否忽视区 因为地址中含有区容易导致匹配错误 例:山东省蓬莱市黄海花园东区西门宝威学堂 曲荣声收15753572456
|
|
20304
|
-
* @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}}
|
|
20305
20308
|
*/
|
|
20306
20309
|
function detail_parse(address) {
|
|
20307
20310
|
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
@@ -20473,34 +20476,97 @@ function detail_parse(address) {
|
|
|
20473
20476
|
}
|
|
20474
20477
|
var MUNICIPALITIES = ['上海', '北京', '天津', '重庆'];
|
|
20475
20478
|
|
|
20476
|
-
/**
|
|
20477
|
-
* 统一换行符格式
|
|
20479
|
+
/**
|
|
20480
|
+
* 统一换行符格式
|
|
20478
20481
|
*/
|
|
20479
20482
|
function normalizeLineBreaks(address) {
|
|
20480
20483
|
return String(address || '').replace(/\r\n/g, '\n').replace(/\r/g, '\n').replace(/\t/g, ' ');
|
|
20481
20484
|
}
|
|
20482
20485
|
|
|
20483
|
-
/**
|
|
20484
|
-
*
|
|
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
|
+
* 若每行是「标签:值」格式,则按标签分类提取姓名、电话和地址
|
|
20485
20519
|
*/
|
|
20486
20520
|
function joinAddressLines(address) {
|
|
20487
20521
|
var normalized = normalizeLineBreaks(address);
|
|
20488
|
-
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
|
+
}
|
|
20489
20535
|
var parts = [];
|
|
20536
|
+
var extracted = {
|
|
20537
|
+
name: '',
|
|
20538
|
+
phoneHint: ''
|
|
20539
|
+
};
|
|
20490
20540
|
for (var i = 0; i < lines.length; i++) {
|
|
20491
20541
|
var line = lines[i].replace(/[ \t\f\v]+/g, ' ').trim();
|
|
20492
|
-
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 {
|
|
20493
20555
|
parts.push(line);
|
|
20494
20556
|
}
|
|
20495
20557
|
}
|
|
20496
|
-
return
|
|
20558
|
+
return {
|
|
20559
|
+
text: parts.join(' '),
|
|
20560
|
+
name: extracted.name,
|
|
20561
|
+
phoneHint: extracted.phoneHint
|
|
20562
|
+
};
|
|
20497
20563
|
}
|
|
20498
20564
|
|
|
20499
|
-
/**
|
|
20500
|
-
* 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
|
|
20501
|
-
* @param {object} options
|
|
20502
|
-
* @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
|
|
20503
|
-
* @returns {array|null}
|
|
20565
|
+
/**
|
|
20566
|
+
* 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
|
|
20567
|
+
* @param {object} options
|
|
20568
|
+
* @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
|
|
20569
|
+
* @returns {array|null}
|
|
20504
20570
|
*/
|
|
20505
20571
|
function getGlobalAreaList() {
|
|
20506
20572
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -20523,8 +20589,8 @@ function getGlobalAreaList() {
|
|
|
20523
20589
|
return null;
|
|
20524
20590
|
}
|
|
20525
20591
|
|
|
20526
|
-
/**
|
|
20527
|
-
* 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
|
|
20592
|
+
/**
|
|
20593
|
+
* 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
|
|
20528
20594
|
*/
|
|
20529
20595
|
function checkMunicipalityChars(str, name) {
|
|
20530
20596
|
var prefix = str.substring(0, 8);
|
|
@@ -20533,8 +20599,8 @@ function checkMunicipalityChars(str, name) {
|
|
|
20533
20599
|
return firstIndex !== -1 && firstIndex === lastIndex;
|
|
20534
20600
|
}
|
|
20535
20601
|
|
|
20536
|
-
/**
|
|
20537
|
-
* 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
|
|
20602
|
+
/**
|
|
20603
|
+
* 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
|
|
20538
20604
|
*/
|
|
20539
20605
|
function preprocessAddress(address) {
|
|
20540
20606
|
var cleanAddress = normalizeLineBreaks(address).replace(/[ \t\f\v]+/g, '');
|
|
@@ -20555,13 +20621,13 @@ function preprocessAddress(address) {
|
|
|
20555
20621
|
return cleanAddress;
|
|
20556
20622
|
}
|
|
20557
20623
|
|
|
20558
|
-
/**
|
|
20559
|
-
* 自动识别地址信息,格式化为省市区街道和收件人等信息
|
|
20560
|
-
* @param {string} address 原始地址字符串(可含空格、姓名、手机号等)
|
|
20561
|
-
* @param {object} [sourceData] 组件 sourceData,用于四级地址等配置(extraInfo.isFourAddress)
|
|
20562
|
-
* @param {object} [options] 可选配置
|
|
20563
|
-
* @param {array} [options.areaList] 地址库原始数据,默认从全局 areaList 获取
|
|
20564
|
-
* @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: *}}
|
|
20565
20631
|
*/
|
|
20566
20632
|
function addressParse(address, sourceData) {
|
|
20567
20633
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
@@ -20594,16 +20660,16 @@ function addressParse(address, sourceData) {
|
|
|
20594
20660
|
|
|
20595
20661
|
|
|
20596
20662
|
|
|
20597
|
-
/**
|
|
20598
|
-
* 通过id列表,和options将title拼接出来 ,id的key名和 title的key名可以传过来,默认是id和title
|
|
20599
|
-
* id:[1,2] options:[{id:1,title:'name'},{id:2,title:'name2'}] 或 {1:'name',2:'name2'}
|
|
20600
|
-
* 结果返回 'name,name2'
|
|
20601
|
-
* @param {Array} ids ID列表
|
|
20602
|
-
* @param {Array|Object} options 选项数组或对象映射
|
|
20603
|
-
* @param {String} idKey ID的键名,默认为'id',仅当options为数组时使用
|
|
20604
|
-
* @param {String} nameKey 名称的键名,默认为'title',仅当options为数组时使用
|
|
20605
|
-
* @param {String} separator 自定义分隔符,默认为中文逗号','
|
|
20606
|
-
* @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} 拼接后的字符串
|
|
20607
20673
|
* */
|
|
20608
20674
|
function idsToTexts(ids, options) {
|
|
20609
20675
|
var idKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'id';
|
|
@@ -20642,51 +20708,51 @@ function idsToTexts(ids, options) {
|
|
|
20642
20708
|
}
|
|
20643
20709
|
|
|
20644
20710
|
;// ./install.js
|
|
20645
|
-
// install.js - BnAppletUi 组件库入口
|
|
20646
|
-
|
|
20647
|
-
|
|
20648
|
-
|
|
20649
|
-
|
|
20650
|
-
|
|
20651
|
-
|
|
20652
|
-
|
|
20653
|
-
|
|
20654
|
-
|
|
20655
|
-
|
|
20656
|
-
|
|
20657
|
-
|
|
20658
|
-
|
|
20659
|
-
|
|
20660
|
-
const BnAppletUi = {
|
|
20661
|
-
install: (Vue) => {
|
|
20662
|
-
Vue.component("BnAddress", BnAddress);
|
|
20663
|
-
Vue.component("BnAddressParse", BnAddressParse);
|
|
20664
|
-
Vue.component("BnCheck", BnCheck);
|
|
20665
|
-
Vue.component("BnDateRange", bnDateRange);
|
|
20666
|
-
Vue.component("BnDialog", dialog);
|
|
20667
|
-
Vue.component("BnDropdown", bnDropdown);
|
|
20668
|
-
Vue.component("BnFileView", BnFileView);
|
|
20669
|
-
Vue.component("BnFunText", bnFunText);
|
|
20670
|
-
Vue.component("BnInpNum", BnInpNum);
|
|
20671
|
-
Vue.component("BnInputNum", BnInputNum);
|
|
20672
|
-
Vue.component("BnRuleCondition", bnRuleCondition);
|
|
20673
|
-
Vue.component("BnSelect", BnSelect_select);
|
|
20674
|
-
Vue.component("BnFiTaxAutoComplete", BnFiTaxAutoComplete);
|
|
20675
|
-
}
|
|
20676
|
-
};
|
|
20677
|
-
|
|
20678
|
-
// 支持通过 CDN 方式引入时自动注册
|
|
20679
|
-
if (typeof window !== 'undefined' && window.Vue) {
|
|
20680
|
-
window.Vue.use(BnAppletUi);
|
|
20681
|
-
}
|
|
20682
|
-
|
|
20683
|
-
// 导出插件对象(整体引入)
|
|
20684
|
-
// 使用方式:Vue.use(BnAppletUi)
|
|
20685
|
-
/* harmony default export */ const install = (BnAppletUi);
|
|
20686
|
-
|
|
20687
|
-
// 单独导出各组件(按需引入)
|
|
20688
|
-
|
|
20689
|
-
// 单独导出每个工具函数和常量,方便按需引入
|
|
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
|
+
// 单独导出每个工具函数和常量,方便按需引入
|
|
20690
20756
|
|
|
20691
20757
|
;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
20692
20758
|
|