@web-utils/component 3.1.0 → 3.2.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 +1 -1
- package/address-input/style.css +1 -1
- package/affix/index.mjs +1 -1
- package/affix/style.css +1 -1
- package/aside-menu/index.mjs +13 -13
- package/aside-menu/style.css +1 -1
- package/avatar/index.mjs +6 -6
- package/avatar/style.css +1 -1
- package/awesome-button/index.mjs +1 -1
- package/base.css +1 -1
- package/capsule-tab/index.mjs +5 -5
- package/capsule-tab/style.css +1 -1
- package/card/index.mjs +13 -13
- package/card/style.css +1 -1
- package/carousel/index.mjs +9 -9
- package/carousel/style.css +1 -1
- package/chat/index.mjs +2 -2
- package/chat/style.css +1 -1
- package/chunk-file-uploader/index.mjs +9 -9
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/{FormTemp.aa57efb4.mjs → FormTemp.0eqGAu6W.mjs} +4 -4
- package/chunks/{dataformat.f995e2f9.mjs → dataformat.Ab9PZnVk.mjs} +1 -1
- package/chunks/{dic.eaac0823.mjs → dic.7JBaVHv6.mjs} +1 -1
- package/chunks/{event.b5d855dd.mjs → event.lbJYeMJp.mjs} +3 -3
- package/chunks/{form-input-mixin.4632ad36.mjs → form-input-mixin.IKogWBfn.mjs} +2 -2
- package/chunks/{form-item-mixin.ad148e7b.mjs → form-item-mixin.BilKDUlK.mjs} +1 -1
- package/chunks/{init.47f219b4.mjs → init.6oF7OO2W.mjs} +3 -3
- package/code-mirror-editor/index.mjs +24 -24
- package/code-mirror-editor/style.css +1 -1
- package/color-picker/index.mjs +1 -1
- package/comment/index.mjs +3 -3
- package/comment/style.css +1 -1
- package/confirm-button/index.mjs +2 -2
- package/confirmable/index.mjs +2 -2
- package/context-menu/index.mjs +1 -1
- package/context-menu/style.css +1 -1
- package/count-up/index.mjs +1 -1
- package/custom-scrollbar/index.mjs +1 -1
- package/data-box/index.mjs +4 -4
- package/data-box/style.css +1 -1
- package/data-card/index.mjs +10 -10
- package/data-card/style.css +1 -1
- package/data-cardtext/index.mjs +4 -4
- package/data-cardtext/style.css +1 -1
- package/data-display/index.mjs +3 -3
- package/data-display/style.css +1 -1
- package/data-icons/index.mjs +5 -5
- package/data-icons/style.css +1 -1
- package/data-imgtext/index.mjs +10 -10
- package/data-imgtext/style.css +1 -1
- package/data-operatext/index.mjs +3 -3
- package/data-operatext/style.css +1 -1
- package/data-panel/index.mjs +6 -6
- package/data-panel/style.css +1 -1
- package/data-pay/index.mjs +11 -11
- package/data-pay/style.css +1 -1
- package/data-price/index.mjs +8 -8
- package/data-price/style.css +1 -1
- package/data-progress/index.mjs +7 -7
- 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 +9 -9
- package/data-tabs/style.css +1 -1
- package/dialog-form/index.mjs +4 -4
- package/dialog-form/style.css +1 -1
- package/dynamic-table/index.mjs +11 -11
- package/dynamic-table/style.css +1 -1
- package/e-charts/index.mjs +1 -1
- package/e-charts/style.css +1 -1
- package/easy-popup/index.mjs +6 -6
- 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 +49 -49
- 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 +14 -14
- package/element-dialog/style.css +1 -1
- package/empty-view/index.mjs +4 -4
- package/empty-view/style.css +1 -1
- package/error-view/index.mjs +3 -3
- package/error-view/style.css +1 -1
- package/flex-column/index.mjs +2 -2
- package/flex-item/index.mjs +2 -2
- package/flex-row/index.mjs +2 -2
- package/flex-scroller/index.mjs +3 -3
- package/flex-scroller/style.css +1 -1
- package/flow/index.mjs +5 -5
- package/flow/style.css +1 -1
- package/flow-designer/index.mjs +27 -29
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +2 -2
- package/flow-viewer/index.mjs +11 -11
- package/flow-viewer/style.css +1 -1
- package/form-block/index.mjs +14 -14
- package/form-block/style.css +1 -1
- package/form-button/index.mjs +1 -1
- package/form-cascader/index.mjs +4 -4
- package/form-checkbox-group/index.mjs +20 -20
- package/form-checkbox-group/style.css +1 -1
- package/form-date-picker/index.mjs +4 -4
- package/form-holder/index.mjs +2 -2
- package/form-input/index.mjs +3 -3
- package/form-input-email/index.mjs +3 -3
- package/form-input-id-card/index.mjs +3 -3
- package/form-input-number/index.mjs +9 -9
- package/form-input-number/style.css +1 -1
- package/form-input-phone-number/index.mjs +3 -3
- package/form-input-tag/index.mjs +3 -3
- package/form-input-time/index.mjs +3 -3
- package/form-item/index.mjs +10 -10
- package/form-item/style.css +1 -1
- package/form-item-config-provider/index.mjs +1 -1
- package/form-item-group/index.mjs +2 -2
- package/form-item-group/style.css +1 -1
- package/form-radio-group/index.mjs +25 -25
- package/form-radio-group/style.css +1 -1
- package/form-select/index.mjs +4 -4
- package/form-switch/index.mjs +3 -3
- package/form-textarea/index.mjs +3 -3
- package/form-view/index.mjs +15 -15
- package/form-view/style.css +1 -1
- package/fy-array/index.mjs +19 -19
- package/fy-array/style.css +1 -1
- package/fy-article/index.mjs +1 -1
- package/fy-article/style.css +1 -1
- package/fy-cascader/index.mjs +2 -2
- package/fy-checkbox/index.mjs +7 -7
- package/fy-checkbox/style.css +1 -1
- package/fy-code/index.mjs +2 -2
- package/fy-curd/index.mjs +11 -13
- package/fy-curd/style.css +1 -1
- package/fy-date/index.mjs +9 -9
- package/fy-date/style.css +1 -1
- package/fy-draggable/index.mjs +2 -2
- package/fy-draggable/style.css +1 -1
- package/fy-dynamic/index.mjs +5 -5
- package/fy-dynamic/style.css +1 -1
- package/fy-empty/index.mjs +5 -5
- package/fy-empty/style.css +1 -1
- package/fy-form/index.mjs +15 -17
- package/fy-form/style.css +1 -1
- package/fy-form-design/index.mjs +21 -25
- 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 +26 -26
- package/fy-input-icon/style.css +1 -1
- package/fy-input-map/index.mjs +12 -12
- package/fy-input-map/style.css +1 -1
- package/fy-input-number/index.mjs +2 -2
- package/fy-input-table/index.mjs +6 -6
- package/fy-input-table/style.css +1 -1
- package/fy-input-tree/index.mjs +2 -2
- package/fy-input-tree/style.css +1 -1
- package/fy-progress/index.mjs +1 -1
- package/fy-radio/index.mjs +10 -10
- 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 +16 -16
- 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 +9 -9
- package/fy-title/style.css +1 -1
- package/fy-tree/index.mjs +5 -5
- package/fy-tree/style.css +1 -1
- package/fy-u-editor/index.mjs +13 -13
- package/fy-u-editor/style.css +1 -1
- package/fy-upload/index.mjs +17 -17
- package/fy-upload/style.css +1 -1
- package/guide-steps/index.mjs +24 -24
- package/guide-steps/style.css +1 -1
- package/highlight-j-s/index.mjs +3 -3
- package/highlight-j-s/style.css +1 -1
- package/icon-card/index.mjs +4 -4
- package/icon-card/style.css +1 -1
- package/icon-temp/index.mjs +3 -3
- package/icon-temp/style.css +1 -1
- package/iframe-window/index.mjs +4 -4
- package/iframe-window/style.css +1 -1
- package/image-cropper/index.mjs +5 -5
- package/image-cropper/style.css +1 -1
- package/image-preview/index.mjs +8 -8
- package/image-preview/style.css +1 -1
- package/image-viewer/index.mjs +1 -1
- package/image-viewer/style.css +1 -1
- package/index.mjs +500 -3983
- package/input-number/index.mjs +4 -4
- package/input-number/style.css +1 -1
- package/input-number-range/index.mjs +6 -6
- package/input-number-range/style.css +1 -1
- package/keep-view-alive/index.mjs +1 -1
- package/keyboard/index.mjs +6 -6
- package/keyboard/style.css +1 -1
- package/license/index.mjs +2 -2
- package/loading-view/index.mjs +7 -7
- package/loading-view/style.css +1 -1
- package/login/index.mjs +6 -6
- package/login/style.css +1 -1
- package/monaco-editor/index.mjs +2 -2
- package/name-avatar/index.mjs +1 -1
- package/name-avatar/style.css +1 -1
- package/nav-bar/index.mjs +7 -7
- package/nav-bar/style.css +1 -1
- package/not-implement/index.mjs +10 -10
- package/not-implement/style.css +1 -1
- package/notice/index.mjs +1 -1
- package/notice/style.css +1 -1
- package/package.json +5 -5
- package/page/index.mjs +6 -6
- package/page/style.css +1 -1
- package/page-header/index.mjs +3 -3
- package/page-header/style.css +1 -1
- package/page-index/index.mjs +13 -13
- package/page-index/style.css +1 -1
- package/page-index-top/index.mjs +1 -1
- package/page-skeleton/index.mjs +9 -9
- package/page-skeleton/style.css +1 -1
- package/page-skeleton-new/index.mjs +1 -1
- package/page-skeleton-new/style.css +1 -1
- package/pageable-table/index.mjs +18 -18
- package/pageable-table/style.css +1 -1
- package/pageable-view/index.mjs +13 -13
- package/pageable-view/style.css +1 -1
- package/photo-swipe/index.mjs +1 -1
- package/present-view/index.mjs +7 -7
- package/present-view/style.css +1 -1
- package/queue/index.mjs +1 -1
- package/queue/style.css +1 -1
- package/record-video/index.mjs +2 -2
- package/record-video/style.css +1 -1
- package/resize-observer/index.mjs +4 -4
- package/resize-observer/style.css +1 -1
- package/search/index.mjs +9 -9
- package/search/style.css +1 -1
- package/search-popover/index.mjs +18 -18
- package/search-popover/style.css +1 -1
- package/sign/index.mjs +15 -15
- package/sign/style.css +1 -1
- package/sign-panel/index.mjs +1 -1
- package/sign-panel/style.css +1 -1
- package/skeleton/index.mjs +7 -7
- package/skeleton/style.css +1 -1
- package/split-pane/index.mjs +47 -48
- package/split-pane/style.css +1 -1
- package/stateful/index.mjs +19 -19
- package/stateful/style.css +1 -1
- package/static-pageable-table/index.mjs +7 -7
- package/static-pageable-table/style.css +1 -1
- package/swiper/index.mjs +4 -4
- package/swiper/style.css +1 -1
- package/tab/index.mjs +8 -8
- package/tab/style.css +1 -1
- package/tab-item/index.mjs +2 -2
- package/table-column/index.mjs +1 -1
- package/table-view/index.mjs +10 -10
- package/table-view/style.css +1 -1
- package/tag-render/index.mjs +7 -7
- package/tag-render/style.css +1 -1
- package/text-ellipsis/index.mjs +4 -4
- package/text-ellipsis/style.css +1 -1
- package/tinymce-editor/index.mjs +21 -22
- package/tinymce-editor/style.css +1 -1
- package/toolbar/style.css +1 -1
- package/toolbar-button/index.mjs +13 -13
- package/toolbar-button/style.css +1 -1
- package/verify/index.mjs +15 -15
- package/verify/style.css +1 -1
- package/vue-cron/index.mjs +2 -3
- package/vue-cron/style.css +1 -1
- package/vue-qr-code/index.mjs +1 -1
- package/vue-quill-editor/index.mjs +1 -1
- 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 +2 -3
- package/vue-tree-select/style.css +1 -1
- package/vue-video-player/index.mjs +8 -8
- package/vue-video-player/style.css +1 -1
- package/watermark/index.mjs +19 -19
- package/watermark/style.css +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +5 -5
- package/x-input-tag/style.css +1 -1
- package/index.css +0 -1
- /package/chunks/{_plugin-vue2_normalizer.446f5dc4.mjs → _plugin-vue2_normalizer.JwmUNtgn.mjs} +0 -0
- /package/chunks/{confirmable-mixin.817b542f.mjs → confirmable-mixin.GqdyYLEM.mjs} +0 -0
- /package/chunks/{form-pick-mixin.61ad06b2.mjs → form-pick-mixin.y-qhZJi6.mjs} +0 -0
- /package/chunks/{index.57f871af.mjs → index.LGsb2aDq.mjs} +0 -0
- /package/chunks/{input-number-mixin.41a066be.mjs → input-number-mixin.GE2zr_3s.mjs} +0 -0
- /package/chunks/{json-beautifier.21cfffea.mjs → json-beautifier.fUZFSW5j.mjs} +0 -0
- /package/chunks/{packages.1fc9ccba.mjs → packages.v6r2Hr7E.mjs} +0 -0
- /package/chunks/{permission.ce5d2121.mjs → permission.E9kZbW48.mjs} +0 -0
- /package/chunks/{slot.4b391395.mjs → slot.j1uMmBnG.mjs} +0 -0
- /package/chunks/{tab-mixin.e2b9c6a4.mjs → tab-mixin.tM9jcRT8.mjs} +0 -0
- /package/chunks/{util.ae730cde.mjs → util.y1gUGRqi.mjs} +0 -0
package/fy-upload/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as R, e as I } from "../chunks/event.
|
|
2
|
-
import { B, i as F, p as N } from "../chunks/util.
|
|
3
|
-
import { p as A } from "../chunks/packages.
|
|
1
|
+
import { p as R, e as I } from "../chunks/event.lbJYeMJp.mjs";
|
|
2
|
+
import { B, i as F, p as N } from "../chunks/util.y1gUGRqi.mjs";
|
|
3
|
+
import { p as A } from "../chunks/packages.v6r2Hr7E.mjs";
|
|
4
4
|
import { isBlank as b } from "@web-utils/core";
|
|
5
|
-
import { n as K } from "../chunks/_plugin-vue2_normalizer.
|
|
5
|
+
import { n as K } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
6
6
|
let d, g;
|
|
7
7
|
const w = {
|
|
8
8
|
width: 200,
|
|
@@ -33,8 +33,8 @@ function T(e, t) {
|
|
|
33
33
|
}
|
|
34
34
|
function L(e, t = {}, i) {
|
|
35
35
|
const { text: o, fontFamily: s, color: u, fontSize: l, opacity: p, bottom: S, right: f, ratio: x } = t;
|
|
36
|
-
|
|
37
|
-
function
|
|
36
|
+
_(), T(e, C);
|
|
37
|
+
function _() {
|
|
38
38
|
n.text = o || n.text, n.fontFamily = s || n.fontFamily, n.color = u || n.color, n.fontSize = l || 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,7 +42,7 @@ function L(e, t = {}, i) {
|
|
|
42
42
|
c.src = y, c.onload = function() {
|
|
43
43
|
const m = c.width, a = c.height;
|
|
44
44
|
r(m, a), g.drawImage(c, 0, 0, m, a), P(m, a);
|
|
45
|
-
const
|
|
45
|
+
const v = document.getElementById("canvas").toDataURL(e.type, n.ratio), k = B(v, e.name);
|
|
46
46
|
i && i(k);
|
|
47
47
|
};
|
|
48
48
|
}
|
|
@@ -54,15 +54,15 @@ function L(e, t = {}, i) {
|
|
|
54
54
|
g.font = `${a.fontSize}px ${n.fontFamily}`, g.fillStyle = n.color, g.globalAlpha = n.opacity / 100, g.fillText(m, a.x, a.y);
|
|
55
55
|
}
|
|
56
56
|
function E(y, c, m) {
|
|
57
|
-
let a,
|
|
57
|
+
let a, v;
|
|
58
58
|
const U = n.fontSize / w.width * c;
|
|
59
|
-
n.bottom ?
|
|
59
|
+
n.bottom ? v = w.height - n.bottom : v = n.top, n.right ? a = w.width - n.right : a = n.left, g.font = `${n.fontSize}px ${n.fontFamily}`;
|
|
60
60
|
const $ = Number(g.measureText(y).width);
|
|
61
61
|
a = a - $;
|
|
62
|
-
const z = a / w.width, j =
|
|
63
|
-
return a = z * c,
|
|
62
|
+
const z = a / w.width, j = v / w.height;
|
|
63
|
+
return a = z * c, v = j * m, {
|
|
64
64
|
x: a,
|
|
65
|
-
y:
|
|
65
|
+
y: v,
|
|
66
66
|
fontSize: U
|
|
67
67
|
};
|
|
68
68
|
}
|
|
@@ -295,7 +295,7 @@ const H = {
|
|
|
295
295
|
let s = {}, u = {};
|
|
296
296
|
const l = new FormData(), p = () => {
|
|
297
297
|
const f = (x) => {
|
|
298
|
-
let
|
|
298
|
+
let _ = this.action;
|
|
299
299
|
for (const r in this.data)
|
|
300
300
|
l.append(r, this.data[r]);
|
|
301
301
|
const C = x || t;
|
|
@@ -309,7 +309,7 @@ const H = {
|
|
|
309
309
|
scope: s.scope,
|
|
310
310
|
deadline: (/* @__PURE__ */ new Date()).getTime() + s.deadline * 3600
|
|
311
311
|
});
|
|
312
|
-
l.append("token", r),
|
|
312
|
+
l.append("token", r), _ = s.bucket;
|
|
313
313
|
} else if (this.isAliOss) {
|
|
314
314
|
if (!window.OSS) {
|
|
315
315
|
A.logs("AliOSS"), this.hide();
|
|
@@ -319,7 +319,7 @@ const H = {
|
|
|
319
319
|
}
|
|
320
320
|
(() => this.isAliOss ? u.put(C.name, C, {
|
|
321
321
|
headers: this.headers
|
|
322
|
-
}) : this.$axios.post(
|
|
322
|
+
}) : this.$axios.post(_, l, { headers: o }))().then((r) => {
|
|
323
323
|
this.res = {}, this.isQiniuOss && (r.data.key = s.url + r.data.key), this.res = N(this.isAliOss ? r : r.data, this.resKey), typeof this.uploadAfter == "function" ? this.uploadAfter(this.res, this.show, this.hide, this.column) : this.show();
|
|
324
324
|
}).catch((r) => {
|
|
325
325
|
this.hide(r);
|
|
@@ -340,8 +340,8 @@ const H = {
|
|
|
340
340
|
const x = Object.assign(this.cropperOption, {
|
|
341
341
|
img: f,
|
|
342
342
|
type: "file",
|
|
343
|
-
callback: (
|
|
344
|
-
t =
|
|
343
|
+
callback: (_) => {
|
|
344
|
+
t = _, S();
|
|
345
345
|
},
|
|
346
346
|
cancel: () => {
|
|
347
347
|
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 l } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { n as l } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
2
2
|
const i = {
|
|
3
3
|
name: "GuideSteps",
|
|
4
4
|
props: {
|
|
@@ -20,45 +20,45 @@ const i = {
|
|
|
20
20
|
steps: {
|
|
21
21
|
immediate: !0,
|
|
22
22
|
deep: !0,
|
|
23
|
-
handler(
|
|
24
|
-
this.ready =
|
|
23
|
+
handler(t) {
|
|
24
|
+
this.ready = t != null && t.length ? t.map(() => !1) : [];
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
methods: {
|
|
29
|
-
activeStep(
|
|
30
|
-
|
|
29
|
+
activeStep(t) {
|
|
30
|
+
t !== 0 && !this.available(t) || this.$emit("input", t);
|
|
31
31
|
},
|
|
32
|
-
setReady(
|
|
33
|
-
|
|
32
|
+
setReady(t, e) {
|
|
33
|
+
t < this.ready.length && this.$set(this.ready, t, e);
|
|
34
34
|
},
|
|
35
|
-
available(
|
|
36
|
-
let
|
|
37
|
-
if (
|
|
38
|
-
for (let a = 0; a <
|
|
35
|
+
available(t) {
|
|
36
|
+
let e = !0;
|
|
37
|
+
if (t > 0 && t < this.ready.length) {
|
|
38
|
+
for (let a = 0; a < t; a++)
|
|
39
39
|
if (!this.ready[a]) {
|
|
40
|
-
|
|
40
|
+
e = !1;
|
|
41
41
|
break;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
return
|
|
44
|
+
return e;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
var u = function() {
|
|
49
|
-
var
|
|
50
|
-
return a("ElSteps", { staticClass: "guide-steps", attrs: { "align-center": "" } },
|
|
51
|
-
return a("ElStep", { key:
|
|
49
|
+
var e = this, a = e._self._c;
|
|
50
|
+
return a("ElSteps", { staticClass: "guide-steps", attrs: { "align-center": "" } }, e._l(e.steps, function(s, r) {
|
|
51
|
+
return a("ElStep", { key: s.label, class: [
|
|
52
52
|
{
|
|
53
|
-
"current important":
|
|
54
|
-
disabled: !
|
|
55
|
-
available: !
|
|
53
|
+
"current important": e.value === r,
|
|
54
|
+
disabled: !e.available(r),
|
|
55
|
+
available: !e.ready[r] && e.available(r)
|
|
56
56
|
}
|
|
57
|
-
], attrs: { status:
|
|
58
|
-
return
|
|
57
|
+
], attrs: { status: e.ready[r] ? "success" : "", title: s.label }, nativeOn: { click: function(p) {
|
|
58
|
+
return e.activeStep(r);
|
|
59
59
|
} } });
|
|
60
60
|
}), 1);
|
|
61
|
-
}, n = [],
|
|
61
|
+
}, n = [], c = /* @__PURE__ */ l(
|
|
62
62
|
i,
|
|
63
63
|
u,
|
|
64
64
|
n,
|
|
@@ -68,7 +68,7 @@ var u = function() {
|
|
|
68
68
|
null,
|
|
69
69
|
null
|
|
70
70
|
);
|
|
71
|
-
const
|
|
71
|
+
const o = c.exports;
|
|
72
72
|
export {
|
|
73
|
-
|
|
73
|
+
o as default
|
|
74
74
|
};
|
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 g } from "@web-utils/core";
|
|
4
|
-
import { n as l } from "../chunks/_plugin-vue2_normalizer.
|
|
4
|
+
import { n as l } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
5
5
|
const i = {
|
|
6
6
|
name: "HighlightJS",
|
|
7
7
|
props: {
|
|
@@ -56,7 +56,7 @@ var s = function() {
|
|
|
56
56
|
null,
|
|
57
57
|
null
|
|
58
58
|
);
|
|
59
|
-
const
|
|
59
|
+
const m = h.exports;
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
m as default
|
|
62
62
|
};
|
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,4 +1,4 @@
|
|
|
1
|
-
import { n as s } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { n as s } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
2
2
|
const a = {
|
|
3
3
|
name: "IconCard",
|
|
4
4
|
props: {
|
|
@@ -22,17 +22,17 @@ const a = {
|
|
|
22
22
|
var c = function() {
|
|
23
23
|
var t = this, n = t._self._c;
|
|
24
24
|
return n("div", { class: ["icon-card", "flex-row", t.iconBg] }, [n("div", { staticClass: "card-icon_bg" }, [n("i", { class: ["card-icon", t.icon] })]), n("div", { staticClass: "flex-item" }, [n("p", { staticClass: "icon-card_title" }, [t._t("default")], 2), n("div", { staticClass: "icon-card_num" }, [n("span", { staticClass: "icon-card_color", on: { click: t.toDetails } }, [t._v(t._s(t.number))]), t._t("nuit")], 2)])]);
|
|
25
|
-
},
|
|
25
|
+
}, i = [], o = /* @__PURE__ */ s(
|
|
26
26
|
a,
|
|
27
27
|
c,
|
|
28
|
-
|
|
28
|
+
i,
|
|
29
29
|
!1,
|
|
30
30
|
null,
|
|
31
31
|
null,
|
|
32
32
|
null,
|
|
33
33
|
null
|
|
34
34
|
);
|
|
35
|
-
const l =
|
|
35
|
+
const l = o.exports;
|
|
36
36
|
export {
|
|
37
37
|
l as default
|
|
38
38
|
};
|
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,4 +1,4 @@
|
|
|
1
|
-
import { n as t } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { n as t } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
2
2
|
const s = {
|
|
3
3
|
name: "IconTemp",
|
|
4
4
|
props: {
|
|
@@ -22,7 +22,7 @@ var a = function() {
|
|
|
22
22
|
null,
|
|
23
23
|
null
|
|
24
24
|
);
|
|
25
|
-
const
|
|
25
|
+
const i = r.exports;
|
|
26
26
|
export {
|
|
27
|
-
|
|
27
|
+
i as default
|
|
28
28
|
};
|
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,5 +1,5 @@
|
|
|
1
|
-
import { n as r } from "../chunks/_plugin-vue2_normalizer.
|
|
2
|
-
const
|
|
1
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
2
|
+
const l = {
|
|
3
3
|
name: "IframeWindow",
|
|
4
4
|
props: {
|
|
5
5
|
title: {
|
|
@@ -13,14 +13,14 @@ const n = {
|
|
|
13
13
|
visible: Boolean
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
|
-
var
|
|
16
|
+
var n = function() {
|
|
17
17
|
var e = this, t = e._self._c;
|
|
18
18
|
return t("ElementDialog", e._g(e._b({ attrs: { "custom-class": "iframe-window", embed: "", height: "60vh", title: e.title, "show-full-screen": "", visible: e.visible }, scopedSlots: e._u([{ key: "default", fn: function() {
|
|
19
19
|
return [t("iframe", { staticClass: "iframe-window-iframe", attrs: { src: e.url, frameborder: "0" } })];
|
|
20
20
|
}, proxy: !0 }]) }, "ElementDialog", e.$attrs, !1), e.$listeners));
|
|
21
21
|
}, a = [], s = /* @__PURE__ */ r(
|
|
22
|
-
n,
|
|
23
22
|
l,
|
|
23
|
+
n,
|
|
24
24
|
a,
|
|
25
25
|
!1,
|
|
26
26
|
null,
|
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 = (t, e, o) => e in t ? p(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
c.call(e, o) && a(t, o, e[o]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { B as u } from "../chunks/util.
|
|
12
|
+
import { B as u } from "../chunks/util.y1gUGRqi.mjs";
|
|
13
13
|
import { VueCropper as f } from "vue-cropper";
|
|
14
14
|
import m from "vue";
|
|
15
|
-
import { n as d } from "../chunks/_plugin-vue2_normalizer.
|
|
15
|
+
import { n as d } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
16
16
|
const n = {
|
|
17
17
|
name: "ImageCropper",
|
|
18
18
|
components: {
|
|
@@ -108,17 +108,17 @@ var g = function() {
|
|
|
108
108
|
} } }), o("ElButton", { attrs: { size: "mini", type: "danger", icon: "el-icon-zoom-out" }, on: { click: function(i) {
|
|
109
109
|
return e.changeScale(-1);
|
|
110
110
|
} } }), o("ElButton", { attrs: { size: "mini", icon: "el-icon-back", type: "danger" }, on: { click: e.rotateLeft } }), o("ElButton", { attrs: { size: "mini", type: "danger", icon: "el-icon-right" }, on: { click: e.rotateRight } })], 1)]), o("div", { staticClass: "show-preview" }, [o("div", { staticClass: "preview", style: e.previews.div }, [o("img", { style: e.previews.img, attrs: { src: e.previews.url, alt: "" } })])])])]);
|
|
111
|
-
},
|
|
111
|
+
}, b = [], x = /* @__PURE__ */ d(
|
|
112
112
|
v,
|
|
113
113
|
g,
|
|
114
|
-
|
|
114
|
+
b,
|
|
115
115
|
!1,
|
|
116
116
|
null,
|
|
117
117
|
null,
|
|
118
118
|
null,
|
|
119
119
|
null
|
|
120
120
|
);
|
|
121
|
-
const w =
|
|
121
|
+
const w = x.exports;
|
|
122
122
|
export {
|
|
123
123
|
w as default
|
|
124
124
|
};
|
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
1
|
var m = Object.defineProperty;
|
|
2
2
|
var l = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
3
|
+
var h = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
|
|
4
4
|
var r = (i, e, t) => e in i ? m(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, c = (i, e) => {
|
|
5
5
|
for (var t in e || (e = {}))
|
|
6
|
-
|
|
6
|
+
h.call(e, t) && r(i, t, e[t]);
|
|
7
7
|
if (l)
|
|
8
8
|
for (var t of l(e))
|
|
9
|
-
|
|
9
|
+
v.call(e, t) && r(i, t, e[t]);
|
|
10
10
|
return i;
|
|
11
11
|
};
|
|
12
|
-
import { i as
|
|
12
|
+
import { i as p } from "../chunks/util.y1gUGRqi.mjs";
|
|
13
13
|
import { setPx as u } from "@web-utils/core";
|
|
14
|
-
import
|
|
15
|
-
import { n as f } from "../chunks/_plugin-vue2_normalizer.
|
|
14
|
+
import _ from "vue";
|
|
15
|
+
import { n as f } from "../chunks/_plugin-vue2_normalizer.JwmUNtgn.mjs";
|
|
16
16
|
const o = {
|
|
17
17
|
name: "ImagePreview",
|
|
18
18
|
data() {
|
|
@@ -64,7 +64,7 @@ const o = {
|
|
|
64
64
|
});
|
|
65
65
|
},
|
|
66
66
|
isMediaType(i) {
|
|
67
|
-
return
|
|
67
|
+
return p(i.url, i.type);
|
|
68
68
|
},
|
|
69
69
|
subScale() {
|
|
70
70
|
this.scale !== 0.2 && (this.scale = parseFloat((this.scale - 0.2).toFixed(2)));
|
|
@@ -93,7 +93,7 @@ const o = {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
}, g = (i = [], e = 0, t = {}) => {
|
|
96
|
-
const s =
|
|
96
|
+
const s = _.extend(o), a = {
|
|
97
97
|
datas: i,
|
|
98
98
|
index: e,
|
|
99
99
|
ops: c({
|
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
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}
|