@bytenew/bn-bus-ui 1.1.463 → 1.1.464
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/dist/assocTableSearch-Bfe96864.js +349 -0
- package/dist/assocTableSearch.css +1 -0
- package/dist/bn-bus-ui.es.js +65 -0
- package/dist/bn-bus-ui.umd.js +49 -0
- package/dist/chooseIPaasData-COrrvQKZ.js +391 -0
- package/dist/chooseIPaasData.css +1 -0
- package/dist/defaultSet-CzN1ec_d.js +297 -0
- package/dist/defaultSet.css +1 -0
- package/dist/fileFormData-D_Q1vylE.js +53 -0
- package/dist/formItemFooter-BvptZj_u.js +108 -0
- package/dist/formItemFooter.css +1 -0
- package/dist/funcExprDialog-BguNs9fl.js +139 -0
- package/dist/funcExprDialog.css +1 -0
- package/dist/index-0oB7QocU.js +44 -0
- package/dist/index-69fRP0M8.js +89 -0
- package/dist/index-BdklTJtF.js +66 -0
- package/dist/index-Bu3jHlby.js +45 -0
- package/dist/index-BxWx5kpG.js +89 -0
- package/dist/index-C5LQ0OSs.js +183 -0
- package/dist/index-C8YhrrUN.js +51 -0
- package/dist/index-COuPCIzB.js +45 -0
- package/dist/index-CSvVyjxx.js +178 -0
- package/dist/index-DCv51EXX.js +109 -0
- package/dist/index-DUSI6MuC.js +135 -0
- package/dist/index-DVzxs2vR.js +58 -0
- package/dist/index-Dd4b8zNb.js +746 -0
- package/dist/index-Md-ZlkCW.js +66 -0
- package/dist/index-hsSIY2FP.js +221 -0
- package/dist/index-n13-H3_Y.js +118 -0
- package/dist/index-wUl5aPUD.js +64 -0
- package/dist/index.css +1 -0
- package/dist/index2.css +1 -0
- package/dist/index3.css +1 -0
- package/dist/index4.css +1 -0
- package/dist/index5.css +1 -0
- package/dist/index6.css +1 -0
- package/dist/index7.css +1 -0
- package/dist/install-CNjs0u5x.js +23299 -0
- package/dist/install.css +1 -0
- package/dist/setOption-CXOifQcx.js +329 -0
- package/dist/setOption.css +1 -0
- package/dist/setRelationOption-C7VDhej7.js +5217 -0
- package/dist/setRelationOption.css +1 -0
- package/package.json +4 -20
- package/install.js +0 -134
- package/packages/BnAddress/index.vue +0 -141
- package/packages/BnAddressParse/index.vue +0 -75
- package/packages/BnAdvancedFilter/BnFilterView.vue +0 -145
- package/packages/BnAdvancedFilter/index.vue +0 -345
- package/packages/BnAdvancedFilter/util.js +0 -171
- package/packages/BnCascader/BnCascader.vue +0 -543
- package/packages/BnCascader/BnCascaderPanel.vue +0 -1331
- package/packages/BnCascader/cascaderDisplay.js +0 -102
- package/packages/BnCheck/BnCheck.vue +0 -253
- package/packages/BnColumnConfig/columnConfigDialog.vue +0 -134
- package/packages/BnColumnConfig/component/childrenFormSetting/assocTable.vue +0 -143
- package/packages/BnColumnConfig/component/childrenFormSetting/assocTableSearch.vue +0 -314
- package/packages/BnColumnConfig/component/childrenFormSetting/index.vue +0 -243
- package/packages/BnColumnConfig/component/defaultSet/defaultSet.vue +0 -114
- package/packages/BnColumnConfig/component/defaultSet/stringDefault.vue +0 -210
- package/packages/BnColumnConfig/component/funcExprDialog/funcExprDialog.vue +0 -126
- package/packages/BnColumnConfig/component/packageFilter/index.vue +0 -141
- package/packages/BnColumnConfig/component/paraExplainSet/index.vue +0 -156
- package/packages/BnColumnConfig/component/setOption/setOption.vue +0 -321
- package/packages/BnColumnConfig/component/setRelationOption/ConditionList.vue +0 -277
- package/packages/BnColumnConfig/component/setRelationOption/LevelHeader.vue +0 -144
- package/packages/BnColumnConfig/component/setRelationOption/setRelationOption.vue +0 -642
- package/packages/BnColumnConfig/data.js +0 -129
- package/packages/BnColumnConfig/index.scss +0 -23
- package/packages/BnColumnConfig/index.vue +0 -309
- package/packages/BnCondVal/BnCondVal.vue +0 -112
- package/packages/BnCondVal/itemVal/dateRegVal.vue +0 -39
- package/packages/BnCondVal/itemVal/dateVal.vue +0 -39
- package/packages/BnCondVal/itemVal/numRegVal.vue +0 -67
- package/packages/BnCondVal/itemVal/numVal.vue +0 -44
- package/packages/BnCondVal/itemVal/relationVal.vue +0 -73
- package/packages/BnCondVal/itemVal/selectColumnVal.vue +0 -58
- package/packages/BnCondVal/itemVal/selectVal.vue +0 -59
- package/packages/BnCondVal/itemVal/stringVal.vue +0 -156
- package/packages/BnCondition/index.vue +0 -551
- package/packages/BnCondition/util.js +0 -232
- package/packages/BnDatePicker/BnDatePicker.vue +0 -194
- package/packages/BnDrop/BnDrop.vue +0 -917
- package/packages/BnEmptyTip/BnEmptyTip.vue +0 -107
- package/packages/BnExportOrder/BnExportOrder.vue +0 -241
- package/packages/BnExportOrder/validatorCode.vue +0 -94
- package/packages/BnFileView/BnFileView.vue +0 -271
- package/packages/BnFileView/FileDetail.vue +0 -125
- package/packages/BnFileView/videoPreview.vue +0 -70
- package/packages/BnFilterOption/BnFilterOption.vue +0 -160
- package/packages/BnFunExpr/BnFunExpr.vue +0 -608
- package/packages/BnImportOrder/BnImportOrder.vue +0 -323
- package/packages/BnImportTemplate/BnImportTemplate.vue +0 -866
- package/packages/BnImportTemplate/assets/merge_tip_img.png +0 -0
- package/packages/BnImportTemplate/assets/sheet_tip.png +0 -0
- package/packages/BnImportTemplate/assets/xls.png +0 -0
- package/packages/BnImportTemplate/components/ImportTemplateTrigger.vue +0 -198
- package/packages/BnImportTemplate/components/TemplateEditDialog.vue +0 -340
- package/packages/BnImportTemplate/components/TemplateFieldsConfig.vue +0 -401
- package/packages/BnImportTemplate/components/TemplateListDialog.vue +0 -297
- package/packages/BnInpNum/BnInpNum.vue +0 -165
- package/packages/BnMenus/BnMenus.vue +0 -502
- package/packages/BnMenus/MenuItem.vue +0 -321
- package/packages/BnOrderCard/BnOrderCard.vue +0 -389
- package/packages/BnOrderCard/orderRemark.vue +0 -178
- package/packages/BnOrderCard/util.js +0 -94
- package/packages/BnOrderDetail/BnOrderDetail.vue +0 -338
- package/packages/BnOrderDetail/filterLogByUser.vue +0 -108
- package/packages/BnOrderDetail/orderLogs.vue +0 -53
- package/packages/BnOrderDetail/showSubForm/index.vue +0 -41
- package/packages/BnOrderDetail/showSubForm/showChildTable.vue +0 -61
- package/packages/BnOrderDetail/showSubForm/showTimeLine.vue +0 -131
- package/packages/BnOrderDetail/showSubForm/tableCellCopy.vue +0 -84
- package/packages/BnOrderShare/index.vue +0 -378
- package/packages/BnOrderShare/shareUrlInp.vue +0 -54
- package/packages/BnRadio/BnRadio.vue +0 -181
- package/packages/BnRelation/BnRelation.vue +0 -120
- package/packages/BnSelect/BnSelect.vue +0 -485
- package/packages/BnSmartForm/BnBatchForm.vue +0 -334
- package/packages/BnSmartForm/BnBatchFormDialog.vue +0 -423
- package/packages/BnSmartForm/BnSmartElf/elfLog/index.vue +0 -57
- package/packages/BnSmartForm/BnSmartElf/index.vue +0 -95
- package/packages/BnSmartForm/BnSmartFormPsychic.js +0 -629
- package/packages/BnSmartForm/BnSmartFormUtil.js +0 -524
- package/packages/BnSmartForm/addressForm/index.vue +0 -73
- package/packages/BnSmartForm/checkboxForm/index.vue +0 -99
- package/packages/BnSmartForm/childrenForm/childFormFile.vue +0 -237
- package/packages/BnSmartForm/childrenForm/childrenFormBody.vue +0 -260
- package/packages/BnSmartForm/childrenForm/index.vue +0 -110
- package/packages/BnSmartForm/childrenForm/searchInventory.vue +0 -115
- package/packages/BnSmartForm/chooseAssocTable/chooseAssocTable.vue +0 -451
- package/packages/BnSmartForm/chooseAssocTable/chooseChildGood.vue +0 -229
- package/packages/BnSmartForm/chooseAssocTable/tableCellCopy.vue +0 -84
- package/packages/BnSmartForm/chooseChildOrder/chooseChildOrder.vue +0 -158
- package/packages/BnSmartForm/chooseIPaasData/chooseIPaasData.vue +0 -307
- package/packages/BnSmartForm/chooseIPaasData/tableCellCopy.vue +0 -84
- package/packages/BnSmartForm/choosePackage/choosePackage.vue +0 -361
- package/packages/BnSmartForm/dateDualForm/index.vue +0 -37
- package/packages/BnSmartForm/dateForm/index.vue +0 -38
- package/packages/BnSmartForm/fileForm/fileFormData.js +0 -50
- package/packages/BnSmartForm/fileForm/index.vue +0 -240
- package/packages/BnSmartForm/formItemFooter/formItemFooter.vue +0 -38
- package/packages/BnSmartForm/formItemTop/formItemTop.vue +0 -42
- package/packages/BnSmartForm/index.vue +0 -1201
- package/packages/BnSmartForm/numberForm/index.vue +0 -63
- package/packages/BnSmartForm/radioForm/index.vue +0 -72
- package/packages/BnSmartForm/receiveForm/index.vue +0 -112
- package/packages/BnSmartForm/relationForm/index.vue +0 -82
- package/packages/BnSmartForm/scoreForm/index.vue +0 -39
- package/packages/BnSmartForm/selectForm/index.vue +0 -55
- package/packages/BnSmartForm/showValForm/index.vue +0 -42
- package/packages/BnSmartForm/showValForm/showValFormTable.vue +0 -104
- package/packages/BnSmartForm/smartFormsCommon.scss +0 -43
- package/packages/BnSmartForm/stringForm/index.vue +0 -170
- package/packages/BnVirtPopover/index.vue +0 -319
- package/packages/BnWebLog/BnWebLog.vue +0 -140
- package/packages/BnWorkSettingDrop/advancedOptions.js +0 -112
- package/packages/BnWorkSettingDrop/benBenAIUtil.js +0 -89
- package/packages/BnWorkSettingDrop/index.vue +0 -292
- package/packages/font/iconfont.css +0 -243
- package/packages/font/iconfont.ttf +0 -0
- package/packages/font/iconfont.woff +0 -0
- package/packages/font/iconfont.woff2 +0 -0
- package/utils/addressParse-old.js +0 -645
- package/utils/addressParse.js +0 -735
- package/utils/config.js +0 -68
- package/utils/index.js +0 -1171
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { debounce as v } from "lodash";
|
|
2
|
+
import { f, a as b } from "./formItemFooter-BvptZj_u.js";
|
|
3
|
+
import { B as w } from "./index-69fRP0M8.js";
|
|
4
|
+
import { resolveComponent as t, openBlock as s, createElementBlock as B, createBlock as F, createCommentVNode as _, createVNode as a, createElementVNode as d } from "vue";
|
|
5
|
+
import { _ as y } from "./install-CNjs0u5x.js";
|
|
6
|
+
const I = {
|
|
7
|
+
name: "addressForm",
|
|
8
|
+
components: { BnAddressParse: w, formItemTop: b, formItemFooter: f },
|
|
9
|
+
props: {
|
|
10
|
+
column: Object,
|
|
11
|
+
disabled: Boolean,
|
|
12
|
+
postFunc: Function,
|
|
13
|
+
// 数据结构
|
|
14
|
+
valueProps: Object
|
|
15
|
+
},
|
|
16
|
+
computed: {
|
|
17
|
+
// 收寄信息value对象中对应的字段
|
|
18
|
+
valueKey() {
|
|
19
|
+
return this.valueProps ? this.valueProps : this.column.moduleDefinition ? {
|
|
20
|
+
name: this.column.moduleDefinition[0].columnCode,
|
|
21
|
+
phone: this.column.moduleDefinition[1].columnCode,
|
|
22
|
+
address: this.column.moduleDefinition[2].columnCode,
|
|
23
|
+
detail: this.column.moduleDefinition[3].columnCode
|
|
24
|
+
} : {
|
|
25
|
+
name: "name",
|
|
26
|
+
phone: "phone",
|
|
27
|
+
address: "address",
|
|
28
|
+
detail: "detail"
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
methods: {
|
|
33
|
+
/**
|
|
34
|
+
* 输入框输入事件
|
|
35
|
+
* */
|
|
36
|
+
onInput(n) {
|
|
37
|
+
this.column.error = "", this.column.warning = "", this.$emit("onInput", this.column), this.onChange(n);
|
|
38
|
+
},
|
|
39
|
+
/**
|
|
40
|
+
* 输入框Change事件
|
|
41
|
+
* @param {String} type 是否是其他事件类型
|
|
42
|
+
* */
|
|
43
|
+
onChange: v(function(n, o) {
|
|
44
|
+
this.column.error = "", this.column.warning = "", this.$emit("onChange", this.column);
|
|
45
|
+
}, 600),
|
|
46
|
+
/**
|
|
47
|
+
* 输入框onFocus事件
|
|
48
|
+
* */
|
|
49
|
+
onFocus(n) {
|
|
50
|
+
this.$emit("focus", this.column);
|
|
51
|
+
},
|
|
52
|
+
/**
|
|
53
|
+
* 输入框失去焦点事件
|
|
54
|
+
* */
|
|
55
|
+
onBlur() {
|
|
56
|
+
this.$emit("blur", this.column);
|
|
57
|
+
},
|
|
58
|
+
/**
|
|
59
|
+
*自动识别
|
|
60
|
+
* */
|
|
61
|
+
autoParse(n) {
|
|
62
|
+
this.column.value[this.valueKey.name] = n.name || "", this.column.value[this.valueKey.phone] = n.phone || "", this.column.value[this.valueKey.address] = n.address, this.column.value[this.valueKey.detail] = n.detail || "", this.onChange();
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}, V = { class: "w-default-wrap" }, p = { class: "w-flex-between w-margin-bottom10 w-flex-column-gap8" }, g = { class: "w-default-wrap w-margin-bottom10" }, C = { class: "w-default-wrap" };
|
|
66
|
+
function K(n, o, e, P, x, l) {
|
|
67
|
+
const c = t("formItemTop"), r = t("BnAddressParse"), m = t("el-input"), i = t("BnAddress"), h = t("formItemFooter");
|
|
68
|
+
return s(), B("div", V, [
|
|
69
|
+
e.column.name ? (s(), F(c, {
|
|
70
|
+
key: 0,
|
|
71
|
+
column: e.column
|
|
72
|
+
}, null, 8, ["column"])) : _("", !0),
|
|
73
|
+
a(r, {
|
|
74
|
+
onParse: l.autoParse,
|
|
75
|
+
"post-func": e.postFunc
|
|
76
|
+
}, null, 8, ["onParse", "post-func"]),
|
|
77
|
+
d("div", p, [
|
|
78
|
+
a(m, {
|
|
79
|
+
modelValue: e.column.value[l.valueKey.name],
|
|
80
|
+
"onUpdate:modelValue": o[0] || (o[0] = (u) => e.column.value[l.valueKey.name] = u),
|
|
81
|
+
disabled: e.disabled,
|
|
82
|
+
placeholder: "输入姓名",
|
|
83
|
+
onInput: l.onInput,
|
|
84
|
+
onFocus: l.onFocus,
|
|
85
|
+
onBlur: l.onBlur,
|
|
86
|
+
clearable: "",
|
|
87
|
+
"show-word-limit": ""
|
|
88
|
+
}, null, 8, ["modelValue", "disabled", "onInput", "onFocus", "onBlur"]),
|
|
89
|
+
a(m, {
|
|
90
|
+
modelValue: e.column.value[l.valueKey.phone],
|
|
91
|
+
"onUpdate:modelValue": o[1] || (o[1] = (u) => e.column.value[l.valueKey.phone] = u),
|
|
92
|
+
disabled: e.disabled,
|
|
93
|
+
placeholder: "输入手机号",
|
|
94
|
+
onInput: l.onInput,
|
|
95
|
+
onFocus: l.onFocus,
|
|
96
|
+
onBlur: l.onBlur,
|
|
97
|
+
clearable: "",
|
|
98
|
+
"show-word-limit": ""
|
|
99
|
+
}, null, 8, ["modelValue", "disabled", "onInput", "onFocus", "onBlur"])
|
|
100
|
+
]),
|
|
101
|
+
d("div", g, [
|
|
102
|
+
a(i, {
|
|
103
|
+
modelValue: e.column.value[l.valueKey.address],
|
|
104
|
+
"onUpdate:modelValue": o[2] || (o[2] = (u) => e.column.value[l.valueKey.address] = u),
|
|
105
|
+
postFunc: e.postFunc,
|
|
106
|
+
onChange: l.onChange,
|
|
107
|
+
"value-key": "code",
|
|
108
|
+
"level-num": e.column.levelNum || 4,
|
|
109
|
+
pathUrl: e.column.pathUrl || "/address/getAreaDataList",
|
|
110
|
+
disabled: e.disabled
|
|
111
|
+
}, null, 8, ["modelValue", "postFunc", "onChange", "level-num", "pathUrl", "disabled"])
|
|
112
|
+
]),
|
|
113
|
+
d("div", C, [
|
|
114
|
+
a(m, {
|
|
115
|
+
modelValue: e.column.value[l.valueKey.detail],
|
|
116
|
+
"onUpdate:modelValue": o[3] || (o[3] = (u) => e.column.value[l.valueKey.detail] = u),
|
|
117
|
+
type: "textarea",
|
|
118
|
+
rows: 3,
|
|
119
|
+
disabled: e.disabled,
|
|
120
|
+
resize: "none",
|
|
121
|
+
placeholder: "输入详细地址",
|
|
122
|
+
onInput: l.onInput,
|
|
123
|
+
onFocus: l.onFocus,
|
|
124
|
+
onBlur: l.onBlur,
|
|
125
|
+
clearable: "",
|
|
126
|
+
"show-word-limit": ""
|
|
127
|
+
}, null, 8, ["modelValue", "disabled", "onInput", "onFocus", "onBlur"])
|
|
128
|
+
]),
|
|
129
|
+
a(h, { column: e.column }, null, 8, ["column"])
|
|
130
|
+
]);
|
|
131
|
+
}
|
|
132
|
+
const T = /* @__PURE__ */ y(I, [["render", K]]);
|
|
133
|
+
export {
|
|
134
|
+
T as default
|
|
135
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { a as f, f as h } from "./formItemFooter-BvptZj_u.js";
|
|
2
|
+
import { resolveComponent as l, openBlock as o, createElementBlock as n, createVNode as m, createElementVNode as _, Fragment as p, renderList as k, createBlock as b, createCommentVNode as v } from "vue";
|
|
3
|
+
import { _ as x } from "./install-CNjs0u5x.js";
|
|
4
|
+
const F = {
|
|
5
|
+
name: "checkboxForm",
|
|
6
|
+
components: {
|
|
7
|
+
formItemFooter: h,
|
|
8
|
+
formItemTop: f
|
|
9
|
+
},
|
|
10
|
+
props: {
|
|
11
|
+
column: {
|
|
12
|
+
type: Object,
|
|
13
|
+
default: function() {
|
|
14
|
+
return {};
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
disabled: Boolean
|
|
18
|
+
},
|
|
19
|
+
methods: {
|
|
20
|
+
/**
|
|
21
|
+
* Change事件
|
|
22
|
+
* */
|
|
23
|
+
onChange(a, t) {
|
|
24
|
+
this.column.error = "", this.column.warning = "", this.$emit("onChange", this.column, "change");
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}, g = { class: "w-default-wrap checkboxForm" }, C = { class: "w-default-wrap checkboxForm-behavior clearFix" }, w = {
|
|
28
|
+
key: 0,
|
|
29
|
+
class: "w-default-wrap checkboxForm-empty"
|
|
30
|
+
};
|
|
31
|
+
function I(a, t, e, y, B, r) {
|
|
32
|
+
const d = l("formItemTop"), u = l("BnCheck"), s = l("formItemFooter");
|
|
33
|
+
return o(), n("div", g, [
|
|
34
|
+
m(d, { column: e.column }, null, 8, ["column"]),
|
|
35
|
+
_("div", C, [
|
|
36
|
+
(o(!0), n(p, null, k(e.column.moduleDefinition, (c) => (o(), n("div", {
|
|
37
|
+
class: "checkboxForm-item",
|
|
38
|
+
key: c.id
|
|
39
|
+
}, [
|
|
40
|
+
(o(), b(u, {
|
|
41
|
+
key: c.code,
|
|
42
|
+
modelValue: e.column.value,
|
|
43
|
+
"onUpdate:modelValue": t[0] || (t[0] = (i) => e.column.value = i),
|
|
44
|
+
"true-data": c,
|
|
45
|
+
disabled: e.disabled,
|
|
46
|
+
optionProps: { value: "code", label: "title" },
|
|
47
|
+
onChange: r.onChange
|
|
48
|
+
}, null, 8, ["modelValue", "true-data", "disabled", "onChange"]))
|
|
49
|
+
]))), 128)),
|
|
50
|
+
e.column.moduleDefinition.length == 0 ? (o(), n("div", w, " 无数据 ")) : v("", !0)
|
|
51
|
+
]),
|
|
52
|
+
m(s, { column: e.column }, null, 8, ["column"])
|
|
53
|
+
]);
|
|
54
|
+
}
|
|
55
|
+
const D = /* @__PURE__ */ x(F, [["render", I], ["__scopeId", "data-v-81241159"]]);
|
|
56
|
+
export {
|
|
57
|
+
D as default
|
|
58
|
+
};
|