@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
package/dist/bn-applet-ui.umd.js
CHANGED
|
@@ -308,7 +308,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, `*[data-v-c3b70e18]{box-sizing:border-b
|
|
|
308
308
|
|
|
309
309
|
/***/ },
|
|
310
310
|
|
|
311
|
-
/***/
|
|
311
|
+
/***/ 6160
|
|
312
312
|
(module, __webpack_exports__, __webpack_require__) {
|
|
313
313
|
|
|
314
314
|
"use strict";
|
|
@@ -325,7 +325,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
325
325
|
|
|
326
326
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
327
327
|
// Module
|
|
328
|
-
___CSS_LOADER_EXPORT___.push([module.id, `.bnInput-underline[data-v-
|
|
328
|
+
___CSS_LOADER_EXPORT___.push([module.id, `.bnInput-underline[data-v-dc8beb30] .el-input__inner{box-shadow:none;border-bottom:1px solid #dcdfe6;border-radius:0}`, ""]);
|
|
329
329
|
// Exports
|
|
330
330
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
331
331
|
|
|
@@ -960,19 +960,19 @@ var update = add("1f9ce5b4", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
960
960
|
|
|
961
961
|
/***/ },
|
|
962
962
|
|
|
963
|
-
/***/
|
|
963
|
+
/***/ 1820
|
|
964
964
|
(module, __unused_webpack_exports, __webpack_require__) {
|
|
965
965
|
|
|
966
966
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
967
967
|
|
|
968
968
|
// load the styles
|
|
969
|
-
var content = __webpack_require__(
|
|
969
|
+
var content = __webpack_require__(6160);
|
|
970
970
|
if(content.__esModule) content = content.default;
|
|
971
971
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
972
972
|
if(content.locals) module.exports = content.locals;
|
|
973
973
|
// add the styles to the DOM
|
|
974
974
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
975
|
-
var update = add("
|
|
975
|
+
var update = add("4fe5e778", content, true, {"sourceMap":false,"shadowMode":false});
|
|
976
976
|
|
|
977
977
|
/***/ },
|
|
978
978
|
|
|
@@ -10356,7 +10356,7 @@ if (typeof window !== 'undefined') {
|
|
|
10356
10356
|
// Indicate to webpack that this file can be concatenated
|
|
10357
10357
|
/* harmony default export */ const setPublicPath = (null);
|
|
10358
10358
|
|
|
10359
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddress/index.vue?vue&type=template&id=8705bc38&scoped=true
|
|
10359
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddress/index.vue?vue&type=template&id=8705bc38&scoped=true
|
|
10360
10360
|
var render = function render() {
|
|
10361
10361
|
var _vm = this,
|
|
10362
10362
|
_c = _vm._self._c;
|
|
@@ -10751,7 +10751,7 @@ var component = normalizeComponent(
|
|
|
10751
10751
|
)
|
|
10752
10752
|
|
|
10753
10753
|
/* harmony default export */ const BnAddress = (component.exports);
|
|
10754
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddressParse/index.vue?vue&type=template&id=3a0d7cb0
|
|
10754
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnAddressParse/index.vue?vue&type=template&id=3a0d7cb0
|
|
10755
10755
|
var BnAddressParsevue_type_template_id_3a0d7cb0_render = function render() {
|
|
10756
10756
|
var _vm = this,
|
|
10757
10757
|
_c = _vm._self._c;
|
|
@@ -10828,8 +10828,8 @@ var external_lodash_default = /*#__PURE__*/__webpack_require__.n(external_lodash
|
|
|
10828
10828
|
};
|
|
10829
10829
|
},
|
|
10830
10830
|
methods: {
|
|
10831
|
-
/**
|
|
10832
|
-
* 自动识别方法(使用防抖)
|
|
10831
|
+
/**
|
|
10832
|
+
* 自动识别方法(使用防抖)
|
|
10833
10833
|
*/
|
|
10834
10834
|
autoAds: (0,external_lodash_.debounce)(function () {
|
|
10835
10835
|
var _this = this;
|
|
@@ -10888,7 +10888,7 @@ var BnAddressParse_component = normalizeComponent(
|
|
|
10888
10888
|
)
|
|
10889
10889
|
|
|
10890
10890
|
/* harmony default export */ const BnAddressParse = (BnAddressParse_component.exports);
|
|
10891
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnCheck/BnCheck.vue?vue&type=template&id=3782b7e9&scoped=true
|
|
10891
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnCheck/BnCheck.vue?vue&type=template&id=3782b7e9&scoped=true
|
|
10892
10892
|
var BnCheckvue_type_template_id_3782b7e9_scoped_true_render = function render() {
|
|
10893
10893
|
var _vm = this,
|
|
10894
10894
|
_c = _vm._self._c;
|
|
@@ -11032,8 +11032,8 @@ var es_string_includes = __webpack_require__(1699);
|
|
|
11032
11032
|
}
|
|
11033
11033
|
},
|
|
11034
11034
|
methods: {
|
|
11035
|
-
/**
|
|
11036
|
-
* 组件默认判断
|
|
11035
|
+
/**
|
|
11036
|
+
* 组件默认判断
|
|
11037
11037
|
* */
|
|
11038
11038
|
check: function check() {
|
|
11039
11039
|
var _this = this;
|
|
@@ -11058,8 +11058,8 @@ var es_string_includes = __webpack_require__(1699);
|
|
|
11058
11058
|
}
|
|
11059
11059
|
}
|
|
11060
11060
|
},
|
|
11061
|
-
/**
|
|
11062
|
-
* 点击事件
|
|
11061
|
+
/**
|
|
11062
|
+
* 点击事件
|
|
11063
11063
|
* */
|
|
11064
11064
|
handleClick: function handleClick() {
|
|
11065
11065
|
var _this2 = this;
|
|
@@ -11104,8 +11104,8 @@ var es_string_includes = __webpack_require__(1699);
|
|
|
11104
11104
|
});
|
|
11105
11105
|
this.emitClick();
|
|
11106
11106
|
},
|
|
11107
|
-
/**
|
|
11108
|
-
* 点击事件透出
|
|
11107
|
+
/**
|
|
11108
|
+
* 点击事件透出
|
|
11109
11109
|
* */
|
|
11110
11110
|
emitClick: function emitClick() {
|
|
11111
11111
|
if (this.onClick) {
|
|
@@ -11145,7 +11145,7 @@ var BnCheck_component = normalizeComponent(
|
|
|
11145
11145
|
)
|
|
11146
11146
|
|
|
11147
11147
|
/* harmony default export */ const BnCheck = (BnCheck_component.exports);
|
|
11148
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDateRange/bnDateRange.vue?vue&type=template&id=5575777a
|
|
11148
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDateRange/bnDateRange.vue?vue&type=template&id=5575777a
|
|
11149
11149
|
var bnDateRangevue_type_template_id_5575777a_render = function render() {
|
|
11150
11150
|
var _vm = this,
|
|
11151
11151
|
_c = _vm._self._c;
|
|
@@ -11324,8 +11324,8 @@ var es_object_keys = __webpack_require__(9432);
|
|
|
11324
11324
|
};
|
|
11325
11325
|
},
|
|
11326
11326
|
methods: {
|
|
11327
|
-
/**
|
|
11328
|
-
* 更新时间选择器数据
|
|
11327
|
+
/**
|
|
11328
|
+
* 更新时间选择器数据
|
|
11329
11329
|
* */
|
|
11330
11330
|
updateValue: function updateValue(value) {
|
|
11331
11331
|
// 更新v-model
|
|
@@ -11335,22 +11335,22 @@ var es_object_keys = __webpack_require__(9432);
|
|
|
11335
11335
|
// 发送change事件
|
|
11336
11336
|
this.$emit('change', value);
|
|
11337
11337
|
},
|
|
11338
|
-
/**
|
|
11339
|
-
* 失去焦点
|
|
11338
|
+
/**
|
|
11339
|
+
* 失去焦点
|
|
11340
11340
|
* */
|
|
11341
11341
|
blur: function blur(val) {
|
|
11342
11342
|
this.$emit('blur', val);
|
|
11343
11343
|
},
|
|
11344
|
-
/**
|
|
11345
|
-
* 获得焦点
|
|
11344
|
+
/**
|
|
11345
|
+
* 获得焦点
|
|
11346
11346
|
* */
|
|
11347
11347
|
focus: function focus(val) {
|
|
11348
11348
|
this.$emit('focus', val);
|
|
11349
11349
|
}
|
|
11350
11350
|
},
|
|
11351
11351
|
computed: {
|
|
11352
|
-
/**
|
|
11353
|
-
* 日期组件value
|
|
11352
|
+
/**
|
|
11353
|
+
* 日期组件value
|
|
11354
11354
|
* */
|
|
11355
11355
|
date: {
|
|
11356
11356
|
get: function get() {
|
|
@@ -11406,7 +11406,7 @@ var bnDateRange_component = normalizeComponent(
|
|
|
11406
11406
|
)
|
|
11407
11407
|
|
|
11408
11408
|
/* harmony default export */ const bnDateRange = (bnDateRange_component.exports);
|
|
11409
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDialog/dialog.vue?vue&type=template&id=f9aaf6de
|
|
11409
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDialog/dialog.vue?vue&type=template&id=f9aaf6de
|
|
11410
11410
|
var dialogvue_type_template_id_f9aaf6de_render = function render() {
|
|
11411
11411
|
var _vm = this,
|
|
11412
11412
|
_c = _vm._self._c;
|
|
@@ -11666,7 +11666,7 @@ var dialog_component = normalizeComponent(
|
|
|
11666
11666
|
var es_regexp_exec = __webpack_require__(7495);
|
|
11667
11667
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.search.js
|
|
11668
11668
|
var es_string_search = __webpack_require__(5746);
|
|
11669
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDown/bnDropdown.vue?vue&type=template&id=a5f24f64&scoped=true
|
|
11669
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnDown/bnDropdown.vue?vue&type=template&id=a5f24f64&scoped=true
|
|
11670
11670
|
|
|
11671
11671
|
|
|
11672
11672
|
|
|
@@ -12391,10 +12391,10 @@ function toPinYin(chart) {
|
|
|
12391
12391
|
return getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
|
|
12392
12392
|
}
|
|
12393
12393
|
|
|
12394
|
-
/**
|
|
12395
|
-
* 匹配大小写字母拼音 返回Boolean值
|
|
12396
|
-
* @param {*} chart 需要匹配的字符
|
|
12397
|
-
* @param {*} data 需要进行匹配的字符
|
|
12394
|
+
/**
|
|
12395
|
+
* 匹配大小写字母拼音 返回Boolean值
|
|
12396
|
+
* @param {*} chart 需要匹配的字符
|
|
12397
|
+
* @param {*} data 需要进行匹配的字符
|
|
12398
12398
|
*/
|
|
12399
12399
|
function searchToBoolean(chart, data) {
|
|
12400
12400
|
return toPinYin(data).indexOf(toPinYin(chart)) !== -1;
|
|
@@ -12478,11 +12478,11 @@ function searchItemFlat(chart, data, name) {
|
|
|
12478
12478
|
name: "bnDropdown",
|
|
12479
12479
|
props: {
|
|
12480
12480
|
value: [String, Array, Number, Object],
|
|
12481
|
-
/**
|
|
12482
|
-
* 下拉弹窗模式
|
|
12483
|
-
* 单选(singleCheck) 默认
|
|
12484
|
-
* 多选(multiCheck)
|
|
12485
|
-
* 多选框(multiCheckBox)
|
|
12481
|
+
/**
|
|
12482
|
+
* 下拉弹窗模式
|
|
12483
|
+
* 单选(singleCheck) 默认
|
|
12484
|
+
* 多选(multiCheck)
|
|
12485
|
+
* 多选框(multiCheckBox)
|
|
12486
12486
|
*/
|
|
12487
12487
|
checkMode: {
|
|
12488
12488
|
type: String,
|
|
@@ -12655,8 +12655,8 @@ function searchItemFlat(chart, data, name) {
|
|
|
12655
12655
|
this.optionCheckMap = checkedMap;
|
|
12656
12656
|
}
|
|
12657
12657
|
},
|
|
12658
|
-
/**
|
|
12659
|
-
* 打开选择器时触发,初始化
|
|
12658
|
+
/**
|
|
12659
|
+
* 打开选择器时触发,初始化
|
|
12660
12660
|
* */
|
|
12661
12661
|
open: function open() {
|
|
12662
12662
|
var _this2 = this;
|
|
@@ -12688,8 +12688,8 @@ function searchItemFlat(chart, data, name) {
|
|
|
12688
12688
|
this.backshowMultiCheckBox();
|
|
12689
12689
|
}
|
|
12690
12690
|
},
|
|
12691
|
-
/**
|
|
12692
|
-
* 关闭时清除没有确定的选项
|
|
12691
|
+
/**
|
|
12692
|
+
* 关闭时清除没有确定的选项
|
|
12693
12693
|
*/
|
|
12694
12694
|
close: function close() {
|
|
12695
12695
|
// 多选框模式
|
|
@@ -12720,10 +12720,10 @@ function searchItemFlat(chart, data, name) {
|
|
|
12720
12720
|
});
|
|
12721
12721
|
}
|
|
12722
12722
|
},
|
|
12723
|
-
/**
|
|
12724
|
-
* 动态计算title
|
|
12725
|
-
* @param {Array} list 数组
|
|
12726
|
-
* @param {String} id 需要匹配的id
|
|
12723
|
+
/**
|
|
12724
|
+
* 动态计算title
|
|
12725
|
+
* @param {Array} list 数组
|
|
12726
|
+
* @param {String} id 需要匹配的id
|
|
12727
12727
|
* */
|
|
12728
12728
|
foundTitle: function foundTitle() {
|
|
12729
12729
|
var _this4 = this;
|
|
@@ -12745,8 +12745,8 @@ function searchItemFlat(chart, data, name) {
|
|
|
12745
12745
|
}
|
|
12746
12746
|
return title;
|
|
12747
12747
|
},
|
|
12748
|
-
/**
|
|
12749
|
-
* 远程加载数据
|
|
12748
|
+
/**
|
|
12749
|
+
* 远程加载数据
|
|
12750
12750
|
* */
|
|
12751
12751
|
loadMore: function loadMore() {
|
|
12752
12752
|
var _this5 = this;
|
|
@@ -12762,9 +12762,9 @@ function searchItemFlat(chart, data, name) {
|
|
|
12762
12762
|
}
|
|
12763
12763
|
});
|
|
12764
12764
|
},
|
|
12765
|
-
/**
|
|
12766
|
-
* 判断是否选中 选中返回true,未选中返回false
|
|
12767
|
-
* @param {Object} item 选项的对象数据
|
|
12765
|
+
/**
|
|
12766
|
+
* 判断是否选中 选中返回true,未选中返回false
|
|
12767
|
+
* @param {Object} item 选项的对象数据
|
|
12768
12768
|
* */
|
|
12769
12769
|
checked: function checked(item) {
|
|
12770
12770
|
var check = false;
|
|
@@ -12796,9 +12796,9 @@ function searchItemFlat(chart, data, name) {
|
|
|
12796
12796
|
}
|
|
12797
12797
|
return check;
|
|
12798
12798
|
},
|
|
12799
|
-
/**
|
|
12800
|
-
* 点击下拉菜单中的某一项,选中或取消选中
|
|
12801
|
-
* @param {Object} item 选项的对象数据
|
|
12799
|
+
/**
|
|
12800
|
+
* 点击下拉菜单中的某一项,选中或取消选中
|
|
12801
|
+
* @param {Object} item 选项的对象数据
|
|
12802
12802
|
* */
|
|
12803
12803
|
chooseItem: function chooseItem(item) {
|
|
12804
12804
|
var value = this.value ? JSON.parse(JSON.stringify(this.value)) : [];
|
|
@@ -12868,8 +12868,8 @@ function searchItemFlat(chart, data, name) {
|
|
|
12868
12868
|
// change事件
|
|
12869
12869
|
this.$emit("change", value);
|
|
12870
12870
|
},
|
|
12871
|
-
/**
|
|
12872
|
-
* 快捷查询
|
|
12871
|
+
/**
|
|
12872
|
+
* 快捷查询
|
|
12873
12873
|
* */
|
|
12874
12874
|
search: debounce(function (val) {
|
|
12875
12875
|
// 保存当前选中状态
|
|
@@ -12983,7 +12983,7 @@ var bnDropdown_component = normalizeComponent(
|
|
|
12983
12983
|
)
|
|
12984
12984
|
|
|
12985
12985
|
/* harmony default export */ const bnDropdown = (bnDropdown_component.exports);
|
|
12986
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=template&id=27b6fb78&scoped=true
|
|
12986
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/BnFileView.vue?vue&type=template&id=27b6fb78&scoped=true
|
|
12987
12987
|
var BnFileViewvue_type_template_id_27b6fb78_scoped_true_render = function render() {
|
|
12988
12988
|
var _vm = this,
|
|
12989
12989
|
_c = _vm._self._c;
|
|
@@ -13090,7 +13090,7 @@ var es_error_to_string = __webpack_require__(6918);
|
|
|
13090
13090
|
var es_date_to_string = __webpack_require__(3288);
|
|
13091
13091
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.parse-int.js
|
|
13092
13092
|
var es_parse_int = __webpack_require__(8940);
|
|
13093
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/videoPreview.vue?vue&type=template&id=9a7f7bec&scoped=true
|
|
13093
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/videoPreview.vue?vue&type=template&id=9a7f7bec&scoped=true
|
|
13094
13094
|
var videoPreviewvue_type_template_id_9a7f7bec_scoped_true_render = function render() {
|
|
13095
13095
|
var _vm = this,
|
|
13096
13096
|
_c = _vm._self._c;
|
|
@@ -13136,8 +13136,8 @@ var videoPreviewvue_type_template_id_9a7f7bec_scoped_true_staticRenderFns = [];
|
|
|
13136
13136
|
}
|
|
13137
13137
|
},
|
|
13138
13138
|
methods: {
|
|
13139
|
-
/**
|
|
13140
|
-
* 打开播发视频
|
|
13139
|
+
/**
|
|
13140
|
+
* 打开播发视频
|
|
13141
13141
|
* */
|
|
13142
13142
|
open: function open(url) {
|
|
13143
13143
|
this.url = url;
|
|
@@ -13172,7 +13172,7 @@ var videoPreview_component = normalizeComponent(
|
|
|
13172
13172
|
)
|
|
13173
13173
|
|
|
13174
13174
|
/* harmony default export */ const videoPreview = (videoPreview_component.exports);
|
|
13175
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=template&id=7fcc19c2&scoped=true
|
|
13175
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFileView/FileDetail.vue?vue&type=template&id=7fcc19c2&scoped=true
|
|
13176
13176
|
var FileDetailvue_type_template_id_7fcc19c2_scoped_true_render = function render() {
|
|
13177
13177
|
var _vm = this,
|
|
13178
13178
|
_c = _vm._self._c;
|
|
@@ -13276,8 +13276,8 @@ var es_parse_float = __webpack_require__(8459);
|
|
|
13276
13276
|
}
|
|
13277
13277
|
},
|
|
13278
13278
|
methods: {
|
|
13279
|
-
/**
|
|
13280
|
-
* 获取下载链接
|
|
13279
|
+
/**
|
|
13280
|
+
* 获取下载链接
|
|
13281
13281
|
* */
|
|
13282
13282
|
getDownloadUrl: function getDownloadUrl(file) {
|
|
13283
13283
|
if (this.downType === 'url') {
|
|
@@ -13285,8 +13285,8 @@ var es_parse_float = __webpack_require__(8459);
|
|
|
13285
13285
|
}
|
|
13286
13286
|
return !file.id ? file.url : '/v2/attachment/' + file.id;
|
|
13287
13287
|
},
|
|
13288
|
-
/**
|
|
13289
|
-
* 计算附件大小
|
|
13288
|
+
/**
|
|
13289
|
+
* 计算附件大小
|
|
13290
13290
|
* */
|
|
13291
13291
|
returnSizeText: function returnSizeText(size) {
|
|
13292
13292
|
if (size && parseFloat(size) / 1024 / 1024 < 1) {
|
|
@@ -13455,15 +13455,15 @@ var FileDetail_component = normalizeComponent(
|
|
|
13455
13455
|
};
|
|
13456
13456
|
},
|
|
13457
13457
|
methods: {
|
|
13458
|
-
/**
|
|
13459
|
-
* 忽略大小写判断文件类型
|
|
13458
|
+
/**
|
|
13459
|
+
* 忽略大小写判断文件类型
|
|
13460
13460
|
* */
|
|
13461
13461
|
includesType: function includesType(typeList, fileType) {
|
|
13462
13462
|
if (!fileType) return false;
|
|
13463
13463
|
return (0,external_lodash_.includes)((0,external_lodash_.map)(typeList, external_lodash_.toLower), (0,external_lodash_.toLower)(fileType));
|
|
13464
13464
|
},
|
|
13465
|
-
/**
|
|
13466
|
-
* 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
|
|
13465
|
+
/**
|
|
13466
|
+
* 打开文件预览,一般是除了图片、视频、音频这些无法预览的附件类型
|
|
13467
13467
|
* */
|
|
13468
13468
|
initViewer: function initViewer(view) {
|
|
13469
13469
|
this.viewer = view;
|
|
@@ -13500,8 +13500,8 @@ var FileDetail_component = normalizeComponent(
|
|
|
13500
13500
|
}
|
|
13501
13501
|
}
|
|
13502
13502
|
},
|
|
13503
|
-
/**
|
|
13504
|
-
* 根据文件类型,判端文件预览展示那种图片或icon
|
|
13503
|
+
/**
|
|
13504
|
+
* 根据文件类型,判端文件预览展示那种图片或icon
|
|
13505
13505
|
* */
|
|
13506
13506
|
getFileImg: function getFileImg(file) {
|
|
13507
13507
|
// 默认文件图片
|
|
@@ -13544,8 +13544,8 @@ var FileDetail_component = normalizeComponent(
|
|
|
13544
13544
|
}
|
|
13545
13545
|
return url;
|
|
13546
13546
|
},
|
|
13547
|
-
/**
|
|
13548
|
-
* 删除附件
|
|
13547
|
+
/**
|
|
13548
|
+
* 删除附件
|
|
13549
13549
|
* */
|
|
13550
13550
|
delFile: function delFile(index) {
|
|
13551
13551
|
this.fileList.splice(index, 1);
|
|
@@ -13585,7 +13585,7 @@ var BnFileView_component = normalizeComponent(
|
|
|
13585
13585
|
)
|
|
13586
13586
|
|
|
13587
13587
|
/* harmony default export */ const BnFileView = (BnFileView_component.exports);
|
|
13588
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFunText/bnFunText.vue?vue&type=template&id=c3b70e18&scoped=true
|
|
13588
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFunText/bnFunText.vue?vue&type=template&id=c3b70e18&scoped=true
|
|
13589
13589
|
|
|
13590
13590
|
|
|
13591
13591
|
|
|
@@ -14146,10 +14146,10 @@ var functions = [{
|
|
|
14146
14146
|
}
|
|
14147
14147
|
}
|
|
14148
14148
|
},
|
|
14149
|
-
/**
|
|
14150
|
-
* 整理组件列表为schema
|
|
14151
|
-
*@param array 组件插入到数组
|
|
14152
|
-
*@param column 组件
|
|
14149
|
+
/**
|
|
14150
|
+
* 整理组件列表为schema
|
|
14151
|
+
*@param array 组件插入到数组
|
|
14152
|
+
*@param column 组件
|
|
14153
14153
|
* */
|
|
14154
14154
|
loadColumn: function loadColumn(array, column) {
|
|
14155
14155
|
var data = {
|
|
@@ -14184,8 +14184,8 @@ var functions = [{
|
|
|
14184
14184
|
array.push(data);
|
|
14185
14185
|
}
|
|
14186
14186
|
},
|
|
14187
|
-
/**
|
|
14188
|
-
* 切换函数分类的打开挂壁
|
|
14187
|
+
/**
|
|
14188
|
+
* 切换函数分类的打开挂壁
|
|
14189
14189
|
* */
|
|
14190
14190
|
changeOpenClass: function changeOpenClass(item) {
|
|
14191
14191
|
var index = this.openFunClass.indexOf(item.name);
|
|
@@ -14195,8 +14195,8 @@ var functions = [{
|
|
|
14195
14195
|
this.openFunClass.splice(index, 1);
|
|
14196
14196
|
}
|
|
14197
14197
|
},
|
|
14198
|
-
/**
|
|
14199
|
-
* 切换字段分类的打开挂壁
|
|
14198
|
+
/**
|
|
14199
|
+
* 切换字段分类的打开挂壁
|
|
14200
14200
|
* */
|
|
14201
14201
|
changeOpenColumn: function changeOpenColumn(item) {
|
|
14202
14202
|
var index = this.openColumnClass.indexOf(item.name);
|
|
@@ -14206,8 +14206,8 @@ var functions = [{
|
|
|
14206
14206
|
this.openColumnClass.splice(index, 1);
|
|
14207
14207
|
}
|
|
14208
14208
|
},
|
|
14209
|
-
/**
|
|
14210
|
-
* 获取焦点
|
|
14209
|
+
/**
|
|
14210
|
+
* 获取焦点
|
|
14211
14211
|
* */
|
|
14212
14212
|
onCodemirrorFocus: function onCodemirrorFocus() {
|
|
14213
14213
|
var _this4 = this;
|
|
@@ -14220,8 +14220,8 @@ var functions = [{
|
|
|
14220
14220
|
// }
|
|
14221
14221
|
});
|
|
14222
14222
|
},
|
|
14223
|
-
/**
|
|
14224
|
-
* 高亮代码
|
|
14223
|
+
/**
|
|
14224
|
+
* 高亮代码
|
|
14225
14225
|
*/
|
|
14226
14226
|
specialString: function specialString(str) {
|
|
14227
14227
|
var specialRegExp = /\*|\+|\?|\||\{|\}|\[|\]|\(|\)|\^|\$|\./g;
|
|
@@ -14285,8 +14285,8 @@ var functions = [{
|
|
|
14285
14285
|
// setTimeout(()=>{
|
|
14286
14286
|
// },3000)
|
|
14287
14287
|
},
|
|
14288
|
-
/**
|
|
14289
|
-
* 选择函数
|
|
14288
|
+
/**
|
|
14289
|
+
* 选择函数
|
|
14290
14290
|
*/
|
|
14291
14291
|
onSelectFun: function onSelectFun(item) {
|
|
14292
14292
|
var _this6 = this;
|
|
@@ -14298,8 +14298,8 @@ var functions = [{
|
|
|
14298
14298
|
_this6.$refs.cm && _this6.$refs.cm.codemirror.focus(); // 确保编辑器获得焦点
|
|
14299
14299
|
});
|
|
14300
14300
|
},
|
|
14301
|
-
/**
|
|
14302
|
-
* 选择字段
|
|
14301
|
+
/**
|
|
14302
|
+
* 选择字段
|
|
14303
14303
|
*/
|
|
14304
14304
|
onSelectCol: function onSelectCol(item) {
|
|
14305
14305
|
var _this7 = this;
|
|
@@ -14328,8 +14328,8 @@ var functions = [{
|
|
|
14328
14328
|
_this7.$refs.cm && _this7.$refs.cm.codemirror.focus(); // 确保编辑器获得焦点
|
|
14329
14329
|
});
|
|
14330
14330
|
},
|
|
14331
|
-
/**
|
|
14332
|
-
* 保存
|
|
14331
|
+
/**
|
|
14332
|
+
* 保存
|
|
14333
14333
|
* */
|
|
14334
14334
|
saveRule: function saveRule() {
|
|
14335
14335
|
var _this8 = this;
|
|
@@ -14362,8 +14362,8 @@ var functions = [{
|
|
|
14362
14362
|
_this8.$emit('save', res);
|
|
14363
14363
|
});
|
|
14364
14364
|
},
|
|
14365
|
-
/**
|
|
14366
|
-
* 打开弹框
|
|
14365
|
+
/**
|
|
14366
|
+
* 打开弹框
|
|
14367
14367
|
* */
|
|
14368
14368
|
openDialog: function openDialog() {
|
|
14369
14369
|
this.postData.exprExec = this.showContent;
|
|
@@ -14409,8 +14409,8 @@ var bnFunText_component = normalizeComponent(
|
|
|
14409
14409
|
)
|
|
14410
14410
|
|
|
14411
14411
|
/* harmony default export */ const bnFunText = (bnFunText_component.exports);
|
|
14412
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=template&id=
|
|
14413
|
-
var
|
|
14412
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=template&id=dc8beb30&scoped=true
|
|
14413
|
+
var BnInpNumvue_type_template_id_dc8beb30_scoped_true_render = function render() {
|
|
14414
14414
|
var _vm = this,
|
|
14415
14415
|
_c = _vm._self._c;
|
|
14416
14416
|
return _c('el-input', {
|
|
@@ -14438,12 +14438,10 @@ var BnInpNumvue_type_template_id_ff93d4f6_scoped_true_render = function render()
|
|
|
14438
14438
|
slot: "prefix"
|
|
14439
14439
|
}, [_vm._t("prefix")], 2), _c('template', {
|
|
14440
14440
|
slot: "suffix"
|
|
14441
|
-
}, [_vm._t("
|
|
14441
|
+
}, [_vm._t("default")], 2)], 2);
|
|
14442
14442
|
};
|
|
14443
|
-
var
|
|
14443
|
+
var BnInpNumvue_type_template_id_dc8beb30_scoped_true_staticRenderFns = [];
|
|
14444
14444
|
|
|
14445
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
14446
|
-
var es_string_ends_with = __webpack_require__(9449);
|
|
14447
14445
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.starts-with.js
|
|
14448
14446
|
var es_string_starts_with = __webpack_require__(1392);
|
|
14449
14447
|
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=script&lang=js
|
|
@@ -14464,19 +14462,17 @@ var es_string_starts_with = __webpack_require__(1392);
|
|
|
14464
14462
|
|
|
14465
14463
|
|
|
14466
14464
|
|
|
14467
|
-
|
|
14468
|
-
|
|
14469
14465
|
/* harmony default export */ const BnInpNumvue_type_script_lang_js = ({
|
|
14470
14466
|
name: "BnInpNum",
|
|
14471
14467
|
model: {
|
|
14472
|
-
prop:
|
|
14473
|
-
event:
|
|
14468
|
+
prop: 'modelValue',
|
|
14469
|
+
event: 'update:modelValue'
|
|
14474
14470
|
},
|
|
14475
14471
|
props: {
|
|
14476
14472
|
modelValue: [String, Number],
|
|
14477
14473
|
placeholder: {
|
|
14478
14474
|
type: String,
|
|
14479
|
-
"default":
|
|
14475
|
+
"default": ''
|
|
14480
14476
|
},
|
|
14481
14477
|
size: String,
|
|
14482
14478
|
underline: {
|
|
@@ -14515,56 +14511,55 @@ var es_string_starts_with = __webpack_require__(1392);
|
|
|
14515
14511
|
}
|
|
14516
14512
|
},
|
|
14517
14513
|
methods: {
|
|
14518
|
-
/**
|
|
14519
|
-
* input事件 实时变化
|
|
14514
|
+
/**
|
|
14515
|
+
* input事件 实时变化
|
|
14520
14516
|
* */
|
|
14521
14517
|
valInput: (0,external_lodash_.debounce)(function (val) {
|
|
14522
14518
|
// 快速处理空值
|
|
14523
14519
|
if (!val) {
|
|
14524
|
-
this.val =
|
|
14520
|
+
this.val = '';
|
|
14525
14521
|
return;
|
|
14526
14522
|
}
|
|
14527
14523
|
var value = val;
|
|
14528
14524
|
|
|
14529
14525
|
// 移除无效字符(一次性处理)
|
|
14530
|
-
value = value.replace(/[^0-9.-]/g,
|
|
14526
|
+
value = value.replace(/[^0-9.-]/g, '');
|
|
14531
14527
|
|
|
14532
14528
|
// 处理负号:只保留开头的第一个负号
|
|
14533
|
-
if (value.startsWith(
|
|
14534
|
-
value =
|
|
14529
|
+
if (value.startsWith('-')) {
|
|
14530
|
+
value = '-' + value.slice(1).replace(/-/g, '');
|
|
14535
14531
|
} else {
|
|
14536
|
-
value = value.replace(/-/g,
|
|
14532
|
+
value = value.replace(/-/g, '');
|
|
14537
14533
|
}
|
|
14538
14534
|
|
|
14539
|
-
//
|
|
14540
|
-
if (value.startsWith(
|
|
14541
|
-
value = value.slice(1).replace(/\./g,
|
|
14535
|
+
// 处理小数点:移除开头的点,保留第一个点
|
|
14536
|
+
if (value.startsWith('.')) {
|
|
14537
|
+
value = value.slice(1).replace(/\./g, '');
|
|
14542
14538
|
} else {
|
|
14543
|
-
var dotIndex = value.indexOf(
|
|
14539
|
+
var dotIndex = value.indexOf('.');
|
|
14544
14540
|
if (dotIndex > 0) {
|
|
14545
|
-
var parts = value.split(
|
|
14546
|
-
value = parts[0] +
|
|
14541
|
+
var parts = value.split('.');
|
|
14542
|
+
value = parts[0] + '.' + parts.slice(1).join('');
|
|
14547
14543
|
}
|
|
14548
14544
|
}
|
|
14549
14545
|
|
|
14550
|
-
//
|
|
14551
|
-
|
|
14552
|
-
|
|
14553
|
-
|
|
14554
|
-
if (precisionNum === 0) {
|
|
14546
|
+
// 处理精度
|
|
14547
|
+
if (value && value !== '-' && this.precision != null && this.precision >= 0) {
|
|
14548
|
+
var _dotIndex = value.indexOf('.');
|
|
14549
|
+
if (this.precision === 0) {
|
|
14555
14550
|
// 精度为0时,移除小数点及之后的内容
|
|
14556
|
-
value =
|
|
14557
|
-
} else if (
|
|
14551
|
+
value = _dotIndex > 0 ? value.slice(0, _dotIndex) : value;
|
|
14552
|
+
} else if (_dotIndex > 0) {
|
|
14558
14553
|
// 限制小数位数
|
|
14559
|
-
var decimalPart = value.slice(
|
|
14560
|
-
if (decimalPart.length >
|
|
14561
|
-
value = value.slice(0,
|
|
14554
|
+
var decimalPart = value.slice(_dotIndex + 1);
|
|
14555
|
+
if (decimalPart.length > this.precision) {
|
|
14556
|
+
value = value.slice(0, _dotIndex + 1 + this.precision);
|
|
14562
14557
|
}
|
|
14563
14558
|
}
|
|
14564
14559
|
}
|
|
14565
14560
|
|
|
14566
14561
|
// 实时校验最大值和最小值
|
|
14567
|
-
if (value && value !==
|
|
14562
|
+
if (value && value !== '-') {
|
|
14568
14563
|
var numValue = parseFloat(value);
|
|
14569
14564
|
if (!isNaN(numValue)) {
|
|
14570
14565
|
// 校验最大值
|
|
@@ -14579,18 +14574,13 @@ var es_string_starts_with = __webpack_require__(1392);
|
|
|
14579
14574
|
}
|
|
14580
14575
|
this.val = value;
|
|
14581
14576
|
}, 200),
|
|
14582
|
-
/**
|
|
14583
|
-
* change事件上报
|
|
14577
|
+
/**
|
|
14578
|
+
* change事件上报
|
|
14584
14579
|
* */
|
|
14585
14580
|
valChange: function valChange() {
|
|
14586
|
-
//
|
|
14587
|
-
if (this.val ===
|
|
14588
|
-
this.val =
|
|
14589
|
-
return;
|
|
14590
|
-
}
|
|
14591
|
-
// 移除末尾多余的小数点(如 '0.' → '0')
|
|
14592
|
-
if (this.val && this.val.endsWith(".")) {
|
|
14593
|
-
this.val = this.val.slice(0, -1);
|
|
14581
|
+
// 处理只输入负号的情况
|
|
14582
|
+
if (this.val === '-') {
|
|
14583
|
+
this.val = '';
|
|
14594
14584
|
}
|
|
14595
14585
|
// 最大值最小值校验已在valInput中实时处理,这里保留作为兜底
|
|
14596
14586
|
if (this.val) {
|
|
@@ -14605,19 +14595,19 @@ var es_string_starts_with = __webpack_require__(1392);
|
|
|
14605
14595
|
}
|
|
14606
14596
|
}
|
|
14607
14597
|
},
|
|
14608
|
-
/**
|
|
14609
|
-
* blur事件上报
|
|
14598
|
+
/**
|
|
14599
|
+
* blur事件上报
|
|
14610
14600
|
* */
|
|
14611
14601
|
inputBlur: function inputBlur() {
|
|
14612
|
-
this.$emit(
|
|
14602
|
+
this.$emit('blur', this.val);
|
|
14613
14603
|
}
|
|
14614
14604
|
}
|
|
14615
14605
|
});
|
|
14616
14606
|
;// ./packages/BnInpNum/BnInpNum.vue?vue&type=script&lang=js
|
|
14617
14607
|
/* harmony default export */ const BnInpNum_BnInpNumvue_type_script_lang_js = (BnInpNumvue_type_script_lang_js);
|
|
14618
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=style&index=0&id=
|
|
14619
|
-
var
|
|
14620
|
-
;// ./packages/BnInpNum/BnInpNum.vue?vue&type=style&index=0&id=
|
|
14608
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInpNum/BnInpNum.vue?vue&type=style&index=0&id=dc8beb30&prod&lang=scss&scoped=true
|
|
14609
|
+
var BnInpNumvue_type_style_index_0_id_dc8beb30_prod_lang_scss_scoped_true = __webpack_require__(1820);
|
|
14610
|
+
;// ./packages/BnInpNum/BnInpNum.vue?vue&type=style&index=0&id=dc8beb30&prod&lang=scss&scoped=true
|
|
14621
14611
|
|
|
14622
14612
|
;// ./packages/BnInpNum/BnInpNum.vue
|
|
14623
14613
|
|
|
@@ -14630,17 +14620,17 @@ var BnInpNumvue_type_style_index_0_id_ff93d4f6_prod_lang_scss_scoped_true = __we
|
|
|
14630
14620
|
|
|
14631
14621
|
var BnInpNum_component = normalizeComponent(
|
|
14632
14622
|
BnInpNum_BnInpNumvue_type_script_lang_js,
|
|
14633
|
-
|
|
14634
|
-
|
|
14623
|
+
BnInpNumvue_type_template_id_dc8beb30_scoped_true_render,
|
|
14624
|
+
BnInpNumvue_type_template_id_dc8beb30_scoped_true_staticRenderFns,
|
|
14635
14625
|
false,
|
|
14636
14626
|
null,
|
|
14637
|
-
"
|
|
14627
|
+
"dc8beb30",
|
|
14638
14628
|
null
|
|
14639
14629
|
|
|
14640
14630
|
)
|
|
14641
14631
|
|
|
14642
14632
|
/* harmony default export */ const BnInpNum = (BnInpNum_component.exports);
|
|
14643
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInputNum/BnInputNum.vue?vue&type=template&id=2baef958
|
|
14633
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnInputNum/BnInputNum.vue?vue&type=template&id=2baef958
|
|
14644
14634
|
var BnInputNumvue_type_template_id_2baef958_render = function render() {
|
|
14645
14635
|
var _vm = this,
|
|
14646
14636
|
_c = _vm._self._c;
|
|
@@ -14811,7 +14801,7 @@ var BnInputNum_component = normalizeComponent(
|
|
|
14811
14801
|
)
|
|
14812
14802
|
|
|
14813
14803
|
/* harmony default export */ const BnInputNum = (BnInputNum_component.exports);
|
|
14814
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=template&id=1d87e9a2&scoped=true
|
|
14804
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/bnRuleCondition.vue?vue&type=template&id=1d87e9a2&scoped=true
|
|
14815
14805
|
|
|
14816
14806
|
|
|
14817
14807
|
|
|
@@ -15644,53 +15634,53 @@ var searchList = {
|
|
|
15644
15634
|
title: '不为空',
|
|
15645
15635
|
id: '10'
|
|
15646
15636
|
}],
|
|
15647
|
-
/*
|
|
15648
|
-
9: [
|
|
15649
|
-
{title: '范围', id: '8'},
|
|
15650
|
-
{title: '为空', id: '9'},
|
|
15651
|
-
{title: '不为空', id: '10'},
|
|
15652
|
-
],
|
|
15653
|
-
11: [
|
|
15654
|
-
{title: '等于', id: '1'},
|
|
15655
|
-
{title: '不等于', id: '2'},
|
|
15656
|
-
{title: '包含', id: '3'},
|
|
15657
|
-
{title: '不包含', id: '4'},
|
|
15658
|
-
{title: '包含任一项', id: '5'},
|
|
15659
|
-
{title: '不包含任一项', id: '6'},
|
|
15660
|
-
{title: '包含所有项', id: '7'},
|
|
15661
|
-
{title: '范围', id: '8'},
|
|
15662
|
-
{title: '为空', id: '9'},
|
|
15663
|
-
{title: '不为空', id: '10'},
|
|
15664
|
-
{title: '属于', id: '11'},
|
|
15665
|
-
{title: '有交集', id: '12'},
|
|
15666
|
-
{title: '无交集', id: '13'},],
|
|
15667
|
-
12: [
|
|
15668
|
-
{title: '等于', id: '1'},
|
|
15669
|
-
{title: '不等于', id: '2'},
|
|
15670
|
-
{title: '包含', id: '3'},
|
|
15671
|
-
{title: '不包含', id: '4'},
|
|
15672
|
-
{title: '包含任一项', id: '5'},
|
|
15673
|
-
{title: '不包含任一项', id: '6'},
|
|
15674
|
-
{title: '包含所有项', id: '7'},
|
|
15675
|
-
{title: '范围', id: '8'},
|
|
15676
|
-
{title: '为空', id: '9'},
|
|
15677
|
-
{title: '不为空', id: '10'},
|
|
15678
|
-
{title: '属于', id: '11'},
|
|
15679
|
-
{title: '有交集', id: '12'},
|
|
15680
|
-
{title: '无交集', id: '13'},],
|
|
15681
|
-
13: [
|
|
15682
|
-
{title: '等于', id: '1'},
|
|
15683
|
-
{title: '不等于', id: '2'},
|
|
15684
|
-
{title: '包含', id: '3'},
|
|
15685
|
-
{title: '不包含', id: '4'},
|
|
15686
|
-
{title: '包含任一项', id: '5'},
|
|
15687
|
-
{title: '不包含任一项', id: '6'},
|
|
15688
|
-
{title: '包含所有项', id: '7'},
|
|
15689
|
-
{title: '范围', id: '8'},
|
|
15690
|
-
{title: '为空', id: '9'},
|
|
15691
|
-
{title: '不为空', id: '10'},
|
|
15692
|
-
{title: '属于', id: '11'},
|
|
15693
|
-
{title: '有交集', id: '12'},
|
|
15637
|
+
/*
|
|
15638
|
+
9: [
|
|
15639
|
+
{title: '范围', id: '8'},
|
|
15640
|
+
{title: '为空', id: '9'},
|
|
15641
|
+
{title: '不为空', id: '10'},
|
|
15642
|
+
],
|
|
15643
|
+
11: [
|
|
15644
|
+
{title: '等于', id: '1'},
|
|
15645
|
+
{title: '不等于', id: '2'},
|
|
15646
|
+
{title: '包含', id: '3'},
|
|
15647
|
+
{title: '不包含', id: '4'},
|
|
15648
|
+
{title: '包含任一项', id: '5'},
|
|
15649
|
+
{title: '不包含任一项', id: '6'},
|
|
15650
|
+
{title: '包含所有项', id: '7'},
|
|
15651
|
+
{title: '范围', id: '8'},
|
|
15652
|
+
{title: '为空', id: '9'},
|
|
15653
|
+
{title: '不为空', id: '10'},
|
|
15654
|
+
{title: '属于', id: '11'},
|
|
15655
|
+
{title: '有交集', id: '12'},
|
|
15656
|
+
{title: '无交集', id: '13'},],
|
|
15657
|
+
12: [
|
|
15658
|
+
{title: '等于', id: '1'},
|
|
15659
|
+
{title: '不等于', id: '2'},
|
|
15660
|
+
{title: '包含', id: '3'},
|
|
15661
|
+
{title: '不包含', id: '4'},
|
|
15662
|
+
{title: '包含任一项', id: '5'},
|
|
15663
|
+
{title: '不包含任一项', id: '6'},
|
|
15664
|
+
{title: '包含所有项', id: '7'},
|
|
15665
|
+
{title: '范围', id: '8'},
|
|
15666
|
+
{title: '为空', id: '9'},
|
|
15667
|
+
{title: '不为空', id: '10'},
|
|
15668
|
+
{title: '属于', id: '11'},
|
|
15669
|
+
{title: '有交集', id: '12'},
|
|
15670
|
+
{title: '无交集', id: '13'},],
|
|
15671
|
+
13: [
|
|
15672
|
+
{title: '等于', id: '1'},
|
|
15673
|
+
{title: '不等于', id: '2'},
|
|
15674
|
+
{title: '包含', id: '3'},
|
|
15675
|
+
{title: '不包含', id: '4'},
|
|
15676
|
+
{title: '包含任一项', id: '5'},
|
|
15677
|
+
{title: '不包含任一项', id: '6'},
|
|
15678
|
+
{title: '包含所有项', id: '7'},
|
|
15679
|
+
{title: '范围', id: '8'},
|
|
15680
|
+
{title: '为空', id: '9'},
|
|
15681
|
+
{title: '不为空', id: '10'},
|
|
15682
|
+
{title: '属于', id: '11'},
|
|
15683
|
+
{title: '有交集', id: '12'},
|
|
15694
15684
|
{title: '无交集', id: '13'},],*/
|
|
15695
15685
|
15: [{
|
|
15696
15686
|
title: '为空',
|
|
@@ -15702,7 +15692,7 @@ var searchList = {
|
|
|
15702
15692
|
};
|
|
15703
15693
|
|
|
15704
15694
|
//每个组件类型对应的筛选类型列表
|
|
15705
|
-
var submitCheckTypeList =
|
|
15695
|
+
var submitCheckTypeList = {
|
|
15706
15696
|
1: '等于',
|
|
15707
15697
|
2: '不等于',
|
|
15708
15698
|
3: '包含',
|
|
@@ -15737,7 +15727,7 @@ var submitCheckTypeList = (/* unused pure expression or super */ null && ({
|
|
|
15737
15727
|
101: '变更为',
|
|
15738
15728
|
102: '变更为空',
|
|
15739
15729
|
103: '变更为有值'
|
|
15740
|
-
}
|
|
15730
|
+
};
|
|
15741
15731
|
var valueTypeList = {
|
|
15742
15732
|
//{id: '0', title: '自定义填写'},{id: '1', title: '其他组件'},{id: '2', title: '当前组件选项'}, {id: '3', title: '空值'},{id: '4', title: '其他步骤'},{ id: '5', title: '工作表属性' }
|
|
15743
15733
|
'-1': [{
|
|
@@ -15841,7 +15831,7 @@ var subTypeList = {
|
|
|
15841
15831
|
//部分支持 {id: '6', title: '过去x时'}, {id: '7', title: '未来x时'}, {id: '8', title: '过去x月'}, {id: '9', title: '未来x月'},
|
|
15842
15832
|
]
|
|
15843
15833
|
};
|
|
15844
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/cascadeCondition.vue?vue&type=template&id=0b10733b
|
|
15834
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/cascadeCondition.vue?vue&type=template&id=0b10733b
|
|
15845
15835
|
var cascadeConditionvue_type_template_id_0b10733b_render = function render() {
|
|
15846
15836
|
var _vm = this,
|
|
15847
15837
|
_c = _vm._self._c;
|
|
@@ -15933,7 +15923,7 @@ function _createForOfIteratorHelper(r, e) {
|
|
|
15933
15923
|
};
|
|
15934
15924
|
}
|
|
15935
15925
|
|
|
15936
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/BnSwitch.vue?vue&type=template&id=809f2340
|
|
15926
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/BnSwitch.vue?vue&type=template&id=809f2340
|
|
15937
15927
|
var BnSwitchvue_type_template_id_809f2340_render = function render() {
|
|
15938
15928
|
var _vm = this,
|
|
15939
15929
|
_c = _vm._self._c;
|
|
@@ -16180,10 +16170,10 @@ var BnSwitch_component = normalizeComponent(
|
|
|
16180
16170
|
}
|
|
16181
16171
|
this.$emit('update:sourceTitle', this.valueTitle);
|
|
16182
16172
|
},
|
|
16183
|
-
/**
|
|
16184
|
-
* @param data 列表
|
|
16185
|
-
* @param value 编辑回显时已保存的值 []
|
|
16186
|
-
* @returns {*|Array|Array|*}
|
|
16173
|
+
/**
|
|
16174
|
+
* @param data 列表
|
|
16175
|
+
* @param value 编辑回显时已保存的值 []
|
|
16176
|
+
* @returns {*|Array|Array|*}
|
|
16187
16177
|
* */
|
|
16188
16178
|
dataFormat: function dataFormat(data, value) {
|
|
16189
16179
|
return data.map(function (item) {
|
|
@@ -16193,12 +16183,12 @@ var BnSwitch_component = normalizeComponent(
|
|
|
16193
16183
|
});
|
|
16194
16184
|
});
|
|
16195
16185
|
},
|
|
16196
|
-
/**
|
|
16197
|
-
*
|
|
16198
|
-
* @param data 列表
|
|
16199
|
-
* @param key 键
|
|
16200
|
-
* @param value 值
|
|
16201
|
-
* @returns {*|Array|String|Array|*}
|
|
16186
|
+
/**
|
|
16187
|
+
*
|
|
16188
|
+
* @param data 列表
|
|
16189
|
+
* @param key 键
|
|
16190
|
+
* @param value 值
|
|
16191
|
+
* @returns {*|Array|String|Array|*}
|
|
16202
16192
|
*/
|
|
16203
16193
|
getChild: function getChild(data, key, value) {
|
|
16204
16194
|
var _iterator = _createForOfIteratorHelper(data),
|
|
@@ -16281,7 +16271,7 @@ var cascadeCondition_component = normalizeComponent(
|
|
|
16281
16271
|
)
|
|
16282
16272
|
|
|
16283
16273
|
/* harmony default export */ const cascadeCondition = (cascadeCondition_component.exports);
|
|
16284
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/address.vue?vue&type=template&id=1199c288&scoped=true
|
|
16274
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/address.vue?vue&type=template&id=1199c288&scoped=true
|
|
16285
16275
|
var addressvue_type_template_id_1199c288_scoped_true_render = function render() {
|
|
16286
16276
|
var _vm = this,
|
|
16287
16277
|
_c = _vm._self._c;
|
|
@@ -16341,7 +16331,7 @@ var addressvue_type_template_id_1199c288_scoped_true_render = function render()
|
|
|
16341
16331
|
};
|
|
16342
16332
|
var addressvue_type_template_id_1199c288_scoped_true_staticRenderFns = [];
|
|
16343
16333
|
|
|
16344
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/addressSet.vue?vue&type=template&id=50cd72d0&scoped=true
|
|
16334
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/addressSet.vue?vue&type=template&id=50cd72d0&scoped=true
|
|
16345
16335
|
var addressSetvue_type_template_id_50cd72d0_scoped_true_render = function render() {
|
|
16346
16336
|
var _vm = this,
|
|
16347
16337
|
_c = _vm._self._c;
|
|
@@ -16644,7 +16634,7 @@ var address_component = normalizeComponent(
|
|
|
16644
16634
|
)
|
|
16645
16635
|
|
|
16646
16636
|
/* harmony default export */ const address = (address_component.exports);
|
|
16647
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/compositeSearch.vue?vue&type=template&id=09cb19ef&scoped=true
|
|
16637
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/compositeSearch.vue?vue&type=template&id=09cb19ef&scoped=true
|
|
16648
16638
|
|
|
16649
16639
|
var compositeSearchvue_type_template_id_09cb19ef_scoped_true_render = function render() {
|
|
16650
16640
|
var _vm = this,
|
|
@@ -16770,7 +16760,7 @@ var compositeSearch_component = normalizeComponent(
|
|
|
16770
16760
|
)
|
|
16771
16761
|
|
|
16772
16762
|
/* harmony default export */ const compositeSearch = (compositeSearch_component.exports);
|
|
16773
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/numberReg.vue?vue&type=template&id=04541236&scoped=true
|
|
16763
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnRuleCondition/numberReg.vue?vue&type=template&id=04541236&scoped=true
|
|
16774
16764
|
var numberRegvue_type_template_id_04541236_scoped_true_render = function render() {
|
|
16775
16765
|
var _vm = this,
|
|
16776
16766
|
_c = _vm._self._c;
|
|
@@ -17148,8 +17138,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17148
17138
|
this.$emit("input", val);
|
|
17149
17139
|
}
|
|
17150
17140
|
},
|
|
17151
|
-
/**
|
|
17152
|
-
* 当进入规则组件,已经选好组件id时,需要将组件信息回显
|
|
17141
|
+
/**
|
|
17142
|
+
* 当进入规则组件,已经选好组件id时,需要将组件信息回显
|
|
17153
17143
|
* */
|
|
17154
17144
|
columnInfo: {
|
|
17155
17145
|
get: function get() {
|
|
@@ -17197,8 +17187,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17197
17187
|
}
|
|
17198
17188
|
},
|
|
17199
17189
|
methods: {
|
|
17200
|
-
/**
|
|
17201
|
-
* 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
|
|
17190
|
+
/**
|
|
17191
|
+
* 切换第一个选择器是选择column组件还是custom自定义输入或者code功能片段
|
|
17202
17192
|
* */
|
|
17203
17193
|
changeCustomType: function changeCustomType(type) {
|
|
17204
17194
|
this.arrowCustomType = type ? type : 'column';
|
|
@@ -17240,9 +17230,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17240
17230
|
value: value
|
|
17241
17231
|
});
|
|
17242
17232
|
},
|
|
17243
|
-
/**
|
|
17244
|
-
* 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
|
|
17245
|
-
* @param {Any} e select发生变化返回的值
|
|
17233
|
+
/**
|
|
17234
|
+
* 选择组件发生变化,当组件发生了变化,后续的行为都要进行初始化
|
|
17235
|
+
* @param {Any} e select发生变化返回的值
|
|
17246
17236
|
* */
|
|
17247
17237
|
columnChange: function columnChange(e) {
|
|
17248
17238
|
var column = this.columnList.filter(function (i) {
|
|
@@ -17293,8 +17283,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17293
17283
|
value: value
|
|
17294
17284
|
});
|
|
17295
17285
|
},
|
|
17296
|
-
/**
|
|
17297
|
-
* 计算条件发生change
|
|
17286
|
+
/**
|
|
17287
|
+
* 计算条件发生change
|
|
17298
17288
|
* */
|
|
17299
17289
|
searchChange: function searchChange() {
|
|
17300
17290
|
// 根据组件类型、计算条件、值类型来确定规则条件的value的类型
|
|
@@ -17305,8 +17295,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17305
17295
|
value: this.ruleVal
|
|
17306
17296
|
});
|
|
17307
17297
|
},
|
|
17308
|
-
/**
|
|
17309
|
-
* 规则值类型发生变化
|
|
17298
|
+
/**
|
|
17299
|
+
* 规则值类型发生变化
|
|
17310
17300
|
* */
|
|
17311
17301
|
valueTypeChange: function valueTypeChange() {
|
|
17312
17302
|
// 根据组件类型、计算条件、值类型来确定规则条件的value的类型
|
|
@@ -17317,8 +17307,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17317
17307
|
value: this.ruleVal
|
|
17318
17308
|
});
|
|
17319
17309
|
},
|
|
17320
|
-
/**
|
|
17321
|
-
* 规则值子类型发生变化
|
|
17310
|
+
/**
|
|
17311
|
+
* 规则值子类型发生变化
|
|
17322
17312
|
* */
|
|
17323
17313
|
subTypeChange: function subTypeChange() {
|
|
17324
17314
|
// 根据组件类型、计算条件、值类型来确定规则条件的value的类型
|
|
@@ -17329,8 +17319,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17329
17319
|
value: this.ruleVal
|
|
17330
17320
|
});
|
|
17331
17321
|
},
|
|
17332
|
-
/**
|
|
17333
|
-
* 规则的value发生变化
|
|
17322
|
+
/**
|
|
17323
|
+
* 规则的value发生变化
|
|
17334
17324
|
* */
|
|
17335
17325
|
valueChange: function valueChange(target) {
|
|
17336
17326
|
if (target == 'date' && this.ruleVal[this.optionProps.value] == null) {
|
|
@@ -17345,9 +17335,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17345
17335
|
value: this.ruleVal
|
|
17346
17336
|
});
|
|
17347
17337
|
},
|
|
17348
|
-
/**
|
|
17349
|
-
* 获取该类型组件支持那些计算条件
|
|
17350
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17338
|
+
/**
|
|
17339
|
+
* 获取该类型组件支持那些计算条件
|
|
17340
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17351
17341
|
* */
|
|
17352
17342
|
getSearchOptions: function getSearchOptions(behaviorType) {
|
|
17353
17343
|
var optionList = [];
|
|
@@ -17366,9 +17356,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17366
17356
|
}
|
|
17367
17357
|
return optionList;
|
|
17368
17358
|
},
|
|
17369
|
-
/**
|
|
17370
|
-
* 获取该类型组件支持那些值类型
|
|
17371
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17359
|
+
/**
|
|
17360
|
+
* 获取该类型组件支持那些值类型
|
|
17361
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17372
17362
|
* */
|
|
17373
17363
|
getValueOptions: function getValueOptions(column) {
|
|
17374
17364
|
var optionList = [];
|
|
@@ -17386,9 +17376,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17386
17376
|
}
|
|
17387
17377
|
return optionList;
|
|
17388
17378
|
},
|
|
17389
|
-
/**
|
|
17390
|
-
* 获取该类型组件支持那些子类型列表:目前仅只是时间日期
|
|
17391
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17379
|
+
/**
|
|
17380
|
+
* 获取该类型组件支持那些子类型列表:目前仅只是时间日期
|
|
17381
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17392
17382
|
* */
|
|
17393
17383
|
getSubTypeOptions: function getSubTypeOptions(behaviorType) {
|
|
17394
17384
|
var optionList = [];
|
|
@@ -17406,9 +17396,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17406
17396
|
}
|
|
17407
17397
|
return optionList;
|
|
17408
17398
|
},
|
|
17409
|
-
/**
|
|
17410
|
-
* 获取该类型组件支持那些值类型
|
|
17411
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17399
|
+
/**
|
|
17400
|
+
* 获取该类型组件支持那些值类型
|
|
17401
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17412
17402
|
* */
|
|
17413
17403
|
getOtherColumns: function getOtherColumns(behaviorType) {
|
|
17414
17404
|
var _this = this;
|
|
@@ -17438,9 +17428,9 @@ var numberReg_component = normalizeComponent(
|
|
|
17438
17428
|
}
|
|
17439
17429
|
return optionList;
|
|
17440
17430
|
},
|
|
17441
|
-
/**
|
|
17442
|
-
* 动态禁用
|
|
17443
|
-
* @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
|
|
17431
|
+
/**
|
|
17432
|
+
* 动态禁用
|
|
17433
|
+
* @param type:禁用的操作类型,ratio:累计占比(额外输入框)value:设置值的地方禁用(包含了输入、选择、下拉、联动)、valueType:值类型选择、subType:子类型
|
|
17444
17434
|
* */
|
|
17445
17435
|
isDisabled: function isDisabled(type) {
|
|
17446
17436
|
if (this.$options.propsData.hasOwnProperty('disabledFun')) {
|
|
@@ -17450,11 +17440,11 @@ var numberReg_component = normalizeComponent(
|
|
|
17450
17440
|
return false;
|
|
17451
17441
|
}
|
|
17452
17442
|
},
|
|
17453
|
-
/**
|
|
17454
|
-
* 给组件value赋予默认类型
|
|
17455
|
-
* @param {Number} behaviorType 组件行为类型
|
|
17456
|
-
* @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
|
|
17457
|
-
* @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
|
|
17443
|
+
/**
|
|
17444
|
+
* 给组件value赋予默认类型
|
|
17445
|
+
* @param {Number} behaviorType 组件行为类型
|
|
17446
|
+
* @param {String} searchType 规则的计算条件类型:等于、包含、大于、包含任一项等
|
|
17447
|
+
* @param {String} valueType 规则的值类型:当前组件值、自定义填写、选择其他组件
|
|
17458
17448
|
* */
|
|
17459
17449
|
setValType: function setValType(behaviorType, searchType, valueType) {
|
|
17460
17450
|
var data = '';
|
|
@@ -17534,14 +17524,14 @@ var numberReg_component = normalizeComponent(
|
|
|
17534
17524
|
}
|
|
17535
17525
|
return data;
|
|
17536
17526
|
},
|
|
17537
|
-
/**
|
|
17538
|
-
* 校验value的数据类型,因为有时候数据类型不对组件会报错
|
|
17527
|
+
/**
|
|
17528
|
+
* 校验value的数据类型,因为有时候数据类型不对组件会报错
|
|
17539
17529
|
* */
|
|
17540
17530
|
checkValType: function checkValType(type) {
|
|
17541
17531
|
return _typeof(this.ruleVal[this.optionProps.value]) == type;
|
|
17542
17532
|
},
|
|
17543
|
-
/**
|
|
17544
|
-
* 删除规则
|
|
17533
|
+
/**
|
|
17534
|
+
* 删除规则
|
|
17545
17535
|
* */
|
|
17546
17536
|
del: function del() {
|
|
17547
17537
|
this.$emit('del', {
|
|
@@ -17549,8 +17539,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17549
17539
|
value: this.ruleVal
|
|
17550
17540
|
});
|
|
17551
17541
|
},
|
|
17552
|
-
/**
|
|
17553
|
-
* 清空规则内容
|
|
17542
|
+
/**
|
|
17543
|
+
* 清空规则内容
|
|
17554
17544
|
* */
|
|
17555
17545
|
empty: function empty() {
|
|
17556
17546
|
// 清空计算类型的值
|
|
@@ -17558,15 +17548,15 @@ var numberReg_component = normalizeComponent(
|
|
|
17558
17548
|
// 清空value
|
|
17559
17549
|
this.ruleVal[this.optionProps.value] = this.setValType(this.ruleVal.behaviorType);
|
|
17560
17550
|
},
|
|
17561
|
-
/**
|
|
17562
|
-
* 设置触发值
|
|
17551
|
+
/**
|
|
17552
|
+
* 设置触发值
|
|
17563
17553
|
* */
|
|
17564
17554
|
setDefaultSearch: function setDefaultSearch() {
|
|
17565
17555
|
// 清空计算类型的值
|
|
17566
17556
|
this.ruleVal[this.optionProps.searchType] = this.getSearchOptions(this.ruleVal.behaviorType)[0].id;
|
|
17567
17557
|
},
|
|
17568
|
-
/**
|
|
17569
|
-
* 日期,日期区间,判断时间类型
|
|
17558
|
+
/**
|
|
17559
|
+
* 日期,日期区间,判断时间类型
|
|
17570
17560
|
* */
|
|
17571
17561
|
getDateType: function getDateType(type) {
|
|
17572
17562
|
var dateType = type == "date" ? "datetime" : "datetimerange";
|
|
@@ -17589,8 +17579,8 @@ var numberReg_component = normalizeComponent(
|
|
|
17589
17579
|
}
|
|
17590
17580
|
return dateType;
|
|
17591
17581
|
},
|
|
17592
|
-
/**
|
|
17593
|
-
* 日期,日期区间,判断时间格式化
|
|
17582
|
+
/**
|
|
17583
|
+
* 日期,日期区间,判断时间格式化
|
|
17594
17584
|
* */
|
|
17595
17585
|
getDateFormat: function getDateFormat() {
|
|
17596
17586
|
var format = "yyyy-MM-dd HH:mm:ss";
|
|
@@ -17647,7 +17637,7 @@ var bnRuleCondition_component = normalizeComponent(
|
|
|
17647
17637
|
)
|
|
17648
17638
|
|
|
17649
17639
|
/* harmony default export */ const bnRuleCondition = (bnRuleCondition_component.exports);
|
|
17650
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnSelect/select.vue?vue&type=template&id=12683c88&scoped=true
|
|
17640
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnSelect/select.vue?vue&type=template&id=12683c88&scoped=true
|
|
17651
17641
|
|
|
17652
17642
|
|
|
17653
17643
|
|
|
@@ -18328,10 +18318,10 @@ function util_toPinYin(chart) {
|
|
|
18328
18318
|
return util_getFullChars(chart.replace(/[&\|\\\*^%$#@\-]/g, "")).toLowerCase();
|
|
18329
18319
|
}
|
|
18330
18320
|
|
|
18331
|
-
/**
|
|
18332
|
-
* 匹配大小写字母拼音 返回Boolean值
|
|
18333
|
-
* @param {*} chart 需要匹配的字符
|
|
18334
|
-
* @param {*} data 需要进行匹配的字符
|
|
18321
|
+
/**
|
|
18322
|
+
* 匹配大小写字母拼音 返回Boolean值
|
|
18323
|
+
* @param {*} chart 需要匹配的字符
|
|
18324
|
+
* @param {*} data 需要进行匹配的字符
|
|
18335
18325
|
*/
|
|
18336
18326
|
function util_searchToBoolean(chart, data) {
|
|
18337
18327
|
return util_toPinYin(data || '').indexOf(util_toPinYin(chart || '')) !== -1;
|
|
@@ -18645,18 +18635,18 @@ function util_searchToBoolean(chart, data) {
|
|
|
18645
18635
|
this.initSelectDataDebounced.cancel();
|
|
18646
18636
|
},
|
|
18647
18637
|
methods: {
|
|
18648
|
-
/**
|
|
18649
|
-
* 下拉选项显示 返回Boolean true:显示
|
|
18650
|
-
* @param {Object} item 某一选择的值、option的值
|
|
18638
|
+
/**
|
|
18639
|
+
* 下拉选项显示 返回Boolean true:显示
|
|
18640
|
+
* @param {Object} item 某一选择的值、option的值
|
|
18651
18641
|
*/
|
|
18652
18642
|
optionHideFunction: function optionHideFunction(item) {
|
|
18653
18643
|
if (this.optionHideFun) return !this.optionHideFun(item) && !item.isHide;else return !item.isHide;
|
|
18654
18644
|
},
|
|
18655
|
-
/**
|
|
18656
|
-
* Option中checkbox当绑定值变化时触发的事件 更新后的值
|
|
18657
|
-
* @change="onCheckChange(checkBoxValue(labelInValue?item:item[optionProps['value']]), labelInValue?item:item[optionProps['value']])"
|
|
18658
|
-
* @param {Boolean} val checkbox更新后的值
|
|
18659
|
-
* @param {Object} item option的值
|
|
18645
|
+
/**
|
|
18646
|
+
* Option中checkbox当绑定值变化时触发的事件 更新后的值
|
|
18647
|
+
* @change="onCheckChange(checkBoxValue(labelInValue?item:item[optionProps['value']]), labelInValue?item:item[optionProps['value']])"
|
|
18648
|
+
* @param {Boolean} val checkbox更新后的值
|
|
18649
|
+
* @param {Object} item option的值
|
|
18660
18650
|
*/
|
|
18661
18651
|
onCheckChange: function onCheckChange(val, item) {
|
|
18662
18652
|
var _this = this;
|
|
@@ -18685,9 +18675,9 @@ function util_searchToBoolean(chart, data) {
|
|
|
18685
18675
|
_this.changeValue();
|
|
18686
18676
|
});
|
|
18687
18677
|
},
|
|
18688
|
-
/**
|
|
18689
|
-
* 返回option中checkbox的value状态
|
|
18690
|
-
* @param {Object} item option的选项
|
|
18678
|
+
/**
|
|
18679
|
+
* 返回option中checkbox的value状态
|
|
18680
|
+
* @param {Object} item option的选项
|
|
18691
18681
|
*/
|
|
18692
18682
|
checkBoxValue: function checkBoxValue(item) {
|
|
18693
18683
|
var _this2 = this;
|
|
@@ -18704,22 +18694,22 @@ function util_searchToBoolean(chart, data) {
|
|
|
18704
18694
|
return false;
|
|
18705
18695
|
}
|
|
18706
18696
|
},
|
|
18707
|
-
/**
|
|
18708
|
-
* 下拉选项禁用 返回Boolean true:禁用
|
|
18709
|
-
* @param {Object} item 某一选择的值、option的值
|
|
18697
|
+
/**
|
|
18698
|
+
* 下拉选项禁用 返回Boolean true:禁用
|
|
18699
|
+
* @param {Object} item 某一选择的值、option的值
|
|
18710
18700
|
*/
|
|
18711
18701
|
optionDisabledFunction: function optionDisabledFunction(item) {
|
|
18712
18702
|
if (this.optionDisabledFun) return this.optionDisabledFun(item) || item.disabled;else return item.disabled;
|
|
18713
18703
|
},
|
|
18714
|
-
/**
|
|
18715
|
-
* 多选模式下移除tag时触发
|
|
18716
|
-
* @param {Object} tag 移除的tag值
|
|
18704
|
+
/**
|
|
18705
|
+
* 多选模式下移除tag时触发
|
|
18706
|
+
* @param {Object} tag 移除的tag值
|
|
18717
18707
|
*/
|
|
18718
18708
|
removeTag: function removeTag(tag) {
|
|
18719
18709
|
this.$emit('removeTag', tag);
|
|
18720
18710
|
},
|
|
18721
|
-
/**
|
|
18722
|
-
* select的change事件
|
|
18711
|
+
/**
|
|
18712
|
+
* select的change事件
|
|
18723
18713
|
*/
|
|
18724
18714
|
changeValue: function changeValue() {
|
|
18725
18715
|
var _this3 = this;
|
|
@@ -18749,9 +18739,9 @@ function util_searchToBoolean(chart, data) {
|
|
|
18749
18739
|
}
|
|
18750
18740
|
});
|
|
18751
18741
|
},
|
|
18752
|
-
/**
|
|
18753
|
-
* 下拉框出现/隐藏时触发
|
|
18754
|
-
* @param {Boolean} bol 出现则为 true,隐藏则为 false
|
|
18742
|
+
/**
|
|
18743
|
+
* 下拉框出现/隐藏时触发
|
|
18744
|
+
* @param {Boolean} bol 出现则为 true,隐藏则为 false
|
|
18755
18745
|
*/
|
|
18756
18746
|
visibleChange: function visibleChange(bol) {
|
|
18757
18747
|
var _this4 = this;
|
|
@@ -18818,15 +18808,15 @@ function util_searchToBoolean(chart, data) {
|
|
|
18818
18808
|
});
|
|
18819
18809
|
}
|
|
18820
18810
|
},
|
|
18821
|
-
/**
|
|
18822
|
-
* 可清空的单选模式下用户点击清空按钮时触发
|
|
18811
|
+
/**
|
|
18812
|
+
* 可清空的单选模式下用户点击清空按钮时触发
|
|
18823
18813
|
*/
|
|
18824
18814
|
clear: function clear() {
|
|
18825
18815
|
this.$emit('clear');
|
|
18826
18816
|
},
|
|
18827
|
-
/**
|
|
18828
|
-
* 返回option的label data: option数据
|
|
18829
|
-
* @param {Object} data option数据
|
|
18817
|
+
/**
|
|
18818
|
+
* 返回option的label data: option数据
|
|
18819
|
+
* @param {Object} data option数据
|
|
18830
18820
|
*/
|
|
18831
18821
|
showLabel: function showLabel(data) {
|
|
18832
18822
|
if (this.optionProps['label'] instanceof Function) {
|
|
@@ -18835,9 +18825,9 @@ function util_searchToBoolean(chart, data) {
|
|
|
18835
18825
|
return data[this.optionProps['label']];
|
|
18836
18826
|
}
|
|
18837
18827
|
},
|
|
18838
|
-
/**
|
|
18839
|
-
* 快速搜索选项
|
|
18840
|
-
* @param {String} val 搜索的值
|
|
18828
|
+
/**
|
|
18829
|
+
* 快速搜索选项
|
|
18830
|
+
* @param {String} val 搜索的值
|
|
18841
18831
|
*/
|
|
18842
18832
|
filterMethod: function filterMethod(val) {
|
|
18843
18833
|
var _this5 = this;
|
|
@@ -18859,8 +18849,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
18859
18849
|
this.loadingOptionList();
|
|
18860
18850
|
}
|
|
18861
18851
|
},
|
|
18862
|
-
/**
|
|
18863
|
-
* 判断是否是全选状态
|
|
18852
|
+
/**
|
|
18853
|
+
* 判断是否是全选状态
|
|
18864
18854
|
*/
|
|
18865
18855
|
isSelectAll: function isSelectAll() {
|
|
18866
18856
|
var _this6 = this;
|
|
@@ -18884,8 +18874,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
18884
18874
|
}
|
|
18885
18875
|
}
|
|
18886
18876
|
},
|
|
18887
|
-
/**
|
|
18888
|
-
* 全选事件
|
|
18877
|
+
/**
|
|
18878
|
+
* 全选事件
|
|
18889
18879
|
*/
|
|
18890
18880
|
onSelectAll: function onSelectAll() {
|
|
18891
18881
|
var _this7 = this;
|
|
@@ -18923,14 +18913,14 @@ function util_searchToBoolean(chart, data) {
|
|
|
18923
18913
|
this.isIndeterminate = false;
|
|
18924
18914
|
this.changeValue();
|
|
18925
18915
|
},
|
|
18926
|
-
/**
|
|
18927
|
-
* 隐藏下拉选择框事件
|
|
18916
|
+
/**
|
|
18917
|
+
* 隐藏下拉选择框事件
|
|
18928
18918
|
*/
|
|
18929
18919
|
onConfirm: function onConfirm() {
|
|
18930
18920
|
this.$refs.selectBox.blur();
|
|
18931
18921
|
},
|
|
18932
|
-
/**
|
|
18933
|
-
* 滚动加载
|
|
18922
|
+
/**
|
|
18923
|
+
* 滚动加载
|
|
18934
18924
|
*/
|
|
18935
18925
|
loadMore: function loadMore() {
|
|
18936
18926
|
// 判断是否执行远程搜索
|
|
@@ -18956,8 +18946,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
18956
18946
|
this.isSelectAll();
|
|
18957
18947
|
}
|
|
18958
18948
|
},
|
|
18959
|
-
/**
|
|
18960
|
-
* 请求内部数据源
|
|
18949
|
+
/**
|
|
18950
|
+
* 请求内部数据源
|
|
18961
18951
|
*/
|
|
18962
18952
|
loadOption: function loadOption(type) {
|
|
18963
18953
|
var _this8 = this;
|
|
@@ -19014,8 +19004,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19014
19004
|
_this8.showMore = false;
|
|
19015
19005
|
});
|
|
19016
19006
|
},
|
|
19017
|
-
/**
|
|
19018
|
-
* 初始化远程搜索数据
|
|
19007
|
+
/**
|
|
19008
|
+
* 初始化远程搜索数据
|
|
19019
19009
|
*/
|
|
19020
19010
|
initRemoteMethod: function initRemoteMethod() {
|
|
19021
19011
|
this.moduleDefinition = [];
|
|
@@ -19036,8 +19026,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19036
19026
|
this.loadMore();
|
|
19037
19027
|
}
|
|
19038
19028
|
},
|
|
19039
|
-
/**
|
|
19040
|
-
* 初始化组件的数据
|
|
19029
|
+
/**
|
|
19030
|
+
* 初始化组件的数据
|
|
19041
19031
|
*/
|
|
19042
19032
|
initSelectData: function initSelectData() {
|
|
19043
19033
|
var _this9 = this;
|
|
@@ -19143,8 +19133,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19143
19133
|
}
|
|
19144
19134
|
},
|
|
19145
19135
|
computed: {
|
|
19146
|
-
/**
|
|
19147
|
-
* option 展示的列表
|
|
19136
|
+
/**
|
|
19137
|
+
* option 展示的列表
|
|
19148
19138
|
*/
|
|
19149
19139
|
optionShowList: function optionShowList() {
|
|
19150
19140
|
var _this0 = this;
|
|
@@ -19181,8 +19171,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19181
19171
|
return this.total + (((_this$optionList = this.optionList) === null || _this$optionList === void 0 ? void 0 : _this$optionList.length) || 0);
|
|
19182
19172
|
}
|
|
19183
19173
|
},
|
|
19184
|
-
/**
|
|
19185
|
-
* option 所有数据的id数组
|
|
19174
|
+
/**
|
|
19175
|
+
* option 所有数据的id数组
|
|
19186
19176
|
*/
|
|
19187
19177
|
pageOptionListIds: function pageOptionListIds() {
|
|
19188
19178
|
return this.optionList.slice(0, 10);
|
|
@@ -19215,8 +19205,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19215
19205
|
valueKeys: function valueKeys() {
|
|
19216
19206
|
return Array.from(new Set([].concat(_toConsumableArray(Object.values(this.optionProps)), _toConsumableArray(this.valueProps))));
|
|
19217
19207
|
},
|
|
19218
|
-
/**
|
|
19219
|
-
* select的value数据
|
|
19208
|
+
/**
|
|
19209
|
+
* select的value数据
|
|
19220
19210
|
*/
|
|
19221
19211
|
select: {
|
|
19222
19212
|
get: function get() {
|
|
@@ -19253,8 +19243,8 @@ function util_searchToBoolean(chart, data) {
|
|
|
19253
19243
|
}
|
|
19254
19244
|
}
|
|
19255
19245
|
},
|
|
19256
|
-
/**
|
|
19257
|
-
* select 的 popperClass
|
|
19246
|
+
/**
|
|
19247
|
+
* select 的 popperClass
|
|
19258
19248
|
*/
|
|
19259
19249
|
popperClassName: function popperClassName() {
|
|
19260
19250
|
var className = "bytenew-select-popper ".concat(this.popperClass || '');
|
|
@@ -19379,7 +19369,7 @@ var select_component = normalizeComponent(
|
|
|
19379
19369
|
)
|
|
19380
19370
|
|
|
19381
19371
|
/* harmony default export */ const BnSelect_select = (select_component.exports);
|
|
19382
|
-
;// ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=template&id=6a5eae5b&scoped=true
|
|
19372
|
+
;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/babel-loader/lib/index.js!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/BnFiTaxAutoComplete/BnFiTaxAutoComplete.vue?vue&type=template&id=6a5eae5b&scoped=true
|
|
19383
19373
|
|
|
19384
19374
|
|
|
19385
19375
|
var BnFiTaxAutoCompletevue_type_template_id_6a5eae5b_scoped_true_render = function render() {
|
|
@@ -19788,10 +19778,10 @@ function _asyncToGenerator(n) {
|
|
|
19788
19778
|
handleBlurs: function handleBlurs() {
|
|
19789
19779
|
this.visible = false;
|
|
19790
19780
|
},
|
|
19791
|
-
/**
|
|
19792
|
-
* @name 选择change
|
|
19793
|
-
* @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
|
|
19794
|
-
* @param {*} record
|
|
19781
|
+
/**
|
|
19782
|
+
* @name 选择change
|
|
19783
|
+
* @description 当表单中发票类型含有专用发票类型时,手动查询公司抬头
|
|
19784
|
+
* @param {*} record
|
|
19795
19785
|
*/
|
|
19796
19786
|
selectItem: function selectItem(record) {
|
|
19797
19787
|
if (this.isSpecialTax) {
|
|
@@ -19962,6 +19952,8 @@ var es_map_get_or_insert = __webpack_require__(5367);
|
|
|
19962
19952
|
var es_map_get_or_insert_computed = __webpack_require__(2731);
|
|
19963
19953
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
|
|
19964
19954
|
var es_array_sort = __webpack_require__(6910);
|
|
19955
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.ends-with.js
|
|
19956
|
+
var es_string_ends_with = __webpack_require__(9449);
|
|
19965
19957
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
|
|
19966
19958
|
var es_string_trim = __webpack_require__(2762);
|
|
19967
19959
|
;// ./packages/util/addressParse.js
|
|
@@ -20013,6 +20005,10 @@ var es_string_trim = __webpack_require__(2762);
|
|
|
20013
20005
|
|
|
20014
20006
|
|
|
20015
20007
|
|
|
20008
|
+
|
|
20009
|
+
|
|
20010
|
+
|
|
20011
|
+
|
|
20016
20012
|
|
|
20017
20013
|
|
|
20018
20014
|
|
|
@@ -20026,11 +20022,11 @@ var mArea = {}; //以区为级别的数据 里面包括 p:省 c:市
|
|
|
20026
20022
|
|
|
20027
20023
|
var mStreet = {}; //以街道为级别的数据 里面包括 c:市 a:区
|
|
20028
20024
|
|
|
20029
|
-
/**
|
|
20030
|
-
* 处理原始地址数据转换成专用数据
|
|
20031
|
-
* @param list 原始数据
|
|
20032
|
-
* @param init 是否初始化 如传空 已转换过不会再次转换
|
|
20033
|
-
* @returns {boolean}
|
|
20025
|
+
/**
|
|
20026
|
+
* 处理原始地址数据转换成专用数据
|
|
20027
|
+
* @param list 原始数据
|
|
20028
|
+
* @param init 是否初始化 如传空 已转换过不会再次转换
|
|
20029
|
+
* @returns {boolean}
|
|
20034
20030
|
*/
|
|
20035
20031
|
function parseArea(list, init) {
|
|
20036
20032
|
if (!init && defaultData.length) {
|
|
@@ -20082,11 +20078,11 @@ function parseArea(list, init) {
|
|
|
20082
20078
|
});
|
|
20083
20079
|
}
|
|
20084
20080
|
|
|
20085
|
-
/**
|
|
20086
|
-
* 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
|
|
20087
|
-
* @param address 任意地址字符串
|
|
20088
|
-
* @param sourceData 组件配置,如 extraInfo.isFourAddress
|
|
20089
|
-
* @returns {{name: string, mobile: string, detail: string, zip_code: string, phone: string}}
|
|
20081
|
+
/**
|
|
20082
|
+
* 解析地址详情(内部方法,需先调用 parseArea 初始化地址库)
|
|
20083
|
+
* @param address 任意地址字符串
|
|
20084
|
+
* @param sourceData 组件配置,如 extraInfo.isFourAddress
|
|
20085
|
+
* @returns {{name: string, mobile: string, detail: string, zip_code: string, phone: string}}
|
|
20090
20086
|
*/
|
|
20091
20087
|
function parseAddressDetail(address, sourceData) {
|
|
20092
20088
|
var parse = {
|
|
@@ -20098,7 +20094,9 @@ function parseAddressDetail(address, sourceData) {
|
|
|
20098
20094
|
extensionNumber: '' // 淘宝分机号码
|
|
20099
20095
|
};
|
|
20100
20096
|
address = joinAddressLines(address);
|
|
20101
|
-
var
|
|
20097
|
+
var presetName = address.name;
|
|
20098
|
+
address = stripAddressLabels(address.text);
|
|
20099
|
+
var search = ['详细地址', '收货地址', '联系地址', '收件地址', '邮政编码', '手机号码', '联系电话', '联系方式', '收货人', '收件人', '联系人', '姓名', '名字', '手机号', '邮编', '收货', '地址', '详细', '电话', '固话', ':', ':', ';', ';', ',', ',', '。'];
|
|
20102
20100
|
search.forEach(function (str) {
|
|
20103
20101
|
address = address.replace(new RegExp(str, 'g'), ' ');
|
|
20104
20102
|
});
|
|
@@ -20190,6 +20188,12 @@ function parseAddressDetail(address, sourceData) {
|
|
|
20190
20188
|
parse.street = detail.street;
|
|
20191
20189
|
parse.addr = detail.addr;
|
|
20192
20190
|
parse.result = detail.result;
|
|
20191
|
+
if (presetName) {
|
|
20192
|
+
parse.name = presetName;
|
|
20193
|
+
if (parse.addr) {
|
|
20194
|
+
parse.addr = parse.addr.replace(presetName, '').trim();
|
|
20195
|
+
}
|
|
20196
|
+
}
|
|
20193
20197
|
if (parse.province === "澳门" || parse.province === "香港") {
|
|
20194
20198
|
parse.province += "特别行政区";
|
|
20195
20199
|
} else if (parse.province === "新疆") {
|
|
@@ -20213,13 +20217,13 @@ function parseAddressDetail(address, sourceData) {
|
|
|
20213
20217
|
return parse;
|
|
20214
20218
|
}
|
|
20215
20219
|
|
|
20216
|
-
/**
|
|
20217
|
-
* 正向解析模式
|
|
20218
|
-
* 从前到后按 province city addr 逐级筛选
|
|
20219
|
-
* 有city的值即可说明解析成功
|
|
20220
|
-
* 此模式对地址顺序有要求
|
|
20221
|
-
* @param address
|
|
20222
|
-
* @returns {{province: string, city: string, area: string, addr: string}}
|
|
20220
|
+
/**
|
|
20221
|
+
* 正向解析模式
|
|
20222
|
+
* 从前到后按 province city addr 逐级筛选
|
|
20223
|
+
* 有city的值即可说明解析成功
|
|
20224
|
+
* 此模式对地址顺序有要求
|
|
20225
|
+
* @param address
|
|
20226
|
+
* @returns {{province: string, city: string, area: string, addr: string}}
|
|
20223
20227
|
*/
|
|
20224
20228
|
function detail_parse_forward(address, sourceData) {
|
|
20225
20229
|
var parse = {
|
|
@@ -20313,12 +20317,12 @@ function detail_parse_forward(address, sourceData) {
|
|
|
20313
20317
|
return parse;
|
|
20314
20318
|
}
|
|
20315
20319
|
|
|
20316
|
-
/**
|
|
20317
|
-
* 逆向解析 从后【县,区,旗】往前解析
|
|
20318
|
-
* 有地区就能大概返回地址了
|
|
20319
|
-
* @param address
|
|
20320
|
-
* @param ignoreArea 是否忽视区 因为地址中含有区容易导致匹配错误 例:山东省蓬莱市黄海花园东区西门宝威学堂 曲荣声收15753572456
|
|
20321
|
-
* @returns {{province: string, city: string, area: string, name: string, _area: string, addr: string}}
|
|
20320
|
+
/**
|
|
20321
|
+
* 逆向解析 从后【县,区,旗】往前解析
|
|
20322
|
+
* 有地区就能大概返回地址了
|
|
20323
|
+
* @param address
|
|
20324
|
+
* @param ignoreArea 是否忽视区 因为地址中含有区容易导致匹配错误 例:山东省蓬莱市黄海花园东区西门宝威学堂 曲荣声收15753572456
|
|
20325
|
+
* @returns {{province: string, city: string, area: string, name: string, _area: string, addr: string}}
|
|
20322
20326
|
*/
|
|
20323
20327
|
function detail_parse(address) {
|
|
20324
20328
|
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
@@ -20490,34 +20494,97 @@ function detail_parse(address) {
|
|
|
20490
20494
|
}
|
|
20491
20495
|
var MUNICIPALITIES = ['上海', '北京', '天津', '重庆'];
|
|
20492
20496
|
|
|
20493
|
-
/**
|
|
20494
|
-
* 统一换行符格式
|
|
20497
|
+
/**
|
|
20498
|
+
* 统一换行符格式
|
|
20495
20499
|
*/
|
|
20496
20500
|
function normalizeLineBreaks(address) {
|
|
20497
20501
|
return String(address || '').replace(/\r\n/g, '\n').replace(/\r/g, '\n').replace(/\t/g, ' ');
|
|
20498
20502
|
}
|
|
20499
20503
|
|
|
20500
|
-
/**
|
|
20501
|
-
*
|
|
20504
|
+
/**
|
|
20505
|
+
* 常见地址字段标签(姓名:、详细地址: 等),较长标签优先匹配
|
|
20506
|
+
*/
|
|
20507
|
+
var ADDRESS_LABEL_PATTERN = '(?:详细地址|收货地址|联系地址|收件地址|邮政编码|手机号码|联系电话|联系方式|收货人|收件人|联系人|姓名|名字|手机号|邮编|收货|地址|详细|固话|电话)[::]';
|
|
20508
|
+
var ADDRESS_LABEL_REG = new RegExp(ADDRESS_LABEL_PATTERN, 'g');
|
|
20509
|
+
var ADDRESS_LABEL_TEST_REG = new RegExp(ADDRESS_LABEL_PATTERN);
|
|
20510
|
+
|
|
20511
|
+
/**
|
|
20512
|
+
* 去除「姓名:」「详细地址:」等字段标签前缀
|
|
20513
|
+
*/
|
|
20514
|
+
function stripAddressLabels(text) {
|
|
20515
|
+
return String(text || '').replace(ADDRESS_LABEL_REG, ' ');
|
|
20516
|
+
}
|
|
20517
|
+
var NAME_LABELS = ['姓名', '名字', '联系人', '收货人', '收件人'];
|
|
20518
|
+
var PHONE_LABELS = ['电话', '手机号', '手机号码', '联系电话', '联系方式', '固话'];
|
|
20519
|
+
|
|
20520
|
+
/**
|
|
20521
|
+
* 解析「标签:值」格式的单行
|
|
20522
|
+
*/
|
|
20523
|
+
function matchLabeledLine(line) {
|
|
20524
|
+
var match = line.match(/^([\u4e00-\u9fa5A-Za-z0-9]+)[::]\s*(.+)$/);
|
|
20525
|
+
if (!match) {
|
|
20526
|
+
return null;
|
|
20527
|
+
}
|
|
20528
|
+
return {
|
|
20529
|
+
label: match[1],
|
|
20530
|
+
value: match[2].trim()
|
|
20531
|
+
};
|
|
20532
|
+
}
|
|
20533
|
+
|
|
20534
|
+
/**
|
|
20535
|
+
* 按换行符拆分段落,去除行内空白后用空格拼接为单行
|
|
20536
|
+
* 若每行是「标签:值」格式,则按标签分类提取姓名、电话和地址
|
|
20502
20537
|
*/
|
|
20503
20538
|
function joinAddressLines(address) {
|
|
20504
20539
|
var normalized = normalizeLineBreaks(address);
|
|
20505
|
-
var lines = normalized.split('\n')
|
|
20540
|
+
var lines = normalized.split('\n').filter(function (line) {
|
|
20541
|
+
return line.replace(/[ \t\f\v]+/g, ' ').trim();
|
|
20542
|
+
});
|
|
20543
|
+
if (lines.length === 1) {
|
|
20544
|
+
var singleLine = lines[0].replace(/[ \t\f\v]+/g, ' ').trim();
|
|
20545
|
+
if ((singleLine.match(/[::]/g) || []).length > 1 && ADDRESS_LABEL_TEST_REG.test(singleLine)) {
|
|
20546
|
+
return {
|
|
20547
|
+
text: stripAddressLabels(singleLine).replace(/ {2,}/g, ' ').trim(),
|
|
20548
|
+
name: '',
|
|
20549
|
+
phoneHint: ''
|
|
20550
|
+
};
|
|
20551
|
+
}
|
|
20552
|
+
}
|
|
20506
20553
|
var parts = [];
|
|
20554
|
+
var extracted = {
|
|
20555
|
+
name: '',
|
|
20556
|
+
phoneHint: ''
|
|
20557
|
+
};
|
|
20507
20558
|
for (var i = 0; i < lines.length; i++) {
|
|
20508
20559
|
var line = lines[i].replace(/[ \t\f\v]+/g, ' ').trim();
|
|
20509
|
-
if (line) {
|
|
20560
|
+
if (!line) {
|
|
20561
|
+
continue;
|
|
20562
|
+
}
|
|
20563
|
+
var labeled = matchLabeledLine(line);
|
|
20564
|
+
if (labeled) {
|
|
20565
|
+
if (NAME_LABELS.indexOf(labeled.label) > -1) {
|
|
20566
|
+
extracted.name = labeled.value;
|
|
20567
|
+
} else if (PHONE_LABELS.indexOf(labeled.label) > -1) {
|
|
20568
|
+
extracted.phoneHint = labeled.value;
|
|
20569
|
+
} else {
|
|
20570
|
+
parts.push(labeled.value);
|
|
20571
|
+
}
|
|
20572
|
+
} else {
|
|
20510
20573
|
parts.push(line);
|
|
20511
20574
|
}
|
|
20512
20575
|
}
|
|
20513
|
-
return
|
|
20576
|
+
return {
|
|
20577
|
+
text: parts.join(' '),
|
|
20578
|
+
name: extracted.name,
|
|
20579
|
+
phoneHint: extracted.phoneHint
|
|
20580
|
+
};
|
|
20514
20581
|
}
|
|
20515
20582
|
|
|
20516
|
-
/**
|
|
20517
|
-
* 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
|
|
20518
|
-
* @param {object} options
|
|
20519
|
-
* @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
|
|
20520
|
-
* @returns {array|null}
|
|
20583
|
+
/**
|
|
20584
|
+
* 从全局变量或 options 中获取 areaList(CDN 加载后挂载在 window.areaList)
|
|
20585
|
+
* @param {object} options
|
|
20586
|
+
* @param {array} [options.areaList] 地址库原始数据,不传则从全局 areaList 读取
|
|
20587
|
+
* @returns {array|null}
|
|
20521
20588
|
*/
|
|
20522
20589
|
function getGlobalAreaList() {
|
|
20523
20590
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -20540,8 +20607,8 @@ function getGlobalAreaList() {
|
|
|
20540
20607
|
return null;
|
|
20541
20608
|
}
|
|
20542
20609
|
|
|
20543
|
-
/**
|
|
20544
|
-
* 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
|
|
20610
|
+
/**
|
|
20611
|
+
* 判断直辖市名称在前 8 个字符中是否只出现一次(用于补全省份前缀)
|
|
20545
20612
|
*/
|
|
20546
20613
|
function checkMunicipalityChars(str, name) {
|
|
20547
20614
|
var prefix = str.substring(0, 8);
|
|
@@ -20550,8 +20617,8 @@ function checkMunicipalityChars(str, name) {
|
|
|
20550
20617
|
return firstIndex !== -1 && firstIndex === lastIndex;
|
|
20551
20618
|
}
|
|
20552
20619
|
|
|
20553
|
-
/**
|
|
20554
|
-
* 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
|
|
20620
|
+
/**
|
|
20621
|
+
* 预处理地址字符串:去空格,并为缺少省份前缀的直辖市地址补全
|
|
20555
20622
|
*/
|
|
20556
20623
|
function preprocessAddress(address) {
|
|
20557
20624
|
var cleanAddress = normalizeLineBreaks(address).replace(/[ \t\f\v]+/g, '');
|
|
@@ -20572,13 +20639,13 @@ function preprocessAddress(address) {
|
|
|
20572
20639
|
return cleanAddress;
|
|
20573
20640
|
}
|
|
20574
20641
|
|
|
20575
|
-
/**
|
|
20576
|
-
* 自动识别地址信息,格式化为省市区街道和收件人等信息
|
|
20577
|
-
* @param {string} address 原始地址字符串(可含空格、姓名、手机号等)
|
|
20578
|
-
* @param {object} [sourceData] 组件 sourceData,用于四级地址等配置(extraInfo.isFourAddress)
|
|
20579
|
-
* @param {object} [options] 可选配置
|
|
20580
|
-
* @param {array} [options.areaList] 地址库原始数据,默认从全局 areaList 获取
|
|
20581
|
-
* @returns {{name: string, mobile: string, phone: string, zip_code: string, extensionNumber: string, province: string, city: string, area: string, street: string, addr: string, result: *}}
|
|
20642
|
+
/**
|
|
20643
|
+
* 自动识别地址信息,格式化为省市区街道和收件人等信息
|
|
20644
|
+
* @param {string} address 原始地址字符串(可含空格、姓名、手机号等)
|
|
20645
|
+
* @param {object} [sourceData] 组件 sourceData,用于四级地址等配置(extraInfo.isFourAddress)
|
|
20646
|
+
* @param {object} [options] 可选配置
|
|
20647
|
+
* @param {array} [options.areaList] 地址库原始数据,默认从全局 areaList 获取
|
|
20648
|
+
* @returns {{name: string, mobile: string, phone: string, zip_code: string, extensionNumber: string, province: string, city: string, area: string, street: string, addr: string, result: *}}
|
|
20582
20649
|
*/
|
|
20583
20650
|
function addressParse(address, sourceData) {
|
|
20584
20651
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
@@ -20611,16 +20678,16 @@ function addressParse(address, sourceData) {
|
|
|
20611
20678
|
|
|
20612
20679
|
|
|
20613
20680
|
|
|
20614
|
-
/**
|
|
20615
|
-
* 通过id列表,和options将title拼接出来 ,id的key名和 title的key名可以传过来,默认是id和title
|
|
20616
|
-
* id:[1,2] options:[{id:1,title:'name'},{id:2,title:'name2'}] 或 {1:'name',2:'name2'}
|
|
20617
|
-
* 结果返回 'name,name2'
|
|
20618
|
-
* @param {Array} ids ID列表
|
|
20619
|
-
* @param {Array|Object} options 选项数组或对象映射
|
|
20620
|
-
* @param {String} idKey ID的键名,默认为'id',仅当options为数组时使用
|
|
20621
|
-
* @param {String} nameKey 名称的键名,默认为'title',仅当options为数组时使用
|
|
20622
|
-
* @param {String} separator 自定义分隔符,默认为中文逗号','
|
|
20623
|
-
* @return {String} 拼接后的字符串
|
|
20681
|
+
/**
|
|
20682
|
+
* 通过id列表,和options将title拼接出来 ,id的key名和 title的key名可以传过来,默认是id和title
|
|
20683
|
+
* id:[1,2] options:[{id:1,title:'name'},{id:2,title:'name2'}] 或 {1:'name',2:'name2'}
|
|
20684
|
+
* 结果返回 'name,name2'
|
|
20685
|
+
* @param {Array} ids ID列表
|
|
20686
|
+
* @param {Array|Object} options 选项数组或对象映射
|
|
20687
|
+
* @param {String} idKey ID的键名,默认为'id',仅当options为数组时使用
|
|
20688
|
+
* @param {String} nameKey 名称的键名,默认为'title',仅当options为数组时使用
|
|
20689
|
+
* @param {String} separator 自定义分隔符,默认为中文逗号','
|
|
20690
|
+
* @return {String} 拼接后的字符串
|
|
20624
20691
|
* */
|
|
20625
20692
|
function idsToTexts(ids, options) {
|
|
20626
20693
|
var idKey = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'id';
|
|
@@ -20659,51 +20726,51 @@ function idsToTexts(ids, options) {
|
|
|
20659
20726
|
}
|
|
20660
20727
|
|
|
20661
20728
|
;// ./install.js
|
|
20662
|
-
// install.js - BnAppletUi 组件库入口
|
|
20663
|
-
|
|
20664
|
-
|
|
20665
|
-
|
|
20666
|
-
|
|
20667
|
-
|
|
20668
|
-
|
|
20669
|
-
|
|
20670
|
-
|
|
20671
|
-
|
|
20672
|
-
|
|
20673
|
-
|
|
20674
|
-
|
|
20675
|
-
|
|
20676
|
-
|
|
20677
|
-
const BnAppletUi = {
|
|
20678
|
-
install: (Vue) => {
|
|
20679
|
-
Vue.component("BnAddress", BnAddress);
|
|
20680
|
-
Vue.component("BnAddressParse", BnAddressParse);
|
|
20681
|
-
Vue.component("BnCheck", BnCheck);
|
|
20682
|
-
Vue.component("BnDateRange", bnDateRange);
|
|
20683
|
-
Vue.component("BnDialog", dialog);
|
|
20684
|
-
Vue.component("BnDropdown", bnDropdown);
|
|
20685
|
-
Vue.component("BnFileView", BnFileView);
|
|
20686
|
-
Vue.component("BnFunText", bnFunText);
|
|
20687
|
-
Vue.component("BnInpNum", BnInpNum);
|
|
20688
|
-
Vue.component("BnInputNum", BnInputNum);
|
|
20689
|
-
Vue.component("BnRuleCondition", bnRuleCondition);
|
|
20690
|
-
Vue.component("BnSelect", BnSelect_select);
|
|
20691
|
-
Vue.component("BnFiTaxAutoComplete", BnFiTaxAutoComplete);
|
|
20692
|
-
}
|
|
20693
|
-
};
|
|
20694
|
-
|
|
20695
|
-
// 支持通过 CDN 方式引入时自动注册
|
|
20696
|
-
if (typeof window !== 'undefined' && window.Vue) {
|
|
20697
|
-
window.Vue.use(BnAppletUi);
|
|
20698
|
-
}
|
|
20699
|
-
|
|
20700
|
-
// 导出插件对象(整体引入)
|
|
20701
|
-
// 使用方式:Vue.use(BnAppletUi)
|
|
20702
|
-
/* harmony default export */ const install = (BnAppletUi);
|
|
20703
|
-
|
|
20704
|
-
// 单独导出各组件(按需引入)
|
|
20705
|
-
|
|
20706
|
-
// 单独导出每个工具函数和常量,方便按需引入
|
|
20729
|
+
// install.js - BnAppletUi 组件库入口
|
|
20730
|
+
|
|
20731
|
+
|
|
20732
|
+
|
|
20733
|
+
|
|
20734
|
+
|
|
20735
|
+
|
|
20736
|
+
|
|
20737
|
+
|
|
20738
|
+
|
|
20739
|
+
|
|
20740
|
+
|
|
20741
|
+
|
|
20742
|
+
|
|
20743
|
+
|
|
20744
|
+
const BnAppletUi = {
|
|
20745
|
+
install: (Vue) => {
|
|
20746
|
+
Vue.component("BnAddress", BnAddress);
|
|
20747
|
+
Vue.component("BnAddressParse", BnAddressParse);
|
|
20748
|
+
Vue.component("BnCheck", BnCheck);
|
|
20749
|
+
Vue.component("BnDateRange", bnDateRange);
|
|
20750
|
+
Vue.component("BnDialog", dialog);
|
|
20751
|
+
Vue.component("BnDropdown", bnDropdown);
|
|
20752
|
+
Vue.component("BnFileView", BnFileView);
|
|
20753
|
+
Vue.component("BnFunText", bnFunText);
|
|
20754
|
+
Vue.component("BnInpNum", BnInpNum);
|
|
20755
|
+
Vue.component("BnInputNum", BnInputNum);
|
|
20756
|
+
Vue.component("BnRuleCondition", bnRuleCondition);
|
|
20757
|
+
Vue.component("BnSelect", BnSelect_select);
|
|
20758
|
+
Vue.component("BnFiTaxAutoComplete", BnFiTaxAutoComplete);
|
|
20759
|
+
}
|
|
20760
|
+
};
|
|
20761
|
+
|
|
20762
|
+
// 支持通过 CDN 方式引入时自动注册
|
|
20763
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
|
20764
|
+
window.Vue.use(BnAppletUi);
|
|
20765
|
+
}
|
|
20766
|
+
|
|
20767
|
+
// 导出插件对象(整体引入)
|
|
20768
|
+
// 使用方式:Vue.use(BnAppletUi)
|
|
20769
|
+
/* harmony default export */ const install = (BnAppletUi);
|
|
20770
|
+
|
|
20771
|
+
// 单独导出各组件(按需引入)
|
|
20772
|
+
|
|
20773
|
+
// 单独导出每个工具函数和常量,方便按需引入
|
|
20707
20774
|
|
|
20708
20775
|
;// ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js
|
|
20709
20776
|
|