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