bm-admin-ui 1.2.39-alpha → 1.2.40-alpha
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/es/components/cascader/index.js +77 -77
- package/es/components/edit-form/index.js +1 -1
- package/es/components/flow-designer/index.js +1 -1
- package/es/components/form-create/index.js +16 -6
- package/lib/components/cascader/index.js +77 -77
- package/lib/components/edit-form/index.js +1 -1
- package/lib/components/flow-designer/index.js +1 -1
- package/lib/components/form-create/index.js +15 -5
- package/package.json +34 -34
|
@@ -10,71 +10,71 @@ var _export_sfc = (sfc, props) => {
|
|
|
10
10
|
return target;
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
const _sfc_main = defineComponent({
|
|
14
|
-
name: 'BmCascader',
|
|
15
|
-
components: { DownOutlined },
|
|
16
|
-
props: {
|
|
17
|
-
tipType: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: () => {
|
|
20
|
-
return 'none'
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
width: {
|
|
24
|
-
type: Number,
|
|
25
|
-
default: () => {
|
|
26
|
-
return 200
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
setup(props, { emit, attrs }) {
|
|
31
|
-
const nameArr = (arr) => {
|
|
32
|
-
return arr.reduce(
|
|
33
|
-
(acc, cur) => acc.concat(Array.isArray(cur) ? nameArr(cur) : cur),
|
|
34
|
-
[]
|
|
35
|
-
)
|
|
36
|
-
};
|
|
37
|
-
const state = reactive({
|
|
38
|
-
labelNameList: '',
|
|
39
|
-
visible: false,
|
|
40
|
-
});
|
|
41
|
-
const methods = {
|
|
42
|
-
onmouseover() {
|
|
43
|
-
state.labelNameList.length && (state.visible = true);
|
|
44
|
-
},
|
|
45
|
-
onmouseout() {
|
|
46
|
-
state.labelNameList.length && (state.visible = false);
|
|
47
|
-
},
|
|
48
|
-
onchange(value, selectedOptions) {
|
|
49
|
-
if (attrs.multiple === '' || attrs.multiple) {
|
|
50
|
-
let res = selectedOptions.map((v, k) => {
|
|
51
|
-
return v.map((e, i) => {
|
|
52
|
-
return e.label
|
|
53
|
-
})
|
|
54
|
-
});
|
|
55
|
-
state.labelNameList = nameArr(res).join(',');
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
};
|
|
59
|
-
watch(
|
|
60
|
-
() => state.labelNameList.length,
|
|
61
|
-
(val) => {
|
|
62
|
-
if (!val) {
|
|
63
|
-
state.visible = false;
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
{ deep: true }
|
|
67
|
-
);
|
|
68
|
-
onMounted(() => {
|
|
69
|
-
attrs.value?.length &&
|
|
70
|
-
(state.labelNameList = nameArr(attrs.value).join(','));
|
|
71
|
-
});
|
|
72
|
-
return {
|
|
73
|
-
...toRefs(state),
|
|
74
|
-
...methods,
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
});
|
|
13
|
+
const _sfc_main = defineComponent({
|
|
14
|
+
name: 'BmCascader',
|
|
15
|
+
components: { DownOutlined },
|
|
16
|
+
props: {
|
|
17
|
+
tipType: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: () => {
|
|
20
|
+
return 'none'
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
width: {
|
|
24
|
+
type: Number,
|
|
25
|
+
default: () => {
|
|
26
|
+
return 200
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
setup(props, { emit, attrs }) {
|
|
31
|
+
const nameArr = (arr) => {
|
|
32
|
+
return arr.reduce(
|
|
33
|
+
(acc, cur) => acc.concat(Array.isArray(cur) ? nameArr(cur) : cur),
|
|
34
|
+
[]
|
|
35
|
+
)
|
|
36
|
+
};
|
|
37
|
+
const state = reactive({
|
|
38
|
+
labelNameList: '',
|
|
39
|
+
visible: false,
|
|
40
|
+
});
|
|
41
|
+
const methods = {
|
|
42
|
+
onmouseover() {
|
|
43
|
+
state.labelNameList.length && (state.visible = true);
|
|
44
|
+
},
|
|
45
|
+
onmouseout() {
|
|
46
|
+
state.labelNameList.length && (state.visible = false);
|
|
47
|
+
},
|
|
48
|
+
onchange(value, selectedOptions) {
|
|
49
|
+
if (attrs.multiple === '' || attrs.multiple) {
|
|
50
|
+
let res = selectedOptions.map((v, k) => {
|
|
51
|
+
return v.map((e, i) => {
|
|
52
|
+
return e.label
|
|
53
|
+
})
|
|
54
|
+
});
|
|
55
|
+
state.labelNameList = nameArr(res).join(',');
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
watch(
|
|
60
|
+
() => state.labelNameList.length,
|
|
61
|
+
(val) => {
|
|
62
|
+
if (!val) {
|
|
63
|
+
state.visible = false;
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{ deep: true }
|
|
67
|
+
);
|
|
68
|
+
onMounted(() => {
|
|
69
|
+
attrs.value?.length &&
|
|
70
|
+
(state.labelNameList = nameArr(attrs.value).join(','));
|
|
71
|
+
});
|
|
72
|
+
return {
|
|
73
|
+
...toRefs(state),
|
|
74
|
+
...methods,
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
});
|
|
78
78
|
|
|
79
79
|
const _hoisted_1 = {
|
|
80
80
|
ref: "BmCascader",
|
|
@@ -95,18 +95,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
95
95
|
? (openBlock(), createBlock(_component_a_popover, {
|
|
96
96
|
key: 0,
|
|
97
97
|
visible: _ctx.visible,
|
|
98
|
-
"get-popup-container":
|
|
99
|
-
(triggerNode) => {
|
|
100
|
-
return triggerNode.parentNode
|
|
101
|
-
}
|
|
98
|
+
"get-popup-container":
|
|
99
|
+
(triggerNode) => {
|
|
100
|
+
return triggerNode.parentNode
|
|
101
|
+
}
|
|
102
102
|
|
|
103
103
|
}, createSlots({
|
|
104
104
|
default: withCtx(() => [
|
|
105
105
|
createVNode(_component_a_cascader, mergeProps(_ctx.$attrs, {
|
|
106
|
-
style: {
|
|
107
|
-
width:
|
|
108
|
-
_ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
|
|
109
|
-
minWidth: _ctx.width + 'px',
|
|
106
|
+
style: {
|
|
107
|
+
width:
|
|
108
|
+
_ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
|
|
109
|
+
minWidth: _ctx.width + 'px',
|
|
110
110
|
},
|
|
111
111
|
"show-arrow": true,
|
|
112
112
|
onMouseover: _ctx.onmouseover,
|
|
@@ -159,10 +159,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
159
159
|
}, createSlots({
|
|
160
160
|
default: withCtx(() => [
|
|
161
161
|
createVNode(_component_a_cascader, mergeProps(_ctx.$attrs, {
|
|
162
|
-
style: {
|
|
163
|
-
width:
|
|
164
|
-
_ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
|
|
165
|
-
minWidth: _ctx.width + 'px',
|
|
162
|
+
style: {
|
|
163
|
+
width:
|
|
164
|
+
_ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
|
|
165
|
+
minWidth: _ctx.width + 'px',
|
|
166
166
|
},
|
|
167
167
|
"show-arrow": true,
|
|
168
168
|
onMouseover: _ctx.onmouseover,
|
|
@@ -1070,7 +1070,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1070
1070
|
createVNode(unref(BmOverTooltips), {
|
|
1071
1071
|
title: unref(getShowValue)(item) || tmpForm.value[item.prop]
|
|
1072
1072
|
}, null, 8, ["title"]),
|
|
1073
|
-
createCommentVNode(' <AutoTooltip\n :tooltip="getShowValue(item) || tmpForm[item.prop]"\n /> ')
|
|
1073
|
+
createCommentVNode(' <AutoTooltip\r\n :tooltip="getShowValue(item) || tmpForm[item.prop]"\r\n /> ')
|
|
1074
1074
|
], 6)) : createCommentVNode("v-if", true),
|
|
1075
1075
|
item.type === "multiText" ? (openBlock(), createElementBlock("div", {
|
|
1076
1076
|
key: 15,
|
|
@@ -276,7 +276,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
276
276
|
createElementVNode("span", {
|
|
277
277
|
class: normalizeClass(["opeator", { active: __props.isCustom }])
|
|
278
278
|
}, [
|
|
279
|
-
createCommentVNode(' <CopyOutlined\n @click.stop="\n () => {\n copyCallback()\n }\n " /> \u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
|
|
279
|
+
createCommentVNode(' <CopyOutlined\r\n @click.stop="\r\n () => {\r\n copyCallback()\r\n }\r\n " /> \u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
|
|
280
280
|
createVNode(unref(CloseOutlined), {
|
|
281
281
|
onClick: _cache[0] || (_cache[0] = withModifiers(
|
|
282
282
|
() => {
|
|
@@ -5,7 +5,7 @@ import dayjs from 'dayjs';
|
|
|
5
5
|
import Picture from 'bm-admin-ui/es/components/upload';
|
|
6
6
|
import BmStaffsSelector from 'bm-admin-ui/es/components/staffs-selector';
|
|
7
7
|
import { BmTagsDisplay, BmFloatTable, BmOverTooltips } from 'bm-admin-ui/es/components';
|
|
8
|
-
import { EyeOutlined, SearchOutlined, CheckCircleFilled, PlusOutlined } from '@ant-design/icons-vue';
|
|
8
|
+
import { EyeOutlined, SearchOutlined, CheckCircleFilled, PlusOutlined, ExclamationCircleFilled } from '@ant-design/icons-vue';
|
|
9
9
|
import { cloneDeep, floor, debounce } from 'lodash-es';
|
|
10
10
|
import customParseFormat from 'dayjs/plugin/customParseFormat';
|
|
11
11
|
import utils from 'bm-admin-ui/es/utils/index';
|
|
@@ -18766,7 +18766,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
18766
18766
|
debounceFetch("");
|
|
18767
18767
|
return (_ctx, _cache) => {
|
|
18768
18768
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
18769
|
-
createCommentVNode(' <Input\n v-model:value="inputValue"\n placeholder="\u8BF7\u8F93\u5165"\n :disabled="disabled"\n @change="debounceFn($event.target.value)"\n ></Input> '),
|
|
18769
|
+
createCommentVNode(' <Input\r\n v-model:value="inputValue"\r\n placeholder="\u8BF7\u8F93\u5165"\r\n :disabled="disabled"\r\n @change="debounceFn($event.target.value)"\r\n ></Input> '),
|
|
18770
18770
|
createVNode(unref(Select), {
|
|
18771
18771
|
value: __props.value,
|
|
18772
18772
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
@@ -19868,7 +19868,16 @@ const _sfc_main$7 = defineComponent({
|
|
|
19868
19868
|
]),
|
|
19869
19869
|
_: 1
|
|
19870
19870
|
}, 8, ["disabled"])) : createCommentVNode("v-if", true)
|
|
19871
|
-
], 64)) :
|
|
19871
|
+
], 64)) : unref(tableConfig).isActivityCheckFlag ? (openBlock(), createBlock(unref(Button), {
|
|
19872
|
+
key: 1,
|
|
19873
|
+
loading: buttonLoading.value.export,
|
|
19874
|
+
onClick: handleExport
|
|
19875
|
+
}, {
|
|
19876
|
+
default: withCtx(() => [
|
|
19877
|
+
createTextVNode("\u5BFC\u51FA")
|
|
19878
|
+
]),
|
|
19879
|
+
_: 1
|
|
19880
|
+
}, 8, ["loading"])) : createCommentVNode("v-if", true)
|
|
19872
19881
|
])) : (openBlock(), createElementBlock("div", _hoisted_6$3, [
|
|
19873
19882
|
!__props.hidden ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
19874
19883
|
unref(exportFeature) ? (openBlock(), createBlock(unref(Button), {
|
|
@@ -19935,8 +19944,7 @@ const _sfc_main$7 = defineComponent({
|
|
|
19935
19944
|
}, 8, ["disabled"])
|
|
19936
19945
|
], 64)) : unref(tableConfig).isActivityCheckFlag ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
19937
19946
|
createCommentVNode(" \u6D3B\u52A8\u5BA1\u6838\u9875 \u53EA\u5C55\u793A\u5BFC\u51FA\u6309\u94AE "),
|
|
19938
|
-
|
|
19939
|
-
key: 0,
|
|
19947
|
+
createVNode(unref(Button), {
|
|
19940
19948
|
loading: buttonLoading.value.export,
|
|
19941
19949
|
onClick: handleExport
|
|
19942
19950
|
}, {
|
|
@@ -19944,7 +19952,7 @@ const _sfc_main$7 = defineComponent({
|
|
|
19944
19952
|
createTextVNode("\u5BFC\u51FA")
|
|
19945
19953
|
]),
|
|
19946
19954
|
_: 1
|
|
19947
|
-
}, 8, ["loading"])
|
|
19955
|
+
}, 8, ["loading"])
|
|
19948
19956
|
], 64)) : createCommentVNode("v-if", true)
|
|
19949
19957
|
]))
|
|
19950
19958
|
]),
|
|
@@ -21079,6 +21087,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
21079
21087
|
if (isAssociated.value) {
|
|
21080
21088
|
Modal.confirm({
|
|
21081
21089
|
title: "\u66F4\u6362\u5E97\u94FA\u5C06\u6E05\u7A7A\u5173\u8054\u7684\u5546\u54C1\u4FE1\u606F\uFF0C\u786E\u8BA4\u66F4\u6362\u5E97\u94FA\u4E48\uFF1F",
|
|
21090
|
+
centered: true,
|
|
21091
|
+
icon: createVNode(ExclamationCircleFilled),
|
|
21082
21092
|
onOk() {
|
|
21083
21093
|
handleChange(val, option);
|
|
21084
21094
|
}
|
|
@@ -14,71 +14,71 @@ var _export_sfc = (sfc, props) => {
|
|
|
14
14
|
return target;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
-
const _sfc_main = vue.defineComponent({
|
|
18
|
-
name: 'BmCascader',
|
|
19
|
-
components: { DownOutlined: iconsVue.DownOutlined },
|
|
20
|
-
props: {
|
|
21
|
-
tipType: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: () => {
|
|
24
|
-
return 'none'
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
width: {
|
|
28
|
-
type: Number,
|
|
29
|
-
default: () => {
|
|
30
|
-
return 200
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
setup(props, { emit, attrs }) {
|
|
35
|
-
const nameArr = (arr) => {
|
|
36
|
-
return arr.reduce(
|
|
37
|
-
(acc, cur) => acc.concat(Array.isArray(cur) ? nameArr(cur) : cur),
|
|
38
|
-
[]
|
|
39
|
-
)
|
|
40
|
-
};
|
|
41
|
-
const state = vue.reactive({
|
|
42
|
-
labelNameList: '',
|
|
43
|
-
visible: false,
|
|
44
|
-
});
|
|
45
|
-
const methods = {
|
|
46
|
-
onmouseover() {
|
|
47
|
-
state.labelNameList.length && (state.visible = true);
|
|
48
|
-
},
|
|
49
|
-
onmouseout() {
|
|
50
|
-
state.labelNameList.length && (state.visible = false);
|
|
51
|
-
},
|
|
52
|
-
onchange(value, selectedOptions) {
|
|
53
|
-
if (attrs.multiple === '' || attrs.multiple) {
|
|
54
|
-
let res = selectedOptions.map((v, k) => {
|
|
55
|
-
return v.map((e, i) => {
|
|
56
|
-
return e.label
|
|
57
|
-
})
|
|
58
|
-
});
|
|
59
|
-
state.labelNameList = nameArr(res).join(',');
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
};
|
|
63
|
-
vue.watch(
|
|
64
|
-
() => state.labelNameList.length,
|
|
65
|
-
(val) => {
|
|
66
|
-
if (!val) {
|
|
67
|
-
state.visible = false;
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
{ deep: true }
|
|
71
|
-
);
|
|
72
|
-
vue.onMounted(() => {
|
|
73
|
-
attrs.value?.length &&
|
|
74
|
-
(state.labelNameList = nameArr(attrs.value).join(','));
|
|
75
|
-
});
|
|
76
|
-
return {
|
|
77
|
-
...vue.toRefs(state),
|
|
78
|
-
...methods,
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
});
|
|
17
|
+
const _sfc_main = vue.defineComponent({
|
|
18
|
+
name: 'BmCascader',
|
|
19
|
+
components: { DownOutlined: iconsVue.DownOutlined },
|
|
20
|
+
props: {
|
|
21
|
+
tipType: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: () => {
|
|
24
|
+
return 'none'
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
width: {
|
|
28
|
+
type: Number,
|
|
29
|
+
default: () => {
|
|
30
|
+
return 200
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
setup(props, { emit, attrs }) {
|
|
35
|
+
const nameArr = (arr) => {
|
|
36
|
+
return arr.reduce(
|
|
37
|
+
(acc, cur) => acc.concat(Array.isArray(cur) ? nameArr(cur) : cur),
|
|
38
|
+
[]
|
|
39
|
+
)
|
|
40
|
+
};
|
|
41
|
+
const state = vue.reactive({
|
|
42
|
+
labelNameList: '',
|
|
43
|
+
visible: false,
|
|
44
|
+
});
|
|
45
|
+
const methods = {
|
|
46
|
+
onmouseover() {
|
|
47
|
+
state.labelNameList.length && (state.visible = true);
|
|
48
|
+
},
|
|
49
|
+
onmouseout() {
|
|
50
|
+
state.labelNameList.length && (state.visible = false);
|
|
51
|
+
},
|
|
52
|
+
onchange(value, selectedOptions) {
|
|
53
|
+
if (attrs.multiple === '' || attrs.multiple) {
|
|
54
|
+
let res = selectedOptions.map((v, k) => {
|
|
55
|
+
return v.map((e, i) => {
|
|
56
|
+
return e.label
|
|
57
|
+
})
|
|
58
|
+
});
|
|
59
|
+
state.labelNameList = nameArr(res).join(',');
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
vue.watch(
|
|
64
|
+
() => state.labelNameList.length,
|
|
65
|
+
(val) => {
|
|
66
|
+
if (!val) {
|
|
67
|
+
state.visible = false;
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{ deep: true }
|
|
71
|
+
);
|
|
72
|
+
vue.onMounted(() => {
|
|
73
|
+
attrs.value?.length &&
|
|
74
|
+
(state.labelNameList = nameArr(attrs.value).join(','));
|
|
75
|
+
});
|
|
76
|
+
return {
|
|
77
|
+
...vue.toRefs(state),
|
|
78
|
+
...methods,
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
});
|
|
82
82
|
|
|
83
83
|
const _hoisted_1 = {
|
|
84
84
|
ref: "BmCascader",
|
|
@@ -99,18 +99,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
99
99
|
? (vue.openBlock(), vue.createBlock(_component_a_popover, {
|
|
100
100
|
key: 0,
|
|
101
101
|
visible: _ctx.visible,
|
|
102
|
-
"get-popup-container":
|
|
103
|
-
(triggerNode) => {
|
|
104
|
-
return triggerNode.parentNode
|
|
105
|
-
}
|
|
102
|
+
"get-popup-container":
|
|
103
|
+
(triggerNode) => {
|
|
104
|
+
return triggerNode.parentNode
|
|
105
|
+
}
|
|
106
106
|
|
|
107
107
|
}, vue.createSlots({
|
|
108
108
|
default: vue.withCtx(() => [
|
|
109
109
|
vue.createVNode(_component_a_cascader, vue.mergeProps(_ctx.$attrs, {
|
|
110
|
-
style: {
|
|
111
|
-
width:
|
|
112
|
-
_ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
|
|
113
|
-
minWidth: _ctx.width + 'px',
|
|
110
|
+
style: {
|
|
111
|
+
width:
|
|
112
|
+
_ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
|
|
113
|
+
minWidth: _ctx.width + 'px',
|
|
114
114
|
},
|
|
115
115
|
"show-arrow": true,
|
|
116
116
|
onMouseover: _ctx.onmouseover,
|
|
@@ -163,10 +163,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
163
163
|
}, vue.createSlots({
|
|
164
164
|
default: vue.withCtx(() => [
|
|
165
165
|
vue.createVNode(_component_a_cascader, vue.mergeProps(_ctx.$attrs, {
|
|
166
|
-
style: {
|
|
167
|
-
width:
|
|
168
|
-
_ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
|
|
169
|
-
minWidth: _ctx.width + 'px',
|
|
166
|
+
style: {
|
|
167
|
+
width:
|
|
168
|
+
_ctx.$attrs.multiple === '' || _ctx.$attrs.multiple ? _ctx.width + 'px' : 'auto',
|
|
169
|
+
minWidth: _ctx.width + 'px',
|
|
170
170
|
},
|
|
171
171
|
"show-arrow": true,
|
|
172
172
|
onMouseover: _ctx.onmouseover,
|
|
@@ -1078,7 +1078,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
1078
1078
|
vue.createVNode(vue.unref(BmOverTooltips__default["default"]), {
|
|
1079
1079
|
title: vue.unref(getShowValue)(item) || tmpForm.value[item.prop]
|
|
1080
1080
|
}, null, 8, ["title"]),
|
|
1081
|
-
vue.createCommentVNode(' <AutoTooltip\n :tooltip="getShowValue(item) || tmpForm[item.prop]"\n /> ')
|
|
1081
|
+
vue.createCommentVNode(' <AutoTooltip\r\n :tooltip="getShowValue(item) || tmpForm[item.prop]"\r\n /> ')
|
|
1082
1082
|
], 6)) : vue.createCommentVNode("v-if", true),
|
|
1083
1083
|
item.type === "multiText" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
1084
1084
|
key: 15,
|
|
@@ -287,7 +287,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
287
287
|
vue.createElementVNode("span", {
|
|
288
288
|
class: vue.normalizeClass(["opeator", { active: __props.isCustom }])
|
|
289
289
|
}, [
|
|
290
|
-
vue.createCommentVNode(' <CopyOutlined\n @click.stop="\n () => {\n copyCallback()\n }\n " /> \u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
|
|
290
|
+
vue.createCommentVNode(' <CopyOutlined\r\n @click.stop="\r\n () => {\r\n copyCallback()\r\n }\r\n " /> \u6682\u65F6\u5173\u95ED\u590D\u5236\u8282\u70B9 '),
|
|
291
291
|
vue.createVNode(vue.unref(iconsVue.CloseOutlined), {
|
|
292
292
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(
|
|
293
293
|
() => {
|
|
@@ -18780,7 +18780,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
18780
18780
|
debounceFetch("");
|
|
18781
18781
|
return (_ctx, _cache) => {
|
|
18782
18782
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
18783
|
-
vue.createCommentVNode(' <Input\n v-model:value="inputValue"\n placeholder="\u8BF7\u8F93\u5165"\n :disabled="disabled"\n @change="debounceFn($event.target.value)"\n ></Input> '),
|
|
18783
|
+
vue.createCommentVNode(' <Input\r\n v-model:value="inputValue"\r\n placeholder="\u8BF7\u8F93\u5165"\r\n :disabled="disabled"\r\n @change="debounceFn($event.target.value)"\r\n ></Input> '),
|
|
18784
18784
|
vue.createVNode(vue.unref(antDesignVue.Select), {
|
|
18785
18785
|
value: __props.value,
|
|
18786
18786
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
@@ -19882,7 +19882,16 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
19882
19882
|
]),
|
|
19883
19883
|
_: 1
|
|
19884
19884
|
}, 8, ["disabled"])) : vue.createCommentVNode("v-if", true)
|
|
19885
|
-
], 64)) : vue.
|
|
19885
|
+
], 64)) : vue.unref(tableConfig).isActivityCheckFlag ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Button), {
|
|
19886
|
+
key: 1,
|
|
19887
|
+
loading: buttonLoading.value.export,
|
|
19888
|
+
onClick: handleExport
|
|
19889
|
+
}, {
|
|
19890
|
+
default: vue.withCtx(() => [
|
|
19891
|
+
vue.createTextVNode("\u5BFC\u51FA")
|
|
19892
|
+
]),
|
|
19893
|
+
_: 1
|
|
19894
|
+
}, 8, ["loading"])) : vue.createCommentVNode("v-if", true)
|
|
19886
19895
|
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$3, [
|
|
19887
19896
|
!__props.hidden ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
19888
19897
|
vue.unref(exportFeature) ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Button), {
|
|
@@ -19949,8 +19958,7 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
19949
19958
|
}, 8, ["disabled"])
|
|
19950
19959
|
], 64)) : vue.unref(tableConfig).isActivityCheckFlag ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
19951
19960
|
vue.createCommentVNode(" \u6D3B\u52A8\u5BA1\u6838\u9875 \u53EA\u5C55\u793A\u5BFC\u51FA\u6309\u94AE "),
|
|
19952
|
-
vue.
|
|
19953
|
-
key: 0,
|
|
19961
|
+
vue.createVNode(vue.unref(antDesignVue.Button), {
|
|
19954
19962
|
loading: buttonLoading.value.export,
|
|
19955
19963
|
onClick: handleExport
|
|
19956
19964
|
}, {
|
|
@@ -19958,7 +19966,7 @@ const _sfc_main$7 = vue.defineComponent({
|
|
|
19958
19966
|
vue.createTextVNode("\u5BFC\u51FA")
|
|
19959
19967
|
]),
|
|
19960
19968
|
_: 1
|
|
19961
|
-
}, 8, ["loading"])
|
|
19969
|
+
}, 8, ["loading"])
|
|
19962
19970
|
], 64)) : vue.createCommentVNode("v-if", true)
|
|
19963
19971
|
]))
|
|
19964
19972
|
]),
|
|
@@ -21093,6 +21101,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
21093
21101
|
if (isAssociated.value) {
|
|
21094
21102
|
antDesignVue.Modal.confirm({
|
|
21095
21103
|
title: "\u66F4\u6362\u5E97\u94FA\u5C06\u6E05\u7A7A\u5173\u8054\u7684\u5546\u54C1\u4FE1\u606F\uFF0C\u786E\u8BA4\u66F4\u6362\u5E97\u94FA\u4E48\uFF1F",
|
|
21104
|
+
centered: true,
|
|
21105
|
+
icon: vue.createVNode(iconsVue.ExclamationCircleFilled),
|
|
21096
21106
|
onOk() {
|
|
21097
21107
|
handleChange(val, option);
|
|
21098
21108
|
}
|
package/package.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "bm-admin-ui",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"private": false,
|
|
5
|
-
"description": "An Admin Component Library for Bm",
|
|
6
|
-
"license": "UNLICENSED",
|
|
7
|
-
"repository": {
|
|
8
|
-
"type": "git",
|
|
9
|
-
"url": "http://gitlab.admin.bluemoon.com.cn/Frontend-web/bm-admin-ui"
|
|
10
|
-
},
|
|
11
|
-
"main": "lib/index.js",
|
|
12
|
-
"module": "es/index.js",
|
|
13
|
-
"unpkg": "index.js",
|
|
14
|
-
"peerDependencies": {
|
|
15
|
-
"vue": "^3.2.31"
|
|
16
|
-
},
|
|
17
|
-
"dependencies": {
|
|
18
|
-
"@form-create/ant-design-vue": "^3.1.12",
|
|
19
|
-
"@logicflow/core": "^1.1.7",
|
|
20
|
-
"@logicflow/extension": "^1.1.7",
|
|
21
|
-
"floating-vue": "2.0.0-beta.17",
|
|
22
|
-
"@ant-design/icons-vue": "^6.1.0",
|
|
23
|
-
"ant-design-vue": "^3.2.10",
|
|
24
|
-
"bm-admin-icons": "^0.2.7",
|
|
25
|
-
"vuedraggable": "^4.1.0",
|
|
26
|
-
"lodash-es": "^4.17.21",
|
|
27
|
-
"dayjs": "^1.11.4",
|
|
28
|
-
"vxe-table": "4.2.3",
|
|
29
|
-
"xe-utils": "3.5.4"
|
|
30
|
-
},
|
|
31
|
-
"sideEffects": [
|
|
32
|
-
"theme-chalk/*.css"
|
|
33
|
-
]
|
|
34
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "bm-admin-ui",
|
|
3
|
+
"version": "1.2.40-alpha",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "An Admin Component Library for Bm",
|
|
6
|
+
"license": "UNLICENSED",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "http://gitlab.admin.bluemoon.com.cn/Frontend-web/bm-admin-ui"
|
|
10
|
+
},
|
|
11
|
+
"main": "lib/index.js",
|
|
12
|
+
"module": "es/index.js",
|
|
13
|
+
"unpkg": "index.js",
|
|
14
|
+
"peerDependencies": {
|
|
15
|
+
"vue": "^3.2.31"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@form-create/ant-design-vue": "^3.1.12",
|
|
19
|
+
"@logicflow/core": "^1.1.7",
|
|
20
|
+
"@logicflow/extension": "^1.1.7",
|
|
21
|
+
"floating-vue": "2.0.0-beta.17",
|
|
22
|
+
"@ant-design/icons-vue": "^6.1.0",
|
|
23
|
+
"ant-design-vue": "^3.2.10",
|
|
24
|
+
"bm-admin-icons": "^0.2.7",
|
|
25
|
+
"vuedraggable": "^4.1.0",
|
|
26
|
+
"lodash-es": "^4.17.21",
|
|
27
|
+
"dayjs": "^1.11.4",
|
|
28
|
+
"vxe-table": "4.2.3",
|
|
29
|
+
"xe-utils": "3.5.4"
|
|
30
|
+
},
|
|
31
|
+
"sideEffects": [
|
|
32
|
+
"theme-chalk/*.css"
|
|
33
|
+
]
|
|
34
|
+
}
|