@web-utils/component 3.2.3 → 3.3.0
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/chunks/{FormTemp.0ezzipG4.mjs → FormTemp.2IfXIr8o.mjs} +6 -5
- package/chunks/{form-input-mixin.DLHG0EnH.mjs → form-input-mixin.IKogWBfn.mjs} +2 -2
- package/chunks/{form-item-mixin.gd9p9Rrj.mjs → form-item-mixin.BilKDUlK.mjs} +1 -1
- package/chunks/{index.Uf8ONhVI.mjs → index.LGsb2aDq.mjs} +3 -3
- package/data-display/index.mjs +15 -129
- package/data-table-picker/index.mjs +1 -1
- package/easy-popup/index.mjs +7 -8
- package/editable-tree/index.mjs +1 -1
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- package/flow-designer/index.mjs +164 -218
- package/flow-viewer/index.mjs +73 -161
- package/form-button/index.mjs +11 -25
- package/form-cascader/index.mjs +2 -2
- package/form-checkbox-group/index.mjs +2 -2
- package/form-date-picker/index.mjs +2 -2
- package/form-holder/index.mjs +1 -1
- package/form-input/index.mjs +2 -2
- package/form-input-email/index.mjs +2 -2
- package/form-input-id-card/index.mjs +2 -2
- package/form-input-number/index.mjs +2 -2
- package/form-input-phone-number/index.mjs +2 -2
- package/form-input-tag/index.mjs +31 -155
- package/form-input-time/index.mjs +2 -2
- package/form-item/index.mjs +1 -1
- package/form-radio-group/index.mjs +2 -2
- package/form-select/index.mjs +2 -2
- package/form-switch/index.mjs +2 -2
- package/form-textarea/index.mjs +2 -2
- package/form-view/index.mjs +13 -12
- package/fy-curd/index.mjs +5 -4
- package/fy-form/index.mjs +1 -1
- package/fy-form-design/index.mjs +329 -498
- package/fy-input-icon/index.mjs +21 -20
- package/fy-u-editor/index.mjs +237 -75
- package/highlight-j-s/index.mjs +3 -4
- package/icon-temp/index.mjs +6 -7
- package/nav-bar/index.mjs +6 -7
- package/package.json +1 -1
- package/page/index.mjs +0 -1
- package/page-header/index.mjs +2 -3
- package/page-skeleton/index.mjs +17 -95
- package/pageable-table/index.mjs +1 -1
- package/pageable-view/index.mjs +8 -8
- package/present-view/index.mjs +4 -3
- package/resize-observer/index.mjs +3 -4
- package/split-pane/index.mjs +4 -3
- package/swiper/index.mjs +4 -3
- package/table-view/index.mjs +1 -1
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +9 -10
- package/chunks/FyUEditor.c06LkvIy.mjs +0 -224
- package/chunks/FyUEditor.vue_vue_type_style_index_0_lang.0-PDx197.mjs +0 -167
- package/chunks/IconTemp.tzsg5qth.mjs +0 -29
- package/chunks/ResizeObserver.sOHk2Cm-.mjs +0 -51
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { isBlank as _ } from "@web-utils/core";
|
|
2
2
|
import { formatDate as i } from "@web-utils/integrations/dayjs";
|
|
3
3
|
import { p as h, M as g, A as b, b as c, q as A, e as S, k as d, t as T, h as C, v, u as x } from "./util.y1gUGRqi.mjs";
|
|
4
|
+
import "./fy-u-editor/style.css";
|
|
4
5
|
import { a as D, b as O } from "./dataformat.Ab9PZnVk.mjs";
|
|
5
6
|
import { s as j } from "./slot.j1uMmBnG.mjs";
|
|
6
7
|
import { n as L } from "./_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
7
|
-
const
|
|
8
|
+
const R = (n = {}, e = {}, s = {}, r = []) => {
|
|
8
9
|
let t = n[e.prop];
|
|
9
10
|
const a = e.type, o = e.separator;
|
|
10
11
|
if (e.bind && (t = h(n, e.bind)), _(t))
|
|
@@ -28,7 +29,7 @@ const M = (n = {}, e = {}, s = {}, r = []) => {
|
|
|
28
29
|
return e.formatter && typeof e.formatter == "function" && (t = e.formatter(n, n[e.prop], t, e)), t;
|
|
29
30
|
}, Y = {
|
|
30
31
|
name: "FormTemp",
|
|
31
|
-
components: { FyUEditor: () => import("./
|
|
32
|
+
components: { FyUEditor: () => import("./fy-u-editor/index.mjs") },
|
|
32
33
|
mixins: [j],
|
|
33
34
|
props: {
|
|
34
35
|
value: [String, Object, Number, Boolean, Array],
|
|
@@ -117,8 +118,8 @@ var k = function() {
|
|
|
117
118
|
null,
|
|
118
119
|
null
|
|
119
120
|
);
|
|
120
|
-
const
|
|
121
|
+
const V = I.exports;
|
|
121
122
|
export {
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
V as F,
|
|
124
|
+
R as d
|
|
124
125
|
};
|
|
@@ -9,7 +9,7 @@ var i = (e, r, t) => r in e ? m(e, r, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
c.call(r, t) && i(e, t, r[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { d as o } from "./index.
|
|
12
|
+
import { d as o } from "./index.LGsb2aDq.mjs";
|
|
13
13
|
import a from "element-ui/lib/col";
|
|
14
14
|
import u from "element-ui/lib/form-item";
|
|
15
15
|
const d = ["span"], n = [...Object.keys(a.props || a.default.props)], h = n.filter((e) => !d.includes(e)), b = ["label", "prop", "rules", "labelWidth", "required"], p = [...Object.keys(u.props || u.default.props)], g = p.filter((e) => !b.includes(e)), y = [
|
package/data-display/index.mjs
CHANGED
|
@@ -1,123 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var m = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var i = (e, t, s) => t in e ? u(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, r = (e, t) => {
|
|
6
|
-
for (var s in t || (t = {}))
|
|
7
|
-
m.call(t, s) && i(e, s, t[s]);
|
|
8
|
-
if (n)
|
|
9
|
-
for (var s of n(t))
|
|
10
|
-
f.call(t, s) && i(e, s, t[s]);
|
|
11
|
-
return e;
|
|
12
|
-
}, o = (e, t) => d(e, p(t));
|
|
13
|
-
import { CountUp as h } from "countup.js";
|
|
14
|
-
import { n as l } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
15
|
-
const _ = {
|
|
16
|
-
name: "CountUp",
|
|
17
|
-
props: {
|
|
18
|
-
animation: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: !0
|
|
21
|
-
},
|
|
22
|
-
start: {
|
|
23
|
-
type: [Number, String],
|
|
24
|
-
required: !1,
|
|
25
|
-
default: 0
|
|
26
|
-
},
|
|
27
|
-
end: {
|
|
28
|
-
type: [Number, String],
|
|
29
|
-
required: !0
|
|
30
|
-
},
|
|
31
|
-
decimals: {
|
|
32
|
-
type: Number,
|
|
33
|
-
required: !1,
|
|
34
|
-
default: 0
|
|
35
|
-
},
|
|
36
|
-
duration: {
|
|
37
|
-
type: Number,
|
|
38
|
-
required: !1,
|
|
39
|
-
default: 2
|
|
40
|
-
},
|
|
41
|
-
options: {
|
|
42
|
-
type: Object,
|
|
43
|
-
required: !1,
|
|
44
|
-
default() {
|
|
45
|
-
return {};
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
callback: {
|
|
49
|
-
type: Function,
|
|
50
|
-
required: !1,
|
|
51
|
-
default: () => {
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
watch: {
|
|
56
|
-
decimals() {
|
|
57
|
-
var e;
|
|
58
|
-
(e = this.c) == null || e.update(this.end);
|
|
59
|
-
},
|
|
60
|
-
end(e) {
|
|
61
|
-
var t;
|
|
62
|
-
(t = this.c) == null || t.update(e);
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
mounted() {
|
|
66
|
-
this.animation && this.init();
|
|
67
|
-
},
|
|
68
|
-
beforeDestroy() {
|
|
69
|
-
this.destroy();
|
|
70
|
-
},
|
|
71
|
-
methods: {
|
|
72
|
-
init() {
|
|
73
|
-
this.c || (this.c = new h(this.$el, this.end, o(r({}, this.options), {
|
|
74
|
-
decimal: this.decimals,
|
|
75
|
-
duration: this.duration,
|
|
76
|
-
startVal: this.start
|
|
77
|
-
})), this.c.start(() => {
|
|
78
|
-
this.callback(this.c);
|
|
79
|
-
}));
|
|
80
|
-
},
|
|
81
|
-
destroy() {
|
|
82
|
-
this.c = null;
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
start(e) {
|
|
86
|
-
var t;
|
|
87
|
-
(t = this.c) == null || t.start(() => {
|
|
88
|
-
e && e(this.c);
|
|
89
|
-
});
|
|
90
|
-
},
|
|
91
|
-
pauseResume() {
|
|
92
|
-
var e;
|
|
93
|
-
(e = this.c) == null || e.pauseResume();
|
|
94
|
-
},
|
|
95
|
-
reset() {
|
|
96
|
-
var e;
|
|
97
|
-
(e = this.c) == null || e.reset();
|
|
98
|
-
},
|
|
99
|
-
update(e) {
|
|
100
|
-
var t;
|
|
101
|
-
(t = this.c) == null || t.update(e);
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
var v = function() {
|
|
105
|
-
var t = this, s = t._self._c;
|
|
106
|
-
return s("span", [t._v(t._s(t.end))]);
|
|
107
|
-
}, y = [], C = /* @__PURE__ */ l(
|
|
108
|
-
_,
|
|
109
|
-
v,
|
|
110
|
-
y,
|
|
111
|
-
!1,
|
|
112
|
-
null,
|
|
113
|
-
null,
|
|
114
|
-
null,
|
|
115
|
-
null
|
|
116
|
-
);
|
|
117
|
-
const b = C.exports, $ = {
|
|
1
|
+
import o from "./count-up/index.mjs";
|
|
2
|
+
import { n as i } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
|
+
const r = {
|
|
118
4
|
name: "DataDisplay",
|
|
119
5
|
components: {
|
|
120
|
-
CountUp:
|
|
6
|
+
CountUp: o
|
|
121
7
|
},
|
|
122
8
|
props: {
|
|
123
9
|
option: {
|
|
@@ -144,24 +30,24 @@ const b = C.exports, $ = {
|
|
|
144
30
|
}
|
|
145
31
|
}
|
|
146
32
|
};
|
|
147
|
-
var
|
|
148
|
-
var t = this,
|
|
149
|
-
return
|
|
150
|
-
return
|
|
33
|
+
var l = function() {
|
|
34
|
+
var t = this, n = t._self._c;
|
|
35
|
+
return n("div", { staticClass: "avue-data-display" }, [n("ElRow", { attrs: { span: 24 } }, t._l(t.data, function(a, s) {
|
|
36
|
+
return n("ElCol", { key: s, attrs: { md: t.span, xs: 12, sm: 12 } }, [n("div", { staticClass: "item", style: { color: t.color } }, [n("a", { attrs: { href: a.href, target: a.target }, on: { click: function(u) {
|
|
151
37
|
a.click && a.click(a);
|
|
152
|
-
} } }, [
|
|
38
|
+
} } }, [n("CountUp", { staticClass: "count", attrs: { animation: a.animation || t.animation, decimals: a.decimals || t.decimals, end: a.count } }), n("span", { staticClass: "splitLine" }), n("div", { staticClass: "title" }, [t._v(t._s(a.title))])], 1)])]);
|
|
153
39
|
}), 1)], 1);
|
|
154
|
-
},
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
40
|
+
}, e = [], c = /* @__PURE__ */ i(
|
|
41
|
+
r,
|
|
42
|
+
l,
|
|
43
|
+
e,
|
|
158
44
|
!1,
|
|
159
45
|
null,
|
|
160
46
|
null,
|
|
161
47
|
null,
|
|
162
48
|
null
|
|
163
49
|
);
|
|
164
|
-
const
|
|
50
|
+
const _ = c.exports;
|
|
165
51
|
export {
|
|
166
|
-
|
|
52
|
+
_ as default
|
|
167
53
|
};
|
package/easy-popup/index.mjs
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
var d = (i, e, t) => new Promise((o,
|
|
1
|
+
var d = (i, e, t) => new Promise((o, r) => {
|
|
2
2
|
var l = (s) => {
|
|
3
3
|
try {
|
|
4
4
|
n(t.next(s));
|
|
5
|
-
} catch (
|
|
6
|
-
a
|
|
5
|
+
} catch (a) {
|
|
6
|
+
r(a);
|
|
7
7
|
}
|
|
8
8
|
}, h = (s) => {
|
|
9
9
|
try {
|
|
10
10
|
n(t.throw(s));
|
|
11
|
-
} catch (
|
|
12
|
-
a
|
|
11
|
+
} catch (a) {
|
|
12
|
+
r(a);
|
|
13
13
|
}
|
|
14
14
|
}, n = (s) => s.done ? o(s.value) : Promise.resolve(s.value).then(l, h);
|
|
15
15
|
n((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
17
|
import { getComputedWidth as f, getComputedHeight as u } from "@web-utils/core";
|
|
18
|
-
/* empty css */
|
|
19
18
|
import { n as p } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
20
19
|
const c = {
|
|
21
20
|
name: "EasyPopup",
|
|
@@ -105,7 +104,7 @@ var m = function() {
|
|
|
105
104
|
null,
|
|
106
105
|
null
|
|
107
106
|
);
|
|
108
|
-
const
|
|
107
|
+
const w = v.exports;
|
|
109
108
|
export {
|
|
110
|
-
|
|
109
|
+
w as default
|
|
111
110
|
};
|
package/editable-tree/index.mjs
CHANGED
|
@@ -29,7 +29,7 @@ var a = (t, e, i) => new Promise((s, o) => {
|
|
|
29
29
|
import { hasOwn as m, isVerticalScrollbarVisible as T, scrollbarWidth as M, computePosition as K, isPlainObject as u, isFunction as N, isUndefined as p, isNotEmpty as P, fastClone as E, delay as D, findTreeChildren as L } from "@web-utils/core";
|
|
30
30
|
import { addResizeListener as C, removeResizeListener as g } from "@web-utils/integrations/resize";
|
|
31
31
|
import { cloneDeep as v } from "@web-utils/integrations/lodash";
|
|
32
|
-
import { a as R, b as z, c as y } from "../chunks/index.
|
|
32
|
+
import { a as R, b as z, c as y } from "../chunks/index.LGsb2aDq.mjs";
|
|
33
33
|
import { n as S } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
34
34
|
const V = {
|
|
35
35
|
name: "EditableTree",
|
package/flex-column/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ var a = (t, e, n) => e in t ? i(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
m.call(e, n) && a(t, n, e[n]);
|
|
11
11
|
return t;
|
|
12
12
|
}, c = (t, e) => u(t, f(e));
|
|
13
|
-
import { g as h } from "../chunks/index.
|
|
13
|
+
import { g as h } from "../chunks/index.LGsb2aDq.mjs";
|
|
14
14
|
import { n as _ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
15
15
|
const d = {
|
|
16
16
|
name: "FlexColumn",
|
package/flex-item/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ var r = (t, e, l) => e in t ? i(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
x.call(e, l) && r(t, l, e[l]);
|
|
11
11
|
return t;
|
|
12
12
|
}, f = (t, e) => u(t, c(e));
|
|
13
|
-
import { g as m } from "../chunks/index.
|
|
13
|
+
import { g as m } from "../chunks/index.LGsb2aDq.mjs";
|
|
14
14
|
import { n as C } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
15
15
|
const d = {
|
|
16
16
|
name: "FlexItem",
|
package/flex-row/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ var a = (n, e, t) => e in n ? i(n, e, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
h.call(e, t) && a(n, t, e[t]);
|
|
11
11
|
return n;
|
|
12
12
|
}, c = (n, e) => f(n, u(e));
|
|
13
|
-
import { g as _ } from "../chunks/index.
|
|
13
|
+
import { g as _ } from "../chunks/index.LGsb2aDq.mjs";
|
|
14
14
|
import { n as m } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
15
15
|
const d = {
|
|
16
16
|
name: "FlexRow",
|