@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-input/index.mjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import r from "element-ui/lib/button";
|
|
2
|
+
import o from "element-ui/lib/input";
|
|
3
|
+
import { p, e as a } from "../chunks/event.DSlcqYHL.mjs";
|
|
4
|
+
import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
+
const i = {
|
|
4
6
|
name: "FyInput",
|
|
5
|
-
mixins: [
|
|
7
|
+
mixins: [p, a],
|
|
6
8
|
props: {
|
|
7
9
|
showPassword: {
|
|
8
10
|
type: Boolean,
|
|
@@ -62,9 +64,9 @@ const p = {
|
|
|
62
64
|
}
|
|
63
65
|
}
|
|
64
66
|
};
|
|
65
|
-
var
|
|
67
|
+
var l = function() {
|
|
66
68
|
var e = this, t = e._self._c;
|
|
67
|
-
return t(
|
|
69
|
+
return t(o, { staticClass: "avue-input", attrs: { size: e.size, clearable: e.clearableVal, type: e.typeParam, maxlength: e.maxlength, minlength: e.minlength, "show-password": e.typeParam === "password" ? e.showPassword : !1, rows: e.rows, autosize: { minRows: e.minRows, maxRows: e.maxRows }, "prefix-icon": e.prefixIcon, "suffix-icon": e.suffixIcon, readonly: e.readonly, placeholder: e.placeholder, "show-word-limit": e.showWordLimit, disabled: e.disabled, autocomplete: e.autocomplete }, on: { keyup: function(n) {
|
|
68
70
|
if (!n.type.indexOf("key") && e._k(n.keyCode, "enter", 13, n.key, "Enter")) return null;
|
|
69
71
|
e.isSearch && e.appendClick();
|
|
70
72
|
}, focus: e.handleFocus, blur: e.handleBlur }, nativeOn: { click: function(n) {
|
|
@@ -78,21 +80,21 @@ var s = function() {
|
|
|
78
80
|
return e.appendClick();
|
|
79
81
|
} } }, [e._v(e._s(e.append))])];
|
|
80
82
|
}, proxy: !0 } : e.isSearch ? { key: "append", fn: function() {
|
|
81
|
-
return [t(
|
|
83
|
+
return [t(r, { attrs: { icon: "el-icon-search" }, on: { click: function(n) {
|
|
82
84
|
return e.appendClick();
|
|
83
85
|
} } })];
|
|
84
86
|
}, proxy: !0 } : null], null, !0), model: { value: e.text, callback: function(n) {
|
|
85
87
|
e.text = n;
|
|
86
88
|
}, expression: "text" } });
|
|
87
|
-
},
|
|
88
|
-
|
|
89
|
-
s,
|
|
89
|
+
}, u = [], c = /* @__PURE__ */ s(
|
|
90
|
+
i,
|
|
90
91
|
l,
|
|
92
|
+
u,
|
|
91
93
|
!1,
|
|
92
94
|
null,
|
|
93
95
|
null
|
|
94
96
|
);
|
|
95
|
-
const
|
|
97
|
+
const h = c.exports;
|
|
96
98
|
export {
|
|
97
|
-
|
|
99
|
+
h as default
|
|
98
100
|
};
|
package/fy-input-color/index.mjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import o from "element-ui/lib/color-picker";
|
|
2
|
+
import t from "element-ui/lib/input";
|
|
3
|
+
import { p as a, e as l } from "../chunks/event.DSlcqYHL.mjs";
|
|
4
|
+
import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
+
const p = {
|
|
4
6
|
name: "FyInputColor",
|
|
5
|
-
mixins: [
|
|
7
|
+
mixins: [a, l],
|
|
6
8
|
props: {
|
|
7
9
|
colorFormat: String,
|
|
8
10
|
predefine: {
|
|
@@ -29,26 +31,26 @@ const o = {
|
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
};
|
|
32
|
-
var
|
|
33
|
-
var e = this,
|
|
34
|
-
return
|
|
34
|
+
var i = function() {
|
|
35
|
+
var e = this, n = e._self._c;
|
|
36
|
+
return n("div", { staticClass: "avue-input-color" }, [n(t, { ref: "main", attrs: { placeholder: e.placeholder, size: e.size, readonly: e.readonly, clearable: e.clearableVal, disabled: e.disabled }, nativeOn: { click: function(r) {
|
|
35
37
|
return e.handleClick.apply(null, arguments);
|
|
36
38
|
} }, scopedSlots: e._u([{ key: "append", fn: function() {
|
|
37
|
-
return [
|
|
39
|
+
return [n(o, { attrs: { size: "mini", "popper-class": e.popperClass, "color-format": e.colorFormat, disabled: e.disabled, "show-alpha": e.showAlpha, predefine: e.predefine }, model: { value: e.text, callback: function(r) {
|
|
38
40
|
e.text = r;
|
|
39
41
|
}, expression: "text" } })];
|
|
40
42
|
}, proxy: !0 }]), model: { value: e.text, callback: function(r) {
|
|
41
43
|
e.text = r;
|
|
42
44
|
}, expression: "text" } })], 1);
|
|
43
|
-
},
|
|
44
|
-
o,
|
|
45
|
-
s,
|
|
45
|
+
}, c = [], f = /* @__PURE__ */ s(
|
|
46
46
|
p,
|
|
47
|
+
i,
|
|
48
|
+
c,
|
|
47
49
|
!1,
|
|
48
50
|
null,
|
|
49
51
|
null
|
|
50
52
|
);
|
|
51
|
-
const
|
|
53
|
+
const v = f.exports;
|
|
52
54
|
export {
|
|
53
|
-
|
|
55
|
+
v as default
|
|
54
56
|
};
|
package/fy-input-icon/index.mjs
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import a from "../
|
|
1
|
+
import s from "../icon-temp/index.mjs";
|
|
2
|
+
import a from "../fy-tabs/index.mjs";
|
|
3
|
+
import l from "element-ui/lib/input";
|
|
4
|
+
import r from "../element-dialog/index.mjs";
|
|
5
|
+
import { p as o, e as c } from "../chunks/event.DSlcqYHL.mjs";
|
|
3
6
|
import "../icon-temp/style.css";
|
|
4
|
-
import { n as
|
|
5
|
-
const
|
|
7
|
+
import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
8
|
+
const d = {
|
|
6
9
|
name: "FyInputIcon",
|
|
7
|
-
components: { IconTemp:
|
|
8
|
-
mixins: [
|
|
10
|
+
components: { IconTemp: s },
|
|
11
|
+
mixins: [o, c],
|
|
9
12
|
props: {
|
|
10
13
|
dialogWidth: {
|
|
11
14
|
type: String,
|
|
@@ -51,32 +54,32 @@ const o = {
|
|
|
51
54
|
}
|
|
52
55
|
}
|
|
53
56
|
};
|
|
54
|
-
var
|
|
57
|
+
var p = function() {
|
|
55
58
|
var t = this, n = t._self._c;
|
|
56
|
-
return n("div", { staticClass: "avue-input-icon" }, [n(
|
|
59
|
+
return n("div", { staticClass: "avue-input-icon" }, [n(l, { ref: "main", attrs: { placeholder: t.placeholder, size: t.size, clearable: t.clearableVal, disabled: t.disabled }, on: { focus: t.handleShow }, nativeOn: { click: function(i) {
|
|
57
60
|
return t.handleClick.apply(null, arguments);
|
|
58
61
|
} }, scopedSlots: t._u([{ key: "append", fn: function() {
|
|
59
|
-
return [n(
|
|
62
|
+
return [n(s, { attrs: { text: t.text, small: t.size === "mini" }, on: { click: t.handleShow } })];
|
|
60
63
|
}, proxy: !0 }]), model: { value: t.text, callback: function(i) {
|
|
61
64
|
t.text = i;
|
|
62
|
-
}, expression: "text" } }), t.visible ? n(
|
|
65
|
+
}, expression: "text" } }), t.visible ? n(r, { attrs: { title: t.placeholder, visible: t.visible, width: t.dialogWidth }, on: { "update:visible": function(i) {
|
|
63
66
|
t.visible = i;
|
|
64
|
-
} } }, [n("div", { staticClass: "avue-input-icon__filter" }, [n(
|
|
67
|
+
} } }, [n("div", { staticClass: "avue-input-icon__filter" }, [n(l, { attrs: { placeholder: "请输入", size: t.size }, model: { value: t.filterText, callback: function(i) {
|
|
65
68
|
t.filterText = i;
|
|
66
|
-
}, expression: "filterText" } })], 1), n(
|
|
67
|
-
return n("div", { key: i.value, class: ["avue-input-icon__item", { active: t.text === i }], attrs: { title: i.label || i.value }, on: { click: function(
|
|
69
|
+
}, expression: "filterText" } })], 1), n(a, { attrs: { option: { tabs: t.iconList } }, on: { change: t.handleTabs } }), n("div", { staticClass: "avue-input-icon__list" }, t._l(t.filteredIcons, function(i) {
|
|
70
|
+
return n("div", { key: i.value, class: ["avue-input-icon__item", { active: t.text === i }], attrs: { title: i.label || i.value }, on: { click: function(_) {
|
|
68
71
|
return t.handleSubmit(i.value);
|
|
69
|
-
} } }, [n(
|
|
72
|
+
} } }, [n(s, { attrs: { text: i.value, size: t.tabs.iconSize, small: t.size === "mini" } }), n("p", { staticClass: "avue-input-icon__label" }, [t._v(t._s(i.label || i.value))])], 1);
|
|
70
73
|
}), 0)], 1) : t._e()], 1);
|
|
71
|
-
},
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
}, f = [], h = /* @__PURE__ */ u(
|
|
75
|
+
d,
|
|
76
|
+
p,
|
|
77
|
+
f,
|
|
75
78
|
!1,
|
|
76
79
|
null,
|
|
77
80
|
null
|
|
78
81
|
);
|
|
79
|
-
const
|
|
82
|
+
const g = h.exports;
|
|
80
83
|
export {
|
|
81
|
-
|
|
84
|
+
g as default
|
|
82
85
|
};
|
package/fy-input-map/index.mjs
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import d from "element-ui/lib/input";
|
|
2
|
+
import p from "element-ui/lib/button";
|
|
3
|
+
import m from "../element-dialog/index.mjs";
|
|
4
|
+
import { p as h, e as u } from "../chunks/event.DSlcqYHL.mjs";
|
|
5
|
+
import { isBlank as l } from "@web-utils/core";
|
|
6
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
7
|
+
const f = {
|
|
5
8
|
name: "FyInputMap",
|
|
6
|
-
mixins: [
|
|
9
|
+
mixins: [h, u],
|
|
7
10
|
props: {
|
|
8
11
|
dialogWidth: {
|
|
9
12
|
type: String,
|
|
@@ -46,10 +49,10 @@ const u = {
|
|
|
46
49
|
this.formattedAddress = t.formattedAddress;
|
|
47
50
|
},
|
|
48
51
|
value(t) {
|
|
49
|
-
|
|
52
|
+
l(t) && (this.poi = {}, this.address = "");
|
|
50
53
|
},
|
|
51
54
|
text(t) {
|
|
52
|
-
|
|
55
|
+
l(t) || (this.poi = {
|
|
53
56
|
longitude: t[0],
|
|
54
57
|
latitude: t[1],
|
|
55
58
|
formattedAddress: t[2]
|
|
@@ -98,15 +101,15 @@ const u = {
|
|
|
98
101
|
this.service = new window.AMap.service("AMap.Geocoder", () => {
|
|
99
102
|
new window.AMap.Geocoder({}).getAddress([t, e], (i, n) => {
|
|
100
103
|
if (i === "complete" && n.info === "OK") {
|
|
101
|
-
const
|
|
102
|
-
this.poi = Object.assign(
|
|
104
|
+
const c = n.regeocode;
|
|
105
|
+
this.poi = Object.assign(c, {
|
|
103
106
|
longitude: t,
|
|
104
107
|
latitude: e
|
|
105
108
|
});
|
|
106
|
-
const
|
|
107
|
-
o.src = "//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png",
|
|
109
|
+
const a = document.createElement("div"), o = document.createElement("img");
|
|
110
|
+
o.src = "//a.amap.com/jsapi_demos/static/demo-center/icons/poi-marker-default.png", a.appendChild(o);
|
|
108
111
|
const r = document.createElement("span");
|
|
109
|
-
r.className = "avue-input-map__marker", r.innerHTML = this.poi.formattedAddress,
|
|
112
|
+
r.className = "avue-input-map__marker", r.innerHTML = this.poi.formattedAddress, a.appendChild(r), this.marker.setContent(a);
|
|
110
113
|
}
|
|
111
114
|
});
|
|
112
115
|
});
|
|
@@ -118,8 +121,8 @@ const u = {
|
|
|
118
121
|
addClick() {
|
|
119
122
|
this.map.on("click", (t) => {
|
|
120
123
|
if (this.disabled || this.readonly) return;
|
|
121
|
-
const e = t.lnglat,
|
|
122
|
-
this.addMarker(i,
|
|
124
|
+
const e = t.lnglat, s = e.P || e.Q, i = e.R;
|
|
125
|
+
this.addMarker(i, s), this.getAddress(i, s);
|
|
123
126
|
});
|
|
124
127
|
},
|
|
125
128
|
init(t) {
|
|
@@ -147,38 +150,38 @@ const u = {
|
|
|
147
150
|
poiPickerReady(t) {
|
|
148
151
|
this.poiPicker = t, t.on("poiPicked", (e) => {
|
|
149
152
|
this.clearMarker();
|
|
150
|
-
const
|
|
153
|
+
const s = e.source, i = e.item;
|
|
151
154
|
this.poi = Object.assign(i, {
|
|
152
155
|
formattedAddress: i.name,
|
|
153
156
|
longitude: i.location.R,
|
|
154
157
|
latitude: i.location.P || i.location.Q
|
|
155
|
-
}),
|
|
158
|
+
}), s !== "search" && t.searchByKeyword(i.name);
|
|
156
159
|
});
|
|
157
160
|
}
|
|
158
161
|
}
|
|
159
162
|
};
|
|
160
|
-
var
|
|
161
|
-
var e = this,
|
|
162
|
-
return
|
|
163
|
+
var k = function() {
|
|
164
|
+
var e = this, s = e._self._c;
|
|
165
|
+
return s("div", { staticClass: "avue-input-map" }, [s(d, { ref: "main", attrs: { size: e.size, clearable: e.clearableVal, rows: e.rows, autosize: { minRows: e.minRows, maxRows: e.maxRows }, disabled: e.disabled, type: "textarea", placeholder: e.placeholder }, on: { clear: e.handleClear, focus: e.handleShow }, nativeOn: { click: function(i) {
|
|
163
166
|
return e.handleClick.apply(null, arguments);
|
|
164
167
|
} }, model: { value: e.address, callback: function(i) {
|
|
165
168
|
e.address = i;
|
|
166
|
-
}, expression: "address" } }), e.box ?
|
|
169
|
+
}, expression: "address" } }), e.box ? s("div", [s(m, { attrs: { "show-full-screen": "", width: e.dialogWidth, title: e.placeholder, visible: e.box }, on: { "update:visible": function(i) {
|
|
167
170
|
e.box = i;
|
|
168
171
|
}, close: e.handleClose }, scopedSlots: e._u([{ key: "footer", fn: function() {
|
|
169
|
-
return [e.disabled || e.readonly ? e._e() :
|
|
170
|
-
}, proxy: !0 }], null, !1, 1816263233) }, [e.box ?
|
|
172
|
+
return [e.disabled || e.readonly ? e._e() : s(p, { attrs: { type: "primary", size: e.size, icon: "el-icon-check" }, on: { click: e.handleSubmit } }, [e._v(" 确 定 ")])];
|
|
173
|
+
}, proxy: !0 }], null, !1, 1816263233) }, [e.box ? s("div", { staticClass: "avue-input-map__content" }, [s(d, { staticClass: "avue-input-map__content-input", attrs: { id: "map__input", size: e.size, readonly: e.disabled, clearable: "", placeholder: "输入关键字选取地点" }, on: { clear: e.clear }, model: { value: e.formattedAddress, callback: function(i) {
|
|
171
174
|
e.formattedAddress = i;
|
|
172
|
-
}, expression: "formattedAddress" } }),
|
|
173
|
-
},
|
|
174
|
-
u,
|
|
175
|
-
m,
|
|
175
|
+
}, expression: "formattedAddress" } }), s("div", { staticClass: "avue-input-map__content-box" }, [s("div", { staticClass: "avue-input-map__content-container", attrs: { id: "map__container", tabindex: "0" } }), s("div", { staticClass: "avue-input-map__content-result", attrs: { id: "map__result" } })])], 1) : e._e()])], 1) : e._e()], 1);
|
|
176
|
+
}, g = [], b = /* @__PURE__ */ _(
|
|
176
177
|
f,
|
|
178
|
+
k,
|
|
179
|
+
g,
|
|
177
180
|
!1,
|
|
178
181
|
null,
|
|
179
182
|
null
|
|
180
183
|
);
|
|
181
|
-
const
|
|
184
|
+
const M = b.exports;
|
|
182
185
|
export {
|
|
183
|
-
|
|
186
|
+
M as default
|
|
184
187
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import o from "element-ui/lib/input-number";
|
|
2
|
+
import { p as r, e as l } from "../chunks/event.DSlcqYHL.mjs";
|
|
3
|
+
import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
+
const s = {
|
|
4
5
|
name: "FyInputNumber",
|
|
5
6
|
mixins: [r, l],
|
|
6
7
|
props: {
|
|
@@ -29,22 +30,22 @@ const a = {
|
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
};
|
|
32
|
-
var
|
|
33
|
+
var i = function() {
|
|
33
34
|
var e = this, t = e._self._c;
|
|
34
|
-
return t(
|
|
35
|
+
return t(o, { staticClass: "avue-input-number", attrs: { precision: e.precision, placeholder: e.placeholder, size: e.size, min: e.min, max: e.max, step: e.step, clearable: e.clearableVal, readonly: e.readonly, "controls-position": e.controlsPosition, controls: e.controls, label: e.placeholder, disabled: e.disabled }, on: { focus: e.handleFocus, blur: e.handleBlur }, nativeOn: { click: function(n) {
|
|
35
36
|
return e.handleClick.apply(null, arguments);
|
|
36
37
|
} }, model: { value: e.text, callback: function(n) {
|
|
37
38
|
e.text = e._n(n);
|
|
38
39
|
}, expression: "text" } });
|
|
39
|
-
},
|
|
40
|
-
a,
|
|
40
|
+
}, p = [], c = /* @__PURE__ */ a(
|
|
41
41
|
s,
|
|
42
42
|
i,
|
|
43
|
+
p,
|
|
43
44
|
!1,
|
|
44
45
|
null,
|
|
45
46
|
null
|
|
46
47
|
);
|
|
47
|
-
const
|
|
48
|
+
const _ = c.exports;
|
|
48
49
|
export {
|
|
49
|
-
|
|
50
|
+
_ as default
|
|
50
51
|
};
|
package/fy-input-table/index.mjs
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import s from "../fy-curd/index.mjs";
|
|
2
|
+
import r from "element-ui/lib/button";
|
|
3
|
+
import o from "../element-dialog/index.mjs";
|
|
4
|
+
import l from "element-ui/lib/input";
|
|
5
|
+
import { p as h, e as c } from "../chunks/event.DSlcqYHL.mjs";
|
|
6
|
+
import { isBlank as n } from "@web-utils/core";
|
|
7
|
+
import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
8
|
+
const d = {
|
|
5
9
|
name: "FyInputTable",
|
|
6
|
-
mixins: [
|
|
10
|
+
mixins: [h, c],
|
|
7
11
|
props: {
|
|
8
12
|
formatter: Function,
|
|
9
13
|
onLoad: Function,
|
|
@@ -45,10 +49,10 @@ const l = {
|
|
|
45
49
|
},
|
|
46
50
|
watch: {
|
|
47
51
|
value(t) {
|
|
48
|
-
|
|
52
|
+
n(t) && (this.active = {}, this.object = {});
|
|
49
53
|
},
|
|
50
54
|
text(t) {
|
|
51
|
-
this.created ||
|
|
55
|
+
this.created || n(t) || typeof this.onLoad == "function" && this.onLoad({ value: this.text }, (e) => {
|
|
52
56
|
this.active = e, this.object = e, this.created = !0;
|
|
53
57
|
});
|
|
54
58
|
}
|
|
@@ -78,28 +82,28 @@ const l = {
|
|
|
78
82
|
}
|
|
79
83
|
}
|
|
80
84
|
};
|
|
81
|
-
var
|
|
85
|
+
var p = function() {
|
|
82
86
|
var e = this, a = e._self._c;
|
|
83
|
-
return a("div", { staticClass: "avue-input-table" }, [a(
|
|
87
|
+
return a("div", { staticClass: "avue-input-table" }, [a(l, { ref: "main", attrs: { size: e.size, value: e.labelShow, clearable: e.clearableVal, placeholder: e.placeholder, disabled: e.disabled }, on: { clear: e.handleClear, focus: e.handleShow }, nativeOn: { click: function(i) {
|
|
84
88
|
return e.handleClick.apply(null, arguments);
|
|
85
|
-
} } }), e.box ? a("div", [a(
|
|
89
|
+
} } }), e.box ? a("div", [a(o, { attrs: { width: e.dialogWidth, title: e.placeholder, visible: e.box }, on: { "update:visible": function(i) {
|
|
86
90
|
e.box = i;
|
|
87
91
|
} }, scopedSlots: e._u([{ key: "footer", fn: function() {
|
|
88
|
-
return [a(
|
|
89
|
-
}, proxy: !0 }], null, !1, 2921262159) }, [e.box ? a(
|
|
92
|
+
return [a(r, { attrs: { type: "primary", size: e.size, icon: "el-icon-check" }, on: { click: e.setVal } }, [e._v(" 确 定 ")])];
|
|
93
|
+
}, proxy: !0 }], null, !1, 2921262159) }, [e.box ? a(s, { ref: "crud", staticClass: "avue-input-table__crud", attrs: { option: e.option, data: e.data, "table-loading": e.loading, search: e.search, page: e.page }, on: { "update:search": function(i) {
|
|
90
94
|
e.search = i;
|
|
91
95
|
}, "update:page": function(i) {
|
|
92
96
|
e.page = i;
|
|
93
97
|
}, "on-load": e.onList, "search-change": e.handleSearchChange, "search-reset": e.handleSearchChange, "current-row-change": e.handleCurrentRowChange } }) : e._e()], 1)], 1) : e._e()], 1);
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
+
}, f = [], m = /* @__PURE__ */ u(
|
|
99
|
+
d,
|
|
100
|
+
p,
|
|
101
|
+
f,
|
|
98
102
|
!1,
|
|
99
103
|
null,
|
|
100
104
|
null
|
|
101
105
|
);
|
|
102
|
-
const
|
|
106
|
+
const w = m.exports;
|
|
103
107
|
export {
|
|
104
|
-
|
|
108
|
+
w as default
|
|
105
109
|
};
|
package/fy-input-tree/index.mjs
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import u from "element-ui/lib/tree";
|
|
2
|
+
import h from "element-ui/lib/option";
|
|
3
|
+
import p from "element-ui/lib/input";
|
|
4
|
+
import f from "element-ui/lib/select";
|
|
5
|
+
import { p as y, e as m } from "../chunks/event.DSlcqYHL.mjs";
|
|
2
6
|
import { isBlank as n } from "@web-utils/core";
|
|
3
|
-
import { n as
|
|
4
|
-
const
|
|
7
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
8
|
+
const k = {
|
|
5
9
|
name: "FyInputTree",
|
|
6
|
-
mixins: [
|
|
10
|
+
mixins: [y, m],
|
|
7
11
|
props: {
|
|
8
12
|
nodeClick: Function,
|
|
9
13
|
treeLoad: Function,
|
|
@@ -107,22 +111,22 @@ const f = {
|
|
|
107
111
|
this.text = this.multiple ? [] : "", this.node = [], this.filterValue = "", this.$refs.tree.setCurrentKey(null), this.$refs.tree.setCheckedKeys([]);
|
|
108
112
|
},
|
|
109
113
|
handleTreeLoad(t, e) {
|
|
110
|
-
var
|
|
111
|
-
const
|
|
112
|
-
const s = (
|
|
113
|
-
|
|
114
|
-
a[this.valueKey] ===
|
|
114
|
+
var i;
|
|
115
|
+
const l = (r) => {
|
|
116
|
+
const s = (o, d, c) => {
|
|
117
|
+
o.forEach((a) => {
|
|
118
|
+
a[this.valueKey] === d ? a[this.childrenKey] = c : a[this.childrenKey] && s(a[this.childrenKey]);
|
|
115
119
|
});
|
|
116
120
|
};
|
|
117
121
|
s(this.dicList, t.key, r), e(r);
|
|
118
122
|
};
|
|
119
|
-
(
|
|
123
|
+
(i = this.treeLoad) == null || i.call(this, t, l);
|
|
120
124
|
},
|
|
121
125
|
filterNode(t, e) {
|
|
122
126
|
return t ? e[this.labelKey].toLowerCase().indexOf(t.toLowerCase()) !== -1 : !0;
|
|
123
127
|
},
|
|
124
|
-
checkChange(t, e,
|
|
125
|
-
this.text.splice(0, this.text.length), this.$refs.tree.getCheckedNodes(this.leafOnly, !1).forEach((s) => this.text.push(s[this.valueKey])), typeof this.checked == "function" && this.checked(t, e,
|
|
128
|
+
checkChange(t, e, l, i) {
|
|
129
|
+
this.text.splice(0, this.text.length), this.$refs.tree.getCheckedNodes(this.leafOnly, !1).forEach((s) => this.text.push(s[this.valueKey])), typeof this.checked == "function" && this.checked(t, e, l, i);
|
|
126
130
|
},
|
|
127
131
|
getHalfList() {
|
|
128
132
|
let t = this.$refs.tree.getCheckedNodes(!1, !0);
|
|
@@ -144,36 +148,36 @@ const f = {
|
|
|
144
148
|
}), this.disabledParentNode(this.dic, this.parent);
|
|
145
149
|
},
|
|
146
150
|
disabledParentNode(t, e) {
|
|
147
|
-
t.forEach((
|
|
148
|
-
const
|
|
149
|
-
n(
|
|
151
|
+
t.forEach((l) => {
|
|
152
|
+
const i = l[this.childrenKey];
|
|
153
|
+
n(i) || (e || (l.disabled = !0), this.disabledParentNode(i, e));
|
|
150
154
|
});
|
|
151
155
|
},
|
|
152
|
-
handleNodeClick(t, e,
|
|
153
|
-
t.disabled || (typeof this.nodeClick == "function" && this.nodeClick(t, e,
|
|
156
|
+
handleNodeClick(t, e, l) {
|
|
157
|
+
t.disabled || (typeof this.nodeClick == "function" && this.nodeClick(t, e, l), !this.multiple && (n(t[this.childrenKey]) && !this.multiple || this.parent) && (this.text = t[this.valueKey], this.$refs.main.blur()));
|
|
154
158
|
}
|
|
155
159
|
}
|
|
156
160
|
};
|
|
157
|
-
var
|
|
158
|
-
var e = this,
|
|
159
|
-
return
|
|
160
|
-
e.filterValue =
|
|
161
|
-
}, expression: "filterValue" } })], 1) : e._e(),
|
|
162
|
-
return
|
|
163
|
-
} }, scopedSlots: e._u([{ key: "default", fn: function({ data:
|
|
164
|
-
return [
|
|
165
|
-
return [
|
|
166
|
-
}, { label: e.labelKey, value: e.valueKey, item:
|
|
161
|
+
var x = function() {
|
|
162
|
+
var e = this, l = e._self._c;
|
|
163
|
+
return l(f, { ref: "main", staticClass: "avue-input-tree", attrs: { size: e.size, multiple: e.multiple, "multiple-limit": e.limit, "collapse-tags": e.tags, value: e.labelShow, clearable: e.clearableVal, placeholder: e.placeholder, "popper-class": e.popperClass, "popper-append-to-body": e.popperAppendToBody, disabled: e.disabled }, on: { click: e.handleClick, focus: e.handleFocus, blur: e.handleBlur, clear: e.handleClear } }, [e.filter ? l("div", { staticClass: "avue-input-tree__filter" }, [l(p, { attrs: { size: "mini", placeholder: e.filterText }, model: { value: e.filterValue, callback: function(i) {
|
|
164
|
+
e.filterValue = i;
|
|
165
|
+
}, expression: "filterValue" } })], 1) : e._e(), l(h, { staticClass: "avue-input-tree__dropdown", attrs: { value: e.text } }, [l(u, { ref: "tree", staticClass: "avue-input-tree__select", attrs: { data: e.dicList, lazy: e.lazy, load: e.handleTreeLoad, "node-key": e.valueKey, accordion: e.accordion, "icon-class": e.iconClass, "show-checkbox": e.multiple, "expand-on-click-node": e.expandOnClickNode, props: e.treeProps, "check-strictly": e.checkStrictly, "highlight-current": e.multiple !== !0, "current-node-key": e.currentNodeKey, "filter-node-method": e.filterNode, "default-checked-keys": e.keysList, "default-expanded-keys": e.defaultExpandedKeys ? e.defaultExpandedKeys : e.keysList, "default-expand-all": e.defaultExpandAll }, on: { check: e.checkChange, "node-click": function(i) {
|
|
166
|
+
return i.target !== i.currentTarget ? null : e.handleNodeClick.apply(null, arguments);
|
|
167
|
+
} }, scopedSlots: e._u([{ key: "default", fn: function({ data: i }) {
|
|
168
|
+
return [l("div", { staticClass: "avue-input-tree__item" }, [e._t("default", function() {
|
|
169
|
+
return [l("span", { class: { "avue--disabled": i[e.disabledKey] } }, [e._v(e._s(i[e.labelKey]))]), i[e.descKey] ? l("span", { staticClass: "avue-input-tree__desc" }, [e._v(e._s(i[e.descKey]))]) : e._e()];
|
|
170
|
+
}, { label: e.labelKey, value: e.valueKey, item: i })], 2)];
|
|
167
171
|
} }], null, !0) })], 1)], 1);
|
|
168
|
-
},
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
+
}, C = [], K = /* @__PURE__ */ _(
|
|
173
|
+
k,
|
|
174
|
+
x,
|
|
175
|
+
C,
|
|
172
176
|
!1,
|
|
173
177
|
null,
|
|
174
178
|
null
|
|
175
179
|
);
|
|
176
|
-
const
|
|
180
|
+
const E = K.exports;
|
|
177
181
|
export {
|
|
178
|
-
|
|
182
|
+
E as default
|
|
179
183
|
};
|
package/fy-progress/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import r from "element-ui/lib/progress";
|
|
2
|
+
import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
+
const n = {
|
|
3
4
|
name: "FyProgress",
|
|
4
5
|
props: {
|
|
5
6
|
showText: {
|
|
@@ -22,18 +23,18 @@ const s = {
|
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
25
|
};
|
|
25
|
-
var
|
|
26
|
+
var s = function() {
|
|
26
27
|
var e = this, t = e._self._c;
|
|
27
|
-
return t("div", { staticClass: "avue-progress" }, [t(
|
|
28
|
-
},
|
|
29
|
-
s,
|
|
30
|
-
o,
|
|
28
|
+
return t("div", { staticClass: "avue-progress" }, [t(r, { attrs: { type: e.type, color: e.color, width: e.width, "text-inside": "", "show-text": e.showText, "stroke-width": e.strokeWidth, percentage: e.percentage } })], 1);
|
|
29
|
+
}, p = [], i = /* @__PURE__ */ o(
|
|
31
30
|
n,
|
|
31
|
+
s,
|
|
32
|
+
p,
|
|
32
33
|
!1,
|
|
33
34
|
null,
|
|
34
35
|
null
|
|
35
36
|
);
|
|
36
|
-
const
|
|
37
|
+
const l = i.exports;
|
|
37
38
|
export {
|
|
38
|
-
|
|
39
|
+
l as default
|
|
39
40
|
};
|
package/fy-radio/index.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import t from "element-ui/lib/radio-group";
|
|
2
|
+
import { p as o, e as l } from "../chunks/event.DSlcqYHL.mjs";
|
|
3
|
+
import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
+
const i = {
|
|
4
5
|
name: "FyRadio",
|
|
5
|
-
mixins: [
|
|
6
|
+
mixins: [o, l],
|
|
6
7
|
props: {
|
|
7
8
|
// eslint-disable-next-line vue/no-unused-properties
|
|
8
9
|
value: [String, Object, Number, Boolean, Array]
|
|
@@ -14,24 +15,24 @@ const s = {
|
|
|
14
15
|
};
|
|
15
16
|
}
|
|
16
17
|
};
|
|
17
|
-
var
|
|
18
|
-
var e = this,
|
|
19
|
-
return
|
|
18
|
+
var d = function() {
|
|
19
|
+
var e = this, a = e._self._c;
|
|
20
|
+
return a("div", { staticClass: "avue-radio" }, [a(t, { attrs: { size: e.size, disabled: e.disabled }, nativeOn: { click: function(n) {
|
|
20
21
|
return e.handleClick.apply(null, arguments);
|
|
21
|
-
} }, model: { value: e.text, callback: function(
|
|
22
|
-
e.text =
|
|
23
|
-
}, expression: "text" } }, e._l(e.dic, function(
|
|
24
|
-
return
|
|
22
|
+
} }, model: { value: e.text, callback: function(n) {
|
|
23
|
+
e.text = n;
|
|
24
|
+
}, expression: "text" } }, e._l(e.dic, function(n, r) {
|
|
25
|
+
return a(e.componentName, { key: r, tag: "Component", attrs: { label: n[e.valueKey], border: e.border, readonly: e.readonly, disabled: n[e.disabledKey] } }, [e._v(" " + e._s(n[e.labelKey]) + " ")]);
|
|
25
26
|
}), 1)], 1);
|
|
26
|
-
},
|
|
27
|
-
s,
|
|
27
|
+
}, c = [], _ = /* @__PURE__ */ s(
|
|
28
28
|
i,
|
|
29
29
|
d,
|
|
30
|
+
c,
|
|
30
31
|
!1,
|
|
31
32
|
null,
|
|
32
33
|
null
|
|
33
34
|
);
|
|
34
|
-
const
|
|
35
|
+
const f = _.exports;
|
|
35
36
|
export {
|
|
36
|
-
|
|
37
|
+
f as default
|
|
37
38
|
};
|