@web-utils/component 2.30.1 → 2.40.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/address-input/index.mjs +9 -9
- package/address-input/style.css +1 -1
- package/affix/index.mjs +1 -1
- package/affix/style.css +1 -1
- package/aside-menu/index.mjs +20 -20
- package/aside-menu/style.css +1 -1
- package/avatar/index.mjs +1 -1
- package/avatar/style.css +1 -1
- package/awesome-button/index.mjs +1 -1
- package/base.css +1 -1
- package/capsule-tab/index.mjs +10 -10
- package/capsule-tab/style.css +1 -1
- package/card/index.mjs +23 -23
- package/card/style.css +1 -1
- package/carousel/index.mjs +5 -5
- package/carousel/style.css +1 -1
- package/chat/index.mjs +5 -3
- package/chat/style.css +1 -1
- package/chunk-file-uploader/index.mjs +3 -3
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/{FormTemp.FX8xmbVB.mjs → FormTemp.7f91629d.mjs} +4 -4
- package/chunks/{confirmable-mixin.rTUMhoRH.mjs → confirmable-mixin.817b542f.mjs} +16 -6
- package/chunks/{dataformat.X_61lMA7.mjs → dataformat.f995e2f9.mjs} +1 -1
- package/chunks/{dic.6tk91Dmq.mjs → dic.eaac0823.mjs} +8 -10
- package/chunks/{event.NHA7rYFE.mjs → event.b5d855dd.mjs} +3 -3
- package/chunks/{form-input-mixin.IKogWBfn.mjs → form-input-mixin.4632ad36.mjs} +2 -2
- package/chunks/{form-item-mixin.BilKDUlK.mjs → form-item-mixin.ad148e7b.mjs} +1 -1
- package/chunks/{init.Ac4dKUJB.mjs → init.47f219b4.mjs} +3 -3
- package/chunks/{util.C2Bhx22L.mjs → util.ae730cde.mjs} +24 -18
- package/code-mirror-editor/index.mjs +404 -175
- package/code-mirror-editor/style.css +1 -1
- package/color-picker/index.mjs +1 -1
- package/comment/index.mjs +18 -18
- package/comment/style.css +1 -1
- package/confirm-button/index.mjs +2 -2
- package/confirmable/index.mjs +2 -2
- package/context-menu/index.mjs +9 -9
- package/context-menu/style.css +1 -1
- package/count-up/index.mjs +6 -10
- package/custom-scrollbar/index.mjs +5 -9
- package/data-box/index.mjs +8 -8
- package/data-box/style.css +1 -1
- package/data-card/index.mjs +19 -19
- package/data-card/style.css +1 -1
- package/data-cardtext/index.mjs +22 -22
- package/data-cardtext/style.css +1 -1
- package/data-display/index.mjs +24 -24
- package/data-display/style.css +1 -1
- package/data-icons/index.mjs +13 -13
- package/data-icons/style.css +1 -1
- package/data-imgtext/index.mjs +18 -18
- package/data-imgtext/style.css +1 -1
- package/data-operatext/index.mjs +28 -28
- package/data-operatext/style.css +1 -1
- package/data-panel/index.mjs +15 -15
- package/data-panel/style.css +1 -1
- package/data-pay/index.mjs +7 -7
- package/data-pay/style.css +1 -1
- package/data-price/index.mjs +5 -5
- package/data-price/style.css +1 -1
- package/data-progress/index.mjs +16 -16
- package/data-progress/style.css +1 -1
- package/data-rotate/index.mjs +7 -7
- package/data-rotate/style.css +1 -1
- package/data-table-picker/index.mjs +2 -2
- package/data-tabs/index.mjs +6 -6
- package/data-tabs/style.css +1 -1
- package/dialog-form/index.mjs +47 -47
- package/dialog-form/style.css +1 -1
- package/dynamic-table/index.mjs +15 -15
- package/dynamic-table/style.css +1 -1
- package/e-charts/index.mjs +7 -7
- package/e-charts/style.css +1 -1
- package/easy-popup/index.mjs +15 -15
- package/easy-popup/style.css +1 -1
- package/editable-progress/index.mjs +1 -1
- package/editable-progress/style.css +1 -1
- package/editable-tree/index.mjs +5 -5
- package/editable-tree/style.css +1 -1
- package/egd-collapse/index.mjs +1 -1
- package/egd-collapse-item/index.mjs +1 -1
- package/element-dialog/index.mjs +13 -9
- package/element-dialog/style.css +1 -1
- package/empty-view/index.mjs +9 -9
- package/empty-view/style.css +1 -1
- package/error-view/index.mjs +13 -13
- package/error-view/style.css +1 -1
- package/flex-column/index.mjs +2 -2
- package/flex-item/index.mjs +12 -6
- package/flex-row/index.mjs +2 -2
- package/flex-scroller/index.mjs +5 -5
- package/flex-scroller/style.css +1 -1
- package/flow/index.mjs +23 -9
- package/flow/style.css +1 -1
- package/flow-designer/index.mjs +156 -63
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +2 -2
- package/flow-viewer/index.mjs +20 -11
- package/flow-viewer/style.css +1 -1
- package/form-block/index.mjs +23 -20
- package/form-block/style.css +1 -1
- package/form-button/index.mjs +1 -1
- package/form-cascader/index.mjs +7 -5
- package/form-checkbox-group/index.mjs +9 -7
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.mjs +41 -12
- package/form-holder/index.mjs +6 -3
- package/form-input/index.mjs +6 -4
- package/form-input-email/index.mjs +12 -8
- package/form-input-id-card/index.mjs +12 -8
- package/form-input-number/index.mjs +10 -8
- package/form-input-number/style.css +1 -1
- package/form-input-phone-number/index.mjs +12 -8
- package/form-input-tag/index.mjs +3 -3
- package/form-input-time/index.mjs +6 -4
- package/form-item/index.mjs +43 -37
- package/form-item/style.css +1 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-group/index.mjs +15 -12
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.mjs +40 -38
- package/form-radio-group/style.css +1 -1
- package/form-select/index.mjs +7 -5
- package/form-switch/index.mjs +6 -4
- package/form-textarea/index.mjs +6 -4
- package/form-view/index.mjs +32 -10
- package/form-view/style.css +1 -1
- package/fy-array/index.mjs +9 -9
- package/fy-array/style.css +1 -1
- package/fy-article/index.mjs +7 -7
- package/fy-article/style.css +1 -1
- package/fy-cascader/index.mjs +2 -2
- package/fy-checkbox/index.mjs +6 -6
- package/fy-checkbox/style.css +1 -1
- package/fy-code/index.mjs +2 -2
- package/fy-curd/index.mjs +117 -99
- package/fy-curd/style.css +1 -1
- package/fy-date/index.mjs +8 -8
- package/fy-date/style.css +1 -1
- package/fy-draggable/index.mjs +3 -3
- package/fy-draggable/style.css +1 -1
- package/fy-dynamic/index.mjs +51 -43
- package/fy-dynamic/style.css +1 -1
- package/fy-empty/index.mjs +10 -10
- package/fy-empty/style.css +1 -1
- package/fy-form/index.mjs +42 -42
- package/fy-form/style.css +1 -1
- package/fy-form-design/index.mjs +539 -421
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +2 -2
- package/fy-input-color/index.mjs +2 -2
- package/fy-input-icon/index.mjs +5 -5
- package/fy-input-icon/style.css +1 -1
- package/fy-input-map/index.mjs +21 -15
- package/fy-input-map/style.css +1 -1
- package/fy-input-number/index.mjs +2 -2
- package/fy-input-table/index.mjs +13 -10
- package/fy-input-table/style.css +1 -1
- package/fy-input-tree/index.mjs +6 -6
- package/fy-input-tree/style.css +1 -1
- package/fy-progress/index.mjs +1 -1
- package/fy-radio/index.mjs +6 -6
- package/fy-radio/style.css +1 -1
- package/fy-rate/index.mjs +4 -4
- package/fy-rate/style.css +1 -1
- package/fy-select/index.mjs +27 -27
- package/fy-select/style.css +1 -1
- package/fy-slider/index.mjs +3 -3
- package/fy-switch/index.mjs +2 -2
- package/fy-tabs/index.mjs +1 -1
- package/fy-time/index.mjs +2 -2
- package/fy-title/index.mjs +14 -14
- package/fy-title/style.css +1 -1
- package/fy-tree/index.mjs +6 -9
- package/fy-tree/style.css +1 -1
- package/fy-u-editor/index.mjs +34 -32
- package/fy-u-editor/style.css +1 -1
- package/fy-upload/index.mjs +27 -27
- package/fy-upload/style.css +1 -1
- package/guide-steps/index.mjs +12 -12
- package/guide-steps/style.css +1 -1
- package/highlight-j-s/index.mjs +1 -1
- package/highlight-j-s/style.css +1 -1
- package/icon-card/index.mjs +9 -9
- package/icon-card/style.css +1 -1
- package/icon-temp/index.mjs +16 -16
- package/icon-temp/style.css +1 -1
- package/iframe-window/index.mjs +5 -5
- package/iframe-window/style.css +1 -1
- package/image-cropper/index.mjs +10 -10
- package/image-cropper/style.css +1 -1
- package/image-preview/index.mjs +7 -7
- package/image-preview/style.css +1 -1
- package/image-viewer/index.mjs +5 -5
- package/image-viewer/style.css +1 -1
- package/input-number/index.mjs +2 -2
- package/input-number/style.css +1 -1
- package/input-number-range/index.mjs +7 -7
- package/input-number-range/style.css +1 -1
- package/keep-view-alive/index.mjs +6 -2
- package/keyboard/index.mjs +21 -20
- package/keyboard/style.css +1 -1
- package/license/index.mjs +2 -2
- package/loading-view/index.mjs +5 -5
- package/loading-view/style.css +1 -1
- package/login/index.mjs +4 -4
- package/login/style.css +1 -1
- package/monaco-editor/index.mjs +2 -2
- package/name-avatar/index.mjs +6 -6
- package/name-avatar/style.css +1 -1
- package/nav-bar/index.mjs +8 -8
- package/nav-bar/style.css +1 -1
- package/not-implement/index.mjs +15 -15
- package/not-implement/style.css +1 -1
- package/notice/index.mjs +5 -5
- package/notice/style.css +1 -1
- package/package.json +1 -1
- package/page/index.mjs +8 -8
- package/page/style.css +1 -1
- package/page-header/index.mjs +6 -6
- package/page-header/style.css +1 -1
- package/page-index/index.mjs +19 -19
- package/page-index/style.css +1 -1
- package/page-index-top/index.mjs +1 -1
- package/page-skeleton/index.mjs +21 -21
- package/page-skeleton/style.css +1 -1
- package/page-skeleton-new/index.mjs +3 -3
- package/page-skeleton-new/style.css +1 -1
- package/pageable-table/index.mjs +21 -26
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +37 -42
- package/pageable-view/style.css +1 -1
- package/photo-swipe/index.mjs +4 -2
- package/present-view/index.mjs +31 -9
- package/present-view/style.css +1 -1
- package/queue/index.mjs +4 -4
- package/queue/style.css +1 -1
- package/record-video/index.mjs +14 -14
- package/record-video/style.css +1 -1
- package/resize-observer/index.mjs +6 -6
- package/resize-observer/style.css +1 -1
- package/search/index.mjs +7 -7
- package/search/style.css +1 -1
- package/search-popover/index.mjs +6 -6
- package/search-popover/style.css +1 -1
- package/sign/index.mjs +31 -31
- package/sign/style.css +1 -1
- package/sign-panel/index.mjs +8 -8
- package/sign-panel/style.css +1 -1
- package/skeleton/index.mjs +10 -10
- package/skeleton/style.css +1 -1
- package/split-pane/index.mjs +19 -22
- package/split-pane/style.css +1 -1
- package/stateful/index.mjs +12 -12
- package/stateful/style.css +1 -1
- package/static-pageable-table/index.mjs +9 -9
- package/static-pageable-table/style.css +1 -1
- package/swiper/index.mjs +7 -7
- package/swiper/style.css +1 -1
- package/tab/index.mjs +2 -2
- package/tab/style.css +1 -1
- package/tab-item/index.mjs +2 -2
- package/table-column/index.mjs +10 -6
- package/table-view/index.mjs +28 -8
- package/table-view/style.css +1 -1
- package/tag-render/index.mjs +29 -29
- package/tag-render/style.css +1 -1
- package/text-ellipsis/index.mjs +9 -12
- package/text-ellipsis/style.css +1 -1
- package/tinymce-editor/index.mjs +77 -77
- package/tinymce-editor/style.css +1 -1
- package/toolbar/index.mjs +1 -1
- package/toolbar/style.css +1 -1
- package/toolbar-button/index.mjs +6 -6
- package/toolbar-button/style.css +1 -1
- package/verify/index.mjs +10 -10
- package/verify/style.css +1 -1
- package/vue-cron/index.mjs +1 -1
- package/vue-cron/style.css +1 -1
- package/vue-qr-code/index.mjs +1 -1
- package/vue-quill-editor/index.mjs +3 -3
- package/vue-quill-editor/style.css +1 -1
- package/vue-tags-input/index.mjs +1 -1
- package/vue-tags-input/style.css +1 -1
- package/vue-tree-select/index.mjs +25 -22
- package/vue-tree-select/style.css +1 -1
- package/vue-video-player/index.mjs +32 -29
- package/vue-video-player/style.css +1 -1
- package/watermark/index.mjs +11 -11
- package/watermark/style.css +1 -1
- package/web-types.json +31 -31
- package/x-input-tag/index.mjs +13 -13
- package/x-input-tag/style.css +1 -1
- /package/chunks/{form-pick-mixin.y-qhZJi6.mjs → form-pick-mixin.61ad06b2.mjs} +0 -0
- /package/chunks/{index.LGsb2aDq.mjs → index.57f871af.mjs} +0 -0
- /package/chunks/{input-number-mixin.GE2zr_3s.mjs → input-number-mixin.41a066be.mjs} +0 -0
- /package/chunks/{json-beautifier.fUZFSW5j.mjs → json-beautifier.21cfffea.mjs} +0 -0
- /package/chunks/{packages.v6r2Hr7E.mjs → packages.1fc9ccba.mjs} +0 -0
- /package/chunks/{permission.E9kZbW48.mjs → permission.ce5d2121.mjs} +0 -0
- /package/chunks/{slot.j1uMmBnG.mjs → slot.4b391395.mjs} +0 -0
- /package/chunks/{tab-mixin.tM9jcRT8.mjs → tab-mixin.e2b9c6a4.mjs} +0 -0
- /package/chunks/{vueComponentNormalizer.JwmUNtgn.mjs → vueComponentNormalizer.446f5dc4.mjs} +0 -0
package/fy-u-editor/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var S = Object.defineProperty, C = Object.defineProperties;
|
|
2
|
+
var v = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var f = Object.getOwnPropertySymbols;
|
|
4
|
+
var _ = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var p = (e, t, r) => t in e ? S(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, u = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
_.call(t, r) && p(e, r, t[r]);
|
|
8
|
+
if (f)
|
|
9
|
+
for (var r of f(t))
|
|
10
|
+
b.call(t, r) && p(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, m = (e, t) =>
|
|
12
|
+
}, m = (e, t) => C(e, v(t));
|
|
13
13
|
var h = (e, t, r) => new Promise((o, i) => {
|
|
14
14
|
var a = (s) => {
|
|
15
15
|
try {
|
|
@@ -27,18 +27,18 @@ var h = (e, t, r) => new Promise((o, i) => {
|
|
|
27
27
|
d((r = r.apply(e, t)).next());
|
|
28
28
|
});
|
|
29
29
|
import "@wangeditor/editor/dist/css/style.css";
|
|
30
|
-
import { createEditor as
|
|
31
|
-
import { p as
|
|
32
|
-
import { n as
|
|
33
|
-
const
|
|
30
|
+
import { createEditor as x, createToolbar as A } from "@wangeditor/editor";
|
|
31
|
+
import { p as O } from "../chunks/util.ae730cde.mjs";
|
|
32
|
+
import { n as w } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
33
|
+
const K = (e) => {
|
|
34
34
|
const { region: t, endpoint: r, accessKeyId: o, accessKeySecret: i, bucket: a } = e;
|
|
35
35
|
return new window.OSS({ region: t, endpoint: r, accessKeyId: o, accessKeySecret: i, bucket: a });
|
|
36
|
-
},
|
|
36
|
+
}, H = (e, t, r) => {
|
|
37
37
|
let { scope: o, deadline: i } = r;
|
|
38
|
-
var a = JSON.stringify({ scope: o, deadline: i }), l = k(
|
|
38
|
+
var a = JSON.stringify({ scope: o, deadline: i }), l = j(k(a)), d = window.CryptoJS.HmacSHA1(l, t), s = d.toString(window.CryptoJS.enc.Base64), n = e + ":" + E(s) + ":" + l;
|
|
39
39
|
return n;
|
|
40
40
|
};
|
|
41
|
-
function
|
|
41
|
+
function k(e) {
|
|
42
42
|
var t, r, o, i;
|
|
43
43
|
for (t = "", o = e.length, r = 0; r < o; r++)
|
|
44
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));
|
|
@@ -175,7 +175,7 @@ new Array(
|
|
|
175
175
|
-1,
|
|
176
176
|
-1
|
|
177
177
|
);
|
|
178
|
-
function
|
|
178
|
+
function j(e) {
|
|
179
179
|
var t, r, o, i, a, l;
|
|
180
180
|
for (o = e.length, r = 0, t = ""; r < o; ) {
|
|
181
181
|
if (i = e.charCodeAt(r++) & 255, r == o) {
|
|
@@ -190,9 +190,9 @@ function k(e) {
|
|
|
190
190
|
}
|
|
191
191
|
return t;
|
|
192
192
|
}
|
|
193
|
-
var
|
|
193
|
+
var E = function(e) {
|
|
194
194
|
return e = e.replace(/\+/g, "-"), e = e.replace(/\//g, "_"), e;
|
|
195
|
-
},
|
|
195
|
+
}, F = function() {
|
|
196
196
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
197
197
|
return r("div", {
|
|
198
198
|
staticClass: "avue-ueditor"
|
|
@@ -322,14 +322,16 @@ const I = {
|
|
|
322
322
|
this.$emit("input", i);
|
|
323
323
|
}
|
|
324
324
|
});
|
|
325
|
-
this.editor = Object.seal(
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
325
|
+
this.editor = Object.seal(
|
|
326
|
+
x({
|
|
327
|
+
selector: this.$refs.editor,
|
|
328
|
+
config: t,
|
|
329
|
+
html: this.value,
|
|
330
|
+
mode: e
|
|
331
|
+
})
|
|
332
|
+
);
|
|
331
333
|
const r = u({}, this.toolbarConfig);
|
|
332
|
-
this.toolbar =
|
|
334
|
+
this.toolbar = A({
|
|
333
335
|
editor: this.editor,
|
|
334
336
|
selector: this.$refs.toolbar,
|
|
335
337
|
config: r,
|
|
@@ -348,13 +350,13 @@ const I = {
|
|
|
348
350
|
l.append(s, this.data[s]);
|
|
349
351
|
}), this.isQiniuOSS) {
|
|
350
352
|
i = this.qiniu;
|
|
351
|
-
const s =
|
|
353
|
+
const s = H(i.AK, i.SK, {
|
|
352
354
|
scope: i.scope,
|
|
353
355
|
deadline: (/* @__PURE__ */ new Date()).getTime() + i.deadline * 3600
|
|
354
356
|
});
|
|
355
357
|
l.append("token", s), d = "http://up.qiniu.com/";
|
|
356
358
|
} else
|
|
357
|
-
this.isAliOSS && (i = this.ali, a =
|
|
359
|
+
this.isAliOSS && (i = this.ali, a = K({
|
|
358
360
|
region: i.region,
|
|
359
361
|
endpoint: i.endpoint,
|
|
360
362
|
accessKeyId: i.accessKeyId,
|
|
@@ -363,7 +365,7 @@ const I = {
|
|
|
363
365
|
}));
|
|
364
366
|
(() => this.isAliOSS ? a.put(e.name, e) : this.$axios.post(d, l, { headers: o }))().then((s) => {
|
|
365
367
|
let n;
|
|
366
|
-
this.isAliOSS ? n = s : this.isQiniuOSS ? (n = s.data, n.key = i.url + n.key) : typeof this.resKey == "function" ? n = this.resKey(s.data) : (n =
|
|
368
|
+
this.isAliOSS ? n = s : this.isQiniuOSS ? (n = s.data, n.key = i.url + n.key) : typeof this.resKey == "function" ? n = this.resKey(s.data) : (n = O(s.data, this.resKey), n = n[this.urlKey]);
|
|
367
369
|
const g = this.homeUrl + n;
|
|
368
370
|
t(g);
|
|
369
371
|
}).catch((s) => {
|
|
@@ -376,9 +378,9 @@ const I = {
|
|
|
376
378
|
}
|
|
377
379
|
}
|
|
378
380
|
}, y = {};
|
|
379
|
-
var N = /* @__PURE__ */
|
|
381
|
+
var N = /* @__PURE__ */ w(
|
|
380
382
|
I,
|
|
381
|
-
|
|
383
|
+
F,
|
|
382
384
|
U,
|
|
383
385
|
!1,
|
|
384
386
|
$,
|
package/fy-u-editor/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-ueditor{border:1px solid #ccc}.avue-ueditor .fy-editor-toolbar{border-bottom:1px solid #ccc}.avue-ueditor .fy-editor{height:300px}
|
|
1
|
+
.avue-ueditor{border:1px solid #ccc}.avue-ueditor .fy-editor-toolbar{border-bottom:1px solid #ccc}.avue-ueditor .fy-editor{height:300px}
|
package/fy-upload/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as I, e as B } from "../chunks/event.
|
|
2
|
-
import { B as N, i as
|
|
3
|
-
import { p as
|
|
1
|
+
import { p as I, e as B } from "../chunks/event.b5d855dd.mjs";
|
|
2
|
+
import { B as N, i as F, p as K } from "../chunks/util.ae730cde.mjs";
|
|
3
|
+
import { p as A } from "../chunks/packages.1fc9ccba.mjs";
|
|
4
4
|
import { isBlank as b } from "@web-utils/core";
|
|
5
|
-
import { n as L } from "../chunks/vueComponentNormalizer.
|
|
5
|
+
import { n as L } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
6
6
|
let d, g;
|
|
7
7
|
const w = {
|
|
8
8
|
width: 200,
|
|
@@ -33,8 +33,8 @@ function P(t, e) {
|
|
|
33
33
|
}
|
|
34
34
|
function D(t, e = {}, i) {
|
|
35
35
|
const { text: o, fontFamily: s, color: a, fontSize: r, opacity: p, bottom: S, right: f, ratio: x } = e;
|
|
36
|
-
|
|
37
|
-
function
|
|
36
|
+
v(), P(t, C);
|
|
37
|
+
function v() {
|
|
38
38
|
n.text = o || n.text, n.fontFamily = s || n.fontFamily, n.color = a || n.color, n.fontSize = r || n.fontSize, n.opacity = p || n.opacity, n.bottom = S || n.bottom, n.right = f || n.right, n.ratio = x || n.ratio;
|
|
39
39
|
}
|
|
40
40
|
function C(y) {
|
|
@@ -42,8 +42,8 @@ function D(t, e = {}, i) {
|
|
|
42
42
|
u.src = y, u.onload = function() {
|
|
43
43
|
const m = u.width, l = u.height;
|
|
44
44
|
c(m, l), g.drawImage(u, 0, 0, m, l), E(m, l);
|
|
45
|
-
const
|
|
46
|
-
i && i(
|
|
45
|
+
const _ = document.getElementById("canvas").toDataURL(t.type, n.ratio), k = N(_, t.name);
|
|
46
|
+
i && i(k);
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
49
|
function c(y, u) {
|
|
@@ -54,15 +54,15 @@ function D(t, e = {}, i) {
|
|
|
54
54
|
g.font = `${l.fontSize}px ${n.fontFamily}`, g.fillStyle = n.color, g.globalAlpha = n.opacity / 100, g.fillText(m, l.x, l.y);
|
|
55
55
|
}
|
|
56
56
|
function U(y, u, m) {
|
|
57
|
-
let l,
|
|
57
|
+
let l, _;
|
|
58
58
|
const $ = n.fontSize / w.width * u;
|
|
59
|
-
n.bottom ?
|
|
59
|
+
n.bottom ? _ = w.height - n.bottom : _ = n.top, n.right ? l = w.width - n.right : l = n.left, g.font = `${n.fontSize}px ${n.fontFamily}`;
|
|
60
60
|
const j = Number(g.measureText(y).width);
|
|
61
61
|
l = l - j;
|
|
62
|
-
const z = l / w.width, R =
|
|
63
|
-
return l = z * u,
|
|
62
|
+
const z = l / w.width, R = _ / w.height;
|
|
63
|
+
return l = z * u, _ = R * m, {
|
|
64
64
|
x: l,
|
|
65
|
-
y:
|
|
65
|
+
y: _,
|
|
66
66
|
fontSize: $
|
|
67
67
|
};
|
|
68
68
|
}
|
|
@@ -305,7 +305,7 @@ var Q = function() {
|
|
|
305
305
|
}
|
|
306
306
|
}, [t._v(" " + t._s(t.fileText || "上传") + " ")])]], 2)], 1);
|
|
307
307
|
}, W = [];
|
|
308
|
-
function
|
|
308
|
+
function O(t, e = "") {
|
|
309
309
|
return e.match(/(^http:\/\/|^https:\/\/|^\/\/|data:image\/)/) ? e : t + e;
|
|
310
310
|
}
|
|
311
311
|
const X = {
|
|
@@ -407,7 +407,7 @@ const X = {
|
|
|
407
407
|
},
|
|
408
408
|
// 单个头像图片
|
|
409
409
|
imgUrl() {
|
|
410
|
-
return b(this.text) ? null :
|
|
410
|
+
return b(this.text) ? null : O(this.homeUrl, this.text[0]);
|
|
411
411
|
},
|
|
412
412
|
fileList() {
|
|
413
413
|
const t = [];
|
|
@@ -415,7 +415,7 @@ const X = {
|
|
|
415
415
|
if (e) {
|
|
416
416
|
const o = this.isObject ? e[this.labelKey] : e.substring(e.lastIndexOf("/") + 1);
|
|
417
417
|
let s = this.isObject ? e[this.valueKey] : e;
|
|
418
|
-
s =
|
|
418
|
+
s = O(this.homeUrl, s), t.push({
|
|
419
419
|
uid: `${i}`,
|
|
420
420
|
status: "done",
|
|
421
421
|
type: this.isMediaType(s),
|
|
@@ -431,11 +431,11 @@ const X = {
|
|
|
431
431
|
},
|
|
432
432
|
methods: {
|
|
433
433
|
isMediaType(t) {
|
|
434
|
-
return
|
|
434
|
+
return F(t, this.fileType);
|
|
435
435
|
},
|
|
436
436
|
setSort() {
|
|
437
437
|
if (!window.Sortable) {
|
|
438
|
-
|
|
438
|
+
A.logs("Sortable");
|
|
439
439
|
return;
|
|
440
440
|
}
|
|
441
441
|
const t = this.$el.querySelectorAll(".avue-upload > ul")[0];
|
|
@@ -467,7 +467,7 @@ const X = {
|
|
|
467
467
|
delete(t) {
|
|
468
468
|
(this.text || []).forEach((e, i) => {
|
|
469
469
|
const o = this.isObject ? e[this.valueKey] : e;
|
|
470
|
-
|
|
470
|
+
O(this.homeUrl, o) === t.url && this.text.splice(i, 1);
|
|
471
471
|
});
|
|
472
472
|
},
|
|
473
473
|
show(t) {
|
|
@@ -495,13 +495,13 @@ const X = {
|
|
|
495
495
|
let s = {}, a = {};
|
|
496
496
|
const r = new FormData(), p = () => {
|
|
497
497
|
const f = (x) => {
|
|
498
|
-
let
|
|
498
|
+
let v = this.action;
|
|
499
499
|
for (const c in this.data)
|
|
500
500
|
r.append(c, this.data[c]);
|
|
501
501
|
const C = x || e;
|
|
502
502
|
if (r.append(this.fileName, C), this.isQiniuOss) {
|
|
503
503
|
if (!window.CryptoJS) {
|
|
504
|
-
|
|
504
|
+
A.logs("CryptoJS"), this.hide();
|
|
505
505
|
return;
|
|
506
506
|
}
|
|
507
507
|
s = this.qiniu || this.$AVUE.qiniu;
|
|
@@ -509,17 +509,17 @@ const X = {
|
|
|
509
509
|
scope: s.scope,
|
|
510
510
|
deadline: (/* @__PURE__ */ new Date()).getTime() + s.deadline * 3600
|
|
511
511
|
});
|
|
512
|
-
r.append("token", c),
|
|
512
|
+
r.append("token", c), v = s.bucket;
|
|
513
513
|
} else if (this.isAliOss) {
|
|
514
514
|
if (!window.OSS) {
|
|
515
|
-
|
|
515
|
+
A.logs("AliOSS"), this.hide();
|
|
516
516
|
return;
|
|
517
517
|
}
|
|
518
518
|
s = this.ali || this.$AVUE.ali, a = H(s);
|
|
519
519
|
}
|
|
520
520
|
(() => this.isAliOss ? a.put(C.name, C, {
|
|
521
521
|
headers: this.headers
|
|
522
|
-
}) : this.$axios.post(
|
|
522
|
+
}) : this.$axios.post(v, r, { headers: o }))().then((c) => {
|
|
523
523
|
this.res = {}, this.isQiniuOss && (c.data.key = s.url + c.data.key), this.res = K(this.isAliOss ? c : c.data, this.resKey), typeof this.uploadAfter == "function" ? this.uploadAfter(this.res, this.show, this.hide, this.column) : this.show();
|
|
524
524
|
}).catch((c) => {
|
|
525
525
|
this.hide(c);
|
|
@@ -527,7 +527,7 @@ const X = {
|
|
|
527
527
|
};
|
|
528
528
|
typeof this.uploadBefore == "function" ? this.uploadBefore(e, f, this.hide, this.column) : f();
|
|
529
529
|
};
|
|
530
|
-
if (
|
|
530
|
+
if (F(e.name) !== "img") {
|
|
531
531
|
p();
|
|
532
532
|
return;
|
|
533
533
|
}
|
|
@@ -540,8 +540,8 @@ const X = {
|
|
|
540
540
|
const x = Object.assign(this.cropperOption, {
|
|
541
541
|
img: f,
|
|
542
542
|
type: "file",
|
|
543
|
-
callback: (
|
|
544
|
-
e =
|
|
543
|
+
callback: (v) => {
|
|
544
|
+
e = v, S();
|
|
545
545
|
},
|
|
546
546
|
cancel: () => {
|
|
547
547
|
this.loading = !1;
|
package/fy-upload/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-upload--upload .el-upload,.avue-upload--upload .el-upload__tip{display:none}.avue-upload--upload .el-upload--picture-img{display:inline-block}.avue-upload--upload .el-upload-list{margin-top:-6px}.avue-upload--list .el-upload{cursor:pointer;background-color:#fbfdff;border:1px dashed #c0ccda;border-radius:6px;position:relative;overflow:hidden}.avue-upload--list .el-upload:hover{border-color:#409eff}.avue-upload__dialog .el-dialog__header{display:none}.avue-upload__dialog .el-dialog__body{justify-content:center;padding:10px;display:flex}.avue-upload__menu{z-index:1024;background-color:rgba(0,0,0,.5);justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.avue-upload__menu i{color:#fff;margin:0 8px;font-size:20px}.avue-upload__avatar{color:#8c939d;text-align:center;width:148px;height:148px;font-size:28px;line-height:148px;display:block}
|
|
1
|
+
.avue-upload--upload .el-upload,.avue-upload--upload .el-upload__tip{display:none}.avue-upload--upload .el-upload--picture-img{display:inline-block}.avue-upload--upload .el-upload-list{margin-top:-6px}.avue-upload--list .el-upload{cursor:pointer;background-color:#fbfdff;border:1px dashed #c0ccda;border-radius:6px;position:relative;overflow:hidden}.avue-upload--list .el-upload:hover{border-color:#409eff}.avue-upload__dialog .el-dialog__header{display:none}.avue-upload__dialog .el-dialog__body{justify-content:center;padding:10px;display:flex}.avue-upload__menu{z-index:1024;background-color:rgba(0,0,0,.5);justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.avue-upload__menu i{color:#fff;margin:0 8px;font-size:20px}.avue-upload__avatar{color:#8c939d;text-align:center;width:148px;height:148px;font-size:28px;line-height:148px;display:block}
|
package/guide-steps/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as i } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { n as i } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
2
|
var n = function() {
|
|
3
3
|
var t = this, e = t.$createElement, a = t._self._c || e;
|
|
4
4
|
return a("ElSteps", {
|
|
@@ -6,21 +6,21 @@ var n = function() {
|
|
|
6
6
|
attrs: {
|
|
7
7
|
"align-center": ""
|
|
8
8
|
}
|
|
9
|
-
}, t._l(t.steps, function(
|
|
9
|
+
}, t._l(t.steps, function(r, s) {
|
|
10
10
|
return a("ElStep", {
|
|
11
|
-
key:
|
|
11
|
+
key: r.label,
|
|
12
12
|
class: [{
|
|
13
|
-
"current important": t.value ===
|
|
14
|
-
disabled: !t.available(
|
|
15
|
-
available: !t.ready[
|
|
13
|
+
"current important": t.value === s,
|
|
14
|
+
disabled: !t.available(s),
|
|
15
|
+
available: !t.ready[s] && t.available(s)
|
|
16
16
|
}],
|
|
17
17
|
attrs: {
|
|
18
|
-
status: t.ready[
|
|
19
|
-
title:
|
|
18
|
+
status: t.ready[s] ? "success" : "",
|
|
19
|
+
title: r.label
|
|
20
20
|
},
|
|
21
21
|
nativeOn: {
|
|
22
|
-
click: function(
|
|
23
|
-
return t.activeStep(
|
|
22
|
+
click: function(_) {
|
|
23
|
+
return t.activeStep(s);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
});
|
|
@@ -86,9 +86,9 @@ function p(t) {
|
|
|
86
86
|
for (let e in l)
|
|
87
87
|
this[e] = l[e];
|
|
88
88
|
}
|
|
89
|
-
const
|
|
89
|
+
const f = /* @__PURE__ */ function() {
|
|
90
90
|
return o.exports;
|
|
91
91
|
}();
|
|
92
92
|
export {
|
|
93
|
-
|
|
93
|
+
f as default
|
|
94
94
|
};
|
package/guide-steps/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.guide-steps{margin-top:20px;margin-bottom:20px}.guide-steps .el-step .el-step__line-inner{border-width:1px!important;width:100%!important}.guide-steps .el-step.current.important .el-step__head .el-step__icon.is-text{color:#f55634!important;border-color:#f55634!important}.guide-steps .el-step.current.important .el-step__title{color:#f55634!important}.guide-steps .el-step.available .el-step__head .el-step__icon.is-text{color:#eab006!important;border-color:#eab006!important}.guide-steps .el-step.available .el-step__title{color:#eab006!important}.guide-steps .el-step .el-step__icon.is-text{cursor:pointer}.guide-steps .el-step.disabled .el-step__icon.is-text{cursor:not-allowed}
|
|
1
|
+
.guide-steps{margin-top:20px;margin-bottom:20px}.guide-steps .el-step .el-step__line-inner{border-width:1px!important;width:100%!important}.guide-steps .el-step.current.important .el-step__head .el-step__icon.is-text{color:#f55634!important;border-color:#f55634!important}.guide-steps .el-step.current.important .el-step__title{color:#f55634!important}.guide-steps .el-step.available .el-step__head .el-step__icon.is-text{color:#eab006!important;border-color:#eab006!important}.guide-steps .el-step.available .el-step__title{color:#eab006!important}.guide-steps .el-step .el-step__icon.is-text{cursor:pointer}.guide-steps .el-step.disabled .el-step__icon.is-text{cursor:not-allowed}
|
package/highlight-j-s/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 l } from "@web-utils/core";
|
|
4
|
-
import { n as g } from "../chunks/vueComponentNormalizer.
|
|
4
|
+
import { n as g } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
5
5
|
var s = function() {
|
|
6
6
|
var e = this, t = e.$createElement, n = e._self._c || t;
|
|
7
7
|
return n("pre", {
|
package/highlight-j-s/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.highlight-js{height:100%;max-height:calc(80vh - 32px);margin:0;overflow-x:hidden;overflow-y:auto}.highlight-js .hljs{white-space:pre-wrap;word-break:break-word;height:100%}.highlight-js .hljs *{font-family:Consolas,Monaco,monospace}
|
|
1
|
+
.highlight-js{height:100%;max-height:calc(80vh - 32px);margin:0;overflow-x:hidden;overflow-y:auto}.highlight-js .hljs{white-space:pre-wrap;word-break:break-word;height:100%}.highlight-js .hljs *{font-family:Consolas,Monaco,monospace}
|
package/icon-card/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
var
|
|
3
|
-
var t = this,
|
|
1
|
+
import { n as c } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
|
+
var a = function() {
|
|
3
|
+
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
4
4
|
return n("div", {
|
|
5
5
|
class: ["icon-card", "flex-row", t.iconBg]
|
|
6
6
|
}, [n("div", {
|
|
@@ -19,7 +19,7 @@ var i = function() {
|
|
|
19
19
|
click: t.toDetails
|
|
20
20
|
}
|
|
21
21
|
}, [t._v(t._s(t.number))]), t._t("nuit")], 2)])]);
|
|
22
|
-
},
|
|
22
|
+
}, i = [];
|
|
23
23
|
const o = {
|
|
24
24
|
name: "IconCard",
|
|
25
25
|
props: {
|
|
@@ -39,11 +39,11 @@ const o = {
|
|
|
39
39
|
this.$router.push(this.path);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
},
|
|
43
|
-
var r = /* @__PURE__ */
|
|
42
|
+
}, s = {};
|
|
43
|
+
var r = /* @__PURE__ */ c(
|
|
44
44
|
o,
|
|
45
|
-
i,
|
|
46
45
|
a,
|
|
46
|
+
i,
|
|
47
47
|
!1,
|
|
48
48
|
l,
|
|
49
49
|
null,
|
|
@@ -51,8 +51,8 @@ var r = /* @__PURE__ */ e(
|
|
|
51
51
|
null
|
|
52
52
|
);
|
|
53
53
|
function l(t) {
|
|
54
|
-
for (let
|
|
55
|
-
this[
|
|
54
|
+
for (let e in s)
|
|
55
|
+
this[e] = s[e];
|
|
56
56
|
}
|
|
57
57
|
const u = /* @__PURE__ */ function() {
|
|
58
58
|
return r.exports;
|
package/icon-card/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.icon-card{border-radius:4px;padding:14px}.icon-card .card-icon_bg{text-align:center;border-radius:14px;width:48px;height:48px;margin-right:14px}.icon-card .card-icon{font-size:24px;line-height:48px}.icon-card .icon-card_color{cursor:pointer;font-size:18px;font-weight:700}.icon-card.blue{background:#f4f9ff}.icon-card.blue .card-icon_bg{color:#3c8efd;background:#e8f2fc}.icon-card.blue .icon-card_color{color:#3c8efd}.icon-card.orange{background:#f9f5ee}.icon-card.orange .card-icon_bg{color:#fdc12e;background:#fdf2dc}.icon-card.orange .icon-card_color{color:#fdc12e}.icon-card.green{background:#f1f7ed}.icon-card.green .card-icon_bg{color:#72c734;background:#ddf7d9}.icon-card.green .icon-card_color{color:#72c734}
|
|
1
|
+
.icon-card{border-radius:4px;padding:14px}.icon-card .card-icon_bg{text-align:center;border-radius:14px;width:48px;height:48px;margin-right:14px}.icon-card .card-icon{font-size:24px;line-height:48px}.icon-card .icon-card_color{cursor:pointer;font-size:18px;font-weight:700}.icon-card.blue{background:#f4f9ff}.icon-card.blue .card-icon_bg{color:#3c8efd;background:#e8f2fc}.icon-card.blue .icon-card_color{color:#3c8efd}.icon-card.orange{background:#f9f5ee}.icon-card.orange .card-icon_bg{color:#fdc12e;background:#fdf2dc}.icon-card.orange .icon-card_color{color:#fdc12e}.icon-card.green{background:#f1f7ed}.icon-card.green .card-icon_bg{color:#72c734;background:#ddf7d9}.icon-card.green .icon-card_color{color:#72c734}
|
package/icon-temp/index.mjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { n as a } from "../chunks/vueComponentNormalizer.
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
import { n as a } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
|
+
var l = function() {
|
|
3
|
+
var e = this, t = e.$createElement, n = e._self._c || t;
|
|
4
4
|
return n("span", {
|
|
5
5
|
staticClass: "avue-icon",
|
|
6
6
|
class: {
|
|
7
|
-
"avue-icon--small":
|
|
7
|
+
"avue-icon--small": e.small
|
|
8
8
|
}
|
|
9
|
-
}, [
|
|
9
|
+
}, [e.text.includes("#") ? n("svg", {
|
|
10
10
|
attrs: {
|
|
11
11
|
"aria-hidden": "true"
|
|
12
12
|
}
|
|
13
13
|
}, [n("use", {
|
|
14
14
|
attrs: {
|
|
15
|
-
"xlink:href":
|
|
15
|
+
"xlink:href": e.text
|
|
16
16
|
}
|
|
17
17
|
})]) : n("i", {
|
|
18
|
-
class:
|
|
18
|
+
class: e.text
|
|
19
19
|
})]);
|
|
20
|
-
},
|
|
21
|
-
const
|
|
20
|
+
}, o = [];
|
|
21
|
+
const r = {
|
|
22
22
|
name: "IconTemp",
|
|
23
23
|
props: {
|
|
24
24
|
small: Boolean,
|
|
@@ -29,22 +29,22 @@ const o = {
|
|
|
29
29
|
}
|
|
30
30
|
}, s = {};
|
|
31
31
|
var c = /* @__PURE__ */ a(
|
|
32
|
-
o,
|
|
33
32
|
r,
|
|
34
33
|
l,
|
|
34
|
+
o,
|
|
35
35
|
!1,
|
|
36
|
-
|
|
36
|
+
_,
|
|
37
37
|
null,
|
|
38
38
|
null,
|
|
39
39
|
null
|
|
40
40
|
);
|
|
41
|
-
function
|
|
42
|
-
for (let
|
|
43
|
-
this[
|
|
41
|
+
function _(e) {
|
|
42
|
+
for (let t in s)
|
|
43
|
+
this[t] = s[t];
|
|
44
44
|
}
|
|
45
|
-
const
|
|
45
|
+
const u = /* @__PURE__ */ function() {
|
|
46
46
|
return c.exports;
|
|
47
47
|
}();
|
|
48
48
|
export {
|
|
49
|
-
|
|
49
|
+
u as default
|
|
50
50
|
};
|
package/icon-temp/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-icon{justify-content:center;align-items:center;display:flex}.avue-icon svg,.avue-icon i{width:20px;height:20px;font-size:20px}.avue-icon--small svg,.avue-icon--small i{width:15px;height:15px;font-size:15px}
|
|
1
|
+
.avue-icon{justify-content:center;align-items:center;display:flex}.avue-icon svg,.avue-icon i{width:20px;height:20px;font-size:20px}.avue-icon--small svg,.avue-icon--small i{width:15px;height:15px;font-size:15px}
|
package/iframe-window/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as l } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
2
|
var s = function() {
|
|
3
3
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
4
4
|
return r("ElementDialog", e._g(e._b({
|
|
@@ -44,18 +44,18 @@ var o = /* @__PURE__ */ l(
|
|
|
44
44
|
s,
|
|
45
45
|
a,
|
|
46
46
|
!1,
|
|
47
|
-
|
|
47
|
+
_,
|
|
48
48
|
null,
|
|
49
49
|
null,
|
|
50
50
|
null
|
|
51
51
|
);
|
|
52
|
-
function
|
|
52
|
+
function _(e) {
|
|
53
53
|
for (let t in n)
|
|
54
54
|
this[t] = n[t];
|
|
55
55
|
}
|
|
56
|
-
const
|
|
56
|
+
const f = /* @__PURE__ */ function() {
|
|
57
57
|
return o.exports;
|
|
58
58
|
}();
|
|
59
59
|
export {
|
|
60
|
-
|
|
60
|
+
f as default
|
|
61
61
|
};
|
package/iframe-window/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.iframe-window.element-dialog.el-dialog.el-dialog-resizeable .el-dialog__body{padding:0;position:relative}.iframe-window .iframe-window-iframe{border:none;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}
|
|
1
|
+
.iframe-window.element-dialog.el-dialog.el-dialog-resizeable .el-dialog__body{padding:0;position:relative}.iframe-window .iframe-window-iframe{border:none;width:100%;height:100%;position:absolute;top:0;bottom:0;left:0;right:0}
|
package/image-cropper/index.mjs
CHANGED
|
@@ -9,10 +9,10 @@ var a = (e, o, t) => o in e ? c(e, o, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
u.call(o, t) && a(e, t, o[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { B as f } from "../chunks/util.
|
|
12
|
+
import { B as f } from "../chunks/util.ae730cde.mjs";
|
|
13
13
|
import { VueCropper as m } from "vue-cropper";
|
|
14
14
|
import d from "vue";
|
|
15
|
-
import { n as h } from "../chunks/vueComponentNormalizer.
|
|
15
|
+
import { n as h } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
16
16
|
var v = function() {
|
|
17
17
|
var e = this, o = e.$createElement, t = e._self._c || o;
|
|
18
18
|
return t("ElementDialog", {
|
|
@@ -187,7 +187,7 @@ const n = {
|
|
|
187
187
|
e && e(), this.visible = !1, this.option.cancel && this.option.cancel(), typeof this.option.beforeClose == "function" && this.option.beforeClose(), this.$destroy(), this.$el.remove();
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
},
|
|
190
|
+
}, x = (e = {}) => {
|
|
191
191
|
const o = d.extend(n), t = s({
|
|
192
192
|
outputSize: 1,
|
|
193
193
|
// 裁剪生成图片的质量(可选0.1 - 1)
|
|
@@ -225,24 +225,24 @@ const n = {
|
|
|
225
225
|
}).$mount();
|
|
226
226
|
return document.body.appendChild(i.$el), i.show(), i;
|
|
227
227
|
};
|
|
228
|
-
n.imageCropper =
|
|
229
|
-
const
|
|
230
|
-
var
|
|
231
|
-
|
|
228
|
+
n.imageCropper = x;
|
|
229
|
+
const _ = n, p = {};
|
|
230
|
+
var b = /* @__PURE__ */ h(
|
|
231
|
+
_,
|
|
232
232
|
v,
|
|
233
233
|
g,
|
|
234
234
|
!1,
|
|
235
|
-
|
|
235
|
+
C,
|
|
236
236
|
null,
|
|
237
237
|
null,
|
|
238
238
|
null
|
|
239
239
|
);
|
|
240
|
-
function
|
|
240
|
+
function C(e) {
|
|
241
241
|
for (let o in p)
|
|
242
242
|
this[o] = p[o];
|
|
243
243
|
}
|
|
244
244
|
const k = /* @__PURE__ */ function() {
|
|
245
|
-
return
|
|
245
|
+
return b.exports;
|
|
246
246
|
}();
|
|
247
247
|
export {
|
|
248
248
|
k as default
|
package/image-cropper/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-cropper .cropper-content{justify-content:flex-end;display:flex}.avue-cropper .cropper-content .cropper-box{flex:1;width:100%}.avue-cropper .cropper-content .cropper-box .cropper{width:auto;height:300px}.avue-cropper .cropper-content .show-preview{flex:1;justify-content:center;display:flex}.avue-cropper .cropper-content .show-preview .preview{background:#ccc;border:1px solid #67c23a;overflow:hidden}.avue-cropper .cropper-content .footer-btn{justify-content:center;margin-top:30px;padding-right:10px;display:flex}
|
|
1
|
+
.avue-cropper .cropper-content{justify-content:flex-end;display:flex}.avue-cropper .cropper-content .cropper-box{flex:1;width:100%}.avue-cropper .cropper-content .cropper-box .cropper{width:auto;height:300px}.avue-cropper .cropper-content .show-preview{flex:1;justify-content:center;display:flex}.avue-cropper .cropper-content .show-preview .preview{background:#ccc;border:1px solid #67c23a;overflow:hidden}.avue-cropper .cropper-content .footer-btn{justify-content:center;margin-top:30px;padding-right:10px;display:flex}
|
package/image-preview/index.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var
|
|
1
|
+
var v = Object.defineProperty;
|
|
2
2
|
var l = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var r = (e, i, t) => i in e ?
|
|
3
|
+
var _ = Object.prototype.hasOwnProperty, h = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var r = (e, i, t) => i in e ? v(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, c = (e, i) => {
|
|
5
5
|
for (var t in i || (i = {}))
|
|
6
|
-
|
|
6
|
+
_.call(i, t) && r(e, t, i[t]);
|
|
7
7
|
if (l)
|
|
8
8
|
for (var t of l(i))
|
|
9
|
-
|
|
9
|
+
h.call(i, t) && r(e, t, i[t]);
|
|
10
10
|
return e;
|
|
11
11
|
};
|
|
12
|
-
import { i as p } from "../chunks/util.
|
|
12
|
+
import { i as p } from "../chunks/util.ae730cde.mjs";
|
|
13
13
|
import { setPx as u } from "@web-utils/core";
|
|
14
14
|
import f from "vue";
|
|
15
|
-
import { n as g } from "../chunks/vueComponentNormalizer.
|
|
15
|
+
import { n as g } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
16
16
|
var w = function() {
|
|
17
17
|
var e = this, i = e.$createElement, t = e._self._c || i;
|
|
18
18
|
return e.isShow ? t("div", {
|
package/image-preview/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-img--center{justify-content:center;align-items:center;display:flex}.avue-img--fullscreen .el-dialog__body{height:100%}.avue-image-preview{z-index:9998;width:100%;height:100%;transition:all .5s;position:fixed;top:0;left:0}.avue-image-preview .el-image-viewer__close i{color:#fff}.avue-image-preview .el-image-viewer__btn{z-index:1024}.avue-image-preview img{cursor:pointer;transition:all .5s}.avue-image-preview__file{text-align:center}.avue-image-preview__file a{color:#fff}.avue-image-preview__file i{cursor:pointer;font-size:80px}.avue-image-preview__mask{background:rgba(0,0,0,.5);width:100%;height:100%;position:absolute;top:0;left:0}.avue-image-preview__box{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.avue-image-preview__box .el-carousel{width:90%;height:100%}.avue-image-preview__box .el-carousel__container{height:100%}.avue-image-preview__box .el-carousel__item{justify-content:center;align-items:center;width:100%;height:100%;display:flex}
|
|
1
|
+
.avue-img--center{justify-content:center;align-items:center;display:flex}.avue-img--fullscreen .el-dialog__body{height:100%}.avue-image-preview{z-index:9998;width:100%;height:100%;transition:all .5s;position:fixed;top:0;left:0}.avue-image-preview .el-image-viewer__close i{color:#fff}.avue-image-preview .el-image-viewer__btn{z-index:1024}.avue-image-preview img{cursor:pointer;transition:all .5s}.avue-image-preview__file{text-align:center}.avue-image-preview__file a{color:#fff}.avue-image-preview__file i{cursor:pointer;font-size:80px}.avue-image-preview__mask{background:rgba(0,0,0,.5);width:100%;height:100%;position:absolute;top:0;left:0}.avue-image-preview__box{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.avue-image-preview__box .el-carousel{width:90%;height:100%}.avue-image-preview__box .el-carousel__container{height:100%}.avue-image-preview__box .el-carousel__item{justify-content:center;align-items:center;width:100%;height:100%;display:flex}
|
package/image-viewer/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import i from "viewerjs";
|
|
2
2
|
import "viewerjs/dist/viewer.css";
|
|
3
|
-
import { n as l } from "../chunks/vueComponentNormalizer.
|
|
3
|
+
import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
4
4
|
var n = function() {
|
|
5
5
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
6
6
|
return r("div", {
|
|
@@ -78,18 +78,18 @@ var c = /* @__PURE__ */ l(
|
|
|
78
78
|
n,
|
|
79
79
|
o,
|
|
80
80
|
!1,
|
|
81
|
-
|
|
81
|
+
_,
|
|
82
82
|
null,
|
|
83
83
|
null,
|
|
84
84
|
null
|
|
85
85
|
);
|
|
86
|
-
function
|
|
86
|
+
function _(e) {
|
|
87
87
|
for (let t in s)
|
|
88
88
|
this[t] = s[t];
|
|
89
89
|
}
|
|
90
|
-
const
|
|
90
|
+
const p = /* @__PURE__ */ function() {
|
|
91
91
|
return c.exports;
|
|
92
92
|
}();
|
|
93
93
|
export {
|
|
94
|
-
|
|
94
|
+
p as default
|
|
95
95
|
};
|
package/image-viewer/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.image-viewer .image-item{cursor:pointer;background-color:transparent;background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;outline:none;width:100px;height:100px;display:inline-block}.viewer-backdrop{background-color:#5e5e5e}
|
|
1
|
+
.image-viewer .image-item{cursor:pointer;background-color:transparent;background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;outline:none;width:100px;height:100px;display:inline-block}.viewer-backdrop{background-color:#5e5e5e}
|