@web-utils/component 3.3.10 → 3.3.12

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.
@@ -2,39 +2,56 @@ import { n as c } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
2
  const a = {
3
3
  name: "ContextMenu",
4
4
  props: {
5
+ /**
6
+ * 菜单项
7
+ */
5
8
  list: {
6
9
  type: Array,
7
10
  required: !0
8
11
  },
9
- // 是否开启下划线
12
+ /**
13
+ * 是否开启下划线
14
+ */
10
15
  underline: Boolean,
11
16
  appendToBody: Boolean,
12
- // 是否开启箭头
17
+ /**
18
+ * 是否开启箭头
19
+ */
13
20
  arrow: {
14
21
  type: Boolean,
15
22
  default: !0
16
23
  },
17
- // 是否开启边界检测
24
+ /**
25
+ * 是否开启边界检测
26
+ */
18
27
  border: {
19
28
  type: Boolean,
20
29
  default: !0
21
30
  },
22
- // 列表项宽度
31
+ /**
32
+ * 列表项宽度
33
+ */
23
34
  itemWidth: {
24
35
  type: Number,
25
36
  default: 140
26
37
  },
27
- // 列表项高度
38
+ /**
39
+ * 列表项高度
40
+ */
28
41
  itemHeight: {
29
42
  type: Number,
30
43
  default: 36
31
44
  },
32
- // 列表项字体
45
+ /**
46
+ * 列表项字体
47
+ */
33
48
  itemFontSize: {
34
49
  type: [Number, String],
35
50
  default: 12
36
51
  },
37
- // 显示点偏移量
52
+ /**
53
+ * 显示点偏移量
54
+ */
38
55
  offset: {
39
56
  type: Object,
40
57
  default: () => ({
@@ -42,7 +59,9 @@ const a = {
42
59
  y: 2
43
60
  })
44
61
  },
45
- // 边界距离
62
+ /**
63
+ * 边界距离
64
+ */
46
65
  borderWidth: {
47
66
  type: Number,
48
67
  default: 6
@@ -50,10 +69,14 @@ const a = {
50
69
  },
51
70
  data() {
52
71
  return {
53
- // 是否显示
72
+ /**
73
+ * 是否显示
74
+ */
54
75
  visible: !1,
55
76
  rendered: !1,
56
- // 触发点坐标
77
+ /**
78
+ * 触发点坐标
79
+ */
57
80
  axis: {
58
81
  x: 0,
59
82
  y: 0
@@ -19,24 +19,36 @@ import { n as p } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
19
19
  const c = {
20
20
  name: "EasyPopup",
21
21
  props: {
22
- // 是否开启边界检测
22
+ /**
23
+ * 是否开启边界检测
24
+ */
23
25
  border: {
24
26
  type: Boolean,
25
27
  default: !0
26
28
  },
27
- // 显示点偏移量
29
+ /**
30
+ * 显示点偏移量
31
+ */
28
32
  offset: {
29
33
  type: Object,
30
34
  default: () => ({ x: 6, y: 2 })
31
35
  },
32
- // 边界距离
36
+ /**
37
+ * 边界距离
38
+ */
33
39
  borderWidth: {
34
40
  type: Number,
35
41
  default: 6
36
42
  },
43
+ /**
44
+ * 是否添加到 body
45
+ */
37
46
  appendToBody: Boolean,
38
47
  flexRow: Boolean,
39
48
  flexColumn: Boolean,
49
+ /**
50
+ * 鼠标离开后隐藏
51
+ */
40
52
  hideOnMouseLeave: {
41
53
  type: Boolean,
42
54
  default: !0
@@ -45,10 +57,14 @@ const c = {
45
57
  },
46
58
  data() {
47
59
  return {
48
- // 是否显示
60
+ /**
61
+ * 是否显示
62
+ */
49
63
  visible: !1,
50
64
  rendered: !1,
51
- // 触发点坐标
65
+ /**
66
+ * 触发点坐标
67
+ */
52
68
  axis: { x: 0, y: 0 }
53
69
  };
54
70
  },
@@ -20,34 +20,67 @@ import { getComputedHeight as h, isDef as f } from "@web-utils/core";
20
20
  import { n as m } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
21
21
  const g = {
22
22
  props: {
23
+ /**
24
+ * 对话框是否可见
25
+ */
23
26
  visible: {
24
27
  type: Boolean,
25
28
  default: !1
26
29
  },
30
+ /**
31
+ * 打开延迟
32
+ */
27
33
  openDelay: {},
34
+ /**
35
+ * 关闭延迟
36
+ */
28
37
  closeDelay: {},
38
+ /**
39
+ * 层级
40
+ */
29
41
  zIndex: {},
42
+ /**
43
+ * 模态渐隐
44
+ */
30
45
  modalFade: {
31
46
  type: Boolean,
32
47
  default: !0
33
48
  },
49
+ /**
50
+ * 模态样式
51
+ */
34
52
  modalClass: {},
53
+ /**
54
+ * 模态
55
+ */
35
56
  modal: {
36
57
  type: Boolean,
37
58
  default: !0
38
59
  },
60
+ /**
61
+ * 遮罩层添加到 body
62
+ */
39
63
  modalAppendToBody: {
40
64
  type: Boolean,
41
65
  default: !0
42
66
  },
67
+ /**
68
+ * 锁定 body
69
+ */
43
70
  lockScroll: {
44
71
  type: Boolean,
45
72
  default: !0
46
73
  },
74
+ /**
75
+ * 按 esc 键关闭
76
+ */
47
77
  closeOnPressEscape: {
48
78
  type: Boolean,
49
79
  default: !0
50
80
  },
81
+ /**
82
+ * 最大高度
83
+ */
51
84
  maxHeight: {
52
85
  type: String,
53
86
  default: "76vh"
@@ -60,53 +93,107 @@ const g = {
60
93
  },
61
94
  mixins: [...d.mixins || d.default.mixins, g],
62
95
  props: {
96
+ /**
97
+ * 对话框标题
98
+ */
63
99
  title: {
64
100
  type: String,
65
101
  default: ""
66
102
  },
103
+ /**
104
+ * 添加到 body
105
+ */
67
106
  appendToBody: {
68
107
  type: Boolean,
69
108
  default: !0
70
109
  },
110
+ /**
111
+ * 点击遮罩层关闭
112
+ */
71
113
  closeOnClickModal: {
72
114
  type: Boolean,
73
115
  default: !1
74
116
  },
117
+ /**
118
+ * 显示关闭按钮
119
+ */
75
120
  showClose: {
76
121
  type: Boolean,
77
122
  default: !0
78
123
  },
124
+ /**
125
+ * 显示全屏按钮
126
+ */
79
127
  showFullScreen: Boolean,
128
+ /**
129
+ * 宽度
130
+ */
80
131
  width: {
81
132
  type: String
82
133
  },
134
+ /**
135
+ * 高度
136
+ */
83
137
  height: {
84
138
  type: String
85
139
  },
140
+ /**
141
+ * 自定义样式
142
+ */
86
143
  customClass: {
87
144
  type: String,
88
145
  default: ""
89
146
  },
147
+ /**
148
+ * 顶部距离
149
+ */
90
150
  top: {
91
151
  type: String,
92
152
  default: "10vh"
93
153
  },
154
+ /**
155
+ * 关闭前回调
156
+ */
94
157
  beforeClose: {
95
158
  type: Function
96
159
  },
160
+ /**
161
+ * 居中
162
+ */
97
163
  center: {
98
164
  type: Boolean,
99
165
  default: !0
100
166
  },
167
+ /**
168
+ * 关闭时销毁对话框
169
+ */
101
170
  destroyOnClose: Boolean,
171
+ /**
172
+ * 对话框 body 设置为 flex-row
173
+ */
102
174
  flexRow: Boolean,
175
+ /**
176
+ * 对话框 body 设置为 flex-column
177
+ */
103
178
  flexColumn: Boolean,
179
+ /**
180
+ * body 留白
181
+ */
104
182
  bodyPadding: {
105
183
  type: Boolean,
106
184
  default: !0
107
185
  },
186
+ /**
187
+ * 内嵌
188
+ */
108
189
  embed: Boolean,
190
+ /**
191
+ * 垂直居中
192
+ */
109
193
  verticalCenter: Boolean,
194
+ /**
195
+ * 顶部偏移
196
+ */
110
197
  offsetTop: Number
111
198
  },
112
199
  data() {
@@ -2,26 +2,44 @@ import { n } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
2
  const i = {
3
3
  name: "EmptyView",
4
4
  props: {
5
+ /**
6
+ * 提示文字
7
+ */
5
8
  emptyTips: {
6
9
  type: String,
7
10
  default: "暂无数据"
8
11
  },
12
+ /**
13
+ * 文字大小
14
+ */
9
15
  fontSize: {
10
16
  type: String,
11
17
  default: "20px"
12
18
  },
19
+ /**
20
+ * 图标
21
+ */
13
22
  icon: {
14
23
  type: String,
15
24
  default: "fa fa-dropbox"
16
25
  },
26
+ /**
27
+ * 图标大小
28
+ */
17
29
  iconSize: {
18
30
  type: String,
19
31
  default: "20px"
20
32
  },
33
+ /**
34
+ * 是否显示图标
35
+ */
21
36
  showIcon: {
22
37
  type: Boolean,
23
38
  default: !1
24
39
  },
40
+ /**
41
+ * 高度
42
+ */
25
43
  height: {
26
44
  type: String,
27
45
  default: "100%"
@@ -2,18 +2,30 @@ import { n as r } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
2
  const n = {
3
3
  name: "ErrorView",
4
4
  props: {
5
+ /**
6
+ * 加载错误提示
7
+ */
5
8
  errorTips: {
6
9
  type: String,
7
10
  default: "加载失败,请重试"
8
11
  },
12
+ /**
13
+ * 提示文字大小
14
+ */
9
15
  fontSize: {
10
16
  type: String,
11
17
  default: "20px"
12
18
  },
19
+ /**
20
+ * 图标大小
21
+ */
13
22
  iconSize: {
14
23
  type: String,
15
24
  default: "20px"
16
25
  },
26
+ /**
27
+ * 高度
28
+ */
17
29
  height: {
18
30
  type: String,
19
31
  default: "100%"
@@ -16,18 +16,30 @@ const d = {
16
16
  name: "FlexColumn",
17
17
  functional: !0,
18
18
  props: {
19
+ /**
20
+ * 垂直居中
21
+ */
19
22
  verticalCenter: {
20
23
  type: Boolean,
21
24
  default: !1
22
25
  },
26
+ /**
27
+ * 水平居中
28
+ */
23
29
  horizonCenter: {
24
30
  type: Boolean,
25
31
  default: !1
26
32
  },
33
+ /**
34
+ * 垂直、水平居中
35
+ */
27
36
  center: {
28
37
  type: Boolean,
29
38
  default: !1
30
39
  },
40
+ /**
41
+ * 文字居中
42
+ */
31
43
  textCenter: {
32
44
  type: Boolean,
33
45
  default: !1
@@ -30,8 +30,8 @@ import { assign as y, isArray as Se, forEach as Te, isObject as Ce, isFunction a
30
30
  import { is as R } from "bpmn-js/lib/util/ModelUtil";
31
31
  import { isExpanded as _e, isEventSubProcess as Ie } from "bpmn-js/lib/util/DiUtil";
32
32
  import { isAny as N } from "bpmn-js/lib/features/modeling/util/ModelingUtil";
33
- import { getChildLanes as we } from "bpmn-js/lib/features/modeling/util/LaneUtil";
34
- import { hasPrimaryModifier as Ae } from "diagram-js/lib/util/Mouse";
33
+ import { getChildLanes as Ae } from "bpmn-js/lib/features/modeling/util/LaneUtil";
34
+ import { hasPrimaryModifier as we } from "diagram-js/lib/util/Mouse";
35
35
  import oe from "bpmn-js/lib/features/palette/PaletteProvider";
36
36
  import K from "diagram-js/lib/features/auto-place/AutoPlace";
37
37
  import { getMid as $e, asTRBL as Le } from "diagram-js/lib/layout/LayoutUtil";
@@ -53,7 +53,7 @@ import "../highlight-j-s/style.css";
53
53
  function J(n, e, t, i, s, a, r, o, p, F, m, l, c) {
54
54
  n = n || {}, i.registerProvider(this), this._contextPad = i, this._modeling = s, this._elementFactory = a, this._connect = r, this._create = o, this._popupMenu = p, this._canvas = F, this._rules = m, this._translate = l, n.autoPlace !== !1 && (this._autoPlace = e.get("autoPlace", !1)), t.on("create.end", 250, function(E) {
55
55
  const C = E.context.shape;
56
- if (!Ae(E) || !i.isOpen(C))
56
+ if (!we(E) || !i.isOpen(C))
57
57
  return;
58
58
  const f = i.getEntries(C);
59
59
  f.replace && f.replace.action.click(E, C);
@@ -86,16 +86,16 @@ J.prototype.getContextPadEntries = function(n) {
86
86
  t.removeElements([n]);
87
87
  }
88
88
  function C(b) {
89
- const g = o.getContainer(), A = e.getPad(b).html, $ = g.getBoundingClientRect(), M = A.getBoundingClientRect(), D = M.top - $.top;
89
+ const g = o.getContainer(), w = e.getPad(b).html, $ = g.getBoundingClientRect(), M = w.getBoundingClientRect(), D = M.top - $.top;
90
90
  return {
91
91
  x: M.left - $.left,
92
92
  y: D + M.height + 5
93
93
  };
94
94
  }
95
- function f(b, S, g, A) {
96
- typeof g != "string" && (A = g, g = m("Append {type}", { type: b.replace(/^bpmn:/, "") }));
95
+ function f(b, S, g, w) {
96
+ typeof g != "string" && (w = g, g = m("Append {type}", { type: b.replace(/^bpmn:/, "") }));
97
97
  function $(D, B) {
98
- const V = i.createShape(y({ type: b }, A));
98
+ const V = i.createShape(y({ type: b }, w));
99
99
  a.start(D, V, {
100
100
  source: B
101
101
  });
@@ -107,7 +107,7 @@ J.prototype.getContextPadEntries = function(n) {
107
107
  action: {
108
108
  dragstart: $,
109
109
  click: F ? function(D, B) {
110
- const V = i.createShape(y({ type: b }, A));
110
+ const V = i.createShape(y({ type: b }, w));
111
111
  F.append(B, V);
112
112
  } : $
113
113
  }
@@ -119,7 +119,7 @@ J.prototype.getContextPadEntries = function(n) {
119
119
  };
120
120
  }
121
121
  if (N(c, ["bpmn:Lane", "bpmn:Participant"]) && _e(c)) {
122
- const b = we(n);
122
+ const b = Ae(n);
123
123
  y(l, {
124
124
  "lane-insert-above": {
125
125
  group: "lane-insert-above",
@@ -926,7 +926,7 @@ var Ct = function() {
926
926
  null,
927
927
  null
928
928
  );
929
- const It = _t.exports, wt = {
929
+ const It = _t.exports, At = {
930
930
  name: "ElementTaskConfig",
931
931
  components: { UserTask: gt, ScriptTask: St, ReceiveTask: It },
932
932
  props: {
@@ -977,7 +977,7 @@ const It = _t.exports, wt = {
977
977
  }
978
978
  }
979
979
  };
980
- var At = function() {
980
+ var wt = function() {
981
981
  var e = this, t = e._self._c;
982
982
  return t("div", { staticClass: "panel-tab__content" }, [t("ElForm", { attrs: { size: "mini", "label-width": "90px" }, nativeOn: { submit: function(i) {
983
983
  i.preventDefault();
@@ -989,8 +989,8 @@ var At = function() {
989
989
  e.$set(e.taskConfigForm, "exclusive", i);
990
990
  }, expression: "taskConfigForm.exclusive" } }) : e._e()], 1), t(e.witchTaskComponent, e._b({ tag: "Component" }, "Component", e.$props, !1))], 1)], 1);
991
991
  }, $t = [], Lt = /* @__PURE__ */ h(
992
- wt,
993
992
  At,
993
+ wt,
994
994
  $t,
995
995
  !1,
996
996
  null,
@@ -2146,20 +2146,42 @@ const gn = hn.exports, ie = ["base", "task", "form", "multiInstance"], vn = {
2146
2146
  };
2147
2147
  },
2148
2148
  props: {
2149
- tab: {
2149
+ /**
2150
+ * 默认激活的面板
2151
+ */
2152
+ activeTabs: {
2150
2153
  type: Array,
2151
2154
  default: () => ["base", "task", "form", "multiInstance"]
2152
2155
  },
2156
+ /**
2157
+ * 使用的配置面板
2158
+ */
2159
+ useTabs: Array,
2160
+ /**
2161
+ * bpmnModeler
2162
+ */
2153
2163
  bpmnModeler: Object,
2164
+ /**
2165
+ * 配置上下文
2166
+ */
2154
2167
  context: Object,
2168
+ /**
2169
+ * 前缀
2170
+ */
2155
2171
  prefix: {
2156
2172
  type: String,
2157
2173
  default: "camunda"
2158
2174
  },
2175
+ /**
2176
+ * 宽度
2177
+ */
2159
2178
  width: {
2160
2179
  type: Number,
2161
2180
  default: 480
2162
2181
  },
2182
+ /**
2183
+ * 是否禁用编辑
2184
+ */
2163
2185
  idEditDisabled: {
2164
2186
  type: Boolean,
2165
2187
  default: !1
@@ -2179,8 +2201,16 @@ const gn = hn.exports, ie = ["base", "task", "form", "multiInstance"], vn = {
2179
2201
  isPanelVisible: !0
2180
2202
  };
2181
2203
  },
2204
+ computed: {
2205
+ isArray() {
2206
+ return Array.isArray(this.useTabs);
2207
+ },
2208
+ isNullOrUndefined() {
2209
+ return this.useTabs === null || this.useTabs === void 0;
2210
+ }
2211
+ },
2182
2212
  watch: {
2183
- tab: {
2213
+ activeTabs: {
2184
2214
  immediate: !0,
2185
2215
  handler() {
2186
2216
  this.activeTab = ie;
@@ -2238,35 +2268,35 @@ var En = function() {
2238
2268
  i.stopPropagation(), e.isPanelVisible = !e.isPanelVisible;
2239
2269
  } } })]), t("ElCollapse", { directives: [{ name: "show", rawName: "v-show", value: e.isPanelVisible, expression: "isPanelVisible" }], model: { value: e.activeTab, callback: function(i) {
2240
2270
  e.activeTab = i;
2241
- }, expression: "activeTab" } }, [t("ElCollapseItem", { attrs: { name: "base" }, scopedSlots: e._u([{ key: "title", fn: function() {
2271
+ }, expression: "activeTab" } }, [e.isNullOrUndefined || e.isArray && e.useTabs.includes("base") ? t("ElCollapseItem", { attrs: { name: "base" }, scopedSlots: e._u([{ key: "title", fn: function() {
2242
2272
  return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-info" }), e._v("常规")])];
2243
- }, proxy: !0 }]) }, [t("ElementBaseInfo", { attrs: { id: e.elementId, "id-edit-disabled": e.idEditDisabled, type: e.elementType, element: e.element, "bpmn-instances": e.bpmnInstances } })], 1), e.elementType === "Process" ? t("ElCollapseItem", { key: "message", attrs: { name: "message" }, scopedSlots: e._u([{ key: "title", fn: function() {
2273
+ }, proxy: !0 }], null, !1, 2621733365) }, [t("ElementBaseInfo", { attrs: { id: e.elementId, "id-edit-disabled": e.idEditDisabled, type: e.elementType, element: e.element, "bpmn-instances": e.bpmnInstances } })], 1) : e._e(), (e.isNullOrUndefined || e.isArray && e.useTabs.includes("message")) && e.elementType === "Process" ? t("ElCollapseItem", { key: "message", attrs: { name: "message" }, scopedSlots: e._u([{ key: "title", fn: function() {
2244
2274
  return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-s-comment" }), e._v("消息与信号")])];
2245
- }, proxy: !0 }], null, !1, 2715634709) }, [t("SignalAndMassage", { attrs: { "bpmn-instances": e.bpmnInstances } })], 1) : e._e(), e.conditionFormVisible ? t("ElCollapseItem", { key: "condition", attrs: { name: "condition" }, scopedSlots: e._u([{ key: "title", fn: function() {
2275
+ }, proxy: !0 }], null, !1, 2715634709) }, [t("SignalAndMassage", { attrs: { "bpmn-instances": e.bpmnInstances } })], 1) : e._e(), (e.isNullOrUndefined || e.isArray && e.useTabs.includes("condition")) && e.conditionFormVisible ? t("ElCollapseItem", { key: "condition", attrs: { name: "condition" }, scopedSlots: e._u([{ key: "title", fn: function() {
2246
2276
  return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-s-promotion" }), e._v("流转条件")])];
2247
- }, proxy: !0 }], null, !1, 2203010800) }, [t("FlowCondition", { attrs: { id: e.elementId, element: e.element, "bpmn-instances": e.bpmnInstances, type: e.elementType } })], 1) : e._e(), e._t("form", function() {
2248
- return [e.formVisible ? t("ElCollapseItem", { key: "form", attrs: { name: "form" }, scopedSlots: e._u([{ key: "title", fn: function() {
2277
+ }, proxy: !0 }], null, !1, 2203010800) }, [t("FlowCondition", { attrs: { id: e.elementId, element: e.element, "bpmn-instances": e.bpmnInstances, type: e.elementType } })], 1) : e._e(), e.isNullOrUndefined || e.isArray && e.useTabs.includes("form") ? e._t("form", function() {
2278
+ return [(e.isNullOrUndefined || e.isArray && e.useTabs.includes("base")) && e.formVisible ? t("ElCollapseItem", { key: "form", attrs: { name: "form" }, scopedSlots: e._u([{ key: "title", fn: function() {
2249
2279
  return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-s-order" }), e._v("表单")])];
2250
2280
  }, proxy: !0 }], null, !1, 1341048650) }, [t("ElementForm", { attrs: { id: e.elementId, "bpmn-instances": e.bpmnInstances, element: e.element, type: e.elementType } })], 1) : e._e()];
2251
- }, { id: e.elementId, bpmnInstances: e.bpmnInstances, element: e.element, type: e.elementType }), e._t("task", function() {
2281
+ }, { id: e.elementId, bpmnInstances: e.bpmnInstances, element: e.element, type: e.elementType }) : e._e(), e.isNullOrUndefined || e.isArray && e.useTabs.includes("task") ? e._t("task", function() {
2252
2282
  return [e.elementType.indexOf("Task") !== -1 ? t("ElCollapseItem", { key: "task", attrs: { name: "task" }, scopedSlots: e._u([{ key: "title", fn: function() {
2253
2283
  return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-s-claim" }), e._v("任务")])];
2254
2284
  }, proxy: !0 }], null, !1, 2144785833) }, [t("ElementTask", { attrs: { id: e.elementId, "bpmn-instances": e.bpmnInstances, element: e.element, type: e.elementType } })], 1) : e._e()];
2255
- }, { id: e.elementId, bpmnInstances: e.bpmnInstances, element: e.element, type: e.elementType }), e.elementType.indexOf("Task") !== -1 ? t("ElCollapseItem", { key: "multiInstance", attrs: { name: "multiInstance" }, scopedSlots: e._u([{ key: "title", fn: function() {
2285
+ }, { id: e.elementId, bpmnInstances: e.bpmnInstances, element: e.element, type: e.elementType }) : e._e(), (e.isNullOrUndefined || e.isArray && e.useTabs.includes("multiInstance")) && e.elementType.indexOf("Task") !== -1 ? t("ElCollapseItem", { key: "multiInstance", attrs: { name: "multiInstance" }, scopedSlots: e._u([{ key: "title", fn: function() {
2256
2286
  return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-s-help" }), e._v("多实例")])];
2257
- }, proxy: !0 }], null, !1, 1253501895) }, [t("ElementMultiInstance", { attrs: { id: e.elementId, "bpmn-instances": e.bpmnInstances, element: e.element, type: e.elementType } })], 1) : e._e(), t("ElCollapseItem", { key: "listeners", attrs: { name: "listeners" }, scopedSlots: e._u([{ key: "title", fn: function() {
2287
+ }, proxy: !0 }], null, !1, 1253501895) }, [t("ElementMultiInstance", { attrs: { id: e.elementId, "bpmn-instances": e.bpmnInstances, element: e.element, type: e.elementType } })], 1) : e._e(), e.isNullOrUndefined || e.isArray && e.useTabs.includes("listeners") ? t("ElCollapseItem", { key: "listeners", attrs: { name: "listeners" }, scopedSlots: e._u([{ key: "title", fn: function() {
2258
2288
  return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-message-solid" }), e._v("执行监听器"), t("ElTooltip", { attrs: { effect: "light" }, scopedSlots: e._u([{ key: "content", fn: function() {
2259
2289
  return [t("p", [e._v("发送和退回时会触发")])];
2260
- }, proxy: !0 }]) }, [t("i", { staticClass: "el-icon-info" })])], 1)];
2261
- }, proxy: !0 }]) }, [t("ElementListeners", { attrs: { id: e.elementId, "bpmn-instances": e.bpmnInstances, element: e.element, type: e.elementType } })], 1), e.elementType === "UserTask" ? t("ElCollapseItem", { key: "taskListeners", attrs: { name: "taskListeners" }, scopedSlots: e._u([{ key: "title", fn: function() {
2290
+ }, proxy: !0 }], null, !1, 635466666) }, [t("i", { staticClass: "el-icon-info" })])], 1)];
2291
+ }, proxy: !0 }], null, !1, 579687766) }, [t("ElementListeners", { attrs: { id: e.elementId, "bpmn-instances": e.bpmnInstances, element: e.element, type: e.elementType } })], 1) : e._e(), (e.isNullOrUndefined || e.isArray && e.useTabs.includes("taskListeners")) && e.elementType === "UserTask" ? t("ElCollapseItem", { key: "taskListeners", attrs: { name: "taskListeners" }, scopedSlots: e._u([{ key: "title", fn: function() {
2262
2292
  return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-message-solid" }), e._v("任务监听器"), t("ElTooltip", { attrs: { effect: "light" }, scopedSlots: e._u([{ key: "content", fn: function() {
2263
2293
  return [t("p", [e._v("任务实例的创建、指派、完成、删除、更新、超时会触发")])];
2264
2294
  }, proxy: !0 }], null, !1, 1260848675) }, [t("i", { staticClass: "el-icon-info" })])], 1)];
2265
- }, proxy: !0 }], null, !1, 1038413081) }, [t("UserTaskListeners", { attrs: { id: e.elementId, "bpmn-instances": e.bpmnInstances, element: e.element, type: e.elementType } })], 1) : e._e(), t("ElCollapseItem", { key: "extensions", attrs: { name: "extensions" }, scopedSlots: e._u([{ key: "title", fn: function() {
2295
+ }, proxy: !0 }], null, !1, 1038413081) }, [t("UserTaskListeners", { attrs: { id: e.elementId, "bpmn-instances": e.bpmnInstances, element: e.element, type: e.elementType } })], 1) : e._e(), e.isNullOrUndefined || e.isArray && e.useTabs.includes("extensions") ? t("ElCollapseItem", { key: "extensions", attrs: { name: "extensions" }, scopedSlots: e._u([{ key: "title", fn: function() {
2266
2296
  return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-circle-plus" }), e._v("扩展属性")])];
2267
- }, proxy: !0 }]) }, [t("ElementProperties", { attrs: { id: e.elementId, "bpmn-instances": e.bpmnInstances, element: e.element, type: e.elementType } })], 1), t("ElCollapseItem", { key: "other", attrs: { name: "other" }, scopedSlots: e._u([{ key: "title", fn: function() {
2297
+ }, proxy: !0 }], null, !1, 1854866151) }, [t("ElementProperties", { attrs: { id: e.elementId, "bpmn-instances": e.bpmnInstances, element: e.element, type: e.elementType } })], 1) : e._e(), e.isNullOrUndefined || e.isArray && e.useTabs.includes("other") ? t("ElCollapseItem", { key: "other", attrs: { name: "other" }, scopedSlots: e._u([{ key: "title", fn: function() {
2268
2298
  return [t("div", { staticClass: "panel-tab__title" }, [t("i", { staticClass: "el-icon-s-promotion" }), e._v("其他")])];
2269
- }, proxy: !0 }]) }, [t("ElementOtherConfig", { attrs: { id: e.elementId, element: e.element, "bpmn-instances": e.bpmnInstances } })], 1), e._t("extend", null, { id: e.elementId, bpmnInstances: e.bpmnInstances, element: e.element, type: e.elementType })], 2)], 1);
2299
+ }, proxy: !0 }], null, !1, 520255146) }, [t("ElementOtherConfig", { attrs: { id: e.elementId, element: e.element, "bpmn-instances": e.bpmnInstances } })], 1) : e._e(), e.isNullOrUndefined || e.isArray && e.useTabs.includes("extend") ? e._t("extend", null, { id: e.elementId, bpmnInstances: e.bpmnInstances, element: e.element, type: e.elementType }) : e._e()], 2)], 1);
2270
2300
  }, Fn = [], xn = /* @__PURE__ */ h(
2271
2301
  vn,
2272
2302
  En,
@@ -2553,7 +2583,7 @@ const kn = {
2553
2583
  Data: "数据",
2554
2584
  TextAnnotation: "文本说明",
2555
2585
  Tasks: "任务"
2556
- }, _n = "Camunda", In = "http://camunda.org/schema/1.0/bpmn", wn = "camunda", An = {
2586
+ }, _n = "Camunda", In = "http://camunda.org/schema/1.0/bpmn", An = "camunda", wn = {
2557
2587
  tagAlias: "lowerCase"
2558
2588
  }, $n = [], Ln = [
2559
2589
  {
@@ -3674,8 +3704,8 @@ const kn = {
3674
3704
  ], On = [], se = {
3675
3705
  name: _n,
3676
3706
  uri: In,
3677
- prefix: wn,
3678
- xml: An,
3707
+ prefix: An,
3708
+ xml: wn,
3679
3709
  associations: $n,
3680
3710
  types: Ln,
3681
3711
  emumerations: On
@@ -6160,29 +6190,29 @@ const kn = {
6160
6190
  emumerations: Kn,
6161
6191
  types: Jn
6162
6192
  }, Zn = "*";
6163
- function w(n) {
6193
+ function A(n) {
6164
6194
  const e = this;
6165
6195
  n.on("moddleCopy.canCopyProperty", function(t) {
6166
6196
  const i = t.property, s = t.parent;
6167
6197
  return e.canCopyProperty(i, s);
6168
6198
  });
6169
6199
  }
6170
- w.$inject = ["eventBus"];
6171
- w.prototype.canCopyProperty = function(n, e) {
6200
+ A.$inject = ["eventBus"];
6201
+ A.prototype.canCopyProperty = function(n, e) {
6172
6202
  if (Ce(n) && !Hn(n, e) || _(n, "camunda:InputOutput") && !this.canHostInputOutput(e) || he(n, ["camunda:Connector", "camunda:Field"]) && !this.canHostConnector(e) || _(n, "camunda:In") && !this.canHostIn(e))
6173
6203
  return !1;
6174
6204
  };
6175
- w.prototype.canHostInputOutput = function(n) {
6205
+ A.prototype.canHostInputOutput = function(n) {
6176
6206
  if (x(n, "camunda:Connector"))
6177
6207
  return !0;
6178
6208
  const t = x(n, "bpmn:FlowNode");
6179
6209
  return !(!t || he(t, ["bpmn:StartEvent", "bpmn:Gateway", "bpmn:BoundaryEvent"]) || _(t, "bpmn:SubProcess") && t.get("triggeredByEvent"));
6180
6210
  };
6181
- w.prototype.canHostConnector = function(n) {
6211
+ A.prototype.canHostConnector = function(n) {
6182
6212
  const e = x(n, "camunda:ServiceTaskLike");
6183
6213
  return _(e, "bpmn:MessageEventDefinition") ? x(n, "bpmn:IntermediateThrowEvent") || x(n, "bpmn:EndEvent") : !0;
6184
6214
  };
6185
- w.prototype.canHostIn = function(n) {
6215
+ A.prototype.canHostIn = function(n) {
6186
6216
  return x(n, "bpmn:CallActivity") ? !0 : x(n, "bpmn:SignalEventDefinition") ? x(n, "bpmn:IntermediateThrowEvent") || x(n, "bpmn:EndEvent") : !0;
6187
6217
  };
6188
6218
  function _(n, e) {
@@ -6212,7 +6242,7 @@ function Wn(n) {
6212
6242
  }
6213
6243
  const Xn = {
6214
6244
  __init__: ["camundaModdleExtension"],
6215
- camundaModdleExtension: ["type", w]
6245
+ camundaModdleExtension: ["type", A]
6216
6246
  }, Yn = {
6217
6247
  FailedJobRetryTimeCycle: ["bpmn:StartEvent", "bpmn:BoundaryEvent", "bpmn:IntermediateCatchEvent", "bpmn:Activity"],
6218
6248
  Connector: ["bpmn:EndEvent", "bpmn:IntermediateThrowEvent"],
@@ -6626,8 +6656,28 @@ const mi = pi.exports, ci = {
6626
6656
  ProcessDesigner: mi
6627
6657
  },
6628
6658
  props: {
6659
+ /**
6660
+ * bpmnXML
6661
+ */
6629
6662
  value: String,
6663
+ /**
6664
+ * 是否使用侧栏
6665
+ */
6666
+ usePanel: {
6667
+ type: Boolean,
6668
+ default: !0
6669
+ },
6670
+ /**
6671
+ * 使用的配置面板
6672
+ */
6673
+ useTabs: Array,
6674
+ /**
6675
+ * 拓展类型
6676
+ */
6630
6677
  extendTypes: Array,
6678
+ /**
6679
+ * 配置上下文信息
6680
+ */
6631
6681
  context: Object
6632
6682
  },
6633
6683
  data() {
@@ -6659,13 +6709,13 @@ var ui = function() {
6659
6709
  eventResizingEnabled: !0
6660
6710
  }, keyboard: "" }, on: { input: (i) => e.$emit("input", i), "init-finished": e.initModeler }, scopedSlots: e._u([{ key: "toolbar-buttons", fn: function() {
6661
6711
  return [e._t("toolbar-buttons", null, { modeler: e.modeler })];
6662
- }, proxy: !0 }], null, !0) }, "ProcessDesigner", e.controlForm, !1)), t("PropertiesPanel", { key: `penal-${e.reloadIndex}`, staticClass: "process-panel", attrs: { "bpmn-modeler": e.modeler, context: e.context, prefix: e.controlForm.prefix }, scopedSlots: e._u([{ key: "task", fn: function({ id: i, bpmnInstances: s, element: a, type: r }) {
6712
+ }, proxy: !0 }], null, !0) }, "ProcessDesigner", e.controlForm, !1)), e.usePanel && (e.useTabs === null || e.useTabs === void 0 || e.useTabs.length > 0) ? t("PropertiesPanel", { key: `penal-${e.reloadIndex}`, staticClass: "process-panel", attrs: { "use-tabs": e.useTabs, "bpmn-modeler": e.modeler, context: e.context, prefix: e.controlForm.prefix }, scopedSlots: e._u([{ key: "task", fn: function({ id: i, bpmnInstances: s, element: a, type: r }) {
6663
6713
  return [e._t("task", null, { id: i, bpmnInstances: s, element: a, type: r })];
6664
6714
  } }, { key: "form", fn: function({ id: i, bpmnInstances: s, element: a, type: r }) {
6665
6715
  return [e._t("form", null, { id: i, bpmnInstances: s, element: a, type: r })];
6666
6716
  } }, { key: "extend", fn: function({ id: i, bpmnInstances: s, element: a, type: r }) {
6667
6717
  return [e._t("extend", null, { id: i, bpmnInstances: s, element: a, type: r })];
6668
- } }], null, !0) })], 1);
6718
+ } }], null, !0) }) : e._e()], 1);
6669
6719
  }, di = [], fi = /* @__PURE__ */ h(
6670
6720
  ci,
6671
6721
  ui,
@@ -2,18 +2,30 @@ import { n } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
2
2
  const i = {
3
3
  name: "LoadingView",
4
4
  props: {
5
+ /**
6
+ * 加载提示文案
7
+ */
5
8
  loadingTips: {
6
9
  type: String,
7
10
  default: "加载中..."
8
11
  },
12
+ /**
13
+ * 文字大小
14
+ */
9
15
  fontSize: {
10
16
  type: String,
11
17
  default: "20px"
12
18
  },
19
+ /**
20
+ * 图标大小
21
+ */
13
22
  iconSize: {
14
23
  type: String,
15
24
  default: "20px"
16
25
  },
26
+ /**
27
+ * 高度
28
+ */
17
29
  height: {
18
30
  type: String,
19
31
  default: "100%"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@web-utils/component",
3
3
  "description": "Web Components",
4
- "version": "3.3.10",
4
+ "version": "3.3.12",
5
5
  "author": "Simple",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -21,7 +21,7 @@
21
21
  "@web-utils/integrations": "^3.0.16",
22
22
  "@web-utils/vue": "^3.0.16",
23
23
  "bpmn-js": "^17.0.2",
24
- "bpmn-js-token-simulation": "^0.33.1",
24
+ "bpmn-js-token-simulation": "^0.33.2",
25
25
  "codemirror": "^5.65.15",
26
26
  "countup.js": "^2.8.0",
27
27
  "dayjs": "^1.11.10",
@@ -30,15 +30,15 @@
30
30
  "highlight.js": "^11.9.0",
31
31
  "lodash-es": "^4.17.21",
32
32
  "min-dash": "^4.2.1",
33
- "min-dom": "^4.1.0",
34
- "monaco-editor": "^0.46.0",
35
- "overlayscrollbars": "^2.5.0",
33
+ "min-dom": "^5.0.0",
34
+ "monaco-editor": "^0.47.0",
35
+ "overlayscrollbars": "^2.6.1",
36
36
  "photoswipe": "^5.4.3",
37
37
  "qrcode": "^1.5.3",
38
38
  "quill": "^1.3.7",
39
39
  "resize-detector": "^0.3.0",
40
40
  "simple-uploader.js": "^0.6.0",
41
- "tiny-svg": "^3.0.1",
41
+ "tiny-svg": "^4.0.0",
42
42
  "tinymce": "4.9.11",
43
43
  "video.js": "^8.10.0",
44
44
  "viewerjs": "^1.11.6",
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "@web-utils/component",
5
- "version": "3.3.10",
5
+ "version": "3.3.12",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "description-markup": "markdown",
@@ -893,6 +893,7 @@
893
893
  {
894
894
  "name": "list",
895
895
  "required": true,
896
+ "description": "菜单项",
896
897
  "value": {
897
898
  "kind": "expression",
898
899
  "type": "array"
@@ -901,6 +902,7 @@
901
902
  },
902
903
  {
903
904
  "name": "underline",
905
+ "description": "是否开启下划线",
904
906
  "value": {
905
907
  "kind": "expression",
906
908
  "type": "boolean"
@@ -917,6 +919,7 @@
917
919
  },
918
920
  {
919
921
  "name": "arrow",
922
+ "description": "是否开启箭头",
920
923
  "value": {
921
924
  "kind": "expression",
922
925
  "type": "boolean"
@@ -925,6 +928,7 @@
925
928
  },
926
929
  {
927
930
  "name": "border",
931
+ "description": "是否开启边界检测",
928
932
  "value": {
929
933
  "kind": "expression",
930
934
  "type": "boolean"
@@ -933,6 +937,7 @@
933
937
  },
934
938
  {
935
939
  "name": "itemWidth",
940
+ "description": "列表项宽度",
936
941
  "value": {
937
942
  "kind": "expression",
938
943
  "type": "number"
@@ -941,6 +946,7 @@
941
946
  },
942
947
  {
943
948
  "name": "itemHeight",
949
+ "description": "列表项高度",
944
950
  "value": {
945
951
  "kind": "expression",
946
952
  "type": "number"
@@ -949,6 +955,7 @@
949
955
  },
950
956
  {
951
957
  "name": "itemFontSize",
958
+ "description": "列表项字体",
952
959
  "value": {
953
960
  "kind": "expression",
954
961
  "type": "number|string"
@@ -957,6 +964,7 @@
957
964
  },
958
965
  {
959
966
  "name": "offset",
967
+ "description": "显示点偏移量",
960
968
  "value": {
961
969
  "kind": "expression",
962
970
  "type": "object"
@@ -965,6 +973,7 @@
965
973
  },
966
974
  {
967
975
  "name": "borderWidth",
976
+ "description": "边界距离",
968
977
  "value": {
969
978
  "kind": "expression",
970
979
  "type": "number"
@@ -1423,6 +1432,7 @@
1423
1432
  "attributes": [
1424
1433
  {
1425
1434
  "name": "border",
1435
+ "description": "是否开启边界检测",
1426
1436
  "value": {
1427
1437
  "kind": "expression",
1428
1438
  "type": "boolean"
@@ -1431,6 +1441,7 @@
1431
1441
  },
1432
1442
  {
1433
1443
  "name": "offset",
1444
+ "description": "显示点偏移量",
1434
1445
  "value": {
1435
1446
  "kind": "expression",
1436
1447
  "type": "object"
@@ -1439,6 +1450,7 @@
1439
1450
  },
1440
1451
  {
1441
1452
  "name": "borderWidth",
1453
+ "description": "边界距离",
1442
1454
  "value": {
1443
1455
  "kind": "expression",
1444
1456
  "type": "number"
@@ -1447,6 +1459,7 @@
1447
1459
  },
1448
1460
  {
1449
1461
  "name": "appendToBody",
1462
+ "description": "是否添加到 body",
1450
1463
  "value": {
1451
1464
  "kind": "expression",
1452
1465
  "type": "boolean"
@@ -1471,6 +1484,7 @@
1471
1484
  },
1472
1485
  {
1473
1486
  "name": "hideOnMouseLeave",
1487
+ "description": "鼠标离开后隐藏",
1474
1488
  "value": {
1475
1489
  "kind": "expression",
1476
1490
  "type": "boolean"
@@ -1937,6 +1951,7 @@
1937
1951
  "attributes": [
1938
1952
  {
1939
1953
  "name": "visible",
1954
+ "description": "对话框是否可见",
1940
1955
  "value": {
1941
1956
  "kind": "expression",
1942
1957
  "type": "boolean"
@@ -1945,6 +1960,7 @@
1945
1960
  },
1946
1961
  {
1947
1962
  "name": "openDelay",
1963
+ "description": "打开延迟",
1948
1964
  "value": {
1949
1965
  "kind": "expression",
1950
1966
  "type": "any"
@@ -1953,6 +1969,7 @@
1953
1969
  },
1954
1970
  {
1955
1971
  "name": "closeDelay",
1972
+ "description": "关闭延迟",
1956
1973
  "value": {
1957
1974
  "kind": "expression",
1958
1975
  "type": "any"
@@ -1961,6 +1978,7 @@
1961
1978
  },
1962
1979
  {
1963
1980
  "name": "zIndex",
1981
+ "description": "层级",
1964
1982
  "value": {
1965
1983
  "kind": "expression",
1966
1984
  "type": "any"
@@ -1969,6 +1987,7 @@
1969
1987
  },
1970
1988
  {
1971
1989
  "name": "modalFade",
1990
+ "description": "模态渐隐",
1972
1991
  "value": {
1973
1992
  "kind": "expression",
1974
1993
  "type": "boolean"
@@ -1977,6 +1996,7 @@
1977
1996
  },
1978
1997
  {
1979
1998
  "name": "modalClass",
1999
+ "description": "模态样式",
1980
2000
  "value": {
1981
2001
  "kind": "expression",
1982
2002
  "type": "any"
@@ -1985,6 +2005,7 @@
1985
2005
  },
1986
2006
  {
1987
2007
  "name": "modal",
2008
+ "description": "模态",
1988
2009
  "value": {
1989
2010
  "kind": "expression",
1990
2011
  "type": "boolean"
@@ -1993,6 +2014,7 @@
1993
2014
  },
1994
2015
  {
1995
2016
  "name": "modalAppendToBody",
2017
+ "description": "遮罩层添加到 body",
1996
2018
  "value": {
1997
2019
  "kind": "expression",
1998
2020
  "type": "boolean"
@@ -2001,6 +2023,7 @@
2001
2023
  },
2002
2024
  {
2003
2025
  "name": "lockScroll",
2026
+ "description": "锁定 body",
2004
2027
  "value": {
2005
2028
  "kind": "expression",
2006
2029
  "type": "boolean"
@@ -2009,6 +2032,7 @@
2009
2032
  },
2010
2033
  {
2011
2034
  "name": "closeOnPressEscape",
2035
+ "description": "按 esc 键关闭",
2012
2036
  "value": {
2013
2037
  "kind": "expression",
2014
2038
  "type": "boolean"
@@ -2017,6 +2041,7 @@
2017
2041
  },
2018
2042
  {
2019
2043
  "name": "maxHeight",
2044
+ "description": "最大高度",
2020
2045
  "value": {
2021
2046
  "kind": "expression",
2022
2047
  "type": "string"
@@ -2025,6 +2050,7 @@
2025
2050
  },
2026
2051
  {
2027
2052
  "name": "title",
2053
+ "description": "对话框标题",
2028
2054
  "value": {
2029
2055
  "kind": "expression",
2030
2056
  "type": "string"
@@ -2033,6 +2059,7 @@
2033
2059
  },
2034
2060
  {
2035
2061
  "name": "appendToBody",
2062
+ "description": "添加到 body",
2036
2063
  "value": {
2037
2064
  "kind": "expression",
2038
2065
  "type": "boolean"
@@ -2041,6 +2068,7 @@
2041
2068
  },
2042
2069
  {
2043
2070
  "name": "closeOnClickModal",
2071
+ "description": "点击遮罩层关闭",
2044
2072
  "value": {
2045
2073
  "kind": "expression",
2046
2074
  "type": "boolean"
@@ -2049,6 +2077,7 @@
2049
2077
  },
2050
2078
  {
2051
2079
  "name": "showClose",
2080
+ "description": "显示关闭按钮",
2052
2081
  "value": {
2053
2082
  "kind": "expression",
2054
2083
  "type": "boolean"
@@ -2057,6 +2086,7 @@
2057
2086
  },
2058
2087
  {
2059
2088
  "name": "showFullScreen",
2089
+ "description": "显示全屏按钮",
2060
2090
  "value": {
2061
2091
  "kind": "expression",
2062
2092
  "type": "boolean"
@@ -2065,6 +2095,7 @@
2065
2095
  },
2066
2096
  {
2067
2097
  "name": "width",
2098
+ "description": "宽度",
2068
2099
  "value": {
2069
2100
  "kind": "expression",
2070
2101
  "type": "string"
@@ -2073,6 +2104,7 @@
2073
2104
  },
2074
2105
  {
2075
2106
  "name": "height",
2107
+ "description": "高度",
2076
2108
  "value": {
2077
2109
  "kind": "expression",
2078
2110
  "type": "string"
@@ -2081,6 +2113,7 @@
2081
2113
  },
2082
2114
  {
2083
2115
  "name": "customClass",
2116
+ "description": "自定义样式",
2084
2117
  "value": {
2085
2118
  "kind": "expression",
2086
2119
  "type": "string"
@@ -2089,6 +2122,7 @@
2089
2122
  },
2090
2123
  {
2091
2124
  "name": "top",
2125
+ "description": "顶部距离",
2092
2126
  "value": {
2093
2127
  "kind": "expression",
2094
2128
  "type": "string"
@@ -2097,6 +2131,7 @@
2097
2131
  },
2098
2132
  {
2099
2133
  "name": "beforeClose",
2134
+ "description": "关闭前回调",
2100
2135
  "value": {
2101
2136
  "kind": "expression",
2102
2137
  "type": "func"
@@ -2105,6 +2140,7 @@
2105
2140
  },
2106
2141
  {
2107
2142
  "name": "center",
2143
+ "description": "居中",
2108
2144
  "value": {
2109
2145
  "kind": "expression",
2110
2146
  "type": "boolean"
@@ -2113,6 +2149,7 @@
2113
2149
  },
2114
2150
  {
2115
2151
  "name": "destroyOnClose",
2152
+ "description": "关闭时销毁对话框",
2116
2153
  "value": {
2117
2154
  "kind": "expression",
2118
2155
  "type": "boolean"
@@ -2121,6 +2158,7 @@
2121
2158
  },
2122
2159
  {
2123
2160
  "name": "flexRow",
2161
+ "description": "对话框 body 设置为 flex-row",
2124
2162
  "value": {
2125
2163
  "kind": "expression",
2126
2164
  "type": "boolean"
@@ -2129,6 +2167,7 @@
2129
2167
  },
2130
2168
  {
2131
2169
  "name": "flexColumn",
2170
+ "description": "对话框 body 设置为 flex-column",
2132
2171
  "value": {
2133
2172
  "kind": "expression",
2134
2173
  "type": "boolean"
@@ -2137,6 +2176,7 @@
2137
2176
  },
2138
2177
  {
2139
2178
  "name": "bodyPadding",
2179
+ "description": "body 留白",
2140
2180
  "value": {
2141
2181
  "kind": "expression",
2142
2182
  "type": "boolean"
@@ -2145,6 +2185,7 @@
2145
2185
  },
2146
2186
  {
2147
2187
  "name": "embed",
2188
+ "description": "内嵌",
2148
2189
  "value": {
2149
2190
  "kind": "expression",
2150
2191
  "type": "boolean"
@@ -2153,6 +2194,7 @@
2153
2194
  },
2154
2195
  {
2155
2196
  "name": "verticalCenter",
2197
+ "description": "垂直居中",
2156
2198
  "value": {
2157
2199
  "kind": "expression",
2158
2200
  "type": "boolean"
@@ -2161,6 +2203,7 @@
2161
2203
  },
2162
2204
  {
2163
2205
  "name": "offsetTop",
2206
+ "description": "顶部偏移",
2164
2207
  "value": {
2165
2208
  "kind": "expression",
2166
2209
  "type": "number"
@@ -2209,6 +2252,7 @@
2209
2252
  "attributes": [
2210
2253
  {
2211
2254
  "name": "emptyTips",
2255
+ "description": "提示文字",
2212
2256
  "value": {
2213
2257
  "kind": "expression",
2214
2258
  "type": "string"
@@ -2217,6 +2261,7 @@
2217
2261
  },
2218
2262
  {
2219
2263
  "name": "fontSize",
2264
+ "description": "文字大小",
2220
2265
  "value": {
2221
2266
  "kind": "expression",
2222
2267
  "type": "string"
@@ -2225,6 +2270,7 @@
2225
2270
  },
2226
2271
  {
2227
2272
  "name": "icon",
2273
+ "description": "图标",
2228
2274
  "value": {
2229
2275
  "kind": "expression",
2230
2276
  "type": "string"
@@ -2233,6 +2279,7 @@
2233
2279
  },
2234
2280
  {
2235
2281
  "name": "iconSize",
2282
+ "description": "图标大小",
2236
2283
  "value": {
2237
2284
  "kind": "expression",
2238
2285
  "type": "string"
@@ -2241,6 +2288,7 @@
2241
2288
  },
2242
2289
  {
2243
2290
  "name": "showIcon",
2291
+ "description": "是否显示图标",
2244
2292
  "value": {
2245
2293
  "kind": "expression",
2246
2294
  "type": "boolean"
@@ -2249,6 +2297,7 @@
2249
2297
  },
2250
2298
  {
2251
2299
  "name": "height",
2300
+ "description": "高度",
2252
2301
  "value": {
2253
2302
  "kind": "expression",
2254
2303
  "type": "string"
@@ -2268,6 +2317,7 @@
2268
2317
  "attributes": [
2269
2318
  {
2270
2319
  "name": "errorTips",
2320
+ "description": "加载错误提示",
2271
2321
  "value": {
2272
2322
  "kind": "expression",
2273
2323
  "type": "string"
@@ -2276,6 +2326,7 @@
2276
2326
  },
2277
2327
  {
2278
2328
  "name": "fontSize",
2329
+ "description": "提示文字大小",
2279
2330
  "value": {
2280
2331
  "kind": "expression",
2281
2332
  "type": "string"
@@ -2284,6 +2335,7 @@
2284
2335
  },
2285
2336
  {
2286
2337
  "name": "iconSize",
2338
+ "description": "图标大小",
2287
2339
  "value": {
2288
2340
  "kind": "expression",
2289
2341
  "type": "string"
@@ -2292,6 +2344,7 @@
2292
2344
  },
2293
2345
  {
2294
2346
  "name": "height",
2347
+ "description": "高度",
2295
2348
  "value": {
2296
2349
  "kind": "expression",
2297
2350
  "type": "string"
@@ -2311,6 +2364,7 @@
2311
2364
  "attributes": [
2312
2365
  {
2313
2366
  "name": "verticalCenter",
2367
+ "description": "垂直居中",
2314
2368
  "value": {
2315
2369
  "kind": "expression",
2316
2370
  "type": "boolean"
@@ -2319,6 +2373,7 @@
2319
2373
  },
2320
2374
  {
2321
2375
  "name": "horizonCenter",
2376
+ "description": "水平居中",
2322
2377
  "value": {
2323
2378
  "kind": "expression",
2324
2379
  "type": "boolean"
@@ -2327,6 +2382,7 @@
2327
2382
  },
2328
2383
  {
2329
2384
  "name": "center",
2385
+ "description": "垂直、水平居中",
2330
2386
  "value": {
2331
2387
  "kind": "expression",
2332
2388
  "type": "boolean"
@@ -2335,6 +2391,7 @@
2335
2391
  },
2336
2392
  {
2337
2393
  "name": "textCenter",
2394
+ "description": "文字居中",
2338
2395
  "value": {
2339
2396
  "kind": "expression",
2340
2397
  "type": "boolean"
@@ -2572,14 +2629,34 @@
2572
2629
  "attributes": [
2573
2630
  {
2574
2631
  "name": "value",
2632
+ "description": "bpmnXML",
2575
2633
  "value": {
2576
2634
  "kind": "expression",
2577
2635
  "type": "string"
2578
2636
  },
2579
2637
  "default": ""
2580
2638
  },
2639
+ {
2640
+ "name": "usePanel",
2641
+ "description": "是否使用侧栏",
2642
+ "value": {
2643
+ "kind": "expression",
2644
+ "type": "boolean"
2645
+ },
2646
+ "default": "true"
2647
+ },
2648
+ {
2649
+ "name": "useTabs",
2650
+ "description": "使用的配置面板",
2651
+ "value": {
2652
+ "kind": "expression",
2653
+ "type": "array"
2654
+ },
2655
+ "default": ""
2656
+ },
2581
2657
  {
2582
2658
  "name": "extendTypes",
2659
+ "description": "拓展类型",
2583
2660
  "value": {
2584
2661
  "kind": "expression",
2585
2662
  "type": "array"
@@ -2588,6 +2665,7 @@
2588
2665
  },
2589
2666
  {
2590
2667
  "name": "context",
2668
+ "description": "配置上下文信息",
2591
2669
  "value": {
2592
2670
  "kind": "expression",
2593
2671
  "type": "object"
@@ -17381,6 +17459,7 @@
17381
17459
  "attributes": [
17382
17460
  {
17383
17461
  "name": "loadingTips",
17462
+ "description": "加载提示文案",
17384
17463
  "value": {
17385
17464
  "kind": "expression",
17386
17465
  "type": "string"
@@ -17389,6 +17468,7 @@
17389
17468
  },
17390
17469
  {
17391
17470
  "name": "fontSize",
17471
+ "description": "文字大小",
17392
17472
  "value": {
17393
17473
  "kind": "expression",
17394
17474
  "type": "string"
@@ -17397,6 +17477,7 @@
17397
17477
  },
17398
17478
  {
17399
17479
  "name": "iconSize",
17480
+ "description": "图标大小",
17400
17481
  "value": {
17401
17482
  "kind": "expression",
17402
17483
  "type": "string"
@@ -17405,6 +17486,7 @@
17405
17486
  },
17406
17487
  {
17407
17488
  "name": "height",
17489
+ "description": "高度",
17408
17490
  "value": {
17409
17491
  "kind": "expression",
17410
17492
  "type": "string"