@web-utils/component 3.2.3 → 3.3.1
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,167 +0,0 @@
|
|
|
1
|
-
const l = (t) => {
|
|
2
|
-
const { region: e, endpoint: n, accessKeyId: c, accessKeySecret: r, bucket: a } = t;
|
|
3
|
-
return new window.OSS({ region: e, endpoint: n, accessKeyId: c, accessKeySecret: r, bucket: a });
|
|
4
|
-
}, A = (t, e, n) => {
|
|
5
|
-
let { scope: c, deadline: r } = n;
|
|
6
|
-
var a = JSON.stringify({ scope: c, deadline: r }), f = C(x(a)), i = window.CryptoJS.HmacSHA1(f, e), h = i.toString(window.CryptoJS.enc.Base64), d = t + ":" + g(h) + ":" + f;
|
|
7
|
-
return d;
|
|
8
|
-
};
|
|
9
|
-
function x(t) {
|
|
10
|
-
var e, n, c, r;
|
|
11
|
-
for (e = "", c = t.length, n = 0; n < c; n++)
|
|
12
|
-
r = t.charCodeAt(n), r >= 1 && r <= 127 ? e += t.charAt(n) : r > 2047 ? (e += String.fromCharCode(224 | r >> 12 & 15), e += String.fromCharCode(128 | r >> 6 & 63), e += String.fromCharCode(128 | r >> 0 & 63)) : (e += String.fromCharCode(192 | r >> 6 & 31), e += String.fromCharCode(128 | r >> 0 & 63));
|
|
13
|
-
return e;
|
|
14
|
-
}
|
|
15
|
-
var o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
|
|
16
|
-
new Array(
|
|
17
|
-
-1,
|
|
18
|
-
-1,
|
|
19
|
-
-1,
|
|
20
|
-
-1,
|
|
21
|
-
-1,
|
|
22
|
-
-1,
|
|
23
|
-
-1,
|
|
24
|
-
-1,
|
|
25
|
-
-1,
|
|
26
|
-
-1,
|
|
27
|
-
-1,
|
|
28
|
-
-1,
|
|
29
|
-
-1,
|
|
30
|
-
-1,
|
|
31
|
-
-1,
|
|
32
|
-
-1,
|
|
33
|
-
-1,
|
|
34
|
-
-1,
|
|
35
|
-
-1,
|
|
36
|
-
-1,
|
|
37
|
-
-1,
|
|
38
|
-
-1,
|
|
39
|
-
-1,
|
|
40
|
-
-1,
|
|
41
|
-
-1,
|
|
42
|
-
-1,
|
|
43
|
-
-1,
|
|
44
|
-
-1,
|
|
45
|
-
-1,
|
|
46
|
-
-1,
|
|
47
|
-
-1,
|
|
48
|
-
-1,
|
|
49
|
-
-1,
|
|
50
|
-
-1,
|
|
51
|
-
-1,
|
|
52
|
-
-1,
|
|
53
|
-
-1,
|
|
54
|
-
-1,
|
|
55
|
-
-1,
|
|
56
|
-
-1,
|
|
57
|
-
-1,
|
|
58
|
-
-1,
|
|
59
|
-
-1,
|
|
60
|
-
62,
|
|
61
|
-
-1,
|
|
62
|
-
-1,
|
|
63
|
-
-1,
|
|
64
|
-
63,
|
|
65
|
-
52,
|
|
66
|
-
53,
|
|
67
|
-
54,
|
|
68
|
-
55,
|
|
69
|
-
56,
|
|
70
|
-
57,
|
|
71
|
-
58,
|
|
72
|
-
59,
|
|
73
|
-
60,
|
|
74
|
-
61,
|
|
75
|
-
-1,
|
|
76
|
-
-1,
|
|
77
|
-
-1,
|
|
78
|
-
-1,
|
|
79
|
-
-1,
|
|
80
|
-
-1,
|
|
81
|
-
-1,
|
|
82
|
-
0,
|
|
83
|
-
1,
|
|
84
|
-
2,
|
|
85
|
-
3,
|
|
86
|
-
4,
|
|
87
|
-
5,
|
|
88
|
-
6,
|
|
89
|
-
7,
|
|
90
|
-
8,
|
|
91
|
-
9,
|
|
92
|
-
10,
|
|
93
|
-
11,
|
|
94
|
-
12,
|
|
95
|
-
13,
|
|
96
|
-
14,
|
|
97
|
-
15,
|
|
98
|
-
16,
|
|
99
|
-
17,
|
|
100
|
-
18,
|
|
101
|
-
19,
|
|
102
|
-
20,
|
|
103
|
-
21,
|
|
104
|
-
22,
|
|
105
|
-
23,
|
|
106
|
-
24,
|
|
107
|
-
25,
|
|
108
|
-
-1,
|
|
109
|
-
-1,
|
|
110
|
-
-1,
|
|
111
|
-
-1,
|
|
112
|
-
-1,
|
|
113
|
-
-1,
|
|
114
|
-
26,
|
|
115
|
-
27,
|
|
116
|
-
28,
|
|
117
|
-
29,
|
|
118
|
-
30,
|
|
119
|
-
31,
|
|
120
|
-
32,
|
|
121
|
-
33,
|
|
122
|
-
34,
|
|
123
|
-
35,
|
|
124
|
-
36,
|
|
125
|
-
37,
|
|
126
|
-
38,
|
|
127
|
-
39,
|
|
128
|
-
40,
|
|
129
|
-
41,
|
|
130
|
-
42,
|
|
131
|
-
43,
|
|
132
|
-
44,
|
|
133
|
-
45,
|
|
134
|
-
46,
|
|
135
|
-
47,
|
|
136
|
-
48,
|
|
137
|
-
49,
|
|
138
|
-
50,
|
|
139
|
-
51,
|
|
140
|
-
-1,
|
|
141
|
-
-1,
|
|
142
|
-
-1,
|
|
143
|
-
-1,
|
|
144
|
-
-1
|
|
145
|
-
);
|
|
146
|
-
function C(t) {
|
|
147
|
-
var e, n, c, r, a, f;
|
|
148
|
-
for (c = t.length, n = 0, e = ""; n < c; ) {
|
|
149
|
-
if (r = t.charCodeAt(n++) & 255, n == c) {
|
|
150
|
-
e += o.charAt(r >> 2), e += o.charAt((r & 3) << 4), e += "==";
|
|
151
|
-
break;
|
|
152
|
-
}
|
|
153
|
-
if (a = t.charCodeAt(n++), n == c) {
|
|
154
|
-
e += o.charAt(r >> 2), e += o.charAt((r & 3) << 4 | (a & 240) >> 4), e += o.charAt((a & 15) << 2), e += "=";
|
|
155
|
-
break;
|
|
156
|
-
}
|
|
157
|
-
f = t.charCodeAt(n++), e += o.charAt(r >> 2), e += o.charAt((r & 3) << 4 | (a & 240) >> 4), e += o.charAt((a & 15) << 2 | (f & 192) >> 6), e += o.charAt(f & 63);
|
|
158
|
-
}
|
|
159
|
-
return e;
|
|
160
|
-
}
|
|
161
|
-
var g = function(t) {
|
|
162
|
-
return t = t.replace(/\+/g, "-"), t = t.replace(/\//g, "_"), t;
|
|
163
|
-
};
|
|
164
|
-
export {
|
|
165
|
-
l as a,
|
|
166
|
-
A as g
|
|
167
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
import { n as t } from "./_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
|
-
const s = {
|
|
4
|
-
name: "IconTemp",
|
|
5
|
-
props: {
|
|
6
|
-
small: Boolean,
|
|
7
|
-
text: {
|
|
8
|
-
type: String,
|
|
9
|
-
default: ""
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
var a = function() {
|
|
14
|
-
var e = this, n = e._self._c;
|
|
15
|
-
return n("span", { staticClass: "avue-icon", class: { "avue-icon--small": e.small } }, [e.text.includes("#") ? n("svg", { attrs: { "aria-hidden": "true" } }, [n("use", { attrs: { "xlink:href": e.text } })]) : n("i", { class: e.text })]);
|
|
16
|
-
}, l = [], r = /* @__PURE__ */ t(
|
|
17
|
-
s,
|
|
18
|
-
a,
|
|
19
|
-
l,
|
|
20
|
-
!1,
|
|
21
|
-
null,
|
|
22
|
-
null,
|
|
23
|
-
null,
|
|
24
|
-
null
|
|
25
|
-
);
|
|
26
|
-
const m = r.exports;
|
|
27
|
-
export {
|
|
28
|
-
m as I
|
|
29
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { h as r } from "./index.Uf8ONhVI.mjs";
|
|
2
|
-
/* empty css */
|
|
3
|
-
import { n as o } from "./_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
4
|
-
let t;
|
|
5
|
-
function i() {
|
|
6
|
-
i.init || (i.init = !0, t = r() !== -1);
|
|
7
|
-
}
|
|
8
|
-
const h = {
|
|
9
|
-
name: "ResizeObserver",
|
|
10
|
-
mounted() {
|
|
11
|
-
i(), this.$nextTick(() => {
|
|
12
|
-
this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight;
|
|
13
|
-
});
|
|
14
|
-
const e = document.createElement("object");
|
|
15
|
-
this._resizeObject = e, e.setAttribute("aria-hidden", "true"), e.setAttribute("tabindex", -1), e.onload = this.addResizeHandlers, e.type = "text/html", t && this.$el.appendChild(e), e.data = "about:blank", t || this.$el.appendChild(e);
|
|
16
|
-
},
|
|
17
|
-
beforeDestroy() {
|
|
18
|
-
this.removeResizeHandlers();
|
|
19
|
-
},
|
|
20
|
-
methods: {
|
|
21
|
-
compareAndNotify() {
|
|
22
|
-
(this._w !== this.$el.offsetWidth || this._h !== this.$el.offsetHeight) && (this._w = this.$el.offsetWidth, this._h = this.$el.offsetHeight, this.$emit("notify", {
|
|
23
|
-
width: this._w,
|
|
24
|
-
height: this._h
|
|
25
|
-
}));
|
|
26
|
-
},
|
|
27
|
-
addResizeHandlers() {
|
|
28
|
-
this._resizeObject.contentDocument.defaultView.addEventListener("resize", this.compareAndNotify), this.compareAndNotify();
|
|
29
|
-
},
|
|
30
|
-
removeResizeHandlers() {
|
|
31
|
-
this._resizeObject && this._resizeObject.onload && (!t && this._resizeObject.contentDocument && this._resizeObject.contentDocument.defaultView.removeEventListener("resize", this.compareAndNotify), this.$el.removeChild(this._resizeObject), this._resizeObject.onload = null, this._resizeObject = null);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
var a = function() {
|
|
36
|
-
var s = this, n = s._self._c;
|
|
37
|
-
return n("div", { staticClass: "resize-observer", attrs: { tabindex: "-1" } });
|
|
38
|
-
}, l = [], d = /* @__PURE__ */ o(
|
|
39
|
-
h,
|
|
40
|
-
a,
|
|
41
|
-
l,
|
|
42
|
-
!1,
|
|
43
|
-
null,
|
|
44
|
-
null,
|
|
45
|
-
null,
|
|
46
|
-
null
|
|
47
|
-
);
|
|
48
|
-
const m = d.exports;
|
|
49
|
-
export {
|
|
50
|
-
m as R
|
|
51
|
-
};
|