@web-utils/component 5.0.0-beta02 → 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 +24 -30
- package/{utils/style.css → base.css} +1 -1
- package/chat/index.mjs +3 -12
- package/chunks/{EditableTree.D0ByhRTi.mjs → EditableTree.CV8b95tW.mjs} +11 -20
- package/chunks/{ElementBaseInfo.B3pY8TkD.mjs → ElementBaseInfo.lW0iwU10.mjs} +2 -3
- package/chunks/ElementDialog.DWhAJsUn.mjs +520 -0
- package/chunks/{ElementForm.D_lXbe--.mjs → ElementForm.C7yebHWH.mjs} +12 -39
- package/chunks/{ElementListeners.Cufwd4bp.mjs → ElementListeners.B_SjC8dp.mjs} +10 -31
- package/chunks/{ElementMultiInstance.BhY8NY2z.mjs → ElementMultiInstance.Xw27Z5mm.mjs} +2 -3
- package/chunks/{ElementOtherConfig.DX1ZJ9w2.mjs → ElementOtherConfig.DnNmAhKn.mjs} +0 -1
- package/chunks/{ElementProperties.BRafADXp.mjs → ElementProperties.DKr9JE_O.mjs} +3 -12
- package/chunks/{ElementTaskConfig.B6pqRir_.mjs → ElementTaskConfig.CPjsXlpS.mjs} +6 -10
- package/chunks/{FlowCondition.Dvwji23j.mjs → FlowCondition.BA7GF34X.mjs} +4 -5
- package/chunks/{FlowDesigner.LL-vXDIE.mjs → FlowDesigner.DH1ypcUw.mjs} +15 -15
- package/chunks/{FormCascader.DMY3uNc8.mjs → FormCascader.BXL8lKww.mjs} +348 -346
- package/chunks/{FormInputTime.BC4FfWwY.mjs → FormInputTime.DzTPiDNh.mjs} +243 -242
- package/chunks/{FormItem.BSXI2cZU.mjs → FormItem.B8iPLduv.mjs} +1 -1
- package/chunks/{FormItemGroup.D2Htta7J.mjs → FormItemGroup.CCGqEapT.mjs} +27 -22
- package/chunks/{FormSelect.CY0K-izg.mjs → FormSelect.t0jbTL_K.mjs} +396 -394
- package/chunks/{FormSwitch.DLqFXaFF.mjs → FormSwitch.uoFQ-xp_.mjs} +26 -25
- package/chunks/{FormTemp.PJFfNRls.mjs → FormTemp.CeHtEZQe.mjs} +11 -6
- package/chunks/{FyCurd.me083T8V.mjs → FyCurd.DqJuCLNW.mjs} +22 -25
- package/chunks/{FyForm.vVp8aVtj.mjs → FyForm.CgyGhetD.mjs} +15 -13
- package/chunks/{FyFormDesign.BCxVyiWY.mjs → FyFormDesign.DIIK7mXK.mjs} +49 -128
- package/chunks/{FyUpload.CA7Gfa6Q.mjs → FyUpload.DoBEuYcC.mjs} +2 -2
- package/chunks/{ImagePreview.ByEWJYdu.mjs → ImagePreview.DDFrZgo5.mjs} +97 -87
- package/chunks/{PageableTable.Ba3XSbZ5.mjs → PageableTable.DR-REJN5.mjs} +5 -6
- package/chunks/{SignalAndMessage.DYhKWs3X.mjs → SignalAndMessage.CL2u19it.mjs} +1 -10
- package/chunks/{TableColumn.72HOXQkb.mjs → TableColumn.Cq9Bvevm.mjs} +2 -2
- package/chunks/{TableView.BxfsOAxU.mjs → TableView.DMWMaGLA.mjs} +26 -33
- package/chunks/ToolbarButton.AlTszc53.mjs +107 -0
- package/chunks/{UserTaskListeners.CkeyTpnn.mjs → UserTaskListeners.Qfm8hKWP.mjs} +9 -27
- package/chunks/{VueCron.DEvY5-i7.mjs → VueCron.BmPnLuu3.mjs} +3 -39
- package/chunks/{VueTreeSelect.C6Ycu28Z.mjs → VueTreeSelect.GHx4Z2lG.mjs} +10 -6
- 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.CNNpjPL2.mjs → dictionary.BqVLM7Lf.mjs} +1 -1
- package/chunks/{event.Dv4XTu8B.mjs → event.CmOTnori.mjs} +4 -7
- package/chunks/event.ZRs4J5TN.mjs +4 -0
- package/chunks/{focus-trap.FbvlqAGe.mjs → focus-trap.CuUc8N2C.mjs} +27 -27
- package/chunks/{form-input.BUGZmAI1.mjs → form-input.DdSb45Tz.mjs} +3 -3
- package/chunks/{form-item.Ca8U2bIR.mjs → form-item.fYYCXvCs.mjs} +110 -106
- package/chunks/{icon.CxCY22-F.mjs → icon.AJYLfX1m.mjs} +7 -7
- package/chunks/{icon.ym7735_x.mjs → icon.niAg1zTC.mjs} +3 -3
- package/chunks/{init.6jGmuY99.mjs → init.CtUEiRbU.mjs} +5 -5
- package/chunks/input.B_wW4aF-.mjs +548 -0
- package/chunks/install.BJl2MN77.mjs +73 -0
- package/chunks/message-box.wGWcYSSd.mjs +463 -0
- package/chunks/{message.C4NdvfbE.mjs → message.DnTACuzV.mjs} +100 -99
- package/chunks/overlay.Rhu_rfhx.mjs +122 -0
- package/chunks/{radio.CeLeSOEo.mjs → radio.BMkZBhl5.mjs} +45 -44
- package/chunks/{scroll.DWjS-gnW.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.ZhEIVRpP.mjs → tag.B6yUaGj-.mjs} +15 -15
- package/chunks/teleport.87mkIv8m.mjs +22 -0
- package/chunks/{tooltip.DNiltmX1.mjs → tooltip.Dzjs7LZ8.mjs} +397 -410
- 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.D8KYIiKR.mjs → use-empty-values.CxYKjLV9.mjs} +3 -3
- package/chunks/use-form-item.DMDTkMq9.mjs +48 -0
- package/chunks/use-global-config.Dkt91Ob3.mjs +57 -0
- package/chunks/use-id.CyzdvfQn.mjs +15 -0
- package/chunks/{use-locale.Be9HCpTQ.mjs → use-locale.CBoQRFjH.mjs} +1 -1
- package/chunks/{typescript.CLl-2siQ.mjs → use-size.CoorvF12.mjs} +4 -4
- package/chunks/validator.Drv0r2Nb.mjs +5 -0
- package/chunks/{vnode.C3PXzhmg.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-table-picker/index.mjs +2 -6
- 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 +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- 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 +1 -1
- package/form-input/index.mjs +4 -4
- package/form-input-cron-expression/index.mjs +4 -4
- package/form-input-email/index.mjs +5 -5
- package/form-input-id-card/index.mjs +4 -4
- package/form-input-phone-number/index.mjs +4 -4
- 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/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 -4
- package/helper-function.mjs +31 -22
- 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 +1 -1
- package/index.d.ts +1 -2
- package/index.mjs +91 -92
- package/input-number-range/index.mjs +0 -2
- package/keyboard/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 +11 -13
- 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/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/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 -143
- package/vue-cron/index.mjs +1 -1
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tree-select/index.mjs +1 -1
- package/watermark/index.mjs +1 -1
- package/web-types.json +250 -382
- package/x-input-tag/index.mjs +0 -3
- package/chunks/ElementDialog.DNsDHdQS.mjs +0 -251
- package/chunks/checkbox.C_9WZ8gc.mjs +0 -437
- package/chunks/confirmable-mixin.zegaXQTl.mjs +0 -1762
- package/chunks/event.B4iwtUNO.mjs +0 -4
- package/chunks/input.C2GWsuXE.mjs +0 -547
- package/chunks/install.yLcn5MLL.mjs +0 -84
- package/chunks/use-form-item.BlWa7ZKe.mjs +0 -56
- package/chunks/use-global-config.DRovgom9.mjs +0 -57
- package/chunks/validator.DuBSEj8O.mjs +0 -5
- package/login/index.mjs +0 -252
- package/login/style.css +0 -1
- /package/chunks/{FormBlock.Co7l6USP.mjs → FormBlock.D6kZl7sm.mjs} +0 -0
- /package/chunks/{FyUEditor.BymtA5SJ.mjs → FyUEditor.uvZS8UgS.mjs} +0 -0
- /package/chunks/{Keyboard.4hi7CjGc.mjs → Keyboard.DBspwbYo.mjs} +0 -0
- /package/chunks/{MonacoEditor.B7BUQwb7.mjs → MonacoEditor.Bq9d6JSz.mjs} +0 -0
- /package/chunks/{RecordVideo.VRFTaHSp.mjs → RecordVideo.CKTY-gk9.mjs} +0 -0
- /package/chunks/{SplitPane.Bwe5Rc0J.mjs → SplitPane.DNNid7WB.mjs} +0 -0
- /package/chunks/{Toolbar.BVziVmyT.mjs → Toolbar.DytZ6fO0.mjs} +0 -0
- /package/chunks/{core.DXaMPWGV.mjs → core.Blrh_Fjl.mjs} +0 -0
- /package/chunks/{dataformat.CteBVoOe.mjs → dataformat.F7GtAoiN.mjs} +0 -0
- /package/chunks/{dic.C0abEij9.mjs → dic.NZCGhtA7.mjs} +0 -0
- /package/chunks/{dictionary.BRhZD-WH.mjs → dictionary.DXYdZefs.mjs} +0 -0
- /package/chunks/{form-pick.DT5kumy4.mjs → form-pick.BEC7lrNH.mjs} +0 -0
- /package/chunks/{form-validate.CUvMwtPN.mjs → form-validate.JFOV_f-C.mjs} +0 -0
- /package/chunks/{packages.BLDb9e6G.mjs → packages.CONbEH13.mjs} +0 -0
- /package/chunks/{permission.C-IUDxQQ.mjs → permission.8WDtOmzA.mjs} +0 -0
- /package/chunks/{photo-swipe.BxnG4lip.mjs → photo-swipe.BvBJGc5x.mjs} +0 -0
- /package/chunks/{slot.DT5QwXL-.mjs → slot.CZCo32Cw.mjs} +0 -0
- /package/chunks/{sub-table-plus-props.CRX7ERxJ.mjs → sub-table-plus-props.DvS8aKT4.mjs} +0 -0
- /package/chunks/{tab-mixin.7zuMMM1E.mjs → tab-mixin.C9DSz8xu.mjs} +0 -0
- /package/chunks/{util.Ce4MHRmD.mjs → util.fjuzrmWz.mjs} +0 -0
- /package/chunks/{utilSelf.BttmSVX6.mjs → utilSelf.Bv7FtUNb.mjs} +0 -0
- /package/chunks/{utils.BGJfM4oG.mjs → utils.C37EhJ-u.mjs} +0 -0
- /package/chunks/{utils.CSPl1l4f.mjs → utils.C8RvIGLM.mjs} +0 -0
package/awesome-button/index.mjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { h as e,
|
|
2
|
-
import {
|
|
1
|
+
import { h as e, ref as t, resolveComponent as n } from "vue";
|
|
2
|
+
import { isFunction as r } from "@web-utils/core";
|
|
3
3
|
//#region src/components/button/AwesomeButton.vue
|
|
4
4
|
var i = {
|
|
5
5
|
name: "AwesomeButton",
|
|
6
|
-
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
props: {
|
|
7
8
|
type: {
|
|
8
9
|
type: String,
|
|
9
10
|
default: "primary"
|
|
@@ -21,34 +22,27 @@ var i = {
|
|
|
21
22
|
disabled: Boolean,
|
|
22
23
|
plain: Boolean,
|
|
23
24
|
autofocus: Boolean,
|
|
24
|
-
round: Boolean
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
type: String,
|
|
29
|
-
default: ""
|
|
30
|
-
} },
|
|
31
|
-
data() {
|
|
32
|
-
return { isLoading: !1 };
|
|
33
|
-
},
|
|
34
|
-
methods: { async onClick(e) {
|
|
35
|
-
this.isLoading = !0;
|
|
36
|
-
let { onClick: t } = this.$attrs;
|
|
37
|
-
if (r(t)) try {
|
|
38
|
-
await t(e);
|
|
39
|
-
} catch (e) {
|
|
40
|
-
n.call(this, e);
|
|
25
|
+
round: Boolean,
|
|
26
|
+
text: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: ""
|
|
41
29
|
}
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
30
|
+
},
|
|
31
|
+
setup(i, { attrs: a, slots: o }) {
|
|
32
|
+
let s = n("ElButton"), { text: c, ...l } = i, { onClick: u, ...d } = a, f = t(!1), p = async (e) => {
|
|
33
|
+
if (f.value = !0, r(u)) try {
|
|
34
|
+
await u(e);
|
|
35
|
+
} catch (e) {
|
|
36
|
+
console.error(e);
|
|
37
|
+
}
|
|
38
|
+
f.value = !1;
|
|
39
|
+
};
|
|
40
|
+
return () => e(s, {
|
|
41
|
+
...d,
|
|
42
|
+
...l,
|
|
43
|
+
disabled: f.value,
|
|
44
|
+
onClick: p
|
|
45
|
+
}, { default: o.default || (() => c) });
|
|
52
46
|
}
|
|
53
47
|
};
|
|
54
48
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.border-bottom{border-bottom:1px solid #d7dae0}.clear-fix:after{clear:both;visibility:hidden;content:" ";height:0;display:block}.flex-row{flex-direction:row;flex-shrink:0;display:flex}.flex-row.vertical-center{align-items:center}.flex-row.vertical-start{align-items:flex-start}.flex-row.horizon-center{justify-content:center}.text-center{text-align:center}.flex-column{flex-direction:column;display:flex}.flex-column.vertical-center{justify-content:center}.flex-column.horizon-center{align-items:center}.flex-item,.flex-item-relative{flex:auto}.flex-item-relative{position:relative}.flex-item-relative .flex-content{position:absolute;top:0;bottom:0;left:0;right:0}.flex-not-shrink{flex-shrink:0}body{font-family:Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}*{outline:none}.avue-canvas{display:none}.avue-ghost{opacity:.5;background:#c8ebfb}.avue--disabled{color:#ccc}.avue--detail .hover-row td{background-color:#fff!important}.avue--detail .avue-group__header{border-bottom:1px solid #eee;padding-left:10px}.avue--detail .el-collapse-item__header{margin-bottom:0}.avue--detail .el-input.is-disabled .el-input__inner,.avue--detail .el-textarea.is-disabled .el-textarea__inner,.avue--detail .el-range-editor.is-disabled,.avue--detail .el-range-editor.is-disabled input{color:#606266;background-color:#fff;padding-left:0}.avue--detail .el-input-number__decrease,.avue--detail .el-input-number__increase{display:none}.avue--detail .el-input-group__append,.avue--detail .el-input-group__prepend{background-color:#0000;border:none}.avue--detail .el-input__suffix,.avue--detail .el-input__prefix{display:none}.avue--detail .el-input__inner,.avue--detail .el-textarea__inner{border:none}.avue--detail .el-input__inner::placeholder,.avue--detail .el-textarea__inner::placeholder{color:#0000!important}.avue--detail .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#409eff;border-color:#409eff}.avue--detail .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:#fff}.avue--detail .el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:#409eff;border-color:#409eff}.avue--detail .el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:#fff}.avue--detail .el-checkbox__input.is-disabled+span.el-checkbox__label,.avue--detail .el-radio__input.is-disabled+span.el-radio__label{color:#606266}.avue--detail .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before,.avue--detail .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{display:none}.avue--detail .el-row{border-top:1px solid #ebeef5;border-left:1px solid #ebeef5}.avue--detail .el-col{border-bottom:1px solid #ebeef5;border-right:1px solid #ebeef5;margin:0!important;padding:0!important}.avue--detail .el-form-item--medium.el-form-item,.avue--detail .el-form-item--mini.el-form-item,.avue--detail .el-form-item--small.el-form-item{background:#fafafa;margin:0}.avue--detail .el-form-item__label,.avue--detail .el-form-item__content{padding:2px 0}.avue--detail .el-form-item__label{box-sizing:border-box;color:#909399;padding-right:20px}.avue--detail .el-tag{margin-left:0!important;margin-right:6px!important}.avue--detail .avue-crud .el-form-item__content{border:none}.avue--detail .el-form-item__content{box-sizing:border-box;background-color:#fff;border-left:1px solid #ebeef5;padding-left:20px}.avue--detail__column .el-form-item{background-color:#fff}.avue--detail__column .el-form-item__label{padding-right:12px}.avue--detail__column .el-form-item__content{border-left:none;padding-left:0}.avue-grid{background-image:linear-gradient(#0000001a 1px,#0000 0),linear-gradient(90deg,#0000001a 1px,#0000 0);background-size:20px 20px,20px 20px;width:100%;height:100%;position:absolute;top:0;left:0}.avue-mask{z-index:1000;background-color:#37373799;height:100%;position:fixed;top:0;bottom:0;left:0;right:0}.avue--card{border-radius:5px;box-shadow:2px 1px 8px #00000026}.avue-dialog{overflow:visible}.avue-dialog .el-dialog{border-radius:2px;flex-direction:column;max-width:calc(100% - 100px);min-height:180px;max-height:calc(100% - 200px);display:flex;position:absolute;top:0;left:50%;transform:translate(-50%)}.avue-dialog .el-dialog__header{border-bottom:1px solid #f0f0f0;min-height:20px;padding:16px 24px}.avue-dialog .el-dialog__title,.avue-dialog .el-drawer__header{color:#000000d9;word-wrap:break-word;font-weight:500}.avue-dialog .el-dialog__body{margin-bottom:50px;padding:30px 20px 20px}.avue-dialog .el-dialog .el-dialog__body{flex:1;overflow:hidden auto}.avue-dialog .el-drawer{flex-direction:column;display:flex;position:absolute;top:0;right:0}.avue-dialog .el-drawer__header{border-bottom:1px solid #f0f0f0;min-height:20px;margin:0;padding:16px 10px 16px 24px}.avue-dialog .el-drawer,.avue-dialog .el-drawer__body{flex:1;overflow:auto}.avue-dialog__footer{z-index:4;box-sizing:border-box;text-align:right;background-color:#fff;border-top:1px solid #f0f0f0;width:100%;padding:0 10px;display:block}.avue-dialog__footer>*{margin-top:10px;margin-bottom:10px}.avue-dialog__footer--left{text-align:left}.avue-dialog__footer--center{text-align:center}.avue-dialog--fullscreen .el-dialog{max-width:100%;height:100%;max-height:100%;top:0;left:0;transform:translate(0);width:100%!important}.avue-dialog--top .el-dialog{top:15%}.avue-dialog--none .el-dialog__body{margin-bottom:0}.avue-opacity{opacity:0}.avue-opacity--active{opacity:1}.fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.flow-background-image{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImEiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMTBoNDBNMTAgMHY0ME0wIDIwaDQwTTIwIDB2NDBNMCAzMGg0ME0zMCAwdjQwIiBmaWxsPSJub25lIiBzdHJva2U9IiNlMGUwZTAiIG9wYWNpdHk9Ii4yIi8+PHBhdGggZD0iTTQwIDBIMHY0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2EpIi8+PC9zdmc+)}.avue-crud .el-select,.avue-crud .el-date-editor.el-input,.avue-crud .el-date-editor.el-input__inner,.avue-crud .el-cascader,.avue-crud .avue-input-number,.avue-form .el-select,.avue-form .el-date-editor.el-input,.avue-form .el-date-editor.el-input__inner,.avue-form .el-cascader,.avue-form .avue-input-number{width:100%!important}.avue-crud .el-form-item.el-form-item--small .el-input-group--append .el-input__inner,.avue-form .el-form-item.el-form-item--small .el-input-group--append .el-input__inner{height:33px;line-height:33px}.avue-crud .el-input-number .el-input__inner,.avue-form .el-input-number .el-input__inner{text-align:left}.avue-crud .avue-crud__left .el-button+.el-button,.avue-crud .avue-crud__right .el-button+.el-button,.avue-form .avue-crud__left .el-button+.el-button,.avue-form .avue-crud__right .el-button+.el-button{margin-left:0}.avue-crud .avue-crud__left .el-button,.avue-crud .avue-crud__right .el-button,.avue-form .avue-crud__left .el-button,.avue-form .avue-crud__right .el-button{margin-bottom:0;margin-right:5px}.avue-crud .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content,.avue-form .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{color:#409eff}.avue-crud .el-tree-node__label,.avue-form .el-tree-node__label{margin-left:8px}.avue-crud .el-
|
|
1
|
+
.border-bottom{border-bottom:1px solid #d7dae0}.clear-fix:after{clear:both;visibility:hidden;content:" ";height:0;display:block}.flex-row{flex-direction:row;flex-shrink:0;display:flex}.flex-row.vertical-center{align-items:center}.flex-row.vertical-start{align-items:flex-start}.flex-row.horizon-center{justify-content:center}.text-center{text-align:center}.flex-column{flex-direction:column;display:flex}.flex-column.vertical-center{justify-content:center}.flex-column.horizon-center{align-items:center}.flex-item,.flex-item-relative{flex:auto}.flex-item-relative{position:relative}.flex-item-relative .flex-content{position:absolute;top:0;bottom:0;left:0;right:0}.flex-not-shrink{flex-shrink:0}body{font-family:Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol}*{outline:none}.avue-canvas{display:none}.avue-ghost{opacity:.5;background:#c8ebfb}.avue--disabled{color:#ccc}.avue--detail .hover-row td{background-color:#fff!important}.avue--detail .avue-group__header{border-bottom:1px solid #eee;padding-left:10px}.avue--detail .el-collapse-item__header{margin-bottom:0}.avue--detail .el-input.is-disabled .el-input__inner,.avue--detail .el-textarea.is-disabled .el-textarea__inner,.avue--detail .el-range-editor.is-disabled,.avue--detail .el-range-editor.is-disabled input{color:#606266;background-color:#fff;padding-left:0}.avue--detail .el-input-number__decrease,.avue--detail .el-input-number__increase{display:none}.avue--detail .el-input-group__append,.avue--detail .el-input-group__prepend{background-color:#0000;border:none}.avue--detail .el-input__suffix,.avue--detail .el-input__prefix{display:none}.avue--detail .el-input__inner,.avue--detail .el-textarea__inner{border:none}.avue--detail .el-input__inner::placeholder,.avue--detail .el-textarea__inner::placeholder{color:#0000!important}.avue--detail .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#409eff;border-color:#409eff}.avue--detail .el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:#fff}.avue--detail .el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:#409eff;border-color:#409eff}.avue--detail .el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:#fff}.avue--detail .el-checkbox__input.is-disabled+span.el-checkbox__label,.avue--detail .el-radio__input.is-disabled+span.el-radio__label{color:#606266}.avue--detail .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before,.avue--detail .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{display:none}.avue--detail .el-row{border-top:1px solid #ebeef5;border-left:1px solid #ebeef5}.avue--detail .el-col{border-bottom:1px solid #ebeef5;border-right:1px solid #ebeef5;margin:0!important;padding:0!important}.avue--detail .el-form-item--medium.el-form-item,.avue--detail .el-form-item--mini.el-form-item,.avue--detail .el-form-item--small.el-form-item{background:#fafafa;margin:0}.avue--detail .el-form-item__label,.avue--detail .el-form-item__content{padding:2px 0}.avue--detail .el-form-item__label{box-sizing:border-box;color:#909399;padding-right:20px}.avue--detail .el-tag{margin-left:0!important;margin-right:6px!important}.avue--detail .avue-crud .el-form-item__content{border:none}.avue--detail .el-form-item__content{box-sizing:border-box;background-color:#fff;border-left:1px solid #ebeef5;padding-left:20px}.avue--detail__column .el-form-item{background-color:#fff}.avue--detail__column .el-form-item__label{padding-right:12px}.avue--detail__column .el-form-item__content{border-left:none;padding-left:0}.avue-grid{background-image:linear-gradient(#0000001a 1px,#0000 0),linear-gradient(90deg,#0000001a 1px,#0000 0);background-size:20px 20px,20px 20px;width:100%;height:100%;position:absolute;top:0;left:0}.avue-mask{z-index:1000;background-color:#37373799;height:100%;position:fixed;top:0;bottom:0;left:0;right:0}.avue--card{border-radius:5px;box-shadow:2px 1px 8px #00000026}.avue-dialog{overflow:visible}.avue-dialog .el-dialog{border-radius:2px;flex-direction:column;max-width:calc(100% - 100px);min-height:180px;max-height:calc(100% - 200px);display:flex;position:absolute;top:0;left:50%;transform:translate(-50%)}.avue-dialog .el-dialog__header{border-bottom:1px solid #f0f0f0;min-height:20px;padding:16px 24px}.avue-dialog .el-dialog__title,.avue-dialog .el-drawer__header{color:#000000d9;word-wrap:break-word;font-weight:500}.avue-dialog .el-dialog__body{margin-bottom:50px;padding:30px 20px 20px}.avue-dialog .el-dialog .el-dialog__body{flex:1;overflow:hidden auto}.avue-dialog .el-drawer{flex-direction:column;display:flex;position:absolute;top:0;right:0}.avue-dialog .el-drawer__header{border-bottom:1px solid #f0f0f0;min-height:20px;margin:0;padding:16px 10px 16px 24px}.avue-dialog .el-drawer,.avue-dialog .el-drawer__body{flex:1;overflow:auto}.avue-dialog__footer{z-index:4;box-sizing:border-box;text-align:right;background-color:#fff;border-top:1px solid #f0f0f0;width:100%;padding:0 10px;display:block}.avue-dialog__footer>*{margin-top:10px;margin-bottom:10px}.avue-dialog__footer--left{text-align:left}.avue-dialog__footer--center{text-align:center}.avue-dialog--fullscreen .el-dialog{max-width:100%;height:100%;max-height:100%;top:0;left:0;transform:translate(0);width:100%!important}.avue-dialog--top .el-dialog{top:15%}.avue-dialog--none .el-dialog__body{margin-bottom:0}.avue-opacity{opacity:0}.avue-opacity--active{opacity:1}.fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.flow-background-image{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImEiIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTTAgMTBoNDBNMTAgMHY0ME0wIDIwaDQwTTIwIDB2NDBNMCAzMGg0ME0zMCAwdjQwIiBmaWxsPSJub25lIiBzdHJva2U9IiNlMGUwZTAiIG9wYWNpdHk9Ii4yIi8+PHBhdGggZD0iTTQwIDBIMHY0MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZTBlMGUwIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2EpIi8+PC9zdmc+)}.avue-crud .el-select,.avue-crud .el-date-editor.el-input,.avue-crud .el-date-editor.el-input__inner,.avue-crud .el-cascader,.avue-crud .avue-input-number,.avue-form .el-select,.avue-form .el-date-editor.el-input,.avue-form .el-date-editor.el-input__inner,.avue-form .el-cascader,.avue-form .avue-input-number{width:100%!important}.avue-crud .el-form-item.el-form-item--small .el-input-group--append .el-input__inner,.avue-form .el-form-item.el-form-item--small .el-input-group--append .el-input__inner{height:33px;line-height:33px}.avue-crud .el-input-number .el-input__inner,.avue-form .el-input-number .el-input__inner{text-align:left}.avue-crud .avue-crud__left .el-button+.el-button,.avue-crud .avue-crud__right .el-button+.el-button,.avue-form .avue-crud__left .el-button+.el-button,.avue-form .avue-crud__right .el-button+.el-button{margin-left:0}.avue-crud .avue-crud__left .el-button,.avue-crud .avue-crud__right .el-button,.avue-form .avue-crud__left .el-button,.avue-form .avue-crud__right .el-button{margin-bottom:0;margin-right:5px}.avue-crud .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content,.avue-form .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{color:#409eff}.avue-crud .el-tree-node__label,.avue-form .el-tree-node__label{margin-left:8px}.avue-crud .el-range-editor--small,.avue-form .el-range-editor--small{height:32px;line-height:32px}.avue-crud .el-range-editor--mini,.avue-form .el-range-editor--mini{height:28px;line-height:28px}.avue-crud .el-input--small input,.avue-form .el-input--small input{height:32px;line-height:32px}.avue-crud .el-input--mini input,.avue-form .el-input--mini input{height:28px;line-height:28px}.avue-crud .el-table--medium td,.avue-form .el-table--medium td{padding:7px 0!important}.avue-crud .el-tooltip__popper,.avue-form .el-tooltip__popper{max-width:60%}.avue-crud .el-dropdown-menu__item,.avue-form .el-dropdown-menu__item{line-height:25px}.avue-crud .el-table-filter__list,.avue-form .el-table-filter__list{width:100%;height:300px;overflow-y:auto}@media screen and (max-width:992px){.el-dialog__footer{justify-content:center;display:flex}.el-button+.el-button{margin-left:0}.el-upload-list--picture-card .el-upload-list__item,.avue-upload__avatar,.el-upload--picture-card,.avue-upload__icon{width:100px;height:100px;line-height:100px}.avue-tip{display:none}.avue-crud__menu{display:block!important}.avue-crud .el-form-item{width:100%}.avue-crud .el-form-item__label{flex:1}.avue-crud .el-form-item__content{flex:5}.avue-crud__searchMenu{text-align:center}.avue-crud__title{display:block!important}.avue-crud__title p{margin-bottom:20px}.avue-crud__title .avue-date__group{justify-content:center}.avue-crud__title .avue-date__date{display:none}.avue-crud__title .avue-date__radio{width:100%}.avue-crud__title .avue-date__radio .el-radio-group{display:flex}.avue-crud__title .avue-date__radio .el-radio-group label,.avue-crud__title .avue-date__radio .el-radio-group .el-radio-button__inner{width:100%}.avue-crud__title .avue-date__radio .el-radio-button:last-child .el-radio-button__inner{border-right:1px solid #dcdfe6;border-radius:0 4px 4px 0}}.el-dialog{border-radius:4px 4px 0 0}.el-dialog .el-dialog__header{color:#fff;background-color:var(--color-primary);border-radius:4px 4px 0 0;flex-shrink:0}.el-dialog .el-dialog__header .el-dialog__title{color:#fff;font-weight:700}:root{--color-primary:#025cde}
|
package/chat/index.mjs
CHANGED
|
@@ -280,7 +280,6 @@ function K(e, t, b, x, K, q) {
|
|
|
280
280
|
"split-button": "",
|
|
281
281
|
class: "web__msg-submit",
|
|
282
282
|
type: "primary",
|
|
283
|
-
size: "default",
|
|
284
283
|
trigger: "click",
|
|
285
284
|
onClick: q.handleSend
|
|
286
285
|
}, {
|
|
@@ -293,13 +292,12 @@ function K(e, t, b, x, K, q) {
|
|
|
293
292
|
width: "160"
|
|
294
293
|
}, {
|
|
295
294
|
reference: _(() => [c(Y, {
|
|
296
|
-
|
|
295
|
+
text: "",
|
|
297
296
|
icon: "el-icon-plus"
|
|
298
297
|
})]),
|
|
299
298
|
default: _(() => [c(J, {
|
|
300
299
|
modelValue: K.keys,
|
|
301
300
|
"onUpdate:modelValue": t[4] || (t[4] = (e) => K.keys = e),
|
|
302
|
-
size: "default",
|
|
303
301
|
style: { "margin-bottom": "10px" },
|
|
304
302
|
rows: 3,
|
|
305
303
|
"show-word-limit": "",
|
|
@@ -307,15 +305,13 @@ function K(e, t, b, x, K, q) {
|
|
|
307
305
|
placeholder: "请输入快捷回复语",
|
|
308
306
|
type: "textarea"
|
|
309
307
|
}, null, 8, ["modelValue"]), o("div", B, [c(Y, {
|
|
310
|
-
|
|
311
|
-
type: "text",
|
|
308
|
+
text: "",
|
|
312
309
|
onClick: t[5] || (t[5] = (e) => K.visible = !1)
|
|
313
310
|
}, {
|
|
314
311
|
default: _(() => [...t[13] || (t[13] = [s(" 取消 ", -1)])]),
|
|
315
312
|
_: 1
|
|
316
313
|
}), c(Y, {
|
|
317
314
|
type: "primary",
|
|
318
|
-
size: "default",
|
|
319
315
|
onClick: q.addKey
|
|
320
316
|
}, {
|
|
321
317
|
default: _(() => [...t[14] || (t[14] = [s(" 确定 ", -1)])]),
|
|
@@ -353,15 +349,11 @@ function K(e, t, b, x, K, q) {
|
|
|
353
349
|
"body-padding": !1,
|
|
354
350
|
width: "30%"
|
|
355
351
|
}, {
|
|
356
|
-
footer: _(() => [c(Y, {
|
|
357
|
-
size: "default",
|
|
358
|
-
onClick: t[8] || (t[8] = (e) => K.upload.box = !1)
|
|
359
|
-
}, {
|
|
352
|
+
footer: _(() => [c(Y, { onClick: t[8] || (t[8] = (e) => K.upload.box = !1) }, {
|
|
360
353
|
default: _(() => [...t[16] || (t[16] = [s("取 消", -1)])]),
|
|
361
354
|
_: 1
|
|
362
355
|
}), c(Y, {
|
|
363
356
|
type: "primary",
|
|
364
|
-
size: "default",
|
|
365
357
|
onClick: q.uploadSubmit
|
|
366
358
|
}, {
|
|
367
359
|
default: _(() => [...t[17] || (t[17] = [s("确 定", -1)])]),
|
|
@@ -381,7 +373,6 @@ function K(e, t, b, x, K, q) {
|
|
|
381
373
|
default: _(() => [c(J, {
|
|
382
374
|
modelValue: K.upload.src,
|
|
383
375
|
"onUpdate:modelValue": t[7] || (t[7] = (e) => K.upload.src = e),
|
|
384
|
-
size: "default",
|
|
385
376
|
style: { "margin-bottom": "10px" },
|
|
386
377
|
rows: 4,
|
|
387
378
|
"show-word-limit": "",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import { o as t, s as n } from "./util.
|
|
2
|
+
import { o as t, s as n } from "./util.fjuzrmWz.mjs";
|
|
3
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
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
5
|
import { cloneDeep as N } from "@web-utils/integrations/lodash";
|
|
@@ -208,10 +208,10 @@ var L = {
|
|
|
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 && (A(this.editData.edit) ? this
|
|
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], A(t.edit)
|
|
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) => {
|
|
@@ -347,7 +347,7 @@ var L = {
|
|
|
347
347
|
this.clear();
|
|
348
348
|
return;
|
|
349
349
|
}
|
|
350
|
-
A(t.loading)
|
|
350
|
+
A(t.loading), t.loading = !0;
|
|
351
351
|
try {
|
|
352
352
|
if (this.loading = !0, t.id === -1) {
|
|
353
353
|
let n = await this.saveApi(this.newNodeBuilder(this.text, e.parent.data || { id: -1 })), r = w(t);
|
|
@@ -439,7 +439,6 @@ function Y(e, t, n, S, C, w) {
|
|
|
439
439
|
!n.readonly && n.addRootNodeButtonStyle === "top-right" ? (p(), i(T, {
|
|
440
440
|
key: 0,
|
|
441
441
|
type: "primary",
|
|
442
|
-
size: "default",
|
|
443
442
|
style: f([{
|
|
444
443
|
position: "absolute",
|
|
445
444
|
top: "4px",
|
|
@@ -453,8 +452,7 @@ function Y(e, t, n, S, C, w) {
|
|
|
453
452
|
s("div", z, [
|
|
454
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
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)]),
|
|
@@ -494,7 +492,6 @@ function Y(e, t, n, S, C, w) {
|
|
|
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: "default",
|
|
498
495
|
placeholder: w.defaultOptions.inputPlaceholder,
|
|
499
496
|
onKeyup: (e) => w.inputKeyup(e, i, u),
|
|
500
497
|
onBlur: (e) => w.inputBlur(e, i, u),
|
|
@@ -507,16 +504,14 @@ function Y(e, t, n, S, C, w) {
|
|
|
507
504
|
]),
|
|
508
505
|
n.confirmButton ? (p(), o(r, { key: 1 }, [b(l(T, {
|
|
509
506
|
class: "shrink-0",
|
|
510
|
-
|
|
511
|
-
type: "text",
|
|
507
|
+
text: "",
|
|
512
508
|
onClick: x((e) => w.onConfirm(i, u), ["stop"])
|
|
513
509
|
}, {
|
|
514
510
|
default: y(() => [...t[13] || (t[13] = [c("确定", -1)])]),
|
|
515
511
|
_: 1
|
|
516
512
|
}, 8, ["onClick"]), [[v, !u.loading]]), b(l(T, {
|
|
517
513
|
class: "shrink-0",
|
|
518
|
-
|
|
519
|
-
type: "text",
|
|
514
|
+
text: "",
|
|
520
515
|
onClick: x((e) => w.onCancel(i, u), ["stop"])
|
|
521
516
|
}, {
|
|
522
517
|
default: y(() => [...t[14] || (t[14] = [c("取消", -1)])]),
|
|
@@ -546,16 +541,14 @@ function Y(e, t, n, S, C, w) {
|
|
|
546
541
|
]),
|
|
547
542
|
!n.contextMenu && !n.readonly ? b((p(), o("span", G, [
|
|
548
543
|
l(T, {
|
|
549
|
-
|
|
550
|
-
type: "text",
|
|
544
|
+
text: "",
|
|
551
545
|
onClick: x((e) => w.appendChildNode(i, u), ["stop"])
|
|
552
546
|
}, {
|
|
553
547
|
default: y(() => [...t[9] || (t[9] = [c("添加", -1)])]),
|
|
554
548
|
_: 1
|
|
555
549
|
}, 8, ["onClick"]),
|
|
556
550
|
l(T, {
|
|
557
|
-
|
|
558
|
-
type: "text",
|
|
551
|
+
text: "",
|
|
559
552
|
onClick: x((e) => w.editNode(i, u), ["stop"])
|
|
560
553
|
}, {
|
|
561
554
|
default: y(() => [...t[10] || (t[10] = [c("修改", -1)])]),
|
|
@@ -568,9 +561,8 @@ function Y(e, t, n, S, C, w) {
|
|
|
568
561
|
onConfirm: (e) => w.removeNode(i, u)
|
|
569
562
|
}, {
|
|
570
563
|
reference: y(() => [b(l(T, {
|
|
571
|
-
size: "default",
|
|
572
564
|
style: { "margin-left": "4px" },
|
|
573
|
-
|
|
565
|
+
text: "",
|
|
574
566
|
onClick: t[1] || (t[1] = x(() => {}, ["stop"]))
|
|
575
567
|
}, {
|
|
576
568
|
default: y(() => [...t[11] || (t[11] = [c("删除", -1)])]),
|
|
@@ -580,9 +572,8 @@ function Y(e, t, n, S, C, w) {
|
|
|
580
572
|
}, 1032, ["onConfirm"])
|
|
581
573
|
], 512)), [[v, !u.loading && !C.loading]]) : a("v-if", !0),
|
|
582
574
|
n.contextMenuIcon && n.contextMenu && !n.readonly ? b((p(), o("span", K, [l(T, {
|
|
583
|
-
size: "default",
|
|
584
575
|
style: { padding: "6px 10px 0" },
|
|
585
|
-
|
|
576
|
+
text: "",
|
|
586
577
|
onClick: x((e) => w.showContextMenu(e, u, i), ["stop"])
|
|
587
578
|
}, {
|
|
588
579
|
default: y(() => [...t[12] || (t[12] = [c(". . .", -1)])]),
|
|
@@ -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: "default",
|
|
78
77
|
"label-width": "90px",
|
|
79
78
|
onSubmit: t[22] || (t[22] = f(() => {}, ["prevent"]))
|
|
80
79
|
}, {
|