@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
package/fy-input-icon/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { p as a, e as s } from "../chunks/event.lbJYeMJp.mjs";
|
|
2
|
-
import
|
|
2
|
+
import o from "./icon-temp/index.mjs";
|
|
3
|
+
import "./icon-temp/style.css";
|
|
3
4
|
import { n as r } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
4
5
|
const c = {
|
|
5
6
|
name: "FyInputIcon",
|
|
@@ -24,10 +25,10 @@ const c = {
|
|
|
24
25
|
},
|
|
25
26
|
computed: {
|
|
26
27
|
list() {
|
|
27
|
-
let
|
|
28
|
+
let n = (this.tabs.list || []).map((t) => !t.value && !t.label ? {
|
|
28
29
|
value: t
|
|
29
30
|
} : t);
|
|
30
|
-
return this.filterText && (
|
|
31
|
+
return this.filterText && (n = n.filter((t) => t.label.indexOf(this.filterText) !== -1)), n;
|
|
31
32
|
},
|
|
32
33
|
option() {
|
|
33
34
|
return {
|
|
@@ -39,11 +40,11 @@ const c = {
|
|
|
39
40
|
this.tabs = this.iconList[0] || {};
|
|
40
41
|
},
|
|
41
42
|
methods: {
|
|
42
|
-
handleTabs(
|
|
43
|
-
this.tabs =
|
|
43
|
+
handleTabs(n) {
|
|
44
|
+
this.tabs = n;
|
|
44
45
|
},
|
|
45
|
-
handleSubmit(
|
|
46
|
-
this.box = !1, this.text =
|
|
46
|
+
handleSubmit(n) {
|
|
47
|
+
this.box = !1, this.text = n, this.handleChange(n);
|
|
47
48
|
},
|
|
48
49
|
handleShow() {
|
|
49
50
|
this.$refs.main.blur(), !(this.disabled || this.readonly) && (this.box = !0);
|
|
@@ -52,20 +53,20 @@ const c = {
|
|
|
52
53
|
};
|
|
53
54
|
var u = function() {
|
|
54
55
|
var t = this, e = t._self._c;
|
|
55
|
-
return e("div", { staticClass: "avue-input-icon" }, [e("ElInput", { ref: "main", attrs: { placeholder: t.placeholder, size: t.size, clearable: t.clearableVal, disabled: t.disabled }, on: { focus: t.handleShow }, nativeOn: { click: function(
|
|
56
|
+
return e("div", { staticClass: "avue-input-icon" }, [e("ElInput", { ref: "main", attrs: { placeholder: t.placeholder, size: t.size, clearable: t.clearableVal, disabled: t.disabled }, on: { focus: t.handleShow }, nativeOn: { click: function(i) {
|
|
56
57
|
return t.handleClick.apply(null, arguments);
|
|
57
58
|
} }, scopedSlots: t._u([{ key: "append", fn: function() {
|
|
58
59
|
return [e("IconTemp", { attrs: { text: t.text, size: 28, small: t.size === "mini" }, on: { click: t.handleShow } })];
|
|
59
|
-
}, proxy: !0 }]), model: { value: t.text, callback: function(
|
|
60
|
-
t.text =
|
|
61
|
-
}, expression: "text" } }), t.box ? e("div", [e("ElementDialog", { attrs: { title: t.placeholder, visible: t.box, width: t.dialogWidth }, on: { "update:visible": function(
|
|
62
|
-
t.box =
|
|
63
|
-
} } }, [e("div", { staticClass: "avue-input-icon__filter" }, [e("ElInput", { attrs: { placeholder: "请输入", size: t.size }, model: { value: t.filterText, callback: function(
|
|
64
|
-
t.filterText =
|
|
65
|
-
}, expression: "filterText" } })], 1), e("FyTabs", { attrs: { option: t.option }, on: { change: t.handleTabs } }), e("div", { staticClass: "avue-input-icon__list" }, t._l(t.list, function(
|
|
66
|
-
return e("div", { key: l, class: ["avue-input-icon__item", { active: t.text ===
|
|
67
|
-
return t.handleSubmit(
|
|
68
|
-
} } }, [e("IconTemp", { attrs: { text:
|
|
60
|
+
}, proxy: !0 }]), model: { value: t.text, callback: function(i) {
|
|
61
|
+
t.text = i;
|
|
62
|
+
}, expression: "text" } }), t.box ? e("div", [e("ElementDialog", { attrs: { title: t.placeholder, visible: t.box, width: t.dialogWidth }, on: { "update:visible": function(i) {
|
|
63
|
+
t.box = i;
|
|
64
|
+
} } }, [e("div", { staticClass: "avue-input-icon__filter" }, [e("ElInput", { attrs: { placeholder: "请输入", size: t.size }, model: { value: t.filterText, callback: function(i) {
|
|
65
|
+
t.filterText = i;
|
|
66
|
+
}, expression: "filterText" } })], 1), e("FyTabs", { attrs: { option: t.option }, on: { change: t.handleTabs } }), e("div", { staticClass: "avue-input-icon__list" }, t._l(t.list, function(i, l) {
|
|
67
|
+
return e("div", { key: l, class: ["avue-input-icon__item", { active: t.text === i }], on: { click: function(f) {
|
|
68
|
+
return t.handleSubmit(i.value);
|
|
69
|
+
} } }, [e("IconTemp", { attrs: { text: i.value, small: t.size === "mini" } }), e("p", [t._v(t._s(i.label || i.value))])], 1);
|
|
69
70
|
}), 0)], 1)], 1) : t._e()], 1);
|
|
70
71
|
}, d = [], p = /* @__PURE__ */ r(
|
|
71
72
|
c,
|
|
@@ -77,7 +78,7 @@ var u = function() {
|
|
|
77
78
|
null,
|
|
78
79
|
null
|
|
79
80
|
);
|
|
80
|
-
const
|
|
81
|
+
const x = p.exports;
|
|
81
82
|
export {
|
|
82
|
-
|
|
83
|
+
x as default
|
|
83
84
|
};
|
package/fy-u-editor/index.mjs
CHANGED
|
@@ -1,37 +1,199 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var p = (
|
|
6
|
-
for (var
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
1
|
+
var g = Object.defineProperty, S = Object.defineProperties;
|
|
2
|
+
var C = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var f = Object.getOwnPropertySymbols;
|
|
4
|
+
var b = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var p = (e, t, r) => t in e ? g(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, h = (e, t) => {
|
|
6
|
+
for (var r in t || (t = {}))
|
|
7
|
+
b.call(t, r) && p(e, r, t[r]);
|
|
8
|
+
if (f)
|
|
9
|
+
for (var r of f(t))
|
|
10
|
+
x.call(t, r) && p(e, r, t[r]);
|
|
11
|
+
return e;
|
|
12
|
+
}, m = (e, t) => S(e, C(t));
|
|
13
|
+
var u = (e, t, r) => new Promise((o, i) => {
|
|
14
|
+
var n = (s) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
i(
|
|
16
|
+
d(r.next(s));
|
|
17
|
+
} catch (a) {
|
|
18
|
+
i(a);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, l = (s) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
23
|
-
} catch (
|
|
24
|
-
i(
|
|
22
|
+
d(r.throw(s));
|
|
23
|
+
} catch (a) {
|
|
24
|
+
i(a);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, d = (s) => s.done ? o(s.value) : Promise.resolve(s.value).then(n, l);
|
|
27
|
+
d((r = r.apply(e, t)).next());
|
|
28
28
|
});
|
|
29
29
|
import "@wangeditor/editor/dist/css/style.css";
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
|
|
34
|
-
const
|
|
30
|
+
import { createEditor as v, createToolbar as A } from "@wangeditor/editor";
|
|
31
|
+
import { p as O } from "../chunks/util.y1gUGRqi.mjs";
|
|
32
|
+
import { n as _ } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
33
|
+
const w = (e) => {
|
|
34
|
+
const { region: t, endpoint: r, accessKeyId: o, accessKeySecret: i, bucket: n } = e;
|
|
35
|
+
return new window.OSS({ region: t, endpoint: r, accessKeyId: o, accessKeySecret: i, bucket: n });
|
|
36
|
+
}, K = (e, t, r) => {
|
|
37
|
+
let { scope: o, deadline: i } = r;
|
|
38
|
+
var n = JSON.stringify({ scope: o, deadline: i }), l = k(H(n)), d = window.CryptoJS.HmacSHA1(l, t), s = d.toString(window.CryptoJS.enc.Base64), a = e + ":" + j(s) + ":" + l;
|
|
39
|
+
return a;
|
|
40
|
+
};
|
|
41
|
+
function H(e) {
|
|
42
|
+
var t, r, o, i;
|
|
43
|
+
for (t = "", o = e.length, r = 0; r < o; r++)
|
|
44
|
+
i = e.charCodeAt(r), i >= 1 && i <= 127 ? t += e.charAt(r) : i > 2047 ? (t += String.fromCharCode(224 | i >> 12 & 15), t += String.fromCharCode(128 | i >> 6 & 63), t += String.fromCharCode(128 | i >> 0 & 63)) : (t += String.fromCharCode(192 | i >> 6 & 31), t += String.fromCharCode(128 | i >> 0 & 63));
|
|
45
|
+
return t;
|
|
46
|
+
}
|
|
47
|
+
var c = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
|
|
48
|
+
new Array(
|
|
49
|
+
-1,
|
|
50
|
+
-1,
|
|
51
|
+
-1,
|
|
52
|
+
-1,
|
|
53
|
+
-1,
|
|
54
|
+
-1,
|
|
55
|
+
-1,
|
|
56
|
+
-1,
|
|
57
|
+
-1,
|
|
58
|
+
-1,
|
|
59
|
+
-1,
|
|
60
|
+
-1,
|
|
61
|
+
-1,
|
|
62
|
+
-1,
|
|
63
|
+
-1,
|
|
64
|
+
-1,
|
|
65
|
+
-1,
|
|
66
|
+
-1,
|
|
67
|
+
-1,
|
|
68
|
+
-1,
|
|
69
|
+
-1,
|
|
70
|
+
-1,
|
|
71
|
+
-1,
|
|
72
|
+
-1,
|
|
73
|
+
-1,
|
|
74
|
+
-1,
|
|
75
|
+
-1,
|
|
76
|
+
-1,
|
|
77
|
+
-1,
|
|
78
|
+
-1,
|
|
79
|
+
-1,
|
|
80
|
+
-1,
|
|
81
|
+
-1,
|
|
82
|
+
-1,
|
|
83
|
+
-1,
|
|
84
|
+
-1,
|
|
85
|
+
-1,
|
|
86
|
+
-1,
|
|
87
|
+
-1,
|
|
88
|
+
-1,
|
|
89
|
+
-1,
|
|
90
|
+
-1,
|
|
91
|
+
-1,
|
|
92
|
+
62,
|
|
93
|
+
-1,
|
|
94
|
+
-1,
|
|
95
|
+
-1,
|
|
96
|
+
63,
|
|
97
|
+
52,
|
|
98
|
+
53,
|
|
99
|
+
54,
|
|
100
|
+
55,
|
|
101
|
+
56,
|
|
102
|
+
57,
|
|
103
|
+
58,
|
|
104
|
+
59,
|
|
105
|
+
60,
|
|
106
|
+
61,
|
|
107
|
+
-1,
|
|
108
|
+
-1,
|
|
109
|
+
-1,
|
|
110
|
+
-1,
|
|
111
|
+
-1,
|
|
112
|
+
-1,
|
|
113
|
+
-1,
|
|
114
|
+
0,
|
|
115
|
+
1,
|
|
116
|
+
2,
|
|
117
|
+
3,
|
|
118
|
+
4,
|
|
119
|
+
5,
|
|
120
|
+
6,
|
|
121
|
+
7,
|
|
122
|
+
8,
|
|
123
|
+
9,
|
|
124
|
+
10,
|
|
125
|
+
11,
|
|
126
|
+
12,
|
|
127
|
+
13,
|
|
128
|
+
14,
|
|
129
|
+
15,
|
|
130
|
+
16,
|
|
131
|
+
17,
|
|
132
|
+
18,
|
|
133
|
+
19,
|
|
134
|
+
20,
|
|
135
|
+
21,
|
|
136
|
+
22,
|
|
137
|
+
23,
|
|
138
|
+
24,
|
|
139
|
+
25,
|
|
140
|
+
-1,
|
|
141
|
+
-1,
|
|
142
|
+
-1,
|
|
143
|
+
-1,
|
|
144
|
+
-1,
|
|
145
|
+
-1,
|
|
146
|
+
26,
|
|
147
|
+
27,
|
|
148
|
+
28,
|
|
149
|
+
29,
|
|
150
|
+
30,
|
|
151
|
+
31,
|
|
152
|
+
32,
|
|
153
|
+
33,
|
|
154
|
+
34,
|
|
155
|
+
35,
|
|
156
|
+
36,
|
|
157
|
+
37,
|
|
158
|
+
38,
|
|
159
|
+
39,
|
|
160
|
+
40,
|
|
161
|
+
41,
|
|
162
|
+
42,
|
|
163
|
+
43,
|
|
164
|
+
44,
|
|
165
|
+
45,
|
|
166
|
+
46,
|
|
167
|
+
47,
|
|
168
|
+
48,
|
|
169
|
+
49,
|
|
170
|
+
50,
|
|
171
|
+
51,
|
|
172
|
+
-1,
|
|
173
|
+
-1,
|
|
174
|
+
-1,
|
|
175
|
+
-1,
|
|
176
|
+
-1
|
|
177
|
+
);
|
|
178
|
+
function k(e) {
|
|
179
|
+
var t, r, o, i, n, l;
|
|
180
|
+
for (o = e.length, r = 0, t = ""; r < o; ) {
|
|
181
|
+
if (i = e.charCodeAt(r++) & 255, r == o) {
|
|
182
|
+
t += c.charAt(i >> 2), t += c.charAt((i & 3) << 4), t += "==";
|
|
183
|
+
break;
|
|
184
|
+
}
|
|
185
|
+
if (n = e.charCodeAt(r++), r == o) {
|
|
186
|
+
t += c.charAt(i >> 2), t += c.charAt((i & 3) << 4 | (n & 240) >> 4), t += c.charAt((n & 15) << 2), t += "=";
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
l = e.charCodeAt(r++), t += c.charAt(i >> 2), t += c.charAt((i & 3) << 4 | (n & 240) >> 4), t += c.charAt((n & 15) << 2 | (l & 192) >> 6), t += c.charAt(l & 63);
|
|
190
|
+
}
|
|
191
|
+
return t;
|
|
192
|
+
}
|
|
193
|
+
var j = function(e) {
|
|
194
|
+
return e = e.replace(/\+/g, "-"), e = e.replace(/\//g, "_"), e;
|
|
195
|
+
};
|
|
196
|
+
const E = {
|
|
35
197
|
name: "FyUEditor",
|
|
36
198
|
props: {
|
|
37
199
|
data: {
|
|
@@ -103,35 +265,35 @@ const F = {
|
|
|
103
265
|
}
|
|
104
266
|
},
|
|
105
267
|
watch: {
|
|
106
|
-
disabled(
|
|
107
|
-
|
|
268
|
+
disabled(e) {
|
|
269
|
+
e ? this.editor.disable() : this.editor.enable();
|
|
108
270
|
},
|
|
109
|
-
value(
|
|
110
|
-
|
|
271
|
+
value(e) {
|
|
272
|
+
e ? this.editor.setHtml(e) : this.editor.clear();
|
|
111
273
|
}
|
|
112
274
|
},
|
|
113
275
|
mounted() {
|
|
114
276
|
this.initEdit();
|
|
115
277
|
},
|
|
116
278
|
beforeDestroy() {
|
|
117
|
-
var
|
|
118
|
-
(
|
|
279
|
+
var e;
|
|
280
|
+
(e = this.editor) == null || e.destroy();
|
|
119
281
|
},
|
|
120
282
|
methods: {
|
|
121
283
|
initEdit() {
|
|
122
|
-
const
|
|
284
|
+
const e = "default", t = m(h({
|
|
123
285
|
placeholder: this.placeholder,
|
|
124
286
|
readOnly: this.disabled,
|
|
125
287
|
MENU_CONF: {
|
|
126
288
|
uploadImage: {
|
|
127
|
-
customUpload: (
|
|
128
|
-
const i = yield this.uploadFile(
|
|
289
|
+
customUpload: (o) => u(this, null, function* () {
|
|
290
|
+
const i = yield this.uploadFile(o);
|
|
129
291
|
this.editor.dangerouslyInsertHtml(i);
|
|
130
292
|
})
|
|
131
293
|
},
|
|
132
294
|
uploadVideo: {
|
|
133
|
-
customUpload: (
|
|
134
|
-
const i = yield this.uploadFile(
|
|
295
|
+
customUpload: (o) => u(this, null, function* () {
|
|
296
|
+
const i = yield this.uploadFile(o);
|
|
135
297
|
this.editor.dangerouslyInsertHtml(i);
|
|
136
298
|
})
|
|
137
299
|
}
|
|
@@ -140,63 +302,63 @@ const F = {
|
|
|
140
302
|
onFocus: () => {
|
|
141
303
|
this.$emit("focus", this.value);
|
|
142
304
|
},
|
|
143
|
-
onBlur: (
|
|
144
|
-
const i =
|
|
305
|
+
onBlur: (o) => {
|
|
306
|
+
const i = o.getHtml();
|
|
145
307
|
this.$emit("blur", i);
|
|
146
308
|
},
|
|
147
|
-
onChange: (
|
|
148
|
-
const i =
|
|
309
|
+
onChange: (o) => {
|
|
310
|
+
const i = o.getHtml();
|
|
149
311
|
this.$emit("input", i);
|
|
150
312
|
}
|
|
151
313
|
});
|
|
152
314
|
this.editor = Object.seal(
|
|
153
315
|
v({
|
|
154
316
|
selector: this.$refs.editor,
|
|
155
|
-
config:
|
|
317
|
+
config: t,
|
|
156
318
|
html: this.value,
|
|
157
|
-
mode:
|
|
319
|
+
mode: e
|
|
158
320
|
})
|
|
159
321
|
);
|
|
160
|
-
const
|
|
161
|
-
this.toolbar =
|
|
322
|
+
const r = h({}, this.toolbarConfig);
|
|
323
|
+
this.toolbar = A({
|
|
162
324
|
editor: this.editor,
|
|
163
325
|
selector: this.$refs.toolbar,
|
|
164
|
-
config:
|
|
165
|
-
mode:
|
|
326
|
+
config: r,
|
|
327
|
+
mode: e
|
|
166
328
|
});
|
|
167
329
|
},
|
|
168
|
-
uploadFile(
|
|
169
|
-
return new Promise((
|
|
170
|
-
const
|
|
330
|
+
uploadFile(e) {
|
|
331
|
+
return new Promise((t, r) => {
|
|
332
|
+
const o = Object.assign(this.headers, {
|
|
171
333
|
"Content-Type": "multipart/form-data"
|
|
172
334
|
});
|
|
173
|
-
let i = {},
|
|
174
|
-
const
|
|
175
|
-
let
|
|
176
|
-
if (
|
|
177
|
-
|
|
335
|
+
let i = {}, n;
|
|
336
|
+
const l = new FormData();
|
|
337
|
+
let d = this.action;
|
|
338
|
+
if (l.append(this.fileName, e), Object.keys(this.data).forEach((s) => {
|
|
339
|
+
l.append(s, this.data[s]);
|
|
178
340
|
}), this.isQiniuOSS) {
|
|
179
341
|
i = this.qiniu;
|
|
180
|
-
const
|
|
342
|
+
const s = K(i.AK, i.SK, {
|
|
181
343
|
scope: i.scope,
|
|
182
344
|
deadline: (/* @__PURE__ */ new Date()).getTime() + i.deadline * 3600
|
|
183
345
|
});
|
|
184
|
-
|
|
346
|
+
l.append("token", s), d = "http://up.qiniu.com/";
|
|
185
347
|
} else
|
|
186
|
-
this.isAliOSS && (i = this.ali,
|
|
348
|
+
this.isAliOSS && (i = this.ali, n = w({
|
|
187
349
|
region: i.region,
|
|
188
350
|
endpoint: i.endpoint,
|
|
189
351
|
accessKeyId: i.accessKeyId,
|
|
190
352
|
accessKeySecret: i.accessKeySecret,
|
|
191
353
|
bucket: i.bucket
|
|
192
354
|
}));
|
|
193
|
-
(() => this.isAliOSS ?
|
|
194
|
-
let
|
|
195
|
-
this.isAliOSS ?
|
|
196
|
-
const
|
|
197
|
-
|
|
198
|
-
}).catch((
|
|
199
|
-
|
|
355
|
+
(() => this.isAliOSS ? n.put(e.name, e) : this.$axios.post(d, l, { headers: o }))().then((s) => {
|
|
356
|
+
let a;
|
|
357
|
+
this.isAliOSS ? a = s : this.isQiniuOSS ? (a = s.data, a.key = i.url + a.key) : typeof this.resKey == "function" ? a = this.resKey(s.data) : (a = O(s.data, this.resKey), a = a[this.urlKey]);
|
|
358
|
+
const y = this.homeUrl + a;
|
|
359
|
+
t(y);
|
|
360
|
+
}).catch((s) => {
|
|
361
|
+
r(s);
|
|
200
362
|
});
|
|
201
363
|
});
|
|
202
364
|
},
|
|
@@ -205,20 +367,20 @@ const F = {
|
|
|
205
367
|
}
|
|
206
368
|
}
|
|
207
369
|
};
|
|
208
|
-
var
|
|
209
|
-
var
|
|
210
|
-
return
|
|
211
|
-
},
|
|
212
|
-
F,
|
|
213
|
-
k,
|
|
370
|
+
var F = function() {
|
|
371
|
+
var t = this, r = t._self._c;
|
|
372
|
+
return r("div", { staticClass: "avue-ueditor" }, [r("div", { ref: "toolbar", staticClass: "fy-editor-toolbar" }), r("div", { ref: "editor", staticClass: "fy-editor" })]);
|
|
373
|
+
}, U = [], I = /* @__PURE__ */ _(
|
|
214
374
|
E,
|
|
375
|
+
F,
|
|
376
|
+
U,
|
|
215
377
|
!1,
|
|
216
378
|
null,
|
|
217
379
|
null,
|
|
218
380
|
null,
|
|
219
381
|
null
|
|
220
382
|
);
|
|
221
|
-
const
|
|
383
|
+
const D = I.exports;
|
|
222
384
|
export {
|
|
223
|
-
|
|
385
|
+
D as default
|
|
224
386
|
};
|
package/highlight-j-s/index.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import a from "highlight.js/lib/core";
|
|
2
2
|
import "highlight.js/styles/atom-one-dark-reasonable.css";
|
|
3
3
|
import { escapeHtml as g } from "@web-utils/core";
|
|
4
|
-
/* empty css */
|
|
5
4
|
import { n as l } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
6
5
|
const i = {
|
|
7
6
|
name: "HighlightJS",
|
|
@@ -47,7 +46,7 @@ const i = {
|
|
|
47
46
|
var s = function() {
|
|
48
47
|
var t = this, n = t._self._c;
|
|
49
48
|
return n("pre", { staticClass: "highlight-js" }, [n("code", { class: t.className, domProps: { innerHTML: t._s(t.highlighted.value) } })]);
|
|
50
|
-
}, r = [],
|
|
49
|
+
}, r = [], h = /* @__PURE__ */ l(
|
|
51
50
|
i,
|
|
52
51
|
s,
|
|
53
52
|
r,
|
|
@@ -57,7 +56,7 @@ var s = function() {
|
|
|
57
56
|
null,
|
|
58
57
|
null
|
|
59
58
|
);
|
|
60
|
-
const
|
|
59
|
+
const m = h.exports;
|
|
61
60
|
export {
|
|
62
|
-
|
|
61
|
+
m as default
|
|
63
62
|
};
|
package/icon-temp/index.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { n } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
1
|
+
import { n as t } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
2
|
const s = {
|
|
4
3
|
name: "IconTemp",
|
|
5
4
|
props: {
|
|
@@ -11,9 +10,9 @@ const s = {
|
|
|
11
10
|
}
|
|
12
11
|
};
|
|
13
12
|
var a = function() {
|
|
14
|
-
var e = this,
|
|
15
|
-
return
|
|
16
|
-
}, l = [], r = /* @__PURE__ */
|
|
13
|
+
var e = this, n = e._self._c;
|
|
14
|
+
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 })]);
|
|
15
|
+
}, l = [], r = /* @__PURE__ */ t(
|
|
17
16
|
s,
|
|
18
17
|
a,
|
|
19
18
|
l,
|
|
@@ -23,7 +22,7 @@ var a = function() {
|
|
|
23
22
|
null,
|
|
24
23
|
null
|
|
25
24
|
);
|
|
26
|
-
const
|
|
25
|
+
const i = r.exports;
|
|
27
26
|
export {
|
|
28
|
-
|
|
27
|
+
i as default
|
|
29
28
|
};
|
package/nav-bar/index.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { n as e } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
1
|
+
import { n as o } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
2
|
const a = {
|
|
4
3
|
name: "NavBar",
|
|
5
4
|
props: {
|
|
@@ -16,9 +15,9 @@ const a = {
|
|
|
16
15
|
}
|
|
17
16
|
};
|
|
18
17
|
var n = function() {
|
|
19
|
-
var t = this,
|
|
20
|
-
return
|
|
21
|
-
}, r = [], s = /* @__PURE__ */
|
|
18
|
+
var t = this, e = t._self._c;
|
|
19
|
+
return e("div", { staticClass: "nav-bar" }, [t.showBack ? e("ElButton", { attrs: { type: "text", icon: "el-icon-arrow-left" }, on: { click: t.goBack } }, [t._v(" 返回 ")]) : t._e(), t.$slots.right ? e("div", { staticClass: "flex-item flex-row-column vertical-center" }, [t._t("right")], 2) : t._e()], 1);
|
|
20
|
+
}, r = [], s = /* @__PURE__ */ o(
|
|
22
21
|
a,
|
|
23
22
|
n,
|
|
24
23
|
r,
|
|
@@ -28,7 +27,7 @@ var n = function() {
|
|
|
28
27
|
null,
|
|
29
28
|
null
|
|
30
29
|
);
|
|
31
|
-
const
|
|
30
|
+
const i = s.exports;
|
|
32
31
|
export {
|
|
33
|
-
|
|
32
|
+
i as default
|
|
34
33
|
};
|
package/package.json
CHANGED
package/page/index.mjs
CHANGED
package/page-header/index.mjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* empty css */
|
|
2
1
|
import { n } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
3
2
|
const l = {
|
|
4
3
|
name: "PageHeader",
|
|
@@ -30,7 +29,7 @@ var a = function() {
|
|
|
30
29
|
null,
|
|
31
30
|
null
|
|
32
31
|
);
|
|
33
|
-
const
|
|
32
|
+
const o = i.exports;
|
|
34
33
|
export {
|
|
35
|
-
|
|
34
|
+
o as default
|
|
36
35
|
};
|