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
|
@@ -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,
|
|
@@ -775,14 +773,11 @@ var numInput = {
|
|
|
775
773
|
},
|
|
776
774
|
};
|
|
777
775
|
|
|
778
|
-
const _hoisted_1$
|
|
779
|
-
const _hoisted_2$
|
|
776
|
+
const _hoisted_1$c = { class: "bm-handle-options" };
|
|
777
|
+
const _hoisted_2$9 = {
|
|
780
778
|
key: 0,
|
|
781
779
|
class: "bm-handle-options__error-tip"
|
|
782
780
|
};
|
|
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
781
|
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
787
782
|
__name: "handle-options",
|
|
788
783
|
props: ["options"],
|
|
@@ -842,14 +837,10 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
842
837
|
function emitSetValue(val) {
|
|
843
838
|
emits("setValue", val);
|
|
844
839
|
}
|
|
845
|
-
vue.watch(
|
|
846
|
-
|
|
847
|
-
(val)
|
|
848
|
-
|
|
849
|
-
emitSetValue(val);
|
|
850
|
-
},
|
|
851
|
-
{ deep: true }
|
|
852
|
-
);
|
|
840
|
+
vue.watch(props.options, (val) => {
|
|
841
|
+
handleRepeatOption(val);
|
|
842
|
+
emitSetValue(val);
|
|
843
|
+
}, { deep: true });
|
|
853
844
|
return (_ctx, _cache) => {
|
|
854
845
|
const _component_Delete = vue.resolveComponent("Delete");
|
|
855
846
|
const _component_ARow = vue.resolveComponent("ARow");
|
|
@@ -867,7 +858,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
867
858
|
"force-fallback": true
|
|
868
859
|
}, {
|
|
869
860
|
item: vue.withCtx(({ element, index }) => [
|
|
870
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
861
|
+
vue.createElementVNode("div", _hoisted_1$c, [
|
|
871
862
|
vue.createVNode(_component_ARow, { align: "middle" }, {
|
|
872
863
|
default: vue.withCtx(() => [
|
|
873
864
|
vue.createVNode(vue.unref(iconsVue.HolderOutlined), {
|
|
@@ -894,7 +885,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
894
885
|
]),
|
|
895
886
|
_: 2
|
|
896
887
|
}, 1024),
|
|
897
|
-
repeatOption.value.length && repeatOption.value.includes(element.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
888
|
+
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
889
|
])
|
|
899
890
|
]),
|
|
900
891
|
_: 1
|
|
@@ -907,7 +898,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
907
898
|
vue.createVNode(vue.unref(iconsVue.EditOutlined))
|
|
908
899
|
]),
|
|
909
900
|
default: vue.withCtx(() => [
|
|
910
|
-
|
|
901
|
+
vue.createTextVNode(" \u6279\u91CF\u7F16\u8F91 ")
|
|
911
902
|
]),
|
|
912
903
|
_: 1
|
|
913
904
|
}),
|
|
@@ -919,7 +910,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
919
910
|
vue.createVNode(vue.unref(iconsVue.PlusOutlined))
|
|
920
911
|
]),
|
|
921
912
|
default: vue.withCtx(() => [
|
|
922
|
-
|
|
913
|
+
vue.createTextVNode(" \u6DFB\u52A0\u9009\u9879 ")
|
|
923
914
|
]),
|
|
924
915
|
_: 1
|
|
925
916
|
}),
|
|
@@ -930,7 +921,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
930
921
|
onOk: handleOk
|
|
931
922
|
}, {
|
|
932
923
|
default: vue.withCtx(() => [
|
|
933
|
-
|
|
924
|
+
vue.createTextVNode(" \u6BCF\u884C\u5BF9\u5E94\u4E00\u4E2A\u9009\u9879 "),
|
|
934
925
|
vue.createVNode(_component_a_textarea, {
|
|
935
926
|
value: text.value,
|
|
936
927
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => text.value = $event),
|
|
@@ -1223,10 +1214,7 @@ var checkbox = {
|
|
|
1223
1214
|
},
|
|
1224
1215
|
};
|
|
1225
1216
|
|
|
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");
|
|
1217
|
+
const _hoisted_1$b = { class: "bm-default-date" };
|
|
1230
1218
|
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
1231
1219
|
__name: "default-date",
|
|
1232
1220
|
props: ["defaultRadioValue", "defalueDateValue"],
|
|
@@ -1248,7 +1236,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
1248
1236
|
emitChange(date);
|
|
1249
1237
|
}
|
|
1250
1238
|
return (_ctx, _cache) => {
|
|
1251
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1239
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [
|
|
1252
1240
|
vue.createVNode(vue.unref(antDesignVue.FormItemRest), null, {
|
|
1253
1241
|
default: vue.withCtx(() => [
|
|
1254
1242
|
vue.createVNode(vue.unref(antDesignVue.RadioGroup), {
|
|
@@ -1258,10 +1246,10 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
1258
1246
|
default: vue.withCtx(() => [
|
|
1259
1247
|
vue.createVNode(vue.unref(antDesignVue.Radio), { value: 0 }, {
|
|
1260
1248
|
default: vue.withCtx(() => [
|
|
1261
|
-
|
|
1249
|
+
vue.createTextVNode(" \u5F53\u524D\u65F6\u95F4(\u5E74/\u6708/\u65E5) "),
|
|
1262
1250
|
vue.createVNode(vue.unref(antDesignVue.Tooltip), null, {
|
|
1263
1251
|
title: vue.withCtx(() => [
|
|
1264
|
-
|
|
1252
|
+
vue.createTextVNode(" \u83B7\u53D6\u7528\u6237\u5B9E\u9645\u586B\u5199\u65F6\u7684\u65F6\u95F4 ")
|
|
1265
1253
|
]),
|
|
1266
1254
|
default: vue.withCtx(() => [
|
|
1267
1255
|
vue.createVNode(vue.unref(iconsVue.QuestionCircleOutlined), { style: { "color": "#babac1" } })
|
|
@@ -1273,7 +1261,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
1273
1261
|
}),
|
|
1274
1262
|
vue.createVNode(vue.unref(antDesignVue.Radio), { value: 1 }, {
|
|
1275
1263
|
default: vue.withCtx(() => [
|
|
1276
|
-
|
|
1264
|
+
vue.createTextVNode("\u81EA\u5B9A\u4E49")
|
|
1277
1265
|
]),
|
|
1278
1266
|
_: 1
|
|
1279
1267
|
})
|
|
@@ -1748,40 +1736,36 @@ var picture = {
|
|
|
1748
1736
|
},
|
|
1749
1737
|
};
|
|
1750
1738
|
|
|
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 = {
|
|
1739
|
+
const _hoisted_1$a = { class: "bm-widget-table-wrap" };
|
|
1740
|
+
const _hoisted_2$8 = { class: "bm-widget-table-top-bar" };
|
|
1741
|
+
const _hoisted_3$5 = { class: "bm-widget-table-outer" };
|
|
1742
|
+
const _hoisted_4$4 = { class: "bm-widget-table" };
|
|
1743
|
+
const _hoisted_5$1 = {
|
|
1760
1744
|
key: 0,
|
|
1761
1745
|
class: "bm-widget-table__virtual"
|
|
1762
1746
|
};
|
|
1763
|
-
const
|
|
1764
|
-
const
|
|
1765
|
-
const
|
|
1766
|
-
|
|
1767
|
-
|
|
1747
|
+
const _hoisted_6$1 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-widget-table__virtual__head" }, null, -1);
|
|
1748
|
+
const _hoisted_7$1 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-widget-table__virtual__content" }, null, -1);
|
|
1749
|
+
const _hoisted_8 = [
|
|
1750
|
+
_hoisted_6$1,
|
|
1751
|
+
_hoisted_7$1
|
|
1768
1752
|
];
|
|
1769
|
-
const
|
|
1753
|
+
const _hoisted_9 = {
|
|
1770
1754
|
key: 1,
|
|
1771
1755
|
class: "bm-widget-table__tip"
|
|
1772
1756
|
};
|
|
1773
|
-
const
|
|
1757
|
+
const _hoisted_10 = {
|
|
1774
1758
|
key: 0,
|
|
1775
1759
|
class: "bm-widget-table__checkbox"
|
|
1776
1760
|
};
|
|
1777
|
-
const
|
|
1778
|
-
const
|
|
1779
|
-
const
|
|
1780
|
-
const
|
|
1781
|
-
const
|
|
1782
|
-
const
|
|
1783
|
-
const
|
|
1784
|
-
const
|
|
1761
|
+
const _hoisted_11 = { class: "bm-widget-table__checkbox__head" };
|
|
1762
|
+
const _hoisted_12 = { class: "bm-widget-table__checkbox__content" };
|
|
1763
|
+
const _hoisted_13 = { class: "bm-widget-table__operateColumn" };
|
|
1764
|
+
const _hoisted_14 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-widget-table__operateColumn__head" }, "\u64CD\u4F5C", -1);
|
|
1765
|
+
const _hoisted_15 = { class: "bm-widget-table__operateColumn__content" };
|
|
1766
|
+
const _hoisted_16 = /* @__PURE__ */ vue.createElementVNode("a", null, "\u590D\u5236", -1);
|
|
1767
|
+
const _hoisted_17 = /* @__PURE__ */ vue.createElementVNode("span", null, null, -1);
|
|
1768
|
+
const _hoisted_18 = /* @__PURE__ */ vue.createElementVNode("a", null, "\u5220\u9664", -1);
|
|
1785
1769
|
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
1786
1770
|
__name: "widget-table",
|
|
1787
1771
|
props: ["formCreateInject", "activeRule"],
|
|
@@ -1828,37 +1812,37 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
1828
1812
|
emits("delete", rule2);
|
|
1829
1813
|
}
|
|
1830
1814
|
return (_ctx, _cache) => {
|
|
1831
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1832
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
1815
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
|
|
1816
|
+
vue.createElementVNode("div", _hoisted_2$8, [
|
|
1833
1817
|
vue.createVNode(vue.unref(antDesignVue.Button), { type: "primary" }, {
|
|
1834
1818
|
icon: vue.withCtx(() => [
|
|
1835
1819
|
vue.createVNode(vue.unref(iconsVue.PlusOutlined))
|
|
1836
1820
|
]),
|
|
1837
1821
|
default: vue.withCtx(() => [
|
|
1838
|
-
|
|
1822
|
+
vue.createTextVNode(" \u65B0\u589E ")
|
|
1839
1823
|
]),
|
|
1840
1824
|
_: 1
|
|
1841
1825
|
}),
|
|
1842
1826
|
vue.unref(showDelete) ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Button), { key: 0 }, {
|
|
1843
1827
|
default: vue.withCtx(() => [
|
|
1844
|
-
|
|
1828
|
+
vue.createTextVNode(" \u6279\u91CF\u5220\u9664 ")
|
|
1845
1829
|
]),
|
|
1846
1830
|
_: 1
|
|
1847
1831
|
})) : vue.createCommentVNode("v-if", true),
|
|
1848
1832
|
vue.unref(showImport) ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Button), { key: 1 }, {
|
|
1849
1833
|
default: vue.withCtx(() => [
|
|
1850
|
-
|
|
1834
|
+
vue.createTextVNode(" \u6279\u91CF\u5BFC\u5165 ")
|
|
1851
1835
|
]),
|
|
1852
1836
|
_: 1
|
|
1853
1837
|
})) : vue.createCommentVNode("v-if", true),
|
|
1854
1838
|
vue.unref(showImport) ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Button), { key: 2 }, {
|
|
1855
1839
|
default: vue.withCtx(() => [
|
|
1856
|
-
|
|
1840
|
+
vue.createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u6A21\u677F ")
|
|
1857
1841
|
]),
|
|
1858
1842
|
_: 1
|
|
1859
1843
|
})) : vue.createCommentVNode("v-if", true)
|
|
1860
1844
|
]),
|
|
1861
|
-
vue.createElementVNode("div",
|
|
1845
|
+
vue.createElementVNode("div", _hoisted_3$5, [
|
|
1862
1846
|
vue.createElementVNode("div", {
|
|
1863
1847
|
class: "bm-widget-table-inner",
|
|
1864
1848
|
style: vue.normalizeStyle({
|
|
@@ -1866,8 +1850,8 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
1866
1850
|
paddingRight: vue.unref(showCopy) ? "81px" : "60px"
|
|
1867
1851
|
})
|
|
1868
1852
|
}, [
|
|
1869
|
-
vue.createElementVNode("div",
|
|
1870
|
-
vue.unref(childRules).length ? (vue.openBlock(), vue.createElementBlock("div",
|
|
1853
|
+
vue.createElementVNode("div", _hoisted_4$4, [
|
|
1854
|
+
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
1855
|
vue.createVNode(vue.unref(Draggable__default["default"]), {
|
|
1872
1856
|
"component-data": {
|
|
1873
1857
|
field: vue.unref(rule).field,
|
|
@@ -1911,8 +1895,8 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
1911
1895
|
}, 8, ["component-data", "list", "ghost-class"])
|
|
1912
1896
|
])
|
|
1913
1897
|
], 4),
|
|
1914
|
-
vue.unref(showDelete) ? (vue.openBlock(), vue.createElementBlock("div",
|
|
1915
|
-
vue.createElementVNode("div",
|
|
1898
|
+
vue.unref(showDelete) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
|
|
1899
|
+
vue.createElementVNode("div", _hoisted_11, [
|
|
1916
1900
|
vue.createVNode(vue.unref(antDesignVue.FormItemRest), null, {
|
|
1917
1901
|
default: vue.withCtx(() => [
|
|
1918
1902
|
vue.createVNode(vue.unref(antDesignVue.Checkbox))
|
|
@@ -1920,7 +1904,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
1920
1904
|
_: 1
|
|
1921
1905
|
})
|
|
1922
1906
|
]),
|
|
1923
|
-
vue.createElementVNode("div",
|
|
1907
|
+
vue.createElementVNode("div", _hoisted_12, [
|
|
1924
1908
|
vue.createVNode(vue.unref(antDesignVue.FormItemRest), null, {
|
|
1925
1909
|
default: vue.withCtx(() => [
|
|
1926
1910
|
vue.createVNode(vue.unref(antDesignVue.Checkbox))
|
|
@@ -1929,14 +1913,14 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
1929
1913
|
})
|
|
1930
1914
|
])
|
|
1931
1915
|
])) : vue.createCommentVNode("v-if", true),
|
|
1932
|
-
vue.createElementVNode("div",
|
|
1933
|
-
|
|
1934
|
-
vue.createElementVNode("div",
|
|
1916
|
+
vue.createElementVNode("div", _hoisted_13, [
|
|
1917
|
+
_hoisted_14,
|
|
1918
|
+
vue.createElementVNode("div", _hoisted_15, [
|
|
1935
1919
|
vue.unref(showCopy) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
1936
|
-
|
|
1937
|
-
|
|
1920
|
+
_hoisted_16,
|
|
1921
|
+
_hoisted_17
|
|
1938
1922
|
], 64)) : vue.createCommentVNode("v-if", true),
|
|
1939
|
-
|
|
1923
|
+
_hoisted_18
|
|
1940
1924
|
])
|
|
1941
1925
|
])
|
|
1942
1926
|
])
|
|
@@ -2366,15 +2350,10 @@ var department = {
|
|
|
2366
2350
|
},
|
|
2367
2351
|
};
|
|
2368
2352
|
|
|
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" };
|
|
2353
|
+
const _hoisted_1$9 = { style: { "margin-top": "16px", "line-height": "32px" } };
|
|
2354
|
+
const _hoisted_2$7 = { style: { "float": "right" } };
|
|
2355
|
+
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);
|
|
2356
|
+
const _hoisted_4$3 = { class: "bm-material-temp__add" };
|
|
2378
2357
|
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
2379
2358
|
__name: "widget-material-temp",
|
|
2380
2359
|
props: ["formCreateInject"],
|
|
@@ -2483,14 +2462,10 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
2483
2462
|
uploadPicRule.hidden = uploadPictureRule.hidden;
|
|
2484
2463
|
rules.value = [...rules.value];
|
|
2485
2464
|
}
|
|
2486
|
-
vue.watch(
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
deep: true,
|
|
2491
|
-
immediate: true
|
|
2492
|
-
}
|
|
2493
|
-
);
|
|
2465
|
+
vue.watch(() => props.formCreateInject.rule.config.uploadPictureRule, handleUploadPicRule, {
|
|
2466
|
+
deep: true,
|
|
2467
|
+
immediate: true
|
|
2468
|
+
});
|
|
2494
2469
|
return (_ctx, _cache) => {
|
|
2495
2470
|
const _component_FormCreate = vue.resolveComponent("FormCreate");
|
|
2496
2471
|
return vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Tabs), {
|
|
@@ -2502,7 +2477,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
2502
2477
|
size: "small"
|
|
2503
2478
|
}, {
|
|
2504
2479
|
rightExtra: vue.withCtx(() => [
|
|
2505
|
-
vue.createElementVNode("span",
|
|
2480
|
+
vue.createElementVNode("span", _hoisted_4$3, [
|
|
2506
2481
|
vue.createVNode(vue.unref(iconsVue.PlusOutlined))
|
|
2507
2482
|
])
|
|
2508
2483
|
]),
|
|
@@ -2517,37 +2492,37 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
2517
2492
|
option,
|
|
2518
2493
|
rule: rules.value
|
|
2519
2494
|
}, null, 8, ["rule"]),
|
|
2520
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
2521
|
-
|
|
2522
|
-
vue.createElementVNode("div",
|
|
2495
|
+
vue.createElementVNode("div", _hoisted_1$9, [
|
|
2496
|
+
vue.createTextVNode(" \u660E\u7EC6\u5217\u8868 "),
|
|
2497
|
+
vue.createElementVNode("div", _hoisted_2$7, [
|
|
2523
2498
|
vue.createVNode(vue.unref(antDesignVue.Button), null, {
|
|
2524
2499
|
default: vue.withCtx(() => [
|
|
2525
|
-
|
|
2500
|
+
vue.createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u6A21\u677F ")
|
|
2526
2501
|
]),
|
|
2527
2502
|
_: 1
|
|
2528
2503
|
}),
|
|
2529
2504
|
vue.createVNode(vue.unref(antDesignVue.Button), null, {
|
|
2530
2505
|
default: vue.withCtx(() => [
|
|
2531
|
-
|
|
2506
|
+
vue.createTextVNode(" \u5BFC\u5165\u660E\u7EC6 ")
|
|
2532
2507
|
]),
|
|
2533
2508
|
_: 1
|
|
2534
2509
|
}),
|
|
2535
2510
|
vue.createVNode(vue.unref(antDesignVue.Button), null, {
|
|
2536
2511
|
default: vue.withCtx(() => [
|
|
2537
|
-
|
|
2512
|
+
vue.createTextVNode(" \u6279\u91CF\u5220\u9664 ")
|
|
2538
2513
|
]),
|
|
2539
2514
|
_: 1
|
|
2540
2515
|
}),
|
|
2541
2516
|
vue.createVNode(vue.unref(antDesignVue.Button), { type: "primary" }, {
|
|
2542
2517
|
default: vue.withCtx(() => [
|
|
2543
2518
|
vue.createVNode(vue.unref(iconsVue.PlusOutlined)),
|
|
2544
|
-
|
|
2519
|
+
vue.createTextVNode(" \u65B0\u589E ")
|
|
2545
2520
|
]),
|
|
2546
2521
|
_: 1
|
|
2547
2522
|
})
|
|
2548
2523
|
])
|
|
2549
2524
|
]),
|
|
2550
|
-
|
|
2525
|
+
_hoisted_3$4
|
|
2551
2526
|
]),
|
|
2552
2527
|
_: 2
|
|
2553
2528
|
}, 1032, ["tab"]);
|
|
@@ -2560,17 +2535,16 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
2560
2535
|
});
|
|
2561
2536
|
var WidgetMaterialTemp = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__file", "widget-material-temp.vue"]]);
|
|
2562
2537
|
|
|
2563
|
-
const _hoisted_1$
|
|
2564
|
-
const _hoisted_2$
|
|
2565
|
-
const _hoisted_3$6 = /* @__PURE__ */ vue.createTextVNode(" \u4F7F\u7528\u8BF4\u660E ");
|
|
2538
|
+
const _hoisted_1$8 = { class: "bm-use-instruction" };
|
|
2539
|
+
const _hoisted_2$6 = { class: "bm-use-instruction__title" };
|
|
2566
2540
|
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
2567
2541
|
__name: "use-instruction",
|
|
2568
2542
|
setup(__props) {
|
|
2569
2543
|
return (_ctx, _cache) => {
|
|
2570
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2571
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
2544
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, [
|
|
2545
|
+
vue.createElementVNode("div", _hoisted_2$6, [
|
|
2572
2546
|
vue.createVNode(vue.unref(iconsVue.InfoCircleFilled), { class: "bm-use-instruction__title__icon" }),
|
|
2573
|
-
|
|
2547
|
+
vue.createTextVNode(" \u4F7F\u7528\u8BF4\u660E ")
|
|
2574
2548
|
]),
|
|
2575
2549
|
vue.renderSlot(_ctx.$slots, "default")
|
|
2576
2550
|
]);
|
|
@@ -2695,10 +2669,10 @@ var materialTemp = {
|
|
|
2695
2669
|
},
|
|
2696
2670
|
};
|
|
2697
2671
|
|
|
2698
|
-
const _hoisted_1$
|
|
2699
|
-
const _hoisted_2$
|
|
2700
|
-
const _hoisted_3$
|
|
2701
|
-
const _hoisted_4$
|
|
2672
|
+
const _hoisted_1$7 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-product-info-item__title" }, "\u5546\u54C1\u7F16\u53F7", -1);
|
|
2673
|
+
const _hoisted_2$5 = { class: "bm-product-info-item__content" };
|
|
2674
|
+
const _hoisted_3$3 = { class: "bm-product-info-item__title" };
|
|
2675
|
+
const _hoisted_4$2 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-product-info-item__content" }, "\u7CFB\u7EDF\u81EA\u52A8\u5E26\u51FA", -1);
|
|
2702
2676
|
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
2703
2677
|
__name: "product-info",
|
|
2704
2678
|
props: ["formCreateInject"],
|
|
@@ -2711,8 +2685,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2711
2685
|
span: 12
|
|
2712
2686
|
}, {
|
|
2713
2687
|
default: vue.withCtx(() => [
|
|
2714
|
-
_hoisted_1$
|
|
2715
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
2688
|
+
_hoisted_1$7,
|
|
2689
|
+
vue.createElementVNode("div", _hoisted_2$5, [
|
|
2716
2690
|
vue.createVNode(vue.unref(antDesignVue.Input), { placeholder: "\u8BF7\u8F93\u5165\u5546\u54C1\u7F16\u53F7" })
|
|
2717
2691
|
])
|
|
2718
2692
|
]),
|
|
@@ -2725,8 +2699,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2725
2699
|
span: 12
|
|
2726
2700
|
}, {
|
|
2727
2701
|
default: vue.withCtx(() => [
|
|
2728
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
2729
|
-
_hoisted_4$
|
|
2702
|
+
vue.createElementVNode("div", _hoisted_3$3, vue.toDisplayString(item.label), 1),
|
|
2703
|
+
_hoisted_4$2
|
|
2730
2704
|
]),
|
|
2731
2705
|
_: 2
|
|
2732
2706
|
}, 1024);
|
|
@@ -2739,14 +2713,11 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2739
2713
|
});
|
|
2740
2714
|
var ProductInfo = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "product-info.vue"]]);
|
|
2741
2715
|
|
|
2742
|
-
const _hoisted_1$
|
|
2716
|
+
const _hoisted_1$6 = /* @__PURE__ */ vue.createElementVNode("div", { class: "bm-associated-fields-item" }, [
|
|
2743
2717
|
/* @__PURE__ */ vue.createElementVNode("span", { class: "bm-associated-fields-item__content" }, "\u5546\u54C1\u7F16\u53F7")
|
|
2744
2718
|
], -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");
|
|
2719
|
+
const _hoisted_2$4 = { class: "bm-associated-fields-item__content" };
|
|
2720
|
+
const _hoisted_3$2 = { style: { "text-align": "right", "margin": "6px 0 4px", "padding-right": "8px" } };
|
|
2750
2721
|
const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
2751
2722
|
__name: "associated-fields",
|
|
2752
2723
|
props: ["associatedFields"],
|
|
@@ -2782,10 +2753,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2782
2753
|
}
|
|
2783
2754
|
];
|
|
2784
2755
|
function emitChangeEvt() {
|
|
2785
|
-
emits(
|
|
2786
|
-
"change",
|
|
2787
|
-
options.filter((op) => checkList.value.includes(op.value))
|
|
2788
|
-
);
|
|
2756
|
+
emits("change", options.filter((op) => checkList.value.includes(op.value)));
|
|
2789
2757
|
}
|
|
2790
2758
|
function handOk() {
|
|
2791
2759
|
visible.value = false;
|
|
@@ -2810,13 +2778,13 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2810
2778
|
return (_ctx, _cache) => {
|
|
2811
2779
|
const _component_Delete = vue.resolveComponent("Delete");
|
|
2812
2780
|
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
2813
|
-
_hoisted_1$
|
|
2781
|
+
_hoisted_1$6,
|
|
2814
2782
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.associatedFields, (item) => {
|
|
2815
2783
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
2816
2784
|
key: item.value,
|
|
2817
2785
|
class: "bm-associated-fields-item"
|
|
2818
2786
|
}, [
|
|
2819
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
2787
|
+
vue.createElementVNode("span", _hoisted_2$4, vue.toDisplayString(item.label), 1),
|
|
2820
2788
|
vue.createVNode(_component_Delete, {
|
|
2821
2789
|
class: "bm-associated-fields-item__icon",
|
|
2822
2790
|
onClick: ($event) => handleDel(item.value)
|
|
@@ -2864,12 +2832,12 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2864
2832
|
_: 1
|
|
2865
2833
|
}),
|
|
2866
2834
|
vue.createVNode(vue.unref(antDesignVue.Divider), { style: { "margin": "0" } }),
|
|
2867
|
-
vue.createElementVNode("div",
|
|
2835
|
+
vue.createElementVNode("div", _hoisted_3$2, [
|
|
2868
2836
|
vue.createVNode(vue.unref(antDesignVue.Button), {
|
|
2869
2837
|
onClick: _cache[1] || (_cache[1] = ($event) => visible.value = false)
|
|
2870
2838
|
}, {
|
|
2871
2839
|
default: vue.withCtx(() => [
|
|
2872
|
-
|
|
2840
|
+
vue.createTextVNode("\u53D6\u6D88")
|
|
2873
2841
|
]),
|
|
2874
2842
|
_: 1
|
|
2875
2843
|
}),
|
|
@@ -2879,7 +2847,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2879
2847
|
onClick: handOk
|
|
2880
2848
|
}, {
|
|
2881
2849
|
default: vue.withCtx(() => [
|
|
2882
|
-
|
|
2850
|
+
vue.createTextVNode("\u786E\u5B9A")
|
|
2883
2851
|
]),
|
|
2884
2852
|
_: 1
|
|
2885
2853
|
})
|
|
@@ -2895,7 +2863,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2895
2863
|
}, {
|
|
2896
2864
|
default: vue.withCtx(() => [
|
|
2897
2865
|
vue.createVNode(vue.unref(iconsVue.PlusOutlined)),
|
|
2898
|
-
|
|
2866
|
+
vue.createTextVNode(" \u6DFB\u52A0\u5B50\u5B57\u6BB5 ")
|
|
2899
2867
|
]),
|
|
2900
2868
|
_: 1
|
|
2901
2869
|
})
|
|
@@ -2908,9 +2876,8 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2908
2876
|
});
|
|
2909
2877
|
var AssociatedFields = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "associated-fields.vue"]]);
|
|
2910
2878
|
|
|
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");
|
|
2879
|
+
const _hoisted_1$5 = /* @__PURE__ */ vue.createElementVNode("div", { style: { "margin": "18px 0 6px" } }, "\u4EC5\u83B7\u53D6", -1);
|
|
2880
|
+
const _hoisted_2$3 = /* @__PURE__ */ vue.createElementVNode("div", { style: { "margin-top": "7px" } }, "\u4E2D\u53EF\u5206\u9500\u7684\u5546\u54C1\u6570\u636E", -1);
|
|
2914
2881
|
const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
2915
2882
|
__name: "shop-data-filter",
|
|
2916
2883
|
props: ["widgetFormRules", "defaultSelectValue"],
|
|
@@ -2919,19 +2886,17 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2919
2886
|
const props = __props;
|
|
2920
2887
|
const checkedValue = vue.ref(!!props.defaultSelectValue);
|
|
2921
2888
|
const selectValue = vue.ref(props.defaultSelectValue);
|
|
2922
|
-
const shopRules = vue.computed(
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
}, [])
|
|
2934
|
-
);
|
|
2889
|
+
const shopRules = vue.computed(() => props.widgetFormRules.reduce((pre, cur) => {
|
|
2890
|
+
const name = cur.config.config.name;
|
|
2891
|
+
if (name === "row" || name === "table") {
|
|
2892
|
+
cur.config.childRules.forEach((rule) => {
|
|
2893
|
+
getShop(rule, pre);
|
|
2894
|
+
});
|
|
2895
|
+
} else {
|
|
2896
|
+
getShop(cur, pre);
|
|
2897
|
+
}
|
|
2898
|
+
return pre;
|
|
2899
|
+
}, []));
|
|
2935
2900
|
const shops = vue.computed(() => {
|
|
2936
2901
|
return shopRules.value.map((shopRule) => ({
|
|
2937
2902
|
value: shopRule.field,
|
|
@@ -2990,7 +2955,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2990
2955
|
"onUpdate:checked": _cache[0] || (_cache[0] = ($event) => checkedValue.value = $event)
|
|
2991
2956
|
}, null, 8, ["checked"]),
|
|
2992
2957
|
checkedValue.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
2993
|
-
_hoisted_1$
|
|
2958
|
+
_hoisted_1$5,
|
|
2994
2959
|
vue.createVNode(vue.unref(antDesignVue.Select), {
|
|
2995
2960
|
value: selectValue.value,
|
|
2996
2961
|
"onUpdate:value": _cache[1] || (_cache[1] = ($event) => selectValue.value = $event),
|
|
@@ -2999,14 +2964,14 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2999
2964
|
"show-arrow": vue.unref(shops).length > 1,
|
|
3000
2965
|
placeholder: "\u8BF7\u9009\u62E9"
|
|
3001
2966
|
}, null, 8, ["value", "options", "disabled", "show-arrow"]),
|
|
3002
|
-
_hoisted_2$
|
|
2967
|
+
_hoisted_2$3
|
|
3003
2968
|
], 64)) : vue.createCommentVNode("v-if", true)
|
|
3004
2969
|
], 64)) : (vue.openBlock(), vue.createBlock(_component_a_tooltip, {
|
|
3005
2970
|
key: 1,
|
|
3006
2971
|
placement: "bottomLeft"
|
|
3007
2972
|
}, {
|
|
3008
2973
|
title: vue.withCtx(() => [
|
|
3009
|
-
|
|
2974
|
+
vue.createTextVNode("\u8BF7\u5148\u6DFB\u52A0\u5173\u8054\u8868\u5355\u4E2D\u7684\u5E97\u94FA\u7EC4\u4EF6")
|
|
3010
2975
|
]),
|
|
3011
2976
|
default: vue.withCtx(() => [
|
|
3012
2977
|
vue.createVNode(vue.unref(antDesignVue.Switch), { disabled: "" })
|
|
@@ -3420,16 +3385,16 @@ function createTab() {
|
|
|
3420
3385
|
];
|
|
3421
3386
|
}
|
|
3422
3387
|
|
|
3423
|
-
const _hoisted_1$
|
|
3388
|
+
const _hoisted_1$4 = {
|
|
3424
3389
|
style: { "vertical-align": "middle" },
|
|
3425
3390
|
width: "199px",
|
|
3426
3391
|
height: "107px",
|
|
3427
3392
|
viewBox: "0 0 199 107",
|
|
3428
3393
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3429
3394
|
};
|
|
3430
|
-
const _hoisted_2$
|
|
3431
|
-
const _hoisted_3$
|
|
3432
|
-
_hoisted_2$
|
|
3395
|
+
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);
|
|
3396
|
+
const _hoisted_3$1 = [
|
|
3397
|
+
_hoisted_2$2
|
|
3433
3398
|
];
|
|
3434
3399
|
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
3400
|
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -3438,7 +3403,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3438
3403
|
setup(__props) {
|
|
3439
3404
|
return (_ctx, _cache) => {
|
|
3440
3405
|
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
3441
|
-
(vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$
|
|
3406
|
+
(vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$4, _hoisted_3$1)),
|
|
3442
3407
|
_hoisted_4$1
|
|
3443
3408
|
]);
|
|
3444
3409
|
};
|
|
@@ -3467,7 +3432,7 @@ const formDesignerProps = {
|
|
|
3467
3432
|
},
|
|
3468
3433
|
};
|
|
3469
3434
|
|
|
3470
|
-
const _hoisted_1$
|
|
3435
|
+
const _hoisted_1$3 = {
|
|
3471
3436
|
key: 0,
|
|
3472
3437
|
style: { "font-weight": "normal" }
|
|
3473
3438
|
};
|
|
@@ -3476,31 +3441,28 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3476
3441
|
props: ["childRules"],
|
|
3477
3442
|
setup(__props) {
|
|
3478
3443
|
const props = __props;
|
|
3479
|
-
const text = vue.computed(
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
}, "")
|
|
3485
|
-
);
|
|
3444
|
+
const text = vue.computed(() => props.childRules.filter((rule) => rule.type === "inputNumber" && rule.config.count).reduce((pre, item, index) => {
|
|
3445
|
+
if (index > 0)
|
|
3446
|
+
pre += "\u3001";
|
|
3447
|
+
return pre + `${item.title.title}: 0`;
|
|
3448
|
+
}, ""));
|
|
3486
3449
|
return (_ctx, _cache) => {
|
|
3487
3450
|
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
3488
3451
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
3489
|
-
vue.unref(text) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
3452
|
+
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
3453
|
]);
|
|
3491
3454
|
};
|
|
3492
3455
|
}
|
|
3493
3456
|
});
|
|
3494
3457
|
var TableHeadCount = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "table-head-count.vue"]]);
|
|
3495
3458
|
|
|
3496
|
-
const _hoisted_1$
|
|
3497
|
-
const _hoisted_2$2 = /* @__PURE__ */ vue.createTextVNode("\u5FC5\u586B");
|
|
3459
|
+
const _hoisted_1$2 = { style: { "position": "absolute", "right": "0", "top": "-30px", "display": "flex", "align-items": "center" } };
|
|
3498
3460
|
const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
3499
3461
|
__name: "checkbox-switch",
|
|
3500
3462
|
props: ["rule"],
|
|
3501
3463
|
setup(__props) {
|
|
3502
3464
|
return (_ctx, _cache) => {
|
|
3503
|
-
return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
3465
|
+
return vue.openBlock(), vue.createElementBlock("span", _hoisted_1$2, [
|
|
3504
3466
|
vue.createVNode(vue.unref(antDesignVue.FormItemRest), null, {
|
|
3505
3467
|
default: vue.withCtx(() => [
|
|
3506
3468
|
vue.createVNode(vue.unref(antDesignVue.Checkbox), {
|
|
@@ -3508,7 +3470,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3508
3470
|
"onUpdate:checked": _cache[0] || (_cache[0] = ($event) => __props.rule.config.uploadPictureRule.required = $event)
|
|
3509
3471
|
}, {
|
|
3510
3472
|
default: vue.withCtx(() => [
|
|
3511
|
-
|
|
3473
|
+
vue.createTextVNode("\u5FC5\u586B")
|
|
3512
3474
|
]),
|
|
3513
3475
|
_: 1
|
|
3514
3476
|
}, 8, ["checked"]),
|
|
@@ -3582,9 +3544,8 @@ var ruleList = {
|
|
|
3582
3544
|
[materialType.name]: materialType,
|
|
3583
3545
|
};
|
|
3584
3546
|
|
|
3585
|
-
const _hoisted_1$
|
|
3547
|
+
const _hoisted_1$1 = { class: "bm-table-column__main" };
|
|
3586
3548
|
const _hoisted_2$1 = { class: "bm-table-column-btn-wrap" };
|
|
3587
|
-
const _hoisted_3$1 = /* @__PURE__ */ vue.createTextVNode(" \u6DFB\u52A0\u5B50\u5B57\u6BB5 ");
|
|
3588
3549
|
const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
3589
3550
|
__name: "table-column",
|
|
3590
3551
|
props: ["formCreateInject"],
|
|
@@ -3637,7 +3598,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3637
3598
|
vue.createVNode(vue.unref(iconsVue.HolderOutlined), {
|
|
3638
3599
|
class: vue.normalizeClass([handleClass])
|
|
3639
3600
|
}, null, 8, ["class"]),
|
|
3640
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
3601
|
+
vue.createElementVNode("div", _hoisted_1$1, vue.toDisplayString(element.title.title), 1),
|
|
3641
3602
|
vue.createVNode(vue.unref(iconsVue.EditOutlined), {
|
|
3642
3603
|
class: "bm-table-column__icon is-edit",
|
|
3643
3604
|
onClick: ($event) => handleEdit(element)
|
|
@@ -3680,7 +3641,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3680
3641
|
vue.createVNode(vue.unref(iconsVue.PlusOutlined))
|
|
3681
3642
|
]),
|
|
3682
3643
|
default: vue.withCtx(() => [
|
|
3683
|
-
|
|
3644
|
+
vue.createTextVNode(" \u6DFB\u52A0\u5B50\u5B57\u6BB5 ")
|
|
3684
3645
|
]),
|
|
3685
3646
|
_: 1
|
|
3686
3647
|
}, 512)
|
|
@@ -3691,7 +3652,6 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3691
3652
|
});
|
|
3692
3653
|
var TableColumn = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__file", "table-column.vue"]]);
|
|
3693
3654
|
|
|
3694
|
-
const _hoisted_1$1 = /* @__PURE__ */ vue.createTextVNode("change");
|
|
3695
3655
|
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
3696
3656
|
__name: "text-color",
|
|
3697
3657
|
props: ["rule"],
|
|
@@ -3717,7 +3677,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
3717
3677
|
onClick: vue.withModifiers(handleClick, ["prevent", "stop"])
|
|
3718
3678
|
}, {
|
|
3719
3679
|
default: vue.withCtx(() => [
|
|
3720
|
-
|
|
3680
|
+
vue.createTextVNode("change")
|
|
3721
3681
|
]),
|
|
3722
3682
|
_: 1
|
|
3723
3683
|
}, 8, ["style", "onClick"]);
|
|
@@ -3734,9 +3694,8 @@ const _hoisted_5 = {
|
|
|
3734
3694
|
key: 0,
|
|
3735
3695
|
class: "bfd-sider-right__title"
|
|
3736
3696
|
};
|
|
3737
|
-
const _hoisted_6 =
|
|
3738
|
-
const _hoisted_7 = {
|
|
3739
|
-
const _hoisted_8 = {
|
|
3697
|
+
const _hoisted_6 = { class: "bfd-sider-right__form" };
|
|
3698
|
+
const _hoisted_7 = {
|
|
3740
3699
|
key: 0,
|
|
3741
3700
|
class: "bfd-sider-right__form__flow-releated"
|
|
3742
3701
|
};
|
|
@@ -3780,13 +3739,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
3780
3739
|
const cacheProps = vue.reactive({});
|
|
3781
3740
|
const fApi = vue.ref();
|
|
3782
3741
|
const activeParentRule = vue.ref();
|
|
3783
|
-
const menuList = vue.computed(
|
|
3784
|
-
() => tabData.find((tab) => tab.key === activeKey.value).menuList
|
|
3785
|
-
);
|
|
3742
|
+
const menuList = vue.computed(() => tabData.find((tab) => tab.key === activeKey.value).menuList);
|
|
3786
3743
|
const activeProps = vue.computed(() => cacheProps[activeRule.value.field]);
|
|
3787
|
-
const activeRuleInList = vue.computed(
|
|
3788
|
-
() => activeParentRule.value?.config?.childRules || widgetFormRules
|
|
3789
|
-
);
|
|
3744
|
+
const activeRuleInList = vue.computed(() => activeParentRule.value?.config?.childRules || widgetFormRules);
|
|
3790
3745
|
function hideShowDragTip() {
|
|
3791
3746
|
showDragTip.value = false;
|
|
3792
3747
|
}
|
|
@@ -3841,9 +3796,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
3841
3796
|
if (!widgetNamesRowAccept.includes(config.name) && activeParentRuleName === "row" || !Object.keys(widgetsTableAccept).includes(config.name) && activeParentRuleName === "table") {
|
|
3842
3797
|
disabledTip(activeParentRule.value.config.config.name);
|
|
3843
3798
|
} else {
|
|
3844
|
-
const index = activeRuleInList.value.findIndex(
|
|
3845
|
-
(item) => item.field === activeRule.value.field
|
|
3846
|
-
);
|
|
3799
|
+
const index = activeRuleInList.value.findIndex((item) => item.field === activeRule.value.field);
|
|
3847
3800
|
activeRuleInList.value.splice(index + 1, 0, rule);
|
|
3848
3801
|
setActiveRule(rule, activeParentRule.value);
|
|
3849
3802
|
hideShowDragTip();
|
|
@@ -3922,9 +3875,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
3922
3875
|
} else {
|
|
3923
3876
|
activeRule.value = {};
|
|
3924
3877
|
}
|
|
3925
|
-
} else if (targetRule?.config?.childRules?.some(
|
|
3926
|
-
(rule) => rule.field === activeRule.value.field
|
|
3927
|
-
)) {
|
|
3878
|
+
} else if (targetRule?.config?.childRules?.some((rule) => rule.field === activeRule.value.field)) {
|
|
3928
3879
|
const newIndex = Math.min(parentList.length - 1, index);
|
|
3929
3880
|
if (newIndex >= 0) {
|
|
3930
3881
|
setActiveRule(parentList[newIndex]);
|
|
@@ -4036,24 +3987,16 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4036
3987
|
function getRule(name) {
|
|
4037
3988
|
return makeRule(ruleList[name]);
|
|
4038
3989
|
}
|
|
4039
|
-
vue.watch(
|
|
4040
|
-
()
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
() => props.formRules,
|
|
4050
|
-
(formRules) => {
|
|
4051
|
-
edit(formRules);
|
|
4052
|
-
},
|
|
4053
|
-
{
|
|
4054
|
-
immediate: true
|
|
4055
|
-
}
|
|
4056
|
-
);
|
|
3990
|
+
vue.watch(() => props.presetRules, (presetRules) => {
|
|
3991
|
+
widgetFormRules.push(...presetRules);
|
|
3992
|
+
}, {
|
|
3993
|
+
immediate: true
|
|
3994
|
+
});
|
|
3995
|
+
vue.watch(() => props.formRules, (formRules) => {
|
|
3996
|
+
edit(formRules);
|
|
3997
|
+
}, {
|
|
3998
|
+
immediate: true
|
|
3999
|
+
});
|
|
4057
4000
|
vue.onBeforeUnmount(() => {
|
|
4058
4001
|
resetIndex();
|
|
4059
4002
|
});
|
|
@@ -4185,7 +4128,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4185
4128
|
vue.createTextVNode(" " + vue.toDisplayString(activeRule.value.config?.config.label) + " ", 1),
|
|
4186
4129
|
activeRule.value.type === vue.unref(WidgetType).UploadFile ? (vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.Tooltip), { key: 0 }, {
|
|
4187
4130
|
title: vue.withCtx(() => [
|
|
4188
|
-
|
|
4131
|
+
vue.createTextVNode(" \u5355\u4E2A\u6587\u4EF6\u5927\u5C0F\u9700\u572820M\u4EE5\u5185 ")
|
|
4189
4132
|
]),
|
|
4190
4133
|
default: vue.withCtx(() => [
|
|
4191
4134
|
vue.createVNode(vue.unref(iconsVue.QuestionCircleOutlined), { style: { "color": "#babac1", "font-size": "14px", "margin-left": "5px" } })
|
|
@@ -4193,8 +4136,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
4193
4136
|
_: 1
|
|
4194
4137
|
})) : vue.createCommentVNode("v-if", true)
|
|
4195
4138
|
])) : vue.createCommentVNode("v-if", true),
|
|
4196
|
-
vue.createElementVNode("div",
|
|
4197
|
-
_ctx.flowCondition[activeRule.value.field] ? (vue.openBlock(), vue.createElementBlock("div",
|
|
4139
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
4140
|
+
_ctx.flowCondition[activeRule.value.field] ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
4198
4141
|
vue.createVNode(vue.unref(iconsVue.ExclamationCircleFilled), { style: { "color": "#2f4eed" } }),
|
|
4199
4142
|
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)
|
|
4200
4143
|
])) : vue.createCommentVNode("v-if", true),
|