@web-utils/component 5.0.0-beta01 → 5.0.0-beta03
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/awesome-button/index.mjs +25 -31
- package/{utils/style.css → base.css} +1 -1
- package/chat/index.mjs +3 -12
- package/chunks/{EditableTree.C_IJBL5b.mjs → EditableTree.CV8b95tW.mjs} +130 -139
- package/chunks/{ElementBaseInfo.DyuFR6fE.mjs → ElementBaseInfo.lW0iwU10.mjs} +2 -3
- package/chunks/ElementDialog.DWhAJsUn.mjs +520 -0
- package/chunks/{ElementForm.ButuYDPA.mjs → ElementForm.C7yebHWH.mjs} +12 -39
- package/chunks/{ElementListeners.Dg3e_dmp.mjs → ElementListeners.B_SjC8dp.mjs} +10 -31
- package/chunks/{ElementMultiInstance.Dmi79FqA.mjs → ElementMultiInstance.Xw27Z5mm.mjs} +2 -3
- package/chunks/{ElementOtherConfig.C2AddGTp.mjs → ElementOtherConfig.DnNmAhKn.mjs} +0 -1
- package/chunks/{ElementProperties.CfV8UF7L.mjs → ElementProperties.DKr9JE_O.mjs} +3 -12
- package/chunks/{ElementTaskConfig.Bn7ycGGn.mjs → ElementTaskConfig.CPjsXlpS.mjs} +6 -10
- package/chunks/{FlowCondition.C6PdqOAW.mjs → FlowCondition.BA7GF34X.mjs} +4 -5
- package/chunks/{FlowDesigner.uJYFfKpR.mjs → FlowDesigner.DH1ypcUw.mjs} +17 -18
- package/chunks/{FormBlock.BEENc22F.mjs → FormBlock.D6kZl7sm.mjs} +8 -8
- package/chunks/FormCascader.BXL8lKww.mjs +1229 -0
- package/chunks/{FormInputTime.Bg3UIP8H.mjs → FormInputTime.DzTPiDNh.mjs} +339 -337
- package/chunks/{FormItem.H9OOvNzT.mjs → FormItem.B8iPLduv.mjs} +12 -13
- package/chunks/{FormItemGroup.D9eRy-cZ.mjs → FormItemGroup.CCGqEapT.mjs} +38 -31
- package/chunks/{FormSelect.CanodoAI.mjs → FormSelect.t0jbTL_K.mjs} +470 -467
- package/chunks/{FormSwitch.DTqdaFjv.mjs → FormSwitch.uoFQ-xp_.mjs} +53 -51
- package/chunks/{FormTemp.DiI5EfgK.mjs → FormTemp.CeHtEZQe.mjs} +11 -6
- package/chunks/{FyCurd.DMj1dMK9.mjs → FyCurd.DqJuCLNW.mjs} +22 -25
- package/chunks/{FyForm.vgR8ujEF.mjs → FyForm.CgyGhetD.mjs} +25 -21
- package/chunks/{FyFormDesign.DEWT6LsX.mjs → FyFormDesign.DIIK7mXK.mjs} +49 -128
- package/chunks/{FyUpload.B2QKfTxF.mjs → FyUpload.DoBEuYcC.mjs} +2 -2
- package/chunks/ImagePreview.DDFrZgo5.mjs +649 -0
- package/chunks/{Keyboard.ItiRy7Gb.mjs → Keyboard.DBspwbYo.mjs} +2 -2
- package/chunks/{MonacoEditor.Bd5Kui-Y.mjs → MonacoEditor.Bq9d6JSz.mjs} +65 -64
- package/chunks/{PageableTable.Bujb0NUx.mjs → PageableTable.DR-REJN5.mjs} +84 -83
- package/chunks/{SignalAndMessage.CYVzlFuL.mjs → SignalAndMessage.CL2u19it.mjs} +1 -10
- package/chunks/{TableColumn.DJYkznbJ.mjs → TableColumn.Cq9Bvevm.mjs} +34 -28
- package/chunks/{TableView.DyIdIxAg.mjs → TableView.DMWMaGLA.mjs} +26 -33
- package/chunks/ToolbarButton.AlTszc53.mjs +107 -0
- package/chunks/{UserTaskListeners.Bp-2qkHs.mjs → UserTaskListeners.Qfm8hKWP.mjs} +9 -27
- package/chunks/{VueCron.GfjodnyM.mjs → VueCron.BmPnLuu3.mjs} +163 -142
- package/chunks/{VueTreeSelect.9Ywl-I8e.mjs → VueTreeSelect.GHx4Z2lG.mjs} +48 -43
- package/chunks/button.gVyl7Y__.mjs +927 -0
- package/chunks/checkbox.AmhCpaBZ.mjs +438 -0
- package/chunks/chunk.A6TnG60p.mjs +13 -0
- package/chunks/confirmable-mixin.BZtxXY0h.mjs +273 -0
- package/chunks/constants.Dw7hXt67.mjs +4 -0
- package/chunks/{dictionary.DxZxP0ej.mjs → dictionary.BqVLM7Lf.mjs} +1 -1
- package/chunks/{event.eJ-c1Z3a.mjs → event.CmOTnori.mjs} +4 -7
- package/chunks/event.ZRs4J5TN.mjs +4 -0
- package/chunks/{focus-trap.DT4GnqQI.mjs → focus-trap.CuUc8N2C.mjs} +26 -26
- package/chunks/{form-input.D25eDRMq.mjs → form-input.DdSb45Tz.mjs} +3 -3
- package/chunks/{form-item.CgmUuw_n.mjs → form-item.fYYCXvCs.mjs} +77 -75
- package/chunks/icon.AJYLfX1m.mjs +26 -0
- package/chunks/{icon.CbS8-322.mjs → icon.niAg1zTC.mjs} +31 -39
- package/chunks/{init.DwpukyOB.mjs → init.CtUEiRbU.mjs} +6 -6
- package/chunks/{input.PejnqwSH.mjs → input.B_wW4aF-.mjs} +107 -106
- package/chunks/install.BJl2MN77.mjs +73 -0
- package/chunks/message-box.wGWcYSSd.mjs +463 -0
- package/chunks/{message.BCmee5N0.mjs → message.DnTACuzV.mjs} +76 -75
- package/chunks/{overlay.DubSnqma.mjs → overlay.Rhu_rfhx.mjs} +5 -5
- package/chunks/{radio.BotKXqJr.mjs → radio.BMkZBhl5.mjs} +45 -45
- package/chunks/{scroll.CzORc5Zk.mjs → scroll.BJIpzi2Q.mjs} +2 -2
- package/chunks/{scrollbar.CAmrlKi9.mjs → scrollbar.CvxOszy3.mjs} +4 -4
- package/chunks/{style.BmlGmjpO.mjs → style.CraPDfJA.mjs} +3 -3
- package/chunks/{tag.DPi-PLbb.mjs → tag.B6yUaGj-.mjs} +25 -25
- package/chunks/{teleport._VGEzK4d.mjs → teleport.87mkIv8m.mjs} +3 -3
- package/chunks/{tooltip.D50x7Rva.mjs → tooltip.Dzjs7LZ8.mjs} +108 -108
- package/chunks/typescript.D0a40c7B.mjs +4 -0
- package/chunks/{use-aria.BW7nWOl1.mjs → use-aria.B9uqqWAE.mjs} +2 -2
- package/chunks/{use-composition.mUaomyno.mjs → use-composition.BMPJBvYs.mjs} +4 -4
- package/chunks/{use-deprecated.BfDSbZS9.mjs → use-deprecated.vx6LTDA_.mjs} +2 -2
- package/chunks/use-empty-values.CxYKjLV9.mjs +81 -0
- package/chunks/use-form-item.DMDTkMq9.mjs +48 -0
- package/chunks/use-global-config.Dkt91Ob3.mjs +57 -0
- package/chunks/{use-id.CFO5NeoV.mjs → use-id.CyzdvfQn.mjs} +3 -3
- package/chunks/{use-empty-values.Dy_r78F6.mjs → use-locale.CBoQRFjH.mjs} +12 -87
- package/chunks/{use-size.DxrwTUwf.mjs → use-size.CoorvF12.mjs} +2 -2
- package/chunks/validator.Drv0r2Nb.mjs +5 -0
- package/chunks/{vnode.D_SioRnx.mjs → vnode.raM3wMJz.mjs} +2 -2
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/context-menu/index.mjs +39 -38
- package/data-box/style.css +1 -1
- package/data-card/style.css +1 -1
- package/data-display/style.css +1 -1
- package/data-icons/style.css +1 -1
- package/data-imgtext/style.css +1 -1
- package/data-operatext/style.css +1 -1
- package/data-panel/style.css +1 -1
- package/data-pay/style.css +1 -1
- package/data-price/style.css +1 -1
- package/data-progress/style.css +1 -1
- package/data-rotate/style.css +1 -1
- package/data-table-picker/index.mjs +2 -6
- package/data-tabs/style.css +1 -1
- package/dialog-form/index.mjs +7 -3
- package/dynamic-table/index.mjs +1 -2
- package/editable-tree/index.mjs +1 -1
- package/element-dialog/index.mjs +1 -1
- package/element-dialog/style.css +1 -1
- package/empty-view/index.mjs +18 -20
- package/error-view/index.mjs +17 -19
- package/flex-column/index.mjs +11 -9
- package/flex-item/index.mjs +22 -16
- package/flex-row/index.mjs +11 -10
- package/flow/index.mjs +1 -1
- package/flow-designer/index.mjs +1 -1
- package/form-block/index.mjs +1 -1
- package/form-cascader/index.mjs +1 -1
- package/form-checkbox/index.mjs +4 -4
- package/form-checkbox-group/index.mjs +6 -6
- package/form-date-picker/index.mjs +3 -3
- package/form-holder/index.mjs +2 -5
- package/form-input/index.mjs +4 -4
- package/form-input-cron-expression/index.mjs +4 -4
- package/form-input-email/index.mjs +10 -9
- package/form-input-id-card/index.mjs +10 -9
- package/form-input-phone-number/index.mjs +11 -10
- package/form-input-tag/index.mjs +2 -2
- package/form-input-time/index.mjs +1 -1
- package/form-item/index.mjs +1 -1
- package/form-item-group/index.mjs +1 -1
- package/form-radio-group/index.mjs +6 -6
- package/form-select/index.mjs +1 -1
- package/form-switch/index.mjs +1 -1
- package/form-table/index.mjs +2 -2
- package/form-table-plus/index.mjs +4 -4
- package/form-textarea/index.mjs +4 -4
- package/form-tree-select/index.mjs +3 -3
- package/form-tree-select-multiple/index.mjs +3 -3
- package/form-view/index.mjs +13 -8
- package/fy-array/index.mjs +1 -1
- package/fy-cascader/index.mjs +1 -1
- package/fy-checkbox/index.mjs +1 -1
- package/fy-code/index.mjs +2 -2
- package/fy-curd/index.mjs +1 -1
- package/fy-date/index.mjs +1 -1
- package/fy-dynamic/index.mjs +3 -7
- package/fy-form/index.mjs +1 -1
- package/fy-form/style.css +1 -1
- package/fy-form-design/index.mjs +1 -1
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +1 -1
- package/fy-input-color/index.mjs +1 -2
- package/fy-input-icon/index.mjs +37 -32
- package/fy-input-map/index.mjs +1 -1
- package/fy-input-number/index.mjs +1 -1
- package/fy-input-table/index.mjs +1 -1
- package/fy-input-tree/index.mjs +3 -3
- package/fy-input-tree/style.css +1 -1
- package/fy-radio/index.mjs +2 -2
- package/fy-rate/index.mjs +2 -2
- package/fy-select/index.mjs +5 -5
- package/fy-slider/index.mjs +1 -1
- package/fy-switch/index.mjs +2 -2
- package/fy-time/index.mjs +1 -1
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +1 -1
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.mjs +1 -1
- package/guide-steps/index.mjs +1 -1
- package/helper-function.d.ts +3 -3
- package/helper-function.mjs +36 -20
- package/iframe-window/index.mjs +30 -29
- package/image-cropper/index.mjs +144 -163
- package/image-cropper/style.css +1 -1
- package/image-preview/index.mjs +2 -187
- package/index.d.ts +1 -2
- package/index.mjs +153 -154
- package/input-number-range/index.mjs +0 -2
- package/keyboard/index.mjs +1 -1
- package/license/index.mjs +1 -1
- package/monaco-editor/index.mjs +1 -1
- package/nav-bar/index.mjs +1 -1
- package/notice/index.mjs +1 -4
- package/package.json +12 -14
- package/pageable-table/index.mjs +1 -1
- package/pageable-view/index.mjs +2 -2
- package/photo-swipe/index.mjs +1 -1
- package/picker-table-view/index.mjs +4 -8
- package/present-view/index.mjs +18 -13
- package/record-video/index.mjs +1 -1
- package/resize-observer/index.mjs +1 -1
- package/search/index.mjs +2 -2
- package/split-pane/index.mjs +1 -1
- package/stateful/index.mjs +18 -17
- package/static-pageable-table/index.mjs +1 -4
- package/sub-table/index.mjs +2 -5
- package/sub-table-plus/index.mjs +3 -6
- package/tab/index.mjs +1 -1
- package/tab-item/index.mjs +1 -1
- package/table-column/index.mjs +1 -1
- package/table-view/index.mjs +1 -1
- package/tag-render/index.mjs +28 -24
- package/toolbar/index.mjs +1 -1
- package/toolbar-button/index.mjs +2 -146
- package/vue-cron/index.mjs +1 -1
- package/vue-qr-code/index.mjs +7 -6
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tree-select/index.mjs +1 -1
- package/watermark/index.mjs +13 -13
- package/web-types.json +265 -363
- package/x-input-tag/index.mjs +0 -3
- package/chunks/ElementDialog.C0IjriTW.mjs +0 -681
- package/chunks/FormCascader.CaM-oEhv.mjs +0 -1226
- package/chunks/checkbox.emIuFmnt.mjs +0 -437
- package/chunks/confirmable-mixin.BBil7dto.mjs +0 -1646
- package/chunks/event.B4iwtUNO.mjs +0 -4
- package/chunks/install.yLcn5MLL.mjs +0 -84
- package/chunks/typescript.DiWBU4nj.mjs +0 -4
- package/chunks/use-form-item.wsRjehHp.mjs +0 -47
- package/chunks/use-global-config.C9hs-O_x.mjs +0 -56
- package/chunks/validator.C4-z_t9p.mjs +0 -5
- package/login/index.mjs +0 -252
- package/login/style.css +0 -1
- /package/chunks/{FyUEditor.D_rEYfll.mjs → FyUEditor.uvZS8UgS.mjs} +0 -0
- /package/chunks/{RecordVideo.B35_dLty.mjs → RecordVideo.CKTY-gk9.mjs} +0 -0
- /package/chunks/{SplitPane.Dw96M0Yf.mjs → SplitPane.DNNid7WB.mjs} +0 -0
- /package/chunks/{Toolbar.DHuXJAoG.mjs → Toolbar.DytZ6fO0.mjs} +0 -0
- /package/chunks/{core.DJv6Qrae.mjs → core.Blrh_Fjl.mjs} +0 -0
- /package/chunks/{dataformat.Bfr4nOcA.mjs → dataformat.F7GtAoiN.mjs} +0 -0
- /package/chunks/{dic.DgDfnovD.mjs → dic.NZCGhtA7.mjs} +0 -0
- /package/chunks/{dictionary.5eKjWeAp.mjs → dictionary.DXYdZefs.mjs} +0 -0
- /package/chunks/{form-pick.Axem0gOO.mjs → form-pick.BEC7lrNH.mjs} +0 -0
- /package/chunks/{form-validate.B1KPCHqN.mjs → form-validate.JFOV_f-C.mjs} +0 -0
- /package/chunks/{packages.BGjydzjm.mjs → packages.CONbEH13.mjs} +0 -0
- /package/chunks/{permission.DgEVNWlh.mjs → permission.8WDtOmzA.mjs} +0 -0
- /package/chunks/{photo-swipe.BB0SJZg9.mjs → photo-swipe.BvBJGc5x.mjs} +0 -0
- /package/chunks/{slot.C6Ozd2e7.mjs → slot.CZCo32Cw.mjs} +0 -0
- /package/chunks/{sub-table-plus-props.B_lLth3j.mjs → sub-table-plus-props.DvS8aKT4.mjs} +0 -0
- /package/chunks/{tab-mixin.u0EZpx3j.mjs → tab-mixin.C9DSz8xu.mjs} +0 -0
- /package/chunks/{util.B3sjVZoZ.mjs → util.fjuzrmWz.mjs} +0 -0
- /package/chunks/{utilSelf.ZED4DmCU.mjs → utilSelf.Bv7FtUNb.mjs} +0 -0
- /package/chunks/{utils.Cs2fYBrT.mjs → utils.C37EhJ-u.mjs} +0 -0
- /package/chunks/{utils.DsGhtCIO.mjs → utils.C8RvIGLM.mjs} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import { o as t, s as n } from "./util.
|
|
3
|
-
import
|
|
4
|
-
import { computePosition as
|
|
5
|
-
import { cloneDeep as
|
|
6
|
-
import { addResizeListener as
|
|
2
|
+
import { o as t, s as n } from "./util.fjuzrmWz.mjs";
|
|
3
|
+
import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, mergeProps as u, normalizeClass as d, normalizeStyle as f, openBlock as p, renderSlot as m, resolveComponent as h, toDisplayString as g, toHandlers as _, vShow as v, withCtx as y, withDirectives as b, withModifiers as x } from "vue";
|
|
4
|
+
import { computePosition as S, delay as C, fastClone as w, findTreeChildren as T, hasOwn as E, isFunction as D, isNotEmpty as O, isPlainObject as k, isUndefined as A, isVerticalScrollbarVisible as j, scrollbarWidth as M } from "@web-utils/core";
|
|
5
|
+
import { cloneDeep as N } from "@web-utils/integrations/lodash";
|
|
6
|
+
import { addResizeListener as P, removeResizeListener as F } from "@web-utils/integrations/resize";
|
|
7
7
|
//#region src/util/reactive.js
|
|
8
|
-
function
|
|
9
|
-
for (let n in t)
|
|
8
|
+
function I(e, t) {
|
|
9
|
+
for (let n in t) e[n] = t[n];
|
|
10
10
|
return e;
|
|
11
11
|
}
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/components/EditableTree.vue
|
|
14
|
-
var
|
|
14
|
+
var L = {
|
|
15
15
|
name: "EditableTree",
|
|
16
16
|
props: {
|
|
17
17
|
label: {
|
|
@@ -56,7 +56,7 @@ var R = {
|
|
|
56
56
|
default: () => ({
|
|
57
57
|
children: "children",
|
|
58
58
|
label: "name",
|
|
59
|
-
isLeaf: (e) =>
|
|
59
|
+
isLeaf: (e) => E(e, "hasChildren") ? !e.hasChildren : E(e, "hasChild") ? !e.hasChild : E(e, "children") && e.children ? e.children.length === 0 : !0
|
|
60
60
|
})
|
|
61
61
|
},
|
|
62
62
|
menuLabel: {
|
|
@@ -138,10 +138,10 @@ var R = {
|
|
|
138
138
|
this.tryFetch();
|
|
139
139
|
},
|
|
140
140
|
mounted() {
|
|
141
|
-
|
|
141
|
+
P(this.$refs.tree.$el, this.resize), P(this.$refs.treeWrapper, this.resize);
|
|
142
142
|
},
|
|
143
143
|
beforeUnmount() {
|
|
144
|
-
|
|
144
|
+
F(this.$refs.tree.$el, this.resize), F(this.$refs.treeWrapper, this.resize);
|
|
145
145
|
},
|
|
146
146
|
methods: {
|
|
147
147
|
filterTreeProperties: n,
|
|
@@ -153,10 +153,10 @@ var R = {
|
|
|
153
153
|
this.reserveExpandKey && (this.expandedKeys = this.expandedKeys.filter((t) => t !== e[this.nodeKey]));
|
|
154
154
|
},
|
|
155
155
|
resize() {
|
|
156
|
-
|
|
156
|
+
j(this.$refs.treeWrapper) ? this.right = 4 + M : this.right = 4;
|
|
157
157
|
},
|
|
158
158
|
async showContextMenu(e, t, n) {
|
|
159
|
-
t.contextmenu === !1 || t.id === -1 || t.id === 0 || t.edit === !0 || this.contextMenu && (this.curNode = n, this.curData = t, this.showMenu = !0, this.$refs.tree.setCurrentKey(t.id), await this.$nextTick(), this.position =
|
|
159
|
+
t.contextmenu === !1 || t.id === -1 || t.id === 0 || t.edit === !0 || this.contextMenu && (this.curNode = n, this.curData = t, this.showMenu = !0, this.$refs.tree.setCurrentKey(t.id), await this.$nextTick(), this.position = S(e, this.$refs.contextMenu), window.addEventListener("click", this.hideContextMenu));
|
|
160
160
|
},
|
|
161
161
|
hideContextMenu() {
|
|
162
162
|
this.showMenu = !1, window.removeEventListener("click", this.hideContextMenu);
|
|
@@ -165,12 +165,12 @@ var R = {
|
|
|
165
165
|
if (this.lazy === !1 && this.fetchApi) {
|
|
166
166
|
var e;
|
|
167
167
|
let t = await this.fetchApi(((e = this.rootNode) == null ? void 0 : e.id) ?? -1, {});
|
|
168
|
-
if (
|
|
169
|
-
let e =
|
|
168
|
+
if (k(t.data) && (t.data = [t.data]), t.data = t.data || [], this.empty = t.data.length === 0, k(this.customRootNode)) {
|
|
169
|
+
let e = N(this.customRootNode);
|
|
170
170
|
e[this.treeProps.children || "children"] = t.data, this.treeData = [e];
|
|
171
|
-
} else if (
|
|
171
|
+
} else if (D(this.customRootNode)) {
|
|
172
172
|
let e = this.customRootNode(t.data);
|
|
173
|
-
e[this.treeProps.children || "children"] = t.data, this.treeData =
|
|
173
|
+
e[this.treeProps.children || "children"] = t.data, this.treeData = k(e) ? [e] : e;
|
|
174
174
|
} else this.treeData = t.data;
|
|
175
175
|
}
|
|
176
176
|
},
|
|
@@ -178,12 +178,12 @@ var R = {
|
|
|
178
178
|
if (e.level === 0) {
|
|
179
179
|
var n;
|
|
180
180
|
let a = await this.fetchApi(((n = this.rootNode) == null ? void 0 : n.id) ?? -1, e);
|
|
181
|
-
if (this.empty = a.data.length === 0,
|
|
182
|
-
let e =
|
|
181
|
+
if (this.empty = a.data.length === 0, k(this.customRootNode)) {
|
|
182
|
+
let e = N(this.customRootNode);
|
|
183
183
|
e[this.treeProps.children || "children"] = a.data, t([e]);
|
|
184
|
-
} else if (
|
|
184
|
+
} else if (D(this.customRootNode)) {
|
|
185
185
|
let e = this.customRootNode(a.data);
|
|
186
|
-
e[this.treeProps.children || "children"] = a.data, this.treeData =
|
|
186
|
+
e[this.treeProps.children || "children"] = a.data, this.treeData = k(e) ? [e] : e;
|
|
187
187
|
} else t(a.data);
|
|
188
188
|
if (await this.$nextTick(), this.$emit("root-node-loaded", a.data), this.defaultExpandedKeys) {
|
|
189
189
|
var r;
|
|
@@ -208,10 +208,10 @@ var R = {
|
|
|
208
208
|
this.newChild && this.newChild.id === -1 && (console.log(this.newChild), this.$refs.tree.remove(this.newChild), this.$emit("remove-new-node"));
|
|
209
209
|
},
|
|
210
210
|
cancelEdit() {
|
|
211
|
-
this.editData && (
|
|
211
|
+
this.editData && (A(this.editData.edit) ? this.editData.edit = !0 : this.editData.edit = !1);
|
|
212
212
|
},
|
|
213
213
|
async editNode(e, t) {
|
|
214
|
-
!this.contextMenu || this.contextMenuIcon || this.contextMenuInline ? (this.clear(), this.editData = t, this.text = t[this.treeProps.label],
|
|
214
|
+
!this.contextMenu || this.contextMenuIcon || this.contextMenuInline ? (this.clear(), this.editData = t, this.text = t[this.treeProps.label], A(t.edit), t.edit = !0, await this.$nextTick(), this.$refs.labelTxt.focus()) : await this.$prompt(`请输入新的${this.label}名:`, {
|
|
215
215
|
...this.defaultOptions,
|
|
216
216
|
inputValue: t[this.treeProps.label],
|
|
217
217
|
beforeClose: async (e, t, n) => {
|
|
@@ -234,7 +234,7 @@ var R = {
|
|
|
234
234
|
try {
|
|
235
235
|
this.createNewChild(-1), t.confirmButtonLoading = !0, t.confirmButtonText = "处理中...";
|
|
236
236
|
let e = await this.saveApi(this.newNodeBuilder(t.inputValue, { id: -1 }));
|
|
237
|
-
this.newChild[this.treeProps.label] = t.inputValue, this.newChild.edit = !1,
|
|
237
|
+
this.newChild[this.treeProps.label] = t.inputValue, this.newChild.edit = !1, I(this.newChild, e.data), this.$refs.tree.root.insertChild({ data: this.newChild }, void 0, !0), await this.locateView(), n();
|
|
238
238
|
} catch {
|
|
239
239
|
t.confirmButtonText = "确定";
|
|
240
240
|
}
|
|
@@ -254,7 +254,7 @@ var R = {
|
|
|
254
254
|
try {
|
|
255
255
|
this.createNewChild(e.data.id), n.confirmButtonLoading = !0, n.confirmButtonText = "处理中...";
|
|
256
256
|
let t = await this.saveApi(this.newNodeBuilder(n.inputValue, e.data));
|
|
257
|
-
this.newChild[this.treeProps.label] = n.inputValue, this.newChild.edit = !1,
|
|
257
|
+
this.newChild[this.treeProps.label] = n.inputValue, this.newChild.edit = !1, I(this.newChild, t.data), this.$refs.tree.append(this.newChild, e), await this.locateView(), r();
|
|
258
258
|
} catch {
|
|
259
259
|
n.confirmButtonText = "确定";
|
|
260
260
|
}
|
|
@@ -343,15 +343,15 @@ var R = {
|
|
|
343
343
|
} catch {}
|
|
344
344
|
},
|
|
345
345
|
async onConfirm(e, t) {
|
|
346
|
-
if (t[this.treeProps.label] === this.text || !
|
|
346
|
+
if (t[this.treeProps.label] === this.text || !O(this.text)) {
|
|
347
347
|
this.clear();
|
|
348
348
|
return;
|
|
349
349
|
}
|
|
350
|
-
|
|
350
|
+
A(t.loading), t.loading = !0;
|
|
351
351
|
try {
|
|
352
352
|
if (this.loading = !0, t.id === -1) {
|
|
353
|
-
let n = await this.saveApi(this.newNodeBuilder(this.text, e.parent.data || { id: -1 })), r =
|
|
354
|
-
|
|
353
|
+
let n = await this.saveApi(this.newNodeBuilder(this.text, e.parent.data || { id: -1 })), r = w(t);
|
|
354
|
+
I(t, {
|
|
355
355
|
...n.data,
|
|
356
356
|
isTempNode: !1
|
|
357
357
|
}), this.$emit("node-added", t, r, e), this.registerNode(e);
|
|
@@ -367,7 +367,7 @@ var R = {
|
|
|
367
367
|
t.id === -1 ? this.$refs.tree.remove(e) : t.edit = !1, this.text = "";
|
|
368
368
|
},
|
|
369
369
|
nodeClick(e, t, n) {
|
|
370
|
-
this.hideContextMenu(), (
|
|
370
|
+
this.hideContextMenu(), (A(e.loading) || !e.loading) && (this.curNode = t, this.curData = e, this.$emit("on-node-click", e, t, n));
|
|
371
371
|
},
|
|
372
372
|
getCurrentNode() {
|
|
373
373
|
return this.$refs.tree.getCurrentNode();
|
|
@@ -379,7 +379,7 @@ var R = {
|
|
|
379
379
|
},
|
|
380
380
|
async scrollIntoView(e) {
|
|
381
381
|
var t;
|
|
382
|
-
await this.$nextTick(), e || await
|
|
382
|
+
await this.$nextTick(), e || await C(300), (t = this.$refs) == null || (t = t.labelTxt) == null || t.focus();
|
|
383
383
|
},
|
|
384
384
|
inputKeyup(e, t, n) {
|
|
385
385
|
e.keyCode === 13 && this.onConfirm(t, n), e.keyCode === 27 && this.clear();
|
|
@@ -406,7 +406,7 @@ var R = {
|
|
|
406
406
|
return this.$refs.tree.root;
|
|
407
407
|
},
|
|
408
408
|
findTreeNode(e) {
|
|
409
|
-
return
|
|
409
|
+
return T(this.$refs.tree.root.childNodes, (t) => t.data === e || t.data.id === e, "childNodes");
|
|
410
410
|
},
|
|
411
411
|
registerNode(e) {
|
|
412
412
|
e.store.registerNode(e), delete e.store.nodesMap[-1];
|
|
@@ -415,32 +415,31 @@ var R = {
|
|
|
415
415
|
this.lazy ? this.treeKey = Date.now() : await this.tryFetch();
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
},
|
|
418
|
+
}, R = { class: "editable-tree" }, z = {
|
|
419
419
|
ref: "treeWrapper",
|
|
420
420
|
class: "et-tree-wrapper"
|
|
421
|
-
},
|
|
421
|
+
}, B = {
|
|
422
422
|
key: 0,
|
|
423
423
|
style: { "padding-left": "24px" }
|
|
424
|
-
},
|
|
424
|
+
}, V = ["data-id"], H = { class: "node-label flex-row flex-item oh ellipsis-1" }, U = {
|
|
425
425
|
class: "flex-item-relative",
|
|
426
426
|
style: { height: "21px" }
|
|
427
|
-
},
|
|
427
|
+
}, W = ["title"], G = {
|
|
428
428
|
key: 0,
|
|
429
429
|
class: "handle-actions"
|
|
430
|
-
},
|
|
430
|
+
}, K = {
|
|
431
431
|
key: 1,
|
|
432
432
|
class: "handle-actions",
|
|
433
433
|
style: { display: "inline-block" }
|
|
434
|
-
},
|
|
435
|
-
function
|
|
436
|
-
let T =
|
|
437
|
-
return
|
|
438
|
-
|
|
439
|
-
!n.readonly && n.addRootNodeButtonStyle === "top-right" ? (
|
|
434
|
+
}, q = ["data-id"], J = { class: "menu-list" };
|
|
435
|
+
function Y(e, t, n, S, C, w) {
|
|
436
|
+
let T = h("ElButton"), E = h("ElPopconfirm"), D = h("ElInput"), O = h("ElTree");
|
|
437
|
+
return p(), o("div", R, [
|
|
438
|
+
a(" 添加根节点事件\r\n @event add-root-node "),
|
|
439
|
+
!n.readonly && n.addRootNodeButtonStyle === "top-right" ? (p(), i(T, {
|
|
440
440
|
key: 0,
|
|
441
441
|
type: "primary",
|
|
442
|
-
|
|
443
|
-
style: p([{
|
|
442
|
+
style: f([{
|
|
444
443
|
position: "absolute",
|
|
445
444
|
top: "4px",
|
|
446
445
|
"z-index": "1"
|
|
@@ -448,19 +447,18 @@ function X(e, t, n, r, C, w) {
|
|
|
448
447
|
icon: "el-icon-plus",
|
|
449
448
|
circle: "",
|
|
450
449
|
plain: "",
|
|
451
|
-
onClick: t[0] || (t[0] =
|
|
452
|
-
}, null, 8, ["style"])) :
|
|
453
|
-
|
|
454
|
-
!n.readonly && n.addRootNodeButtonStyle === "top" ? (
|
|
450
|
+
onClick: t[0] || (t[0] = x((t) => e.$emit("add-root-node"), ["stop"]))
|
|
451
|
+
}, null, 8, ["style"])) : a("v-if", !0),
|
|
452
|
+
s("div", z, [
|
|
453
|
+
!n.readonly && n.addRootNodeButtonStyle === "top" ? (p(), o("div", B, [l(T, {
|
|
455
454
|
disabled: C.loading,
|
|
456
|
-
|
|
457
|
-
type: "text",
|
|
455
|
+
text: "",
|
|
458
456
|
onClick: w.appendRootNode
|
|
459
457
|
}, {
|
|
460
|
-
default:
|
|
458
|
+
default: y(() => [t[8] || (t[8] = s("i", { class: "el-icon-lx-add" }, null, -1)), c(" " + g(n.addRootNodeLabel ? n.addRootNodeLabel : `添加${n.label}`), 1)]),
|
|
461
459
|
_: 1
|
|
462
|
-
}, 8, ["disabled", "onClick"])])) :
|
|
463
|
-
(
|
|
460
|
+
}, 8, ["disabled", "onClick"])])) : a("v-if", !0),
|
|
461
|
+
(p(), i(O, u(w.filterTreeProperties(e.$attrs), {
|
|
464
462
|
key: C.treeKey,
|
|
465
463
|
ref: "tree",
|
|
466
464
|
class: "flex-item",
|
|
@@ -472,123 +470,116 @@ function X(e, t, n, r, C, w) {
|
|
|
472
470
|
props: n.treeProps,
|
|
473
471
|
lazy: n.lazy,
|
|
474
472
|
"node-key": n.nodeKey
|
|
475
|
-
},
|
|
473
|
+
}, _(w.filterTreeEvents(e.$listeners)), {
|
|
476
474
|
onNodeClick: w.nodeClick,
|
|
477
475
|
onNodeContextmenu: w.showContextMenu,
|
|
478
476
|
onNodeExpand: w.addExpandKey,
|
|
479
477
|
onNodeCollapse: w.removeExpandKey
|
|
480
478
|
}), {
|
|
481
|
-
default:
|
|
482
|
-
node:
|
|
483
|
-
data:
|
|
484
|
-
}, () => [
|
|
485
|
-
"data-id":
|
|
479
|
+
default: y(({ node: i, data: u }) => [m(e.$slots, "default", {
|
|
480
|
+
node: i,
|
|
481
|
+
data: u
|
|
482
|
+
}, () => [a("非编辑模式"), u.edit ? (p(), o(r, { key: 1 }, [a("编辑模式"), s("span", {
|
|
483
|
+
"data-id": u.id,
|
|
486
484
|
class: "custom-tree-node flex-row flex-item oh"
|
|
487
485
|
}, [
|
|
488
|
-
n.icon ? (
|
|
486
|
+
n.icon ? (p(), o("i", {
|
|
489
487
|
key: 0,
|
|
490
|
-
class:
|
|
491
|
-
}, null, 2)) :
|
|
492
|
-
|
|
488
|
+
class: d([u.loading ? "el-icon-loading" : "el-icon-edit-outline", "node-icon shrink-0"])
|
|
489
|
+
}, null, 2)) : a("v-if", !0),
|
|
490
|
+
l(D, {
|
|
493
491
|
ref: "labelTxt",
|
|
494
492
|
modelValue: C.text,
|
|
495
493
|
"onUpdate:modelValue": t[2] || (t[2] = (e) => C.text = e),
|
|
496
494
|
class: "node-input flex-item",
|
|
497
|
-
size: "mini",
|
|
498
495
|
placeholder: w.defaultOptions.inputPlaceholder,
|
|
499
|
-
onKeyup: (e) => w.inputKeyup(e,
|
|
500
|
-
onBlur: (e) => w.inputBlur(e,
|
|
501
|
-
onClick: t[3] || (t[3] =
|
|
496
|
+
onKeyup: (e) => w.inputKeyup(e, i, u),
|
|
497
|
+
onBlur: (e) => w.inputBlur(e, i, u),
|
|
498
|
+
onClick: t[3] || (t[3] = x(() => {}, ["stop"]))
|
|
502
499
|
}, null, 8, [
|
|
503
500
|
"modelValue",
|
|
504
501
|
"placeholder",
|
|
505
502
|
"onKeyup",
|
|
506
503
|
"onBlur"
|
|
507
504
|
]),
|
|
508
|
-
n.confirmButton ? (
|
|
505
|
+
n.confirmButton ? (p(), o(r, { key: 1 }, [b(l(T, {
|
|
509
506
|
class: "shrink-0",
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
onClick: S((e) => w.onConfirm(r, a), ["stop"])
|
|
507
|
+
text: "",
|
|
508
|
+
onClick: x((e) => w.onConfirm(i, u), ["stop"])
|
|
513
509
|
}, {
|
|
514
|
-
default:
|
|
510
|
+
default: y(() => [...t[13] || (t[13] = [c("确定", -1)])]),
|
|
515
511
|
_: 1
|
|
516
|
-
}, 8, ["onClick"]), [[
|
|
512
|
+
}, 8, ["onClick"]), [[v, !u.loading]]), b(l(T, {
|
|
517
513
|
class: "shrink-0",
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
onClick: S((e) => w.onCancel(r, a), ["stop"])
|
|
514
|
+
text: "",
|
|
515
|
+
onClick: x((e) => w.onCancel(i, u), ["stop"])
|
|
521
516
|
}, {
|
|
522
|
-
default:
|
|
517
|
+
default: y(() => [...t[14] || (t[14] = [c("取消", -1)])]),
|
|
523
518
|
_: 1
|
|
524
|
-
}, 8, ["onClick"]), [[
|
|
525
|
-
], 8,
|
|
519
|
+
}, 8, ["onClick"]), [[v, !u.loading]])], 64)) : a("v-if", !0)
|
|
520
|
+
], 8, q)], 64)) : (p(), o("span", {
|
|
526
521
|
key: 0,
|
|
527
|
-
"data-id":
|
|
522
|
+
"data-id": u.id,
|
|
528
523
|
class: "custom-tree-node"
|
|
529
524
|
}, [
|
|
530
|
-
|
|
531
|
-
n.icon ? (
|
|
525
|
+
s("span", H, [
|
|
526
|
+
n.icon ? (p(), o("i", {
|
|
532
527
|
key: 0,
|
|
533
|
-
class:
|
|
534
|
-
}, null, 2)) :
|
|
535
|
-
|
|
528
|
+
class: d([u.loading ? "el-icon-loading" : n.icon(u, i), "node-icon"])
|
|
529
|
+
}, null, 2)) : a("v-if", !0),
|
|
530
|
+
s("span", U, [s("span", {
|
|
536
531
|
class: "ellipsis-1 absolute-box et-tree-label",
|
|
537
|
-
title:
|
|
538
|
-
}, [
|
|
539
|
-
data:
|
|
540
|
-
node:
|
|
541
|
-
}, () => [
|
|
542
|
-
|
|
543
|
-
node:
|
|
544
|
-
data:
|
|
532
|
+
title: i.label
|
|
533
|
+
}, [m(e.$slots, "label", {
|
|
534
|
+
data: u,
|
|
535
|
+
node: i
|
|
536
|
+
}, () => [c(g(i.label), 1)])], 8, W)]),
|
|
537
|
+
m(e.$slots, "label-suffix", {
|
|
538
|
+
node: i,
|
|
539
|
+
data: u
|
|
545
540
|
})
|
|
546
541
|
]),
|
|
547
|
-
!n.contextMenu && !n.readonly ?
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
onClick: S((e) => w.appendChildNode(r, a), ["stop"])
|
|
542
|
+
!n.contextMenu && !n.readonly ? b((p(), o("span", G, [
|
|
543
|
+
l(T, {
|
|
544
|
+
text: "",
|
|
545
|
+
onClick: x((e) => w.appendChildNode(i, u), ["stop"])
|
|
552
546
|
}, {
|
|
553
|
-
default:
|
|
547
|
+
default: y(() => [...t[9] || (t[9] = [c("添加", -1)])]),
|
|
554
548
|
_: 1
|
|
555
549
|
}, 8, ["onClick"]),
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
onClick: S((e) => w.editNode(r, a), ["stop"])
|
|
550
|
+
l(T, {
|
|
551
|
+
text: "",
|
|
552
|
+
onClick: x((e) => w.editNode(i, u), ["stop"])
|
|
560
553
|
}, {
|
|
561
|
-
default:
|
|
554
|
+
default: y(() => [...t[10] || (t[10] = [c("修改", -1)])]),
|
|
562
555
|
_: 1
|
|
563
556
|
}, 8, ["onClick"]),
|
|
564
|
-
|
|
557
|
+
l(E, {
|
|
565
558
|
class: "pop-confirm",
|
|
566
559
|
"icon-color": "red",
|
|
567
560
|
title: "你确定要删除吗?",
|
|
568
|
-
onConfirm: (e) => w.removeNode(
|
|
561
|
+
onConfirm: (e) => w.removeNode(i, u)
|
|
569
562
|
}, {
|
|
570
|
-
reference:
|
|
571
|
-
size: "mini",
|
|
563
|
+
reference: y(() => [b(l(T, {
|
|
572
564
|
style: { "margin-left": "4px" },
|
|
573
|
-
|
|
574
|
-
onClick: t[1] || (t[1] =
|
|
565
|
+
text: "",
|
|
566
|
+
onClick: t[1] || (t[1] = x(() => {}, ["stop"]))
|
|
575
567
|
}, {
|
|
576
|
-
default:
|
|
568
|
+
default: y(() => [...t[11] || (t[11] = [c("删除", -1)])]),
|
|
577
569
|
_: 1
|
|
578
|
-
}, 512), [[
|
|
570
|
+
}, 512), [[v, i.isLeaf]])]),
|
|
579
571
|
_: 2
|
|
580
572
|
}, 1032, ["onConfirm"])
|
|
581
|
-
], 512)), [[
|
|
582
|
-
n.contextMenuIcon && n.contextMenu && !n.readonly ?
|
|
583
|
-
size: "mini",
|
|
573
|
+
], 512)), [[v, !u.loading && !C.loading]]) : a("v-if", !0),
|
|
574
|
+
n.contextMenuIcon && n.contextMenu && !n.readonly ? b((p(), o("span", K, [l(T, {
|
|
584
575
|
style: { padding: "6px 10px 0" },
|
|
585
|
-
|
|
586
|
-
onClick:
|
|
576
|
+
text: "",
|
|
577
|
+
onClick: x((e) => w.showContextMenu(e, u, i), ["stop"])
|
|
587
578
|
}, {
|
|
588
|
-
default:
|
|
579
|
+
default: y(() => [...t[12] || (t[12] = [c(". . .", -1)])]),
|
|
589
580
|
_: 1
|
|
590
|
-
}, 8, ["onClick"])], 512)), [[
|
|
591
|
-
], 8,
|
|
581
|
+
}, 8, ["onClick"])], 512)), [[v, !u.loading && !C.loading]]) : a("v-if", !0)
|
|
582
|
+
], 8, V))])]),
|
|
592
583
|
_: 3
|
|
593
584
|
}, 16, [
|
|
594
585
|
"default-expanded-keys",
|
|
@@ -602,47 +593,47 @@ function X(e, t, n, r, C, w) {
|
|
|
602
593
|
"onNodeExpand",
|
|
603
594
|
"onNodeCollapse"
|
|
604
595
|
])),
|
|
605
|
-
n.contextMenu && !n.readonly ?
|
|
596
|
+
n.contextMenu && !n.readonly ? b((p(), o("div", {
|
|
606
597
|
key: 1,
|
|
607
598
|
ref: "contextMenu",
|
|
608
|
-
style:
|
|
599
|
+
style: f(C.position),
|
|
609
600
|
class: "menu"
|
|
610
|
-
}, [
|
|
601
|
+
}, [s("ul", J, [m(e.$slots, "context-menu", {
|
|
611
602
|
curNode: C.curNode,
|
|
612
603
|
curData: C.curData
|
|
613
604
|
}, () => [
|
|
614
|
-
|
|
605
|
+
b(s("li", {
|
|
615
606
|
class: "menu-item",
|
|
616
607
|
onClick: t[4] || (t[4] = (e) => w.appendPeerNode(C.curNode, C.curData))
|
|
617
|
-
}, [t[15] || (t[15] =
|
|
608
|
+
}, [t[15] || (t[15] = s("i", {
|
|
618
609
|
class: "menu-item-icon el-icon-lx-add",
|
|
619
610
|
style: { color: "#228b22" }
|
|
620
|
-
}, null, -1)),
|
|
621
|
-
|
|
611
|
+
}, null, -1)), c(g(n.menuLabel.appendPeer), 1)], 512), [[v, C.curData.id > -1]]),
|
|
612
|
+
s("li", {
|
|
622
613
|
class: "menu-item",
|
|
623
614
|
onClick: t[5] || (t[5] = (e) => w.appendChildNode(C.curNode, C.curData))
|
|
624
|
-
}, [t[16] || (t[16] =
|
|
615
|
+
}, [t[16] || (t[16] = s("i", {
|
|
625
616
|
class: "menu-item-icon el-icon-lx-add",
|
|
626
617
|
style: { color: "#228b22" }
|
|
627
|
-
}, null, -1)),
|
|
628
|
-
|
|
618
|
+
}, null, -1)), c(g(n.menuLabel.appendChild), 1)]),
|
|
619
|
+
b(s("li", {
|
|
629
620
|
class: "menu-item",
|
|
630
621
|
onClick: t[6] || (t[6] = (e) => w.editNode(C.curNode, C.curData))
|
|
631
|
-
}, [t[17] || (t[17] =
|
|
622
|
+
}, [t[17] || (t[17] = s("i", {
|
|
632
623
|
class: "menu-item-icon el-icon-edit-outline",
|
|
633
624
|
style: { color: "#ffa500" }
|
|
634
|
-
}, null, -1)),
|
|
635
|
-
|
|
625
|
+
}, null, -1)), c(g(n.menuLabel.editNode), 1)], 512), [[v, C.curData.id > -1]]),
|
|
626
|
+
b(s("li", {
|
|
636
627
|
class: "menu-item",
|
|
637
628
|
onClick: t[7] || (t[7] = (e) => w.removeNodeModal(C.curNode, C.curData))
|
|
638
|
-
}, [t[18] || (t[18] =
|
|
629
|
+
}, [t[18] || (t[18] = s("i", {
|
|
639
630
|
class: "menu-item-icon el-icon-delete",
|
|
640
631
|
style: { color: "#f00" }
|
|
641
|
-
}, null, -1)),
|
|
642
|
-
])])], 4)), [[
|
|
632
|
+
}, null, -1)), c(g(n.menuLabel.removeNode), 1)], 512), [[v, C.curNode.isLeaf]])
|
|
633
|
+
])])], 4)), [[v, C.showMenu]]) : a("v-if", !0)
|
|
643
634
|
], 512)
|
|
644
635
|
]);
|
|
645
636
|
}
|
|
646
|
-
var
|
|
637
|
+
var X = /* @__PURE__ */ e(L, [["render", Y]]);
|
|
647
638
|
//#endregion
|
|
648
|
-
export {
|
|
639
|
+
export { X as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import { i as t, n } from "./utils.
|
|
2
|
+
import { i as t, n } from "./utils.C37EhJ-u.mjs";
|
|
3
3
|
import { Fragment as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createVNode as s, openBlock as c, renderList as l, resolveComponent as u, withCtx as d, withModifiers as f } from "vue";
|
|
4
4
|
import { fastClone as p } from "@web-utils/core";
|
|
5
5
|
//#region src/components/bpmn-process-designer/components/penal/base/ElementBaseInfo.vue
|
|
@@ -40,7 +40,7 @@ var m = {
|
|
|
40
40
|
value: e
|
|
41
41
|
}));
|
|
42
42
|
let { businessObject: t } = this.element;
|
|
43
|
-
if (e ? (this.businessObject = p(t), this.businessObject.$type === "bpmn:SubProcess" &&
|
|
43
|
+
if (e ? (this.businessObject = p(t), this.businessObject.$type === "bpmn:SubProcess" && (this.businessObject.isExpanded = this.element.di.isExpanded)) : this.businessObject = {}, this.businessObject.$type === "bpmn:UserTask") for (let e in this.attrs) {
|
|
44
44
|
let r = n(t, `${this.prefix}:${e}`);
|
|
45
45
|
e === "commentNodeIds" && (r = r ? r.split(",") : []), this.attrs[e] = r;
|
|
46
46
|
}
|
|
@@ -74,7 +74,6 @@ var m = {
|
|
|
74
74
|
function g(e, t, n, p, m, g) {
|
|
75
75
|
let _ = u("ElInput"), v = u("ElFormItem"), y = u("ElSwitch"), b = u("ElOption"), x = u("ElSelect"), S = u("ElForm");
|
|
76
76
|
return c(), o("div", h, [s(S, {
|
|
77
|
-
size: "mini",
|
|
78
77
|
"label-width": "90px",
|
|
79
78
|
onSubmit: t[22] || (t[22] = f(() => {}, ["prevent"]))
|
|
80
79
|
}, {
|