service-flow-designer 1.1.9 → 1.1.10

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.
@@ -1,9 +1,9 @@
1
1
 
2
- [data-v-440e4454] .el-table__row {
2
+ [data-v-31a15637] .el-table__row {
3
3
  cursor: pointer;
4
4
  }
5
5
  /** 右键菜单样式 */
6
- .context-menu[data-v-440e4454] {
6
+ .context-menu[data-v-31a15637] {
7
7
  position: absolute;
8
8
  background: #fff;
9
9
  z-index: 999;
@@ -14,7 +14,7 @@
14
14
  border-radius: 10px;
15
15
  font-size: 14px;
16
16
  }
17
- .context-menu li[data-v-440e4454] {
17
+ .context-menu li[data-v-31a15637] {
18
18
  list-style-type: none;
19
19
  min-width: 75px;
20
20
  line-height: 28px;
@@ -23,12 +23,12 @@
23
23
  padding-left: 5px;
24
24
  cursor: pointer;
25
25
  }
26
- .context-menu li[data-v-440e4454]:hover {
26
+ .context-menu li[data-v-31a15637]:hover {
27
27
  background: #0165e1;
28
28
  color: #fff;
29
29
  }
30
30
  /** 右键菜单样式 */
31
- .custom-tree-node[data-v-440e4454] {
31
+ .custom-tree-node[data-v-31a15637] {
32
32
  font-size: 14px;
33
33
  padding-right: 8px;
34
34
  display: flex; /* 使用Flex布局 */
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./service-list.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- const ServiceList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-440e4454"]]);
4
+ const ServiceList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-31a15637"]]);
5
5
  export {
6
6
  ServiceList as default
7
7
  };
@@ -1,11 +1,11 @@
1
- import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, unref, createElementVNode, createBlock, toDisplayString, createTextVNode, withDirectives, createCommentVNode, vShow, pushScopeId, popScopeId } from "vue";
1
+ import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, unref, createBlock, createElementVNode, toDisplayString, createCommentVNode, createTextVNode, withDirectives, vShow, pushScopeId, popScopeId } from "vue";
2
2
  import { Search, Plus, Menu, Promotion } from "@element-plus/icons-vue";
3
3
  import { v4 } from "uuid";
4
4
  import http from "agilebuilder-ui/src/utils/request";
5
5
  import { findServcieByCode } from "../common/util/node-util.js";
6
6
  import { useServiceFlowStore } from "../../stores/page-store.js";
7
7
  import { ElMessage } from "element-plus";
8
- const _withScopeId = (n) => (pushScopeId("data-v-440e4454"), n = n(), popScopeId(), n);
8
+ const _withScopeId = (n) => (pushScopeId("data-v-31a15637"), n = n(), popScopeId(), n);
9
9
  const _hoisted_1 = { class: "custom-tree-node" };
10
10
  const _hoisted_2 = { style: { "margin-left": "5px", "line-height": "14px", "font-size": "14px" } };
11
11
  const _hoisted_3 = { class: "dialog-footer" };
@@ -220,7 +220,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
220
220
  ]),
221
221
  _: 1
222
222
  }),
223
- createVNode(_component_el_tree, {
223
+ __props.serviceTreeData ? (openBlock(), createBlock(_component_el_tree, {
224
+ key: 0,
224
225
  style: { "margin-top": "10px" },
225
226
  ref_key: "serviceTreeRef",
226
227
  ref: serviceTreeRef,
@@ -255,7 +256,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
255
256
  ])
256
257
  ]),
257
258
  _: 1
258
- }, 8, ["data"]),
259
+ }, 8, ["data"])) : createCommentVNode("", true),
259
260
  createVNode(_component_el_dialog, {
260
261
  modelValue: dialogVisible.value,
261
262
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => dialogVisible.value = $event),
@@ -1,9 +1,9 @@
1
1
 
2
- [data-v-440e4454] .el-table__row {
2
+ [data-v-31a15637] .el-table__row {
3
3
  cursor: pointer;
4
4
  }
5
5
  /** 右键菜单样式 */
6
- .context-menu[data-v-440e4454] {
6
+ .context-menu[data-v-31a15637] {
7
7
  position: absolute;
8
8
  background: #fff;
9
9
  z-index: 999;
@@ -14,7 +14,7 @@
14
14
  border-radius: 10px;
15
15
  font-size: 14px;
16
16
  }
17
- .context-menu li[data-v-440e4454] {
17
+ .context-menu li[data-v-31a15637] {
18
18
  list-style-type: none;
19
19
  min-width: 75px;
20
20
  line-height: 28px;
@@ -23,12 +23,12 @@
23
23
  padding-left: 5px;
24
24
  cursor: pointer;
25
25
  }
26
- .context-menu li[data-v-440e4454]:hover {
26
+ .context-menu li[data-v-31a15637]:hover {
27
27
  background: #0165e1;
28
28
  color: #fff;
29
29
  }
30
30
  /** 右键菜单样式 */
31
- .custom-tree-node[data-v-440e4454] {
31
+ .custom-tree-node[data-v-31a15637] {
32
32
  font-size: 14px;
33
33
  padding-right: 8px;
34
34
  display: flex; /* 使用Flex布局 */
@@ -2,5 +2,5 @@
2
2
  const serviceList_vue_vue_type_script_setup_true_lang = require("./service-list.vue2.js");
3
3
  ;/* empty css */
4
4
  const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
5
- const ServiceList = /* @__PURE__ */ _pluginVue_exportHelper(serviceList_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-440e4454"]]);
5
+ const ServiceList = /* @__PURE__ */ _pluginVue_exportHelper(serviceList_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-31a15637"]]);
6
6
  module.exports = ServiceList;
@@ -6,7 +6,7 @@ const http = require("agilebuilder-ui/src/utils/request");
6
6
  const nodeUtil = require("../common/util/node-util.js");
7
7
  const pageStore = require("../../stores/page-store.js");
8
8
  const elementPlus = require("element-plus");
9
- const _withScopeId = (n) => (vue.pushScopeId("data-v-440e4454"), n = n(), vue.popScopeId(), n);
9
+ const _withScopeId = (n) => (vue.pushScopeId("data-v-31a15637"), n = n(), vue.popScopeId(), n);
10
10
  const _hoisted_1 = { class: "custom-tree-node" };
11
11
  const _hoisted_2 = { style: { "margin-left": "5px", "line-height": "14px", "font-size": "14px" } };
12
12
  const _hoisted_3 = { class: "dialog-footer" };
@@ -221,7 +221,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
221
221
  ]),
222
222
  _: 1
223
223
  }),
224
- vue.createVNode(_component_el_tree, {
224
+ __props.serviceTreeData ? (vue.openBlock(), vue.createBlock(_component_el_tree, {
225
+ key: 0,
225
226
  style: { "margin-top": "10px" },
226
227
  ref_key: "serviceTreeRef",
227
228
  ref: serviceTreeRef,
@@ -256,7 +257,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
256
257
  ])
257
258
  ]),
258
259
  _: 1
259
- }, 8, ["data"]),
260
+ }, 8, ["data"])) : vue.createCommentVNode("", true),
260
261
  vue.createVNode(_component_el_dialog, {
261
262
  modelValue: dialogVisible.value,
262
263
  "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => dialogVisible.value = $event),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "service-flow-designer",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "AgileBuilder Service Flow Designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/lib/index.js",