bm-admin-ui 1.0.36-alpha → 1.0.38-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/button/index.d.ts +3 -0
- package/es/components/button/src/button.d.ts +12 -0
- package/es/components/button/src/button.vue.d.ts +306 -0
- package/es/components/feedback/index.d.ts +9 -0
- package/es/components/feedback/index.js +2 -2
- package/es/components/feedback/src/bmAlert.vue.d.ts +191 -0
- package/es/components/feedback/src/bmModal.vue.d.ts +839 -0
- package/es/components/float-table/index.d.ts +3 -0
- package/es/components/float-table/index.js +27 -36
- package/es/components/float-table/src/float-table.vue.d.ts +69 -0
- package/es/components/flow-designer/index.d.ts +3 -0
- package/es/components/flow-designer/src/bm-nodes/AddCondition.d.ts +26 -0
- package/es/components/flow-designer/src/bm-nodes/AddFlowNode.d.ts +29 -0
- package/es/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +247 -0
- package/es/components/flow-designer/src/bm-nodes/BmFlowHtmlNode.d.ts +19 -0
- package/es/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +15 -0
- package/es/components/flow-designer/src/bm-nodes/BmPolyLine.d.ts +21 -0
- package/es/components/flow-designer/src/bm-nodes/EndCircle.d.ts +19 -0
- package/es/components/flow-designer/src/config.d.ts +24 -0
- package/es/components/flow-designer/src/flow-designer-test.d.ts +20 -0
- package/es/components/flow-designer/src/flow-designer.d.ts +11 -0
- package/es/components/flow-designer/src/flow-designer.vue.d.ts +6 -0
- package/es/components/flow-designer/src/utils.d.ts +29 -0
- package/es/components/form-create/index.js +125 -163
- package/es/components/form-designer/index.js +271 -233
- package/es/components/index.d.ts +12 -0
- package/es/components/index.js +1 -0
- package/es/components/input-tags-display/index.d.ts +3 -0
- package/es/components/input-tags-display/index.js +21 -29
- package/es/components/input-tags-display/src/input-tags-display.vue.d.ts +128 -0
- package/es/components/over-tooltips/index.d.ts +3 -0
- package/es/components/over-tooltips/index.js +20 -27
- package/es/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
- package/es/components/search-filter/index.d.ts +3 -0
- package/es/components/search-filter/index.js +21 -25
- package/es/components/search-filter/src/search-filter.d.ts +89 -0
- package/es/components/search-filter/src/search-filter.vue.d.ts +234 -0
- package/es/components/search-filter/src/search-reset-btn.vue.d.ts +119 -0
- package/es/components/select-all/index.d.ts +3 -0
- package/es/components/select-all/index.js +157 -0
- package/es/components/select-all/src/selectAll.vue.d.ts +753 -0
- package/es/components/shops-filter/index.d.ts +3 -0
- package/es/components/shops-filter/index.js +43 -58
- package/es/components/shops-filter/src/shops-filter.d.ts +25 -0
- package/es/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
- package/es/components/staffs-selector/index.d.ts +3 -0
- package/es/components/staffs-selector/index.js +102 -137
- package/es/components/staffs-selector/src/multipleCmp.vue.d.ts +97 -0
- package/es/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
- package/es/components/staffs-selector/src/staffs-selector.vue.d.ts +108 -0
- package/es/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
- package/es/components/timeline/index.d.ts +5 -0
- package/es/components/timeline/index.js +7 -7
- package/es/components/timeline/src/props.d.ts +27 -0
- package/es/components/timeline/src/timeline-item.vue.d.ts +64 -0
- package/es/components/timeline/src/timeline.vue.d.ts +50 -0
- package/es/components/upload/index.d.ts +3 -0
- package/es/components/upload/index.js +78 -115
- package/es/components/upload/src/icons.d.ts +13 -0
- package/es/components/upload/src/upload.vue.d.ts +105 -0
- package/es/components/upload/utils/index.d.ts +7 -0
- package/es/index.d.ts +6 -0
- package/es/utils/bm-admin-ui-resolver.d.ts +11 -0
- package/es/utils/uniqueId.d.ts +1 -0
- package/es/utils/vxe-table.d.ts +6 -0
- package/es/utils/with-install.d.ts +1 -0
- package/index.esm.js +15003 -45855
- package/index.js +15004 -45855
- package/lib/components/button/index.d.ts +3 -0
- package/lib/components/button/src/button.d.ts +12 -0
- package/lib/components/button/src/button.vue.d.ts +306 -0
- package/lib/components/feedback/index.d.ts +9 -0
- package/lib/components/feedback/index.js +1 -1
- package/lib/components/feedback/src/bmAlert.vue.d.ts +191 -0
- package/lib/components/feedback/src/bmModal.vue.d.ts +839 -0
- package/lib/components/float-table/index.d.ts +3 -0
- package/lib/components/float-table/index.js +27 -36
- package/lib/components/float-table/src/float-table.vue.d.ts +69 -0
- package/lib/components/flow-designer/index.d.ts +3 -0
- package/lib/components/flow-designer/src/bm-nodes/AddCondition.d.ts +26 -0
- package/lib/components/flow-designer/src/bm-nodes/AddFlowNode.d.ts +29 -0
- package/lib/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +247 -0
- package/lib/components/flow-designer/src/bm-nodes/BmFlowHtmlNode.d.ts +19 -0
- package/lib/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +15 -0
- package/lib/components/flow-designer/src/bm-nodes/BmPolyLine.d.ts +21 -0
- package/lib/components/flow-designer/src/bm-nodes/EndCircle.d.ts +19 -0
- package/lib/components/flow-designer/src/config.d.ts +24 -0
- package/lib/components/flow-designer/src/flow-designer-test.d.ts +20 -0
- package/lib/components/flow-designer/src/flow-designer.d.ts +11 -0
- package/lib/components/flow-designer/src/flow-designer.vue.d.ts +6 -0
- package/lib/components/flow-designer/src/utils.d.ts +29 -0
- package/lib/components/form-create/index.js +124 -162
- package/lib/components/form-designer/index.js +270 -232
- package/lib/components/index.d.ts +12 -0
- package/lib/components/index.js +7 -0
- package/lib/components/input-tags-display/index.d.ts +3 -0
- package/lib/components/input-tags-display/index.js +20 -28
- package/lib/components/input-tags-display/src/input-tags-display.vue.d.ts +128 -0
- package/lib/components/over-tooltips/index.d.ts +3 -0
- package/lib/components/over-tooltips/index.js +20 -27
- package/lib/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
- package/lib/components/search-filter/index.d.ts +3 -0
- package/lib/components/search-filter/index.js +21 -25
- package/lib/components/search-filter/src/search-filter.d.ts +89 -0
- package/lib/components/search-filter/src/search-filter.vue.d.ts +234 -0
- package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +119 -0
- package/lib/components/select-all/index.d.ts +3 -0
- package/lib/components/select-all/index.js +166 -0
- package/lib/components/select-all/src/selectAll.vue.d.ts +753 -0
- package/lib/components/shops-filter/index.d.ts +3 -0
- package/lib/components/shops-filter/index.js +42 -57
- package/lib/components/shops-filter/src/shops-filter.d.ts +25 -0
- package/lib/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
- package/lib/components/staffs-selector/index.d.ts +3 -0
- package/lib/components/staffs-selector/index.js +101 -136
- package/lib/components/staffs-selector/src/multipleCmp.vue.d.ts +97 -0
- package/lib/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
- package/lib/components/staffs-selector/src/staffs-selector.vue.d.ts +108 -0
- package/lib/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
- package/lib/components/timeline/index.d.ts +5 -0
- package/lib/components/timeline/index.js +7 -7
- package/lib/components/timeline/src/props.d.ts +27 -0
- package/lib/components/timeline/src/timeline-item.vue.d.ts +64 -0
- package/lib/components/timeline/src/timeline.vue.d.ts +50 -0
- package/lib/components/upload/index.d.ts +3 -0
- package/lib/components/upload/index.js +78 -115
- package/lib/components/upload/src/icons.d.ts +13 -0
- package/lib/components/upload/src/upload.vue.d.ts +105 -0
- package/lib/components/upload/utils/index.d.ts +7 -0
- package/lib/index.d.ts +6 -0
- package/lib/utils/bm-admin-ui-resolver.d.ts +11 -0
- package/lib/utils/uniqueId.d.ts +1 -0
- package/lib/utils/vxe-table.d.ts +6 -0
- package/lib/utils/with-install.d.ts +1 -0
- package/package.json +2 -2
- package/theme-chalk/button.css +1 -1
- package/theme-chalk/feedback.css +1 -1
- package/theme-chalk/float-table.css +1 -1
- package/theme-chalk/floating-vue.css +1 -1
- package/theme-chalk/flow-designer.css +1 -1
- package/theme-chalk/form-designer.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/modal.css +1 -1
- package/theme-chalk/over-tooltips.css +1 -1
- package/theme-chalk/search-filter.css +1 -1
- package/theme-chalk/select-all.css +1 -0
- package/theme-chalk/staffs-selector.css +1 -1
- package/theme-chalk/timeline.css +1 -1
- package/theme-chalk/upload.css +1 -1
- package/types/components/button/index.d.ts +3 -0
- package/types/components/button/src/button.d.ts +12 -0
- package/types/components/button/src/button.vue.d.ts +306 -0
- package/types/components/feedback/index.d.ts +9 -0
- package/types/components/feedback/src/bmAlert.vue.d.ts +191 -0
- package/types/components/feedback/src/bmModal.vue.d.ts +839 -0
- package/types/components/float-table/index.d.ts +3 -0
- package/types/components/float-table/src/float-table.vue.d.ts +69 -0
- package/types/components/flow-designer/index.d.ts +3 -0
- package/types/components/flow-designer/src/bm-nodes/AddCondition.d.ts +26 -0
- package/types/components/flow-designer/src/bm-nodes/AddFlowNode.d.ts +29 -0
- package/types/components/flow-designer/src/bm-nodes/BmConditionNode.vue.d.ts +247 -0
- package/types/components/flow-designer/src/bm-nodes/BmFlowHtmlNode.d.ts +19 -0
- package/types/components/flow-designer/src/bm-nodes/BmHtmlNode.vue.d.ts +15 -0
- package/types/components/flow-designer/src/bm-nodes/BmPolyLine.d.ts +21 -0
- package/types/components/flow-designer/src/bm-nodes/EndCircle.d.ts +19 -0
- package/types/components/flow-designer/src/config.d.ts +24 -0
- package/types/components/flow-designer/src/flow-designer-test.d.ts +20 -0
- package/types/components/flow-designer/src/flow-designer.d.ts +11 -0
- package/types/components/flow-designer/src/flow-designer.vue.d.ts +6 -0
- package/types/components/flow-designer/src/utils.d.ts +29 -0
- package/types/components/index.d.ts +12 -0
- package/types/components/input-tags-display/index.d.ts +3 -0
- package/types/components/input-tags-display/src/input-tags-display.vue.d.ts +128 -0
- package/types/components/over-tooltips/index.d.ts +3 -0
- package/types/components/over-tooltips/src/over-tooltips.vue.d.ts +34 -0
- package/types/components/search-filter/index.d.ts +3 -0
- package/types/components/search-filter/src/search-filter.d.ts +89 -0
- package/types/components/search-filter/src/search-filter.vue.d.ts +234 -0
- package/types/components/search-filter/src/search-reset-btn.vue.d.ts +119 -0
- package/types/components/select-all/index.d.ts +3 -0
- package/types/components/select-all/src/selectAll.vue.d.ts +753 -0
- package/types/components/shops-filter/index.d.ts +3 -0
- package/types/components/shops-filter/src/shops-filter.d.ts +25 -0
- package/types/components/shops-filter/src/shops-filter.vue.d.ts +98 -0
- package/types/components/staffs-selector/index.d.ts +3 -0
- package/types/components/staffs-selector/src/multipleCmp.vue.d.ts +97 -0
- package/types/components/staffs-selector/src/radioCmp.vue.d.ts +31 -0
- package/types/components/staffs-selector/src/staffs-selector.vue.d.ts +108 -0
- package/types/components/staffs-selector/src/variedCmp.vue.d.ts +62 -0
- package/types/components/timeline/index.d.ts +5 -0
- package/types/components/timeline/src/props.d.ts +27 -0
- package/types/components/timeline/src/timeline-item.vue.d.ts +64 -0
- package/types/components/timeline/src/timeline.vue.d.ts +50 -0
- package/types/components/upload/index.d.ts +3 -0
- package/types/components/upload/src/icons.d.ts +13 -0
- package/types/components/upload/src/upload.vue.d.ts +105 -0
- package/types/components/upload/utils/index.d.ts +7 -0
- package/types/index.d.ts +6 -0
- package/types/utils/bm-admin-ui-resolver.d.ts +11 -0
- package/types/utils/uniqueId.d.ts +1 -0
- package/types/utils/vxe-table.d.ts +6 -0
- package/types/utils/with-install.d.ts +1 -0
|
@@ -91,12 +91,10 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
91
91
|
});
|
|
92
92
|
var WidgetInstruction = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "widget-instruction.vue"]]);
|
|
93
93
|
|
|
94
|
-
const _hoisted_1$
|
|
94
|
+
const _hoisted_1$f = {
|
|
95
95
|
key: 2,
|
|
96
96
|
class: "bm-drag-tool-mask"
|
|
97
97
|
};
|
|
98
|
-
const _hoisted_2$d = /* @__PURE__ */ vue.createTextVNode("\u590D\u5236");
|
|
99
|
-
const _hoisted_3$b = /* @__PURE__ */ vue.createTextVNode("\u5220\u9664");
|
|
100
98
|
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
101
99
|
__name: "drag-tool",
|
|
102
100
|
props: ["rule", "activeRule", "parentRule"],
|
|
@@ -189,7 +187,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
189
187
|
key: 1,
|
|
190
188
|
rule: __props.rule
|
|
191
189
|
}, null, 8, ["rule"])),
|
|
192
|
-
__props.rule.type !== vue.unref(WidgetType).RowWidget && __props.rule.type !== vue.unref(WidgetType).TableWidget ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
190
|
+
__props.rule.type !== vue.unref(WidgetType).RowWidget && __props.rule.type !== vue.unref(WidgetType).TableWidget ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f)) : vue.createCommentVNode("v-if", true),
|
|
193
191
|
__props.rule.config.isHover || vue.unref(isActive) ? (vue.openBlock(), vue.createBlock(_component_ARow, {
|
|
194
192
|
key: 3,
|
|
195
193
|
class: "bm-drag-tool-btn",
|
|
@@ -200,7 +198,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
200
198
|
default: vue.withCtx(() => [
|
|
201
199
|
vue.createVNode(vue.unref(antDesignVue.Tooltip), { placement: "top" }, {
|
|
202
200
|
title: vue.withCtx(() => [
|
|
203
|
-
|
|
201
|
+
vue.createTextVNode("\u590D\u5236")
|
|
204
202
|
]),
|
|
205
203
|
default: vue.withCtx(() => [
|
|
206
204
|
vue.createVNode(_component_Copy, {
|
|
@@ -217,7 +215,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
217
215
|
default: vue.withCtx(() => [
|
|
218
216
|
vue.createVNode(vue.unref(antDesignVue.Tooltip), { placement: "top" }, {
|
|
219
217
|
title: vue.withCtx(() => [
|
|
220
|
-
|
|
218
|
+
vue.createTextVNode("\u5220\u9664")
|
|
221
219
|
]),
|
|
222
220
|
default: vue.withCtx(() => [
|
|
223
221
|
vue.createVNode(_component_Delete, {
|
|
@@ -239,20 +237,20 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
239
237
|
});
|
|
240
238
|
var DragTool = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "drag-tool.vue"]]);
|
|
241
239
|
|
|
242
|
-
const _hoisted_1$
|
|
240
|
+
const _hoisted_1$e = { class: "bm-drag-placeholder" };
|
|
243
241
|
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
244
242
|
__name: "drag-placeholder",
|
|
245
243
|
props: {},
|
|
246
244
|
setup(__props) {
|
|
247
245
|
return (_ctx, _cache) => {
|
|
248
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
246
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e);
|
|
249
247
|
};
|
|
250
248
|
}
|
|
251
249
|
});
|
|
252
250
|
var DragPlaceholder = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "drag-placeholder.vue"]]);
|
|
253
251
|
|
|
254
|
-
const _hoisted_1$
|
|
255
|
-
const _hoisted_2$
|
|
252
|
+
const _hoisted_1$d = { class: "bm-widget-row-wrap" };
|
|
253
|
+
const _hoisted_2$a = {
|
|
256
254
|
key: 0,
|
|
257
255
|
class: "bm-widget-row-tip"
|
|
258
256
|
};
|
|
@@ -298,8 +296,8 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
298
296
|
}
|
|
299
297
|
return (_ctx, _cache) => {
|
|
300
298
|
const _component_ACol = vue.resolveComponent("ACol");
|
|
301
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
302
|
-
!vue.unref(childRules).length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
299
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
|
|
300
|
+
!vue.unref(childRules).length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$a, " \u53EF\u62D6\u5165\u591A\u4E2A\u63A7\u4EF6 ")) : vue.createCommentVNode("v-if", true),
|
|
303
301
|
vue.createVNode(vue.unref(Draggable__default["default"]), {
|
|
304
302
|
"component-data": {
|
|
305
303
|
field: __props.formCreateInject.rule.field,
|
|
@@ -478,7 +476,7 @@ var input = {
|
|
|
478
476
|
},
|
|
479
477
|
},
|
|
480
478
|
effect: {
|
|
481
|
-
required:
|
|
479
|
+
required: false,
|
|
482
480
|
formRule: 'formRule',
|
|
483
481
|
},
|
|
484
482
|
props: {
|
|
@@ -511,6 +509,7 @@ var input = {
|
|
|
511
509
|
field: fieldsMap$g['props.placeholder'],
|
|
512
510
|
props: {
|
|
513
511
|
placeholder: '请输入',
|
|
512
|
+
maxlength: 30,
|
|
514
513
|
},
|
|
515
514
|
value: rule.props.placeholder,
|
|
516
515
|
},
|
|
@@ -520,6 +519,7 @@ var input = {
|
|
|
520
519
|
field: fieldsMap$g['value'],
|
|
521
520
|
props: {
|
|
522
521
|
placeholder: '请输入',
|
|
522
|
+
maxlength: 200,
|
|
523
523
|
},
|
|
524
524
|
value: rule.value,
|
|
525
525
|
},
|
|
@@ -579,7 +579,7 @@ var textarea = {
|
|
|
579
579
|
},
|
|
580
580
|
},
|
|
581
581
|
effect: {
|
|
582
|
-
required:
|
|
582
|
+
required: false,
|
|
583
583
|
formRule: 'formRule',
|
|
584
584
|
},
|
|
585
585
|
props: {
|
|
@@ -613,6 +613,7 @@ var textarea = {
|
|
|
613
613
|
field: fieldsMap$f['props.placeholder'],
|
|
614
614
|
props: {
|
|
615
615
|
placeholder: '请输入',
|
|
616
|
+
maxlength: 30,
|
|
616
617
|
},
|
|
617
618
|
value: rule.props.placeholder,
|
|
618
619
|
},
|
|
@@ -622,6 +623,7 @@ var textarea = {
|
|
|
622
623
|
field: fieldsMap$f['value'],
|
|
623
624
|
props: {
|
|
624
625
|
placeholder: '请输入',
|
|
626
|
+
maxlength: 5000,
|
|
625
627
|
},
|
|
626
628
|
value: rule.value,
|
|
627
629
|
},
|
|
@@ -682,7 +684,7 @@ var numInput = {
|
|
|
682
684
|
},
|
|
683
685
|
},
|
|
684
686
|
effect: {
|
|
685
|
-
required:
|
|
687
|
+
required: false,
|
|
686
688
|
formRule: 'formRule',
|
|
687
689
|
},
|
|
688
690
|
props: {
|
|
@@ -717,6 +719,7 @@ var numInput = {
|
|
|
717
719
|
field: fieldsMap$e['props.placeholder'],
|
|
718
720
|
props: {
|
|
719
721
|
placeholder: '请输入',
|
|
722
|
+
maxlength: 30,
|
|
720
723
|
},
|
|
721
724
|
value: rule.props.placeholder,
|
|
722
725
|
},
|
|
@@ -775,14 +778,11 @@ var numInput = {
|
|
|
775
778
|
},
|
|
776
779
|
};
|
|
777
780
|
|
|
778
|
-
const _hoisted_1$
|
|
779
|
-
const _hoisted_2$
|
|
781
|
+
const _hoisted_1$c = { class: "bm-handle-options" };
|
|
782
|
+
const _hoisted_2$9 = {
|
|
780
783
|
key: 0,
|
|
781
784
|
class: "bm-handle-options__error-tip"
|
|
782
785
|
};
|
|
783
|
-
const _hoisted_3$a = /* @__PURE__ */ vue.createTextVNode(" \u6279\u91CF\u7F16\u8F91 ");
|
|
784
|
-
const _hoisted_4$7 = /* @__PURE__ */ vue.createTextVNode(" \u6DFB\u52A0\u9009\u9879 ");
|
|
785
|
-
const _hoisted_5$4 = /* @__PURE__ */ vue.createTextVNode(" \u6BCF\u884C\u5BF9\u5E94\u4E00\u4E2A\u9009\u9879 ");
|
|
786
786
|
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
787
787
|
__name: "handle-options",
|
|
788
788
|
props: ["options"],
|
|
@@ -793,6 +793,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
793
793
|
const visible = vue.ref(false);
|
|
794
794
|
const text = vue.ref("");
|
|
795
795
|
const repeatOption = vue.ref([]);
|
|
796
|
+
const maxlength = 500;
|
|
796
797
|
function edit() {
|
|
797
798
|
visible.value = true;
|
|
798
799
|
text.value = makeText(props.options);
|
|
@@ -814,6 +815,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
814
815
|
function handleOk() {
|
|
815
816
|
const options = text.value.split("\n").reduce((pre, cur) => {
|
|
816
817
|
if (cur) {
|
|
818
|
+
cur = cur.substring(0, maxlength - 1);
|
|
817
819
|
pre.push({ value: cur, label: cur });
|
|
818
820
|
}
|
|
819
821
|
return pre;
|
|
@@ -842,14 +844,10 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
842
844
|
function emitSetValue(val) {
|
|
843
845
|
emits("setValue", val);
|
|
844
846
|
}
|
|
845
|
-
vue.watch(
|
|
846
|
-
|
|
847
|
-
(val)
|
|
848
|
-
|
|
849
|
-
emitSetValue(val);
|
|
850
|
-
},
|
|
851
|
-
{ deep: true }
|
|
852
|
-
);
|
|
847
|
+
vue.watch(props.options, (val) => {
|
|
848
|
+
handleRepeatOption(val);
|
|
849
|
+
emitSetValue(val);
|
|
850
|
+
}, { deep: true });
|
|
853
851
|
return (_ctx, _cache) => {
|
|
854
852
|
const _component_Delete = vue.resolveComponent("Delete");
|
|
855
853
|
const _component_ARow = vue.resolveComponent("ARow");
|
|
@@ -867,7 +865,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
867
865
|
"force-fallback": true
|
|
868
866
|
}, {
|
|
869
867
|
item: vue.withCtx(({ element, index }) => [
|
|
870
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
868
|
+
vue.createElementVNode("div", _hoisted_1$c, [
|
|
871
869
|
vue.createVNode(_component_ARow, { align: "middle" }, {
|
|
872
870
|
default: vue.withCtx(() => [
|
|
873
871
|
vue.createVNode(vue.unref(iconsVue.HolderOutlined), {
|
|
@@ -882,6 +880,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
882
880
|
"bm-handle-options__input",
|
|
883
881
|
repeatOption.value.length && repeatOption.value.includes(element.value) ? "is-error" : ""
|
|
884
882
|
]),
|
|
883
|
+
maxlength,
|
|
885
884
|
onBlur: ($event) => handleBlur(element)
|
|
886
885
|
}, null, 8, ["value", "onUpdate:value", "class", "onBlur"])
|
|
887
886
|
]),
|
|
@@ -894,7 +893,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
894
893
|
]),
|
|
895
894
|
_: 2
|
|
896
895
|
}, 1024),
|
|
897
|
-
repeatOption.value.length && repeatOption.value.includes(element.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
896
|
+
repeatOption.value.length && repeatOption.value.includes(element.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$9, " \u8BF7\u66F4\u6539\u91CD\u590D\u9009\u9879 ")) : vue.createCommentVNode("v-if", true)
|
|
898
897
|
])
|
|
899
898
|
]),
|
|
900
899
|
_: 1
|
|
@@ -907,7 +906,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
907
906
|
vue.createVNode(vue.unref(iconsVue.EditOutlined))
|
|
908
907
|
]),
|
|
909
908
|
default: vue.withCtx(() => [
|
|
910
|
-
|
|
909
|
+
vue.createTextVNode(" \u6279\u91CF\u7F16\u8F91 ")
|
|
911
910
|
]),
|
|
912
911
|
_: 1
|
|
913
912
|
}),
|
|
@@ -919,7 +918,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
919
918
|
vue.createVNode(vue.unref(iconsVue.PlusOutlined))
|
|
920
919
|
]),
|
|
921
920
|
default: vue.withCtx(() => [
|
|
922
|
-
|
|
921
|
+
vue.createTextVNode(" \u6DFB\u52A0\u9009\u9879 ")
|
|
923
922
|
]),
|
|
924
923
|
_: 1
|
|
925
924
|
}),
|
|
@@ -930,7 +929,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
930
929
|
onOk: handleOk
|
|
931
930
|
}, {
|
|
932
931
|
default: vue.withCtx(() => [
|
|
933
|
-
|
|
932
|
+
vue.createTextVNode(" \u6BCF\u884C\u5BF9\u5E94\u4E00\u4E2A\u9009\u9879 "),
|
|
934
933
|
vue.createVNode(_component_a_textarea, {
|
|
935
934
|
value: text.value,
|
|
936
935
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => text.value = $event),
|
|
@@ -978,7 +977,7 @@ var radio = {
|
|
|
978
977
|
},
|
|
979
978
|
},
|
|
980
979
|
effect: {
|
|
981
|
-
required:
|
|
980
|
+
required: false,
|
|
982
981
|
formRule: 'formRule',
|
|
983
982
|
},
|
|
984
983
|
options: [
|
|
@@ -1024,6 +1023,7 @@ var radio = {
|
|
|
1024
1023
|
field: fieldsMap$d['props.placeholder'],
|
|
1025
1024
|
props: {
|
|
1026
1025
|
placeholder: '请输入',
|
|
1026
|
+
maxlength: 30,
|
|
1027
1027
|
},
|
|
1028
1028
|
value: rule.props.placeholder,
|
|
1029
1029
|
},
|
|
@@ -1116,7 +1116,7 @@ var checkbox = {
|
|
|
1116
1116
|
},
|
|
1117
1117
|
},
|
|
1118
1118
|
effect: {
|
|
1119
|
-
required:
|
|
1119
|
+
required: false,
|
|
1120
1120
|
formRule: 'formRule',
|
|
1121
1121
|
},
|
|
1122
1122
|
options: [
|
|
@@ -1162,6 +1162,7 @@ var checkbox = {
|
|
|
1162
1162
|
field: fieldsMap$c['props.placeholder'],
|
|
1163
1163
|
props: {
|
|
1164
1164
|
placeholder: '请输入',
|
|
1165
|
+
maxlength: 30,
|
|
1165
1166
|
},
|
|
1166
1167
|
value: rule.props.placeholder,
|
|
1167
1168
|
},
|
|
@@ -1223,10 +1224,7 @@ var checkbox = {
|
|
|
1223
1224
|
},
|
|
1224
1225
|
};
|
|
1225
1226
|
|
|
1226
|
-
const _hoisted_1$
|
|
1227
|
-
const _hoisted_2$a = /* @__PURE__ */ vue.createTextVNode(" \u5F53\u524D\u65F6\u95F4(\u5E74/\u6708/\u65E5) ");
|
|
1228
|
-
const _hoisted_3$9 = /* @__PURE__ */ vue.createTextVNode(" \u83B7\u53D6\u7528\u6237\u5B9E\u9645\u586B\u5199\u65F6\u7684\u65F6\u95F4 ");
|
|
1229
|
-
const _hoisted_4$6 = /* @__PURE__ */ vue.createTextVNode("\u81EA\u5B9A\u4E49");
|
|
1227
|
+
const _hoisted_1$b = { class: "bm-default-date" };
|
|
1230
1228
|
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
1231
1229
|
__name: "default-date",
|
|
1232
1230
|
props: ["defaultRadioValue", "defalueDateValue"],
|
|
@@ -1248,7 +1246,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
1248
1246
|
emitChange(date);
|
|
1249
1247
|
}
|
|
1250
1248
|
return (_ctx, _cache) => {
|
|
1251
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1249
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [
|
|
1252
1250
|
vue.createVNode(vue.unref(antDesignVue.FormItemRest), null, {
|
|
1253
1251
|
default: vue.withCtx(() => [
|
|
1254
1252
|
vue.createVNode(vue.unref(antDesignVue.RadioGroup), {
|
|
@@ -1258,10 +1256,10 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
1258
1256
|
default: vue.withCtx(() => [
|
|
1259
1257
|
vue.createVNode(vue.unref(antDesignVue.Radio), { value: 0 }, {
|
|
1260
1258
|
default: vue.withCtx(() => [
|
|
1261
|
-
|
|
1259
|
+
vue.createTextVNode(" \u5F53\u524D\u65F6\u95F4(\u5E74/\u6708/\u65E5) "),
|
|
1262
1260
|
vue.createVNode(vue.unref(antDesignVue.Tooltip), null, {
|
|
1263
1261
|
title: vue.withCtx(() => [
|
|
1264
|
-
|
|
1262
|
+
vue.createTextVNode(" \u83B7\u53D6\u7528\u6237\u5B9E\u9645\u586B\u5199\u65F6\u7684\u65F6\u95F4 ")
|
|
1265
1263
|
]),
|
|
1266
1264
|
default: vue.withCtx(() => [
|
|
1267
1265
|
vue.createVNode(vue.unref(iconsVue.QuestionCircleOutlined), { style: { "color": "#babac1" } })
|
|
@@ -1273,7 +1271,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
1273
1271
|
}),
|
|
1274
1272
|
vue.createVNode(vue.unref(antDesignVue.Radio), { value: 1 }, {
|
|
1275
1273
|
default: vue.withCtx(() => [
|
|
1276
|
-
|
|
1274
|
+
vue.createTextVNode("\u81EA\u5B9A\u4E49")
|
|
1277
1275
|
]),
|
|
1278
1276
|
_: 1
|
|
1279
1277
|
})
|
|
@@ -1326,7 +1324,7 @@ var date = {
|
|
|
1326
1324
|
},
|
|
1327
1325
|
},
|
|
1328
1326
|
effect: {
|
|
1329
|
-
required:
|
|
1327
|
+
required: false,
|
|
1330
1328
|
formRule: 'formRule',
|
|
1331
1329
|
},
|
|
1332
1330
|
props: {
|
|
@@ -1389,6 +1387,7 @@ var date = {
|
|
|
1389
1387
|
field: fieldsMap$b['props.placeholder'],
|
|
1390
1388
|
props: {
|
|
1391
1389
|
placeholder: '请输入',
|
|
1390
|
+
maxlength: 30,
|
|
1392
1391
|
},
|
|
1393
1392
|
value: rule.props.placeholder,
|
|
1394
1393
|
},
|
|
@@ -1470,7 +1469,7 @@ var dateRange = {
|
|
|
1470
1469
|
},
|
|
1471
1470
|
},
|
|
1472
1471
|
effect: {
|
|
1473
|
-
required:
|
|
1472
|
+
required: false,
|
|
1474
1473
|
formRule: 'formRule',
|
|
1475
1474
|
},
|
|
1476
1475
|
props: {
|
|
@@ -1535,6 +1534,7 @@ var dateRange = {
|
|
|
1535
1534
|
field: fieldsMap$a['props.placeholder.0'],
|
|
1536
1535
|
props: {
|
|
1537
1536
|
placeholder: '请输入',
|
|
1537
|
+
maxlength: 30,
|
|
1538
1538
|
},
|
|
1539
1539
|
value: rule.props.placeholder[0],
|
|
1540
1540
|
},
|
|
@@ -1544,6 +1544,7 @@ var dateRange = {
|
|
|
1544
1544
|
field: fieldsMap$a['props.placeholder.1'],
|
|
1545
1545
|
props: {
|
|
1546
1546
|
placeholder: '请输入',
|
|
1547
|
+
maxlength: 30,
|
|
1547
1548
|
},
|
|
1548
1549
|
value: rule.props.placeholder[1],
|
|
1549
1550
|
},
|
|
@@ -1617,10 +1618,23 @@ var instruction = {
|
|
|
1617
1618
|
title: label$9,
|
|
1618
1619
|
field: fieldsMap$9.value,
|
|
1619
1620
|
value: rule.value,
|
|
1621
|
+
inject: true,
|
|
1620
1622
|
prefix: {
|
|
1621
1623
|
type: 'TextColor',
|
|
1624
|
+
on: {
|
|
1625
|
+
change({ api, self }, color) {
|
|
1626
|
+
api.emit('change', 'style.color', color, self, api, true);
|
|
1627
|
+
},
|
|
1628
|
+
},
|
|
1622
1629
|
props: {
|
|
1623
|
-
rule,
|
|
1630
|
+
color: rule.style.color,
|
|
1631
|
+
},
|
|
1632
|
+
},
|
|
1633
|
+
on: {
|
|
1634
|
+
change({ api, self }, list) {
|
|
1635
|
+
vue.nextTick(() => {
|
|
1636
|
+
api.refresh();
|
|
1637
|
+
});
|
|
1624
1638
|
},
|
|
1625
1639
|
},
|
|
1626
1640
|
},
|
|
@@ -1663,7 +1677,7 @@ var picture = {
|
|
|
1663
1677
|
},
|
|
1664
1678
|
},
|
|
1665
1679
|
effect: {
|
|
1666
|
-
required:
|
|
1680
|
+
required: false,
|
|
1667
1681
|
formRule: 'formRule',
|
|
1668
1682
|
},
|
|
1669
1683
|
props: {
|
|
@@ -1748,40 +1762,36 @@ var picture = {
|
|
|
1748
1762
|
},
|
|
1749
1763
|
};
|
|
1750
1764
|
|
|
1751
|
-
const _hoisted_1$
|
|
1752
|
-
const _hoisted_2$
|
|
1753
|
-
const _hoisted_3$
|
|
1754
|
-
const _hoisted_4$
|
|
1755
|
-
const _hoisted_5$
|
|
1756
|
-
const _hoisted_6$3 = /* @__PURE__ */ vue.createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u6A21\u677F ");
|
|
1757
|
-
const _hoisted_7$2 = { class: "bm-widget-table-outer" };
|
|
1758
|
-
const _hoisted_8$2 = { class: "bm-widget-table" };
|
|
1759
|
-
const _hoisted_9$1 = {
|
|
1765
|
+
const _hoisted_1$a = { class: "bm-widget-table-wrap" };
|
|
1766
|
+
const _hoisted_2$8 = { class: "bm-widget-table-top-bar" };
|
|
1767
|
+
const _hoisted_3$5 = { class: "bm-widget-table-outer" };
|
|
1768
|
+
const _hoisted_4$4 = { class: "bm-widget-table" };
|
|
1769
|
+
const _hoisted_5$1 = {
|
|
1760
1770
|
key: 0,
|
|
1761
1771
|
class: "bm-widget-table__virtual"
|
|
1762
1772
|
};
|
|
1763
|
-
const
|
|
1764
|
-
const
|
|
1765
|
-
const
|
|
1766
|
-
|
|
1767
|
-
|
|
1773
|
+
const _hoisted_6$1 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-widget-table__virtual__head" }, null, -1);
|
|
1774
|
+
const _hoisted_7$1 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-widget-table__virtual__content" }, null, -1);
|
|
1775
|
+
const _hoisted_8 = [
|
|
1776
|
+
_hoisted_6$1,
|
|
1777
|
+
_hoisted_7$1
|
|
1768
1778
|
];
|
|
1769
|
-
const
|
|
1779
|
+
const _hoisted_9 = {
|
|
1770
1780
|
key: 1,
|
|
1771
1781
|
class: "bm-widget-table__tip"
|
|
1772
1782
|
};
|
|
1773
|
-
const
|
|
1783
|
+
const _hoisted_10 = {
|
|
1774
1784
|
key: 0,
|
|
1775
1785
|
class: "bm-widget-table__checkbox"
|
|
1776
1786
|
};
|
|
1777
|
-
const
|
|
1778
|
-
const
|
|
1779
|
-
const
|
|
1780
|
-
const
|
|
1781
|
-
const
|
|
1782
|
-
const
|
|
1783
|
-
const
|
|
1784
|
-
const
|
|
1787
|
+
const _hoisted_11 = { class: "bm-widget-table__checkbox__head" };
|
|
1788
|
+
const _hoisted_12 = { class: "bm-widget-table__checkbox__content" };
|
|
1789
|
+
const _hoisted_13 = { class: "bm-widget-table__operateColumn" };
|
|
1790
|
+
const _hoisted_14 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-widget-table__operateColumn__head" }, "\u64CD\u4F5C", -1);
|
|
1791
|
+
const _hoisted_15 = { class: "bm-widget-table__operateColumn__content" };
|
|
1792
|
+
const _hoisted_16 = /* @__PURE__ */ vue.createElementVNode("a", null, "\u590D\u5236", -1);
|
|
1793
|
+
const _hoisted_17 = /* @__PURE__ */ vue.createElementVNode("span", null, null, -1);
|
|
1794
|
+
const _hoisted_18 = /* @__PURE__ */ vue.createElementVNode("a", null, "\u5220\u9664", -1);
|
|
1785
1795
|
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
1786
1796
|
__name: "widget-table",
|
|
1787
1797
|
props: ["formCreateInject", "activeRule"],
|
|
@@ -1828,37 +1838,37 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
1828
1838
|
emits("delete", rule2);
|
|
1829
1839
|
}
|
|
1830
1840
|
return (_ctx, _cache) => {
|
|
1831
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1832
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
1841
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
|
|
1842
|
+
vue.createElementVNode("div", _hoisted_2$8, [
|
|
1833
1843
|
vue.createVNode(vue.unref(antDesignVue.Button), { type: "primary" }, {
|
|
1834
1844
|
icon: vue.withCtx(() => [
|
|
1835
1845
|
vue.createVNode(vue.unref(iconsVue.PlusOutlined))
|
|
1836
1846
|
]),
|
|
1837
1847
|
default: vue.withCtx(() => [
|
|
1838
|
-
|
|
1848
|
+
vue.createTextVNode(" \u65B0\u589E ")
|
|
1839
1849
|
]),
|
|
1840
1850
|
_: 1
|
|
1841
1851
|
}),
|
|
1842
1852
|
vue.unref(showDelete) ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Button), { key: 0 }, {
|
|
1843
1853
|
default: vue.withCtx(() => [
|
|
1844
|
-
|
|
1854
|
+
vue.createTextVNode(" \u6279\u91CF\u5220\u9664 ")
|
|
1845
1855
|
]),
|
|
1846
1856
|
_: 1
|
|
1847
1857
|
})) : vue.createCommentVNode("v-if", true),
|
|
1848
1858
|
vue.unref(showImport) ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Button), { key: 1 }, {
|
|
1849
1859
|
default: vue.withCtx(() => [
|
|
1850
|
-
|
|
1860
|
+
vue.createTextVNode(" \u6279\u91CF\u5BFC\u5165 ")
|
|
1851
1861
|
]),
|
|
1852
1862
|
_: 1
|
|
1853
1863
|
})) : vue.createCommentVNode("v-if", true),
|
|
1854
1864
|
vue.unref(showImport) ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Button), { key: 2 }, {
|
|
1855
1865
|
default: vue.withCtx(() => [
|
|
1856
|
-
|
|
1866
|
+
vue.createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u6A21\u677F ")
|
|
1857
1867
|
]),
|
|
1858
1868
|
_: 1
|
|
1859
1869
|
})) : vue.createCommentVNode("v-if", true)
|
|
1860
1870
|
]),
|
|
1861
|
-
vue.createElementVNode("div",
|
|
1871
|
+
vue.createElementVNode("div", _hoisted_3$5, [
|
|
1862
1872
|
vue.createElementVNode("div", {
|
|
1863
1873
|
class: "bm-widget-table-inner",
|
|
1864
1874
|
style: vue.normalizeStyle({
|
|
@@ -1866,8 +1876,8 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
1866
1876
|
paddingRight: vue.unref(showCopy) ? "81px" : "60px"
|
|
1867
1877
|
})
|
|
1868
1878
|
}, [
|
|
1869
|
-
vue.createElementVNode("div",
|
|
1870
|
-
vue.unref(childRules).length ? (vue.openBlock(), vue.createElementBlock("div",
|
|
1879
|
+
vue.createElementVNode("div", _hoisted_4$4, [
|
|
1880
|
+
vue.unref(childRules).length ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$1, _hoisted_8)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, "\u53EF\u62D6\u5165\u591A\u4E2A\u63A7\u4EF6")),
|
|
1871
1881
|
vue.createVNode(vue.unref(Draggable__default["default"]), {
|
|
1872
1882
|
"component-data": {
|
|
1873
1883
|
field: vue.unref(rule).field,
|
|
@@ -1911,8 +1921,8 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
1911
1921
|
}, 8, ["component-data", "list", "ghost-class"])
|
|
1912
1922
|
])
|
|
1913
1923
|
], 4),
|
|
1914
|
-
vue.unref(showDelete) ? (vue.openBlock(), vue.createElementBlock("div",
|
|
1915
|
-
vue.createElementVNode("div",
|
|
1924
|
+
vue.unref(showDelete) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
|
|
1925
|
+
vue.createElementVNode("div", _hoisted_11, [
|
|
1916
1926
|
vue.createVNode(vue.unref(antDesignVue.FormItemRest), null, {
|
|
1917
1927
|
default: vue.withCtx(() => [
|
|
1918
1928
|
vue.createVNode(vue.unref(antDesignVue.Checkbox))
|
|
@@ -1920,7 +1930,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
1920
1930
|
_: 1
|
|
1921
1931
|
})
|
|
1922
1932
|
]),
|
|
1923
|
-
vue.createElementVNode("div",
|
|
1933
|
+
vue.createElementVNode("div", _hoisted_12, [
|
|
1924
1934
|
vue.createVNode(vue.unref(antDesignVue.FormItemRest), null, {
|
|
1925
1935
|
default: vue.withCtx(() => [
|
|
1926
1936
|
vue.createVNode(vue.unref(antDesignVue.Checkbox))
|
|
@@ -1929,14 +1939,14 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
1929
1939
|
})
|
|
1930
1940
|
])
|
|
1931
1941
|
])) : vue.createCommentVNode("v-if", true),
|
|
1932
|
-
vue.createElementVNode("div",
|
|
1933
|
-
|
|
1934
|
-
vue.createElementVNode("div",
|
|
1942
|
+
vue.createElementVNode("div", _hoisted_13, [
|
|
1943
|
+
_hoisted_14,
|
|
1944
|
+
vue.createElementVNode("div", _hoisted_15, [
|
|
1935
1945
|
vue.unref(showCopy) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
1936
|
-
|
|
1937
|
-
|
|
1946
|
+
_hoisted_16,
|
|
1947
|
+
_hoisted_17
|
|
1938
1948
|
], 64)) : vue.createCommentVNode("v-if", true),
|
|
1939
|
-
|
|
1949
|
+
_hoisted_18
|
|
1940
1950
|
])
|
|
1941
1951
|
])
|
|
1942
1952
|
])
|
|
@@ -2016,7 +2026,15 @@ var table = {
|
|
|
2016
2026
|
effect: {
|
|
2017
2027
|
required: true,
|
|
2018
2028
|
},
|
|
2029
|
+
inject: true,
|
|
2019
2030
|
value: rule.config.childRules,
|
|
2031
|
+
on: {
|
|
2032
|
+
change({ api, self }, list) {
|
|
2033
|
+
vue.nextTick(() => {
|
|
2034
|
+
api.validate();
|
|
2035
|
+
});
|
|
2036
|
+
},
|
|
2037
|
+
},
|
|
2020
2038
|
},
|
|
2021
2039
|
{
|
|
2022
2040
|
type: 'checkbox',
|
|
@@ -2079,7 +2097,7 @@ var file = {
|
|
|
2079
2097
|
},
|
|
2080
2098
|
},
|
|
2081
2099
|
effect: {
|
|
2082
|
-
required:
|
|
2100
|
+
required: false,
|
|
2083
2101
|
formRule: 'formRule',
|
|
2084
2102
|
},
|
|
2085
2103
|
config: {
|
|
@@ -2150,7 +2168,7 @@ var people = {
|
|
|
2150
2168
|
},
|
|
2151
2169
|
},
|
|
2152
2170
|
effect: {
|
|
2153
|
-
required:
|
|
2171
|
+
required: false,
|
|
2154
2172
|
formRule: 'formRule',
|
|
2155
2173
|
},
|
|
2156
2174
|
props: {
|
|
@@ -2183,6 +2201,7 @@ var people = {
|
|
|
2183
2201
|
field: fieldsMap$5['props.placeholder'],
|
|
2184
2202
|
props: {
|
|
2185
2203
|
placeholder: '请输入',
|
|
2204
|
+
maxlength: 30,
|
|
2186
2205
|
},
|
|
2187
2206
|
value: rule.props.placeholder,
|
|
2188
2207
|
},
|
|
@@ -2271,7 +2290,7 @@ var department = {
|
|
|
2271
2290
|
},
|
|
2272
2291
|
},
|
|
2273
2292
|
effect: {
|
|
2274
|
-
required:
|
|
2293
|
+
required: false,
|
|
2275
2294
|
formRule: 'formRule',
|
|
2276
2295
|
},
|
|
2277
2296
|
props: {
|
|
@@ -2304,6 +2323,7 @@ var department = {
|
|
|
2304
2323
|
field: fieldsMap$4['props.placeholder'],
|
|
2305
2324
|
props: {
|
|
2306
2325
|
placeholder: '请输入',
|
|
2326
|
+
maxlength: 30,
|
|
2307
2327
|
},
|
|
2308
2328
|
value: rule.props.placeholder,
|
|
2309
2329
|
},
|
|
@@ -2366,15 +2386,10 @@ var department = {
|
|
|
2366
2386
|
},
|
|
2367
2387
|
};
|
|
2368
2388
|
|
|
2369
|
-
const _hoisted_1$
|
|
2370
|
-
const _hoisted_2$
|
|
2371
|
-
const _hoisted_3$
|
|
2372
|
-
const _hoisted_4$
|
|
2373
|
-
const _hoisted_5$2 = /* @__PURE__ */ vue.createTextVNode(" \u5BFC\u5165\u660E\u7EC6 ");
|
|
2374
|
-
const _hoisted_6$2 = /* @__PURE__ */ vue.createTextVNode(" \u6279\u91CF\u5220\u9664 ");
|
|
2375
|
-
const _hoisted_7$1 = /* @__PURE__ */ vue.createTextVNode(" \u65B0\u589E ");
|
|
2376
|
-
const _hoisted_8$1 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-material-temp__table-tip" }, "\u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6\u8868\u683C\u5B57\u6BB5", -1);
|
|
2377
|
-
const _hoisted_9 = { class: "bm-material-temp__add" };
|
|
2389
|
+
const _hoisted_1$9 = { style: { "margin-top": "16px", "line-height": "32px" } };
|
|
2390
|
+
const _hoisted_2$7 = { style: { "float": "right" } };
|
|
2391
|
+
const _hoisted_3$4 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-material-temp__table-tip" }, "\u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6\u8868\u683C\u5B57\u6BB5", -1);
|
|
2392
|
+
const _hoisted_4$3 = { class: "bm-material-temp__add" };
|
|
2378
2393
|
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
2379
2394
|
__name: "widget-material-temp",
|
|
2380
2395
|
props: ["formCreateInject"],
|
|
@@ -2483,14 +2498,10 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
2483
2498
|
uploadPicRule.hidden = uploadPictureRule.hidden;
|
|
2484
2499
|
rules.value = [...rules.value];
|
|
2485
2500
|
}
|
|
2486
|
-
vue.watch(
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
deep: true,
|
|
2491
|
-
immediate: true
|
|
2492
|
-
}
|
|
2493
|
-
);
|
|
2501
|
+
vue.watch(() => props.formCreateInject.rule.config.uploadPictureRule, handleUploadPicRule, {
|
|
2502
|
+
deep: true,
|
|
2503
|
+
immediate: true
|
|
2504
|
+
});
|
|
2494
2505
|
return (_ctx, _cache) => {
|
|
2495
2506
|
const _component_FormCreate = vue.resolveComponent("FormCreate");
|
|
2496
2507
|
return vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Tabs), {
|
|
@@ -2502,7 +2513,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
2502
2513
|
size: "small"
|
|
2503
2514
|
}, {
|
|
2504
2515
|
rightExtra: vue.withCtx(() => [
|
|
2505
|
-
vue.createElementVNode("span",
|
|
2516
|
+
vue.createElementVNode("span", _hoisted_4$3, [
|
|
2506
2517
|
vue.createVNode(vue.unref(iconsVue.PlusOutlined))
|
|
2507
2518
|
])
|
|
2508
2519
|
]),
|
|
@@ -2517,37 +2528,37 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
2517
2528
|
option,
|
|
2518
2529
|
rule: rules.value
|
|
2519
2530
|
}, null, 8, ["rule"]),
|
|
2520
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
2521
|
-
|
|
2522
|
-
vue.createElementVNode("div",
|
|
2531
|
+
vue.createElementVNode("div", _hoisted_1$9, [
|
|
2532
|
+
vue.createTextVNode(" \u660E\u7EC6\u5217\u8868 "),
|
|
2533
|
+
vue.createElementVNode("div", _hoisted_2$7, [
|
|
2523
2534
|
vue.createVNode(vue.unref(antDesignVue.Button), null, {
|
|
2524
2535
|
default: vue.withCtx(() => [
|
|
2525
|
-
|
|
2536
|
+
vue.createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u6A21\u677F ")
|
|
2526
2537
|
]),
|
|
2527
2538
|
_: 1
|
|
2528
2539
|
}),
|
|
2529
2540
|
vue.createVNode(vue.unref(antDesignVue.Button), null, {
|
|
2530
2541
|
default: vue.withCtx(() => [
|
|
2531
|
-
|
|
2542
|
+
vue.createTextVNode(" \u5BFC\u5165\u660E\u7EC6 ")
|
|
2532
2543
|
]),
|
|
2533
2544
|
_: 1
|
|
2534
2545
|
}),
|
|
2535
2546
|
vue.createVNode(vue.unref(antDesignVue.Button), null, {
|
|
2536
2547
|
default: vue.withCtx(() => [
|
|
2537
|
-
|
|
2548
|
+
vue.createTextVNode(" \u6279\u91CF\u5220\u9664 ")
|
|
2538
2549
|
]),
|
|
2539
2550
|
_: 1
|
|
2540
2551
|
}),
|
|
2541
2552
|
vue.createVNode(vue.unref(antDesignVue.Button), { type: "primary" }, {
|
|
2542
2553
|
default: vue.withCtx(() => [
|
|
2543
2554
|
vue.createVNode(vue.unref(iconsVue.PlusOutlined)),
|
|
2544
|
-
|
|
2555
|
+
vue.createTextVNode(" \u65B0\u589E ")
|
|
2545
2556
|
]),
|
|
2546
2557
|
_: 1
|
|
2547
2558
|
})
|
|
2548
2559
|
])
|
|
2549
2560
|
]),
|
|
2550
|
-
|
|
2561
|
+
_hoisted_3$4
|
|
2551
2562
|
]),
|
|
2552
2563
|
_: 2
|
|
2553
2564
|
}, 1032, ["tab"]);
|
|
@@ -2560,17 +2571,16 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
2560
2571
|
});
|
|
2561
2572
|
var WidgetMaterialTemp = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "widget-material-temp.vue"]]);
|
|
2562
2573
|
|
|
2563
|
-
const _hoisted_1$
|
|
2564
|
-
const _hoisted_2$
|
|
2565
|
-
const _hoisted_3$6 = /* @__PURE__ */ vue.createTextVNode(" \u4F7F\u7528\u8BF4\u660E ");
|
|
2574
|
+
const _hoisted_1$8 = { class: "bm-use-instruction" };
|
|
2575
|
+
const _hoisted_2$6 = { class: "bm-use-instruction__title" };
|
|
2566
2576
|
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
2567
2577
|
__name: "use-instruction",
|
|
2568
2578
|
setup(__props) {
|
|
2569
2579
|
return (_ctx, _cache) => {
|
|
2570
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2571
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
2580
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, [
|
|
2581
|
+
vue.createElementVNode("div", _hoisted_2$6, [
|
|
2572
2582
|
vue.createVNode(vue.unref(iconsVue.InfoCircleFilled), { class: "bm-use-instruction__title__icon" }),
|
|
2573
|
-
|
|
2583
|
+
vue.createTextVNode(" \u4F7F\u7528\u8BF4\u660E ")
|
|
2574
2584
|
]),
|
|
2575
2585
|
vue.renderSlot(_ctx.$slots, "default")
|
|
2576
2586
|
]);
|
|
@@ -2695,10 +2705,10 @@ var materialTemp = {
|
|
|
2695
2705
|
},
|
|
2696
2706
|
};
|
|
2697
2707
|
|
|
2698
|
-
const _hoisted_1$
|
|
2699
|
-
const _hoisted_2$
|
|
2700
|
-
const _hoisted_3$
|
|
2701
|
-
const _hoisted_4$
|
|
2708
|
+
const _hoisted_1$7 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-product-info-item__title" }, "\u5546\u54C1\u7F16\u53F7", -1);
|
|
2709
|
+
const _hoisted_2$5 = { class: "bm-product-info-item__content" };
|
|
2710
|
+
const _hoisted_3$3 = { class: "bm-product-info-item__title" };
|
|
2711
|
+
const _hoisted_4$2 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-product-info-item__content" }, "\u7CFB\u7EDF\u81EA\u52A8\u5E26\u51FA", -1);
|
|
2702
2712
|
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
2703
2713
|
__name: "product-info",
|
|
2704
2714
|
props: ["formCreateInject"],
|
|
@@ -2711,8 +2721,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2711
2721
|
span: 12
|
|
2712
2722
|
}, {
|
|
2713
2723
|
default: vue.withCtx(() => [
|
|
2714
|
-
_hoisted_1$
|
|
2715
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
2724
|
+
_hoisted_1$7,
|
|
2725
|
+
vue.createElementVNode("div", _hoisted_2$5, [
|
|
2716
2726
|
vue.createVNode(vue.unref(antDesignVue.Input), { placeholder: "\u8BF7\u8F93\u5165\u5546\u54C1\u7F16\u53F7" })
|
|
2717
2727
|
])
|
|
2718
2728
|
]),
|
|
@@ -2725,8 +2735,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2725
2735
|
span: 12
|
|
2726
2736
|
}, {
|
|
2727
2737
|
default: vue.withCtx(() => [
|
|
2728
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
2729
|
-
_hoisted_4$
|
|
2738
|
+
vue.createElementVNode("div", _hoisted_3$3, vue.toDisplayString(item.label), 1),
|
|
2739
|
+
_hoisted_4$2
|
|
2730
2740
|
]),
|
|
2731
2741
|
_: 2
|
|
2732
2742
|
}, 1024);
|
|
@@ -2739,14 +2749,11 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2739
2749
|
});
|
|
2740
2750
|
var ProductInfo = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "product-info.vue"]]);
|
|
2741
2751
|
|
|
2742
|
-
const _hoisted_1$
|
|
2752
|
+
const _hoisted_1$6 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-associated-fields-item" }, [
|
|
2743
2753
|
/* @__PURE__ */ vue.createElementVNode("span", { class: "bm-associated-fields-item__content" }, "\u5546\u54C1\u7F16\u53F7")
|
|
2744
2754
|
], -1);
|
|
2745
|
-
const _hoisted_2$
|
|
2746
|
-
const _hoisted_3$
|
|
2747
|
-
const _hoisted_4$2 = { style: { "text-align": "right", "margin": "6px 0 4px", "padding-right": "8px" } };
|
|
2748
|
-
const _hoisted_5$1 = /* @__PURE__ */ vue.createTextVNode("\u53D6\u6D88");
|
|
2749
|
-
const _hoisted_6$1 = /* @__PURE__ */ vue.createTextVNode("\u786E\u5B9A");
|
|
2755
|
+
const _hoisted_2$4 = { class: "bm-associated-fields-item__content" };
|
|
2756
|
+
const _hoisted_3$2 = { style: { "text-align": "right", "margin": "6px 0 4px", "padding-right": "8px" } };
|
|
2750
2757
|
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
2751
2758
|
__name: "associated-fields",
|
|
2752
2759
|
props: ["associatedFields"],
|
|
@@ -2782,10 +2789,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2782
2789
|
}
|
|
2783
2790
|
];
|
|
2784
2791
|
function emitChangeEvt() {
|
|
2785
|
-
emits(
|
|
2786
|
-
"change",
|
|
2787
|
-
options.filter((op) => checkList.value.includes(op.value))
|
|
2788
|
-
);
|
|
2792
|
+
emits("change", options.filter((op) => checkList.value.includes(op.value)));
|
|
2789
2793
|
}
|
|
2790
2794
|
function handOk() {
|
|
2791
2795
|
visible.value = false;
|
|
@@ -2810,13 +2814,13 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2810
2814
|
return (_ctx, _cache) => {
|
|
2811
2815
|
const _component_Delete = vue.resolveComponent("Delete");
|
|
2812
2816
|
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
2813
|
-
_hoisted_1$
|
|
2817
|
+
_hoisted_1$6,
|
|
2814
2818
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.associatedFields, (item) => {
|
|
2815
2819
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
2816
2820
|
key: item.value,
|
|
2817
2821
|
class: "bm-associated-fields-item"
|
|
2818
2822
|
}, [
|
|
2819
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
2823
|
+
vue.createElementVNode("span", _hoisted_2$4, vue.toDisplayString(item.label), 1),
|
|
2820
2824
|
vue.createVNode(_component_Delete, {
|
|
2821
2825
|
class: "bm-associated-fields-item__icon",
|
|
2822
2826
|
onClick: ($event) => handleDel(item.value)
|
|
@@ -2864,12 +2868,12 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2864
2868
|
_: 1
|
|
2865
2869
|
}),
|
|
2866
2870
|
vue.createVNode(vue.unref(antDesignVue.Divider), { style: { "margin": "0" } }),
|
|
2867
|
-
vue.createElementVNode("div",
|
|
2871
|
+
vue.createElementVNode("div", _hoisted_3$2, [
|
|
2868
2872
|
vue.createVNode(vue.unref(antDesignVue.Button), {
|
|
2869
2873
|
onClick: _cache[1] || (_cache[1] = ($event) => visible.value = false)
|
|
2870
2874
|
}, {
|
|
2871
2875
|
default: vue.withCtx(() => [
|
|
2872
|
-
|
|
2876
|
+
vue.createTextVNode("\u53D6\u6D88")
|
|
2873
2877
|
]),
|
|
2874
2878
|
_: 1
|
|
2875
2879
|
}),
|
|
@@ -2879,7 +2883,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2879
2883
|
onClick: handOk
|
|
2880
2884
|
}, {
|
|
2881
2885
|
default: vue.withCtx(() => [
|
|
2882
|
-
|
|
2886
|
+
vue.createTextVNode("\u786E\u5B9A")
|
|
2883
2887
|
]),
|
|
2884
2888
|
_: 1
|
|
2885
2889
|
})
|
|
@@ -2895,7 +2899,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2895
2899
|
}, {
|
|
2896
2900
|
default: vue.withCtx(() => [
|
|
2897
2901
|
vue.createVNode(vue.unref(iconsVue.PlusOutlined)),
|
|
2898
|
-
|
|
2902
|
+
vue.createTextVNode(" \u6DFB\u52A0\u5B50\u5B57\u6BB5 ")
|
|
2899
2903
|
]),
|
|
2900
2904
|
_: 1
|
|
2901
2905
|
})
|
|
@@ -2908,9 +2912,8 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2908
2912
|
});
|
|
2909
2913
|
var AssociatedFields = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "associated-fields.vue"]]);
|
|
2910
2914
|
|
|
2911
|
-
const _hoisted_1$
|
|
2912
|
-
const _hoisted_2$
|
|
2913
|
-
const _hoisted_3$3 = /* @__PURE__ */ vue.createTextVNode("\u8BF7\u5148\u6DFB\u52A0\u5173\u8054\u8868\u5355\u4E2D\u7684\u5E97\u94FA\u7EC4\u4EF6");
|
|
2915
|
+
const _hoisted_1$5 = /* @__PURE__ */ vue.createElementVNode("div", { style: { "margin": "18px 0 6px" } }, "\u4EC5\u83B7\u53D6", -1);
|
|
2916
|
+
const _hoisted_2$3 = /* @__PURE__ */ vue.createElementVNode("div", { style: { "margin-top": "7px" } }, "\u4E2D\u53EF\u5206\u9500\u7684\u5546\u54C1\u6570\u636E", -1);
|
|
2914
2917
|
const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
2915
2918
|
__name: "shop-data-filter",
|
|
2916
2919
|
props: ["widgetFormRules", "defaultSelectValue"],
|
|
@@ -2919,19 +2922,17 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2919
2922
|
const props = __props;
|
|
2920
2923
|
const checkedValue = vue.ref(!!props.defaultSelectValue);
|
|
2921
2924
|
const selectValue = vue.ref(props.defaultSelectValue);
|
|
2922
|
-
const shopRules = vue.computed(
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
}, [])
|
|
2934
|
-
);
|
|
2925
|
+
const shopRules = vue.computed(() => props.widgetFormRules.reduce((pre, cur) => {
|
|
2926
|
+
const name = cur.config.config.name;
|
|
2927
|
+
if (name === "row" || name === "table") {
|
|
2928
|
+
cur.config.childRules.forEach((rule) => {
|
|
2929
|
+
getShop(rule, pre);
|
|
2930
|
+
});
|
|
2931
|
+
} else {
|
|
2932
|
+
getShop(cur, pre);
|
|
2933
|
+
}
|
|
2934
|
+
return pre;
|
|
2935
|
+
}, []));
|
|
2935
2936
|
const shops = vue.computed(() => {
|
|
2936
2937
|
return shopRules.value.map((shopRule) => ({
|
|
2937
2938
|
value: shopRule.field,
|
|
@@ -2990,7 +2991,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2990
2991
|
"onUpdate:checked": _cache[0] || (_cache[0] = ($event) => checkedValue.value = $event)
|
|
2991
2992
|
}, null, 8, ["checked"]),
|
|
2992
2993
|
checkedValue.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
2993
|
-
_hoisted_1$
|
|
2994
|
+
_hoisted_1$5,
|
|
2994
2995
|
vue.createVNode(vue.unref(antDesignVue.Select), {
|
|
2995
2996
|
value: selectValue.value,
|
|
2996
2997
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => selectValue.value = $event),
|
|
@@ -2999,14 +3000,14 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2999
3000
|
"show-arrow": vue.unref(shops).length > 1,
|
|
3000
3001
|
placeholder: "\u8BF7\u9009\u62E9"
|
|
3001
3002
|
}, null, 8, ["value", "options", "disabled", "show-arrow"]),
|
|
3002
|
-
_hoisted_2$
|
|
3003
|
+
_hoisted_2$3
|
|
3003
3004
|
], 64)) : vue.createCommentVNode("v-if", true)
|
|
3004
3005
|
], 64)) : (vue.openBlock(), vue.createBlock(_component_a_tooltip, {
|
|
3005
3006
|
key: 1,
|
|
3006
3007
|
placement: "bottomLeft"
|
|
3007
3008
|
}, {
|
|
3008
3009
|
title: vue.withCtx(() => [
|
|
3009
|
-
|
|
3010
|
+
vue.createTextVNode("\u8BF7\u5148\u6DFB\u52A0\u5173\u8054\u8868\u5355\u4E2D\u7684\u5E97\u94FA\u7EC4\u4EF6")
|
|
3010
3011
|
]),
|
|
3011
3012
|
default: vue.withCtx(() => [
|
|
3012
3013
|
vue.createVNode(vue.unref(antDesignVue.Switch), { disabled: "" })
|
|
@@ -3420,16 +3421,16 @@ function createTab() {
|
|
|
3420
3421
|
];
|
|
3421
3422
|
}
|
|
3422
3423
|
|
|
3423
|
-
const _hoisted_1$
|
|
3424
|
+
const _hoisted_1$4 = {
|
|
3424
3425
|
style: { "vertical-align": "middle" },
|
|
3425
3426
|
width: "199px",
|
|
3426
3427
|
height: "107px",
|
|
3427
3428
|
viewBox: "0 0 199 107",
|
|
3428
3429
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3429
3430
|
};
|
|
3430
|
-
const _hoisted_2$
|
|
3431
|
-
const _hoisted_3$
|
|
3432
|
-
_hoisted_2$
|
|
3431
|
+
const _hoisted_2$2 = /* @__PURE__ */ vue.createStaticVNode('<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-826.000000, -249.000000)"><g transform="translate(667.000000, 71.000000)"><g transform="translate(159.000000, 178.000000)"><path d="M2,0 L197,0 C198.104569,-6.46995335e-16 199,0.8954305 199,2 L199,105 C199,106.104569 198.104569,107 197,107 L2,107 C0.8954305,107 1.3527075e-16,106.104569 0,105 L0,2 C-1.3527075e-16,0.8954305 0.8954305,2.02906125e-16 2,0 Z" fill="#F9FBFF"></path><path d="M41,6 C41.5522847,6 42,6.44771525 42,7 L42,100 C42,100.552285 41.5522847,101 41,101 L7,101 C6.44771525,101 6,100.552285 6,100 L6,7 C6,6.44771525 6.44771525,6 7,6 L41,6 Z M192,6 C192.552285,6 193,6.44771525 193,7 L193,100 C193,100.552285 192.552285,101 192,101 L159,101 C158.447715,101 158,100.552285 158,100 L158,7 C158,6.44771525 158.447715,6 159,6 L192,6 Z M151,35 C151.552285,35 152,35.4477153 152,36 L152,100 C152,100.552285 151.552285,101 151,101 L49,101 C48.4477153,101 48,100.552285 48,100 L48,36 C48,35.4477153 48.4477153,35 49,35 L151,35 Z M151,6 C151.552285,6 152,6.44771525 152,7 L152,30 C152,30.5522847 151.552285,31 151,31 L49,31 C48.4477153,31 48,30.5522847 48,30 L48,7 C48,6.44771525 48.4477153,6 49,6 L151,6 Z" fill="#EFF3FF"></path><rect stroke="#8FAAFF" fill="#D0DCFF" x="12.5" y="17.5" width="23" height="13" rx="0.5"></rect><rect fill="#E4E8F7" x="12" y="47" width="24" height="14" rx="0.5"></rect><rect fill="#E4E8F7" x="12" y="75" width="24" height="14" rx="0.5"></rect><use stroke="#AEC2FF" mask="url(#mask-2)" stroke-width="2" fill-opacity="0.26" fill="#AFC3FF" stroke-dasharray="2" xlink:href="#path-1"></use><path d="M33.5,20 C35.9852814,20 38,22.0147186 38,24.5 C38,26.9852814 35.9852814,29 33.5,29 C31.0147186,29 29,26.9852814 29,24.5 C29,22.0147186 31.0147186,20 33.5,20 Z M33.5,22 C32.1192881,22 31,23.1192881 31,24.5 C31,25.8807119 32.1192881,27 33.5,27 C34.8807119,27 36,25.8807119 36,24.5 C36,23.1192881 34.8807119,22 33.5,22 Z" fill="#2F4EED"></path><circle fill="#F9FBFF" cx="33.5" cy="24.5" r="2.5"></circle><path d="M42.5,22 C65.8354499,22 85.7454723,36.6659986 93.5155164,57.2834451 L93.7801465,55.3991118 C93.8570096,54.8522019 94.3626777,54.4711537 94.9095876,54.5480169 C95.4564976,54.6248801 95.8375458,55.1305481 95.7606826,55.677458 L94.925644,61.6190665 C94.8487808,62.1659764 94.3431128,62.5470246 93.7962028,62.4701614 L93.7673315,62.4658857 C93.5875459,62.4468789 93.4107192,62.3789077 93.2577621,62.2594045 L88.5296976,58.5654356 C88.0944913,58.2254152 88.0173279,57.5969697 88.3573483,57.1617634 C88.6973688,56.7265571 89.3258142,56.6493937 89.7610205,56.9894141 L91.887337,58.6494477 C84.582156,38.4419045 65.2276218,24 42.5,24 C40.4254117,24 38.3789284,24.1203318 36.367149,24.3543965 L36.022518,22.3809268 C38.1466458,22.1293826 40.3082134,22 42.5,22 Z" fill="#2F4EED"></path></g></g></g></g>', 1);
|
|
3432
|
+
const _hoisted_3$1 = [
|
|
3433
|
+
_hoisted_2$2
|
|
3433
3434
|
];
|
|
3434
3435
|
const _hoisted_4$1 = /* @__PURE__ */ vue.createElementVNode("div", { style: { "line-height": "20px", "margin-top": "12px", "color": "#505259" } }, " \u8BF7\u62D6\u62FD\u6216\u70B9\u51FB\u5DE6\u4FA7\u5B57\u6BB5\u521B\u5EFA\u8868\u5355 ", -1);
|
|
3435
3436
|
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -3438,7 +3439,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3438
3439
|
setup(__props) {
|
|
3439
3440
|
return (_ctx, _cache) => {
|
|
3440
3441
|
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
3441
|
-
(vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$
|
|
3442
|
+
(vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$4, _hoisted_3$1)),
|
|
3442
3443
|
_hoisted_4$1
|
|
3443
3444
|
]);
|
|
3444
3445
|
};
|
|
@@ -3467,7 +3468,7 @@ const formDesignerProps = {
|
|
|
3467
3468
|
},
|
|
3468
3469
|
};
|
|
3469
3470
|
|
|
3470
|
-
const _hoisted_1$
|
|
3471
|
+
const _hoisted_1$3 = {
|
|
3471
3472
|
key: 0,
|
|
3472
3473
|
style: { "font-weight": "normal" }
|
|
3473
3474
|
};
|
|
@@ -3476,31 +3477,28 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3476
3477
|
props: ["childRules"],
|
|
3477
3478
|
setup(__props) {
|
|
3478
3479
|
const props = __props;
|
|
3479
|
-
const text = vue.computed(
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
}, "")
|
|
3485
|
-
);
|
|
3480
|
+
const text = vue.computed(() => props.childRules.filter((rule) => rule.type === "inputNumber" && rule.config.count).reduce((pre, item, index) => {
|
|
3481
|
+
if (index > 0)
|
|
3482
|
+
pre += "\u3001";
|
|
3483
|
+
return pre + `${item.title.title}: 0`;
|
|
3484
|
+
}, ""));
|
|
3486
3485
|
return (_ctx, _cache) => {
|
|
3487
3486
|
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
3488
3487
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
3489
|
-
vue.unref(text) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
3488
|
+
vue.unref(text) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$3, "\uFF08" + vue.toDisplayString(vue.unref(text)) + "\uFF09", 1)) : vue.createCommentVNode("v-if", true)
|
|
3490
3489
|
]);
|
|
3491
3490
|
};
|
|
3492
3491
|
}
|
|
3493
3492
|
});
|
|
3494
3493
|
var TableHeadCount = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "table-head-count.vue"]]);
|
|
3495
3494
|
|
|
3496
|
-
const _hoisted_1$
|
|
3497
|
-
const _hoisted_2$2 = /* @__PURE__ */ vue.createTextVNode("\u5FC5\u586B");
|
|
3495
|
+
const _hoisted_1$2 = { style: { "position": "absolute", "right": "0", "top": "-30px", "display": "flex", "align-items": "center" } };
|
|
3498
3496
|
const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
3499
3497
|
__name: "checkbox-switch",
|
|
3500
3498
|
props: ["rule"],
|
|
3501
3499
|
setup(__props) {
|
|
3502
3500
|
return (_ctx, _cache) => {
|
|
3503
|
-
return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
3501
|
+
return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$2, [
|
|
3504
3502
|
vue.createVNode(vue.unref(antDesignVue.FormItemRest), null, {
|
|
3505
3503
|
default: vue.withCtx(() => [
|
|
3506
3504
|
vue.createVNode(vue.unref(antDesignVue.Checkbox), {
|
|
@@ -3508,7 +3506,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3508
3506
|
"onUpdate:checked": _cache[0] || (_cache[0] = ($event) => __props.rule.config.uploadPictureRule.required = $event)
|
|
3509
3507
|
}, {
|
|
3510
3508
|
default: vue.withCtx(() => [
|
|
3511
|
-
|
|
3509
|
+
vue.createTextVNode("\u5FC5\u586B")
|
|
3512
3510
|
]),
|
|
3513
3511
|
_: 1
|
|
3514
3512
|
}, 8, ["checked"]),
|
|
@@ -3582,13 +3580,13 @@ var ruleList = {
|
|
|
3582
3580
|
[materialType.name]: materialType,
|
|
3583
3581
|
};
|
|
3584
3582
|
|
|
3585
|
-
const _hoisted_1$
|
|
3583
|
+
const _hoisted_1$1 = { class: "bm-table-column__main" };
|
|
3586
3584
|
const _hoisted_2$1 = { class: "bm-table-column-btn-wrap" };
|
|
3587
|
-
const _hoisted_3$1 = /* @__PURE__ */ vue.createTextVNode(" \u6DFB\u52A0\u5B50\u5B57\u6BB5 ");
|
|
3588
3585
|
const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
3589
3586
|
__name: "table-column",
|
|
3590
3587
|
props: ["formCreateInject"],
|
|
3591
|
-
|
|
3588
|
+
emits: ["change"],
|
|
3589
|
+
setup(__props, { emit: emits }) {
|
|
3592
3590
|
const props = __props;
|
|
3593
3591
|
const handleClass = "bm-table-column__drag-icon";
|
|
3594
3592
|
const btnCom = vue.ref();
|
|
@@ -3613,6 +3611,11 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3613
3611
|
function getPopupContainer() {
|
|
3614
3612
|
return document.body;
|
|
3615
3613
|
}
|
|
3614
|
+
vue.watch(childRules, (val) => {
|
|
3615
|
+
emits("change", val);
|
|
3616
|
+
}, {
|
|
3617
|
+
deep: true
|
|
3618
|
+
});
|
|
3616
3619
|
return (_ctx, _cache) => {
|
|
3617
3620
|
const _component_Delete = vue.resolveComponent("Delete");
|
|
3618
3621
|
const _component_ARow = vue.resolveComponent("ARow");
|
|
@@ -3637,7 +3640,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3637
3640
|
vue.createVNode(vue.unref(iconsVue.HolderOutlined), {
|
|
3638
3641
|
class: vue.normalizeClass([handleClass])
|
|
3639
3642
|
}, null, 8, ["class"]),
|
|
3640
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
3643
|
+
vue.createElementVNode("div", _hoisted_1$1, vue.toDisplayString(element.title.title), 1),
|
|
3641
3644
|
vue.createVNode(vue.unref(iconsVue.EditOutlined), {
|
|
3642
3645
|
class: "bm-table-column__icon is-edit",
|
|
3643
3646
|
onClick: ($event) => handleEdit(element)
|
|
@@ -3680,7 +3683,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3680
3683
|
vue.createVNode(vue.unref(iconsVue.PlusOutlined))
|
|
3681
3684
|
]),
|
|
3682
3685
|
default: vue.withCtx(() => [
|
|
3683
|
-
|
|
3686
|
+
vue.createTextVNode(" \u6DFB\u52A0\u5B50\u5B57\u6BB5 ")
|
|
3684
3687
|
]),
|
|
3685
3688
|
_: 1
|
|
3686
3689
|
}, 512)
|
|
@@ -3691,15 +3694,19 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3691
3694
|
});
|
|
3692
3695
|
var TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "table-column.vue"]]);
|
|
3693
3696
|
|
|
3694
|
-
const _hoisted_1$1 = /* @__PURE__ */ vue.createTextVNode("change");
|
|
3695
3697
|
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
3696
3698
|
__name: "text-color",
|
|
3697
|
-
props: ["
|
|
3698
|
-
|
|
3699
|
+
props: ["color"],
|
|
3700
|
+
emits: ["change"],
|
|
3701
|
+
setup(__props, { emit: emits }) {
|
|
3699
3702
|
const props = __props;
|
|
3703
|
+
const color = vue.ref(props.color);
|
|
3704
|
+
function getColor(curColor) {
|
|
3705
|
+
return curColor === Colors.Black ? Colors.Blue : Colors.Black;
|
|
3706
|
+
}
|
|
3700
3707
|
function handleClick() {
|
|
3701
|
-
|
|
3702
|
-
|
|
3708
|
+
color.value = getColor(color.value);
|
|
3709
|
+
emits("change", color.value);
|
|
3703
3710
|
}
|
|
3704
3711
|
return (_ctx, _cache) => {
|
|
3705
3712
|
const _component_ColorPanel = vue.resolveComponent("ColorPanel");
|
|
@@ -3711,16 +3718,11 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3711
3718
|
width: "1em",
|
|
3712
3719
|
height: "1em",
|
|
3713
3720
|
fontSize: "20px",
|
|
3714
|
-
color:
|
|
3721
|
+
color: getColor(color.value),
|
|
3715
3722
|
cursor: "pointer"
|
|
3716
3723
|
}),
|
|
3717
3724
|
onClick: vue.withModifiers(handleClick, ["prevent", "stop"])
|
|
3718
|
-
},
|
|
3719
|
-
default: vue.withCtx(() => [
|
|
3720
|
-
_hoisted_1$1
|
|
3721
|
-
]),
|
|
3722
|
-
_: 1
|
|
3723
|
-
}, 8, ["style", "onClick"]);
|
|
3725
|
+
}, null, 8, ["style", "onClick"]);
|
|
3724
3726
|
};
|
|
3725
3727
|
}
|
|
3726
3728
|
});
|
|
@@ -3734,9 +3736,8 @@ const _hoisted_5 = {
|
|
|
3734
3736
|
key: 0,
|
|
3735
3737
|
class: "bfd-sider-right__title"
|
|
3736
3738
|
};
|
|
3737
|
-
const _hoisted_6 =
|
|
3738
|
-
const _hoisted_7 = {
|
|
3739
|
-
const _hoisted_8 = {
|
|
3739
|
+
const _hoisted_6 = { class: "bfd-sider-right__form" };
|
|
3740
|
+
const _hoisted_7 = {
|
|
3740
3741
|
key: 0,
|
|
3741
3742
|
class: "bfd-sider-right__form__flow-releated"
|
|
3742
3743
|
};
|
|
@@ -3780,13 +3781,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
3780
3781
|
const cacheProps = vue.reactive({});
|
|
3781
3782
|
const fApi = vue.ref();
|
|
3782
3783
|
const activeParentRule = vue.ref();
|
|
3783
|
-
const menuList = vue.computed(
|
|
3784
|
-
() => tabData.find((tab) => tab.key === activeKey.value).menuList
|
|
3785
|
-
);
|
|
3784
|
+
const menuList = vue.computed(() => tabData.find((tab) => tab.key === activeKey.value).menuList);
|
|
3786
3785
|
const activeProps = vue.computed(() => cacheProps[activeRule.value.field]);
|
|
3787
|
-
const activeRuleInList = vue.computed(
|
|
3788
|
-
() => activeParentRule.value?.config?.childRules || widgetFormRules
|
|
3789
|
-
);
|
|
3786
|
+
const activeRuleInList = vue.computed(() => activeParentRule.value?.config?.childRules || widgetFormRules);
|
|
3790
3787
|
function hideShowDragTip() {
|
|
3791
3788
|
showDragTip.value = false;
|
|
3792
3789
|
}
|
|
@@ -3841,9 +3838,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
3841
3838
|
if (!widgetNamesRowAccept.includes(config.name) && activeParentRuleName === "row" || !Object.keys(widgetsTableAccept).includes(config.name) && activeParentRuleName === "table") {
|
|
3842
3839
|
disabledTip(activeParentRule.value.config.config.name);
|
|
3843
3840
|
} else {
|
|
3844
|
-
const index = activeRuleInList.value.findIndex(
|
|
3845
|
-
(item) => item.field === activeRule.value.field
|
|
3846
|
-
);
|
|
3841
|
+
const index = activeRuleInList.value.findIndex((item) => item.field === activeRule.value.field);
|
|
3847
3842
|
activeRuleInList.value.splice(index + 1, 0, rule);
|
|
3848
3843
|
setActiveRule(rule, activeParentRule.value);
|
|
3849
3844
|
hideShowDragTip();
|
|
@@ -3922,9 +3917,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
3922
3917
|
} else {
|
|
3923
3918
|
activeRule.value = {};
|
|
3924
3919
|
}
|
|
3925
|
-
} else if (targetRule?.config?.childRules?.some(
|
|
3926
|
-
(rule) => rule.field === activeRule.value.field
|
|
3927
|
-
)) {
|
|
3920
|
+
} else if (targetRule?.config?.childRules?.some((rule) => rule.field === activeRule.value.field)) {
|
|
3928
3921
|
const newIndex = Math.min(parentList.length - 1, index);
|
|
3929
3922
|
if (newIndex >= 0) {
|
|
3930
3923
|
setActiveRule(parentList[newIndex]);
|
|
@@ -4037,24 +4030,70 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4037
4030
|
function getRule(name) {
|
|
4038
4031
|
return makeRule(ruleList[name]);
|
|
4039
4032
|
}
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
(
|
|
4043
|
-
|
|
4033
|
+
function validate() {
|
|
4034
|
+
let pass = true;
|
|
4035
|
+
for (const rule of widgetFormRules) {
|
|
4036
|
+
const config = rule.config.config || {};
|
|
4037
|
+
const childRules = rule.config.childRules || [];
|
|
4038
|
+
if (!rule?.title?.title && config.name !== "instruction") {
|
|
4039
|
+
pass = false;
|
|
4040
|
+
}
|
|
4041
|
+
if (config.name === "table" && !childRules.length) {
|
|
4042
|
+
pass = false;
|
|
4043
|
+
}
|
|
4044
|
+
if (!pass && rule.field !== activeRule.value.field) {
|
|
4045
|
+
setActiveRule(rule);
|
|
4046
|
+
}
|
|
4047
|
+
if (pass && childRules.length) {
|
|
4048
|
+
for (const childRule of childRules) {
|
|
4049
|
+
if (!childRule?.title?.title) {
|
|
4050
|
+
pass = false;
|
|
4051
|
+
if (childRule.field !== activeRule.value.field) {
|
|
4052
|
+
setActiveRule(childRule, rule);
|
|
4053
|
+
}
|
|
4054
|
+
break;
|
|
4055
|
+
}
|
|
4056
|
+
}
|
|
4057
|
+
}
|
|
4058
|
+
if (!pass) {
|
|
4059
|
+
vue.nextTick(() => {
|
|
4060
|
+
fApi.value.validate();
|
|
4061
|
+
});
|
|
4062
|
+
break;
|
|
4063
|
+
}
|
|
4044
4064
|
}
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
(
|
|
4049
|
-
|
|
4065
|
+
return pass;
|
|
4066
|
+
}
|
|
4067
|
+
function flowConditionEffect(activeProps2, flowCondition) {
|
|
4068
|
+
const requiredRule = activeProps2?.find((rule) => rule.field === "effect.required");
|
|
4069
|
+
if (requiredRule) {
|
|
4070
|
+
if (!requiredRule.props) {
|
|
4071
|
+
requiredRule.props = {};
|
|
4072
|
+
}
|
|
4073
|
+
requiredRule.props.disabled = !!flowCondition[activeRule.value.field];
|
|
4050
4074
|
}
|
|
4051
|
-
|
|
4075
|
+
}
|
|
4076
|
+
vue.watch(() => props.presetRules, (presetRules) => {
|
|
4077
|
+
widgetFormRules.push(...presetRules);
|
|
4078
|
+
});
|
|
4079
|
+
vue.watch(() => props.formRules, (formRules) => {
|
|
4080
|
+
edit(formRules);
|
|
4081
|
+
});
|
|
4082
|
+
vue.watch(activeProps, (activeProps2) => {
|
|
4083
|
+
flowConditionEffect(activeProps2, props.flowCondition);
|
|
4084
|
+
});
|
|
4085
|
+
vue.watch(() => props.flowCondition, (flowCondition) => {
|
|
4086
|
+
flowConditionEffect(activeProps.value, flowCondition);
|
|
4087
|
+
}, {
|
|
4088
|
+
deep: true
|
|
4089
|
+
});
|
|
4052
4090
|
vue.onBeforeUnmount(() => {
|
|
4053
4091
|
resetIndex();
|
|
4054
4092
|
});
|
|
4055
4093
|
expose({
|
|
4056
4094
|
getFormRule,
|
|
4057
|
-
getRule
|
|
4095
|
+
getRule,
|
|
4096
|
+
validate
|
|
4058
4097
|
});
|
|
4059
4098
|
return (_ctx, _cache) => {
|
|
4060
4099
|
const _component_ACol = vue.resolveComponent("ACol");
|
|
@@ -4097,7 +4136,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4097
4136
|
move: moveMenuItem,
|
|
4098
4137
|
"force-fallback": true,
|
|
4099
4138
|
"scroll-sensitivity": 100,
|
|
4100
|
-
delay: 50,
|
|
4101
4139
|
onStart: handleMenuItemDragStart,
|
|
4102
4140
|
onEnd: handleMenuItemDragEnd
|
|
4103
4141
|
}, {
|
|
@@ -4180,7 +4218,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4180
4218
|
vue.createTextVNode(" " + vue.toDisplayString(activeRule.value.config?.config.label) + " ", 1),
|
|
4181
4219
|
activeRule.value.type === vue.unref(WidgetType).UploadFile ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Tooltip), { key: 0 }, {
|
|
4182
4220
|
title: vue.withCtx(() => [
|
|
4183
|
-
|
|
4221
|
+
vue.createTextVNode(" \u5355\u4E2A\u6587\u4EF6\u5927\u5C0F\u9700\u572820M\u4EE5\u5185 ")
|
|
4184
4222
|
]),
|
|
4185
4223
|
default: vue.withCtx(() => [
|
|
4186
4224
|
vue.createVNode(vue.unref(iconsVue.QuestionCircleOutlined), { style: { "color": "#babac1", "font-size": "14px", "margin-left": "5px" } })
|
|
@@ -4188,8 +4226,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4188
4226
|
_: 1
|
|
4189
4227
|
})) : vue.createCommentVNode("v-if", true)
|
|
4190
4228
|
])) : vue.createCommentVNode("v-if", true),
|
|
4191
|
-
vue.createElementVNode("div",
|
|
4192
|
-
_ctx.flowCondition[activeRule.value.field] ? (vue.openBlock(), vue.createElementBlock("div",
|
|
4229
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
4230
|
+
_ctx.flowCondition[activeRule.value.field] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
4193
4231
|
vue.createVNode(vue.unref(iconsVue.ExclamationCircleFilled), { style: { "color": "#2f4eed" } }),
|
|
4194
4232
|
vue.createTextVNode(" \u8BE5\u7EC4\u4EF6\u5728\u201C" + vue.toDisplayString(_ctx.flowCondition[activeRule.value.field]) + "\u201D\u5DF2\u88AB\u8BBE\u4E3A\u5BA1\u6279\u6761\u4EF6\uFF0C\u9664\u201C\u5FC5\u586B\u3001\u9009\u9879\u201D\u8BBE\u7F6E\u4E0D\u53EF\u4FEE\u6539\uFF0C\u5176\u4ED6\u4FE1\u606F\u53EF\u4FEE\u6539 ", 1)
|
|
4195
4233
|
])) : vue.createCommentVNode("v-if", true),
|