service-flow-designer 1.1.4 → 1.1.5

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,4 +1,4 @@
1
- .amb-design-attr-base-content[data-v-d998b38f] {
1
+ .amb-design-attr-base-content[data-v-6edff3cf] {
2
2
  background: #ffffff;
3
3
  box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.05);
4
4
  height: 100%;
@@ -6,16 +6,16 @@
6
6
  padding-right: 10px;
7
7
  overflow: auto;
8
8
  }
9
- .amb-design-attr-item[data-v-d998b38f] {
9
+ .amb-design-attr-item[data-v-6edff3cf] {
10
10
  margin-bottom: 8px;
11
11
  }
12
- .amb-design-attr-group-header > button[data-v-d998b38f] {
12
+ .amb-design-attr-group-header > button[data-v-6edff3cf] {
13
13
  background: #f5f6f8;
14
14
  padding-left: 10px;
15
15
  font-size: 14px;
16
16
  height: 42px;
17
17
  }
18
- .amb-design-attr-content[data-v-d998b38f] {
18
+ .amb-design-attr-content[data-v-6edff3cf] {
19
19
  background: #ffffff;
20
20
  box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.05);
21
21
  height: 100%;
@@ -24,20 +24,20 @@
24
24
  overflow: auto;
25
25
  position: relative;
26
26
  }
27
- .amb-design-attr-header-search[data-v-d998b38f] {
27
+ .amb-design-attr-header-search[data-v-6edff3cf] {
28
28
  margin-top: 16px;
29
29
  }
30
- .amb-design-attr-header-select[data-v-d998b38f] {
30
+ .amb-design-attr-header-select[data-v-6edff3cf] {
31
31
  width: 90px;
32
32
  height: 36px;
33
33
  }
34
- .amb-design-page-param-row[data-v-d998b38f] {
34
+ .amb-design-page-param-row[data-v-6edff3cf] {
35
35
  height: 34px;
36
36
  }
37
- .el-table__cell > .cell[data-v-d998b38f] {
37
+ .el-table__cell > .cell[data-v-6edff3cf] {
38
38
  white-space: nowrap !important;
39
39
  }
40
- .serviceflow-item[data-v-d998b38f] {
40
+ .serviceflow-item[data-v-6edff3cf] {
41
41
  background: rgba(88, 147, 239, 0.06);
42
42
  border: 1px dashed rgba(88, 147, 239, 0.06);
43
43
  border-radius: 4px 4px 4px 4px;
@@ -57,10 +57,10 @@
57
57
  -ms-user-select: none; /* Internet Explorer/Edge */
58
58
  user-select: none; /* 标准语法 */
59
59
  }
60
- .serviceflow-item[data-v-d998b38f]:hover {
60
+ .serviceflow-item[data-v-6edff3cf]:hover {
61
61
  background: rgba(11, 45, 101, 0.105);
62
62
  border: 1px dashed rgba(11, 45, 101, 0.227);
63
63
  }
64
- .amb-assembly-item-drag[data-v-d998b38f] {
64
+ .amb-assembly-item-drag[data-v-6edff3cf] {
65
65
  opacity: 1 !important;
66
66
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./component-panel.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- const ComponentPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d998b38f"]]);
4
+ const ComponentPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6edff3cf"]]);
5
5
  export {
6
6
  ComponentPanel as default
7
7
  };
@@ -8,6 +8,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  emits: ["drag-node"],
9
9
  setup(__props, { emit: __emit }) {
10
10
  const emits = __emit;
11
+ const serviceComponentGroups = ref([]);
11
12
  const openCollapseItems = ref(null);
12
13
  function $_dragNode(serviceComponent) {
13
14
  console.log(`service-component-lib $_dragNode:${serviceComponent.type}`);
@@ -15,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
16
  }
16
17
  function getIconUrl(url) {
17
18
  if (url) {
18
- return new URL(url, import.meta.url).href;
19
+ return new URL(url).href;
19
20
  }
20
21
  }
21
22
  return (_ctx, _cache) => {
@@ -29,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
30
  style: { "margin-top": "6px" }
30
31
  }, {
31
32
  default: withCtx(() => [
32
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.serviceComponentGroups, (group, index) => {
33
+ (openBlock(true), createElementBlock(Fragment, null, renderList(serviceComponentGroups.value, (group, index) => {
33
34
  return openBlock(), createBlock(_component_el_collapse_item, {
34
35
  key: index,
35
36
  name: group.name,
@@ -1,4 +1,4 @@
1
- .amb-design-attr-base-content[data-v-d998b38f] {
1
+ .amb-design-attr-base-content[data-v-6edff3cf] {
2
2
  background: #ffffff;
3
3
  box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.05);
4
4
  height: 100%;
@@ -6,16 +6,16 @@
6
6
  padding-right: 10px;
7
7
  overflow: auto;
8
8
  }
9
- .amb-design-attr-item[data-v-d998b38f] {
9
+ .amb-design-attr-item[data-v-6edff3cf] {
10
10
  margin-bottom: 8px;
11
11
  }
12
- .amb-design-attr-group-header > button[data-v-d998b38f] {
12
+ .amb-design-attr-group-header > button[data-v-6edff3cf] {
13
13
  background: #f5f6f8;
14
14
  padding-left: 10px;
15
15
  font-size: 14px;
16
16
  height: 42px;
17
17
  }
18
- .amb-design-attr-content[data-v-d998b38f] {
18
+ .amb-design-attr-content[data-v-6edff3cf] {
19
19
  background: #ffffff;
20
20
  box-shadow: 1px 0px 10px 0px rgba(0, 0, 0, 0.05);
21
21
  height: 100%;
@@ -24,20 +24,20 @@
24
24
  overflow: auto;
25
25
  position: relative;
26
26
  }
27
- .amb-design-attr-header-search[data-v-d998b38f] {
27
+ .amb-design-attr-header-search[data-v-6edff3cf] {
28
28
  margin-top: 16px;
29
29
  }
30
- .amb-design-attr-header-select[data-v-d998b38f] {
30
+ .amb-design-attr-header-select[data-v-6edff3cf] {
31
31
  width: 90px;
32
32
  height: 36px;
33
33
  }
34
- .amb-design-page-param-row[data-v-d998b38f] {
34
+ .amb-design-page-param-row[data-v-6edff3cf] {
35
35
  height: 34px;
36
36
  }
37
- .el-table__cell > .cell[data-v-d998b38f] {
37
+ .el-table__cell > .cell[data-v-6edff3cf] {
38
38
  white-space: nowrap !important;
39
39
  }
40
- .serviceflow-item[data-v-d998b38f] {
40
+ .serviceflow-item[data-v-6edff3cf] {
41
41
  background: rgba(88, 147, 239, 0.06);
42
42
  border: 1px dashed rgba(88, 147, 239, 0.06);
43
43
  border-radius: 4px 4px 4px 4px;
@@ -57,10 +57,10 @@
57
57
  -ms-user-select: none; /* Internet Explorer/Edge */
58
58
  user-select: none; /* 标准语法 */
59
59
  }
60
- .serviceflow-item[data-v-d998b38f]:hover {
60
+ .serviceflow-item[data-v-6edff3cf]:hover {
61
61
  background: rgba(11, 45, 101, 0.105);
62
62
  border: 1px dashed rgba(11, 45, 101, 0.227);
63
63
  }
64
- .amb-assembly-item-drag[data-v-d998b38f] {
64
+ .amb-assembly-item-drag[data-v-6edff3cf] {
65
65
  opacity: 1 !important;
66
66
  }
@@ -2,5 +2,5 @@
2
2
  const componentPanel_vue_vue_type_script_setup_true_lang = require("./component-panel.vue2.js");
3
3
  ;/* empty css */
4
4
  const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
5
- const ComponentPanel = /* @__PURE__ */ _pluginVue_exportHelper(componentPanel_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-d998b38f"]]);
5
+ const ComponentPanel = /* @__PURE__ */ _pluginVue_exportHelper(componentPanel_vue_vue_type_script_setup_true_lang, [["__scopeId", "data-v-6edff3cf"]]);
6
6
  module.exports = ComponentPanel;
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  const vue = require("vue");
3
- var _documentCurrentScript = typeof document !== "undefined" ? document.currentScript : null;
4
3
  const _hoisted_1 = ["src"];
5
4
  const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
6
5
  const _hoisted_3 = ["title", "onMousedown"];
@@ -10,6 +9,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
10
9
  emits: ["drag-node"],
11
10
  setup(__props, { emit: __emit }) {
12
11
  const emits = __emit;
12
+ const serviceComponentGroups = vue.ref([]);
13
13
  const openCollapseItems = vue.ref(null);
14
14
  function $_dragNode(serviceComponent) {
15
15
  console.log(`service-component-lib $_dragNode:${serviceComponent.type}`);
@@ -17,7 +17,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
17
17
  }
18
18
  function getIconUrl(url) {
19
19
  if (url) {
20
- return new URL(url, typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.src || new URL("designer/service-panel/component-panel.vue2.js", document.baseURI).href).href;
20
+ return new URL(url).href;
21
21
  }
22
22
  }
23
23
  return (_ctx, _cache) => {
@@ -31,7 +31,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
31
31
  style: { "margin-top": "6px" }
32
32
  }, {
33
33
  default: vue.withCtx(() => [
34
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.serviceComponentGroups, (group, index) => {
34
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(serviceComponentGroups.value, (group, index) => {
35
35
  return vue.openBlock(), vue.createBlock(_component_el_collapse_item, {
36
36
  key: index,
37
37
  name: group.name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "service-flow-designer",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "AgileBuilder Service Flow Designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/lib/index.js",