@web-utils/component 4.0.9 → 4.0.10
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/chat/index.mjs +2 -3
- package/chunks/{FormTemp.Bu2VCxUh.mjs → FormTemp.BQxO5IQq.mjs} +1 -1
- package/chunks/MonacoEditor.D31t4FTy.mjs +327 -0
- package/chunks/PhotoSwipe.BunkqqPu.mjs +80 -0
- package/chunks/{configComponents.CpKi15WN.mjs → configComponents.DQaqUQFs.mjs} +4 -4
- package/chunks/{core.DJEgjQW6.mjs → core.0Exl13Mz.mjs} +3 -3
- package/chunks/{dictionary.3O-Io7Vh.mjs → dictionary.C6NmC-bT.mjs} +16 -16
- package/confirm-button/index.mjs +9 -14
- package/confirmable/index.mjs +8 -13
- package/data-display/index.mjs +1 -1
- package/data-table-picker/index.mjs +8 -10
- package/editable-tree/index.mjs +2 -3
- package/element-dialog/index.mjs +2 -3
- package/flex-column/index.mjs +5 -6
- package/flex-item/index.mjs +5 -6
- package/flex-row/index.mjs +2 -3
- package/flow/index.mjs +2 -3
- package/flow-designer/index.mjs +1 -1
- package/flow-node/index.mjs +3 -4
- package/flow-viewer/index.mjs +1 -1
- package/form-button/index.mjs +1 -1
- package/form-cascader/index.mjs +13 -17
- package/form-checkbox/index.mjs +7 -12
- package/form-checkbox-group/index.mjs +9 -14
- package/form-date-picker/index.mjs +5 -10
- package/form-holder/index.mjs +4 -5
- package/form-input/index.mjs +6 -11
- package/form-input-cron-expression/index.mjs +8 -13
- package/form-input-email/index.mjs +12 -17
- package/form-input-id-card/index.mjs +15 -19
- package/form-input-number/index.mjs +16 -23
- package/form-input-phone-number/index.mjs +8 -12
- package/form-input-tag/index.mjs +7 -12
- package/form-input-time/index.mjs +2 -7
- package/form-item/index.mjs +2 -6
- package/form-radio-group/index.mjs +7 -12
- package/form-select/index.mjs +2 -6
- package/form-switch/index.mjs +7 -12
- package/form-table/index.mjs +22 -28
- package/form-table-plus/index.mjs +10 -14
- package/form-textarea/index.mjs +6 -11
- package/form-tree-select/index.mjs +9 -17
- package/form-tree-select-multiple/index.mjs +11 -19
- package/form-view/index.mjs +1 -1
- package/fy-array/index.mjs +2 -5
- package/fy-cascader/index.mjs +13 -17
- package/fy-checkbox/index.mjs +19 -23
- package/fy-code/index.mjs +9 -10
- package/fy-curd/index.mjs +4 -6
- package/fy-date/index.mjs +5 -9
- package/fy-draggable/index.mjs +2 -3
- package/fy-dynamic/index.mjs +11 -14
- package/fy-empty/index.mjs +3 -4
- package/fy-form/index.mjs +3 -6
- package/fy-form-design/index.mjs +13 -14
- package/fy-input/index.mjs +10 -14
- package/fy-input-color/index.mjs +11 -15
- package/fy-input-icon/index.mjs +5 -9
- package/fy-input-map/index.mjs +5 -8
- package/fy-input-number/index.mjs +12 -16
- package/fy-input-table/index.mjs +2 -5
- package/fy-input-tree/index.mjs +2 -5
- package/fy-radio/index.mjs +9 -13
- package/fy-rate/index.mjs +7 -11
- package/fy-select/index.mjs +2 -4
- package/fy-slider/index.mjs +7 -10
- package/fy-switch/index.mjs +5 -9
- package/fy-time/index.mjs +3 -6
- package/fy-title/index.mjs +12 -16
- package/fy-u-editor/index.mjs +2 -3
- package/fy-upload/index.mjs +2 -4
- package/image-cropper/index.mjs +2 -3
- package/index.mjs +369 -545
- package/license/index.mjs +2 -3
- package/monaco-editor/index.mjs +5 -205
- package/package.json +1 -1
- package/page-skeleton/index.mjs +3 -3
- package/pageable-table/index.mjs +3 -6
- package/pageable-view/index.mjs +6 -7
- package/photo-swipe/index.mjs +3 -36
- package/picker-table-view/index.mjs +23 -24
- package/present-view/index.mjs +1 -1
- package/record-video/index.mjs +10 -11
- package/resize-observer/index.mjs +2 -3
- package/search/index.mjs +2 -4
- package/sign/index.mjs +2 -3
- package/split-pane/index.mjs +1 -1
- package/swiper/index.mjs +1 -1
- package/table-column/index.mjs +4 -7
- package/table-view/index.mjs +4 -5
- package/tabs-view/index.mjs +1 -1
- package/text-ellipsis/index.mjs +2 -3
- package/toolbar/index.mjs +3 -4
- package/toolbar-button/index.mjs +3 -4
- package/verify/index.mjs +7 -8
- package/watermark/index.mjs +14 -15
- package/web-types.json +1 -1
- package/chunks/index.BmYCjxZQ.mjs +0 -47
- package/chunks/json-beautifier.Bp3GslGm.mjs +0 -123
package/fy-cascader/index.mjs
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { p, e as d } from "../chunks/event.9aDS6jcw.mjs";
|
|
2
2
|
import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
-
import "../chunks/util.DqFv_pWg.mjs";
|
|
4
|
-
import "@web-utils/core";
|
|
5
|
-
import "../chunks/slot.DXIbhGat.mjs";
|
|
6
|
-
import "../chunks/dataformat.CpqOeGBl.mjs";
|
|
7
3
|
const h = {
|
|
8
4
|
name: "FyCascader",
|
|
9
5
|
mixins: [p, d],
|
|
@@ -54,17 +50,17 @@ const h = {
|
|
|
54
50
|
multiple: this.multiple,
|
|
55
51
|
emitPath: this.emitPath,
|
|
56
52
|
lazy: this.lazy,
|
|
57
|
-
lazyLoad: (
|
|
53
|
+
lazyLoad: (r, e) => {
|
|
58
54
|
var l;
|
|
59
|
-
const
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
|
|
55
|
+
const a = (t) => {
|
|
56
|
+
const n = (o, i, c) => {
|
|
57
|
+
o.forEach((s) => {
|
|
58
|
+
s[this.valueKey] === i ? s[this.childrenKey] = c : s[this.childrenKey] && n(s[this.childrenKey]);
|
|
63
59
|
});
|
|
64
60
|
};
|
|
65
|
-
|
|
61
|
+
n(this.dic, r[this.valueKey], t), e(t);
|
|
66
62
|
};
|
|
67
|
-
(l = this.lazyLoad) == null || l.call(this,
|
|
63
|
+
(l = this.lazyLoad) == null || l.call(this, r, a);
|
|
68
64
|
},
|
|
69
65
|
expandTrigger: this.expandTrigger
|
|
70
66
|
};
|
|
@@ -72,11 +68,11 @@ const h = {
|
|
|
72
68
|
}
|
|
73
69
|
};
|
|
74
70
|
var f = function() {
|
|
75
|
-
var e = this,
|
|
76
|
-
return
|
|
71
|
+
var e = this, a = e._self._c;
|
|
72
|
+
return a("ElCascader", { attrs: { options: e.dic, placeholder: e.placeholder, props: e.allProps, size: e.size, clearable: e.clearableVal, "show-all-levels": e.showAllLevels, filterable: e.filterable, "popper-class": e.popperClass, separator: e.separator, disabled: e.disabled, "collapse-tags": e.tags }, on: { focus: e.handleFocus, blur: e.handleBlur }, nativeOn: { click: function(l) {
|
|
77
73
|
return e.handleClick.apply(null, arguments);
|
|
78
|
-
} }, scopedSlots: e._u([{ key: "default", fn: function({ data: l, node:
|
|
79
|
-
return [e.$scopedSlots.default ? e._t("default", null, { data: l, node:
|
|
74
|
+
} }, scopedSlots: e._u([{ key: "default", fn: function({ data: l, node: t }) {
|
|
75
|
+
return [e.$scopedSlots.default ? e._t("default", null, { data: l, node: t }) : a("span", [e._v(e._s(l[e.labelKey]))])];
|
|
80
76
|
} }], null, !0), model: { value: e.text, callback: function(l) {
|
|
81
77
|
e.text = l;
|
|
82
78
|
}, expression: "text" } });
|
|
@@ -88,7 +84,7 @@ var f = function() {
|
|
|
88
84
|
null,
|
|
89
85
|
null
|
|
90
86
|
);
|
|
91
|
-
const
|
|
87
|
+
const b = m.exports;
|
|
92
88
|
export {
|
|
93
|
-
|
|
89
|
+
b as default
|
|
94
90
|
};
|
package/fy-checkbox/index.mjs
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { p as s, e as
|
|
2
|
-
import { n as
|
|
3
|
-
|
|
4
|
-
import "@web-utils/core";
|
|
5
|
-
import "../chunks/slot.DXIbhGat.mjs";
|
|
6
|
-
import "../chunks/dataformat.CpqOeGBl.mjs";
|
|
7
|
-
const r = {
|
|
1
|
+
import { p as s, e as c } from "../chunks/event.9aDS6jcw.mjs";
|
|
2
|
+
import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
+
const h = {
|
|
8
4
|
name: "FyCheckbox",
|
|
9
|
-
mixins: [s,
|
|
5
|
+
mixins: [s, c],
|
|
10
6
|
props: {
|
|
11
7
|
all: {
|
|
12
8
|
type: Boolean,
|
|
@@ -38,31 +34,31 @@ const r = {
|
|
|
38
34
|
handleCheckChange() {
|
|
39
35
|
const a = this.text;
|
|
40
36
|
if (!this.all) return;
|
|
41
|
-
const e = a.length,
|
|
42
|
-
this.checkAll = e ===
|
|
37
|
+
const e = a.length, t = this.dic.length;
|
|
38
|
+
this.checkAll = e === t, this.isIndeterminate = e > 0 && e < t;
|
|
43
39
|
}
|
|
44
40
|
}
|
|
45
41
|
};
|
|
46
|
-
var
|
|
47
|
-
var e = this,
|
|
48
|
-
return
|
|
49
|
-
e.checkAll =
|
|
50
|
-
}, expression: "checkAll" } }, [e._v(" 全选 ")]) : e._e(),
|
|
42
|
+
var r = function() {
|
|
43
|
+
var e = this, t = e._self._c;
|
|
44
|
+
return t("div", { staticClass: "avue-checkbox" }, [e.all ? t("ElCheckbox", { attrs: { disabled: e.disabled, indeterminate: e.isIndeterminate }, on: { change: e.handleCheckAll }, model: { value: e.checkAll, callback: function(n) {
|
|
45
|
+
e.checkAll = n;
|
|
46
|
+
}, expression: "checkAll" } }, [e._v(" 全选 ")]) : e._e(), t("ElCheckboxGroup", { attrs: { disabled: e.disabled, size: e.size, min: e.min, max: e.max }, on: { change: e.handleCheckChange }, nativeOn: { click: function(n) {
|
|
51
47
|
return e.handleClick.apply(null, arguments);
|
|
52
|
-
} }, model: { value: e.text, callback: function(
|
|
53
|
-
e.text =
|
|
54
|
-
}, expression: "text" } }, e._l(e.dic, function(
|
|
55
|
-
return
|
|
48
|
+
} }, model: { value: e.text, callback: function(n) {
|
|
49
|
+
e.text = n;
|
|
50
|
+
}, expression: "text" } }, e._l(e.dic, function(n, l) {
|
|
51
|
+
return t(e.componentName, { key: l, tag: "Component", attrs: { label: n[e.valueKey], border: e.border, size: e.size, readonly: e.readonly, disabled: n[e.disabledKey] } }, [e._v(" " + e._s(n[e.labelKey]) + " ")]);
|
|
56
52
|
}), 1)], 1);
|
|
57
|
-
},
|
|
53
|
+
}, o = [], d = /* @__PURE__ */ i(
|
|
54
|
+
h,
|
|
58
55
|
r,
|
|
59
56
|
o,
|
|
60
|
-
h,
|
|
61
57
|
!1,
|
|
62
58
|
null,
|
|
63
59
|
null
|
|
64
60
|
);
|
|
65
|
-
const
|
|
61
|
+
const k = d.exports;
|
|
66
62
|
export {
|
|
67
|
-
|
|
63
|
+
k as default
|
|
68
64
|
};
|
package/fy-code/index.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import o from "element-ui/lib/scrollbar";
|
|
2
2
|
import { s as n } from "../chunks/util.DqFv_pWg.mjs";
|
|
3
3
|
import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
-
import "@web-utils/core";
|
|
5
4
|
const s = {
|
|
6
5
|
name: "FyCode",
|
|
7
6
|
components: {
|
|
@@ -31,21 +30,21 @@ const s = {
|
|
|
31
30
|
setPx: n
|
|
32
31
|
}
|
|
33
32
|
};
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
return
|
|
37
|
-
`),
|
|
38
|
-
`)], 2),
|
|
33
|
+
var a = function() {
|
|
34
|
+
var e = this, t = e._self._c;
|
|
35
|
+
return t("div", { staticClass: "avue-code" }, [t("ElScrollbar", { style: e.styleName }, [t("pre", [e._v(" "), t("code", { ref: "container", class: e.syntax }, [e._v(`
|
|
36
|
+
`), e._t("default"), e._v(`
|
|
37
|
+
`)], 2), e._v(`
|
|
39
38
|
`)])])], 1);
|
|
40
|
-
},
|
|
39
|
+
}, i = [], l = /* @__PURE__ */ r(
|
|
41
40
|
s,
|
|
42
|
-
i,
|
|
43
41
|
a,
|
|
42
|
+
i,
|
|
44
43
|
!1,
|
|
45
44
|
null,
|
|
46
45
|
null
|
|
47
46
|
);
|
|
48
|
-
const
|
|
47
|
+
const m = l.exports;
|
|
49
48
|
export {
|
|
50
|
-
|
|
49
|
+
m as default
|
|
51
50
|
};
|
package/fy-curd/index.mjs
CHANGED
|
@@ -6,12 +6,10 @@ import { o as h, j as C, d as a, u as B, D as b, k as P, i as D, l as T, s as z
|
|
|
6
6
|
import { isBlank as c } from "@web-utils/core";
|
|
7
7
|
import { s as M } from "../chunks/slot.DXIbhGat.mjs";
|
|
8
8
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
9
|
-
import { F as L, d as w } from "../chunks/FormTemp.
|
|
9
|
+
import { F as L, d as w } from "../chunks/FormTemp.BQxO5IQq.mjs";
|
|
10
10
|
import { s as V } from "../chunks/dic.Dkl-leRW.mjs";
|
|
11
|
-
import R from "
|
|
11
|
+
import R from "../icon-temp/index.mjs";
|
|
12
12
|
import "./icon-temp/style.css";
|
|
13
|
-
import "@web-utils/integrations/dayjs";
|
|
14
|
-
import "./fy-u-editor/style.css";
|
|
15
13
|
const p = {
|
|
16
14
|
menuWidth: 220,
|
|
17
15
|
menuFixed: "right",
|
|
@@ -1875,7 +1873,7 @@ var Ue = function() {
|
|
|
1875
1873
|
null,
|
|
1876
1874
|
null
|
|
1877
1875
|
);
|
|
1878
|
-
const
|
|
1876
|
+
const ot = qe.exports;
|
|
1879
1877
|
export {
|
|
1880
|
-
|
|
1878
|
+
ot as default
|
|
1881
1879
|
};
|
package/fy-date/index.mjs
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { p as
|
|
1
|
+
import { p as l, e as r } from "../chunks/event.9aDS6jcw.mjs";
|
|
2
2
|
import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
-
import "../chunks/util.DqFv_pWg.mjs";
|
|
4
|
-
import "@web-utils/core";
|
|
5
|
-
import "../chunks/slot.DXIbhGat.mjs";
|
|
6
|
-
import "../chunks/dataformat.CpqOeGBl.mjs";
|
|
7
3
|
const o = {
|
|
8
4
|
name: "FyDate",
|
|
9
|
-
mixins: [
|
|
5
|
+
mixins: [l, r],
|
|
10
6
|
props: {
|
|
11
7
|
editable: Boolean,
|
|
12
8
|
unlinkPanels: Boolean,
|
|
@@ -31,7 +27,7 @@ var i = function() {
|
|
|
31
27
|
} }, model: { value: e.text, callback: function(t) {
|
|
32
28
|
e.text = t;
|
|
33
29
|
}, expression: "text" } })], 1);
|
|
34
|
-
}, s = [],
|
|
30
|
+
}, s = [], d = /* @__PURE__ */ n(
|
|
35
31
|
o,
|
|
36
32
|
i,
|
|
37
33
|
s,
|
|
@@ -39,7 +35,7 @@ var i = function() {
|
|
|
39
35
|
null,
|
|
40
36
|
null
|
|
41
37
|
);
|
|
42
|
-
const
|
|
38
|
+
const f = d.exports;
|
|
43
39
|
export {
|
|
44
|
-
|
|
40
|
+
f as default
|
|
45
41
|
};
|
package/fy-draggable/index.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { w as a, s as l } from "../chunks/util.DqFv_pWg.mjs";
|
|
2
2
|
import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
-
import "@web-utils/core";
|
|
4
3
|
const v = {
|
|
5
4
|
name: "FyDraggable",
|
|
6
5
|
props: {
|
|
@@ -313,7 +312,7 @@ var g = function() {
|
|
|
313
312
|
null,
|
|
314
313
|
null
|
|
315
314
|
);
|
|
316
|
-
const
|
|
315
|
+
const L = _.exports;
|
|
317
316
|
export {
|
|
318
|
-
|
|
317
|
+
L as default
|
|
319
318
|
};
|
package/fy-dynamic/index.mjs
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { p as d, e as u } from "../chunks/event.9aDS6jcw.mjs";
|
|
2
|
-
import { d as
|
|
2
|
+
import { d as l, o } from "../chunks/util.DqFv_pWg.mjs";
|
|
3
3
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
-
import "../chunks/slot.DXIbhGat.mjs";
|
|
5
|
-
import "@web-utils/core";
|
|
6
|
-
import "../chunks/dataformat.CpqOeGBl.mjs";
|
|
7
4
|
const h = {
|
|
8
5
|
name: "FyDynamic",
|
|
9
6
|
mixins: [d, u],
|
|
@@ -32,7 +29,7 @@ const h = {
|
|
|
32
29
|
return this.max ? this.text.length !== this.max : !0;
|
|
33
30
|
},
|
|
34
31
|
showIndex() {
|
|
35
|
-
return
|
|
32
|
+
return o(this.children.index, !0);
|
|
36
33
|
},
|
|
37
34
|
showType() {
|
|
38
35
|
return this.children.type || "crud";
|
|
@@ -90,7 +87,7 @@ const h = {
|
|
|
90
87
|
emptyBtn: !1,
|
|
91
88
|
submitBtn: !1,
|
|
92
89
|
...(() => {
|
|
93
|
-
const t =
|
|
90
|
+
const t = l(this.children);
|
|
94
91
|
return delete t.column, t;
|
|
95
92
|
})(),
|
|
96
93
|
...(() => {
|
|
@@ -110,7 +107,7 @@ const h = {
|
|
|
110
107
|
return this.columnOption.forEach((e) => {
|
|
111
108
|
t.push(
|
|
112
109
|
Object.assign(e, {
|
|
113
|
-
cell:
|
|
110
|
+
cell: o(e.cell, this.isCrud)
|
|
114
111
|
})
|
|
115
112
|
);
|
|
116
113
|
}), {
|
|
@@ -129,7 +126,7 @@ const h = {
|
|
|
129
126
|
this.initData();
|
|
130
127
|
},
|
|
131
128
|
methods: {
|
|
132
|
-
deepClone:
|
|
129
|
+
deepClone: l,
|
|
133
130
|
handleSelectionChange(t) {
|
|
134
131
|
var e;
|
|
135
132
|
(e = this.selectionChange) == null || e.call(this, t);
|
|
@@ -167,7 +164,7 @@ const h = {
|
|
|
167
164
|
},
|
|
168
165
|
delRow(t) {
|
|
169
166
|
const e = () => {
|
|
170
|
-
const n =
|
|
167
|
+
const n = l(this.text);
|
|
171
168
|
n.splice(t, 1), this.text = n, this.reload = Math.random();
|
|
172
169
|
};
|
|
173
170
|
typeof this.rowDel == "function" ? this.rowDel(this.text[t], e) : e();
|
|
@@ -182,7 +179,7 @@ const h = {
|
|
|
182
179
|
}
|
|
183
180
|
}
|
|
184
181
|
};
|
|
185
|
-
var
|
|
182
|
+
var f = function() {
|
|
186
183
|
var e = this, n = e._self._c;
|
|
187
184
|
return n("div", { key: e.reload, staticClass: "avue-dynamic" }, [e.isForm ? [n("div", { staticClass: "avue-dynamic__header" }, [!e.readonly && !e.disabled && !e.addBtn ? n("ElButton", { attrs: { size: "mini", circle: "", disabled: e.disabled, type: "primary", icon: "el-icon-plus" }, on: { click: e.addRow } }) : e._e()], 1), n("div", e._l(e.text, function(r, i) {
|
|
188
185
|
return n("div", { key: i, staticClass: "avue-dynamic__row", on: { mouseenter: function(s) {
|
|
@@ -213,15 +210,15 @@ var m = function() {
|
|
|
213
210
|
return [e._t(r, null, null, i)];
|
|
214
211
|
} };
|
|
215
212
|
})], null, !0) }) : e._e()], 2);
|
|
216
|
-
},
|
|
213
|
+
}, m = [], p = /* @__PURE__ */ c(
|
|
217
214
|
h,
|
|
218
|
-
m,
|
|
219
215
|
f,
|
|
216
|
+
m,
|
|
220
217
|
!1,
|
|
221
218
|
null,
|
|
222
219
|
null
|
|
223
220
|
);
|
|
224
|
-
const
|
|
221
|
+
const _ = p.exports;
|
|
225
222
|
export {
|
|
226
|
-
|
|
223
|
+
_ as default
|
|
227
224
|
};
|
package/fy-empty/index.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { s as g } from "../chunks/util.DqFv_pWg.mjs";
|
|
2
2
|
import { n as A } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
-
import "@web-utils/core";
|
|
4
3
|
const N = {
|
|
5
4
|
name: "FyEmpty",
|
|
6
5
|
props: {
|
|
@@ -23,7 +22,7 @@ const N = {
|
|
|
23
22
|
var j = function() {
|
|
24
23
|
var M = this, I = M._self._c;
|
|
25
24
|
return I("div", { staticClass: "avue-empty" }, [I("div", { staticClass: "avue-empty__image", style: { height: M.setPx(M.size) } }, [I("img", { attrs: { src: M.image, alt: "" } })]), I("p", { staticClass: "avue-empty__desc" }, [M._v(" " + M._s(M.desc) + " ")]), M._t("default")], 2);
|
|
26
|
-
}, T = [],
|
|
25
|
+
}, T = [], L = /* @__PURE__ */ A(
|
|
27
26
|
N,
|
|
28
27
|
j,
|
|
29
28
|
T,
|
|
@@ -31,7 +30,7 @@ var j = function() {
|
|
|
31
30
|
null,
|
|
32
31
|
null
|
|
33
32
|
);
|
|
34
|
-
const
|
|
33
|
+
const u = L.exports;
|
|
35
34
|
export {
|
|
36
|
-
|
|
35
|
+
u as default
|
|
37
36
|
};
|
package/fy-form/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as N, d as P } from "../chunks/FormTemp.
|
|
1
|
+
import { F as N, d as P } from "../chunks/FormTemp.BQxO5IQq.mjs";
|
|
2
2
|
import { i as z } from "../chunks/init.DAsXSoLW.mjs";
|
|
3
3
|
import { u as B, d as D, s as v, j as S, x as j, o as I, D as L, y as V, p as M } from "../chunks/util.DqFv_pWg.mjs";
|
|
4
4
|
import { a as A, b as W, f as R, d as G, c as H } from "../chunks/dataformat.CpqOeGBl.mjs";
|
|
@@ -6,9 +6,6 @@ import { s as U } from "../chunks/dic.Dkl-leRW.mjs";
|
|
|
6
6
|
import { p as K } from "../chunks/packages.ByyangTp.mjs";
|
|
7
7
|
import { isBlank as u } from "@web-utils/core";
|
|
8
8
|
import { n as $ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
9
|
-
import "@web-utils/integrations/dayjs";
|
|
10
|
-
import "./fy-u-editor/style.css";
|
|
11
|
-
import "../chunks/slot.DXIbhGat.mjs";
|
|
12
9
|
const q = (i, e, r, s) => {
|
|
13
10
|
if (!s) return;
|
|
14
11
|
if (!window.Mock) {
|
|
@@ -637,7 +634,7 @@ var oe = function() {
|
|
|
637
634
|
null,
|
|
638
635
|
null
|
|
639
636
|
);
|
|
640
|
-
const
|
|
637
|
+
const _e = le.exports;
|
|
641
638
|
export {
|
|
642
|
-
|
|
639
|
+
_e as default
|
|
643
640
|
};
|
package/fy-form-design/index.mjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { isBlank as E } from "@web-utils/core";
|
|
2
|
-
import f from "
|
|
2
|
+
import { c as v, M as f } from "../chunks/MonacoEditor.D31t4FTy.mjs";
|
|
3
3
|
import "./monaco-editor/style.css";
|
|
4
4
|
import b from "vuedraggable";
|
|
5
|
-
import { c as v } from "../chunks/json-beautifier.Bp3GslGm.mjs";
|
|
6
5
|
import { d as p, z as u } from "../chunks/util.DqFv_pWg.mjs";
|
|
7
6
|
import { cloneDeep as g } from "@web-utils/integrations/lodash";
|
|
8
7
|
import "./fy-u-editor/style.css";
|
|
@@ -514,7 +513,7 @@ const _ = [
|
|
|
514
513
|
}
|
|
515
514
|
}, I = {
|
|
516
515
|
name: "WidgetFormItem",
|
|
517
|
-
components: { FyUEditor: () => import("
|
|
516
|
+
components: { FyUEditor: () => import("../fy-u-editor/index.mjs") },
|
|
518
517
|
props: {
|
|
519
518
|
item: {
|
|
520
519
|
type: Object,
|
|
@@ -782,7 +781,7 @@ var R = function() {
|
|
|
782
781
|
} } }, [t("i", { staticClass: "iconfont icon-clear" })]) : e._e(), e.selectWidget.prop === e.column.prop ? t("ElButton", { staticClass: "widget-action-clone", attrs: { title: "复制", circle: "", plain: "", size: "small", type: "primary" }, on: { click: function(a) {
|
|
783
782
|
return a.stopPropagation(), e.handleWidgetCloneTable(e.index);
|
|
784
783
|
} } }, [t("i", { staticClass: "iconfont icon-copy" })]) : e._e()], 1);
|
|
785
|
-
}, P = [],
|
|
784
|
+
}, P = [], M = /* @__PURE__ */ c(
|
|
786
785
|
z,
|
|
787
786
|
R,
|
|
788
787
|
P,
|
|
@@ -790,9 +789,9 @@ var R = function() {
|
|
|
790
789
|
null,
|
|
791
790
|
null
|
|
792
791
|
);
|
|
793
|
-
const
|
|
792
|
+
const D = M.exports, Q = {
|
|
794
793
|
name: "WidgetForm",
|
|
795
|
-
components: { Draggable: b, WidgetFormItem: y, WidgetFormTable: x, WidgetFormGroup:
|
|
794
|
+
components: { Draggable: b, WidgetFormItem: y, WidgetFormTable: x, WidgetFormGroup: D },
|
|
796
795
|
props: {
|
|
797
796
|
data: Object,
|
|
798
797
|
select: Object
|
|
@@ -1229,15 +1228,15 @@ var Pe = function() {
|
|
|
1229
1228
|
return t("div", [t("ElFormItem", { attrs: { label: "占位内容" } }, [t("ElInput", { attrs: { clearable: "", placeholder: "占位内容" }, model: { value: e.data.placeholder, callback: function(a) {
|
|
1230
1229
|
e.$set(e.data, "placeholder", a);
|
|
1231
1230
|
}, expression: "data.placeholder" } })], 1)], 1);
|
|
1232
|
-
},
|
|
1231
|
+
}, Me = [], De = /* @__PURE__ */ c(
|
|
1233
1232
|
Re,
|
|
1234
1233
|
Pe,
|
|
1235
|
-
|
|
1234
|
+
Me,
|
|
1236
1235
|
!1,
|
|
1237
1236
|
null,
|
|
1238
1237
|
null
|
|
1239
1238
|
);
|
|
1240
|
-
const Qe =
|
|
1239
|
+
const Qe = De.exports, Ke = {
|
|
1241
1240
|
name: "ConfigSelect",
|
|
1242
1241
|
components: { Draggable: b, MonacoEditor: f },
|
|
1243
1242
|
props: {
|
|
@@ -1994,7 +1993,7 @@ const Rt = zt.exports, Pt = [
|
|
|
1994
1993
|
label: "年",
|
|
1995
1994
|
value: "year"
|
|
1996
1995
|
}
|
|
1997
|
-
],
|
|
1996
|
+
], Mt = {
|
|
1998
1997
|
name: "AfdColumn",
|
|
1999
1998
|
props: {
|
|
2000
1999
|
column: {
|
|
@@ -2028,7 +2027,7 @@ const Rt = zt.exports, Pt = [
|
|
|
2028
2027
|
}
|
|
2029
2028
|
}
|
|
2030
2029
|
};
|
|
2031
|
-
var
|
|
2030
|
+
var Dt = function() {
|
|
2032
2031
|
var e = this, t = e._self._c;
|
|
2033
2032
|
return t("ElDrawer", { attrs: { visible: e.visible, size: "80%", "append-to-body": "" }, on: { "update:visible": function(a) {
|
|
2034
2033
|
e.visible = a;
|
|
@@ -2066,8 +2065,8 @@ var Mt = function() {
|
|
|
2066
2065
|
e.visible = !1;
|
|
2067
2066
|
} } }, [e._v("取消")])], 1)], 1);
|
|
2068
2067
|
}, Qt = [], Kt = /* @__PURE__ */ c(
|
|
2069
|
-
Dt,
|
|
2070
2068
|
Mt,
|
|
2069
|
+
Dt,
|
|
2071
2070
|
Qt,
|
|
2072
2071
|
!1,
|
|
2073
2072
|
null,
|
|
@@ -2847,7 +2846,7 @@ var ta = function() {
|
|
|
2847
2846
|
null,
|
|
2848
2847
|
null
|
|
2849
2848
|
);
|
|
2850
|
-
const
|
|
2849
|
+
const ua = la.exports;
|
|
2851
2850
|
export {
|
|
2852
|
-
|
|
2851
|
+
ua as default
|
|
2853
2852
|
};
|
package/fy-input/index.mjs
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { p as r, e as
|
|
2
|
-
import { n as
|
|
3
|
-
|
|
4
|
-
import "@web-utils/core";
|
|
5
|
-
import "../chunks/slot.DXIbhGat.mjs";
|
|
6
|
-
import "../chunks/dataformat.CpqOeGBl.mjs";
|
|
7
|
-
const a = {
|
|
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 = {
|
|
8
4
|
name: "FyInput",
|
|
9
|
-
mixins: [r,
|
|
5
|
+
mixins: [r, a],
|
|
10
6
|
props: {
|
|
11
7
|
showPassword: {
|
|
12
8
|
type: Boolean,
|
|
@@ -66,7 +62,7 @@ const a = {
|
|
|
66
62
|
}
|
|
67
63
|
}
|
|
68
64
|
};
|
|
69
|
-
var
|
|
65
|
+
var s = function() {
|
|
70
66
|
var e = this, t = e._self._c;
|
|
71
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) {
|
|
72
68
|
if (!n.type.indexOf("key") && e._k(n.keyCode, "enter", 13, n.key, "Enter")) return null;
|
|
@@ -88,15 +84,15 @@ var i = function() {
|
|
|
88
84
|
}, proxy: !0 } : null], null, !0), model: { value: e.text, callback: function(n) {
|
|
89
85
|
e.text = n;
|
|
90
86
|
}, expression: "text" } });
|
|
91
|
-
},
|
|
92
|
-
|
|
93
|
-
i,
|
|
87
|
+
}, l = [], i = /* @__PURE__ */ o(
|
|
88
|
+
p,
|
|
94
89
|
s,
|
|
90
|
+
l,
|
|
95
91
|
!1,
|
|
96
92
|
null,
|
|
97
93
|
null
|
|
98
94
|
);
|
|
99
|
-
const
|
|
95
|
+
const f = i.exports;
|
|
100
96
|
export {
|
|
101
|
-
|
|
97
|
+
f as default
|
|
102
98
|
};
|
package/fy-input-color/index.mjs
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { p as
|
|
2
|
-
import { n
|
|
3
|
-
|
|
4
|
-
import "@web-utils/core";
|
|
5
|
-
import "../chunks/slot.DXIbhGat.mjs";
|
|
6
|
-
import "../chunks/dataformat.CpqOeGBl.mjs";
|
|
7
|
-
const n = {
|
|
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 = {
|
|
8
4
|
name: "FyInputColor",
|
|
9
|
-
mixins: [
|
|
5
|
+
mixins: [l, t],
|
|
10
6
|
props: {
|
|
11
7
|
colorFormat: String,
|
|
12
8
|
predefine: {
|
|
@@ -34,25 +30,25 @@ const n = {
|
|
|
34
30
|
}
|
|
35
31
|
};
|
|
36
32
|
var s = function() {
|
|
37
|
-
var e = this,
|
|
38
|
-
return
|
|
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) {
|
|
39
35
|
return e.handleClick.apply(null, arguments);
|
|
40
36
|
} }, scopedSlots: e._u([{ key: "append", fn: function() {
|
|
41
|
-
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) {
|
|
42
38
|
e.text = r;
|
|
43
39
|
}, expression: "text" } })];
|
|
44
40
|
}, proxy: !0 }]), model: { value: e.text, callback: function(r) {
|
|
45
41
|
e.text = r;
|
|
46
42
|
}, expression: "text" } })], 1);
|
|
47
|
-
}, p = [],
|
|
48
|
-
|
|
43
|
+
}, p = [], c = /* @__PURE__ */ n(
|
|
44
|
+
o,
|
|
49
45
|
s,
|
|
50
46
|
p,
|
|
51
47
|
!1,
|
|
52
48
|
null,
|
|
53
49
|
null
|
|
54
50
|
);
|
|
55
|
-
const
|
|
51
|
+
const u = c.exports;
|
|
56
52
|
export {
|
|
57
|
-
|
|
53
|
+
u as default
|
|
58
54
|
};
|
package/fy-input-icon/index.mjs
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { p as s, e as l } from "../chunks/event.9aDS6jcw.mjs";
|
|
2
|
-
import a from "
|
|
2
|
+
import a from "../icon-temp/index.mjs";
|
|
3
3
|
import "./icon-temp/style.css";
|
|
4
4
|
import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
-
import "../chunks/util.DqFv_pWg.mjs";
|
|
6
|
-
import "@web-utils/core";
|
|
7
|
-
import "../chunks/slot.DXIbhGat.mjs";
|
|
8
|
-
import "../chunks/dataformat.CpqOeGBl.mjs";
|
|
9
5
|
const o = {
|
|
10
6
|
name: "FyInputIcon",
|
|
11
7
|
components: { IconTemp: a },
|
|
@@ -68,11 +64,11 @@ var c = function() {
|
|
|
68
64
|
} } }, [n("div", { staticClass: "avue-input-icon__filter" }, [n("ElInput", { attrs: { placeholder: "请输入", size: t.size }, model: { value: t.filterText, callback: function(i) {
|
|
69
65
|
t.filterText = i;
|
|
70
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) {
|
|
71
|
-
return n("div", { key: i.value, class: ["avue-input-icon__item", { active: t.text === i }], attrs: { title: i.label || i.value }, on: { click: function(
|
|
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) {
|
|
72
68
|
return t.handleSubmit(i.value);
|
|
73
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);
|
|
74
70
|
}), 0)], 1) : t._e()], 1);
|
|
75
|
-
}, u = [],
|
|
71
|
+
}, u = [], d = /* @__PURE__ */ r(
|
|
76
72
|
o,
|
|
77
73
|
c,
|
|
78
74
|
u,
|
|
@@ -80,7 +76,7 @@ var c = function() {
|
|
|
80
76
|
null,
|
|
81
77
|
null
|
|
82
78
|
);
|
|
83
|
-
const
|
|
79
|
+
const m = d.exports;
|
|
84
80
|
export {
|
|
85
|
-
|
|
81
|
+
m as default
|
|
86
82
|
};
|
package/fy-input-map/index.mjs
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { p as c, e as p } from "../chunks/event.9aDS6jcw.mjs";
|
|
2
2
|
import { isBlank as d } from "@web-utils/core";
|
|
3
3
|
import { n as h } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
-
|
|
5
|
-
import "../chunks/slot.DXIbhGat.mjs";
|
|
6
|
-
import "../chunks/dataformat.CpqOeGBl.mjs";
|
|
7
|
-
const m = {
|
|
4
|
+
const u = {
|
|
8
5
|
name: "FyInputMap",
|
|
9
6
|
mixins: [c, p],
|
|
10
7
|
props: {
|
|
@@ -160,7 +157,7 @@ const m = {
|
|
|
160
157
|
}
|
|
161
158
|
}
|
|
162
159
|
};
|
|
163
|
-
var
|
|
160
|
+
var m = function() {
|
|
164
161
|
var e = this, a = e._self._c;
|
|
165
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);
|
|
@@ -174,14 +171,14 @@ var u = function() {
|
|
|
174
171
|
e.formattedAddress = i;
|
|
175
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);
|
|
176
173
|
}, f = [], _ = /* @__PURE__ */ h(
|
|
177
|
-
m,
|
|
178
174
|
u,
|
|
175
|
+
m,
|
|
179
176
|
f,
|
|
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
|
};
|