@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/page-index-top/index.mjs
CHANGED
|
@@ -15,7 +15,7 @@ var i = (t, a, e) => new Promise((n, r) => {
|
|
|
15
15
|
u((e = e.apply(t, a)).next());
|
|
16
16
|
});
|
|
17
17
|
import { treeToArray as m, findFirstMatchNode as c } from "@web-utils/core";
|
|
18
|
-
import { n as f } from "../chunks/vueComponentNormalizer.
|
|
18
|
+
import { n as f } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
19
19
|
var d = function() {
|
|
20
20
|
var t = this, a = t.$createElement, e = t._self._c || a;
|
|
21
21
|
return t.menus && t.menus.length ? e("PageSkeleton", {
|
package/page-skeleton/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
1
|
+
import l from "@web-utils/component/page";
|
|
2
2
|
import "@web-utils/component/page/style.css";
|
|
3
|
-
import
|
|
3
|
+
import r from "@web-utils/component/nav-bar";
|
|
4
4
|
import "@web-utils/component/nav-bar/style.css";
|
|
5
5
|
import a from "@web-utils/component/page-header";
|
|
6
6
|
import "@web-utils/component/page-header/style.css";
|
|
7
|
-
import { n as s } from "../chunks/vueComponentNormalizer.
|
|
7
|
+
import { n as s } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
8
8
|
var c = function() {
|
|
9
|
-
var e = this, t = e.$createElement,
|
|
10
|
-
return
|
|
9
|
+
var e = this, t = e.$createElement, n = e._self._c || t;
|
|
10
|
+
return n("Page", {
|
|
11
11
|
staticClass: "page-skeleton"
|
|
12
12
|
}, [e.header ? e._t("header", function() {
|
|
13
|
-
return [e.title ?
|
|
13
|
+
return [e.title ? n("PageHeader", {
|
|
14
14
|
attrs: {
|
|
15
15
|
title: e.title
|
|
16
16
|
}
|
|
17
|
-
}) :
|
|
18
|
-
}) : e._e(),
|
|
17
|
+
}) : n("NavBar")];
|
|
18
|
+
}) : e._e(), n("div", {
|
|
19
19
|
class: ["page-content", {
|
|
20
20
|
"flex-column": e.flexColumn,
|
|
21
21
|
"flex-row": e.flexRow,
|
|
@@ -23,11 +23,11 @@ var c = function() {
|
|
|
23
23
|
}, e.contentClass]
|
|
24
24
|
}, [e._t("default")], 2)], 2);
|
|
25
25
|
}, i = [];
|
|
26
|
-
const
|
|
26
|
+
const _ = {
|
|
27
27
|
name: "PageSkeleton",
|
|
28
28
|
components: {
|
|
29
|
-
Page:
|
|
30
|
-
NavBar:
|
|
29
|
+
Page: l,
|
|
30
|
+
NavBar: r,
|
|
31
31
|
PageHeader: a
|
|
32
32
|
},
|
|
33
33
|
props: {
|
|
@@ -44,24 +44,24 @@ const u = {
|
|
|
44
44
|
default: !0
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
},
|
|
48
|
-
var
|
|
49
|
-
|
|
47
|
+
}, o = {};
|
|
48
|
+
var u = /* @__PURE__ */ s(
|
|
49
|
+
_,
|
|
50
50
|
c,
|
|
51
51
|
i,
|
|
52
52
|
!1,
|
|
53
|
-
|
|
53
|
+
f,
|
|
54
54
|
null,
|
|
55
55
|
null,
|
|
56
56
|
null
|
|
57
57
|
);
|
|
58
|
-
function
|
|
59
|
-
for (let t in
|
|
60
|
-
this[t] =
|
|
58
|
+
function f(e) {
|
|
59
|
+
for (let t in o)
|
|
60
|
+
this[t] = o[t];
|
|
61
61
|
}
|
|
62
|
-
const
|
|
63
|
-
return
|
|
62
|
+
const P = /* @__PURE__ */ function() {
|
|
63
|
+
return u.exports;
|
|
64
64
|
}();
|
|
65
65
|
export {
|
|
66
|
-
|
|
66
|
+
P as default
|
|
67
67
|
};
|
package/page-skeleton/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.page-skeleton .page-content{flex:auto;width:100%;height:100%;position:relative}.page-skeleton .page-content.content-scroll{overflow:auto}.page-skeleton .page-content.flex-column{flex-direction:column;height:0;display:flex}.page-skeleton .page-content.flex-row{display:flex}
|
|
1
|
+
.page-skeleton .page-content{flex:auto;width:100%;height:100%;position:relative}.page-skeleton .page-content.content-scroll{overflow:auto}.page-skeleton .page-content.flex-column{flex-direction:column;height:0;display:flex}.page-skeleton .page-content.flex-row{display:flex}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as a } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { n as a } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
2
|
var s = function() {
|
|
3
3
|
var e = this, l = e.$createElement, t = e._self._c || l;
|
|
4
4
|
return t("Page", {
|
|
@@ -90,9 +90,9 @@ function c(e) {
|
|
|
90
90
|
for (let l in n)
|
|
91
91
|
this[l] = n[l];
|
|
92
92
|
}
|
|
93
|
-
const
|
|
93
|
+
const _ = /* @__PURE__ */ function() {
|
|
94
94
|
return o.exports;
|
|
95
95
|
}();
|
|
96
96
|
export {
|
|
97
|
-
|
|
97
|
+
_ as default
|
|
98
98
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.page-skeleton-new .page-skeleton-new-header{border-bottom:2px solid #eee;flex-direction:row;height:40px;margin:0 10px;line-height:40px;display:flex}.page-skeleton-new .page-skeleton-new-header .align-end{justify-content:flex-end}.page-skeleton-new .page-skeleton-new-left{flex-direction:column;display:flex}.page-skeleton-new .page-skeleton-new-right{flex-direction:column;flex:auto;display:flex}.page-skeleton-new .page-skeleton-new-page-content{flex:auto;width:100%;height:100%;position:relative}.page-skeleton-new .page-skeleton-new-page-content.content-scroll{overflow:auto}.page-skeleton-new .page-skeleton-new-page-content.flex-column{flex-direction:column;display:flex}.page-skeleton-new .page-skeleton-new-page-content.flex-row{display:flex}
|
|
1
|
+
.page-skeleton-new .page-skeleton-new-header{border-bottom:2px solid #eee;flex-direction:row;height:40px;margin:0 10px;line-height:40px;display:flex}.page-skeleton-new .page-skeleton-new-header .align-end{justify-content:flex-end}.page-skeleton-new .page-skeleton-new-left{flex-direction:column;display:flex}.page-skeleton-new .page-skeleton-new-right{flex-direction:column;flex:auto;display:flex}.page-skeleton-new .page-skeleton-new-page-content{flex:auto;width:100%;height:100%;position:relative}.page-skeleton-new .page-skeleton-new-page-content.content-scroll{overflow:auto}.page-skeleton-new .page-skeleton-new-page-content.flex-column{flex-direction:column;display:flex}.page-skeleton-new .page-skeleton-new-page-content.flex-row{display:flex}
|
package/pageable-table/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
1
|
+
var v = Object.defineProperty, $ = Object.defineProperties;
|
|
2
2
|
var w = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var p = Object.getOwnPropertySymbols;
|
|
4
4
|
var f = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var g = (e, a, t) => a in e ?
|
|
5
|
+
var g = (e, a, t) => a in e ? v(e, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[a] = t, c = (e, a) => {
|
|
6
6
|
for (var t in a || (a = {}))
|
|
7
7
|
f.call(a, t) && g(e, t, a[t]);
|
|
8
8
|
if (p)
|
|
9
9
|
for (var t of p(a))
|
|
10
10
|
b.call(a, t) && g(e, t, a[t]);
|
|
11
11
|
return e;
|
|
12
|
-
}, m = (e, a) =>
|
|
12
|
+
}, m = (e, a) => $(e, w(a));
|
|
13
13
|
var y = (e, a) => {
|
|
14
14
|
var t = {};
|
|
15
15
|
for (var s in e)
|
|
@@ -36,9 +36,9 @@ var h = (e, a, t) => new Promise((s, l) => {
|
|
|
36
36
|
i((t = t.apply(e, a)).next());
|
|
37
37
|
});
|
|
38
38
|
import { hasOwn as C } from "@web-utils/core";
|
|
39
|
-
import { cloneDeep as
|
|
40
|
-
import { f as
|
|
41
|
-
import { n as
|
|
39
|
+
import { cloneDeep as _, merge as k } from "@web-utils/integrations/lodash";
|
|
40
|
+
import { f as S, h as x, i as P } from "../chunks/index.57f871af.mjs";
|
|
41
|
+
import { n as B } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
42
42
|
var E = function() {
|
|
43
43
|
var e = this, a = e.$createElement, t = e._self._c || a;
|
|
44
44
|
return t("div", {
|
|
@@ -262,7 +262,7 @@ const o = {
|
|
|
262
262
|
let e = { rules: [] };
|
|
263
263
|
this.rules && this.rules.length > 0 && (e.rules = this.rules), this.filters && (e = this.filters), this.filter && (e = Object.assign({}, e, this.filter));
|
|
264
264
|
let a = {};
|
|
265
|
-
this.model && (a =
|
|
265
|
+
this.model && (a = _(this.model));
|
|
266
266
|
const t = this.pageSize;
|
|
267
267
|
return {
|
|
268
268
|
TABLE_STATUS: Object.freeze(o),
|
|
@@ -307,7 +307,7 @@ const o = {
|
|
|
307
307
|
},
|
|
308
308
|
headers() {
|
|
309
309
|
var e;
|
|
310
|
-
return ((e = this.columns) == null ? void 0 : e.map(
|
|
310
|
+
return ((e = this.columns) == null ? void 0 : e.map(S)) || [];
|
|
311
311
|
}
|
|
312
312
|
},
|
|
313
313
|
watch: {
|
|
@@ -350,15 +350,12 @@ const o = {
|
|
|
350
350
|
});
|
|
351
351
|
},
|
|
352
352
|
filterTableProperties: x,
|
|
353
|
-
filterTableEvents:
|
|
354
|
-
filterTableColumnProperties:
|
|
353
|
+
filterTableEvents: P,
|
|
354
|
+
filterTableColumnProperties: S,
|
|
355
355
|
onTableScroll() {
|
|
356
356
|
this.tableScrollTop = this.$refs.table.bodyWrapper.scrollTop, this.tableScrollLeft = this.$refs.table.bodyWrapper.scrollLeft;
|
|
357
357
|
},
|
|
358
|
-
onSortChange({
|
|
359
|
-
prop: e,
|
|
360
|
-
order: a
|
|
361
|
-
}) {
|
|
358
|
+
onSortChange({ prop: e, order: a }) {
|
|
362
359
|
this.page.ascs = a === "ascending" ? e : "", this.page.descs = a === "descending" ? e : "";
|
|
363
360
|
},
|
|
364
361
|
onCurrentChange(e) {
|
|
@@ -378,7 +375,7 @@ const o = {
|
|
|
378
375
|
this.$set(this.page.model, e, a);
|
|
379
376
|
},
|
|
380
377
|
setModel(e) {
|
|
381
|
-
this.page.page = 1, this.page.model =
|
|
378
|
+
this.page.page = 1, this.page.model = _(e);
|
|
382
379
|
},
|
|
383
380
|
deleteModelField(e) {
|
|
384
381
|
delete this.page.model[e];
|
|
@@ -387,17 +384,15 @@ const o = {
|
|
|
387
384
|
const a = this.page.filters.rules, t = a.findIndex((s) => s.field === e);
|
|
388
385
|
t > -1 && a.splice(t, 1);
|
|
389
386
|
},
|
|
390
|
-
addFilter({
|
|
391
|
-
field: e,
|
|
392
|
-
op: a,
|
|
393
|
-
value: t
|
|
394
|
-
}) {
|
|
387
|
+
addFilter({ field: e, op: a, value: t }) {
|
|
395
388
|
this.page.filters = Object.assign({}, this.page.filters, {
|
|
396
|
-
rules: [
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
389
|
+
rules: [
|
|
390
|
+
{
|
|
391
|
+
field: e,
|
|
392
|
+
op: a,
|
|
393
|
+
value: t
|
|
394
|
+
}
|
|
395
|
+
],
|
|
401
396
|
op: "and"
|
|
402
397
|
});
|
|
403
398
|
},
|
|
@@ -456,7 +451,7 @@ const o = {
|
|
|
456
451
|
}
|
|
457
452
|
}
|
|
458
453
|
}, T = {};
|
|
459
|
-
var O = /* @__PURE__ */
|
|
454
|
+
var O = /* @__PURE__ */ B(
|
|
460
455
|
R,
|
|
461
456
|
E,
|
|
462
457
|
A,
|
package/pageable-table/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.pageable-table{flex:auto;height:100%;position:relative}.pageable-table .single-select-column .el-radio__label{padding:0}.pageable-table.auto-height{height:auto;position:static}.pageable-table.auto-height .el-table{min-height:200px;position:static}.pageable-table.auto-height .pageable-table-wrapper{position:static}.pageable-table .pageable-table-wrapper{flex-direction:column;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.pageable-table .el-pagination{background-color:#fff}.pageable-table .table-status-icon{font-size:20px}.pageable-table .pageable-table-loading{align-items:center;display:inline-flex}.pageable-table .pageable-table-error{color:red;border:1px solid #fca4a4;align-items:center;display:inline-flex}.pageable-table .pageable-table-error:hover{background-color:#fff0f0}.pageable-table .pageable-table-total{padding:0 10px 10px}.pageable-table .underline{position:relative}.pageable-table .underline:after{z-index:1;content:"";background-color:#606266;width:100%;height:1px;position:absolute;bottom:0;left:0}.pageable-table .total{padding:10px}
|
|
1
|
+
.pageable-table{flex:auto;height:100%;position:relative}.pageable-table .single-select-column .el-radio__label{padding:0}.pageable-table.auto-height{height:auto;position:static}.pageable-table.auto-height .el-table{min-height:200px;position:static}.pageable-table.auto-height .pageable-table-wrapper{position:static}.pageable-table .pageable-table-wrapper{flex-direction:column;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.pageable-table .el-pagination{background-color:#fff}.pageable-table .table-status-icon{font-size:20px}.pageable-table .pageable-table-loading{align-items:center;display:inline-flex}.pageable-table .pageable-table-error{color:red;border:1px solid #fca4a4;align-items:center;display:inline-flex}.pageable-table .pageable-table-error:hover{background-color:#fff0f0}.pageable-table .pageable-table-total{padding:0 10px 10px}.pageable-table .underline{position:relative}.pageable-table .underline:after{z-index:1;content:"";background-color:#606266;width:100%;height:1px;position:absolute;bottom:0;left:0}.pageable-table .total{padding:10px}
|
package/pageable-view/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
1
|
+
var $ = Object.defineProperty, T = Object.defineProperties;
|
|
2
2
|
var w = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var d = Object.getOwnPropertySymbols;
|
|
4
4
|
var f = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var u = (e, t, s) => t in e ?
|
|
5
|
+
var u = (e, t, s) => t in e ? $(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, p = (e, t) => {
|
|
6
6
|
for (var s in t || (t = {}))
|
|
7
7
|
f.call(t, s) && u(e, s, t[s]);
|
|
8
8
|
if (d)
|
|
@@ -12,33 +12,33 @@ var u = (e, t, s) => t in e ? _(e, t, { enumerable: !0, configurable: !0, writab
|
|
|
12
12
|
}, b = (e, t) => T(e, w(t));
|
|
13
13
|
var y = (e, t) => {
|
|
14
14
|
var s = {};
|
|
15
|
-
for (var
|
|
16
|
-
f.call(e,
|
|
15
|
+
for (var l in e)
|
|
16
|
+
f.call(e, l) && t.indexOf(l) < 0 && (s[l] = e[l]);
|
|
17
17
|
if (e != null && d)
|
|
18
|
-
for (var
|
|
19
|
-
t.indexOf(
|
|
18
|
+
for (var l of d(e))
|
|
19
|
+
t.indexOf(l) < 0 && m.call(e, l) && (s[l] = e[l]);
|
|
20
20
|
return s;
|
|
21
21
|
};
|
|
22
|
-
var h = (e, t, s) => new Promise((
|
|
23
|
-
var g = (
|
|
22
|
+
var h = (e, t, s) => new Promise((l, r) => {
|
|
23
|
+
var g = (i) => {
|
|
24
24
|
try {
|
|
25
|
-
a(s.next(
|
|
25
|
+
a(s.next(i));
|
|
26
26
|
} catch (n) {
|
|
27
27
|
r(n);
|
|
28
28
|
}
|
|
29
|
-
}, o = (
|
|
29
|
+
}, o = (i) => {
|
|
30
30
|
try {
|
|
31
|
-
a(s.throw(
|
|
31
|
+
a(s.throw(i));
|
|
32
32
|
} catch (n) {
|
|
33
33
|
r(n);
|
|
34
34
|
}
|
|
35
|
-
}, a = (
|
|
35
|
+
}, a = (i) => i.done ? l(i.value) : Promise.resolve(i.value).then(g, o);
|
|
36
36
|
a((s = s.apply(e, t)).next());
|
|
37
37
|
});
|
|
38
38
|
import { cloneDeep as S, merge as P } from "@web-utils/integrations/lodash";
|
|
39
39
|
import { copy as x, hasOwn as C } from "@web-utils/core";
|
|
40
|
-
import { f as v, h as O, i as E } from "../chunks/index.
|
|
41
|
-
import { n as M } from "../chunks/vueComponentNormalizer.
|
|
40
|
+
import { f as v, h as O, i as E } from "../chunks/index.57f871af.mjs";
|
|
41
|
+
import { n as M } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
42
42
|
var R = function() {
|
|
43
43
|
var e = this, t = e.$createElement, s = e._self._c || t;
|
|
44
44
|
return s("div", {
|
|
@@ -69,9 +69,9 @@ var R = function() {
|
|
|
69
69
|
staticClass: "scroll-wrapper"
|
|
70
70
|
}, [s("div", {
|
|
71
71
|
staticClass: "cards-block"
|
|
72
|
-
}, [e._t("prepend"), e._l(e.records, function(
|
|
72
|
+
}, [e._t("prepend"), e._l(e.records, function(l) {
|
|
73
73
|
return [e._t("default", null, {
|
|
74
|
-
item:
|
|
74
|
+
item: l
|
|
75
75
|
})];
|
|
76
76
|
}), e._t("append")], 2)])]), s("ElPagination", {
|
|
77
77
|
staticClass: "flex-not-shrink",
|
|
@@ -87,8 +87,8 @@ var R = function() {
|
|
|
87
87
|
layout: "total, prev, pager, next, jumper"
|
|
88
88
|
},
|
|
89
89
|
on: {
|
|
90
|
-
"current-change": function(
|
|
91
|
-
e.page.page =
|
|
90
|
+
"current-change": function(l) {
|
|
91
|
+
e.page.page = l;
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
})], 1)]);
|
|
@@ -255,10 +255,7 @@ const c = {
|
|
|
255
255
|
this.tableScrollTop = this.$refs.scroller.scrollTop, this.tableScrollLeft = this.$refs.scroller.scrollLeft;
|
|
256
256
|
},
|
|
257
257
|
copy: (e) => x(k(e)),
|
|
258
|
-
onSortChange({
|
|
259
|
-
prop: e,
|
|
260
|
-
order: t
|
|
261
|
-
}) {
|
|
258
|
+
onSortChange({ prop: e, order: t }) {
|
|
262
259
|
this.page.ascs = t === "ascending" ? e : "", this.page.descs = t === "descending" ? e : "";
|
|
263
260
|
},
|
|
264
261
|
onCurrentChange(e) {
|
|
@@ -284,20 +281,18 @@ const c = {
|
|
|
284
281
|
delete this.page.model[e];
|
|
285
282
|
},
|
|
286
283
|
removeRule(e) {
|
|
287
|
-
const t = this.page.filters.rules, s = t.findIndex((
|
|
284
|
+
const t = this.page.filters.rules, s = t.findIndex((l) => l.field === e);
|
|
288
285
|
s > -1 && t.splice(s, 1);
|
|
289
286
|
},
|
|
290
|
-
addFilter({
|
|
291
|
-
field: e,
|
|
292
|
-
op: t,
|
|
293
|
-
value: s
|
|
294
|
-
}) {
|
|
287
|
+
addFilter({ field: e, op: t, value: s }) {
|
|
295
288
|
this.page.filters = Object.assign({}, this.page.filters, {
|
|
296
|
-
rules: [
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
289
|
+
rules: [
|
|
290
|
+
{
|
|
291
|
+
field: e,
|
|
292
|
+
op: t,
|
|
293
|
+
value: s
|
|
294
|
+
}
|
|
295
|
+
],
|
|
301
296
|
op: "and"
|
|
302
297
|
});
|
|
303
298
|
},
|
|
@@ -312,18 +307,18 @@ const c = {
|
|
|
312
307
|
},
|
|
313
308
|
getPage() {
|
|
314
309
|
return h(this, null, function* () {
|
|
315
|
-
var
|
|
310
|
+
var i;
|
|
316
311
|
if (C(this.$attrs, "data")) {
|
|
317
312
|
this.records = this.$attrs.data, this.page.page = 1, this.page.total = this.records.length, this.page.limit = this.page.total;
|
|
318
313
|
return;
|
|
319
314
|
}
|
|
320
315
|
this.records = [];
|
|
321
316
|
let e;
|
|
322
|
-
const a = this.page, { filters: t } = a, s = y(a, ["filters"]),
|
|
323
|
-
if ((
|
|
317
|
+
const a = this.page, { filters: t } = a, s = y(a, ["filters"]), l = p({}, s);
|
|
318
|
+
if ((i = t == null ? void 0 : t.rules) != null && i.length && (l.filters = { rules: t.rules }), this.api || this.url) {
|
|
324
319
|
this.tableStatus = c.loading;
|
|
325
320
|
try {
|
|
326
|
-
this.loading = !0, this.api && (e = yield this.api(
|
|
321
|
+
this.loading = !0, this.api && (e = yield this.api(l)), this.url && (e = yield this.method(this.url, l)), this.loading = !1;
|
|
327
322
|
} catch (n) {
|
|
328
323
|
this.tableStatus = c.error, console.error(n), this.loading = !1;
|
|
329
324
|
return;
|
|
@@ -355,7 +350,7 @@ const c = {
|
|
|
355
350
|
e && (this.$refs.scroller.scrollTop = e), t && (this.$refs.scroller.scrollLeft = t);
|
|
356
351
|
}
|
|
357
352
|
}
|
|
358
|
-
},
|
|
353
|
+
}, _ = {};
|
|
359
354
|
var L = /* @__PURE__ */ M(
|
|
360
355
|
F,
|
|
361
356
|
R,
|
|
@@ -367,12 +362,12 @@ var L = /* @__PURE__ */ M(
|
|
|
367
362
|
null
|
|
368
363
|
);
|
|
369
364
|
function A(e) {
|
|
370
|
-
for (let t in
|
|
371
|
-
this[t] =
|
|
365
|
+
for (let t in _)
|
|
366
|
+
this[t] = _[t];
|
|
372
367
|
}
|
|
373
|
-
const
|
|
368
|
+
const N = /* @__PURE__ */ function() {
|
|
374
369
|
return L.exports;
|
|
375
370
|
}();
|
|
376
371
|
export {
|
|
377
|
-
|
|
372
|
+
N as default
|
|
378
373
|
};
|
package/pageable-view/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.pageable-table{flex:auto;height:100%;position:relative}.pageable-table.auto-height{height:auto;position:static}.pageable-table.auto-height .el-table{min-height:200px;position:static}.pageable-table.auto-height .pageable-table-wrapper{position:static}.pageable-table .pageable-table-wrapper{flex-direction:column;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.pageable-table .el-pagination{background-color:#fff}.pageable-table .table-status-icon{font-size:20px}.pageable-table .pageable-table-loading{align-items:center;display:inline-flex}.pageable-table .pageable-table-error{color:red;border:1px solid #fca4a4;align-items:center;display:inline-flex}.pageable-table .pageable-table-error:hover{background-color:#fff0f0}.pageable-table .pageable-table-total{padding:0 10px 10px}.pageable-table .underline{position:relative}.pageable-table .underline:after{z-index:1;content:"";background-color:#606266;width:100%;height:1px;position:absolute;bottom:0;left:0}.pageable-table .total{padding:10px}
|
|
1
|
+
.pageable-table{flex:auto;height:100%;position:relative}.pageable-table.auto-height{height:auto;position:static}.pageable-table.auto-height .el-table{min-height:200px;position:static}.pageable-table.auto-height .pageable-table-wrapper{position:static}.pageable-table .pageable-table-wrapper{flex-direction:column;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}.pageable-table .el-pagination{background-color:#fff}.pageable-table .table-status-icon{font-size:20px}.pageable-table .pageable-table-loading{align-items:center;display:inline-flex}.pageable-table .pageable-table-error{color:red;border:1px solid #fca4a4;align-items:center;display:inline-flex}.pageable-table .pageable-table-error:hover{background-color:#fff0f0}.pageable-table .pageable-table-total{padding:0 10px 10px}.pageable-table .underline{position:relative}.pageable-table .underline:after{z-index:1;content:"";background-color:#606266;width:100%;height:1px;position:absolute;bottom:0;left:0}.pageable-table .total{padding:10px}
|
package/photo-swipe/index.mjs
CHANGED
|
@@ -16,7 +16,7 @@ var u = (t, a, e) => new Promise((h, n) => {
|
|
|
16
16
|
});
|
|
17
17
|
import d from "photoswipe";
|
|
18
18
|
import "photoswipe/dist/photoswipe.css";
|
|
19
|
-
import { n as w } from "../chunks/vueComponentNormalizer.
|
|
19
|
+
import { n as w } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
20
20
|
function f(t) {
|
|
21
21
|
new d(t).init();
|
|
22
22
|
}
|
|
@@ -25,7 +25,9 @@ function l(h, n) {
|
|
|
25
25
|
const r = t.target;
|
|
26
26
|
if (!(!r || r.classList.contains(e.selector) || r.tagName === "IMG"))
|
|
27
27
|
return;
|
|
28
|
-
const i = a.querySelectorAll(
|
|
28
|
+
const i = a.querySelectorAll(
|
|
29
|
+
e.selector === "img" ? e.selector : `.${e.selector}`
|
|
30
|
+
), s = [...i].findIndex((o) => o === r);
|
|
29
31
|
s >= 0 && (e.index = s);
|
|
30
32
|
const c = yield m(i);
|
|
31
33
|
yield f({ dataSource: c, index: s });
|
package/present-view/index.mjs
CHANGED
|
@@ -14,11 +14,11 @@ var c = (t, e, o) => new Promise((r, s) => {
|
|
|
14
14
|
}, a = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(n, l);
|
|
15
15
|
a((o = o.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { hasOwn as d, toStringArray as p, delay as v, isInContainer as
|
|
18
|
-
import { merge as
|
|
19
|
-
import
|
|
17
|
+
import { hasOwn as d, toStringArray as p, delay as v, isInContainer as _ } from "@web-utils/core";
|
|
18
|
+
import { merge as w } from "@web-utils/integrations/lodash";
|
|
19
|
+
import y from "@web-utils/component/resize-observer";
|
|
20
20
|
import "@web-utils/component/resize-observer/style.css";
|
|
21
|
-
import { n as g } from "../chunks/vueComponentNormalizer.
|
|
21
|
+
import { n as g } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
22
22
|
var x = function() {
|
|
23
23
|
var t = this, e = t.$createElement, o = t._self._c || e;
|
|
24
24
|
return o("div", {
|
|
@@ -211,7 +211,27 @@ var x = function() {
|
|
|
211
211
|
}
|
|
212
212
|
}) : t._e()], 1);
|
|
213
213
|
}, $ = [];
|
|
214
|
-
const b = [
|
|
214
|
+
const b = [
|
|
215
|
+
"back",
|
|
216
|
+
"create",
|
|
217
|
+
"save",
|
|
218
|
+
"withdraw",
|
|
219
|
+
"edit",
|
|
220
|
+
"submit",
|
|
221
|
+
"publish",
|
|
222
|
+
"agree",
|
|
223
|
+
"disagree",
|
|
224
|
+
"reject",
|
|
225
|
+
"finish",
|
|
226
|
+
"cancel",
|
|
227
|
+
"enable",
|
|
228
|
+
"exp",
|
|
229
|
+
"imp",
|
|
230
|
+
"del",
|
|
231
|
+
"disabled",
|
|
232
|
+
"reload",
|
|
233
|
+
"slot"
|
|
234
|
+
], S = b.map((t) => `${t}-down`), F = ["back", "withdraw", "edit"], m = ["save", "submit", "", "publish", "agree", "disagree", "reject", "finish", "cancel"], u = (t, e) => {
|
|
215
235
|
if (t.classList.contains(e))
|
|
216
236
|
return t;
|
|
217
237
|
let o = t.parentNode;
|
|
@@ -221,7 +241,7 @@ const b = ["back", "create", "save", "withdraw", "edit", "submit", "publish", "a
|
|
|
221
241
|
}, k = {
|
|
222
242
|
name: "PresentView",
|
|
223
243
|
components: {
|
|
224
|
-
ResizeObserver:
|
|
244
|
+
ResizeObserver: y
|
|
225
245
|
},
|
|
226
246
|
inject: {
|
|
227
247
|
flowContext: {
|
|
@@ -268,7 +288,7 @@ const b = ["back", "create", "save", "withdraw", "edit", "submit", "publish", "a
|
|
|
268
288
|
},
|
|
269
289
|
toolbarProps() {
|
|
270
290
|
var r;
|
|
271
|
-
const t = {}, e = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, o =
|
|
291
|
+
const t = {}, e = ((r = this.toolbarAttrs) == null ? void 0 : r.buttons) || this.$parent.buttons, o = w({}, this.toolbarAttrs, t);
|
|
272
292
|
return o.buttons = e || ["back"], o.buttons = p(o.buttons), o;
|
|
273
293
|
}
|
|
274
294
|
},
|
|
@@ -321,7 +341,7 @@ const b = ["back", "create", "save", "withdraw", "edit", "submit", "publish", "a
|
|
|
321
341
|
return c(this, null, function* () {
|
|
322
342
|
if (this.showNav) {
|
|
323
343
|
for (let t = 0; t < this.tabs.length; t++)
|
|
324
|
-
if (
|
|
344
|
+
if (_(this.tabs[t].$el, this.$refs.formScroller, { bottomOffset: 10 })) {
|
|
325
345
|
this.activeIndex = t;
|
|
326
346
|
break;
|
|
327
347
|
}
|
|
@@ -338,7 +358,9 @@ const b = ["back", "create", "save", "withdraw", "edit", "submit", "publish", "a
|
|
|
338
358
|
return t.filter((e) => !m.includes(e) && e.indexOf(":down") < 0).map((e) => e.replace(":up", ""));
|
|
339
359
|
},
|
|
340
360
|
getFooterBarButtons(t) {
|
|
341
|
-
let e = t.filter(
|
|
361
|
+
let e = t.filter(
|
|
362
|
+
(o) => !F.includes(o) && (m.includes(o) || o.indexOf(":down") > -1)
|
|
363
|
+
).map((o) => o.replace(":down", ""));
|
|
342
364
|
return e = e || [], this.$parent.isEnabled && !e.includes("cancel") && e.push("cancel"), e;
|
|
343
365
|
}
|
|
344
366
|
}
|
package/present-view/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.form-view{flex-direction:column;height:100%;display:flex}.form-view .form-scroller-wrapper{flex:1;position:relative}.form-view .not-form{margin:0 auto}.form-view .form-view-toolbar{overflow:hidden}.form-view .form-scroller{flex:1;overflow:auto}.form-view .form-scroller .el-row{position:static}.form-view .form-content .el-form .el-row{padding-right:2rem}.form-view .form-content .el-form .el-row .el-row{padding-right:0}.form-view .form-card{color:#303133;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;max-width:1000px;margin:14px auto;padding:20px;transition:all .3s;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-card.un-limit{max-width:100%}.form-view .form-nav{background-color:#fff;position:absolute;top:55px;left:20px;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-nav-list{min-width:180px;padding:10px 20px}.form-view .form-nav-header{color:#e34e55;background-color:#f3f5fb;padding:5px 20px;font-size:15px;font-weight:700;position:relative}.form-view .form-nav-item{cursor:pointer;padding:5px 0;position:relative;font-family:element-icons!important}.form-view .form-nav-item.active,.form-view .form-nav-item:hover{color:#e34e55;font-weight:700}.form-view .form-nav-item.active:before{content:"";position:absolute;left:-14px}.form-view .form-view-title{color:#333;text-align:center;background-color:#fff;width:100%;height:36px;margin-top:-10px;margin-bottom:10px;font-size:22px;line-height:36px}.form-view .tip{background-color:#ecf8ff;border-left:5px solid #50bfff;border-radius:4px;margin:20px 0;padding:8px 16px}.form-view .tip p{color:#5e6d82;font-size:14px;line-height:1.5em}.form-view .tip.danger{background-color:#fde2e2;border-left-color:#f56c6c}.form-view .tip.danger p{color:#564646}.form-view .tip.warning{background-color:#f7efe2;border-left-color:#e6a23c}.form-view .tip.warning p{color:#5d564b}.form-view .select-num{color:#898989;font-size:12px}.form-view .select-num .num{font-family:impact,Constantia,Georgia;font-size:19px}.form-view .el-table .el-table__header th{color:#595959;background:#fff;font-weight:400}.form-view .el-table td{padding:4px 0}
|
|
1
|
+
.form-view{flex-direction:column;height:100%;display:flex}.form-view .form-scroller-wrapper{flex:1;position:relative}.form-view .not-form{margin:0 auto}.form-view .form-view-toolbar{overflow:hidden}.form-view .form-scroller{flex:1;overflow:auto}.form-view .form-scroller .el-row{position:static}.form-view .form-content .el-form .el-row{padding-right:2rem}.form-view .form-content .el-form .el-row .el-row{padding-right:0}.form-view .form-card{color:#303133;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;max-width:1000px;margin:14px auto;padding:20px;transition:all .3s;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-card.un-limit{max-width:100%}.form-view .form-nav{background-color:#fff;position:absolute;top:55px;left:20px;box-shadow:0 2px 12px rgba(0,0,0,.1)}.form-view .form-nav-list{min-width:180px;padding:10px 20px}.form-view .form-nav-header{color:#e34e55;background-color:#f3f5fb;padding:5px 20px;font-size:15px;font-weight:700;position:relative}.form-view .form-nav-item{cursor:pointer;padding:5px 0;position:relative;font-family:element-icons!important}.form-view .form-nav-item.active,.form-view .form-nav-item:hover{color:#e34e55;font-weight:700}.form-view .form-nav-item.active:before{content:"";position:absolute;left:-14px}.form-view .form-view-title{color:#333;text-align:center;background-color:#fff;width:100%;height:36px;margin-top:-10px;margin-bottom:10px;font-size:22px;line-height:36px}.form-view .tip{background-color:#ecf8ff;border-left:5px solid #50bfff;border-radius:4px;margin:20px 0;padding:8px 16px}.form-view .tip p{color:#5e6d82;font-size:14px;line-height:1.5em}.form-view .tip.danger{background-color:#fde2e2;border-left-color:#f56c6c}.form-view .tip.danger p{color:#564646}.form-view .tip.warning{background-color:#f7efe2;border-left-color:#e6a23c}.form-view .tip.warning p{color:#5d564b}.form-view .select-num{color:#898989;font-size:12px}.form-view .select-num .num{font-family:impact,Constantia,Georgia;font-size:19px}.form-view .el-table .el-table__header th{color:#595959;background:#fff;font-weight:400}.form-view .el-table td{padding:4px 0}
|
package/queue/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
var
|
|
1
|
+
import { n as s } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
|
+
var o = function() {
|
|
3
3
|
var e = this, t = e.$createElement, n = e._self._c || t;
|
|
4
4
|
return n("div", {
|
|
5
5
|
class: ["avue-queue", {
|
|
@@ -49,9 +49,9 @@ const l = {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}, a = {};
|
|
52
|
-
var u = /* @__PURE__ */
|
|
52
|
+
var u = /* @__PURE__ */ s(
|
|
53
53
|
l,
|
|
54
|
-
|
|
54
|
+
o,
|
|
55
55
|
i,
|
|
56
56
|
!1,
|
|
57
57
|
c,
|
package/queue/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-queue--block{display:inline-block}
|
|
1
|
+
.avue-queue--block{display:inline-block}
|
package/record-video/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s } from "../chunks/util.
|
|
2
|
-
import { n as o } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { s as r } from "../chunks/util.ae730cde.mjs";
|
|
2
|
+
import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
3
3
|
let n = class {
|
|
4
4
|
/**
|
|
5
5
|
* 构造函数
|
|
@@ -20,15 +20,15 @@ let n = class {
|
|
|
20
20
|
audio: !0,
|
|
21
21
|
video: !0
|
|
22
22
|
// video: { width: this.videoWidth, height: this.videoHeight }
|
|
23
|
-
}).then((
|
|
24
|
-
this.video && ("srcObject" in this.video ? this.video.srcObject =
|
|
23
|
+
}).then((s) => {
|
|
24
|
+
this.video && ("srcObject" in this.video ? this.video.srcObject = s : this.video.src = window.URL.createObjectURL(s), this.video.addEventListener("loadmetadata", () => {
|
|
25
25
|
var d;
|
|
26
26
|
(d = this.video) == null || d.play();
|
|
27
|
-
}), this.mediaRecorder = new MediaRecorder(
|
|
27
|
+
}), this.mediaRecorder = new MediaRecorder(s), this.mediaRecorder.addEventListener("dataavailable", (d) => {
|
|
28
28
|
this.chunks.push(d.data);
|
|
29
29
|
}), e(!0));
|
|
30
|
-
}).catch((
|
|
31
|
-
i(
|
|
30
|
+
}).catch((s) => {
|
|
31
|
+
i(s);
|
|
32
32
|
});
|
|
33
33
|
});
|
|
34
34
|
}
|
|
@@ -109,19 +109,19 @@ const l = {
|
|
|
109
109
|
computed: {
|
|
110
110
|
styleName() {
|
|
111
111
|
return {
|
|
112
|
-
width:
|
|
112
|
+
width: r(this.width)
|
|
113
113
|
};
|
|
114
114
|
},
|
|
115
115
|
imgStyleName() {
|
|
116
116
|
return {
|
|
117
|
-
width:
|
|
117
|
+
width: r(this.width / 2)
|
|
118
118
|
};
|
|
119
119
|
},
|
|
120
120
|
borderStyleName() {
|
|
121
121
|
return {
|
|
122
|
-
width:
|
|
123
|
-
height:
|
|
124
|
-
borderWidth:
|
|
122
|
+
width: r(this.width / 15),
|
|
123
|
+
height: r(this.width / 15),
|
|
124
|
+
borderWidth: r(5)
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
},
|
|
@@ -156,12 +156,12 @@ var v = /* @__PURE__ */ o(
|
|
|
156
156
|
c,
|
|
157
157
|
h,
|
|
158
158
|
!1,
|
|
159
|
-
|
|
159
|
+
u,
|
|
160
160
|
null,
|
|
161
161
|
null,
|
|
162
162
|
null
|
|
163
163
|
);
|
|
164
|
-
function
|
|
164
|
+
function u(t) {
|
|
165
165
|
for (let e in a)
|
|
166
166
|
this[e] = a[e];
|
|
167
167
|
}
|
package/record-video/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.avue-video{width:500px;position:relative;overflow:hidden}.avue-video__border span{color:#0073eb;border-style:solid;border-width:4px;width:30px;height:30px;position:absolute}.avue-video__border span:first-child{border-bottom:0;border-right:0;top:15px;left:15px}.avue-video__border span:nth-child(2){border-bottom:0;border-left:0;top:15px;right:15px}.avue-video__border span:nth-child(3){border-top:0;border-right:0;bottom:15px;left:15px}.avue-video__border span:nth-child(4){border-top:0;border-left:0;bottom:15px;right:15px}.avue-video__img{width:100px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.avue-video__main{width:100%}
|
|
1
|
+
.avue-video{width:500px;position:relative;overflow:hidden}.avue-video__border span{color:#0073eb;border-style:solid;border-width:4px;width:30px;height:30px;position:absolute}.avue-video__border span:first-child{border-bottom:0;border-right:0;top:15px;left:15px}.avue-video__border span:nth-child(2){border-bottom:0;border-left:0;top:15px;right:15px}.avue-video__border span:nth-child(3){border-top:0;border-right:0;bottom:15px;left:15px}.avue-video__border span:nth-child(4){border-top:0;border-left:0;bottom:15px;right:15px}.avue-video__img{width:100px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.avue-video__main{width:100%}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as o } from "../chunks/index.
|
|
2
|
-
import { n as h } from "../chunks/vueComponentNormalizer.
|
|
1
|
+
import { j as o } from "../chunks/index.57f871af.mjs";
|
|
2
|
+
import { n as h } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
3
3
|
var a = function() {
|
|
4
4
|
var e = this, t = e.$createElement, r = e._self._c || t;
|
|
5
5
|
return r("div", {
|
|
@@ -45,18 +45,18 @@ var d = /* @__PURE__ */ h(
|
|
|
45
45
|
a,
|
|
46
46
|
l,
|
|
47
47
|
!1,
|
|
48
|
-
|
|
48
|
+
_,
|
|
49
49
|
null,
|
|
50
50
|
null,
|
|
51
51
|
null
|
|
52
52
|
);
|
|
53
|
-
function
|
|
53
|
+
function _(e) {
|
|
54
54
|
for (let t in n)
|
|
55
55
|
this[t] = n[t];
|
|
56
56
|
}
|
|
57
|
-
const
|
|
57
|
+
const m = /* @__PURE__ */ function() {
|
|
58
58
|
return d.exports;
|
|
59
59
|
}();
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
m as default
|
|
62
62
|
};
|