@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,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../chunks/_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import { n as t } from "../chunks/utils.
|
|
2
|
+
import { n as t } from "../chunks/utils.C8RvIGLM.mjs";
|
|
3
3
|
import { createElementBlock as n, openBlock as r } from "vue";
|
|
4
4
|
//#region src/components/ResizeObserver.vue
|
|
5
5
|
var i;
|
package/search/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../chunks/_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
2
|
import { O as t } from "../chunks/util.g-WQEec9.mjs";
|
|
3
|
-
import { t as n } from "../chunks/init.
|
|
3
|
+
import { t as n } from "../chunks/init.CtUEiRbU.mjs";
|
|
4
4
|
import { Fragment as r, createBlock as i, createElementBlock as a, createElementVNode as o, normalizeClass as s, openBlock as c, renderList as l, renderSlot as u, resolveComponent as d, toDisplayString as f, withCtx as p } from "vue";
|
|
5
5
|
import { isBlank as m } from "@web-utils/core";
|
|
6
6
|
//#region src/components/search/Search.vue
|
|
@@ -70,7 +70,7 @@ var h = {
|
|
|
70
70
|
dataFormat() {
|
|
71
71
|
this.propOption.forEach((e) => {
|
|
72
72
|
let t = e.prop;
|
|
73
|
-
m(this.form[t]) &&
|
|
73
|
+
m(this.form[t]) && (this.form[t] = e.multiple === !1 ? "" : []);
|
|
74
74
|
});
|
|
75
75
|
},
|
|
76
76
|
getActive(e, t) {
|
package/split-pane/index.mjs
CHANGED
package/stateful/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { h as e } from "vue";
|
|
1
2
|
//#region src/components/Stateful.vue
|
|
2
|
-
var
|
|
3
|
+
var t = {
|
|
3
4
|
name: "Stateful",
|
|
4
|
-
functional: !0,
|
|
5
5
|
props: {
|
|
6
6
|
tag: {
|
|
7
7
|
type: String,
|
|
@@ -44,27 +44,28 @@ var e = {
|
|
|
44
44
|
status: { type: [String, Number] },
|
|
45
45
|
size: { type: String }
|
|
46
46
|
},
|
|
47
|
-
render(
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
47
|
+
render() {
|
|
48
|
+
var t, n;
|
|
49
|
+
let { draft: r, doing: i, overdue: a, error: o, done: s, closed: c, status: l, tag: u, size: d, type: f } = this, p = {
|
|
50
|
+
draft: Array.isArray(r) ? r.includes(l) : r,
|
|
51
|
+
doing: Array.isArray(i) ? i.includes(l) : i,
|
|
52
|
+
overdue: Array.isArray(a) ? a.includes(l) : a,
|
|
53
|
+
error: Array.isArray(o) ? o.includes(l) : o,
|
|
54
|
+
done: Array.isArray(s) ? s.includes(l) : s,
|
|
55
|
+
closed: Array.isArray(c) ? c.includes(l) : c
|
|
55
56
|
};
|
|
56
|
-
return e(
|
|
57
|
+
return e(u, this.$props, [e("span", {
|
|
57
58
|
style: {
|
|
58
|
-
width:
|
|
59
|
-
height:
|
|
59
|
+
width: d,
|
|
60
|
+
height: d
|
|
60
61
|
},
|
|
61
62
|
class: [
|
|
62
63
|
"stateful",
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
f,
|
|
65
|
+
p
|
|
65
66
|
]
|
|
66
|
-
}),
|
|
67
|
+
}), (t = (n = this.$slots).default) == null ? void 0 : t.call(n)]);
|
|
67
68
|
}
|
|
68
69
|
};
|
|
69
70
|
//#endregion
|
|
70
|
-
export {
|
|
71
|
+
export { t as default };
|
|
@@ -43,10 +43,7 @@ function m(e, d, f, m, h, g) {
|
|
|
43
43
|
let _ = c("ElTable"), v = c("ElPagination");
|
|
44
44
|
return o(), n("div", p, [
|
|
45
45
|
t(" height=\"auto\" "),
|
|
46
|
-
i(_, a({
|
|
47
|
-
size: "mini",
|
|
48
|
-
data: h.records
|
|
49
|
-
}, e.$attrs, l(e.$listeners)), {
|
|
46
|
+
i(_, a({ data: h.records }, e.$attrs, l(e.$listeners)), {
|
|
50
47
|
default: u(() => [s(e.$slots, "default", {}, () => [d[1] || (d[1] = r("请添加表格列", -1))])]),
|
|
51
48
|
_: 3
|
|
52
49
|
}, 16, ["data"]),
|
package/sub-table/index.mjs
CHANGED
|
@@ -451,16 +451,14 @@ function T(e, v, y, b, x, T) {
|
|
|
451
451
|
delRow: T.delRow,
|
|
452
452
|
refresh: T.refresh
|
|
453
453
|
}, () => [T.enabled ? (u(), i(t, { key: 0 }, [c(E, {
|
|
454
|
-
size: "mini",
|
|
455
454
|
class: "table-header-button add",
|
|
456
455
|
icon: "el-icon-circle-plus",
|
|
457
|
-
|
|
456
|
+
text: "",
|
|
458
457
|
onClick: T.addRow
|
|
459
458
|
}, {
|
|
460
459
|
default: g(() => [...v[1] || (v[1] = [s("添加", -1)])]),
|
|
461
460
|
_: 1
|
|
462
461
|
}, 8, ["onClick"]), c(D, {
|
|
463
|
-
size: "mini",
|
|
464
462
|
class: "table-header-button remove",
|
|
465
463
|
message: "您确定要删除选中的记录吗?",
|
|
466
464
|
icon: "el-icon-error",
|
|
@@ -471,10 +469,9 @@ function T(e, v, y, b, x, T) {
|
|
|
471
469
|
_: 1
|
|
472
470
|
}, 8, ["onClick"])], 64)) : r("v-if", !0), y.fetchApi ? (u(), n(E, {
|
|
473
471
|
key: 1,
|
|
474
|
-
size: "mini",
|
|
475
472
|
class: "table-header-button refresh",
|
|
476
473
|
icon: "el-icon-refresh-left",
|
|
477
|
-
|
|
474
|
+
text: "",
|
|
478
475
|
disabled: !1,
|
|
479
476
|
onClick: T.refresh
|
|
480
477
|
}, {
|
package/sub-table-plus/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../chunks/_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import { t } from "../chunks/sub-table-plus-props.
|
|
2
|
+
import { t } from "../chunks/sub-table-plus-props.DvS8aKT4.mjs";
|
|
3
3
|
import { Fragment as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createSlots as s, createTextVNode as c, createVNode as l, mergeProps as u, normalizeClass as d, openBlock as f, renderList as p, renderSlot as m, resolveComponent as h, toDisplayString as g, toHandlers as _, withCtx as v, withModifiers as y } from "vue";
|
|
4
4
|
import { findTreeChildren as b, isFunction as x } from "@web-utils/core";
|
|
5
5
|
import { cloneDeep as S } from "@web-utils/integrations/lodash";
|
|
@@ -502,10 +502,9 @@ function j(e, t, b, x, S, C) {
|
|
|
502
502
|
return [
|
|
503
503
|
(n = e.toolbarMenus) != null && n.includes("add") ? (f(), r(N, {
|
|
504
504
|
key: 0,
|
|
505
|
-
size: "mini",
|
|
506
505
|
class: "table-header-button add",
|
|
507
506
|
icon: "el-icon-circle-plus",
|
|
508
|
-
|
|
507
|
+
text: "",
|
|
509
508
|
onClick: C.addRow
|
|
510
509
|
}, {
|
|
511
510
|
default: v(() => [...t[2] || (t[2] = [c(" 添加 ", -1)])]),
|
|
@@ -513,7 +512,6 @@ function j(e, t, b, x, S, C) {
|
|
|
513
512
|
}, 8, ["onClick"])) : i("v-if", !0),
|
|
514
513
|
(a = e.toolbarMenus) != null && a.includes("delete") ? (f(), r(P, {
|
|
515
514
|
key: 1,
|
|
516
|
-
size: "mini",
|
|
517
515
|
disabled: S.selectedRows.length <= 0,
|
|
518
516
|
class: "table-header-button remove",
|
|
519
517
|
message: "您确定要删除选中的记录吗?",
|
|
@@ -526,10 +524,9 @@ function j(e, t, b, x, S, C) {
|
|
|
526
524
|
}, 8, ["disabled", "onClick"])) : i("v-if", !0),
|
|
527
525
|
(o = e.toolbarMenus) != null && o.includes("refresh") ? (f(), r(N, {
|
|
528
526
|
key: 2,
|
|
529
|
-
size: "mini",
|
|
530
527
|
class: "table-header-button refresh",
|
|
531
528
|
icon: "el-icon-refresh-left",
|
|
532
|
-
|
|
529
|
+
text: "",
|
|
533
530
|
disabled: !1,
|
|
534
531
|
onClick: C.refresh
|
|
535
532
|
}, {
|
package/tab/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../chunks/_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import { n as t } from "../chunks/tab-mixin.
|
|
2
|
+
import { n as t } from "../chunks/tab-mixin.C9DSz8xu.mjs";
|
|
3
3
|
import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, normalizeClass as a, normalizeStyle as o, openBlock as s, renderSlot as c } from "vue";
|
|
4
4
|
//#region src/components/tab/Tab.vue
|
|
5
5
|
var l = {
|
package/tab-item/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../chunks/_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import { t } from "../chunks/tab-mixin.
|
|
2
|
+
import { t } from "../chunks/tab-mixin.C9DSz8xu.mjs";
|
|
3
3
|
import { createCommentVNode as n, createElementBlock as r, normalizeClass as i, normalizeStyle as a, openBlock as o, renderSlot as s, toDisplayString as c } from "vue";
|
|
4
4
|
//#region src/components/tab/TabItem.vue
|
|
5
5
|
var l = {
|
package/table-column/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/TableColumn.
|
|
1
|
+
import { t as e } from "../chunks/TableColumn.Cq9Bvevm.mjs";
|
|
2
2
|
export { e as default };
|
package/table-view/index.mjs
CHANGED
package/tag-render/index.mjs
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
|
+
import "../chunks/chunk.A6TnG60p.mjs";
|
|
1
2
|
import { t as e } from "../chunks/_plugin-vue_export-helper.7vrlOII_.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
3
|
+
import { n as t } from "../chunks/constants.Dw7hXt67.mjs";
|
|
4
|
+
import { Fragment as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createTextVNode as o, openBlock as s, renderList as c, resolveComponent as l, toDisplayString as u, withCtx as d } from "vue";
|
|
5
|
+
import { hasOwn as f } from "@web-utils/core";
|
|
4
6
|
//#region src/components/TagRender.vue
|
|
5
|
-
var
|
|
7
|
+
var p = {
|
|
6
8
|
name: "TagRender",
|
|
7
|
-
inject: { elFormItem: {
|
|
9
|
+
inject: { elFormItem: {
|
|
10
|
+
from: t,
|
|
11
|
+
default: {}
|
|
12
|
+
} },
|
|
8
13
|
props: {
|
|
9
14
|
enable: {
|
|
10
15
|
type: Boolean,
|
|
@@ -37,44 +42,43 @@ var f = {
|
|
|
37
42
|
}
|
|
38
43
|
} },
|
|
39
44
|
methods: { getTagName(e) {
|
|
40
|
-
return
|
|
45
|
+
return f(e, "name") ? e.name : f(e, "label") ? e.label : e;
|
|
41
46
|
} }
|
|
42
|
-
},
|
|
47
|
+
}, m = { class: "tag-render" }, h = {
|
|
43
48
|
key: 1,
|
|
44
49
|
style: {
|
|
45
50
|
"margin-left": "4px",
|
|
46
51
|
color: "#b5b5b5",
|
|
47
52
|
"line-height": "16px"
|
|
48
53
|
}
|
|
49
|
-
},
|
|
54
|
+
}, g = {
|
|
50
55
|
key: 3,
|
|
51
56
|
class: "tags-count"
|
|
52
57
|
};
|
|
53
|
-
function
|
|
54
|
-
let y =
|
|
55
|
-
return
|
|
56
|
-
f.tags && f.tags.length && f.tags[0] ? (
|
|
57
|
-
key:
|
|
58
|
+
function _(e, t, f, p, _, v) {
|
|
59
|
+
let y = l("ElTag"), b = l("ElButton");
|
|
60
|
+
return s(), a("div", m, [
|
|
61
|
+
f.tags && f.tags.length && f.tags[0] ? (s(!0), a(n, { key: 0 }, c(v.internalTags, (t, n) => (s(), r(y, {
|
|
62
|
+
key: n,
|
|
58
63
|
closable: f.enable,
|
|
59
|
-
size: "medium",
|
|
60
64
|
"disable-transitions": "",
|
|
61
|
-
onClose: (t) => e.$emit("close", f.tags[
|
|
65
|
+
onClose: (t) => e.$emit("close", f.tags[n], n)
|
|
62
66
|
}, {
|
|
63
|
-
default:
|
|
67
|
+
default: d(() => [o(u(v.getTagName(t)), 1)]),
|
|
64
68
|
_: 2
|
|
65
|
-
}, 1032, ["closable", "onClose"]))), 128)) : f.enable ?
|
|
66
|
-
f.enable ? (
|
|
69
|
+
}, 1032, ["closable", "onClose"]))), 128)) : f.enable ? i("v-if", !0) : (s(), a("span", h, "无")),
|
|
70
|
+
f.enable ? (s(), r(b, {
|
|
67
71
|
key: 2,
|
|
68
72
|
class: "add-tag",
|
|
69
|
-
size: "
|
|
70
|
-
onClick:
|
|
73
|
+
size: "small",
|
|
74
|
+
onClick: t[0] || (t[0] = (t) => e.$emit("add"))
|
|
71
75
|
}, {
|
|
72
|
-
default:
|
|
76
|
+
default: d(() => [...t[1] || (t[1] = [o("+ 添加", -1)])]),
|
|
73
77
|
_: 1
|
|
74
|
-
})) :
|
|
75
|
-
f.count ? (
|
|
78
|
+
})) : i("v-if", !0),
|
|
79
|
+
f.count ? (s(), a("span", g, u(f.tags.length && f.tags[0] ? f.tags.length : ""), 1)) : i("v-if", !0)
|
|
76
80
|
]);
|
|
77
81
|
}
|
|
78
|
-
var
|
|
82
|
+
var v = /* @__PURE__ */ e(p, [["render", _]]);
|
|
79
83
|
//#endregion
|
|
80
|
-
export {
|
|
84
|
+
export { v as default };
|
package/toolbar/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/Toolbar.
|
|
1
|
+
import { t as e } from "../chunks/Toolbar.DytZ6fO0.mjs";
|
|
2
2
|
export { e as default };
|
package/toolbar-button/index.mjs
CHANGED
|
@@ -1,146 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
2
|
-
|
|
3
|
-
import { createBlock as n, createCommentVNode as r, createTextVNode as i, openBlock as a, renderSlot as o, resolveComponent as s, toDisplayString as c, withCtx as l } from "vue";
|
|
4
|
-
import { isArray as u, isFunction as d } from "@web-utils/core";
|
|
5
|
-
//#region src/components/toolbar/ToolbarButton.vue
|
|
6
|
-
var f = {
|
|
7
|
-
name: "ToolbarButton",
|
|
8
|
-
inject: { toolbar: { default: "" } },
|
|
9
|
-
inheritAttrs: !1,
|
|
10
|
-
props: {
|
|
11
|
-
label: String,
|
|
12
|
-
icon: String,
|
|
13
|
-
type: String,
|
|
14
|
-
size: {
|
|
15
|
-
type: String,
|
|
16
|
-
default: "mini"
|
|
17
|
-
},
|
|
18
|
-
loadable: Boolean,
|
|
19
|
-
disabled: Boolean,
|
|
20
|
-
footer: Boolean,
|
|
21
|
-
circle: Boolean,
|
|
22
|
-
plain: Boolean,
|
|
23
|
-
round: Boolean,
|
|
24
|
-
primary: Boolean,
|
|
25
|
-
warning: Boolean,
|
|
26
|
-
nativeType: {
|
|
27
|
-
type: String,
|
|
28
|
-
default: "button"
|
|
29
|
-
},
|
|
30
|
-
privilege: String,
|
|
31
|
-
condition: {},
|
|
32
|
-
conditionTips: String,
|
|
33
|
-
confirm: Boolean,
|
|
34
|
-
confirmTips: String,
|
|
35
|
-
beforeExecute: Function,
|
|
36
|
-
afterExecute: Function,
|
|
37
|
-
route: [String, Object],
|
|
38
|
-
title: String,
|
|
39
|
-
cancelButtonText: String,
|
|
40
|
-
confirmButtonText: String
|
|
41
|
-
},
|
|
42
|
-
data() {
|
|
43
|
-
return { loading: !1 };
|
|
44
|
-
},
|
|
45
|
-
computed: { isVisible() {
|
|
46
|
-
return this.privilege ? t(this.privilege) : !0;
|
|
47
|
-
} },
|
|
48
|
-
methods: { async onClick(e) {
|
|
49
|
-
try {
|
|
50
|
-
if (d(this.beforeExecute) && await this.beforeExecute() === !1) return;
|
|
51
|
-
if (this.conditionTips) {
|
|
52
|
-
let e = !0;
|
|
53
|
-
if (e = u(this.condition) ? this.condition.length <= 0 : d(this.condition) ? !this.condition() : !this.condition, e) {
|
|
54
|
-
this.$message.warning(this.conditionTips);
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
if (this.confirm || this.confirmTips) try {
|
|
59
|
-
await this.$confirm(this.confirmTips || "你确定要删除该记录吗?", "系统提示", {
|
|
60
|
-
type: "warning",
|
|
61
|
-
distinguishCancelAndClose: !0,
|
|
62
|
-
cancelButtonText: this.cancelButtonText,
|
|
63
|
-
confirmButtonText: this.confirmButtonText
|
|
64
|
-
});
|
|
65
|
-
} catch (e) {
|
|
66
|
-
if (e === "cancel") {
|
|
67
|
-
let { cancel: t } = this.$listeners;
|
|
68
|
-
d(t) && await t(e);
|
|
69
|
-
} else if (e === "close") {
|
|
70
|
-
let { close: t } = this.$listeners;
|
|
71
|
-
d(t) && await t(e);
|
|
72
|
-
}
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
this.loading = !0;
|
|
76
|
-
let t;
|
|
77
|
-
if (this.route) await this.$router.push(this.route);
|
|
78
|
-
else {
|
|
79
|
-
let { click: n } = this.$listeners;
|
|
80
|
-
if (d(n)) try {
|
|
81
|
-
t = await n(e);
|
|
82
|
-
} catch {}
|
|
83
|
-
}
|
|
84
|
-
this.loading = !1, d(this.afterExecute) && await this.afterExecute(t);
|
|
85
|
-
} catch {}
|
|
86
|
-
} }
|
|
87
|
-
};
|
|
88
|
-
function p(e, t, u, d, f, p) {
|
|
89
|
-
let m = s("ElButton");
|
|
90
|
-
return p.isVisible && (u.footer || p.toolbar.footer) ? (a(), n(m, {
|
|
91
|
-
key: 0,
|
|
92
|
-
disabled: u.disabled || f.loading,
|
|
93
|
-
circle: u.circle,
|
|
94
|
-
plain: u.plain,
|
|
95
|
-
size: u.size,
|
|
96
|
-
loading: u.loadable ? f.loading : !1,
|
|
97
|
-
type: u.primary ? "primary" : u.warning ? "warning" : u.type,
|
|
98
|
-
round: u.round,
|
|
99
|
-
"native-type": u.nativeType,
|
|
100
|
-
onClick: p.onClick
|
|
101
|
-
}, {
|
|
102
|
-
default: l(() => [u.circle ? r("v-if", !0) : o(e.$slots, "default", { key: 0 }, () => [i(c(u.label), 1)])]),
|
|
103
|
-
_: 3
|
|
104
|
-
}, 8, [
|
|
105
|
-
"disabled",
|
|
106
|
-
"circle",
|
|
107
|
-
"plain",
|
|
108
|
-
"size",
|
|
109
|
-
"loading",
|
|
110
|
-
"type",
|
|
111
|
-
"round",
|
|
112
|
-
"native-type",
|
|
113
|
-
"onClick"
|
|
114
|
-
])) : p.isVisible ? (a(), n(m, {
|
|
115
|
-
key: 1,
|
|
116
|
-
disabled: u.disabled || f.loading,
|
|
117
|
-
plain: u.plain,
|
|
118
|
-
size: u.size,
|
|
119
|
-
icon: u.icon,
|
|
120
|
-
"native-type": u.nativeType,
|
|
121
|
-
circle: u.circle,
|
|
122
|
-
loading: u.loadable ? f.loading : !1,
|
|
123
|
-
type: u.primary ? "primary" : u.warning ? "warning" : u.type,
|
|
124
|
-
round: u.round,
|
|
125
|
-
title: u.title,
|
|
126
|
-
onClick: p.onClick
|
|
127
|
-
}, {
|
|
128
|
-
default: l(() => [u.circle ? r("v-if", !0) : o(e.$slots, "default", { key: 0 }, () => [i(c(u.label), 1)])]),
|
|
129
|
-
_: 3
|
|
130
|
-
}, 8, [
|
|
131
|
-
"disabled",
|
|
132
|
-
"plain",
|
|
133
|
-
"size",
|
|
134
|
-
"icon",
|
|
135
|
-
"native-type",
|
|
136
|
-
"circle",
|
|
137
|
-
"loading",
|
|
138
|
-
"type",
|
|
139
|
-
"round",
|
|
140
|
-
"title",
|
|
141
|
-
"onClick"
|
|
142
|
-
])) : r("v-if", !0);
|
|
143
|
-
}
|
|
144
|
-
var m = /* @__PURE__ */ e(f, [["render", p]]);
|
|
145
|
-
//#endregion
|
|
146
|
-
export { m as default };
|
|
1
|
+
import { t as e } from "../chunks/ToolbarButton.AlTszc53.mjs";
|
|
2
|
+
export { e as default };
|
package/vue-cron/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/VueCron.
|
|
1
|
+
import { t as e } from "../chunks/VueCron.BmPnLuu3.mjs";
|
|
2
2
|
export { e as default };
|
package/vue-qr-code/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as e } from "vue";
|
|
2
|
+
import { drawToCanvas as t, genDataURL as n, genSVG as r } from "@web-utils/integrations/qrcode";
|
|
2
3
|
//#region src/components/vue-qrcode/VueQrCode.vue
|
|
3
|
-
var
|
|
4
|
+
var i = {
|
|
4
5
|
name: "VueQrCode",
|
|
5
6
|
props: {
|
|
6
7
|
text: {
|
|
@@ -20,12 +21,12 @@ var r = {
|
|
|
20
21
|
} },
|
|
21
22
|
methods: { async generate() {
|
|
22
23
|
await this.$nextTick();
|
|
23
|
-
let { options:
|
|
24
|
-
i === "canvas" ? await
|
|
24
|
+
let { options: e, tag: i } = this;
|
|
25
|
+
i === "canvas" ? await t(this.$el, this.text, e) : i === "img" ? this.$el.src = await n(this.text, e) : this.$el.innerHTML = await r(this.text, e);
|
|
25
26
|
} },
|
|
26
|
-
render(
|
|
27
|
+
render() {
|
|
27
28
|
return e(this.tag, this.$slots.default);
|
|
28
29
|
}
|
|
29
30
|
};
|
|
30
31
|
//#endregion
|
|
31
|
-
export {
|
|
32
|
+
export { i as default };
|
package/vue-tags-input/index.mjs
CHANGED
|
@@ -192,7 +192,7 @@ var m = {
|
|
|
192
192
|
if (e.length && e.length >= this.typeaheadActivationThreshold || this.typeaheadActivationThreshold === 0 || this.typeaheadAlwaysShow) {
|
|
193
193
|
let t = this.escapeRegExp(this.caseSensitiveTags ? e : e.toLowerCase());
|
|
194
194
|
for (let e of this.existingTags) (this.caseSensitiveTags ? e.value : e.value.toLowerCase()).search(t) > -1 && !this.tagSelected(e) && this.searchResults.push(e);
|
|
195
|
-
this.sortSearchResults && this.searchResults.sort((e, t) => e.value < t.value ? -1 : e.value > t.value
|
|
195
|
+
this.sortSearchResults && this.searchResults.sort((e, t) => e.value < t.value ? -1 : +(e.value > t.value)), this.typeaheadMaxResults > 0 && (this.searchResults = this.searchResults.slice(0, this.typeaheadMaxResults));
|
|
196
196
|
}
|
|
197
197
|
this.oldInput = this.input;
|
|
198
198
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/VueTreeSelect.
|
|
1
|
+
import { t as e } from "../chunks/VueTreeSelect.GHx4Z2lG.mjs";
|
|
2
2
|
export { e as default };
|
package/watermark/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "../chunks/utils.
|
|
1
|
+
import { t as e } from "../chunks/utils.C8RvIGLM.mjs";
|
|
2
|
+
import { h as t } from "vue";
|
|
2
3
|
//#region src/components/Watermark.vue
|
|
3
|
-
var
|
|
4
|
+
var n = {
|
|
4
5
|
name: "Watermark",
|
|
5
|
-
functional: !0,
|
|
6
6
|
props: {
|
|
7
7
|
text: {
|
|
8
8
|
type: String,
|
|
@@ -29,19 +29,19 @@ var t = {
|
|
|
29
29
|
default: "rgba(0,0,0,0)"
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
render(
|
|
33
|
-
let
|
|
34
|
-
|
|
35
|
-
let
|
|
36
|
-
return
|
|
37
|
-
class: e(
|
|
32
|
+
render() {
|
|
33
|
+
let n = document.createElement("canvas");
|
|
34
|
+
n.width = this.width, n.height = this.height;
|
|
35
|
+
let r = n.getContext("2d");
|
|
36
|
+
return r.font = "15px Verdana", r.fillStyle = this.backgroundColor, r.fillRect(0, 0, this.width, this.height), r.translate(this.width / 2, this.height / 2), r.rotate(this.rotate * Math.PI / 180), r.fillStyle = this.color, r.textAlign = "center", r.textBaseline = "middle", r.fillText(this.text, 0, 0), t("div", {
|
|
37
|
+
class: e(this.$attrs.class, `watermark ${this.$attrs.staticClass || ""}`),
|
|
38
38
|
style: {
|
|
39
|
-
...
|
|
40
|
-
...
|
|
41
|
-
background: `url(${
|
|
39
|
+
...this.$attrs.style || {},
|
|
40
|
+
...this.$attrs.staticStyle || {},
|
|
41
|
+
background: `url(${n.toDataURL("image/png")}) left top repeat`
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
//#endregion
|
|
47
|
-
export {
|
|
47
|
+
export { n as default };
|