@bytenew/bn-bus-ui 1.1.462 → 1.1.463
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/install.js +134 -0
- package/package.json +20 -4
- package/packages/BnAddress/index.vue +141 -0
- package/packages/BnAddressParse/index.vue +75 -0
- package/packages/BnAdvancedFilter/BnFilterView.vue +145 -0
- package/packages/BnAdvancedFilter/index.vue +345 -0
- package/packages/BnAdvancedFilter/util.js +171 -0
- package/packages/BnCascader/BnCascader.vue +543 -0
- package/packages/BnCascader/BnCascaderPanel.vue +1331 -0
- package/packages/BnCascader/cascaderDisplay.js +102 -0
- package/packages/BnCheck/BnCheck.vue +253 -0
- package/packages/BnColumnConfig/columnConfigDialog.vue +134 -0
- package/packages/BnColumnConfig/component/childrenFormSetting/assocTable.vue +143 -0
- package/packages/BnColumnConfig/component/childrenFormSetting/assocTableSearch.vue +314 -0
- package/packages/BnColumnConfig/component/childrenFormSetting/index.vue +243 -0
- package/packages/BnColumnConfig/component/defaultSet/defaultSet.vue +114 -0
- package/packages/BnColumnConfig/component/defaultSet/stringDefault.vue +210 -0
- package/packages/BnColumnConfig/component/funcExprDialog/funcExprDialog.vue +126 -0
- package/packages/BnColumnConfig/component/packageFilter/index.vue +141 -0
- package/packages/BnColumnConfig/component/paraExplainSet/index.vue +156 -0
- package/packages/BnColumnConfig/component/setOption/setOption.vue +321 -0
- package/packages/BnColumnConfig/component/setRelationOption/ConditionList.vue +277 -0
- package/packages/BnColumnConfig/component/setRelationOption/LevelHeader.vue +144 -0
- package/packages/BnColumnConfig/component/setRelationOption/setRelationOption.vue +642 -0
- package/packages/BnColumnConfig/data.js +129 -0
- package/packages/BnColumnConfig/index.scss +23 -0
- package/packages/BnColumnConfig/index.vue +309 -0
- package/packages/BnCondVal/BnCondVal.vue +112 -0
- package/packages/BnCondVal/itemVal/dateRegVal.vue +39 -0
- package/packages/BnCondVal/itemVal/dateVal.vue +39 -0
- package/packages/BnCondVal/itemVal/numRegVal.vue +67 -0
- package/packages/BnCondVal/itemVal/numVal.vue +44 -0
- package/packages/BnCondVal/itemVal/relationVal.vue +73 -0
- package/packages/BnCondVal/itemVal/selectColumnVal.vue +58 -0
- package/packages/BnCondVal/itemVal/selectVal.vue +59 -0
- package/packages/BnCondVal/itemVal/stringVal.vue +156 -0
- package/packages/BnCondition/index.vue +551 -0
- package/packages/BnCondition/util.js +232 -0
- package/packages/BnDatePicker/BnDatePicker.vue +194 -0
- package/packages/BnDrop/BnDrop.vue +917 -0
- package/packages/BnEmptyTip/BnEmptyTip.vue +107 -0
- package/packages/BnExportOrder/BnExportOrder.vue +241 -0
- package/packages/BnExportOrder/validatorCode.vue +94 -0
- package/packages/BnFileView/BnFileView.vue +271 -0
- package/packages/BnFileView/FileDetail.vue +125 -0
- package/packages/BnFileView/videoPreview.vue +70 -0
- package/packages/BnFilterOption/BnFilterOption.vue +160 -0
- package/packages/BnFunExpr/BnFunExpr.vue +608 -0
- package/packages/BnImportOrder/BnImportOrder.vue +323 -0
- package/packages/BnImportTemplate/BnImportTemplate.vue +866 -0
- 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 +198 -0
- package/packages/BnImportTemplate/components/TemplateEditDialog.vue +340 -0
- package/packages/BnImportTemplate/components/TemplateFieldsConfig.vue +401 -0
- package/packages/BnImportTemplate/components/TemplateListDialog.vue +297 -0
- package/packages/BnInpNum/BnInpNum.vue +165 -0
- package/packages/BnMenus/BnMenus.vue +502 -0
- package/packages/BnMenus/MenuItem.vue +321 -0
- package/packages/BnOrderCard/BnOrderCard.vue +389 -0
- package/packages/BnOrderCard/orderRemark.vue +178 -0
- package/packages/BnOrderCard/util.js +94 -0
- package/packages/BnOrderDetail/BnOrderDetail.vue +338 -0
- package/packages/BnOrderDetail/filterLogByUser.vue +108 -0
- package/packages/BnOrderDetail/orderLogs.vue +53 -0
- package/packages/BnOrderDetail/showSubForm/index.vue +41 -0
- package/packages/BnOrderDetail/showSubForm/showChildTable.vue +61 -0
- package/packages/BnOrderDetail/showSubForm/showTimeLine.vue +131 -0
- package/packages/BnOrderDetail/showSubForm/tableCellCopy.vue +84 -0
- package/packages/BnOrderShare/index.vue +378 -0
- package/packages/BnOrderShare/shareUrlInp.vue +54 -0
- package/packages/BnRadio/BnRadio.vue +181 -0
- package/packages/BnRelation/BnRelation.vue +120 -0
- package/packages/BnSelect/BnSelect.vue +485 -0
- package/packages/BnSmartForm/BnBatchForm.vue +334 -0
- package/packages/BnSmartForm/BnBatchFormDialog.vue +423 -0
- package/packages/BnSmartForm/BnSmartElf/elfLog/index.vue +57 -0
- package/packages/BnSmartForm/BnSmartElf/index.vue +95 -0
- package/packages/BnSmartForm/BnSmartFormPsychic.js +629 -0
- package/packages/BnSmartForm/BnSmartFormUtil.js +524 -0
- package/packages/BnSmartForm/addressForm/index.vue +73 -0
- package/packages/BnSmartForm/checkboxForm/index.vue +99 -0
- package/packages/BnSmartForm/childrenForm/childFormFile.vue +237 -0
- package/packages/BnSmartForm/childrenForm/childrenFormBody.vue +260 -0
- package/packages/BnSmartForm/childrenForm/index.vue +110 -0
- package/packages/BnSmartForm/childrenForm/searchInventory.vue +115 -0
- package/packages/BnSmartForm/chooseAssocTable/chooseAssocTable.vue +451 -0
- package/packages/BnSmartForm/chooseAssocTable/chooseChildGood.vue +229 -0
- package/packages/BnSmartForm/chooseAssocTable/tableCellCopy.vue +84 -0
- package/packages/BnSmartForm/chooseChildOrder/chooseChildOrder.vue +158 -0
- package/packages/BnSmartForm/chooseIPaasData/chooseIPaasData.vue +307 -0
- package/packages/BnSmartForm/chooseIPaasData/tableCellCopy.vue +84 -0
- package/packages/BnSmartForm/choosePackage/choosePackage.vue +361 -0
- package/packages/BnSmartForm/dateDualForm/index.vue +37 -0
- package/packages/BnSmartForm/dateForm/index.vue +38 -0
- package/packages/BnSmartForm/fileForm/fileFormData.js +50 -0
- package/packages/BnSmartForm/fileForm/index.vue +240 -0
- package/packages/BnSmartForm/formItemFooter/formItemFooter.vue +38 -0
- package/packages/BnSmartForm/formItemTop/formItemTop.vue +42 -0
- package/packages/BnSmartForm/index.vue +1201 -0
- package/packages/BnSmartForm/numberForm/index.vue +63 -0
- package/packages/BnSmartForm/radioForm/index.vue +72 -0
- package/packages/BnSmartForm/receiveForm/index.vue +112 -0
- package/packages/BnSmartForm/relationForm/index.vue +82 -0
- package/packages/BnSmartForm/scoreForm/index.vue +39 -0
- package/packages/BnSmartForm/selectForm/index.vue +55 -0
- package/packages/BnSmartForm/showValForm/index.vue +42 -0
- package/packages/BnSmartForm/showValForm/showValFormTable.vue +104 -0
- package/packages/BnSmartForm/smartFormsCommon.scss +43 -0
- package/packages/BnSmartForm/stringForm/index.vue +170 -0
- package/packages/BnVirtPopover/index.vue +319 -0
- package/packages/BnWebLog/BnWebLog.vue +140 -0
- package/packages/BnWorkSettingDrop/advancedOptions.js +112 -0
- package/packages/BnWorkSettingDrop/benBenAIUtil.js +89 -0
- package/packages/BnWorkSettingDrop/index.vue +292 -0
- package/packages/font/iconfont.css +243 -0
- 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 +645 -0
- package/utils/addressParse.js +735 -0
- package/utils/config.js +68 -0
- package/utils/index.js +1171 -0
- package/dist/assocTableSearch-CmzOXI5w.js +0 -349
- package/dist/assocTableSearch.css +0 -1
- package/dist/bn-bus-ui.es.js +0 -65
- package/dist/bn-bus-ui.umd.js +0 -49
- package/dist/chooseIPaasData-jkTJEMKT.js +0 -391
- package/dist/chooseIPaasData.css +0 -1
- package/dist/defaultSet-CiYuSOzT.js +0 -297
- package/dist/defaultSet.css +0 -1
- package/dist/fileFormData-D_Q1vylE.js +0 -53
- package/dist/formItemFooter-BpnVUUgV.js +0 -108
- package/dist/formItemFooter.css +0 -1
- package/dist/funcExprDialog-BMc-n5FL.js +0 -139
- package/dist/funcExprDialog.css +0 -1
- package/dist/index-8GQJARcF.js +0 -44
- package/dist/index-8apT0r8m.js +0 -66
- package/dist/index-BOFu3qAH.js +0 -183
- package/dist/index-BSKXuSid.js +0 -89
- package/dist/index-BhYvDd_Q.js +0 -45
- package/dist/index-BhqkeVFc.js +0 -45
- package/dist/index-CK7_Ou7F.js +0 -89
- package/dist/index-Cfb8D3Fg.js +0 -58
- package/dist/index-D1fGD0mX.js +0 -51
- package/dist/index-DE_eQGbT.js +0 -746
- package/dist/index-DfgiBqzS.js +0 -221
- package/dist/index-Dobi0ms9.js +0 -66
- package/dist/index-DuyQNxe0.js +0 -118
- package/dist/index-DxpJkrN7.js +0 -64
- package/dist/index-FGHeG46m.js +0 -109
- package/dist/index-P2M7CUTe.js +0 -178
- package/dist/index-xCz2zysE.js +0 -135
- package/dist/index.css +0 -1
- package/dist/index2.css +0 -1
- package/dist/index3.css +0 -1
- package/dist/index4.css +0 -1
- package/dist/index5.css +0 -1
- package/dist/index6.css +0 -1
- package/dist/index7.css +0 -1
- package/dist/install--7IU60oV.js +0 -23103
- package/dist/install.css +0 -1
- package/dist/setOption-DehYZpZr.js +0 -329
- package/dist/setOption.css +0 -1
- package/dist/setRelationOption-BL-AFUoF.js +0 -5217
- package/dist/setRelationOption.css +0 -1
package/dist/index-BhYvDd_Q.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { f as d, a as s } from "./formItemFooter-BpnVUUgV.js";
|
|
2
|
-
import { debounce as f } from "lodash";
|
|
3
|
-
import { resolveComponent as n, openBlock as i, createElementBlock as _, createVNode as t, createElementVNode as p } from "vue";
|
|
4
|
-
import { _ as x } from "./install--7IU60oV.js";
|
|
5
|
-
const h = {
|
|
6
|
-
name: "numberForm",
|
|
7
|
-
components: { formItemTop: s, formItemFooter: d },
|
|
8
|
-
props: {
|
|
9
|
-
column: {
|
|
10
|
-
type: Object,
|
|
11
|
-
default: function() {
|
|
12
|
-
return {};
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
disabled: Boolean
|
|
16
|
-
},
|
|
17
|
-
methods: {
|
|
18
|
-
/**
|
|
19
|
-
* 输入框Change事件
|
|
20
|
-
* */
|
|
21
|
-
onChange: f(function(m, o) {
|
|
22
|
-
this.$emit("onChange", this.column);
|
|
23
|
-
}, 500)
|
|
24
|
-
}
|
|
25
|
-
}, I = { class: "w-default-wrap" }, b = { class: "w-default-wrap" };
|
|
26
|
-
function v(m, o, e, C, g, a) {
|
|
27
|
-
const l = n("formItemTop"), c = n("el-rate"), r = n("formItemFooter");
|
|
28
|
-
return i(), _("div", I, [
|
|
29
|
-
t(l, { column: e.column }, null, 8, ["column"]),
|
|
30
|
-
p("div", b, [
|
|
31
|
-
t(c, {
|
|
32
|
-
modelValue: e.column.value,
|
|
33
|
-
"onUpdate:modelValue": o[0] || (o[0] = (u) => e.column.value = u),
|
|
34
|
-
disabled: e.disabled,
|
|
35
|
-
onChange: a.onChange,
|
|
36
|
-
max: e.column.extraInfo.valueMaxSize ? parseInt(e.column.extraInfo.valueMaxSize) : 5
|
|
37
|
-
}, null, 8, ["modelValue", "disabled", "onChange", "max"])
|
|
38
|
-
]),
|
|
39
|
-
t(r, { column: e.column }, null, 8, ["column"])
|
|
40
|
-
]);
|
|
41
|
-
}
|
|
42
|
-
const T = /* @__PURE__ */ x(h, [["render", v]]);
|
|
43
|
-
export {
|
|
44
|
-
T as default
|
|
45
|
-
};
|
package/dist/index-BhqkeVFc.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { f as s, a as d } from "./formItemFooter-BpnVUUgV.js";
|
|
2
|
-
import { resolveComponent as o, openBlock as u, createElementBlock as i, createVNode as t, createElementVNode as f } from "vue";
|
|
3
|
-
import { _ } from "./install--7IU60oV.js";
|
|
4
|
-
const p = {
|
|
5
|
-
name: "dateForm",
|
|
6
|
-
components: { formItemTop: d, formItemFooter: s },
|
|
7
|
-
props: {
|
|
8
|
-
column: {
|
|
9
|
-
type: Object,
|
|
10
|
-
default() {
|
|
11
|
-
return {};
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
disabled: Boolean
|
|
15
|
-
},
|
|
16
|
-
methods: {
|
|
17
|
-
changeVal() {
|
|
18
|
-
this.column.error = "", this.column.warning = "", this.$emit("onChange", this.column, "change");
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}, h = { class: "w-default-wrap" }, Y = { class: "w-default-wrap" };
|
|
22
|
-
function g(V, n, e, b, v, m) {
|
|
23
|
-
const l = o("formItemTop"), a = o("el-date-picker"), c = o("formItemFooter");
|
|
24
|
-
return u(), i("div", h, [
|
|
25
|
-
t(l, { column: e.column }, null, 8, ["column"]),
|
|
26
|
-
f("div", Y, [
|
|
27
|
-
t(a, {
|
|
28
|
-
onChange: m.changeVal,
|
|
29
|
-
style: { width: "100%" },
|
|
30
|
-
disabled: e.disabled,
|
|
31
|
-
modelValue: e.column.value,
|
|
32
|
-
"onUpdate:modelValue": n[0] || (n[0] = (r) => e.column.value = r),
|
|
33
|
-
type: "datetime",
|
|
34
|
-
placement: "bottom-start",
|
|
35
|
-
format: "YYYY-MM-DD HH:mm:ss",
|
|
36
|
-
"value-format": "YYYY-MM-DD HH:mm:ss"
|
|
37
|
-
}, null, 8, ["onChange", "disabled", "modelValue"])
|
|
38
|
-
]),
|
|
39
|
-
t(c, { column: e.column }, null, 8, ["column"])
|
|
40
|
-
]);
|
|
41
|
-
}
|
|
42
|
-
const x = /* @__PURE__ */ _(p, [["render", g]]);
|
|
43
|
-
export {
|
|
44
|
-
x as default
|
|
45
|
-
};
|
package/dist/index-CK7_Ou7F.js
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { debounce as h } from "lodash";
|
|
2
|
-
import { f, a as _ } from "./formItemFooter-BpnVUUgV.js";
|
|
3
|
-
import { B as p } from "./index-BSKXuSid.js";
|
|
4
|
-
import { resolveComponent as l, openBlock as C, createElementBlock as F, createVNode as u, createElementVNode as s } from "vue";
|
|
5
|
-
import { _ as B } from "./install--7IU60oV.js";
|
|
6
|
-
const b = {
|
|
7
|
-
name: "addressForm",
|
|
8
|
-
components: { BnAddressParse: p, formItemTop: _, formItemFooter: f },
|
|
9
|
-
props: {
|
|
10
|
-
column: Object,
|
|
11
|
-
disabled: Boolean,
|
|
12
|
-
postFunc: Function
|
|
13
|
-
},
|
|
14
|
-
methods: {
|
|
15
|
-
/**
|
|
16
|
-
* 输入框输入事件
|
|
17
|
-
* */
|
|
18
|
-
onInput(n) {
|
|
19
|
-
this.column.error = "", this.column.warning = "", this.$emit("onInput", this.column), this.onChange(n);
|
|
20
|
-
},
|
|
21
|
-
/**
|
|
22
|
-
* 输入框Change事件
|
|
23
|
-
* @param {String} type 是否是其他事件类型
|
|
24
|
-
* */
|
|
25
|
-
onChange: h(function(n, e) {
|
|
26
|
-
this.column.error = "", this.column.warning = "", this.$emit("onChange", this.column);
|
|
27
|
-
}, 600),
|
|
28
|
-
/**
|
|
29
|
-
* 输入框onFocus事件
|
|
30
|
-
* */
|
|
31
|
-
onFocus(n) {
|
|
32
|
-
this.$emit("focus", this.column);
|
|
33
|
-
},
|
|
34
|
-
/**
|
|
35
|
-
* 输入框失去焦点事件
|
|
36
|
-
* */
|
|
37
|
-
onBlur() {
|
|
38
|
-
this.$emit("blur", this.column);
|
|
39
|
-
},
|
|
40
|
-
/**
|
|
41
|
-
*自动识别
|
|
42
|
-
* */
|
|
43
|
-
autoParse(n) {
|
|
44
|
-
this.column.value[this.column.moduleDefinition[0].columnCode] = n.address, this.column.value[this.column.moduleDefinition[1].columnCode] = n.detail || "", this.onChange();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}, w = { class: "w-default-wrap" }, g = { class: "w-default-wrap w-margin-bottom10" }, v = { class: "w-default-wrap" };
|
|
48
|
-
function I(n, e, o, V, D, t) {
|
|
49
|
-
const c = l("formItemTop"), a = l("BnAddressParse"), d = l("BnAddress"), i = l("el-input"), r = l("formItemFooter");
|
|
50
|
-
return C(), F("div", w, [
|
|
51
|
-
u(c, { column: o.column }, null, 8, ["column"]),
|
|
52
|
-
u(a, {
|
|
53
|
-
onParse: t.autoParse,
|
|
54
|
-
"post-func": o.postFunc
|
|
55
|
-
}, null, 8, ["onParse", "post-func"]),
|
|
56
|
-
s("div", g, [
|
|
57
|
-
u(d, {
|
|
58
|
-
modelValue: o.column.value[o.column.moduleDefinition[0].columnCode],
|
|
59
|
-
"onUpdate:modelValue": e[0] || (e[0] = (m) => o.column.value[o.column.moduleDefinition[0].columnCode] = m),
|
|
60
|
-
postFunc: o.postFunc,
|
|
61
|
-
onChange: t.onChange,
|
|
62
|
-
"value-key": "code",
|
|
63
|
-
pathUrl: o.column.pathUrl || "/address/getAreaDataList",
|
|
64
|
-
disabled: o.disabled
|
|
65
|
-
}, null, 8, ["modelValue", "postFunc", "onChange", "pathUrl", "disabled"])
|
|
66
|
-
]),
|
|
67
|
-
s("div", v, [
|
|
68
|
-
u(i, {
|
|
69
|
-
modelValue: o.column.value[o.column.moduleDefinition[1].columnCode],
|
|
70
|
-
"onUpdate:modelValue": e[1] || (e[1] = (m) => o.column.value[o.column.moduleDefinition[1].columnCode] = m),
|
|
71
|
-
type: "textarea",
|
|
72
|
-
rows: 3,
|
|
73
|
-
disabled: o.disabled,
|
|
74
|
-
resize: "none",
|
|
75
|
-
placeholder: "输入详细地址",
|
|
76
|
-
onInput: t.onInput,
|
|
77
|
-
onFocus: t.onFocus,
|
|
78
|
-
onBlur: t.onBlur,
|
|
79
|
-
clearable: "",
|
|
80
|
-
"show-word-limit": ""
|
|
81
|
-
}, null, 8, ["modelValue", "disabled", "onInput", "onFocus", "onBlur"])
|
|
82
|
-
]),
|
|
83
|
-
u(r, { column: o.column }, null, 8, ["column"])
|
|
84
|
-
]);
|
|
85
|
-
}
|
|
86
|
-
const y = /* @__PURE__ */ B(b, [["render", I]]);
|
|
87
|
-
export {
|
|
88
|
-
y as default
|
|
89
|
-
};
|
package/dist/index-Cfb8D3Fg.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { a as f, f as h } from "./formItemFooter-BpnVUUgV.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--7IU60oV.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
|
-
};
|
package/dist/index-D1fGD0mX.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { a as f, f as _ } from "./formItemFooter-BpnVUUgV.js";
|
|
2
|
-
import { resolveComponent as n, openBlock as o, createElementBlock as t, createVNode as a, createElementVNode as p, Fragment as h, renderList as v, createCommentVNode as F } from "vue";
|
|
3
|
-
import { _ as g } from "./install--7IU60oV.js";
|
|
4
|
-
const V = {
|
|
5
|
-
name: "radioForm",
|
|
6
|
-
components: { formItemFooter: _, formItemTop: f },
|
|
7
|
-
props: {
|
|
8
|
-
column: {
|
|
9
|
-
type: Object,
|
|
10
|
-
default: function() {
|
|
11
|
-
return {};
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
disabled: Boolean
|
|
15
|
-
},
|
|
16
|
-
methods: {
|
|
17
|
-
changeVal() {
|
|
18
|
-
this.column.error = "", this.column.warning = "", this.$emit("onChange", this.column);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}, w = { class: "w-default-wrap radioForm" }, I = { class: "w-default-wrap clearFix" }, b = {
|
|
22
|
-
key: 0,
|
|
23
|
-
class: "w-default-wrap radioForm-empty"
|
|
24
|
-
};
|
|
25
|
-
function x(B, l, e, C, k, m) {
|
|
26
|
-
const r = n("formItemTop"), c = n("BnRadio"), d = n("formItemFooter");
|
|
27
|
-
return o(), t("div", w, [
|
|
28
|
-
a(r, { column: e.column }, null, 8, ["column"]),
|
|
29
|
-
p("div", I, [
|
|
30
|
-
(o(!0), t(h, null, v(e.column.moduleDefinition, (i, u) => (o(), t("div", {
|
|
31
|
-
class: "radioForm-item",
|
|
32
|
-
key: u
|
|
33
|
-
}, [
|
|
34
|
-
a(c, {
|
|
35
|
-
modelValue: e.column.value,
|
|
36
|
-
"onUpdate:modelValue": l[0] || (l[0] = (s) => e.column.value = s),
|
|
37
|
-
optionProps: { value: "code", label: "title" },
|
|
38
|
-
disabled: e.disabled,
|
|
39
|
-
trueData: i,
|
|
40
|
-
onChange: m.changeVal
|
|
41
|
-
}, null, 8, ["modelValue", "disabled", "trueData", "onChange"])
|
|
42
|
-
]))), 128)),
|
|
43
|
-
e.column.moduleDefinition.length == 0 ? (o(), t("div", b, " 无数据 ")) : F("", !0)
|
|
44
|
-
]),
|
|
45
|
-
a(d, { column: e.column }, null, 8, ["column"])
|
|
46
|
-
]);
|
|
47
|
-
}
|
|
48
|
-
const T = /* @__PURE__ */ g(V, [["render", x], ["__scopeId", "data-v-7a529164"]]);
|
|
49
|
-
export {
|
|
50
|
-
T as default
|
|
51
|
-
};
|