@web-utils/component 3.3.15 → 3.3.17
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 -3
- package/affix/index.mjs +4 -6
- package/aside-menu/index.mjs +8 -10
- package/avatar/index.mjs +1 -3
- package/awesome-button/index.mjs +20 -22
- package/capsule-tab/index.mjs +4 -6
- package/card/index.mjs +4 -6
- package/carousel/index.mjs +1 -3
- package/chat/index.mjs +2 -4
- package/chunk-file-uploader/index.mjs +1 -3
- package/chunks/{FormTemp.BO_zCjBT.mjs → FormTemp.D8cHwam4.mjs} +11 -14
- package/chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs +10 -0
- package/chunks/{dataformat.J6EgqBfr.mjs → dataformat.skVZSF57.mjs} +1 -1
- package/chunks/{dic.6ODiMBAw.mjs → dic.28d_-7EJ.mjs} +1 -1
- package/chunks/{event.ChkcZtyR.mjs → event.m1ZDHbkO.mjs} +2 -2
- package/chunks/{init.BbPaCwke.mjs → init.DBM2D2IY.mjs} +2 -2
- package/chunks/json-beautifier.vs8mCOxd.mjs +124 -0
- package/chunks/{util.ThVOTZAO.mjs → util.B_LEdJSZ.mjs} +55 -55
- package/code-mirror-editor/index.mjs +1 -3
- package/color-picker/index.mjs +4 -6
- package/comment/index.mjs +1 -3
- package/confirm-button/index.mjs +5 -7
- package/confirmable/index.mjs +5 -7
- package/context-menu/index.mjs +1 -3
- package/count-up/index.mjs +4 -6
- package/custom-scrollbar/index.mjs +1 -3
- package/data-box/index.mjs +5 -7
- package/data-card/index.mjs +4 -6
- package/data-card-text/index.mjs +49 -0
- package/data-card-text/style.css +1 -0
- package/data-display/index.mjs +6 -8
- package/data-icons/index.mjs +4 -6
- package/data-imgtext/index.mjs +6 -8
- package/data-operatext/index.mjs +3 -5
- package/data-panel/index.mjs +5 -7
- package/data-pay/index.mjs +7 -9
- package/data-price/index.mjs +3 -5
- package/data-progress/index.mjs +1 -3
- package/data-rotate/index.mjs +3 -5
- package/data-table-picker/index.mjs +1 -3
- package/data-tabs/index.mjs +3 -5
- package/dialog-form/index.mjs +2 -4
- package/dynamic-table/index.mjs +1 -3
- package/e-charts/index.mjs +1 -3
- package/easy-popup/index.mjs +7 -9
- package/editable-progress/index.mjs +6 -8
- package/editable-tree/index.mjs +1 -3
- package/egd-collapse/index.mjs +4 -6
- package/egd-collapse-item/index.mjs +1 -3
- package/element-dialog/index.mjs +5 -7
- package/empty-view/index.mjs +3 -5
- package/error-view/index.mjs +3 -5
- package/flex-column/index.mjs +4 -6
- package/flex-item/index.mjs +1 -3
- package/flex-row/index.mjs +4 -6
- package/flex-scroller/index.mjs +6 -8
- package/flow/index.mjs +2 -4
- package/flow-designer/index.mjs +123 -156
- package/flow-node/index.mjs +8 -10
- package/flow-viewer/index.mjs +3 -6
- package/form-button/index.mjs +5 -7
- package/form-cascader/index.mjs +1 -3
- package/form-checkbox-group/index.mjs +4 -6
- package/form-date-picker/index.mjs +1 -3
- package/form-holder/index.mjs +11 -13
- package/form-input/index.mjs +5 -7
- package/form-input-email/index.mjs +6 -8
- package/form-input-id-card/index.mjs +13 -15
- package/form-input-number/index.mjs +5 -7
- package/form-input-phone-number/index.mjs +9 -11
- package/form-input-tag/index.mjs +12 -15
- package/form-input-time/index.mjs +7 -9
- package/form-item-config-provider/index.mjs +4 -6
- package/form-radio-group/index.mjs +22 -24
- package/form-select/index.mjs +17 -19
- package/form-switch/index.mjs +5 -7
- package/form-textarea/index.mjs +1 -3
- package/form-view/index.mjs +3 -6
- package/fy-array/index.mjs +4 -6
- package/fy-article/index.mjs +4 -6
- package/fy-cascader/index.mjs +2 -4
- package/fy-checkbox/index.mjs +12 -14
- package/fy-code/index.mjs +6 -8
- package/fy-curd/index.mjs +8 -35
- package/fy-date/index.mjs +6 -8
- package/fy-draggable/index.mjs +2 -4
- package/fy-dynamic/index.mjs +3 -5
- package/fy-empty/index.mjs +2 -4
- package/fy-form/index.mjs +6 -12
- package/fy-form-design/index.mjs +97 -154
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +5 -7
- package/fy-input-color/index.mjs +9 -11
- package/fy-input-icon/index.mjs +29 -32
- package/fy-input-map/index.mjs +2 -4
- package/fy-input-number/index.mjs +5 -7
- package/fy-input-table/index.mjs +2 -4
- package/fy-input-tree/index.mjs +2 -4
- package/fy-progress/index.mjs +3 -5
- package/fy-radio/index.mjs +4 -6
- package/fy-rate/index.mjs +5 -7
- package/fy-select/index.mjs +4 -6
- package/fy-slider/index.mjs +7 -9
- package/fy-switch/index.mjs +3 -5
- package/fy-tabs/index.mjs +5 -7
- package/fy-time/index.mjs +5 -7
- package/fy-title/index.mjs +5 -7
- package/fy-tree/index.mjs +2 -4
- package/fy-u-editor/index.mjs +2 -4
- package/fy-upload/index.mjs +3 -5
- package/guide-steps/index.mjs +1 -3
- package/highlight-j-s/index.mjs +8 -10
- package/icon-card/index.mjs +4 -6
- package/icon-temp/index.mjs +6 -8
- package/iframe-window/index.mjs +6 -8
- package/image-cropper/index.mjs +5 -7
- package/image-preview/index.mjs +2 -4
- package/image-viewer/index.mjs +4 -6
- package/index.mjs +4 -4
- package/input-number/index.mjs +1 -3
- package/input-number-range/index.mjs +11 -13
- package/keep-view-alive/index.mjs +12 -14
- package/keyboard/index.mjs +1 -3
- package/license/index.mjs +19 -21
- package/loading-view/index.mjs +3 -5
- package/login/index.mjs +2 -4
- package/monaco-editor/index.mjs +2 -4
- package/name-avatar/index.mjs +16 -10
- package/nav-bar/index.mjs +3 -5
- package/not-implement/index.mjs +3 -5
- package/notice/index.mjs +1 -3
- package/package.json +15 -15
- package/page/index.mjs +6 -8
- package/page-header/index.mjs +4 -6
- package/page-index/index.mjs +17 -19
- package/page-index-top/index.mjs +11 -13
- package/page-skeleton/index.mjs +12 -17
- package/page-skeleton-new/index.mjs +1 -3
- package/pageable-table/index.mjs +8 -10
- package/pageable-view/index.mjs +24 -26
- package/photo-swipe/index.mjs +7 -9
- package/present-view/index.mjs +3 -6
- package/queue/index.mjs +4 -6
- package/record-video/index.mjs +4 -6
- package/resize-observer/index.mjs +4 -6
- package/search/index.mjs +6 -8
- package/search-popover/index.mjs +2 -4
- package/sign/index.mjs +2 -4
- package/sign-panel/index.mjs +5 -7
- package/skeleton/index.mjs +5 -7
- package/split-pane/index.mjs +3 -8
- package/stateful/index.mjs +4 -6
- package/static-pageable-table/index.mjs +8 -10
- package/swiper/index.mjs +3 -6
- package/tab/index.mjs +1 -3
- package/tab-item/index.mjs +1 -3
- package/table-column/index.mjs +1 -3
- package/table-view/index.mjs +1 -3
- package/tag-render/index.mjs +16 -18
- package/text-ellipsis/index.mjs +6 -8
- package/tinymce-editor/index.mjs +1 -5
- package/toolbar/index.mjs +2 -3
- package/toolbar-button/index.mjs +8 -10
- package/verify/index.mjs +8 -10
- package/vue-cron/index.mjs +1 -3
- package/vue-qr-code/index.mjs +9 -11
- package/vue-quill-editor/index.mjs +1 -3
- package/vue-tags-input/index.mjs +12 -14
- package/vue-tree-select/index.mjs +1 -27
- package/vue-video-player/index.mjs +1 -3
- package/watermark/index.mjs +14 -16
- package/web-types.json +18 -2
- package/x-input-tag/index.mjs +8 -10
- package/chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs +0 -32
- package/chunks/json-beautifier.CvdU9XNm.mjs +0 -126
- package/data-cardtext/index.mjs +0 -46
- package/data-cardtext/style.css +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@web-utils/component",
|
|
3
3
|
"description": "Web Components",
|
|
4
|
-
"version": "3.3.
|
|
4
|
+
"version": "3.3.17",
|
|
5
5
|
"author": "Simple",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -17,32 +17,32 @@
|
|
|
17
17
|
"@tinymce/tinymce-vue": "3.2.8",
|
|
18
18
|
"@wangeditor/editor": "^5.1.23",
|
|
19
19
|
"@wangeditor/editor-for-vue": "^1.0.2",
|
|
20
|
-
"@web-utils/core": "^3.0.
|
|
21
|
-
"@web-utils/integrations": "^3.0.
|
|
22
|
-
"@web-utils/vue": "^3.0.
|
|
23
|
-
"bpmn-js": "^17.
|
|
24
|
-
"bpmn-js-token-simulation": "^0.
|
|
20
|
+
"@web-utils/core": "^3.0.17",
|
|
21
|
+
"@web-utils/integrations": "^3.0.17",
|
|
22
|
+
"@web-utils/vue": "^3.0.17",
|
|
23
|
+
"bpmn-js": "^17.8.1",
|
|
24
|
+
"bpmn-js-token-simulation": "^0.34.1",
|
|
25
25
|
"codemirror": "^5.65.15",
|
|
26
26
|
"countup.js": "^2.8.0",
|
|
27
|
-
"dayjs": "^1.11.
|
|
28
|
-
"diagram-js": "14.1
|
|
27
|
+
"dayjs": "^1.11.11",
|
|
28
|
+
"diagram-js": "14.7.1",
|
|
29
29
|
"echarts": "^5.5.0",
|
|
30
30
|
"highlight.js": "^11.9.0",
|
|
31
31
|
"lodash-es": "^4.17.21",
|
|
32
32
|
"min-dash": "^4.2.1",
|
|
33
|
-
"min-dom": "^5.
|
|
34
|
-
"monaco-editor": "^0.
|
|
35
|
-
"overlayscrollbars": "^2.
|
|
36
|
-
"photoswipe": "^5.4.
|
|
33
|
+
"min-dom": "^5.1.1",
|
|
34
|
+
"monaco-editor": "^0.49.0",
|
|
35
|
+
"overlayscrollbars": "^2.8.3",
|
|
36
|
+
"photoswipe": "^5.4.4",
|
|
37
37
|
"qrcode": "^1.5.3",
|
|
38
38
|
"quill": "^1.3.7",
|
|
39
39
|
"resize-detector": "^0.3.0",
|
|
40
40
|
"simple-uploader.js": "^0.6.0",
|
|
41
|
-
"tiny-svg": "^4.
|
|
41
|
+
"tiny-svg": "^4.1.2",
|
|
42
42
|
"tinymce": "4.9.11",
|
|
43
|
-
"video.js": "^8.
|
|
43
|
+
"video.js": "^8.12.0",
|
|
44
44
|
"viewerjs": "^1.11.6",
|
|
45
|
-
"vue-cropper": "^0.6.
|
|
45
|
+
"vue-cropper": "^0.6.5",
|
|
46
46
|
"vuedraggable": "^2.24.3",
|
|
47
47
|
"x2js": "^3.4.4"
|
|
48
48
|
}
|
package/page/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as t } from "../chunks/_plugin-vue2_normalizer.
|
|
2
|
-
const
|
|
1
|
+
import { n as t } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const r = {
|
|
3
3
|
name: "Page",
|
|
4
4
|
props: {
|
|
5
5
|
vertical: {
|
|
@@ -12,17 +12,15 @@ const l = {
|
|
|
12
12
|
var n = function() {
|
|
13
13
|
var e = this, a = e._self._c;
|
|
14
14
|
return a("div", { staticClass: "page flex-row flex-item", class: { vertical: e.vertical && !e.horizontal } }, [e._t("default")], 2);
|
|
15
|
-
},
|
|
16
|
-
l,
|
|
17
|
-
n,
|
|
15
|
+
}, o = [], l = /* @__PURE__ */ t(
|
|
18
16
|
r,
|
|
17
|
+
n,
|
|
18
|
+
o,
|
|
19
19
|
!1,
|
|
20
20
|
null,
|
|
21
|
-
null,
|
|
22
|
-
null,
|
|
23
21
|
null
|
|
24
22
|
);
|
|
25
|
-
const _ =
|
|
23
|
+
const _ = l.exports;
|
|
26
24
|
export {
|
|
27
25
|
_ as default
|
|
28
26
|
};
|
package/page-header/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n } from "../chunks/_plugin-vue2_normalizer.
|
|
2
|
-
const
|
|
1
|
+
import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const a = {
|
|
3
3
|
name: "PageHeader",
|
|
4
4
|
props: {
|
|
5
5
|
title: {
|
|
@@ -12,7 +12,7 @@ const l = {
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
|
-
var
|
|
15
|
+
var l = function() {
|
|
16
16
|
var e = this, t = e._self._c;
|
|
17
17
|
return t("div", { staticClass: "egd-header flex-row egd-page-header" }, [e._t("section-title", function() {
|
|
18
18
|
return [t("span", { staticClass: "section-title" }, [e._t("title", function() {
|
|
@@ -20,13 +20,11 @@ var a = function() {
|
|
|
20
20
|
}, { title: e.title })], 2)];
|
|
21
21
|
}, { title: e.title }), t("div", { staticClass: "flex-row flex-item vertical-center" }, [t("div", { class: ["flex-row", "flex-item", "vertical-center", { "align-end": e.alignEnd }] }, [e._t("default")], 2)])], 2);
|
|
22
22
|
}, r = [], i = /* @__PURE__ */ n(
|
|
23
|
-
l,
|
|
24
23
|
a,
|
|
24
|
+
l,
|
|
25
25
|
r,
|
|
26
26
|
!1,
|
|
27
27
|
null,
|
|
28
|
-
null,
|
|
29
|
-
null,
|
|
30
28
|
null
|
|
31
29
|
);
|
|
32
30
|
const o = i.exports;
|
package/page-index/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var n = (a, t, e) => new Promise((s, r) => {
|
|
2
|
+
var o = (i) => {
|
|
3
3
|
try {
|
|
4
4
|
u(e.next(i));
|
|
5
5
|
} catch (h) {
|
|
6
|
-
|
|
6
|
+
r(h);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, p = (i) => {
|
|
9
9
|
try {
|
|
10
10
|
u(e.throw(i));
|
|
11
11
|
} catch (h) {
|
|
12
|
-
|
|
12
|
+
r(h);
|
|
13
13
|
}
|
|
14
|
-
}, u = (i) => i.done ? s(i.value) : Promise.resolve(i.value).then(
|
|
14
|
+
}, u = (i) => i.done ? s(i.value) : Promise.resolve(i.value).then(o, p);
|
|
15
15
|
u((e = e.apply(a, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { treeToArray as
|
|
18
|
-
import { n as
|
|
17
|
+
import { treeToArray as c, findFirstMatchNode as d } from "@web-utils/core";
|
|
18
|
+
import { n as l } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
19
19
|
const f = {
|
|
20
20
|
name: "PageIndex",
|
|
21
21
|
props: {
|
|
@@ -65,8 +65,8 @@ const f = {
|
|
|
65
65
|
},
|
|
66
66
|
methods: {
|
|
67
67
|
activeFirstMenu() {
|
|
68
|
-
return
|
|
69
|
-
if (
|
|
68
|
+
return n(this, null, function* () {
|
|
69
|
+
if (c(this.menus).map((t) => t.path).filter((t) => t).includes(this.$route.path))
|
|
70
70
|
yield this.setCurrentKey(this.$route.path);
|
|
71
71
|
else {
|
|
72
72
|
const t = d(this.menus, (e) => e.path);
|
|
@@ -75,19 +75,19 @@ const f = {
|
|
|
75
75
|
});
|
|
76
76
|
},
|
|
77
77
|
onNodeClick(a) {
|
|
78
|
-
return
|
|
78
|
+
return n(this, null, function* () {
|
|
79
79
|
a.path && a.path.indexOf("/") > -1 && (yield this.$router.push({ path: a.path, query: a.query })), yield this.setCurrentKey(a.key);
|
|
80
80
|
});
|
|
81
81
|
},
|
|
82
82
|
setCurrentKey(a) {
|
|
83
|
-
return
|
|
83
|
+
return n(this, null, function* () {
|
|
84
84
|
yield this.$nextTick(), this.$refs.menuTree && this.$refs.menuTree.setCurrentKey(a);
|
|
85
85
|
});
|
|
86
86
|
},
|
|
87
87
|
beforeRouteUpdate(a, t, e) {
|
|
88
|
-
return
|
|
88
|
+
return n(this, null, function* () {
|
|
89
89
|
if (a.path === this.schema) {
|
|
90
|
-
const s = d(this.menus, (
|
|
90
|
+
const s = d(this.menus, (r) => r.path);
|
|
91
91
|
s ? (yield e({ path: s.path, query: s.query }), yield this.setCurrentKey(s.path)) : yield e(!1);
|
|
92
92
|
} else
|
|
93
93
|
yield e(), yield this.setCurrentKey(this.$route.path);
|
|
@@ -99,23 +99,21 @@ var y = function() {
|
|
|
99
99
|
var t = this, e = t._self._c;
|
|
100
100
|
return e("div", { staticClass: "egd-container" }, [t.aside ? e("div", { staticClass: "egd-aside", style: { width: t.asideWidth } }, [t._t("aside", function() {
|
|
101
101
|
return [e("div", { staticClass: "egd-main" }, [t._t("nav-top"), e("div", { staticClass: "egd-header" }, [e("span", { staticClass: "section-title flex-not-shrink" }, [t._v(t._s(t.sectionTitle))])]), t._t("menu", function() {
|
|
102
|
-
return [e("ElTree", { ref: "menuTree", attrs: { data: t.menus, "default-expand-all": "", props: t.defaultProps, "highlight-current": "", "empty-text": "请配置菜单!", "default-expanded-keys": t.currentTreeKey, "node-key": "key" }, on: { "node-click": t.onNodeClick }, scopedSlots: t._u([{ key: "default", fn: function({ data: s, node:
|
|
102
|
+
return [e("ElTree", { ref: "menuTree", attrs: { data: t.menus, "default-expand-all": "", props: t.defaultProps, "highlight-current": "", "empty-text": "请配置菜单!", "default-expanded-keys": t.currentTreeKey, "node-key": "key" }, on: { "node-click": t.onNodeClick }, scopedSlots: t._u([{ key: "default", fn: function({ data: s, node: r }) {
|
|
103
103
|
return [t._t("tree-node", function() {
|
|
104
104
|
return [e("span", [e("i", { class: s.icon }), t._v(" " + t._s(s.label))])];
|
|
105
|
-
}, { data: s, node:
|
|
105
|
+
}, { data: s, node: r })];
|
|
106
106
|
} }], null, !0) })];
|
|
107
107
|
})], 2)];
|
|
108
108
|
})], 2) : t._e(), e("div", { staticClass: "page-index-content", style: { width: t.aside ? `calc(100% - ${t.asideWidth})` : "100%" } }, [t._t("default", function() {
|
|
109
109
|
return [e("div", { staticClass: "page-index-content-empty" }, [t._v(" " + t._s(t.tips) + " ")])];
|
|
110
110
|
})], 2)]);
|
|
111
|
-
}, m = [], _ = /* @__PURE__ */
|
|
111
|
+
}, m = [], _ = /* @__PURE__ */ l(
|
|
112
112
|
f,
|
|
113
113
|
y,
|
|
114
114
|
m,
|
|
115
115
|
!1,
|
|
116
116
|
null,
|
|
117
|
-
null,
|
|
118
|
-
null,
|
|
119
117
|
null
|
|
120
118
|
);
|
|
121
119
|
const w = _.exports;
|
package/page-index-top/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
var i = (s, t, e) => new Promise((a, r) => {
|
|
2
|
-
var
|
|
2
|
+
var c = (n) => {
|
|
3
3
|
try {
|
|
4
4
|
u(e.next(n));
|
|
5
|
-
} catch (
|
|
6
|
-
r(
|
|
5
|
+
} catch (o) {
|
|
6
|
+
r(o);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, l = (n) => {
|
|
9
9
|
try {
|
|
10
10
|
u(e.throw(n));
|
|
11
|
-
} catch (
|
|
12
|
-
r(
|
|
11
|
+
} catch (o) {
|
|
12
|
+
r(o);
|
|
13
13
|
}
|
|
14
|
-
}, u = (n) => n.done ? a(n.value) : Promise.resolve(n.value).then(
|
|
14
|
+
}, u = (n) => n.done ? a(n.value) : Promise.resolve(n.value).then(c, l);
|
|
15
15
|
u((e = e.apply(s, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { treeToArray as h, findFirstMatchNode as
|
|
18
|
-
import { n as m } from "../chunks/_plugin-vue2_normalizer.
|
|
17
|
+
import { treeToArray as h, findFirstMatchNode as p } from "@web-utils/core";
|
|
18
|
+
import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
19
19
|
const f = {
|
|
20
20
|
name: "PageIndexTop",
|
|
21
21
|
props: {
|
|
@@ -49,7 +49,7 @@ const f = {
|
|
|
49
49
|
if (h(this.menus).map((t) => t.path).filter((t) => t).includes(this.$route.path))
|
|
50
50
|
this.activeTab = this.$route.path;
|
|
51
51
|
else {
|
|
52
|
-
const t =
|
|
52
|
+
const t = p(this.menus, (e) => e.path);
|
|
53
53
|
t && (this.activeTab = t.path, yield this.$router.push({ path: t.path, query: t.query }));
|
|
54
54
|
}
|
|
55
55
|
});
|
|
@@ -62,7 +62,7 @@ const f = {
|
|
|
62
62
|
beforeRouteUpdate(s, t, e) {
|
|
63
63
|
return i(this, null, function* () {
|
|
64
64
|
if (s.path === this.schema) {
|
|
65
|
-
const a =
|
|
65
|
+
const a = p(this.menus, (r) => r.path);
|
|
66
66
|
a ? (yield e({ path: a.path, query: a.query }), this.activeTab = a.path) : yield e(!1);
|
|
67
67
|
} else
|
|
68
68
|
yield e();
|
|
@@ -89,8 +89,6 @@ var d = function() {
|
|
|
89
89
|
y,
|
|
90
90
|
!1,
|
|
91
91
|
null,
|
|
92
|
-
null,
|
|
93
|
-
null,
|
|
94
92
|
null
|
|
95
93
|
);
|
|
96
94
|
const k = _.exports;
|
package/page-skeleton/index.mjs
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "../
|
|
3
|
-
import
|
|
4
|
-
import "../
|
|
5
|
-
|
|
6
|
-
import "../page-header/style.css";
|
|
7
|
-
import { n as r } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
8
|
-
const a = {
|
|
1
|
+
import n from "../page/index.mjs";
|
|
2
|
+
import o from "../nav-bar/index.mjs";
|
|
3
|
+
import a from "../page-header/index.mjs";
|
|
4
|
+
import { n as l } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
+
const r = {
|
|
9
6
|
name: "PageSkeleton",
|
|
10
7
|
components: {
|
|
11
|
-
Page:
|
|
12
|
-
NavBar:
|
|
13
|
-
PageHeader:
|
|
8
|
+
Page: n,
|
|
9
|
+
NavBar: o,
|
|
10
|
+
PageHeader: a
|
|
14
11
|
},
|
|
15
12
|
props: {
|
|
16
13
|
title: String,
|
|
@@ -32,17 +29,15 @@ var s = function() {
|
|
|
32
29
|
return t("Page", { staticClass: "page-skeleton" }, [e.header ? e._t("header", function() {
|
|
33
30
|
return [e.title ? t("PageHeader", { attrs: { title: e.title } }) : t("NavBar")];
|
|
34
31
|
}) : e._e(), t("div", { class: ["page-content", { "flex-column": e.flexColumn, "flex-row": e.flexRow, "content-scroll": e.contentScroll }, e.contentClass] }, [e._t("default")], 2)], 2);
|
|
35
|
-
}, c = [], f = /* @__PURE__ */
|
|
36
|
-
|
|
32
|
+
}, c = [], f = /* @__PURE__ */ l(
|
|
33
|
+
r,
|
|
37
34
|
s,
|
|
38
35
|
c,
|
|
39
36
|
!1,
|
|
40
37
|
null,
|
|
41
|
-
null,
|
|
42
|
-
null,
|
|
43
38
|
null
|
|
44
39
|
);
|
|
45
|
-
const
|
|
40
|
+
const d = f.exports;
|
|
46
41
|
export {
|
|
47
|
-
|
|
42
|
+
d as default
|
|
48
43
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as l } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { n as l } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
2
|
const a = {
|
|
3
3
|
name: "PageSkeletonNew",
|
|
4
4
|
props: {
|
|
@@ -41,8 +41,6 @@ var n = function() {
|
|
|
41
41
|
s,
|
|
42
42
|
!1,
|
|
43
43
|
null,
|
|
44
|
-
null,
|
|
45
|
-
null,
|
|
46
44
|
null
|
|
47
45
|
);
|
|
48
46
|
const c = i.exports;
|
package/pageable-table/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ var _ = 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 = (t, e, a) => e in t ? _(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a,
|
|
5
|
+
var g = (t, e, a) => e in t ? _(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a, u = (t, e) => {
|
|
6
6
|
for (var a in e || (e = {}))
|
|
7
7
|
f.call(e, a) && g(t, a, e[a]);
|
|
8
8
|
if (p)
|
|
@@ -20,7 +20,7 @@ var y = (t, e) => {
|
|
|
20
20
|
return a;
|
|
21
21
|
};
|
|
22
22
|
var h = (t, e, a) => new Promise((s, l) => {
|
|
23
|
-
var
|
|
23
|
+
var c = (r) => {
|
|
24
24
|
try {
|
|
25
25
|
i(a.next(r));
|
|
26
26
|
} catch (d) {
|
|
@@ -32,13 +32,13 @@ var h = (t, e, a) => new Promise((s, l) => {
|
|
|
32
32
|
} catch (d) {
|
|
33
33
|
l(d);
|
|
34
34
|
}
|
|
35
|
-
}, i = (r) => r.done ? s(r.value) : Promise.resolve(r.value).then(
|
|
35
|
+
}, i = (r) => r.done ? s(r.value) : Promise.resolve(r.value).then(c, n);
|
|
36
36
|
i((a = a.apply(t, e)).next());
|
|
37
37
|
});
|
|
38
38
|
import { hasOwn as v } from "@web-utils/core";
|
|
39
39
|
import { cloneDeep as S, merge as C } from "@web-utils/integrations/lodash";
|
|
40
40
|
import { f as T, h as k, i as B } from "../chunks/index.DwCBGcYk.mjs";
|
|
41
|
-
import { n as P } from "../chunks/_plugin-vue2_normalizer.
|
|
41
|
+
import { n as P } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
42
42
|
const o = {
|
|
43
43
|
loading: 1,
|
|
44
44
|
error: -1,
|
|
@@ -275,7 +275,7 @@ const o = {
|
|
|
275
275
|
}
|
|
276
276
|
this.records = [];
|
|
277
277
|
let t;
|
|
278
|
-
const i = this.page, { filters: e } = i, a = y(i, ["filters"]), s =
|
|
278
|
+
const i = this.page, { filters: e } = i, a = y(i, ["filters"]), s = u({}, a);
|
|
279
279
|
if ((r = e == null ? void 0 : e.rules) != null && r.length && (s.filters = { rules: e.rules }), this.api || this.url) {
|
|
280
280
|
this.tableStatus = o.loading;
|
|
281
281
|
try {
|
|
@@ -291,8 +291,8 @@ const o = {
|
|
|
291
291
|
});
|
|
292
292
|
return;
|
|
293
293
|
}
|
|
294
|
-
const { data: l } = t || {}, { total:
|
|
295
|
-
this.page.total = Number(
|
|
294
|
+
const { data: l } = t || {}, { total: c, records: n } = l || {};
|
|
295
|
+
this.page.total = Number(c), this.records = n, !n || !n.length ? this.tableStatus = o.empty : this.tableStatus = o.success, this.$refs.table.doLayout(), this.$emit("page-loaded", l);
|
|
296
296
|
});
|
|
297
297
|
},
|
|
298
298
|
refresh() {
|
|
@@ -302,7 +302,7 @@ const o = {
|
|
|
302
302
|
},
|
|
303
303
|
reload() {
|
|
304
304
|
return h(this, null, function* () {
|
|
305
|
-
this.page = m(
|
|
305
|
+
this.page = m(u({}, this.$options.data.call(this).page), {
|
|
306
306
|
total: this.page.total
|
|
307
307
|
});
|
|
308
308
|
});
|
|
@@ -341,8 +341,6 @@ var x = function() {
|
|
|
341
341
|
A,
|
|
342
342
|
!1,
|
|
343
343
|
null,
|
|
344
|
-
null,
|
|
345
|
-
null,
|
|
346
344
|
null
|
|
347
345
|
);
|
|
348
346
|
const M = R.exports;
|
package/pageable-view/index.mjs
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
var $ = Object.defineProperty, T = Object.defineProperties;
|
|
2
2
|
var _ = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var d = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var u = Object.prototype.hasOwnProperty, m = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var f = (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
|
+
u.call(t, s) && f(e, s, t[s]);
|
|
8
8
|
if (d)
|
|
9
9
|
for (var s of d(t))
|
|
10
|
-
m.call(t, s) &&
|
|
10
|
+
m.call(t, s) && f(e, s, t[s]);
|
|
11
11
|
return e;
|
|
12
12
|
}, b = (e, t) => T(e, _(t));
|
|
13
13
|
var y = (e, t) => {
|
|
14
14
|
var s = {};
|
|
15
|
-
for (var
|
|
16
|
-
|
|
15
|
+
for (var i in e)
|
|
16
|
+
u.call(e, i) && t.indexOf(i) < 0 && (s[i] = e[i]);
|
|
17
17
|
if (e != null && d)
|
|
18
|
-
for (var
|
|
19
|
-
t.indexOf(
|
|
18
|
+
for (var i of d(e))
|
|
19
|
+
t.indexOf(i) < 0 && m.call(e, i) && (s[i] = e[i]);
|
|
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((i, r) => {
|
|
23
|
+
var g = (l) => {
|
|
24
24
|
try {
|
|
25
|
-
a(s.next(
|
|
25
|
+
a(s.next(l));
|
|
26
26
|
} catch (n) {
|
|
27
27
|
r(n);
|
|
28
28
|
}
|
|
29
|
-
}, o = (
|
|
29
|
+
}, o = (l) => {
|
|
30
30
|
try {
|
|
31
|
-
a(s.throw(
|
|
31
|
+
a(s.throw(l));
|
|
32
32
|
} catch (n) {
|
|
33
33
|
r(n);
|
|
34
34
|
}
|
|
35
|
-
}, a = (
|
|
35
|
+
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(g, o);
|
|
36
36
|
a((s = s.apply(e, t)).next());
|
|
37
37
|
});
|
|
38
38
|
import { cloneDeep as S, merge as w } from "@web-utils/integrations/lodash";
|
|
39
39
|
import { copy as P, hasOwn as C } from "@web-utils/core";
|
|
40
40
|
import { f as v, h as x, i as O } from "../chunks/index.DwCBGcYk.mjs";
|
|
41
|
-
import { n as R } from "../chunks/_plugin-vue2_normalizer.
|
|
41
|
+
import { n as R } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
42
42
|
function k(e) {
|
|
43
43
|
let t = "";
|
|
44
44
|
for (const s in e)
|
|
@@ -227,7 +227,7 @@ const c = {
|
|
|
227
227
|
delete this.page.model[e];
|
|
228
228
|
},
|
|
229
229
|
removeRule(e) {
|
|
230
|
-
const t = this.page.filters.rules, s = t.findIndex((
|
|
230
|
+
const t = this.page.filters.rules, s = t.findIndex((i) => i.field === e);
|
|
231
231
|
s > -1 && t.splice(s, 1);
|
|
232
232
|
},
|
|
233
233
|
addFilter({ field: e, op: t, value: s }) {
|
|
@@ -253,18 +253,18 @@ const c = {
|
|
|
253
253
|
},
|
|
254
254
|
getPage() {
|
|
255
255
|
return h(this, null, function* () {
|
|
256
|
-
var
|
|
256
|
+
var l;
|
|
257
257
|
if (C(this.$attrs, "data")) {
|
|
258
258
|
this.records = this.$attrs.data, this.page.page = 1, this.page.total = this.records.length, this.page.limit = this.page.total;
|
|
259
259
|
return;
|
|
260
260
|
}
|
|
261
261
|
this.records = [];
|
|
262
262
|
let e;
|
|
263
|
-
const a = this.page, { filters: t } = a, s = y(a, ["filters"]),
|
|
264
|
-
if ((
|
|
263
|
+
const a = this.page, { filters: t } = a, s = y(a, ["filters"]), i = p({}, s);
|
|
264
|
+
if ((l = t == null ? void 0 : t.rules) != null && l.length && (i.filters = { rules: t.rules }), this.api || this.url) {
|
|
265
265
|
this.tableStatus = c.loading;
|
|
266
266
|
try {
|
|
267
|
-
this.loading = !0, this.api && (e = yield this.api(
|
|
267
|
+
this.loading = !0, this.api && (e = yield this.api(i)), this.url && (e = yield this.method(this.url, i)), this.loading = !1;
|
|
268
268
|
} catch (n) {
|
|
269
269
|
this.tableStatus = c.error, console.error(n), this.loading = !1;
|
|
270
270
|
return;
|
|
@@ -299,10 +299,10 @@ const c = {
|
|
|
299
299
|
};
|
|
300
300
|
var F = function() {
|
|
301
301
|
var t = this, s = t._self._c;
|
|
302
|
-
return s("div", { staticClass: "work", staticStyle: { height: "100%", "background-color": "#fff" } }, [s("div", { staticClass: "flex-column list-content", staticStyle: { height: "100%" } }, [s("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], staticClass: "flex-item-relative", attrs: { "element-loading-text": "加载中...", "element-loading-background": "#fff" } }, [s("div", { ref: "scroller", staticClass: "scroll-wrapper" }, [s("div", { staticClass: "cards-block" }, [t._t("prepend"), t._l(t.records, function(
|
|
303
|
-
return [t._t("default", null, { item:
|
|
304
|
-
}), t._t("append")], 2)])]), s("ElPagination", { staticClass: "flex-not-shrink", staticStyle: { "border-top": "1px solid #ebeef5" }, attrs: { "current-page": t.page.page, "hide-on-single-page": t.hideOnSinglePage, "page-size": t.page.limit, total: t.page.total, background: "", layout: "total, prev, pager, next, jumper" }, on: { "current-change": (
|
|
305
|
-
t.page.page =
|
|
302
|
+
return s("div", { staticClass: "work", staticStyle: { height: "100%", "background-color": "#fff" } }, [s("div", { staticClass: "flex-column list-content", staticStyle: { height: "100%" } }, [s("div", { directives: [{ name: "loading", rawName: "v-loading", value: t.loading, expression: "loading" }], staticClass: "flex-item-relative", attrs: { "element-loading-text": "加载中...", "element-loading-background": "#fff" } }, [s("div", { ref: "scroller", staticClass: "scroll-wrapper" }, [s("div", { staticClass: "cards-block" }, [t._t("prepend"), t._l(t.records, function(i) {
|
|
303
|
+
return [t._t("default", null, { item: i })];
|
|
304
|
+
}), t._t("append")], 2)])]), s("ElPagination", { staticClass: "flex-not-shrink", staticStyle: { "border-top": "1px solid #ebeef5" }, attrs: { "current-page": t.page.page, "hide-on-single-page": t.hideOnSinglePage, "page-size": t.page.limit, total: t.page.total, background: "", layout: "total, prev, pager, next, jumper" }, on: { "current-change": (i) => {
|
|
305
|
+
t.page.page = i;
|
|
306
306
|
} } })], 1)]);
|
|
307
307
|
}, L = [], M = /* @__PURE__ */ R(
|
|
308
308
|
E,
|
|
@@ -310,8 +310,6 @@ var F = function() {
|
|
|
310
310
|
L,
|
|
311
311
|
!1,
|
|
312
312
|
null,
|
|
313
|
-
null,
|
|
314
|
-
null,
|
|
315
313
|
null
|
|
316
314
|
);
|
|
317
315
|
const I = M.exports;
|
package/photo-swipe/index.mjs
CHANGED
|
@@ -14,13 +14,13 @@ var u = (i, n, t) => new Promise((h, a) => {
|
|
|
14
14
|
}, s = (o) => o.done ? h(o.value) : Promise.resolve(o.value).then(r, e);
|
|
15
15
|
s((t = t.apply(i, n)).next());
|
|
16
16
|
});
|
|
17
|
-
import
|
|
17
|
+
import d from "photoswipe";
|
|
18
18
|
import "photoswipe/dist/photoswipe.css";
|
|
19
|
-
import { n as
|
|
19
|
+
import { n as l } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
20
20
|
function w(i) {
|
|
21
|
-
new
|
|
21
|
+
new d(i).init();
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function g(h, a) {
|
|
24
24
|
return u(this, arguments, function* (i, n, t = { selector: "chat-image" }) {
|
|
25
25
|
const r = i.target;
|
|
26
26
|
if (!(!r || r.classList.contains(t.selector) || r.tagName === "IMG"))
|
|
@@ -65,7 +65,7 @@ function m(i) {
|
|
|
65
65
|
}
|
|
66
66
|
const p = {
|
|
67
67
|
name: "PhotoSwipe",
|
|
68
|
-
photoswipe:
|
|
68
|
+
photoswipe: g,
|
|
69
69
|
props: {
|
|
70
70
|
urls: Array,
|
|
71
71
|
selector: {
|
|
@@ -76,7 +76,7 @@ const p = {
|
|
|
76
76
|
methods: {
|
|
77
77
|
preview(i) {
|
|
78
78
|
return u(this, null, function* () {
|
|
79
|
-
yield
|
|
79
|
+
yield g(i, this.$refs.wrapper, { selector: this.selector });
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
}
|
|
@@ -88,14 +88,12 @@ var _ = function() {
|
|
|
88
88
|
return t("img", { key: h.src, staticStyle: { cursor: "pointer" }, attrs: { width: "100", src: h.src, alt: "" }, on: { click: n.preview } });
|
|
89
89
|
});
|
|
90
90
|
}, { urls: n.urls, preview: n.preview })], 2);
|
|
91
|
-
}, b = [], A = /* @__PURE__ */
|
|
91
|
+
}, b = [], A = /* @__PURE__ */ l(
|
|
92
92
|
p,
|
|
93
93
|
_,
|
|
94
94
|
b,
|
|
95
95
|
!1,
|
|
96
96
|
null,
|
|
97
|
-
null,
|
|
98
|
-
null,
|
|
99
97
|
null
|
|
100
98
|
);
|
|
101
99
|
const I = A.exports;
|
package/present-view/index.mjs
CHANGED
|
@@ -29,8 +29,7 @@ var d = (e, t, o) => new Promise((r, s) => {
|
|
|
29
29
|
import { hasOwn as p, toStringArray as S, delay as F, isInContainer as k } from "@web-utils/core";
|
|
30
30
|
import { merge as B } from "@web-utils/integrations/lodash";
|
|
31
31
|
import L from "../resize-observer/index.mjs";
|
|
32
|
-
import "../
|
|
33
|
-
import { n as C } from "../chunks/_plugin-vue2_normalizer.YT9tSeEj.mjs";
|
|
32
|
+
import { n as C } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
34
33
|
const w = [
|
|
35
34
|
"back",
|
|
36
35
|
"create",
|
|
@@ -222,11 +221,9 @@ var O = function() {
|
|
|
222
221
|
P,
|
|
223
222
|
!1,
|
|
224
223
|
null,
|
|
225
|
-
null,
|
|
226
|
-
null,
|
|
227
224
|
null
|
|
228
225
|
);
|
|
229
|
-
const
|
|
226
|
+
const E = z.exports;
|
|
230
227
|
export {
|
|
231
|
-
|
|
228
|
+
E as default
|
|
232
229
|
};
|
package/queue/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as a } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
2
|
const s = {
|
|
3
3
|
name: "Queue",
|
|
4
4
|
props: {
|
|
@@ -40,17 +40,15 @@ const s = {
|
|
|
40
40
|
var o = function() {
|
|
41
41
|
var e = this, t = e._self._c;
|
|
42
42
|
return t("div", { class: ["avue-queue", { "avue-queue--block": e.block }] }, [t("div", { ref: "queue", staticClass: "animate__animated", class: e.animate }, [e._t("default")], 2)]);
|
|
43
|
-
},
|
|
43
|
+
}, i = [], l = /* @__PURE__ */ a(
|
|
44
44
|
s,
|
|
45
45
|
o,
|
|
46
|
-
|
|
46
|
+
i,
|
|
47
47
|
!1,
|
|
48
48
|
null,
|
|
49
|
-
null,
|
|
50
|
-
null,
|
|
51
49
|
null
|
|
52
50
|
);
|
|
53
|
-
const c =
|
|
51
|
+
const c = l.exports;
|
|
54
52
|
export {
|
|
55
53
|
c as default
|
|
56
54
|
};
|
package/record-video/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s } from "../chunks/util.
|
|
2
|
-
import { n as a } from "../chunks/_plugin-vue2_normalizer.
|
|
1
|
+
import { s } from "../chunks/util.B_LEdJSZ.mjs";
|
|
2
|
+
import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
3
|
let o = class {
|
|
4
4
|
/**
|
|
5
5
|
* 构造函数
|
|
@@ -120,17 +120,15 @@ const n = {
|
|
|
120
120
|
var c = function() {
|
|
121
121
|
var e = this, t = e._self._c;
|
|
122
122
|
return t("div", { staticClass: "avue-video", style: e.styleName }, [t("div", { staticClass: "avue-video__border" }, [t("span", { style: e.borderStyleName }), t("span", { style: e.borderStyleName }), t("span", { style: e.borderStyleName }), t("span", { style: e.borderStyleName })]), t("img", { staticClass: "avue-video__img", style: e.imgStyleName, attrs: { src: e.background, alt: "" } }), t("video", { ref: "main", staticClass: "avue-video__main", attrs: { autoplay: "", muted: "" }, domProps: { muted: !0 } })]);
|
|
123
|
-
}, h = [],
|
|
123
|
+
}, h = [], m = /* @__PURE__ */ a(
|
|
124
124
|
n,
|
|
125
125
|
c,
|
|
126
126
|
h,
|
|
127
127
|
!1,
|
|
128
128
|
null,
|
|
129
|
-
null,
|
|
130
|
-
null,
|
|
131
129
|
null
|
|
132
130
|
);
|
|
133
|
-
const p =
|
|
131
|
+
const p = m.exports;
|
|
134
132
|
export {
|
|
135
133
|
p as default
|
|
136
134
|
};
|