@web-utils/component 4.0.13 → 4.0.15
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/address-input/index.mjs +15 -13
- package/card/index.mjs +20 -18
- package/carousel/index.mjs +12 -10
- package/chat/index.mjs +56 -45
- package/chunk-file-uploader/index.mjs +378 -36
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/{ElementTaskConfig.Bko0kgTp.mjs → ElementTaskConfig.AvBOzAni.mjs} +63 -55
- package/chunks/FormItem.Bhsy_O2B.mjs +372 -0
- package/chunks/FyForm.DriwCJ7b.mjs +765 -0
- package/chunks/SignalAndMessage.BpjOoKhK.mjs +92 -0
- package/chunks/SubTablePlus.BH0IIv3X.mjs +270 -0
- package/chunks/TableColumn.BzivvXMF.mjs +337 -0
- package/chunks/{confirmable-mixin.B2TtLAdk.mjs → confirmable-mixin.BFZb6pcK.mjs} +1 -1
- package/chunks/{dataformat.CpqOeGBl.mjs → dataformat.DJoNBlmI.mjs} +6 -6
- package/chunks/{dic.Dkl-leRW.mjs → dic.BinnDitI.mjs} +9 -9
- package/chunks/{event.9aDS6jcw.mjs → event.DSlcqYHL.mjs} +2 -2
- package/chunks/{form-input.CvFdwlEV.mjs → form-input.BtS_J5a2.mjs} +2 -2
- package/chunks/{index.9OxHjTIE.mjs → index.CIfe3UB3.mjs} +2 -2
- package/chunks/{index.B2TRddqf.mjs → index.Cn7aq-Et.mjs} +8 -8
- package/chunks/{init.DAsXSoLW.mjs → init.xOlFpTyZ.mjs} +2 -2
- package/chunks/{util.DqFv_pWg.mjs → util.DI42t5GU.mjs} +22 -22
- package/color-picker/index.mjs +101 -22
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/data-box/index.mjs +15 -12
- package/data-card/index.mjs +12 -10
- package/data-card-text/index.mjs +12 -10
- package/data-display/index.mjs +17 -15
- package/data-icons/index.mjs +16 -13
- package/data-imgtext/index.mjs +18 -15
- package/data-operatext/index.mjs +16 -14
- package/data-panel/index.mjs +16 -13
- package/data-pay/index.mjs +20 -16
- package/data-price/index.mjs +16 -14
- package/data-progress/index.mjs +17 -13
- package/data-rotate/index.mjs +15 -12
- package/data-table-picker/index.mjs +18 -15
- package/data-tabs/index.mjs +15 -12
- package/dialog-form/index.mjs +18 -16
- package/dynamic-table/index.mjs +30 -25
- package/editable-progress/index.mjs +11 -9
- package/editable-tree/index.mjs +56 -52
- package/egd-collapse-item/index.mjs +9 -9
- package/element-dialog/index.mjs +23 -22
- 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 +11 -10
- package/flow-designer/index.mjs +1973 -699
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +1 -1
- package/flow-viewer/index.mjs +9 -9
- package/form-block/index.mjs +34 -32
- package/form-cascader/index.mjs +24 -23
- package/form-checkbox/index.mjs +17 -16
- package/form-checkbox-group/index.mjs +23 -20
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.mjs +20 -18
- package/form-holder/index.mjs +14 -13
- package/form-input/index.mjs +15 -14
- package/form-input-cron-expression/index.mjs +22 -19
- package/form-input-email/index.mjs +16 -15
- package/form-input-id-card/index.mjs +13 -12
- package/form-input-number/index.mjs +17 -16
- package/form-input-phone-number/index.mjs +22 -21
- package/form-input-tag/index.mjs +15 -14
- package/form-input-time/index.mjs +15 -14
- package/form-item/index.mjs +3 -140
- package/form-item-group/index.mjs +31 -28
- package/form-radio-group/index.mjs +28 -27
- package/form-radio-group/style.css +1 -1
- package/form-select/index.mjs +23 -21
- package/form-switch/index.mjs +17 -16
- package/form-table/index.mjs +17 -16
- package/form-table-plus/index.mjs +22 -21
- package/form-textarea/index.mjs +16 -15
- package/form-tree-select/index.mjs +15 -14
- package/form-tree-select-multiple/index.mjs +15 -14
- package/form-view/index.mjs +39 -35
- package/fy-array/index.mjs +37 -33
- package/fy-cascader/index.mjs +17 -16
- package/fy-checkbox/index.mjs +13 -11
- package/fy-code/index.mjs +10 -10
- package/fy-curd/index.mjs +1147 -1123
- package/fy-date/index.mjs +11 -10
- package/fy-draggable/index.mjs +10 -9
- package/fy-dynamic/index.mjs +25 -22
- package/fy-empty/index.mjs +1 -1
- package/fy-form/index.mjs +15 -638
- package/fy-form-design/index.mjs +1165 -1127
- package/fy-input/index.mjs +14 -12
- package/fy-input-color/index.mjs +15 -13
- package/fy-input-icon/index.mjs +23 -20
- package/fy-input-map/index.mjs +31 -28
- package/fy-input-number/index.mjs +10 -9
- package/fy-input-table/index.mjs +22 -18
- package/fy-input-tree/index.mjs +37 -33
- package/fy-progress/index.mjs +10 -9
- package/fy-radio/index.mjs +16 -15
- package/fy-rate/index.mjs +11 -10
- package/fy-select/index.mjs +29 -25
- package/fy-slider/index.mjs +12 -11
- package/fy-switch/index.mjs +10 -9
- package/fy-tabs/index.mjs +17 -15
- package/fy-time/index.mjs +1 -1
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +24 -18
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.mjs +76 -74
- package/guide-steps/index.mjs +13 -11
- package/iframe-window/index.mjs +10 -9
- package/image-cropper/index.mjs +30 -28
- package/image-preview/index.mjs +14 -12
- package/index.mjs +72 -72
- package/input-number/index.mjs +14 -13
- package/input-number-range/index.mjs +12 -11
- package/license/index.mjs +1 -1
- package/login/index.mjs +26 -21
- package/nav-bar/index.mjs +10 -9
- package/notice/index.mjs +10 -9
- package/package.json +1 -1
- package/page-index/index.mjs +13 -12
- package/page-index-top/index.mjs +28 -23
- package/page-skeleton/index.mjs +14 -14
- package/page-skeleton-new/index.mjs +9 -8
- package/pageable-table/index.mjs +182 -172
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +16 -15
- package/picker-table-view/index.mjs +58 -49
- package/present-view/index.mjs +39 -35
- package/record-video/index.mjs +1 -1
- package/resize-observer/index.mjs +1 -1
- package/search/index.mjs +22 -20
- package/search-popover/index.mjs +1 -1
- package/sign/index.mjs +1 -1
- package/skeleton-panel/index.mjs +10 -9
- package/split-pane/index.mjs +37 -36
- package/static-pageable-table/index.mjs +13 -11
- package/sub-table/index.mjs +49 -36
- package/sub-table-plus/index.mjs +18 -229
- package/swiper/index.mjs +12 -11
- package/table-column/index.mjs +3 -223
- package/table-view/index.mjs +60 -52
- package/tabs-view/index.mjs +19 -17
- package/tag-render/index.mjs +18 -16
- package/text-ellipsis/index.mjs +10 -9
- package/toolbar/index.mjs +14 -13
- package/toolbar-button/index.mjs +14 -13
- package/verify/index.mjs +1 -1
- package/vue-cron/index.mjs +267 -259
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +24 -21
- package/chunks/ElementBaseInfo.ZADwixb5.mjs +0 -125
- package/chunks/ElementForm.CQ3PN5qj.mjs +0 -223
- package/chunks/ElementListeners.De_PRuIm.mjs +0 -215
- package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +0 -181
- package/chunks/ElementOtherConfig.B1NfMTYh.mjs +0 -60
- package/chunks/ElementProperties.CosfDrlW.mjs +0 -112
- package/chunks/FlowCondition.Y6qEYi1T.mjs +0 -102
- package/chunks/FormTemp.BQxO5IQq.mjs +0 -123
- package/chunks/SignalAndMessage.Bb5PFX0N.mjs +0 -85
- package/chunks/UserTaskListeners.Bv3BDfEI.mjs +0 -169
- package/chunks/core.0Exl13Mz.mjs +0 -54
- package/chunks/dictionary.DGt59Ir7.mjs +0 -68
- package/chunks/form-item.LWjePsPa.mjs +0 -233
- package/chunks/sub-table-plus-props.BVsD71hT.mjs +0 -30
- package/chunks/utilSelf.Csq1766E.mjs +0 -48
- package/chunks/utils.DRcxC1Fb.mjs +0 -60
- package/element-listeners/style.css +0 -1
- package/element-multi-instance/style.css +0 -1
package/fy-rate/index.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import l from "element-ui/lib/rate";
|
|
2
|
+
import { p as a, e as t } from "../chunks/event.DSlcqYHL.mjs";
|
|
3
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
+
const n = {
|
|
4
5
|
name: "FyRate",
|
|
5
|
-
mixins: [
|
|
6
|
+
mixins: [a, t],
|
|
6
7
|
props: {
|
|
7
8
|
allowHalf: Boolean,
|
|
8
9
|
lowThreshold: Number,
|
|
@@ -50,22 +51,22 @@ const r = {
|
|
|
50
51
|
},
|
|
51
52
|
methods: {}
|
|
52
53
|
};
|
|
53
|
-
var
|
|
54
|
+
var d = function() {
|
|
54
55
|
var e = this, s = e._self._c;
|
|
55
|
-
return s(
|
|
56
|
+
return s(l, { attrs: { max: e.max, "low-threshold": e.lowThreshold, "high-threshold": e.highThreshold, "disabled-void-color": e.disabledVoidColor, "disabled-void-icon-class": e.disabledVoidIconClass, "allow-half": e.allowHalf, readonly: e.readonly, texts: e.texts, "show-score": e.showScore, "score-template": e.scoreTemplate, "show-text": e.showText, "icon-classes": e.iconClasses, "void-icon-class": e.voidIconClass, disabled: e.disabled, colors: e.colors }, nativeOn: { click: function(o) {
|
|
56
57
|
return e.handleClick.apply(null, arguments);
|
|
57
58
|
} }, model: { value: e.text, callback: function(o) {
|
|
58
59
|
e.text = o;
|
|
59
60
|
}, expression: "text" } });
|
|
60
|
-
},
|
|
61
|
-
r,
|
|
61
|
+
}, i = [], c = /* @__PURE__ */ r(
|
|
62
62
|
n,
|
|
63
63
|
d,
|
|
64
|
+
i,
|
|
64
65
|
!1,
|
|
65
66
|
null,
|
|
66
67
|
null
|
|
67
68
|
);
|
|
68
|
-
const
|
|
69
|
+
const f = c.exports;
|
|
69
70
|
export {
|
|
70
|
-
|
|
71
|
+
f as default
|
|
71
72
|
};
|
package/fy-select/index.mjs
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { p as u } from "../chunks/
|
|
6
|
-
import {
|
|
7
|
-
|
|
1
|
+
import s from "element-ui/lib/option";
|
|
2
|
+
import r from "element-ui/lib/checkbox";
|
|
3
|
+
import c from "element-ui/lib/option-group";
|
|
4
|
+
import d from "element-ui/lib/select";
|
|
5
|
+
import { p, e as u } from "../chunks/event.DSlcqYHL.mjs";
|
|
6
|
+
import { s as f } from "../chunks/dic.BinnDitI.mjs";
|
|
7
|
+
import { D as h } from "../chunks/util.DI42t5GU.mjs";
|
|
8
|
+
import { isBlank as _ } from "@web-utils/core";
|
|
9
|
+
import { p as m } from "../chunks/packages.ByyangTp.mjs";
|
|
10
|
+
import { n as g } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
11
|
+
const y = {
|
|
8
12
|
name: "FySelect",
|
|
9
|
-
mixins: [
|
|
13
|
+
mixins: [p, u],
|
|
10
14
|
props: {
|
|
11
15
|
loadingText: {
|
|
12
16
|
type: String
|
|
@@ -64,7 +68,7 @@ const h = {
|
|
|
64
68
|
},
|
|
65
69
|
watch: {
|
|
66
70
|
text(l) {
|
|
67
|
-
|
|
71
|
+
_(l) || this.remote && !this.created && (this.created = !0, this.handleRemoteMethod(this.multiple ? this.text.join(h) : this.text));
|
|
68
72
|
},
|
|
69
73
|
dic: {
|
|
70
74
|
handler(l) {
|
|
@@ -79,7 +83,7 @@ const h = {
|
|
|
79
83
|
methods: {
|
|
80
84
|
setSort() {
|
|
81
85
|
if (!window.Sortable) {
|
|
82
|
-
|
|
86
|
+
m.logs("Sortable");
|
|
83
87
|
return;
|
|
84
88
|
}
|
|
85
89
|
const l = this.$refs.main.$el.querySelectorAll(".el-select__tags > span")[0];
|
|
@@ -92,7 +96,7 @@ const h = {
|
|
|
92
96
|
});
|
|
93
97
|
},
|
|
94
98
|
handleRemoteMethod(l) {
|
|
95
|
-
this.loading = !0,
|
|
99
|
+
this.loading = !0, f({
|
|
96
100
|
column: this.column,
|
|
97
101
|
value: l
|
|
98
102
|
}).then((e) => {
|
|
@@ -109,30 +113,30 @@ const h = {
|
|
|
109
113
|
}
|
|
110
114
|
}
|
|
111
115
|
};
|
|
112
|
-
var
|
|
116
|
+
var b = function() {
|
|
113
117
|
var e = this, a = e._self._c;
|
|
114
|
-
return a(
|
|
118
|
+
return a(d, { ref: "main", staticClass: "avue-select", attrs: { size: e.size, loading: e.loading, "loading-text": e.loadingText, multiple: e.multiple, filterable: e.remote ? !0 : e.filterable, remote: e.remote, readonly: e.readonly, "no-match-text": e.noMatchText, "no-data-text": e.noDataText, "remote-method": e.remote ? e.handleRemoteMethod : void 0, "popper-class": e.popperClass, "popper-append-to-body": e.popperAppendToBody, "collapse-tags": e.tags, clearable: e.clearableVal, placeholder: e.placeholder, "multiple-limit": e.limit, "allow-create": e.allowCreate, "default-first-option": e.defaultFirstOption, disabled: e.disabled }, on: { focus: e.handleFocus, blur: e.handleBlur, change: e.changeSelect }, nativeOn: { click: function(t) {
|
|
115
119
|
return e.handleClick.apply(null, arguments);
|
|
116
120
|
} }, model: { value: e.text, callback: function(t) {
|
|
117
121
|
e.text = t;
|
|
118
|
-
}, expression: "text" } }, [e.group ? e._l(e.netDic, function(t,
|
|
119
|
-
return a(
|
|
120
|
-
return a(
|
|
122
|
+
}, expression: "text" } }, [e.group ? e._l(e.netDic, function(t, n) {
|
|
123
|
+
return a(c, { key: n, attrs: { label: e.getLabelText(t) } }, e._l(t[e.groupsKey], function(o, i) {
|
|
124
|
+
return a(s, { key: i, attrs: { disabled: o[e.disabledKey], label: e.getLabelText(o), value: o[e.valueKey] } }, [e.$scopedSlots.default ? e._t("default", null, { label: e.labelKey, value: e.valueKey, item: o }) : [a("span", [e._v(e._s(e.getLabelText(o)))]), o[e.descKey] ? a("span", { staticClass: "avue-select__desc" }, [e._v(e._s(o[e.descKey]))]) : e._e()]], 2);
|
|
121
125
|
}), 1);
|
|
122
|
-
}) : [e.all && e.multiple ? a(
|
|
126
|
+
}) : [e.all && e.multiple ? a(r, { staticClass: "avue-select__check", on: { change: e.selectAll }, model: { value: e.checkAll, callback: function(t) {
|
|
123
127
|
e.checkAll = t;
|
|
124
|
-
}, expression: "checkAll" } }, [e._v(" 全选 ")]) : e._e(), e._l(e.netDic, function(t,
|
|
125
|
-
return a(
|
|
128
|
+
}, expression: "checkAll" } }, [e._v(" 全选 ")]) : e._e(), e._l(e.netDic, function(t, n) {
|
|
129
|
+
return a(s, { key: n, attrs: { disabled: t[e.disabledKey], label: e.getLabelText(t), value: t[e.valueKey] } }, [e.$scopedSlots.default ? e._t("default", null, { label: e.labelKey, value: e.valueKey, item: t }) : [a("span", [e._v(e._s(e.getLabelText(t)))]), t[e.descKey] ? a("span", { staticClass: "avue-select__desc" }, [e._v(e._s(t[e.descKey]))]) : e._e()]], 2);
|
|
126
130
|
})]], 2);
|
|
127
|
-
},
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
+
}, v = [], x = /* @__PURE__ */ g(
|
|
132
|
+
y,
|
|
133
|
+
b,
|
|
134
|
+
v,
|
|
131
135
|
!1,
|
|
132
136
|
null,
|
|
133
137
|
null
|
|
134
138
|
);
|
|
135
|
-
const
|
|
139
|
+
const L = x.exports;
|
|
136
140
|
export {
|
|
137
|
-
|
|
141
|
+
L as default
|
|
138
142
|
};
|
package/fy-slider/index.mjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { s as r } from "../chunks/
|
|
3
|
-
import {
|
|
1
|
+
import n from "element-ui/lib/slider";
|
|
2
|
+
import { p as s, e as r } from "../chunks/event.DSlcqYHL.mjs";
|
|
3
|
+
import { s as a } from "../chunks/util.DI42t5GU.mjs";
|
|
4
|
+
import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
5
|
const l = {
|
|
5
6
|
name: "FySlider",
|
|
6
|
-
mixins: [s,
|
|
7
|
+
mixins: [s, r],
|
|
7
8
|
props: {
|
|
8
9
|
step: Number,
|
|
9
10
|
min: Number,
|
|
@@ -20,25 +21,25 @@ const l = {
|
|
|
20
21
|
tooltipClass: String
|
|
21
22
|
},
|
|
22
23
|
methods: {
|
|
23
|
-
setPx:
|
|
24
|
+
setPx: a
|
|
24
25
|
}
|
|
25
26
|
};
|
|
26
|
-
var
|
|
27
|
+
var p = function() {
|
|
27
28
|
var o = this, e = o._self._c;
|
|
28
|
-
return e(
|
|
29
|
+
return e(n, { attrs: { disabled: o.disabled, vertical: o.vertical, height: o.setPx(o.height), step: o.step, min: o.min, max: o.max, range: o.range, "show-stops": o.showStops, "show-tooltip": o.showTooltip, "show-input": o.showInput, "show-input-controls": o.showInputControls, "input-size": o.size, "tooltip-class": o.tooltipClass, marks: o.marks, "format-tooltip": o.formatTooltip }, nativeOn: { click: function(t) {
|
|
29
30
|
return o.handleClick.apply(null, arguments);
|
|
30
31
|
} }, model: { value: o.text, callback: function(t) {
|
|
31
32
|
o.text = t;
|
|
32
33
|
}, expression: "text" } });
|
|
33
|
-
},
|
|
34
|
+
}, m = [], u = /* @__PURE__ */ i(
|
|
34
35
|
l,
|
|
35
|
-
i,
|
|
36
36
|
p,
|
|
37
|
+
m,
|
|
37
38
|
!1,
|
|
38
39
|
null,
|
|
39
40
|
null
|
|
40
41
|
);
|
|
41
|
-
const
|
|
42
|
+
const v = u.exports;
|
|
42
43
|
export {
|
|
43
|
-
|
|
44
|
+
v as default
|
|
44
45
|
};
|
package/fy-switch/index.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import n from "element-ui/lib/switch";
|
|
2
|
+
import { p as a, e as c } from "../chunks/event.DSlcqYHL.mjs";
|
|
3
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
4
|
const l = {
|
|
4
5
|
name: "FySwitch",
|
|
5
|
-
mixins: [a,
|
|
6
|
+
mixins: [a, c],
|
|
6
7
|
props: {
|
|
7
8
|
// eslint-disable-next-line vue/no-unused-properties
|
|
8
9
|
value: [String, Object, Number, Boolean, Array],
|
|
@@ -21,22 +22,22 @@ const l = {
|
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
};
|
|
24
|
-
var
|
|
25
|
+
var o = function() {
|
|
25
26
|
var e = this, i = e._self._c;
|
|
26
|
-
return i(
|
|
27
|
+
return i(n, { attrs: { "active-text": e.active[e.labelKey], "active-value": e.active[e.valueKey], "inactive-value": e.inactive[e.valueKey], "inactive-text": e.inactive[e.labelKey], "active-icon-class": e.activeIconClass, "inactive-icon-class": e.inactiveIconClass, "active-color": e.activeColor, "inactive-color": e.inactiveColor, width: e.len, disabled: e.disabled, readonly: e.readonly, size: e.size }, nativeOn: { click: function(t) {
|
|
27
28
|
return e.handleClick.apply(null, arguments);
|
|
28
29
|
} }, model: { value: e.text, callback: function(t) {
|
|
29
30
|
e.text = t;
|
|
30
31
|
}, expression: "text" } });
|
|
31
|
-
},
|
|
32
|
+
}, s = [], v = /* @__PURE__ */ r(
|
|
32
33
|
l,
|
|
33
|
-
r,
|
|
34
34
|
o,
|
|
35
|
+
s,
|
|
35
36
|
!1,
|
|
36
37
|
null,
|
|
37
38
|
null
|
|
38
39
|
);
|
|
39
|
-
const
|
|
40
|
+
const d = v.exports;
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
d as default
|
|
42
43
|
};
|
package/fy-tabs/index.mjs
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import s from "element-ui/lib/tab-pane";
|
|
2
|
+
import i from "element-ui/lib/tabs";
|
|
3
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
+
const c = {
|
|
3
5
|
name: "FyTabs",
|
|
4
6
|
props: {
|
|
5
7
|
option: {
|
|
@@ -18,29 +20,29 @@ const o = {
|
|
|
18
20
|
}
|
|
19
21
|
},
|
|
20
22
|
methods: {
|
|
21
|
-
changeTabs(
|
|
22
|
-
this.active = `${
|
|
23
|
+
changeTabs(a) {
|
|
24
|
+
this.active = `${a}`;
|
|
23
25
|
}
|
|
24
26
|
}
|
|
25
27
|
};
|
|
26
|
-
var
|
|
27
|
-
var t = this,
|
|
28
|
-
return
|
|
28
|
+
var l = function() {
|
|
29
|
+
var t = this, n = t._self._c;
|
|
30
|
+
return n("div", { staticClass: "avue-tabs" }, [n(i, { attrs: { "tab-position": t.option.position, type: t.option.type }, model: { value: t.active, callback: function(e) {
|
|
29
31
|
t.active = e;
|
|
30
|
-
}, expression: "active" } }, t._l(t.option.tabs, function(e,
|
|
31
|
-
return
|
|
32
|
-
return [
|
|
32
|
+
}, expression: "active" } }, t._l(t.option.tabs, function(e, o) {
|
|
33
|
+
return n(s, { key: e.label, attrs: { name: `${o}`, disabled: e.disabled }, scopedSlots: t._u([{ key: "label", fn: function() {
|
|
34
|
+
return [n("span", [n("i", { class: e.icon }), t._v(" " + t._s(e.label) + " ")])];
|
|
33
35
|
}, proxy: !0 }], null, !0) });
|
|
34
36
|
}), 1)], 1);
|
|
35
|
-
},
|
|
36
|
-
o,
|
|
37
|
-
r,
|
|
37
|
+
}, p = [], _ = /* @__PURE__ */ r(
|
|
38
38
|
c,
|
|
39
|
+
l,
|
|
40
|
+
p,
|
|
39
41
|
!1,
|
|
40
42
|
null,
|
|
41
43
|
null
|
|
42
44
|
);
|
|
43
|
-
const
|
|
45
|
+
const f = _.exports;
|
|
44
46
|
export {
|
|
45
|
-
|
|
47
|
+
f as default
|
|
46
48
|
};
|
package/fy-time/index.mjs
CHANGED
package/fy-title/index.mjs
CHANGED
package/fy-tree/index.mjs
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import { F as h } from "../chunks/FyForm.DriwCJ7b.mjs";
|
|
2
|
+
import p from "../element-dialog/index.mjs";
|
|
3
|
+
import u from "element-ui/lib/tree";
|
|
4
|
+
import f from "element-ui/lib/scrollbar";
|
|
5
|
+
import m from "element-ui/lib/button";
|
|
6
|
+
import y from "element-ui/lib/input";
|
|
7
|
+
import { o as l, k as r, s as d } from "../chunks/util.DI42t5GU.mjs";
|
|
8
|
+
import { p as _ } from "../chunks/permission.CO31YIkD.mjs";
|
|
9
|
+
import { isBlank as v } from "@web-utils/core";
|
|
10
|
+
import { n as k } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
11
|
+
const b = {
|
|
6
12
|
name: "FyTree",
|
|
7
13
|
directives: {
|
|
8
|
-
permission:
|
|
14
|
+
permission: _
|
|
9
15
|
},
|
|
10
16
|
props: {
|
|
11
17
|
indent: Number,
|
|
@@ -152,7 +158,7 @@ const f = {
|
|
|
152
158
|
return l(this.option[`${t}Text`], t);
|
|
153
159
|
},
|
|
154
160
|
getPermission(t) {
|
|
155
|
-
return typeof this.permission == "function" ? this.permission(t, this.node.data || {}) :
|
|
161
|
+
return typeof this.permission == "function" ? this.permission(t, this.node.data || {}) : v(this.permission[t]) ? !0 : this.permission[t];
|
|
156
162
|
},
|
|
157
163
|
initFun() {
|
|
158
164
|
[
|
|
@@ -257,30 +263,30 @@ const f = {
|
|
|
257
263
|
}
|
|
258
264
|
}
|
|
259
265
|
};
|
|
260
|
-
var
|
|
266
|
+
var C = function() {
|
|
261
267
|
var e = this, i = e._self._c;
|
|
262
|
-
return i("div", { staticClass: "avue-tree" }, [e.optVal(e.option.filter, !0) ? i("div", { staticClass: "avue-tree__filter" }, [i(
|
|
268
|
+
return i("div", { staticClass: "avue-tree" }, [e.optVal(e.option.filter, !0) ? i("div", { staticClass: "avue-tree__filter" }, [i(y, { attrs: { placeholder: e.optVal(e.option.filterText, "输入关键字进行过滤"), size: e.size }, model: { value: e.filterValue, callback: function(n) {
|
|
263
269
|
e.filterValue = n;
|
|
264
|
-
}, expression: "filterValue" } }), e.optVal(e.option.addBtn, !0) ? i(
|
|
270
|
+
}, expression: "filterValue" } }), e.optVal(e.option.addBtn, !0) ? i(m, { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("addBtn"), expression: "getPermission('addBtn')" }], attrs: { size: e.size, icon: "el-icon-plus" }, on: { click: e.parentAdd } }) : e._t("addBtn")], 2) : e._e(), i(f, { staticClass: "avue-tree__content" }, [i(u, { directives: [{ name: "loading", rawName: "v-loading", value: e.loading, expression: "loading" }], ref: "tree", attrs: { data: e.data, lazy: e.lazy, load: e.treeLoad, props: e.treeProps, "icon-class": e.iconClass, indent: e.indent, "highlight-current": !e.multiple, "show-checkbox": e.multiple, accordion: e.accordion, "node-key": e.valueKey, "check-strictly": e.checkStrictly, "check-on-click-node": e.checkOnClickNode, "filter-node-method": e.filterNode, "expand-on-click-node": e.expandOnClickNode, "default-expand-all": e.defaultExpandAll, "default-expanded-keys": e.defaultExpandedKeys }, on: { "check-change": e.handleCheckChange, "node-click": e.nodeClick, "node-contextmenu": e.nodeContextmenu }, scopedSlots: e._u([{ key: "default", fn: function({ node: n, data: o }) {
|
|
265
271
|
return [e._t("default", function() {
|
|
266
272
|
return [i("span", { staticClass: "el-tree-node__label" }, [i("span", [e._v(e._s(n.label))])])];
|
|
267
273
|
}, { node: n, data: o })];
|
|
268
274
|
} }], null, !0) })], 1), e.client.show && e.menu ? i("div", { staticClass: "el-cascader-panel is-bordered avue-tree__menu", style: e.styleName, on: { click: function(n) {
|
|
269
275
|
e.client.show = !1;
|
|
270
|
-
} } }, [e.optVal(e.option.addBtn, !0) ? i("div", { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("addBtn"), expression: "getPermission('addBtn')" }], staticClass: "avue-tree__item", on: { click: e.rowAdd } }, [e._v(" " + e._s(e.menuIcon("addBtn")) + " ")]) : e._e(), e.optVal(e.option.editBtn, !0) ? i("div", { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("editBtn"), expression: "getPermission('editBtn')" }], staticClass: "avue-tree__item", on: { click: e.rowEdit } }, [e._v(" " + e._s(e.menuIcon("editBtn")) + " ")]) : e._e(), e.optVal(e.option.delBtn, !0) ? i("div", { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("delBtn"), expression: "getPermission('delBtn')" }], staticClass: "avue-tree__item", on: { click: e.rowRemove } }, [e._v(" " + e._s(e.menuIcon("delBtn")) + " ")]) : e._e(), e._t("menu", null, { node: e.node })], 2) : e._e(), e.box ? i("div", [i(
|
|
276
|
+
} } }, [e.optVal(e.option.addBtn, !0) ? i("div", { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("addBtn"), expression: "getPermission('addBtn')" }], staticClass: "avue-tree__item", on: { click: e.rowAdd } }, [e._v(" " + e._s(e.menuIcon("addBtn")) + " ")]) : e._e(), e.optVal(e.option.editBtn, !0) ? i("div", { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("editBtn"), expression: "getPermission('editBtn')" }], staticClass: "avue-tree__item", on: { click: e.rowEdit } }, [e._v(" " + e._s(e.menuIcon("editBtn")) + " ")]) : e._e(), e.optVal(e.option.delBtn, !0) ? i("div", { directives: [{ name: "permission", rawName: "v-permission", value: e.getPermission("delBtn"), expression: "getPermission('delBtn')" }], staticClass: "avue-tree__item", on: { click: e.rowRemove } }, [e._v(" " + e._s(e.menuIcon("delBtn")) + " ")]) : e._e(), e._t("menu", null, { node: e.node })], 2) : e._e(), e.box ? i("div", [i(p, { attrs: { title: e.node[e.labelKey] || e.title, visible: e.box, "before-close": e.hide, width: e.optVal(e.option.dialogWidth, "50%") }, on: { "update:visible": function(n) {
|
|
271
277
|
e.box = n;
|
|
272
|
-
} } }, [i(
|
|
278
|
+
} } }, [i(h, { ref: "form", attrs: { option: e.formOption }, on: { submit: e.handleSubmit }, model: { value: e.form, callback: function(n) {
|
|
273
279
|
e.form = n;
|
|
274
280
|
}, expression: "form" } })], 1)], 1) : e._e()], 1);
|
|
275
|
-
},
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
281
|
+
}, g = [], x = /* @__PURE__ */ k(
|
|
282
|
+
b,
|
|
283
|
+
C,
|
|
284
|
+
g,
|
|
279
285
|
!1,
|
|
280
286
|
null,
|
|
281
287
|
null
|
|
282
288
|
);
|
|
283
|
-
const
|
|
289
|
+
const E = x.exports;
|
|
284
290
|
export {
|
|
285
|
-
|
|
291
|
+
E as default
|
|
286
292
|
};
|
package/fy-u-editor/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@wangeditor/editor/dist/css/style.css";
|
|
2
2
|
import { createEditor as u, createToolbar as f } from "@wangeditor/editor";
|
|
3
|
-
import { p } from "../chunks/util.
|
|
3
|
+
import { g as p } from "../chunks/util.DI42t5GU.mjs";
|
|
4
4
|
import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
5
|
const y = (e) => {
|
|
6
6
|
const { region: i, endpoint: r, accessKeyId: o, accessKeySecret: t, bucket: a } = e;
|