bm-admin-ui 1.0.35-alpha → 1.0.37-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 +93 -143
- package/es/components/form-designer/index.js +159 -216
- 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 +26 -33
- 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 +144 -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 +9 -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 +14873 -45606
- package/index.js +14873 -45605
- 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 +92 -142
- package/lib/components/form-designer/index.js +158 -215
- 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 +26 -32
- 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 +153 -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 +9 -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 +1 -1
- 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 +9 -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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withInstall } from 'bm-admin-ui/es/utils/with-install';
|
|
2
|
-
import { defineComponent, openBlock, createElementBlock, normalizeStyle, toDisplayString, computed, resolveComponent, normalizeClass, unref, createBlock, createCommentVNode, withCtx, createVNode,
|
|
2
|
+
import { defineComponent, openBlock, createElementBlock, normalizeStyle, toDisplayString, computed, resolveComponent, normalizeClass, unref, createBlock, createCommentVNode, withCtx, createVNode, createTextVNode, withModifiers, ref, watch, createElementVNode, Fragment, isRef, renderList, renderSlot, nextTick, createStaticVNode, reactive, onBeforeUnmount, resolveDynamicComponent } from 'vue';
|
|
3
3
|
import uniqueId from 'bm-admin-ui/es/utils/uniqueId';
|
|
4
4
|
import Draggable from 'vuedraggable';
|
|
5
5
|
import { Tooltip, FormItemRest, Input, Button, RadioGroup, Radio, DatePicker, Checkbox, Tabs, TabPane, Row, Col, Dropdown, Menu, CheckboxGroup, MenuItem, Divider, Switch, Select, Layout, LayoutSider, LayoutContent, message } from 'ant-design-vue';
|
|
@@ -81,12 +81,10 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
81
81
|
});
|
|
82
82
|
var WidgetInstruction = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "widget-instruction.vue"]]);
|
|
83
83
|
|
|
84
|
-
const _hoisted_1$
|
|
84
|
+
const _hoisted_1$f = {
|
|
85
85
|
key: 2,
|
|
86
86
|
class: "bm-drag-tool-mask"
|
|
87
87
|
};
|
|
88
|
-
const _hoisted_2$d = /* @__PURE__ */ createTextVNode("\u590D\u5236");
|
|
89
|
-
const _hoisted_3$b = /* @__PURE__ */ createTextVNode("\u5220\u9664");
|
|
90
88
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
91
89
|
__name: "drag-tool",
|
|
92
90
|
props: ["rule", "activeRule", "parentRule"],
|
|
@@ -179,7 +177,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
179
177
|
key: 1,
|
|
180
178
|
rule: __props.rule
|
|
181
179
|
}, null, 8, ["rule"])),
|
|
182
|
-
__props.rule.type !== unref(WidgetType).RowWidget && __props.rule.type !== unref(WidgetType).TableWidget ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
180
|
+
__props.rule.type !== unref(WidgetType).RowWidget && __props.rule.type !== unref(WidgetType).TableWidget ? (openBlock(), createElementBlock("div", _hoisted_1$f)) : createCommentVNode("v-if", true),
|
|
183
181
|
__props.rule.config.isHover || unref(isActive) ? (openBlock(), createBlock(_component_ARow, {
|
|
184
182
|
key: 3,
|
|
185
183
|
class: "bm-drag-tool-btn",
|
|
@@ -190,7 +188,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
190
188
|
default: withCtx(() => [
|
|
191
189
|
createVNode(unref(Tooltip), { placement: "top" }, {
|
|
192
190
|
title: withCtx(() => [
|
|
193
|
-
|
|
191
|
+
createTextVNode("\u590D\u5236")
|
|
194
192
|
]),
|
|
195
193
|
default: withCtx(() => [
|
|
196
194
|
createVNode(_component_Copy, {
|
|
@@ -207,7 +205,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
207
205
|
default: withCtx(() => [
|
|
208
206
|
createVNode(unref(Tooltip), { placement: "top" }, {
|
|
209
207
|
title: withCtx(() => [
|
|
210
|
-
|
|
208
|
+
createTextVNode("\u5220\u9664")
|
|
211
209
|
]),
|
|
212
210
|
default: withCtx(() => [
|
|
213
211
|
createVNode(_component_Delete, {
|
|
@@ -229,20 +227,20 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
229
227
|
});
|
|
230
228
|
var DragTool = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "drag-tool.vue"]]);
|
|
231
229
|
|
|
232
|
-
const _hoisted_1$
|
|
230
|
+
const _hoisted_1$e = { class: "bm-drag-placeholder" };
|
|
233
231
|
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
234
232
|
__name: "drag-placeholder",
|
|
235
233
|
props: {},
|
|
236
234
|
setup(__props) {
|
|
237
235
|
return (_ctx, _cache) => {
|
|
238
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
236
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e);
|
|
239
237
|
};
|
|
240
238
|
}
|
|
241
239
|
});
|
|
242
240
|
var DragPlaceholder = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "drag-placeholder.vue"]]);
|
|
243
241
|
|
|
244
|
-
const _hoisted_1$
|
|
245
|
-
const _hoisted_2$
|
|
242
|
+
const _hoisted_1$d = { class: "bm-widget-row-wrap" };
|
|
243
|
+
const _hoisted_2$a = {
|
|
246
244
|
key: 0,
|
|
247
245
|
class: "bm-widget-row-tip"
|
|
248
246
|
};
|
|
@@ -288,8 +286,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
288
286
|
}
|
|
289
287
|
return (_ctx, _cache) => {
|
|
290
288
|
const _component_ACol = resolveComponent("ACol");
|
|
291
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
292
|
-
!unref(childRules).length ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
289
|
+
return openBlock(), createElementBlock("div", _hoisted_1$d, [
|
|
290
|
+
!unref(childRules).length ? (openBlock(), createElementBlock("div", _hoisted_2$a, " \u53EF\u62D6\u5165\u591A\u4E2A\u63A7\u4EF6 ")) : createCommentVNode("v-if", true),
|
|
293
291
|
createVNode(unref(Draggable), {
|
|
294
292
|
"component-data": {
|
|
295
293
|
field: __props.formCreateInject.rule.field,
|
|
@@ -765,14 +763,11 @@ var numInput = {
|
|
|
765
763
|
},
|
|
766
764
|
};
|
|
767
765
|
|
|
768
|
-
const _hoisted_1$
|
|
769
|
-
const _hoisted_2$
|
|
766
|
+
const _hoisted_1$c = { class: "bm-handle-options" };
|
|
767
|
+
const _hoisted_2$9 = {
|
|
770
768
|
key: 0,
|
|
771
769
|
class: "bm-handle-options__error-tip"
|
|
772
770
|
};
|
|
773
|
-
const _hoisted_3$a = /* @__PURE__ */ createTextVNode(" \u6279\u91CF\u7F16\u8F91 ");
|
|
774
|
-
const _hoisted_4$7 = /* @__PURE__ */ createTextVNode(" \u6DFB\u52A0\u9009\u9879 ");
|
|
775
|
-
const _hoisted_5$4 = /* @__PURE__ */ createTextVNode(" \u6BCF\u884C\u5BF9\u5E94\u4E00\u4E2A\u9009\u9879 ");
|
|
776
771
|
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
777
772
|
__name: "handle-options",
|
|
778
773
|
props: ["options"],
|
|
@@ -832,14 +827,10 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
832
827
|
function emitSetValue(val) {
|
|
833
828
|
emits("setValue", val);
|
|
834
829
|
}
|
|
835
|
-
watch(
|
|
836
|
-
|
|
837
|
-
(val)
|
|
838
|
-
|
|
839
|
-
emitSetValue(val);
|
|
840
|
-
},
|
|
841
|
-
{ deep: true }
|
|
842
|
-
);
|
|
830
|
+
watch(props.options, (val) => {
|
|
831
|
+
handleRepeatOption(val);
|
|
832
|
+
emitSetValue(val);
|
|
833
|
+
}, { deep: true });
|
|
843
834
|
return (_ctx, _cache) => {
|
|
844
835
|
const _component_Delete = resolveComponent("Delete");
|
|
845
836
|
const _component_ARow = resolveComponent("ARow");
|
|
@@ -857,7 +848,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
857
848
|
"force-fallback": true
|
|
858
849
|
}, {
|
|
859
850
|
item: withCtx(({ element, index }) => [
|
|
860
|
-
createElementVNode("div", _hoisted_1$
|
|
851
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
861
852
|
createVNode(_component_ARow, { align: "middle" }, {
|
|
862
853
|
default: withCtx(() => [
|
|
863
854
|
createVNode(unref(HolderOutlined), {
|
|
@@ -884,7 +875,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
884
875
|
]),
|
|
885
876
|
_: 2
|
|
886
877
|
}, 1024),
|
|
887
|
-
repeatOption.value.length && repeatOption.value.includes(element.value) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
878
|
+
repeatOption.value.length && repeatOption.value.includes(element.value) ? (openBlock(), createElementBlock("div", _hoisted_2$9, " \u8BF7\u66F4\u6539\u91CD\u590D\u9009\u9879 ")) : createCommentVNode("v-if", true)
|
|
888
879
|
])
|
|
889
880
|
]),
|
|
890
881
|
_: 1
|
|
@@ -897,7 +888,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
897
888
|
createVNode(unref(EditOutlined))
|
|
898
889
|
]),
|
|
899
890
|
default: withCtx(() => [
|
|
900
|
-
|
|
891
|
+
createTextVNode(" \u6279\u91CF\u7F16\u8F91 ")
|
|
901
892
|
]),
|
|
902
893
|
_: 1
|
|
903
894
|
}),
|
|
@@ -909,7 +900,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
909
900
|
createVNode(unref(PlusOutlined))
|
|
910
901
|
]),
|
|
911
902
|
default: withCtx(() => [
|
|
912
|
-
|
|
903
|
+
createTextVNode(" \u6DFB\u52A0\u9009\u9879 ")
|
|
913
904
|
]),
|
|
914
905
|
_: 1
|
|
915
906
|
}),
|
|
@@ -920,7 +911,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
920
911
|
onOk: handleOk
|
|
921
912
|
}, {
|
|
922
913
|
default: withCtx(() => [
|
|
923
|
-
|
|
914
|
+
createTextVNode(" \u6BCF\u884C\u5BF9\u5E94\u4E00\u4E2A\u9009\u9879 "),
|
|
924
915
|
createVNode(_component_a_textarea, {
|
|
925
916
|
value: text.value,
|
|
926
917
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => text.value = $event),
|
|
@@ -1213,10 +1204,7 @@ var checkbox = {
|
|
|
1213
1204
|
},
|
|
1214
1205
|
};
|
|
1215
1206
|
|
|
1216
|
-
const _hoisted_1$
|
|
1217
|
-
const _hoisted_2$a = /* @__PURE__ */ createTextVNode(" \u5F53\u524D\u65F6\u95F4(\u5E74/\u6708/\u65E5) ");
|
|
1218
|
-
const _hoisted_3$9 = /* @__PURE__ */ createTextVNode(" \u83B7\u53D6\u7528\u6237\u5B9E\u9645\u586B\u5199\u65F6\u7684\u65F6\u95F4 ");
|
|
1219
|
-
const _hoisted_4$6 = /* @__PURE__ */ createTextVNode("\u81EA\u5B9A\u4E49");
|
|
1207
|
+
const _hoisted_1$b = { class: "bm-default-date" };
|
|
1220
1208
|
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
1221
1209
|
__name: "default-date",
|
|
1222
1210
|
props: ["defaultRadioValue", "defalueDateValue"],
|
|
@@ -1238,7 +1226,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
1238
1226
|
emitChange(date);
|
|
1239
1227
|
}
|
|
1240
1228
|
return (_ctx, _cache) => {
|
|
1241
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1229
|
+
return openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
1242
1230
|
createVNode(unref(FormItemRest), null, {
|
|
1243
1231
|
default: withCtx(() => [
|
|
1244
1232
|
createVNode(unref(RadioGroup), {
|
|
@@ -1248,10 +1236,10 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
1248
1236
|
default: withCtx(() => [
|
|
1249
1237
|
createVNode(unref(Radio), { value: 0 }, {
|
|
1250
1238
|
default: withCtx(() => [
|
|
1251
|
-
|
|
1239
|
+
createTextVNode(" \u5F53\u524D\u65F6\u95F4(\u5E74/\u6708/\u65E5) "),
|
|
1252
1240
|
createVNode(unref(Tooltip), null, {
|
|
1253
1241
|
title: withCtx(() => [
|
|
1254
|
-
|
|
1242
|
+
createTextVNode(" \u83B7\u53D6\u7528\u6237\u5B9E\u9645\u586B\u5199\u65F6\u7684\u65F6\u95F4 ")
|
|
1255
1243
|
]),
|
|
1256
1244
|
default: withCtx(() => [
|
|
1257
1245
|
createVNode(unref(QuestionCircleOutlined), { style: { "color": "#babac1" } })
|
|
@@ -1263,7 +1251,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
1263
1251
|
}),
|
|
1264
1252
|
createVNode(unref(Radio), { value: 1 }, {
|
|
1265
1253
|
default: withCtx(() => [
|
|
1266
|
-
|
|
1254
|
+
createTextVNode("\u81EA\u5B9A\u4E49")
|
|
1267
1255
|
]),
|
|
1268
1256
|
_: 1
|
|
1269
1257
|
})
|
|
@@ -1738,40 +1726,36 @@ var picture = {
|
|
|
1738
1726
|
},
|
|
1739
1727
|
};
|
|
1740
1728
|
|
|
1741
|
-
const _hoisted_1$
|
|
1742
|
-
const _hoisted_2$
|
|
1743
|
-
const _hoisted_3$
|
|
1744
|
-
const _hoisted_4$
|
|
1745
|
-
const _hoisted_5$
|
|
1746
|
-
const _hoisted_6$3 = /* @__PURE__ */ createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u6A21\u677F ");
|
|
1747
|
-
const _hoisted_7$2 = { class: "bm-widget-table-outer" };
|
|
1748
|
-
const _hoisted_8$2 = { class: "bm-widget-table" };
|
|
1749
|
-
const _hoisted_9$1 = {
|
|
1729
|
+
const _hoisted_1$a = { class: "bm-widget-table-wrap" };
|
|
1730
|
+
const _hoisted_2$8 = { class: "bm-widget-table-top-bar" };
|
|
1731
|
+
const _hoisted_3$5 = { class: "bm-widget-table-outer" };
|
|
1732
|
+
const _hoisted_4$4 = { class: "bm-widget-table" };
|
|
1733
|
+
const _hoisted_5$1 = {
|
|
1750
1734
|
key: 0,
|
|
1751
1735
|
class: "bm-widget-table__virtual"
|
|
1752
1736
|
};
|
|
1753
|
-
const
|
|
1754
|
-
const
|
|
1755
|
-
const
|
|
1756
|
-
|
|
1757
|
-
|
|
1737
|
+
const _hoisted_6$1 = /* @__PURE__ */ createElementVNode("div", { class: "bm-widget-table__virtual__head" }, null, -1);
|
|
1738
|
+
const _hoisted_7$1 = /* @__PURE__ */ createElementVNode("div", { class: "bm-widget-table__virtual__content" }, null, -1);
|
|
1739
|
+
const _hoisted_8 = [
|
|
1740
|
+
_hoisted_6$1,
|
|
1741
|
+
_hoisted_7$1
|
|
1758
1742
|
];
|
|
1759
|
-
const
|
|
1743
|
+
const _hoisted_9 = {
|
|
1760
1744
|
key: 1,
|
|
1761
1745
|
class: "bm-widget-table__tip"
|
|
1762
1746
|
};
|
|
1763
|
-
const
|
|
1747
|
+
const _hoisted_10 = {
|
|
1764
1748
|
key: 0,
|
|
1765
1749
|
class: "bm-widget-table__checkbox"
|
|
1766
1750
|
};
|
|
1767
|
-
const
|
|
1768
|
-
const
|
|
1769
|
-
const
|
|
1770
|
-
const
|
|
1771
|
-
const
|
|
1772
|
-
const
|
|
1773
|
-
const
|
|
1774
|
-
const
|
|
1751
|
+
const _hoisted_11 = { class: "bm-widget-table__checkbox__head" };
|
|
1752
|
+
const _hoisted_12 = { class: "bm-widget-table__checkbox__content" };
|
|
1753
|
+
const _hoisted_13 = { class: "bm-widget-table__operateColumn" };
|
|
1754
|
+
const _hoisted_14 = /* @__PURE__ */ createElementVNode("div", { class: "bm-widget-table__operateColumn__head" }, "\u64CD\u4F5C", -1);
|
|
1755
|
+
const _hoisted_15 = { class: "bm-widget-table__operateColumn__content" };
|
|
1756
|
+
const _hoisted_16 = /* @__PURE__ */ createElementVNode("a", null, "\u590D\u5236", -1);
|
|
1757
|
+
const _hoisted_17 = /* @__PURE__ */ createElementVNode("span", null, null, -1);
|
|
1758
|
+
const _hoisted_18 = /* @__PURE__ */ createElementVNode("a", null, "\u5220\u9664", -1);
|
|
1775
1759
|
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
1776
1760
|
__name: "widget-table",
|
|
1777
1761
|
props: ["formCreateInject", "activeRule"],
|
|
@@ -1818,37 +1802,37 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
1818
1802
|
emits("delete", rule2);
|
|
1819
1803
|
}
|
|
1820
1804
|
return (_ctx, _cache) => {
|
|
1821
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1822
|
-
createElementVNode("div", _hoisted_2$
|
|
1805
|
+
return openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
1806
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
1823
1807
|
createVNode(unref(Button), { type: "primary" }, {
|
|
1824
1808
|
icon: withCtx(() => [
|
|
1825
1809
|
createVNode(unref(PlusOutlined))
|
|
1826
1810
|
]),
|
|
1827
1811
|
default: withCtx(() => [
|
|
1828
|
-
|
|
1812
|
+
createTextVNode(" \u65B0\u589E ")
|
|
1829
1813
|
]),
|
|
1830
1814
|
_: 1
|
|
1831
1815
|
}),
|
|
1832
1816
|
unref(showDelete) ? (openBlock(), createBlock(unref(Button), { key: 0 }, {
|
|
1833
1817
|
default: withCtx(() => [
|
|
1834
|
-
|
|
1818
|
+
createTextVNode(" \u6279\u91CF\u5220\u9664 ")
|
|
1835
1819
|
]),
|
|
1836
1820
|
_: 1
|
|
1837
1821
|
})) : createCommentVNode("v-if", true),
|
|
1838
1822
|
unref(showImport) ? (openBlock(), createBlock(unref(Button), { key: 1 }, {
|
|
1839
1823
|
default: withCtx(() => [
|
|
1840
|
-
|
|
1824
|
+
createTextVNode(" \u6279\u91CF\u5BFC\u5165 ")
|
|
1841
1825
|
]),
|
|
1842
1826
|
_: 1
|
|
1843
1827
|
})) : createCommentVNode("v-if", true),
|
|
1844
1828
|
unref(showImport) ? (openBlock(), createBlock(unref(Button), { key: 2 }, {
|
|
1845
1829
|
default: withCtx(() => [
|
|
1846
|
-
|
|
1830
|
+
createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u6A21\u677F ")
|
|
1847
1831
|
]),
|
|
1848
1832
|
_: 1
|
|
1849
1833
|
})) : createCommentVNode("v-if", true)
|
|
1850
1834
|
]),
|
|
1851
|
-
createElementVNode("div",
|
|
1835
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
1852
1836
|
createElementVNode("div", {
|
|
1853
1837
|
class: "bm-widget-table-inner",
|
|
1854
1838
|
style: normalizeStyle({
|
|
@@ -1856,8 +1840,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
1856
1840
|
paddingRight: unref(showCopy) ? "81px" : "60px"
|
|
1857
1841
|
})
|
|
1858
1842
|
}, [
|
|
1859
|
-
createElementVNode("div",
|
|
1860
|
-
unref(childRules).length ? (openBlock(), createElementBlock("div",
|
|
1843
|
+
createElementVNode("div", _hoisted_4$4, [
|
|
1844
|
+
unref(childRules).length ? (openBlock(), createElementBlock("div", _hoisted_5$1, _hoisted_8)) : (openBlock(), createElementBlock("div", _hoisted_9, "\u53EF\u62D6\u5165\u591A\u4E2A\u63A7\u4EF6")),
|
|
1861
1845
|
createVNode(unref(Draggable), {
|
|
1862
1846
|
"component-data": {
|
|
1863
1847
|
field: unref(rule).field,
|
|
@@ -1901,8 +1885,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
1901
1885
|
}, 8, ["component-data", "list", "ghost-class"])
|
|
1902
1886
|
])
|
|
1903
1887
|
], 4),
|
|
1904
|
-
unref(showDelete) ? (openBlock(), createElementBlock("div",
|
|
1905
|
-
createElementVNode("div",
|
|
1888
|
+
unref(showDelete) ? (openBlock(), createElementBlock("div", _hoisted_10, [
|
|
1889
|
+
createElementVNode("div", _hoisted_11, [
|
|
1906
1890
|
createVNode(unref(FormItemRest), null, {
|
|
1907
1891
|
default: withCtx(() => [
|
|
1908
1892
|
createVNode(unref(Checkbox))
|
|
@@ -1910,7 +1894,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
1910
1894
|
_: 1
|
|
1911
1895
|
})
|
|
1912
1896
|
]),
|
|
1913
|
-
createElementVNode("div",
|
|
1897
|
+
createElementVNode("div", _hoisted_12, [
|
|
1914
1898
|
createVNode(unref(FormItemRest), null, {
|
|
1915
1899
|
default: withCtx(() => [
|
|
1916
1900
|
createVNode(unref(Checkbox))
|
|
@@ -1919,14 +1903,14 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
1919
1903
|
})
|
|
1920
1904
|
])
|
|
1921
1905
|
])) : createCommentVNode("v-if", true),
|
|
1922
|
-
createElementVNode("div",
|
|
1923
|
-
|
|
1924
|
-
createElementVNode("div",
|
|
1906
|
+
createElementVNode("div", _hoisted_13, [
|
|
1907
|
+
_hoisted_14,
|
|
1908
|
+
createElementVNode("div", _hoisted_15, [
|
|
1925
1909
|
unref(showCopy) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1926
|
-
|
|
1927
|
-
|
|
1910
|
+
_hoisted_16,
|
|
1911
|
+
_hoisted_17
|
|
1928
1912
|
], 64)) : createCommentVNode("v-if", true),
|
|
1929
|
-
|
|
1913
|
+
_hoisted_18
|
|
1930
1914
|
])
|
|
1931
1915
|
])
|
|
1932
1916
|
])
|
|
@@ -2356,15 +2340,10 @@ var department = {
|
|
|
2356
2340
|
},
|
|
2357
2341
|
};
|
|
2358
2342
|
|
|
2359
|
-
const _hoisted_1$
|
|
2360
|
-
const _hoisted_2$
|
|
2361
|
-
const _hoisted_3$
|
|
2362
|
-
const _hoisted_4$
|
|
2363
|
-
const _hoisted_5$2 = /* @__PURE__ */ createTextVNode(" \u5BFC\u5165\u660E\u7EC6 ");
|
|
2364
|
-
const _hoisted_6$2 = /* @__PURE__ */ createTextVNode(" \u6279\u91CF\u5220\u9664 ");
|
|
2365
|
-
const _hoisted_7$1 = /* @__PURE__ */ createTextVNode(" \u65B0\u589E ");
|
|
2366
|
-
const _hoisted_8$1 = /* @__PURE__ */ createElementVNode("div", { class: "bm-material-temp__table-tip" }, "\u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6\u8868\u683C\u5B57\u6BB5", -1);
|
|
2367
|
-
const _hoisted_9 = { class: "bm-material-temp__add" };
|
|
2343
|
+
const _hoisted_1$9 = { style: { "margin-top": "16px", "line-height": "32px" } };
|
|
2344
|
+
const _hoisted_2$7 = { style: { "float": "right" } };
|
|
2345
|
+
const _hoisted_3$4 = /* @__PURE__ */ createElementVNode("div", { class: "bm-material-temp__table-tip" }, "\u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6\u8868\u683C\u5B57\u6BB5", -1);
|
|
2346
|
+
const _hoisted_4$3 = { class: "bm-material-temp__add" };
|
|
2368
2347
|
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
2369
2348
|
__name: "widget-material-temp",
|
|
2370
2349
|
props: ["formCreateInject"],
|
|
@@ -2473,14 +2452,10 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2473
2452
|
uploadPicRule.hidden = uploadPictureRule.hidden;
|
|
2474
2453
|
rules.value = [...rules.value];
|
|
2475
2454
|
}
|
|
2476
|
-
watch(
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
deep: true,
|
|
2481
|
-
immediate: true
|
|
2482
|
-
}
|
|
2483
|
-
);
|
|
2455
|
+
watch(() => props.formCreateInject.rule.config.uploadPictureRule, handleUploadPicRule, {
|
|
2456
|
+
deep: true,
|
|
2457
|
+
immediate: true
|
|
2458
|
+
});
|
|
2484
2459
|
return (_ctx, _cache) => {
|
|
2485
2460
|
const _component_FormCreate = resolveComponent("FormCreate");
|
|
2486
2461
|
return openBlock(), createBlock(unref(Tabs), {
|
|
@@ -2492,7 +2467,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2492
2467
|
size: "small"
|
|
2493
2468
|
}, {
|
|
2494
2469
|
rightExtra: withCtx(() => [
|
|
2495
|
-
createElementVNode("span",
|
|
2470
|
+
createElementVNode("span", _hoisted_4$3, [
|
|
2496
2471
|
createVNode(unref(PlusOutlined))
|
|
2497
2472
|
])
|
|
2498
2473
|
]),
|
|
@@ -2507,37 +2482,37 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2507
2482
|
option,
|
|
2508
2483
|
rule: rules.value
|
|
2509
2484
|
}, null, 8, ["rule"]),
|
|
2510
|
-
createElementVNode("div", _hoisted_1$
|
|
2511
|
-
|
|
2512
|
-
createElementVNode("div",
|
|
2485
|
+
createElementVNode("div", _hoisted_1$9, [
|
|
2486
|
+
createTextVNode(" \u660E\u7EC6\u5217\u8868 "),
|
|
2487
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
2513
2488
|
createVNode(unref(Button), null, {
|
|
2514
2489
|
default: withCtx(() => [
|
|
2515
|
-
|
|
2490
|
+
createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u6A21\u677F ")
|
|
2516
2491
|
]),
|
|
2517
2492
|
_: 1
|
|
2518
2493
|
}),
|
|
2519
2494
|
createVNode(unref(Button), null, {
|
|
2520
2495
|
default: withCtx(() => [
|
|
2521
|
-
|
|
2496
|
+
createTextVNode(" \u5BFC\u5165\u660E\u7EC6 ")
|
|
2522
2497
|
]),
|
|
2523
2498
|
_: 1
|
|
2524
2499
|
}),
|
|
2525
2500
|
createVNode(unref(Button), null, {
|
|
2526
2501
|
default: withCtx(() => [
|
|
2527
|
-
|
|
2502
|
+
createTextVNode(" \u6279\u91CF\u5220\u9664 ")
|
|
2528
2503
|
]),
|
|
2529
2504
|
_: 1
|
|
2530
2505
|
}),
|
|
2531
2506
|
createVNode(unref(Button), { type: "primary" }, {
|
|
2532
2507
|
default: withCtx(() => [
|
|
2533
2508
|
createVNode(unref(PlusOutlined)),
|
|
2534
|
-
|
|
2509
|
+
createTextVNode(" \u65B0\u589E ")
|
|
2535
2510
|
]),
|
|
2536
2511
|
_: 1
|
|
2537
2512
|
})
|
|
2538
2513
|
])
|
|
2539
2514
|
]),
|
|
2540
|
-
|
|
2515
|
+
_hoisted_3$4
|
|
2541
2516
|
]),
|
|
2542
2517
|
_: 2
|
|
2543
2518
|
}, 1032, ["tab"]);
|
|
@@ -2550,17 +2525,16 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
2550
2525
|
});
|
|
2551
2526
|
var WidgetMaterialTemp = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "widget-material-temp.vue"]]);
|
|
2552
2527
|
|
|
2553
|
-
const _hoisted_1$
|
|
2554
|
-
const _hoisted_2$
|
|
2555
|
-
const _hoisted_3$6 = /* @__PURE__ */ createTextVNode(" \u4F7F\u7528\u8BF4\u660E ");
|
|
2528
|
+
const _hoisted_1$8 = { class: "bm-use-instruction" };
|
|
2529
|
+
const _hoisted_2$6 = { class: "bm-use-instruction__title" };
|
|
2556
2530
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
2557
2531
|
__name: "use-instruction",
|
|
2558
2532
|
setup(__props) {
|
|
2559
2533
|
return (_ctx, _cache) => {
|
|
2560
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2561
|
-
createElementVNode("div", _hoisted_2$
|
|
2534
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
2535
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
2562
2536
|
createVNode(unref(InfoCircleFilled), { class: "bm-use-instruction__title__icon" }),
|
|
2563
|
-
|
|
2537
|
+
createTextVNode(" \u4F7F\u7528\u8BF4\u660E ")
|
|
2564
2538
|
]),
|
|
2565
2539
|
renderSlot(_ctx.$slots, "default")
|
|
2566
2540
|
]);
|
|
@@ -2685,10 +2659,10 @@ var materialTemp = {
|
|
|
2685
2659
|
},
|
|
2686
2660
|
};
|
|
2687
2661
|
|
|
2688
|
-
const _hoisted_1$
|
|
2689
|
-
const _hoisted_2$
|
|
2690
|
-
const _hoisted_3$
|
|
2691
|
-
const _hoisted_4$
|
|
2662
|
+
const _hoisted_1$7 = /* @__PURE__ */ createElementVNode("div", { class: "bm-product-info-item__title" }, "\u5546\u54C1\u7F16\u53F7", -1);
|
|
2663
|
+
const _hoisted_2$5 = { class: "bm-product-info-item__content" };
|
|
2664
|
+
const _hoisted_3$3 = { class: "bm-product-info-item__title" };
|
|
2665
|
+
const _hoisted_4$2 = /* @__PURE__ */ createElementVNode("div", { class: "bm-product-info-item__content" }, "\u7CFB\u7EDF\u81EA\u52A8\u5E26\u51FA", -1);
|
|
2692
2666
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
2693
2667
|
__name: "product-info",
|
|
2694
2668
|
props: ["formCreateInject"],
|
|
@@ -2701,8 +2675,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2701
2675
|
span: 12
|
|
2702
2676
|
}, {
|
|
2703
2677
|
default: withCtx(() => [
|
|
2704
|
-
_hoisted_1$
|
|
2705
|
-
createElementVNode("div", _hoisted_2$
|
|
2678
|
+
_hoisted_1$7,
|
|
2679
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
2706
2680
|
createVNode(unref(Input), { placeholder: "\u8BF7\u8F93\u5165\u5546\u54C1\u7F16\u53F7" })
|
|
2707
2681
|
])
|
|
2708
2682
|
]),
|
|
@@ -2715,8 +2689,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2715
2689
|
span: 12
|
|
2716
2690
|
}, {
|
|
2717
2691
|
default: withCtx(() => [
|
|
2718
|
-
createElementVNode("div", _hoisted_3$
|
|
2719
|
-
_hoisted_4$
|
|
2692
|
+
createElementVNode("div", _hoisted_3$3, toDisplayString(item.label), 1),
|
|
2693
|
+
_hoisted_4$2
|
|
2720
2694
|
]),
|
|
2721
2695
|
_: 2
|
|
2722
2696
|
}, 1024);
|
|
@@ -2729,14 +2703,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
2729
2703
|
});
|
|
2730
2704
|
var ProductInfo = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "product-info.vue"]]);
|
|
2731
2705
|
|
|
2732
|
-
const _hoisted_1$
|
|
2706
|
+
const _hoisted_1$6 = /* @__PURE__ */ createElementVNode("div", { class: "bm-associated-fields-item" }, [
|
|
2733
2707
|
/* @__PURE__ */ createElementVNode("span", { class: "bm-associated-fields-item__content" }, "\u5546\u54C1\u7F16\u53F7")
|
|
2734
2708
|
], -1);
|
|
2735
|
-
const _hoisted_2$
|
|
2736
|
-
const _hoisted_3$
|
|
2737
|
-
const _hoisted_4$2 = { style: { "text-align": "right", "margin": "6px 0 4px", "padding-right": "8px" } };
|
|
2738
|
-
const _hoisted_5$1 = /* @__PURE__ */ createTextVNode("\u53D6\u6D88");
|
|
2739
|
-
const _hoisted_6$1 = /* @__PURE__ */ createTextVNode("\u786E\u5B9A");
|
|
2709
|
+
const _hoisted_2$4 = { class: "bm-associated-fields-item__content" };
|
|
2710
|
+
const _hoisted_3$2 = { style: { "text-align": "right", "margin": "6px 0 4px", "padding-right": "8px" } };
|
|
2740
2711
|
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
2741
2712
|
__name: "associated-fields",
|
|
2742
2713
|
props: ["associatedFields"],
|
|
@@ -2772,10 +2743,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2772
2743
|
}
|
|
2773
2744
|
];
|
|
2774
2745
|
function emitChangeEvt() {
|
|
2775
|
-
emits(
|
|
2776
|
-
"change",
|
|
2777
|
-
options.filter((op) => checkList.value.includes(op.value))
|
|
2778
|
-
);
|
|
2746
|
+
emits("change", options.filter((op) => checkList.value.includes(op.value)));
|
|
2779
2747
|
}
|
|
2780
2748
|
function handOk() {
|
|
2781
2749
|
visible.value = false;
|
|
@@ -2800,13 +2768,13 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2800
2768
|
return (_ctx, _cache) => {
|
|
2801
2769
|
const _component_Delete = resolveComponent("Delete");
|
|
2802
2770
|
return openBlock(), createElementBlock("div", null, [
|
|
2803
|
-
_hoisted_1$
|
|
2771
|
+
_hoisted_1$6,
|
|
2804
2772
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.associatedFields, (item) => {
|
|
2805
2773
|
return openBlock(), createElementBlock("div", {
|
|
2806
2774
|
key: item.value,
|
|
2807
2775
|
class: "bm-associated-fields-item"
|
|
2808
2776
|
}, [
|
|
2809
|
-
createElementVNode("span", _hoisted_2$
|
|
2777
|
+
createElementVNode("span", _hoisted_2$4, toDisplayString(item.label), 1),
|
|
2810
2778
|
createVNode(_component_Delete, {
|
|
2811
2779
|
class: "bm-associated-fields-item__icon",
|
|
2812
2780
|
onClick: ($event) => handleDel(item.value)
|
|
@@ -2854,12 +2822,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2854
2822
|
_: 1
|
|
2855
2823
|
}),
|
|
2856
2824
|
createVNode(unref(Divider), { style: { "margin": "0" } }),
|
|
2857
|
-
createElementVNode("div",
|
|
2825
|
+
createElementVNode("div", _hoisted_3$2, [
|
|
2858
2826
|
createVNode(unref(Button), {
|
|
2859
2827
|
onClick: _cache[1] || (_cache[1] = ($event) => visible.value = false)
|
|
2860
2828
|
}, {
|
|
2861
2829
|
default: withCtx(() => [
|
|
2862
|
-
|
|
2830
|
+
createTextVNode("\u53D6\u6D88")
|
|
2863
2831
|
]),
|
|
2864
2832
|
_: 1
|
|
2865
2833
|
}),
|
|
@@ -2869,7 +2837,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2869
2837
|
onClick: handOk
|
|
2870
2838
|
}, {
|
|
2871
2839
|
default: withCtx(() => [
|
|
2872
|
-
|
|
2840
|
+
createTextVNode("\u786E\u5B9A")
|
|
2873
2841
|
]),
|
|
2874
2842
|
_: 1
|
|
2875
2843
|
})
|
|
@@ -2885,7 +2853,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2885
2853
|
}, {
|
|
2886
2854
|
default: withCtx(() => [
|
|
2887
2855
|
createVNode(unref(PlusOutlined)),
|
|
2888
|
-
|
|
2856
|
+
createTextVNode(" \u6DFB\u52A0\u5B50\u5B57\u6BB5 ")
|
|
2889
2857
|
]),
|
|
2890
2858
|
_: 1
|
|
2891
2859
|
})
|
|
@@ -2898,9 +2866,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
2898
2866
|
});
|
|
2899
2867
|
var AssociatedFields = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "associated-fields.vue"]]);
|
|
2900
2868
|
|
|
2901
|
-
const _hoisted_1$
|
|
2902
|
-
const _hoisted_2$
|
|
2903
|
-
const _hoisted_3$3 = /* @__PURE__ */ createTextVNode("\u8BF7\u5148\u6DFB\u52A0\u5173\u8054\u8868\u5355\u4E2D\u7684\u5E97\u94FA\u7EC4\u4EF6");
|
|
2869
|
+
const _hoisted_1$5 = /* @__PURE__ */ createElementVNode("div", { style: { "margin": "18px 0 6px" } }, "\u4EC5\u83B7\u53D6", -1);
|
|
2870
|
+
const _hoisted_2$3 = /* @__PURE__ */ createElementVNode("div", { style: { "margin-top": "7px" } }, "\u4E2D\u53EF\u5206\u9500\u7684\u5546\u54C1\u6570\u636E", -1);
|
|
2904
2871
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
2905
2872
|
__name: "shop-data-filter",
|
|
2906
2873
|
props: ["widgetFormRules", "defaultSelectValue"],
|
|
@@ -2909,19 +2876,17 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2909
2876
|
const props = __props;
|
|
2910
2877
|
const checkedValue = ref(!!props.defaultSelectValue);
|
|
2911
2878
|
const selectValue = ref(props.defaultSelectValue);
|
|
2912
|
-
const shopRules = computed(
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
}, [])
|
|
2924
|
-
);
|
|
2879
|
+
const shopRules = computed(() => props.widgetFormRules.reduce((pre, cur) => {
|
|
2880
|
+
const name = cur.config.config.name;
|
|
2881
|
+
if (name === "row" || name === "table") {
|
|
2882
|
+
cur.config.childRules.forEach((rule) => {
|
|
2883
|
+
getShop(rule, pre);
|
|
2884
|
+
});
|
|
2885
|
+
} else {
|
|
2886
|
+
getShop(cur, pre);
|
|
2887
|
+
}
|
|
2888
|
+
return pre;
|
|
2889
|
+
}, []));
|
|
2925
2890
|
const shops = computed(() => {
|
|
2926
2891
|
return shopRules.value.map((shopRule) => ({
|
|
2927
2892
|
value: shopRule.field,
|
|
@@ -2980,7 +2945,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2980
2945
|
"onUpdate:checked": _cache[0] || (_cache[0] = ($event) => checkedValue.value = $event)
|
|
2981
2946
|
}, null, 8, ["checked"]),
|
|
2982
2947
|
checkedValue.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
2983
|
-
_hoisted_1$
|
|
2948
|
+
_hoisted_1$5,
|
|
2984
2949
|
createVNode(unref(Select), {
|
|
2985
2950
|
value: selectValue.value,
|
|
2986
2951
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => selectValue.value = $event),
|
|
@@ -2989,14 +2954,14 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
2989
2954
|
"show-arrow": unref(shops).length > 1,
|
|
2990
2955
|
placeholder: "\u8BF7\u9009\u62E9"
|
|
2991
2956
|
}, null, 8, ["value", "options", "disabled", "show-arrow"]),
|
|
2992
|
-
_hoisted_2$
|
|
2957
|
+
_hoisted_2$3
|
|
2993
2958
|
], 64)) : createCommentVNode("v-if", true)
|
|
2994
2959
|
], 64)) : (openBlock(), createBlock(_component_a_tooltip, {
|
|
2995
2960
|
key: 1,
|
|
2996
2961
|
placement: "bottomLeft"
|
|
2997
2962
|
}, {
|
|
2998
2963
|
title: withCtx(() => [
|
|
2999
|
-
|
|
2964
|
+
createTextVNode("\u8BF7\u5148\u6DFB\u52A0\u5173\u8054\u8868\u5355\u4E2D\u7684\u5E97\u94FA\u7EC4\u4EF6")
|
|
3000
2965
|
]),
|
|
3001
2966
|
default: withCtx(() => [
|
|
3002
2967
|
createVNode(unref(Switch), { disabled: "" })
|
|
@@ -3410,16 +3375,16 @@ function createTab() {
|
|
|
3410
3375
|
];
|
|
3411
3376
|
}
|
|
3412
3377
|
|
|
3413
|
-
const _hoisted_1$
|
|
3378
|
+
const _hoisted_1$4 = {
|
|
3414
3379
|
style: { "vertical-align": "middle" },
|
|
3415
3380
|
width: "199px",
|
|
3416
3381
|
height: "107px",
|
|
3417
3382
|
viewBox: "0 0 199 107",
|
|
3418
3383
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3419
3384
|
};
|
|
3420
|
-
const _hoisted_2$
|
|
3421
|
-
const _hoisted_3$
|
|
3422
|
-
_hoisted_2$
|
|
3385
|
+
const _hoisted_2$2 = /* @__PURE__ */ 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);
|
|
3386
|
+
const _hoisted_3$1 = [
|
|
3387
|
+
_hoisted_2$2
|
|
3423
3388
|
];
|
|
3424
3389
|
const _hoisted_4$1 = /* @__PURE__ */ 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);
|
|
3425
3390
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
@@ -3428,7 +3393,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3428
3393
|
setup(__props) {
|
|
3429
3394
|
return (_ctx, _cache) => {
|
|
3430
3395
|
return openBlock(), createElementBlock("div", null, [
|
|
3431
|
-
(openBlock(), createElementBlock("svg", _hoisted_1$
|
|
3396
|
+
(openBlock(), createElementBlock("svg", _hoisted_1$4, _hoisted_3$1)),
|
|
3432
3397
|
_hoisted_4$1
|
|
3433
3398
|
]);
|
|
3434
3399
|
};
|
|
@@ -3457,7 +3422,7 @@ const formDesignerProps = {
|
|
|
3457
3422
|
},
|
|
3458
3423
|
};
|
|
3459
3424
|
|
|
3460
|
-
const _hoisted_1$
|
|
3425
|
+
const _hoisted_1$3 = {
|
|
3461
3426
|
key: 0,
|
|
3462
3427
|
style: { "font-weight": "normal" }
|
|
3463
3428
|
};
|
|
@@ -3466,31 +3431,28 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3466
3431
|
props: ["childRules"],
|
|
3467
3432
|
setup(__props) {
|
|
3468
3433
|
const props = __props;
|
|
3469
|
-
const text = computed(
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
}, "")
|
|
3475
|
-
);
|
|
3434
|
+
const text = computed(() => props.childRules.filter((rule) => rule.type === "inputNumber" && rule.config.count).reduce((pre, item, index) => {
|
|
3435
|
+
if (index > 0)
|
|
3436
|
+
pre += "\u3001";
|
|
3437
|
+
return pre + `${item.title.title}: 0`;
|
|
3438
|
+
}, ""));
|
|
3476
3439
|
return (_ctx, _cache) => {
|
|
3477
3440
|
return openBlock(), createElementBlock("div", null, [
|
|
3478
3441
|
renderSlot(_ctx.$slots, "default"),
|
|
3479
|
-
unref(text) ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
3442
|
+
unref(text) ? (openBlock(), createElementBlock("span", _hoisted_1$3, "\uFF08" + toDisplayString(unref(text)) + "\uFF09", 1)) : createCommentVNode("v-if", true)
|
|
3480
3443
|
]);
|
|
3481
3444
|
};
|
|
3482
3445
|
}
|
|
3483
3446
|
});
|
|
3484
3447
|
var TableHeadCount = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "table-head-count.vue"]]);
|
|
3485
3448
|
|
|
3486
|
-
const _hoisted_1$
|
|
3487
|
-
const _hoisted_2$2 = /* @__PURE__ */ createTextVNode("\u5FC5\u586B");
|
|
3449
|
+
const _hoisted_1$2 = { style: { "position": "absolute", "right": "0", "top": "-30px", "display": "flex", "align-items": "center" } };
|
|
3488
3450
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
3489
3451
|
__name: "checkbox-switch",
|
|
3490
3452
|
props: ["rule"],
|
|
3491
3453
|
setup(__props) {
|
|
3492
3454
|
return (_ctx, _cache) => {
|
|
3493
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
3455
|
+
return openBlock(), createElementBlock("span", _hoisted_1$2, [
|
|
3494
3456
|
createVNode(unref(FormItemRest), null, {
|
|
3495
3457
|
default: withCtx(() => [
|
|
3496
3458
|
createVNode(unref(Checkbox), {
|
|
@@ -3498,7 +3460,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
3498
3460
|
"onUpdate:checked": _cache[0] || (_cache[0] = ($event) => __props.rule.config.uploadPictureRule.required = $event)
|
|
3499
3461
|
}, {
|
|
3500
3462
|
default: withCtx(() => [
|
|
3501
|
-
|
|
3463
|
+
createTextVNode("\u5FC5\u586B")
|
|
3502
3464
|
]),
|
|
3503
3465
|
_: 1
|
|
3504
3466
|
}, 8, ["checked"]),
|
|
@@ -3572,9 +3534,8 @@ var ruleList = {
|
|
|
3572
3534
|
[materialType.name]: materialType,
|
|
3573
3535
|
};
|
|
3574
3536
|
|
|
3575
|
-
const _hoisted_1$
|
|
3537
|
+
const _hoisted_1$1 = { class: "bm-table-column__main" };
|
|
3576
3538
|
const _hoisted_2$1 = { class: "bm-table-column-btn-wrap" };
|
|
3577
|
-
const _hoisted_3$1 = /* @__PURE__ */ createTextVNode(" \u6DFB\u52A0\u5B50\u5B57\u6BB5 ");
|
|
3578
3539
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
3579
3540
|
__name: "table-column",
|
|
3580
3541
|
props: ["formCreateInject"],
|
|
@@ -3627,7 +3588,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3627
3588
|
createVNode(unref(HolderOutlined), {
|
|
3628
3589
|
class: normalizeClass([handleClass])
|
|
3629
3590
|
}, null, 8, ["class"]),
|
|
3630
|
-
createElementVNode("div", _hoisted_1$
|
|
3591
|
+
createElementVNode("div", _hoisted_1$1, toDisplayString(element.title.title), 1),
|
|
3631
3592
|
createVNode(unref(EditOutlined), {
|
|
3632
3593
|
class: "bm-table-column__icon is-edit",
|
|
3633
3594
|
onClick: ($event) => handleEdit(element)
|
|
@@ -3670,7 +3631,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3670
3631
|
createVNode(unref(PlusOutlined))
|
|
3671
3632
|
]),
|
|
3672
3633
|
default: withCtx(() => [
|
|
3673
|
-
|
|
3634
|
+
createTextVNode(" \u6DFB\u52A0\u5B50\u5B57\u6BB5 ")
|
|
3674
3635
|
]),
|
|
3675
3636
|
_: 1
|
|
3676
3637
|
}, 512)
|
|
@@ -3681,7 +3642,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3681
3642
|
});
|
|
3682
3643
|
var TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "table-column.vue"]]);
|
|
3683
3644
|
|
|
3684
|
-
const _hoisted_1$1 = /* @__PURE__ */ createTextVNode("change");
|
|
3685
3645
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
3686
3646
|
__name: "text-color",
|
|
3687
3647
|
props: ["rule"],
|
|
@@ -3707,7 +3667,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
3707
3667
|
onClick: withModifiers(handleClick, ["prevent", "stop"])
|
|
3708
3668
|
}, {
|
|
3709
3669
|
default: withCtx(() => [
|
|
3710
|
-
|
|
3670
|
+
createTextVNode("change")
|
|
3711
3671
|
]),
|
|
3712
3672
|
_: 1
|
|
3713
3673
|
}, 8, ["style", "onClick"]);
|
|
@@ -3724,9 +3684,8 @@ const _hoisted_5 = {
|
|
|
3724
3684
|
key: 0,
|
|
3725
3685
|
class: "bfd-sider-right__title"
|
|
3726
3686
|
};
|
|
3727
|
-
const _hoisted_6 =
|
|
3728
|
-
const _hoisted_7 = {
|
|
3729
|
-
const _hoisted_8 = {
|
|
3687
|
+
const _hoisted_6 = { class: "bfd-sider-right__form" };
|
|
3688
|
+
const _hoisted_7 = {
|
|
3730
3689
|
key: 0,
|
|
3731
3690
|
class: "bfd-sider-right__form__flow-releated"
|
|
3732
3691
|
};
|
|
@@ -3770,13 +3729,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3770
3729
|
const cacheProps = reactive({});
|
|
3771
3730
|
const fApi = ref();
|
|
3772
3731
|
const activeParentRule = ref();
|
|
3773
|
-
const menuList = computed(
|
|
3774
|
-
() => tabData.find((tab) => tab.key === activeKey.value).menuList
|
|
3775
|
-
);
|
|
3732
|
+
const menuList = computed(() => tabData.find((tab) => tab.key === activeKey.value).menuList);
|
|
3776
3733
|
const activeProps = computed(() => cacheProps[activeRule.value.field]);
|
|
3777
|
-
const activeRuleInList = computed(
|
|
3778
|
-
() => activeParentRule.value?.config?.childRules || widgetFormRules
|
|
3779
|
-
);
|
|
3734
|
+
const activeRuleInList = computed(() => activeParentRule.value?.config?.childRules || widgetFormRules);
|
|
3780
3735
|
function hideShowDragTip() {
|
|
3781
3736
|
showDragTip.value = false;
|
|
3782
3737
|
}
|
|
@@ -3831,9 +3786,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3831
3786
|
if (!widgetNamesRowAccept.includes(config.name) && activeParentRuleName === "row" || !Object.keys(widgetsTableAccept).includes(config.name) && activeParentRuleName === "table") {
|
|
3832
3787
|
disabledTip(activeParentRule.value.config.config.name);
|
|
3833
3788
|
} else {
|
|
3834
|
-
const index = activeRuleInList.value.findIndex(
|
|
3835
|
-
(item) => item.field === activeRule.value.field
|
|
3836
|
-
);
|
|
3789
|
+
const index = activeRuleInList.value.findIndex((item) => item.field === activeRule.value.field);
|
|
3837
3790
|
activeRuleInList.value.splice(index + 1, 0, rule);
|
|
3838
3791
|
setActiveRule(rule, activeParentRule.value);
|
|
3839
3792
|
hideShowDragTip();
|
|
@@ -3912,9 +3865,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3912
3865
|
} else {
|
|
3913
3866
|
activeRule.value = {};
|
|
3914
3867
|
}
|
|
3915
|
-
} else if (targetRule?.config?.childRules?.some(
|
|
3916
|
-
(rule) => rule.field === activeRule.value.field
|
|
3917
|
-
)) {
|
|
3868
|
+
} else if (targetRule?.config?.childRules?.some((rule) => rule.field === activeRule.value.field)) {
|
|
3918
3869
|
const newIndex = Math.min(parentList.length - 1, index);
|
|
3919
3870
|
if (newIndex >= 0) {
|
|
3920
3871
|
setActiveRule(parentList[newIndex]);
|
|
@@ -4026,24 +3977,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4026
3977
|
function getRule(name) {
|
|
4027
3978
|
return makeRule(ruleList[name]);
|
|
4028
3979
|
}
|
|
4029
|
-
watch(
|
|
4030
|
-
()
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
() => props.formRules,
|
|
4040
|
-
(formRules) => {
|
|
4041
|
-
edit(formRules);
|
|
4042
|
-
},
|
|
4043
|
-
{
|
|
4044
|
-
immediate: true
|
|
4045
|
-
}
|
|
4046
|
-
);
|
|
3980
|
+
watch(() => props.presetRules, (presetRules) => {
|
|
3981
|
+
widgetFormRules.push(...presetRules);
|
|
3982
|
+
}, {
|
|
3983
|
+
immediate: true
|
|
3984
|
+
});
|
|
3985
|
+
watch(() => props.formRules, (formRules) => {
|
|
3986
|
+
edit(formRules);
|
|
3987
|
+
}, {
|
|
3988
|
+
immediate: true
|
|
3989
|
+
});
|
|
4047
3990
|
onBeforeUnmount(() => {
|
|
4048
3991
|
resetIndex();
|
|
4049
3992
|
});
|
|
@@ -4175,7 +4118,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4175
4118
|
createTextVNode(" " + toDisplayString(activeRule.value.config?.config.label) + " ", 1),
|
|
4176
4119
|
activeRule.value.type === unref(WidgetType).UploadFile ? (openBlock(), createBlock(unref(Tooltip), { key: 0 }, {
|
|
4177
4120
|
title: withCtx(() => [
|
|
4178
|
-
|
|
4121
|
+
createTextVNode(" \u5355\u4E2A\u6587\u4EF6\u5927\u5C0F\u9700\u572820M\u4EE5\u5185 ")
|
|
4179
4122
|
]),
|
|
4180
4123
|
default: withCtx(() => [
|
|
4181
4124
|
createVNode(unref(QuestionCircleOutlined), { style: { "color": "#babac1", "font-size": "14px", "margin-left": "5px" } })
|
|
@@ -4183,8 +4126,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4183
4126
|
_: 1
|
|
4184
4127
|
})) : createCommentVNode("v-if", true)
|
|
4185
4128
|
])) : createCommentVNode("v-if", true),
|
|
4186
|
-
createElementVNode("div",
|
|
4187
|
-
_ctx.flowCondition[activeRule.value.field] ? (openBlock(), createElementBlock("div",
|
|
4129
|
+
createElementVNode("div", _hoisted_6, [
|
|
4130
|
+
_ctx.flowCondition[activeRule.value.field] ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
4188
4131
|
createVNode(unref(ExclamationCircleFilled), { style: { "color": "#2f4eed" } }),
|
|
4189
4132
|
createTextVNode(" \u8BE5\u7EC4\u4EF6\u5728\u201C" + 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)
|
|
4190
4133
|
])) : createCommentVNode("v-if", true),
|