@web-utils/component 4.0.9 → 4.0.11
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 +2 -2
- 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 +2 -2
- package/flow-node/index.mjs +3 -4
- package/flow-viewer/index.mjs +2 -2
- 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 +2 -2
- 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 +2 -5
- package/fy-form-design/index.mjs +4 -4
- package/fy-input/index.mjs +10 -14
- package/fy-input-color/index.mjs +11 -15
- package/fy-input-icon/index.mjs +6 -10
- 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/license/index.mjs +2 -3
- package/package.json +1 -1
- package/page-skeleton/index.mjs +6 -6
- package/pageable-table/index.mjs +2 -5
- package/pageable-view/index.mjs +6 -7
- package/photo-swipe/index.mjs +5 -7
- package/picker-table-view/index.mjs +23 -24
- package/present-view/index.mjs +2 -2
- 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 +2 -2
- package/swiper/index.mjs +2 -2
- package/table-column/index.mjs +2 -5
- package/table-view/index.mjs +2 -3
- package/text-ellipsis/index.mjs +2 -3
- package/toolbar/index.mjs +2 -3
- package/toolbar-button/index.mjs +2 -3
- package/verify/index.mjs +7 -8
- package/watermark/index.mjs +14 -15
- package/web-types.json +1 -1
package/pageable-view/index.mjs
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { cloneDeep as n, merge as
|
|
2
|
-
import { hasOwn as
|
|
1
|
+
import { cloneDeep as n, merge as g } from "@web-utils/integrations/lodash";
|
|
2
|
+
import { hasOwn as p, copy as f } from "@web-utils/core";
|
|
3
3
|
import { f as h, i as u, j as m } from "../chunks/index.B2TRddqf.mjs";
|
|
4
4
|
import { n as b } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
-
import "async-validator";
|
|
6
5
|
function S(e) {
|
|
7
6
|
let t = "";
|
|
8
7
|
for (const s in e)
|
|
@@ -119,7 +118,7 @@ const i = {
|
|
|
119
118
|
return e.length > 3 ? 50 + (e.length - 3) * 10 : 50;
|
|
120
119
|
},
|
|
121
120
|
mergeAttrs() {
|
|
122
|
-
return
|
|
121
|
+
return g({}, this.$attrs, { height: this.autoHeight ? null : "auto" });
|
|
123
122
|
},
|
|
124
123
|
headers() {
|
|
125
124
|
var e;
|
|
@@ -216,7 +215,7 @@ const i = {
|
|
|
216
215
|
},
|
|
217
216
|
async getPage() {
|
|
218
217
|
var o;
|
|
219
|
-
if (
|
|
218
|
+
if (p(this.$attrs, "data")) {
|
|
220
219
|
this.records = this.$attrs.data, this.page.page = 1, this.page.total = this.records.length, this.page.limit = this.page.total;
|
|
221
220
|
return;
|
|
222
221
|
}
|
|
@@ -270,7 +269,7 @@ var v = function() {
|
|
|
270
269
|
null,
|
|
271
270
|
null
|
|
272
271
|
);
|
|
273
|
-
const
|
|
272
|
+
const x = T.exports;
|
|
274
273
|
export {
|
|
275
|
-
|
|
274
|
+
x as default
|
|
276
275
|
};
|
package/photo-swipe/index.mjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { p as o } from "../chunks/index.BmYCjxZQ.mjs";
|
|
2
2
|
import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
-
import "photoswipe";
|
|
4
|
-
import "photoswipe/dist/photoswipe.css";
|
|
5
3
|
const i = {
|
|
6
4
|
name: "PhotoSwipe",
|
|
7
5
|
props: {
|
|
@@ -17,22 +15,22 @@ const i = {
|
|
|
17
15
|
}
|
|
18
16
|
}
|
|
19
17
|
};
|
|
20
|
-
var
|
|
18
|
+
var a = function() {
|
|
21
19
|
var r = this, t = r._self._c;
|
|
22
20
|
return t("div", { ref: "wrapper" }, [r._t("default", function() {
|
|
23
21
|
return r._l(r.urls, function(s) {
|
|
24
22
|
return t("img", { key: s.src, staticStyle: { cursor: "pointer" }, attrs: { width: "100", src: s.src, alt: "" }, on: { click: r.preview } });
|
|
25
23
|
});
|
|
26
24
|
}, { urls: r.urls, preview: r.preview })], 2);
|
|
27
|
-
},
|
|
25
|
+
}, c = [], p = /* @__PURE__ */ n(
|
|
28
26
|
i,
|
|
29
|
-
p,
|
|
30
27
|
a,
|
|
28
|
+
c,
|
|
31
29
|
!1,
|
|
32
30
|
null,
|
|
33
31
|
null
|
|
34
32
|
);
|
|
35
|
-
const
|
|
33
|
+
const _ = p.exports;
|
|
36
34
|
export {
|
|
37
|
-
|
|
35
|
+
_ as default
|
|
38
36
|
};
|
|
@@ -4,7 +4,6 @@ import { isPlainObject as y, isFunction as P } from "@web-utils/core";
|
|
|
4
4
|
import { cloneDeep as T } from "@web-utils/integrations/lodash";
|
|
5
5
|
import { g as B } from "../chunks/index.B2TRddqf.mjs";
|
|
6
6
|
import { n as O } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
7
|
-
import "async-validator";
|
|
8
7
|
const E = {
|
|
9
8
|
name: "PickerTableView"
|
|
10
9
|
}, R = /* @__PURE__ */ Object.assign(E, {
|
|
@@ -53,11 +52,11 @@ const E = {
|
|
|
53
52
|
}
|
|
54
53
|
},
|
|
55
54
|
emits: ["cancel", "confirm", "update:visible"],
|
|
56
|
-
setup(f, { expose: e, emit:
|
|
57
|
-
const t = f, a = l([]), s = l(null), i = l([]), m = l([]), g = l(null), h = l(null), v = l(null), _ = l(null), b = (
|
|
58
|
-
a.value =
|
|
59
|
-
}, x = (
|
|
60
|
-
s.value =
|
|
55
|
+
setup(f, { expose: e, emit: n }) {
|
|
56
|
+
const t = f, a = l([]), s = l(null), i = l([]), m = l([]), g = l(null), h = l(null), v = l(null), _ = l(null), b = (o) => {
|
|
57
|
+
a.value = o;
|
|
58
|
+
}, x = (o) => {
|
|
59
|
+
s.value = o;
|
|
61
60
|
}, d = () => {
|
|
62
61
|
g.value.reload();
|
|
63
62
|
}, k = () => {
|
|
@@ -65,20 +64,20 @@ const E = {
|
|
|
65
64
|
}, u = () => {
|
|
66
65
|
v.value.hide();
|
|
67
66
|
}, w = () => {
|
|
68
|
-
|
|
67
|
+
n("cancel"), u();
|
|
69
68
|
}, C = () => {
|
|
70
69
|
var p;
|
|
71
|
-
let
|
|
72
|
-
if (t.multiple ? (p = a.value) != null && p.length && (
|
|
70
|
+
let o;
|
|
71
|
+
if (t.multiple ? (p = a.value) != null && p.length && (o = a.value) : s.value && (o = [s.value]), !o.length) {
|
|
73
72
|
B(N).warning("请选择!");
|
|
74
73
|
return;
|
|
75
74
|
}
|
|
76
|
-
|
|
77
|
-
}, F = (
|
|
78
|
-
|
|
75
|
+
n("confirm", o), u();
|
|
76
|
+
}, F = (o) => {
|
|
77
|
+
n("update:visible", o);
|
|
79
78
|
};
|
|
80
79
|
return S(async () => {
|
|
81
|
-
var
|
|
80
|
+
var o;
|
|
82
81
|
if (t.useTree) {
|
|
83
82
|
const c = (await t.treeApi()).data.data;
|
|
84
83
|
if (y(t.customRootNode)) {
|
|
@@ -89,22 +88,22 @@ const E = {
|
|
|
89
88
|
r[t.treeProps.children || "children"] = c, i.value = y(r) ? [r] : r;
|
|
90
89
|
} else
|
|
91
90
|
i.value = c;
|
|
92
|
-
t.expandFirstNode && (m.value = [(
|
|
91
|
+
t.expandFirstNode && (m.value = [(o = i.value[0]) == null ? void 0 : o.id]);
|
|
93
92
|
}
|
|
94
93
|
}), e({
|
|
95
94
|
search: d
|
|
96
|
-
}), { __sfc: !0, props: t, emits:
|
|
95
|
+
}), { __sfc: !0, props: t, emits: n, rows: a, current: s, treeData: i, expandedKeys: m, table: g, form: h, dialog: v, tree: _, handleChange: b, handleCurrentChange: x, search: d, clear: k, closeDialog: u, onCancel: w, confirm: C, updateVisible: F };
|
|
97
96
|
}
|
|
98
97
|
});
|
|
99
98
|
var D = function() {
|
|
100
|
-
var e = this,
|
|
101
|
-
return
|
|
102
|
-
return [
|
|
103
|
-
}, proxy: !0 }]) }, [
|
|
104
|
-
return [
|
|
105
|
-
}, proxy: !0 } : null], null, !0) }, [
|
|
99
|
+
var e = this, n = e._self._c, t = e._self._setupProxy;
|
|
100
|
+
return n("ElementDialog", { ref: "dialog", attrs: { visible: e.visible, height: e.height, width: e.width, "body-padding": !1, "show-full-screen": "", title: e.title }, on: { "update:visible": t.updateVisible }, scopedSlots: e._u([{ key: "footer", fn: function() {
|
|
101
|
+
return [n("ElButton", { attrs: { size: "mini", type: "primary" }, on: { click: t.confirm } }, [e._v("确定")]), n("ElButton", { attrs: { size: "mini" }, on: { click: t.onCancel } }, [e._v("取消")])];
|
|
102
|
+
}, proxy: !0 }]) }, [n("SkeletonPanel", { attrs: { "flex-column": "", "use-tab": !1, "hide-left": !e.useTree }, scopedSlots: e._u([e.useTree ? { key: "left", fn: function() {
|
|
103
|
+
return [n("div", { staticStyle: { padding: "10px 0", "font-size": "16px", "border-bottom": "1px solid #eee" } }, [e._v(e._s(e.treeTitle))]), n("ElTree", { ref: "tree", attrs: { "node-key": e.nodeKey, data: t.treeData, "default-expanded-keys": t.expandedKeys, props: e.treeProps, "expand-on-click-node": e.expandOnClickNode }, on: { "node-click": e.onNodeClick } })];
|
|
104
|
+
}, proxy: !0 } : null], null, !0) }, [n("FormHolder", { ref: "form", staticStyle: { padding: "10px" }, attrs: { model: e.model, "not-table-form": "" }, nativeOn: { submit: function(a) {
|
|
106
105
|
return a.preventDefault(), t.search.apply(null, arguments);
|
|
107
|
-
} } }, [
|
|
106
|
+
} } }, [n("FormItemConfigProvider", { attrs: { reactive: "" } }, [n("ElRow", { attrs: { gutter: 0 } }, [e._t("search-form"), n("FormItem", { staticStyle: { "text-align": "right" }, attrs: { "hide-label": "", span: 24 } }, [n("ElButton", { attrs: { type: "primary", "native-type": "submit" } }, [e._v("搜索")]), n("ElButton", { on: { click: t.clear } }, [e._v("清空")])], 1)], 2)], 1)], 1), n("PageableTable", { ref: "table", attrs: { "highlight-current-row": "", "hide-on-single-page": "", "click-row-select": "", "row-key": e.rowKey, descs: e.descs, "payload-style": "body", api: e.tableApi, model: e.model, multiple: e.multiple }, on: { "current-change": t.handleCurrentChange, "selection-change": t.handleChange } }, [e._t("columns")], 2)], 1)], 1);
|
|
108
107
|
}, K = [], j = /* @__PURE__ */ O(
|
|
109
108
|
R,
|
|
110
109
|
D,
|
|
@@ -113,7 +112,7 @@ var D = function() {
|
|
|
113
112
|
null,
|
|
114
113
|
null
|
|
115
114
|
);
|
|
116
|
-
const
|
|
115
|
+
const q = j.exports;
|
|
117
116
|
export {
|
|
118
|
-
|
|
117
|
+
q as default
|
|
119
118
|
};
|
package/present-view/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isInContainer as u, delay as m, hasOwn as a, toStringArray as h } from "@web-utils/core";
|
|
2
2
|
import { merge as b } from "@web-utils/integrations/lodash";
|
|
3
|
-
import p from "
|
|
4
|
-
import "
|
|
3
|
+
import p from "../resize-observer/index.mjs";
|
|
4
|
+
import "../resize-observer/style.css";
|
|
5
5
|
import { n as v } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
6
6
|
const f = [
|
|
7
7
|
"back",
|
package/record-video/index.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { s
|
|
1
|
+
import { s } 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
|
let o = class {
|
|
5
4
|
/**
|
|
6
5
|
* 构造函数
|
|
@@ -76,19 +75,19 @@ const n = {
|
|
|
76
75
|
computed: {
|
|
77
76
|
styleName() {
|
|
78
77
|
return {
|
|
79
|
-
width:
|
|
78
|
+
width: s(this.width)
|
|
80
79
|
};
|
|
81
80
|
},
|
|
82
81
|
imgStyleName() {
|
|
83
82
|
return {
|
|
84
|
-
width:
|
|
83
|
+
width: s(this.width / 2)
|
|
85
84
|
};
|
|
86
85
|
},
|
|
87
86
|
borderStyleName() {
|
|
88
87
|
return {
|
|
89
|
-
width:
|
|
90
|
-
height:
|
|
91
|
-
borderWidth:
|
|
88
|
+
width: s(this.width / 15),
|
|
89
|
+
height: s(this.width / 15),
|
|
90
|
+
borderWidth: s(5)
|
|
92
91
|
};
|
|
93
92
|
}
|
|
94
93
|
},
|
|
@@ -108,10 +107,10 @@ const n = {
|
|
|
108
107
|
this.videoObj.stopRecord();
|
|
109
108
|
},
|
|
110
109
|
getData() {
|
|
111
|
-
const
|
|
110
|
+
const r = new Blob(this.videoObj.chunks, {
|
|
112
111
|
type: "video/mp4"
|
|
113
112
|
}), e = new FileReader();
|
|
114
|
-
e.readAsDataURL(
|
|
113
|
+
e.readAsDataURL(r), e.addEventListener("loadend", () => {
|
|
115
114
|
const t = e.result;
|
|
116
115
|
this.$emit("data-change", t);
|
|
117
116
|
});
|
|
@@ -129,7 +128,7 @@ var c = function() {
|
|
|
129
128
|
null,
|
|
130
129
|
null
|
|
131
130
|
);
|
|
132
|
-
const
|
|
131
|
+
const p = m.exports;
|
|
133
132
|
export {
|
|
134
|
-
|
|
133
|
+
p as default
|
|
135
134
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { a as r } from "../chunks/index.9OxHjTIE.mjs";
|
|
2
2
|
import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
-
import "@web-utils/core";
|
|
4
3
|
let t;
|
|
5
4
|
function i() {
|
|
6
5
|
i.init || (i.init = !0, t = r() !== -1);
|
|
@@ -43,7 +42,7 @@ var a = function() {
|
|
|
43
42
|
null,
|
|
44
43
|
null
|
|
45
44
|
);
|
|
46
|
-
const
|
|
45
|
+
const _ = l.exports;
|
|
47
46
|
export {
|
|
48
|
-
|
|
47
|
+
_ as default
|
|
49
48
|
};
|
package/search/index.mjs
CHANGED
|
@@ -2,8 +2,6 @@ import { D as p } from "../chunks/util.DqFv_pWg.mjs";
|
|
|
2
2
|
import { i } from "../chunks/init.DAsXSoLW.mjs";
|
|
3
3
|
import { isBlank as o } from "@web-utils/core";
|
|
4
4
|
import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
-
import "../chunks/dic.Dkl-leRW.mjs";
|
|
6
|
-
import "../chunks/slot.DXIbhGat.mjs";
|
|
7
5
|
const l = {
|
|
8
6
|
name: "Search",
|
|
9
7
|
mixins: [i],
|
|
@@ -103,7 +101,7 @@ var h = function() {
|
|
|
103
101
|
null,
|
|
104
102
|
null
|
|
105
103
|
);
|
|
106
|
-
const
|
|
104
|
+
const O = u.exports;
|
|
107
105
|
export {
|
|
108
|
-
|
|
106
|
+
O as default
|
|
109
107
|
};
|
package/sign/index.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { s as v } from "../chunks/util.DqFv_pWg.mjs";
|
|
2
2
|
import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
-
import "@web-utils/core";
|
|
4
3
|
function p(e, s, n, r, t, o) {
|
|
5
4
|
e.save(), e.fillStyle = t, e.translate(s, n), e.rotate(Math.PI + o), e.beginPath();
|
|
6
5
|
let a = Math.sin(0), d = Math.cos(0);
|
|
@@ -106,7 +105,7 @@ var y = function() {
|
|
|
106
105
|
null,
|
|
107
106
|
null
|
|
108
107
|
);
|
|
109
|
-
const
|
|
108
|
+
const P = w.exports;
|
|
110
109
|
export {
|
|
111
|
-
|
|
110
|
+
P as default
|
|
112
111
|
};
|
package/split-pane/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
-
import l from "
|
|
3
|
-
import "
|
|
2
|
+
import l from "../resize-observer/index.mjs";
|
|
3
|
+
import "../resize-observer/style.css";
|
|
4
4
|
function h(e, t) {
|
|
5
5
|
for (let s = 0; s < t.length; s++)
|
|
6
6
|
if (e === t[s])
|
package/swiper/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getEleWidth as r } from "@web-utils/core";
|
|
2
|
-
import a from "
|
|
3
|
-
import "
|
|
2
|
+
import a from "../resize-observer/index.mjs";
|
|
3
|
+
import "../resize-observer/style.css";
|
|
4
4
|
import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
5
|
const h = {
|
|
6
6
|
name: "Swiper",
|
package/table-column/index.mjs
CHANGED
|
@@ -3,9 +3,6 @@ import { h as d } from "vue";
|
|
|
3
3
|
import { g as C } from "../chunks/dictionary.3O-Io7Vh.mjs";
|
|
4
4
|
import { n as B } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
5
|
import { f as V } from "../chunks/core.DJEgjQW6.mjs";
|
|
6
|
-
import "../chunks/configComponents.CpKi15WN.mjs";
|
|
7
|
-
import "@web-utils/core";
|
|
8
|
-
import "@web-utils/integrations/lodash";
|
|
9
6
|
const D = {
|
|
10
7
|
name: "DictRender",
|
|
11
8
|
inheritAttrs: !1,
|
|
@@ -222,7 +219,7 @@ var E = /* @__PURE__ */ B(
|
|
|
222
219
|
null,
|
|
223
220
|
null
|
|
224
221
|
);
|
|
225
|
-
const
|
|
222
|
+
const X = E.exports;
|
|
226
223
|
export {
|
|
227
|
-
|
|
224
|
+
X as default
|
|
228
225
|
};
|
package/table-view/index.mjs
CHANGED
|
@@ -6,7 +6,6 @@ import { a as v, p as _ } from "../chunks/configComponents.CpKi15WN.mjs";
|
|
|
6
6
|
import { b as a } from "../chunks/core.DJEgjQW6.mjs";
|
|
7
7
|
import y from "element-ui/lib/transitions/collapse-transition";
|
|
8
8
|
import { n as S } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
9
|
-
import "async-validator";
|
|
10
9
|
const T = [
|
|
11
10
|
"back",
|
|
12
11
|
"create",
|
|
@@ -321,7 +320,7 @@ var C = function() {
|
|
|
321
320
|
null,
|
|
322
321
|
null
|
|
323
322
|
);
|
|
324
|
-
const
|
|
323
|
+
const V = k.exports;
|
|
325
324
|
export {
|
|
326
|
-
|
|
325
|
+
V as default
|
|
327
326
|
};
|
package/text-ellipsis/index.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { s as l } from "../chunks/util.DqFv_pWg.mjs";
|
|
2
2
|
import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
-
import "@web-utils/core";
|
|
4
3
|
const h = {
|
|
5
4
|
name: "TextEllipsis",
|
|
6
5
|
props: {
|
|
@@ -73,7 +72,7 @@ var r = function() {
|
|
|
73
72
|
null,
|
|
74
73
|
null
|
|
75
74
|
);
|
|
76
|
-
const
|
|
75
|
+
const d = f.exports;
|
|
77
76
|
export {
|
|
78
|
-
|
|
77
|
+
d as default
|
|
79
78
|
};
|
package/toolbar/index.mjs
CHANGED
|
@@ -2,7 +2,6 @@ import { h as p } from "vue";
|
|
|
2
2
|
import { copy as m, NOOP as d } from "@web-utils/core";
|
|
3
3
|
import { h as y, b as g } from "../chunks/configComponents.CpKi15WN.mjs";
|
|
4
4
|
import { n as B } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
-
import "@web-utils/integrations/lodash";
|
|
6
5
|
const u = {
|
|
7
6
|
back: {
|
|
8
7
|
label: "返回",
|
|
@@ -249,7 +248,7 @@ var v = /* @__PURE__ */ B(
|
|
|
249
248
|
null,
|
|
250
249
|
null
|
|
251
250
|
);
|
|
252
|
-
const
|
|
251
|
+
const O = v.exports;
|
|
253
252
|
export {
|
|
254
|
-
|
|
253
|
+
O as default
|
|
255
254
|
};
|
package/toolbar-button/index.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { isFunction as n, isArray as r } from "@web-utils/core";
|
|
2
2
|
import { h as a } from "../chunks/configComponents.CpKi15WN.mjs";
|
|
3
3
|
import { n as l } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
-
import "@web-utils/integrations/lodash";
|
|
5
4
|
const s = {
|
|
6
5
|
name: "ToolbarButton",
|
|
7
6
|
inject: {
|
|
@@ -116,7 +115,7 @@ var c = function() {
|
|
|
116
115
|
null,
|
|
117
116
|
null
|
|
118
117
|
);
|
|
119
|
-
const
|
|
118
|
+
const g = f.exports;
|
|
120
119
|
export {
|
|
121
|
-
|
|
120
|
+
g as default
|
|
122
121
|
};
|
package/verify/index.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { s } from "../chunks/util.DqFv_pWg.mjs";
|
|
2
|
-
import { n as
|
|
3
|
-
import "@web-utils/core";
|
|
2
|
+
import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
3
|
const o = {
|
|
5
4
|
name: "Verify",
|
|
6
5
|
props: {
|
|
@@ -47,11 +46,11 @@ const o = {
|
|
|
47
46
|
}
|
|
48
47
|
};
|
|
49
48
|
var l = function() {
|
|
50
|
-
var t = this,
|
|
51
|
-
return
|
|
52
|
-
return
|
|
49
|
+
var t = this, n = t._self._c;
|
|
50
|
+
return n("div", { staticClass: "avue-verify" }, t._l(t.list, function(r, a) {
|
|
51
|
+
return n("span", { key: a, staticClass: "avue-verify__item", style: t.styleName }, [t._v(" " + t._s(r) + " ")]);
|
|
53
52
|
}), 0);
|
|
54
|
-
}, m = [], u = /* @__PURE__ */
|
|
53
|
+
}, m = [], u = /* @__PURE__ */ i(
|
|
55
54
|
o,
|
|
56
55
|
l,
|
|
57
56
|
m,
|
|
@@ -59,7 +58,7 @@ var l = function() {
|
|
|
59
58
|
null,
|
|
60
59
|
null
|
|
61
60
|
);
|
|
62
|
-
const
|
|
61
|
+
const _ = u.exports;
|
|
63
62
|
export {
|
|
64
|
-
|
|
63
|
+
_ as default
|
|
65
64
|
};
|
package/watermark/index.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { g as
|
|
2
|
-
import { n as
|
|
3
|
-
|
|
4
|
-
const f = {
|
|
1
|
+
import { g as f } from "../chunks/index.9OxHjTIE.mjs";
|
|
2
|
+
import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
+
const p = {
|
|
5
4
|
name: "Watermark",
|
|
6
5
|
functional: !0,
|
|
7
6
|
props: {
|
|
@@ -48,29 +47,29 @@ const f = {
|
|
|
48
47
|
default: "rgba(0,0,0,0)"
|
|
49
48
|
}
|
|
50
49
|
},
|
|
51
|
-
render(n, { props: { width:
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
const t =
|
|
55
|
-
return t.font = "15px Verdana", t.fillStyle = s, t.fillRect(0, 0,
|
|
56
|
-
class:
|
|
50
|
+
render(n, { props: { width: l, height: r, text: o, backgroundColor: s, rotate: c, color: u }, data: e }) {
|
|
51
|
+
const a = document.createElement("canvas");
|
|
52
|
+
a.width = l, a.height = r;
|
|
53
|
+
const t = a.getContext("2d");
|
|
54
|
+
return t.font = "15px Verdana", t.fillStyle = s, t.fillRect(0, 0, l, r), t.translate(l / 2, r / 2), t.rotate(c * Math.PI / 180), t.fillStyle = u, t.textAlign = "center", t.textBaseline = "middle", t.fillText(o, 0, 0), n("div", {
|
|
55
|
+
class: f(e.class, `watermark ${e.staticClass || ""}`),
|
|
57
56
|
style: {
|
|
58
57
|
...e.style || {},
|
|
59
58
|
...e.staticStyle || {},
|
|
60
|
-
background: `url(${
|
|
59
|
+
background: `url(${a.toDataURL("image/png")}) left top repeat`
|
|
61
60
|
}
|
|
62
61
|
});
|
|
63
62
|
}
|
|
64
63
|
}, m = null, d = null;
|
|
65
|
-
var g = /* @__PURE__ */
|
|
66
|
-
|
|
64
|
+
var g = /* @__PURE__ */ i(
|
|
65
|
+
p,
|
|
67
66
|
m,
|
|
68
67
|
d,
|
|
69
68
|
!1,
|
|
70
69
|
null,
|
|
71
70
|
null
|
|
72
71
|
);
|
|
73
|
-
const
|
|
72
|
+
const x = g.exports;
|
|
74
73
|
export {
|
|
75
|
-
|
|
74
|
+
x as default
|
|
76
75
|
};
|