@web-utils/component 4.0.15 → 4.0.16
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 +13 -15
- package/card/index.mjs +18 -20
- package/carousel/index.mjs +10 -12
- package/chat/index.mjs +45 -56
- package/chunk-file-uploader/index.mjs +36 -378
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/ElementBaseInfo.ZADwixb5.mjs +125 -0
- package/chunks/ElementForm.CQ3PN5qj.mjs +223 -0
- package/chunks/ElementListeners.De_PRuIm.mjs +215 -0
- package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +181 -0
- package/chunks/ElementOtherConfig.B1NfMTYh.mjs +60 -0
- package/chunks/ElementProperties.CosfDrlW.mjs +112 -0
- package/chunks/{ElementTaskConfig.AvBOzAni.mjs → ElementTaskConfig.Bko0kgTp.mjs} +55 -63
- package/chunks/FlowCondition.Y6qEYi1T.mjs +102 -0
- package/chunks/FormTemp.BQxO5IQq.mjs +123 -0
- package/chunks/SignalAndMessage.Bb5PFX0N.mjs +85 -0
- package/chunks/UserTaskListeners.Bv3BDfEI.mjs +169 -0
- package/chunks/{confirmable-mixin.BFZb6pcK.mjs → confirmable-mixin.B2TtLAdk.mjs} +1 -1
- package/chunks/core.0Exl13Mz.mjs +54 -0
- package/chunks/{dataformat.DJoNBlmI.mjs → dataformat.CpqOeGBl.mjs} +6 -6
- package/chunks/{dic.BinnDitI.mjs → dic.Dkl-leRW.mjs} +9 -9
- package/chunks/dictionary.DGt59Ir7.mjs +68 -0
- package/chunks/{event.DSlcqYHL.mjs → event.9aDS6jcw.mjs} +2 -2
- package/chunks/{form-input.BtS_J5a2.mjs → form-input.CvFdwlEV.mjs} +2 -2
- package/chunks/form-item.LWjePsPa.mjs +233 -0
- package/chunks/{index.CIfe3UB3.mjs → index.9OxHjTIE.mjs} +2 -2
- package/chunks/{index.Cn7aq-Et.mjs → index.B2TRddqf.mjs} +8 -8
- package/chunks/{init.xOlFpTyZ.mjs → init.DAsXSoLW.mjs} +2 -2
- package/chunks/sub-table-plus-props.BVsD71hT.mjs +30 -0
- package/chunks/{util.DI42t5GU.mjs → util.DqFv_pWg.mjs} +22 -22
- package/chunks/utilSelf.Csq1766E.mjs +48 -0
- package/chunks/utils.DRcxC1Fb.mjs +60 -0
- package/color-picker/index.mjs +22 -101
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/data-box/index.mjs +12 -15
- package/data-card/index.mjs +10 -12
- package/data-card-text/index.mjs +10 -12
- package/data-display/index.mjs +15 -17
- package/data-icons/index.mjs +13 -16
- package/data-imgtext/index.mjs +15 -18
- package/data-operatext/index.mjs +14 -16
- package/data-panel/index.mjs +13 -16
- package/data-pay/index.mjs +16 -20
- package/data-price/index.mjs +14 -16
- package/data-progress/index.mjs +13 -17
- package/data-rotate/index.mjs +12 -15
- package/data-table-picker/index.mjs +15 -18
- package/data-tabs/index.mjs +12 -15
- package/dialog-form/index.mjs +16 -18
- package/dynamic-table/index.mjs +25 -30
- package/editable-progress/index.mjs +9 -11
- package/editable-tree/index.mjs +52 -56
- package/egd-collapse-item/index.mjs +9 -9
- package/element-dialog/index.mjs +22 -23
- package/element-listeners/style.css +1 -0
- package/element-multi-instance/style.css +1 -0
- 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 +10 -11
- package/flow-designer/index.mjs +699 -1973
- 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 +32 -34
- package/form-cascader/index.mjs +23 -24
- package/form-checkbox/index.mjs +16 -17
- package/form-checkbox-group/index.mjs +20 -23
- package/form-date-picker/index.mjs +18 -20
- package/form-holder/index.mjs +13 -14
- package/form-input/index.mjs +14 -15
- package/form-input-cron-expression/index.mjs +19 -22
- package/form-input-email/index.mjs +15 -16
- package/form-input-id-card/index.mjs +12 -13
- package/form-input-number/index.mjs +16 -17
- package/form-input-phone-number/index.mjs +21 -22
- package/form-input-tag/index.mjs +14 -15
- package/form-input-time/index.mjs +14 -15
- package/form-item/index.mjs +140 -3
- package/form-item-group/index.mjs +28 -31
- package/form-radio-group/index.mjs +27 -28
- package/form-select/index.mjs +21 -23
- package/form-switch/index.mjs +16 -17
- package/form-table/index.mjs +16 -17
- package/form-table-plus/index.mjs +21 -22
- package/form-textarea/index.mjs +15 -16
- package/form-tree-select/index.mjs +14 -15
- package/form-tree-select-multiple/index.mjs +14 -15
- package/form-view/index.mjs +35 -39
- package/fy-array/index.mjs +33 -37
- package/fy-cascader/index.mjs +16 -17
- package/fy-checkbox/index.mjs +11 -13
- package/fy-code/index.mjs +10 -10
- package/fy-curd/index.mjs +1128 -1152
- package/fy-date/index.mjs +10 -11
- package/fy-draggable/index.mjs +9 -10
- package/fy-dynamic/index.mjs +22 -25
- package/fy-empty/index.mjs +1 -1
- package/fy-form/index.mjs +638 -15
- package/fy-form-design/index.mjs +1307 -1345
- package/fy-from/crud/zh.d.ts +6 -6
- package/fy-input/index.mjs +12 -14
- package/fy-input-color/index.mjs +13 -15
- package/fy-input-icon/index.mjs +20 -23
- package/fy-input-map/index.mjs +28 -31
- package/fy-input-number/index.mjs +9 -10
- package/fy-input-table/index.mjs +18 -22
- package/fy-input-tree/index.mjs +33 -37
- package/fy-progress/index.mjs +9 -10
- package/fy-radio/index.mjs +15 -16
- package/fy-rate/index.mjs +10 -11
- package/fy-select/index.mjs +25 -29
- package/fy-slider/index.mjs +11 -12
- package/fy-switch/index.mjs +9 -10
- package/fy-tabs/index.mjs +15 -17
- package/fy-time/index.mjs +1 -1
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +18 -24
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.mjs +74 -76
- package/guide-steps/index.mjs +11 -13
- package/iframe-window/index.mjs +9 -10
- package/image-cropper/index.mjs +28 -30
- package/image-preview/index.mjs +12 -14
- package/index.mjs +72 -72
- package/input-number/index.mjs +13 -14
- package/input-number-range/index.mjs +11 -12
- package/license/index.mjs +1 -1
- package/login/index.mjs +21 -26
- package/nav-bar/index.mjs +9 -10
- package/notice/index.mjs +9 -10
- package/package.json +1 -1
- package/page-index/index.mjs +12 -13
- package/page-index-top/index.mjs +23 -28
- package/page-skeleton/index.mjs +14 -14
- package/page-skeleton-new/index.mjs +8 -9
- package/pageable-table/index.mjs +172 -182
- package/pageable-view/index.mjs +15 -16
- package/picker-table-view/index.mjs +49 -58
- package/present-view/index.mjs +35 -39
- package/record-video/index.mjs +1 -1
- package/resize-observer/index.mjs +1 -1
- package/search/index.mjs +20 -22
- package/search-popover/index.mjs +1 -1
- package/sign/index.mjs +1 -1
- package/skeleton-panel/index.mjs +9 -10
- package/split-pane/index.mjs +36 -37
- package/static-pageable-table/index.mjs +11 -13
- package/sub-table/index.mjs +36 -49
- package/sub-table-plus/index.mjs +229 -18
- package/swiper/index.mjs +11 -12
- package/table-column/index.mjs +223 -3
- package/table-view/index.mjs +52 -60
- package/tabs-view/index.mjs +17 -19
- package/tag-render/index.mjs +16 -18
- package/text-ellipsis/index.mjs +9 -10
- package/toolbar/index.mjs +13 -14
- package/toolbar-button/index.mjs +13 -14
- package/verify/index.mjs +1 -1
- package/vue-cron/index.mjs +259 -267
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +21 -24
- package/chunks/FormItem.Bhsy_O2B.mjs +0 -372
- package/chunks/FyForm.DriwCJ7b.mjs +0 -765
- package/chunks/SignalAndMessage.BpjOoKhK.mjs +0 -92
- package/chunks/SubTablePlus.BH0IIv3X.mjs +0 -270
- package/chunks/TableColumn.BzivvXMF.mjs +0 -337
package/fy-rate/index.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import l from "
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
const n = {
|
|
1
|
+
import { p as l, e as a } from "../chunks/event.9aDS6jcw.mjs";
|
|
2
|
+
import { n as t } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
+
const r = {
|
|
5
4
|
name: "FyRate",
|
|
6
|
-
mixins: [
|
|
5
|
+
mixins: [l, a],
|
|
7
6
|
props: {
|
|
8
7
|
allowHalf: Boolean,
|
|
9
8
|
lowThreshold: Number,
|
|
@@ -51,22 +50,22 @@ const n = {
|
|
|
51
50
|
},
|
|
52
51
|
methods: {}
|
|
53
52
|
};
|
|
54
|
-
var
|
|
53
|
+
var n = function() {
|
|
55
54
|
var e = this, s = e._self._c;
|
|
56
|
-
return s(
|
|
55
|
+
return s("ElRate", { 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) {
|
|
57
56
|
return e.handleClick.apply(null, arguments);
|
|
58
57
|
} }, model: { value: e.text, callback: function(o) {
|
|
59
58
|
e.text = o;
|
|
60
59
|
}, expression: "text" } });
|
|
61
|
-
},
|
|
60
|
+
}, d = [], i = /* @__PURE__ */ t(
|
|
61
|
+
r,
|
|
62
62
|
n,
|
|
63
63
|
d,
|
|
64
|
-
i,
|
|
65
64
|
!1,
|
|
66
65
|
null,
|
|
67
66
|
null
|
|
68
67
|
);
|
|
69
|
-
const
|
|
68
|
+
const p = i.exports;
|
|
70
69
|
export {
|
|
71
|
-
|
|
70
|
+
p as default
|
|
72
71
|
};
|
package/fy-select/index.mjs
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { p
|
|
6
|
-
import {
|
|
7
|
-
|
|
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 = {
|
|
1
|
+
import { p as i, e as r } from "../chunks/event.9aDS6jcw.mjs";
|
|
2
|
+
import { s as c } from "../chunks/dic.Dkl-leRW.mjs";
|
|
3
|
+
import { b as d } from "../chunks/util.DqFv_pWg.mjs";
|
|
4
|
+
import { isBlank as p } from "@web-utils/core";
|
|
5
|
+
import { p as u } from "../chunks/packages.ByyangTp.mjs";
|
|
6
|
+
import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
7
|
+
const h = {
|
|
12
8
|
name: "FySelect",
|
|
13
|
-
mixins: [
|
|
9
|
+
mixins: [i, r],
|
|
14
10
|
props: {
|
|
15
11
|
loadingText: {
|
|
16
12
|
type: String
|
|
@@ -68,7 +64,7 @@ const y = {
|
|
|
68
64
|
},
|
|
69
65
|
watch: {
|
|
70
66
|
text(l) {
|
|
71
|
-
|
|
67
|
+
p(l) || this.remote && !this.created && (this.created = !0, this.handleRemoteMethod(this.multiple ? this.text.join(d) : this.text));
|
|
72
68
|
},
|
|
73
69
|
dic: {
|
|
74
70
|
handler(l) {
|
|
@@ -83,7 +79,7 @@ const y = {
|
|
|
83
79
|
methods: {
|
|
84
80
|
setSort() {
|
|
85
81
|
if (!window.Sortable) {
|
|
86
|
-
|
|
82
|
+
u.logs("Sortable");
|
|
87
83
|
return;
|
|
88
84
|
}
|
|
89
85
|
const l = this.$refs.main.$el.querySelectorAll(".el-select__tags > span")[0];
|
|
@@ -96,7 +92,7 @@ const y = {
|
|
|
96
92
|
});
|
|
97
93
|
},
|
|
98
94
|
handleRemoteMethod(l) {
|
|
99
|
-
this.loading = !0,
|
|
95
|
+
this.loading = !0, c({
|
|
100
96
|
column: this.column,
|
|
101
97
|
value: l
|
|
102
98
|
}).then((e) => {
|
|
@@ -113,30 +109,30 @@ const y = {
|
|
|
113
109
|
}
|
|
114
110
|
}
|
|
115
111
|
};
|
|
116
|
-
var
|
|
112
|
+
var m = function() {
|
|
117
113
|
var e = this, a = e._self._c;
|
|
118
|
-
return a(
|
|
114
|
+
return a("ElSelect", { 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) {
|
|
119
115
|
return e.handleClick.apply(null, arguments);
|
|
120
116
|
} }, model: { value: e.text, callback: function(t) {
|
|
121
117
|
e.text = t;
|
|
122
|
-
}, expression: "text" } }, [e.group ? e._l(e.netDic, function(t,
|
|
123
|
-
return a(
|
|
124
|
-
return a(
|
|
118
|
+
}, expression: "text" } }, [e.group ? e._l(e.netDic, function(t, o) {
|
|
119
|
+
return a("ElOptionGroup", { key: o, attrs: { label: e.getLabelText(t) } }, e._l(t[e.groupsKey], function(s, n) {
|
|
120
|
+
return a("ElOption", { key: n, attrs: { disabled: s[e.disabledKey], label: e.getLabelText(s), value: s[e.valueKey] } }, [e.$scopedSlots.default ? e._t("default", null, { label: e.labelKey, value: e.valueKey, item: s }) : [a("span", [e._v(e._s(e.getLabelText(s)))]), s[e.descKey] ? a("span", { staticClass: "avue-select__desc" }, [e._v(e._s(s[e.descKey]))]) : e._e()]], 2);
|
|
125
121
|
}), 1);
|
|
126
|
-
}) : [e.all && e.multiple ? a(
|
|
122
|
+
}) : [e.all && e.multiple ? a("ElCheckbox", { staticClass: "avue-select__check", on: { change: e.selectAll }, model: { value: e.checkAll, callback: function(t) {
|
|
127
123
|
e.checkAll = t;
|
|
128
|
-
}, expression: "checkAll" } }, [e._v(" 全选 ")]) : e._e(), e._l(e.netDic, function(t,
|
|
129
|
-
return a(
|
|
124
|
+
}, expression: "checkAll" } }, [e._v(" 全选 ")]) : e._e(), e._l(e.netDic, function(t, o) {
|
|
125
|
+
return a("ElOption", { key: o, 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);
|
|
130
126
|
})]], 2);
|
|
131
|
-
},
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
127
|
+
}, _ = [], y = /* @__PURE__ */ f(
|
|
128
|
+
h,
|
|
129
|
+
m,
|
|
130
|
+
_,
|
|
135
131
|
!1,
|
|
136
132
|
null,
|
|
137
133
|
null
|
|
138
134
|
);
|
|
139
|
-
const
|
|
135
|
+
const K = y.exports;
|
|
140
136
|
export {
|
|
141
|
-
|
|
137
|
+
K as default
|
|
142
138
|
};
|
package/fy-slider/index.mjs
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import n from "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
1
|
+
import { p as s, e as n } from "../chunks/event.9aDS6jcw.mjs";
|
|
2
|
+
import { s as r } from "../chunks/util.DqFv_pWg.mjs";
|
|
3
|
+
import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
4
|
const l = {
|
|
6
5
|
name: "FySlider",
|
|
7
|
-
mixins: [s,
|
|
6
|
+
mixins: [s, n],
|
|
8
7
|
props: {
|
|
9
8
|
step: Number,
|
|
10
9
|
min: Number,
|
|
@@ -21,25 +20,25 @@ const l = {
|
|
|
21
20
|
tooltipClass: String
|
|
22
21
|
},
|
|
23
22
|
methods: {
|
|
24
|
-
setPx:
|
|
23
|
+
setPx: r
|
|
25
24
|
}
|
|
26
25
|
};
|
|
27
|
-
var
|
|
26
|
+
var i = function() {
|
|
28
27
|
var o = this, e = o._self._c;
|
|
29
|
-
return e(
|
|
28
|
+
return e("ElSlider", { 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) {
|
|
30
29
|
return o.handleClick.apply(null, arguments);
|
|
31
30
|
} }, model: { value: o.text, callback: function(t) {
|
|
32
31
|
o.text = t;
|
|
33
32
|
}, expression: "text" } });
|
|
34
|
-
},
|
|
33
|
+
}, p = [], m = /* @__PURE__ */ a(
|
|
35
34
|
l,
|
|
35
|
+
i,
|
|
36
36
|
p,
|
|
37
|
-
m,
|
|
38
37
|
!1,
|
|
39
38
|
null,
|
|
40
39
|
null
|
|
41
40
|
);
|
|
42
|
-
const
|
|
41
|
+
const d = m.exports;
|
|
43
42
|
export {
|
|
44
|
-
|
|
43
|
+
d as default
|
|
45
44
|
};
|
package/fy-switch/index.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import n from "
|
|
2
|
-
import {
|
|
3
|
-
import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
1
|
+
import { p as a, e as n } from "../chunks/event.9aDS6jcw.mjs";
|
|
2
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
3
|
const l = {
|
|
5
4
|
name: "FySwitch",
|
|
6
|
-
mixins: [a,
|
|
5
|
+
mixins: [a, n],
|
|
7
6
|
props: {
|
|
8
7
|
// eslint-disable-next-line vue/no-unused-properties
|
|
9
8
|
value: [String, Object, Number, Boolean, Array],
|
|
@@ -22,22 +21,22 @@ const l = {
|
|
|
22
21
|
}
|
|
23
22
|
}
|
|
24
23
|
};
|
|
25
|
-
var
|
|
24
|
+
var r = function() {
|
|
26
25
|
var e = this, i = e._self._c;
|
|
27
|
-
return i(
|
|
26
|
+
return i("ElSwitch", { 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) {
|
|
28
27
|
return e.handleClick.apply(null, arguments);
|
|
29
28
|
} }, model: { value: e.text, callback: function(t) {
|
|
30
29
|
e.text = t;
|
|
31
30
|
}, expression: "text" } });
|
|
32
|
-
},
|
|
31
|
+
}, o = [], s = /* @__PURE__ */ c(
|
|
33
32
|
l,
|
|
33
|
+
r,
|
|
34
34
|
o,
|
|
35
|
-
s,
|
|
36
35
|
!1,
|
|
37
36
|
null,
|
|
38
37
|
null
|
|
39
38
|
);
|
|
40
|
-
const
|
|
39
|
+
const m = s.exports;
|
|
41
40
|
export {
|
|
42
|
-
|
|
41
|
+
m as default
|
|
43
42
|
};
|
package/fy-tabs/index.mjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
-
const c = {
|
|
1
|
+
import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const o = {
|
|
5
3
|
name: "FyTabs",
|
|
6
4
|
props: {
|
|
7
5
|
option: {
|
|
@@ -20,29 +18,29 @@ const c = {
|
|
|
20
18
|
}
|
|
21
19
|
},
|
|
22
20
|
methods: {
|
|
23
|
-
changeTabs(
|
|
24
|
-
this.active = `${
|
|
21
|
+
changeTabs(n) {
|
|
22
|
+
this.active = `${n}`;
|
|
25
23
|
}
|
|
26
24
|
}
|
|
27
25
|
};
|
|
28
|
-
var
|
|
29
|
-
var t = this,
|
|
30
|
-
return
|
|
26
|
+
var r = function() {
|
|
27
|
+
var t = this, a = t._self._c;
|
|
28
|
+
return a("div", { staticClass: "avue-tabs" }, [a("ElTabs", { attrs: { "tab-position": t.option.position, type: t.option.type }, model: { value: t.active, callback: function(e) {
|
|
31
29
|
t.active = e;
|
|
32
|
-
}, expression: "active" } }, t._l(t.option.tabs, function(e,
|
|
33
|
-
return
|
|
34
|
-
return [
|
|
30
|
+
}, expression: "active" } }, t._l(t.option.tabs, function(e, s) {
|
|
31
|
+
return a("ElTabPane", { key: e.label, attrs: { name: `${s}`, disabled: e.disabled }, scopedSlots: t._u([{ key: "label", fn: function() {
|
|
32
|
+
return [a("span", [a("i", { class: e.icon }), t._v(" " + t._s(e.label) + " ")])];
|
|
35
33
|
}, proxy: !0 }], null, !0) });
|
|
36
34
|
}), 1)], 1);
|
|
37
|
-
},
|
|
35
|
+
}, c = [], l = /* @__PURE__ */ i(
|
|
36
|
+
o,
|
|
37
|
+
r,
|
|
38
38
|
c,
|
|
39
|
-
l,
|
|
40
|
-
p,
|
|
41
39
|
!1,
|
|
42
40
|
null,
|
|
43
41
|
null
|
|
44
42
|
);
|
|
45
|
-
const
|
|
43
|
+
const u = l.exports;
|
|
46
44
|
export {
|
|
47
|
-
|
|
45
|
+
u as default
|
|
48
46
|
};
|
package/fy-time/index.mjs
CHANGED
package/fy-title/index.mjs
CHANGED
package/fy-tree/index.mjs
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import p from "../
|
|
3
|
-
import u from "
|
|
4
|
-
import
|
|
5
|
-
|
|
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 = {
|
|
1
|
+
import { o as l, D as r, s as d } from "../chunks/util.DqFv_pWg.mjs";
|
|
2
|
+
import { p as h } from "../chunks/permission.CO31YIkD.mjs";
|
|
3
|
+
import { isBlank as u } from "@web-utils/core";
|
|
4
|
+
import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
+
const f = {
|
|
12
6
|
name: "FyTree",
|
|
13
7
|
directives: {
|
|
14
|
-
permission:
|
|
8
|
+
permission: h
|
|
15
9
|
},
|
|
16
10
|
props: {
|
|
17
11
|
indent: Number,
|
|
@@ -158,7 +152,7 @@ const b = {
|
|
|
158
152
|
return l(this.option[`${t}Text`], t);
|
|
159
153
|
},
|
|
160
154
|
getPermission(t) {
|
|
161
|
-
return typeof this.permission == "function" ? this.permission(t, this.node.data || {}) :
|
|
155
|
+
return typeof this.permission == "function" ? this.permission(t, this.node.data || {}) : u(this.permission[t]) ? !0 : this.permission[t];
|
|
162
156
|
},
|
|
163
157
|
initFun() {
|
|
164
158
|
[
|
|
@@ -263,30 +257,30 @@ const b = {
|
|
|
263
257
|
}
|
|
264
258
|
}
|
|
265
259
|
};
|
|
266
|
-
var
|
|
260
|
+
var m = function() {
|
|
267
261
|
var e = this, i = e._self._c;
|
|
268
|
-
return i("div", { staticClass: "avue-tree" }, [e.optVal(e.option.filter, !0) ? i("div", { staticClass: "avue-tree__filter" }, [i(
|
|
262
|
+
return i("div", { staticClass: "avue-tree" }, [e.optVal(e.option.filter, !0) ? i("div", { staticClass: "avue-tree__filter" }, [i("ElInput", { attrs: { placeholder: e.optVal(e.option.filterText, "输入关键字进行过滤"), size: e.size }, model: { value: e.filterValue, callback: function(n) {
|
|
269
263
|
e.filterValue = n;
|
|
270
|
-
}, expression: "filterValue" } }), e.optVal(e.option.addBtn, !0) ? i(
|
|
264
|
+
}, expression: "filterValue" } }), e.optVal(e.option.addBtn, !0) ? i("ElButton", { 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("ElScrollbar", { staticClass: "avue-tree__content" }, [i("ElTree", { 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 }) {
|
|
271
265
|
return [e._t("default", function() {
|
|
272
266
|
return [i("span", { staticClass: "el-tree-node__label" }, [i("span", [e._v(e._s(n.label))])])];
|
|
273
267
|
}, { node: n, data: o })];
|
|
274
268
|
} }], 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) {
|
|
275
269
|
e.client.show = !1;
|
|
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(
|
|
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("ElementDialog", { 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) {
|
|
277
271
|
e.box = n;
|
|
278
|
-
} } }, [i(
|
|
272
|
+
} } }, [i("FyForm", { ref: "form", attrs: { option: e.formOption }, on: { submit: e.handleSubmit }, model: { value: e.form, callback: function(n) {
|
|
279
273
|
e.form = n;
|
|
280
274
|
}, expression: "form" } })], 1)], 1) : e._e()], 1);
|
|
281
|
-
},
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
275
|
+
}, y = [], v = /* @__PURE__ */ p(
|
|
276
|
+
f,
|
|
277
|
+
m,
|
|
278
|
+
y,
|
|
285
279
|
!1,
|
|
286
280
|
null,
|
|
287
281
|
null
|
|
288
282
|
);
|
|
289
|
-
const
|
|
283
|
+
const x = v.exports;
|
|
290
284
|
export {
|
|
291
|
-
|
|
285
|
+
x as default
|
|
292
286
|
};
|
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 {
|
|
3
|
+
import { p } from "../chunks/util.DqFv_pWg.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;
|