@web-utils/component 2.0.12 → 2.0.14
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/dist/chunks/3a79781b.js +75 -0
- package/dist/chunks/{44b78389.js → 41a066be.js} +8 -8
- package/dist/chunks/{e1939731.js → 5a78e0db.js} +5 -6
- package/dist/chunks/5d4282fb.js +30 -0
- package/dist/chunks/{822300f3.js → 61ad06b2.js} +3 -3
- package/dist/chunks/76680a03.js +24 -0
- package/dist/chunks/8c0142e0.js +81 -0
- package/dist/chunks/97652d86.js +26 -0
- package/dist/chunks/b4acd3a6.js +126 -0
- package/dist/chunks/f71045fc.js +184 -0
- package/dist/components/address-input/index.js +43 -56
- package/dist/components/address-input/style.css +1 -15
- package/dist/components/aside-menu/index.js +30 -36
- package/dist/components/aside-menu/style.css +1 -9
- package/dist/components/awesome-button/index.js +32 -35
- package/dist/components/base.css +1 -66
- package/dist/components/capsule-tab/index.js +27 -33
- package/dist/components/capsule-tab/style.css +1 -32
- package/dist/components/chunk-file-uploader/index.js +54 -88
- package/dist/components/chunk-file-uploader/style.css +1 -4
- package/dist/components/chunk-file-uploader-button/index.js +25 -31
- package/dist/components/chunk-file-uploader-button/style.css +1 -17
- package/dist/components/chunk-file-uploader-drop/index.js +28 -42
- package/dist/components/chunk-file-uploader-drop/style.css +1 -12
- package/dist/components/chunk-file-uploader-file/index.js +134 -212
- package/dist/components/chunk-file-uploader-file/style.css +1 -125
- package/dist/components/chunk-file-uploader-files/index.js +28 -34
- package/dist/components/chunk-file-uploader-files/style.css +1 -9
- package/dist/components/chunk-file-uploader-list/index.js +29 -35
- package/dist/components/chunk-file-uploader-list/style.css +1 -9
- package/dist/components/chunk-file-uploader-un-support/index.js +30 -38
- package/dist/components/chunk-file-uploader-un-support/style.css +1 -6
- package/dist/components/code-mirror-editor/index.js +153 -181
- package/dist/components/code-mirror-editor/style.css +1 -17
- package/dist/components/color-picker/index.js +49 -68
- package/dist/components/confirm-button/index.js +19 -21
- package/dist/components/confirmable/index.js +18 -19
- package/dist/components/context-menu/index.js +108 -130
- package/dist/components/context-menu/style.css +1 -88
- package/dist/components/custom-scrollbar/index.js +49 -67
- package/dist/components/data-table-picker/index.js +62 -81
- package/dist/components/dynamic-table/index.js +89 -113
- package/dist/components/dynamic-table/style.css +1 -30
- package/dist/components/e-charts/index.js +120 -201
- package/dist/components/e-charts/style.css +1 -10
- package/dist/components/editable-progress/index.js +60 -93
- package/dist/components/editable-progress/style.css +1 -37
- package/dist/components/editable-tree/index.js +423 -638
- package/dist/components/editable-tree/style.css +1 -82
- package/dist/components/egd-collapse/index.js +33 -46
- package/dist/components/egd-collapse-item/index.js +60 -76
- package/dist/components/element-dialog/index.js +95 -147
- package/dist/components/element-dialog/style.css +1 -102
- package/dist/components/empty-view/index.js +28 -34
- package/dist/components/empty-view/style.css +1 -17
- package/dist/components/error-view/index.js +26 -32
- package/dist/components/error-view/style.css +1 -17
- package/dist/components/flex-column/index.js +25 -40
- package/dist/components/flex-item/index.js +29 -57
- package/dist/components/flex-row/index.js +25 -40
- package/dist/components/flex-scroller/index.js +26 -32
- package/dist/components/flex-scroller/style.css +1 -20
- package/dist/components/form-button/index.js +34 -38
- package/dist/components/form-cascader/index.js +71 -81
- package/dist/components/form-checkbox-group/index.js +88 -113
- package/dist/components/form-checkbox-group/style.css +1 -51
- package/dist/components/form-date-picker/index.js +70 -132
- package/dist/components/form-holder/index.js +32 -39
- package/dist/components/form-input/index.js +56 -62
- package/dist/components/form-input-email/index.js +48 -60
- package/dist/components/form-input-id-card/index.js +53 -59
- package/dist/components/form-input-number/index.js +61 -68
- package/dist/components/form-input-number/style.css +1 -12
- package/dist/components/form-input-phone-number/index.js +49 -55
- package/dist/components/form-input-time/index.js +53 -59
- package/dist/components/form-item/index.js +80 -123
- package/dist/components/form-item/style.css +1 -11
- package/dist/components/form-item-config-provider/index.js +25 -26
- package/dist/components/form-item-group/index.js +85 -111
- package/dist/components/form-item-group/style.css +1 -30
- package/dist/components/form-radio-group/index.js +85 -104
- package/dist/components/form-radio-group/style.css +1 -53
- package/dist/components/form-select/index.js +76 -91
- package/dist/components/form-switch/index.js +51 -57
- package/dist/components/form-textarea/index.js +51 -57
- package/dist/components/form-view/index.js +165 -232
- package/dist/components/form-view/style.css +1 -158
- package/dist/components/guide-steps/index.js +44 -58
- package/dist/components/guide-steps/style.css +1 -34
- package/dist/components/icon-card/index.js +29 -35
- package/dist/components/icon-card/style.css +1 -56
- package/dist/components/iframe-window/index.js +29 -35
- package/dist/components/iframe-window/style.css +1 -20
- package/dist/components/image-viewer/index.js +48 -66
- package/dist/components/image-viewer/style.css +1 -21
- package/dist/components/input-number/index.js +127 -193
- package/dist/components/input-number/style.css +1 -15
- package/dist/components/input-number-range/index.js +45 -57
- package/dist/components/input-number-range/style.css +1 -12
- package/dist/components/j-s-x-component/index.js +4 -4
- package/dist/components/keep-view-alive/index.js +73 -120
- package/dist/components/loading-view/index.js +26 -32
- package/dist/components/loading-view/style.css +1 -17
- package/dist/components/nav-bar/index.js +27 -37
- package/dist/components/nav-bar/style.css +1 -17
- package/dist/components/not-implement/index.js +23 -31
- package/dist/components/not-implement/style.css +1 -15
- package/dist/components/page/index.js +22 -28
- package/dist/components/page/style.css +1 -12
- package/dist/components/page-header/index.js +30 -36
- package/dist/components/page-header/style.css +1 -14
- package/dist/components/page-index/index.js +62 -83
- package/dist/components/page-index/style.css +1 -23
- package/dist/components/page-index-top/index.js +53 -68
- package/dist/components/page-skeleton/index.js +31 -37
- package/dist/components/page-skeleton/style.css +1 -23
- package/dist/components/page-skeleton-new/index.js +42 -48
- package/dist/components/page-skeleton-new/style.css +1 -42
- package/dist/components/pageable-table/index.js +186 -253
- package/dist/components/pageable-table/style.css +1 -72
- package/dist/components/pageable-view/index.js +129 -199
- package/dist/components/pageable-view/style.css +1 -69
- package/dist/components/photo-swipe/index.js +110 -151
- package/dist/components/photo-swipe/style.css +1 -20
- package/dist/components/resize-observer/index.js +34 -68
- package/dist/components/resize-observer/style.css +1 -31
- package/dist/components/search-popover/index.js +153 -211
- package/dist/components/search-popover/style.css +1 -93
- package/dist/components/sign-panel/index.js +92 -142
- package/dist/components/sign-panel/style.css +1 -97
- package/dist/components/split-pane/index.js +101 -162
- package/dist/components/split-pane/style.css +1 -100
- package/dist/components/stateful/index.js +31 -34
- package/dist/components/stateful/style.css +1 -33
- package/dist/components/static-pageable-table/index.js +37 -44
- package/dist/components/static-pageable-table/style.css +1 -9
- package/dist/components/swiper/index.js +85 -150
- package/dist/components/swiper/style.css +1 -43
- package/dist/components/tab/index.js +54 -72
- package/dist/components/tab/style.css +1 -122
- package/dist/components/tab-item/index.js +30 -35
- package/dist/components/table-column/index.js +30 -32
- package/dist/components/table-view/index.js +156 -227
- package/dist/components/table-view/style.css +1 -95
- package/dist/components/tag-render/index.js +44 -58
- package/dist/components/tag-render/style.css +1 -33
- package/dist/components/tinymce-editor/index.js +79 -95
- package/dist/components/tinymce-editor/style.css +1 -43
- package/dist/components/tinymce-wrapper/index.js +92 -121
- package/dist/components/tinymce-wrapper/style.css +1 -36
- package/dist/components/toolbar/index.js +63 -84
- package/dist/components/toolbar/style.css +1 -39
- package/dist/components/toolbar-button/index.js +41 -48
- package/dist/components/toolbar-button/style.css +1 -21
- package/dist/components/trigger/index.js +29 -36
- package/dist/components/vue-tags-input/index.js +188 -308
- package/dist/components/vue-tags-input/style.css +1 -682
- package/dist/components/watermark/index.js +25 -37
- package/dist/components/watermark/style.css +1 -11
- package/dist/components/x-dialog/index.js +67 -93
- package/dist/components/x-dialog/style.css +1 -15
- package/dist/index.css +193 -1105
- package/dist/index.es.js +4790 -7243
- package/package.json +1 -2
- package/web-types.json +1 -1
- package/dist/chunks/3d28cc08.js +0 -57
- package/dist/chunks/5d33812d.js +0 -147
- package/dist/chunks/9d848bf6.js +0 -99
- package/dist/chunks/a0bb327b.js +0 -96
- package/dist/chunks/a8891d2c.js +0 -30
- package/dist/chunks/c69d5628.js +0 -248
- package/dist/chunks/de9fe802.js +0 -24
|
@@ -1,61 +1,57 @@
|
|
|
1
|
-
import { isNotEmpty } from "@web-utils/core";
|
|
2
|
-
import { n as
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
var _c = _vm._self._c || _h;
|
|
7
|
-
return _c("div", {
|
|
1
|
+
import { isNotEmpty as i } from "@web-utils/core";
|
|
2
|
+
import { n as o } from "../../chunks/5d4282fb.js";
|
|
3
|
+
var r = function() {
|
|
4
|
+
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
5
|
+
return n("div", {
|
|
8
6
|
staticClass: "input-number-range"
|
|
9
|
-
}, [
|
|
7
|
+
}, [n("ElInputNumber", {
|
|
10
8
|
staticClass: "flex-item",
|
|
11
9
|
staticStyle: {
|
|
12
|
-
|
|
10
|
+
width: "auto"
|
|
13
11
|
},
|
|
14
12
|
attrs: {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
controls: t.controls,
|
|
14
|
+
disabled: t.disabled,
|
|
15
|
+
size: "mini"
|
|
18
16
|
},
|
|
19
17
|
on: {
|
|
20
|
-
|
|
18
|
+
input: t.emitInput
|
|
21
19
|
},
|
|
22
20
|
model: {
|
|
23
|
-
value:
|
|
24
|
-
callback: function(
|
|
25
|
-
|
|
21
|
+
value: t.val[0],
|
|
22
|
+
callback: function(s) {
|
|
23
|
+
t.$set(t.val, 0, s);
|
|
26
24
|
},
|
|
27
25
|
expression: "val[0]"
|
|
28
26
|
}
|
|
29
|
-
}),
|
|
27
|
+
}), n("span", {
|
|
30
28
|
staticStyle: {
|
|
31
|
-
|
|
29
|
+
padding: "0 6px",
|
|
32
30
|
"font-size": "12px"
|
|
33
31
|
}
|
|
34
|
-
}, [
|
|
32
|
+
}, [t._v(t._s(t.separator))]), n("ElInputNumber", {
|
|
35
33
|
staticClass: "flex-item",
|
|
36
34
|
staticStyle: {
|
|
37
|
-
|
|
35
|
+
width: "auto"
|
|
38
36
|
},
|
|
39
37
|
attrs: {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
controls: t.controls,
|
|
39
|
+
disabled: t.disabled,
|
|
40
|
+
size: "mini"
|
|
43
41
|
},
|
|
44
42
|
on: {
|
|
45
|
-
|
|
43
|
+
input: t.emitInput
|
|
46
44
|
},
|
|
47
45
|
model: {
|
|
48
|
-
value:
|
|
49
|
-
callback: function(
|
|
50
|
-
|
|
46
|
+
value: t.val[1],
|
|
47
|
+
callback: function(s) {
|
|
48
|
+
t.$set(t.val, 1, s);
|
|
51
49
|
},
|
|
52
50
|
expression: "val[1]"
|
|
53
51
|
}
|
|
54
52
|
})], 1);
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
const InputNumberRange_vue_vue_type_style_index_0_lang = "";
|
|
58
|
-
const __vue2_script = {
|
|
53
|
+
}, l = [];
|
|
54
|
+
const u = {
|
|
59
55
|
name: "InputNumberRange",
|
|
60
56
|
props: {
|
|
61
57
|
value: {
|
|
@@ -69,7 +65,7 @@ const __vue2_script = {
|
|
|
69
65
|
},
|
|
70
66
|
controls: {
|
|
71
67
|
type: Boolean,
|
|
72
|
-
default:
|
|
68
|
+
default: !0
|
|
73
69
|
}
|
|
74
70
|
},
|
|
75
71
|
data() {
|
|
@@ -79,16 +75,10 @@ const __vue2_script = {
|
|
|
79
75
|
},
|
|
80
76
|
watch: {
|
|
81
77
|
value: {
|
|
82
|
-
immediate:
|
|
83
|
-
handler(
|
|
84
|
-
const
|
|
85
|
-
|
|
86
|
-
val[0] = newVal[0];
|
|
87
|
-
}
|
|
88
|
-
if (isNotEmpty(newVal == null ? void 0 : newVal[1])) {
|
|
89
|
-
val[1] = newVal[1];
|
|
90
|
-
}
|
|
91
|
-
this.val = val;
|
|
78
|
+
immediate: !0,
|
|
79
|
+
handler(t) {
|
|
80
|
+
const e = [void 0, void 0];
|
|
81
|
+
i(t == null ? void 0 : t[0]) && (e[0] = t[0]), i(t == null ? void 0 : t[1]) && (e[1] = t[1]), this.val = e;
|
|
92
82
|
}
|
|
93
83
|
}
|
|
94
84
|
},
|
|
@@ -97,26 +87,24 @@ const __vue2_script = {
|
|
|
97
87
|
this.$emit("input", this.val);
|
|
98
88
|
}
|
|
99
89
|
}
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
__vue2_injectStyles,
|
|
90
|
+
}, a = {};
|
|
91
|
+
var d = /* @__PURE__ */ o(
|
|
92
|
+
u,
|
|
93
|
+
r,
|
|
94
|
+
l,
|
|
95
|
+
!1,
|
|
96
|
+
c,
|
|
108
97
|
null,
|
|
109
98
|
null,
|
|
110
99
|
null
|
|
111
100
|
);
|
|
112
|
-
function
|
|
113
|
-
for (let
|
|
114
|
-
this[
|
|
115
|
-
}
|
|
101
|
+
function c(t) {
|
|
102
|
+
for (let e in a)
|
|
103
|
+
this[e] = a[e];
|
|
116
104
|
}
|
|
117
|
-
const
|
|
118
|
-
return
|
|
105
|
+
const v = /* @__PURE__ */ function() {
|
|
106
|
+
return d.exports;
|
|
119
107
|
}();
|
|
120
108
|
export {
|
|
121
|
-
|
|
109
|
+
v as default
|
|
122
110
|
};
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/* 应用头部高度 */
|
|
3
|
-
/* 页面宽度 */
|
|
4
|
-
/* 侧栏宽度 */
|
|
5
|
-
/* 标签高度 */
|
|
6
|
-
/* 页面头部工具条高度 */
|
|
7
|
-
.input-number-range {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: row;
|
|
10
|
-
align-items: center;
|
|
11
|
-
width: 100%;
|
|
12
|
-
}
|
|
1
|
+
.input-number-range{display:flex;flex-direction:row;align-items:center;width:100%}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const e = {
|
|
2
2
|
name: "JSXComponent",
|
|
3
3
|
props: {
|
|
4
4
|
msg: {
|
|
@@ -7,10 +7,10 @@ const JSXComponent = {
|
|
|
7
7
|
}
|
|
8
8
|
},
|
|
9
9
|
render() {
|
|
10
|
-
const
|
|
11
|
-
return
|
|
10
|
+
const t = arguments[0];
|
|
11
|
+
return t("div", [this.msg]);
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
export {
|
|
15
|
-
|
|
15
|
+
e as default
|
|
16
16
|
};
|
|
@@ -1,89 +1,69 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
const
|
|
3
|
-
function
|
|
4
|
-
return
|
|
1
|
+
import { n as _ } from "../../chunks/5d4282fb.js";
|
|
2
|
+
const C = Object.prototype.toString;
|
|
3
|
+
function d(e) {
|
|
4
|
+
return e != null;
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
return
|
|
6
|
+
function g(e) {
|
|
7
|
+
return e.isComment && e.asyncFactory;
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
if (Array.isArray(
|
|
11
|
-
for (let
|
|
12
|
-
const
|
|
13
|
-
if (
|
|
14
|
-
return
|
|
15
|
-
}
|
|
9
|
+
function v(e) {
|
|
10
|
+
if (Array.isArray(e))
|
|
11
|
+
for (let t = 0; t < e.length; t++) {
|
|
12
|
+
const n = e[t];
|
|
13
|
+
if (d(n) && (d(n.componentOptions) || g(n)))
|
|
14
|
+
return n;
|
|
16
15
|
}
|
|
17
|
-
}
|
|
18
16
|
}
|
|
19
|
-
function
|
|
20
|
-
return
|
|
17
|
+
function x(e) {
|
|
18
|
+
return C.call(e) === "[object RegExp]";
|
|
21
19
|
}
|
|
22
|
-
function
|
|
23
|
-
return
|
|
20
|
+
function f(e) {
|
|
21
|
+
return e && (e.Ctor.options.name || e.tag);
|
|
24
22
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
27
|
-
return pattern.indexOf(name) > -1;
|
|
28
|
-
} else if (typeof pattern === "string") {
|
|
29
|
-
return pattern.split(",").indexOf(name) > -1;
|
|
30
|
-
} else if (isRegExp(pattern)) {
|
|
31
|
-
return pattern.test(name);
|
|
32
|
-
}
|
|
33
|
-
return false;
|
|
23
|
+
function l(e, t) {
|
|
24
|
+
return Array.isArray(e) ? e.indexOf(t) > -1 : typeof e == "string" ? e.split(",").indexOf(t) > -1 : x(e) ? e.test(t) : !1;
|
|
34
25
|
}
|
|
35
|
-
function
|
|
36
|
-
if (
|
|
37
|
-
const
|
|
38
|
-
if (
|
|
39
|
-
return
|
|
40
|
-
}
|
|
26
|
+
function y(e, t) {
|
|
27
|
+
if (e.length) {
|
|
28
|
+
const n = e.indexOf(t);
|
|
29
|
+
if (n > -1)
|
|
30
|
+
return e.splice(n, 1);
|
|
41
31
|
}
|
|
42
32
|
}
|
|
43
|
-
function
|
|
44
|
-
const { cache, keys, _vnode } =
|
|
45
|
-
for (const
|
|
46
|
-
const
|
|
47
|
-
if (
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
pruneCacheEntry(cache, key, keys, _vnode);
|
|
51
|
-
}
|
|
33
|
+
function p(e, t) {
|
|
34
|
+
const { cache: n, keys: o, _vnode: c } = e;
|
|
35
|
+
for (const i in n) {
|
|
36
|
+
const s = n[i];
|
|
37
|
+
if (s) {
|
|
38
|
+
const a = s.name;
|
|
39
|
+
a && !t(a) && h(n, i, o, c);
|
|
52
40
|
}
|
|
53
41
|
}
|
|
54
42
|
}
|
|
55
|
-
function
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
entry.componentInstance.$destroy();
|
|
59
|
-
}
|
|
60
|
-
cache[key] = null;
|
|
61
|
-
remove(keys, key);
|
|
43
|
+
function h(e, t, n, o) {
|
|
44
|
+
const c = e[t];
|
|
45
|
+
c && (!o || c.tag !== o.tag) && c.componentInstance.$destroy(), e[t] = null, y(n, t);
|
|
62
46
|
}
|
|
63
|
-
const
|
|
47
|
+
const k = {
|
|
64
48
|
name: "KeepViewAlive",
|
|
65
|
-
abstract:
|
|
49
|
+
abstract: !0,
|
|
66
50
|
props: {
|
|
67
51
|
include: Array,
|
|
68
52
|
exclude: Array,
|
|
69
53
|
max: [String, Number]
|
|
70
54
|
},
|
|
71
55
|
created() {
|
|
72
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
73
|
-
this.keys = [];
|
|
56
|
+
this.cache = /* @__PURE__ */ Object.create(null), this.keys = [];
|
|
74
57
|
},
|
|
75
58
|
destroyed() {
|
|
76
|
-
for (const
|
|
77
|
-
|
|
78
|
-
}
|
|
59
|
+
for (const e in this.cache)
|
|
60
|
+
h(this.cache, e, this.keys);
|
|
79
61
|
},
|
|
80
62
|
mounted() {
|
|
81
|
-
this.cacheVNode()
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
this.$watch("exclude", (val) => {
|
|
86
|
-
pruneCache(this, (name) => !matches(val, name));
|
|
63
|
+
this.cacheVNode(), this.$watch("include", (e) => {
|
|
64
|
+
p(this, (t) => l(e, t));
|
|
65
|
+
}), this.$watch("exclude", (e) => {
|
|
66
|
+
p(this, (t) => !l(e, t));
|
|
87
67
|
});
|
|
88
68
|
},
|
|
89
69
|
updated() {
|
|
@@ -91,76 +71,49 @@ const __vue2_script = {
|
|
|
91
71
|
},
|
|
92
72
|
methods: {
|
|
93
73
|
cacheVNode() {
|
|
94
|
-
const { cache, keys, vnodeToCache, keyToCache } = this;
|
|
95
|
-
if (
|
|
96
|
-
const { tag, componentInstance, componentOptions } =
|
|
97
|
-
|
|
98
|
-
name:
|
|
99
|
-
tag,
|
|
100
|
-
cid:
|
|
101
|
-
componentInstance
|
|
102
|
-
};
|
|
103
|
-
keys.push(keyToCache);
|
|
104
|
-
if (this.max && keys.length > parseInt(this.max)) {
|
|
105
|
-
pruneCacheEntry(cache, keys[0], keys, this._vnode);
|
|
106
|
-
}
|
|
107
|
-
this.vnodeToCache = null;
|
|
74
|
+
const { cache: e, keys: t, vnodeToCache: n, keyToCache: o } = this;
|
|
75
|
+
if (n) {
|
|
76
|
+
const { tag: c, componentInstance: i, componentOptions: s } = n;
|
|
77
|
+
e[o] = {
|
|
78
|
+
name: f(s),
|
|
79
|
+
tag: c,
|
|
80
|
+
cid: s.Ctor.cid,
|
|
81
|
+
componentInstance: i
|
|
82
|
+
}, t.push(o), this.max && t.length > parseInt(this.max) && h(e, t[0], t, this._vnode), this.vnodeToCache = null;
|
|
108
83
|
}
|
|
109
84
|
}
|
|
110
85
|
},
|
|
111
86
|
render() {
|
|
112
|
-
const
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
const {
|
|
118
|
-
|
|
119
|
-
return vnode;
|
|
120
|
-
}
|
|
121
|
-
const { cache, keys } = this;
|
|
122
|
-
const key = vnode.key == null ? componentOptions.Ctor.cid + (componentOptions.tag ? `::${componentOptions.tag}` : "") : vnode.key;
|
|
123
|
-
const entry = cache[key];
|
|
124
|
-
if (entry) {
|
|
125
|
-
if (entry.cid === componentOptions.Ctor.cid) {
|
|
126
|
-
vnode.componentInstance = entry.componentInstance;
|
|
127
|
-
remove(keys, key);
|
|
128
|
-
keys.push(key);
|
|
129
|
-
} else {
|
|
130
|
-
entry.componentInstance.$destroy();
|
|
131
|
-
cache[key] = null;
|
|
132
|
-
this.vnodeToCache = vnode;
|
|
133
|
-
this.keyToCache = key;
|
|
134
|
-
}
|
|
135
|
-
} else {
|
|
136
|
-
this.vnodeToCache = vnode;
|
|
137
|
-
this.keyToCache = key;
|
|
138
|
-
}
|
|
139
|
-
vnode.data.keepAlive = true;
|
|
87
|
+
const e = this.$slots.default, t = v(e), n = t && t.componentOptions;
|
|
88
|
+
if (n) {
|
|
89
|
+
const o = f(n), { include: c, exclude: i } = this;
|
|
90
|
+
if (c && (!o || !l(c, o)) || i && o && l(i, o))
|
|
91
|
+
return t;
|
|
92
|
+
const { cache: s, keys: a } = this, r = t.key == null ? n.Ctor.cid + (n.tag ? `::${n.tag}` : "") : t.key, u = s[r];
|
|
93
|
+
u ? u.cid === n.Ctor.cid ? (t.componentInstance = u.componentInstance, y(a, r), a.push(r)) : (u.componentInstance.$destroy(), s[r] = null, this.vnodeToCache = t, this.keyToCache = r) : (this.vnodeToCache = t, this.keyToCache = r), t.data.keepAlive = !0;
|
|
140
94
|
}
|
|
141
|
-
return
|
|
95
|
+
return t || e && e[0];
|
|
142
96
|
}
|
|
143
97
|
};
|
|
144
|
-
let
|
|
145
|
-
const
|
|
146
|
-
var
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
98
|
+
let A, O;
|
|
99
|
+
const m = {};
|
|
100
|
+
var T = /* @__PURE__ */ _(
|
|
101
|
+
k,
|
|
102
|
+
A,
|
|
103
|
+
O,
|
|
104
|
+
!1,
|
|
105
|
+
I,
|
|
152
106
|
null,
|
|
153
107
|
null,
|
|
154
108
|
null
|
|
155
109
|
);
|
|
156
|
-
function
|
|
157
|
-
for (let
|
|
158
|
-
this[
|
|
159
|
-
}
|
|
110
|
+
function I(e) {
|
|
111
|
+
for (let t in m)
|
|
112
|
+
this[t] = m[t];
|
|
160
113
|
}
|
|
161
|
-
const
|
|
162
|
-
return
|
|
114
|
+
const b = /* @__PURE__ */ function() {
|
|
115
|
+
return T.exports;
|
|
163
116
|
}();
|
|
164
117
|
export {
|
|
165
|
-
|
|
118
|
+
b as default
|
|
166
119
|
};
|
|
@@ -1,28 +1,24 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
var _c = _vm._self._c || _h;
|
|
6
|
-
return _c("div", {
|
|
1
|
+
import { n as o } from "../../chunks/5d4282fb.js";
|
|
2
|
+
var s = function() {
|
|
3
|
+
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
4
|
+
return n("div", {
|
|
7
5
|
staticClass: "loading-view",
|
|
8
6
|
style: {
|
|
9
|
-
fontSize:
|
|
10
|
-
height:
|
|
7
|
+
fontSize: t.fontSize,
|
|
8
|
+
height: t.height
|
|
11
9
|
}
|
|
12
|
-
}, [
|
|
13
|
-
return [
|
|
10
|
+
}, [t._t("default", function() {
|
|
11
|
+
return [n("div", {
|
|
14
12
|
staticClass: "flex-column horizon-center"
|
|
15
|
-
}, [
|
|
13
|
+
}, [n("i", {
|
|
16
14
|
staticClass: "el-icon-loading",
|
|
17
15
|
style: {
|
|
18
|
-
fontSize:
|
|
16
|
+
fontSize: t.iconSize
|
|
19
17
|
}
|
|
20
|
-
}),
|
|
18
|
+
}), n("p", [t._v(t._s(t.loadingTips))])])];
|
|
21
19
|
})], 2);
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
const LoadingView_vue_vue_type_style_index_0_lang = "";
|
|
25
|
-
const __vue2_script = {
|
|
20
|
+
}, a = [];
|
|
21
|
+
const l = {
|
|
26
22
|
name: "LoadingView",
|
|
27
23
|
props: {
|
|
28
24
|
loadingTips: {
|
|
@@ -42,26 +38,24 @@ const __vue2_script = {
|
|
|
42
38
|
default: "100%"
|
|
43
39
|
}
|
|
44
40
|
}
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
__vue2_injectStyles,
|
|
41
|
+
}, i = {};
|
|
42
|
+
var r = /* @__PURE__ */ o(
|
|
43
|
+
l,
|
|
44
|
+
s,
|
|
45
|
+
a,
|
|
46
|
+
!1,
|
|
47
|
+
_,
|
|
53
48
|
null,
|
|
54
49
|
null,
|
|
55
50
|
null
|
|
56
51
|
);
|
|
57
|
-
function
|
|
58
|
-
for (let
|
|
59
|
-
this[
|
|
60
|
-
}
|
|
52
|
+
function _(t) {
|
|
53
|
+
for (let e in i)
|
|
54
|
+
this[e] = i[e];
|
|
61
55
|
}
|
|
62
|
-
const
|
|
63
|
-
return
|
|
56
|
+
const u = /* @__PURE__ */ function() {
|
|
57
|
+
return r.exports;
|
|
64
58
|
}();
|
|
65
59
|
export {
|
|
66
|
-
|
|
60
|
+
u as default
|
|
67
61
|
};
|
|
@@ -1,17 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/* 应用头部高度 */
|
|
3
|
-
/* 页面宽度 */
|
|
4
|
-
/* 侧栏宽度 */
|
|
5
|
-
/* 标签高度 */
|
|
6
|
-
/* 页面头部工具条高度 */
|
|
7
|
-
.loading-view {
|
|
8
|
-
position: relative;
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
width: 100%;
|
|
13
|
-
height: 100%;
|
|
14
|
-
color: #909399;
|
|
15
|
-
font-size: 20px;
|
|
16
|
-
background-color: #fff;
|
|
17
|
-
}
|
|
1
|
+
.loading-view{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#909399;font-size:20px;background-color:#fff}
|
|
@@ -1,62 +1,52 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
var _c = _vm._self._c || _h;
|
|
6
|
-
return _c("div", {
|
|
1
|
+
import { n as a } from "../../chunks/5d4282fb.js";
|
|
2
|
+
var r = function() {
|
|
3
|
+
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
4
|
+
return n("div", {
|
|
7
5
|
staticClass: "nav-bar"
|
|
8
|
-
}, [
|
|
6
|
+
}, [t.showBack ? n("ElButton", {
|
|
9
7
|
attrs: {
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
type: "text",
|
|
9
|
+
icon: "el-icon-arrow-left"
|
|
12
10
|
},
|
|
13
11
|
on: {
|
|
14
|
-
|
|
12
|
+
click: t.goBack
|
|
15
13
|
}
|
|
16
|
-
}, [
|
|
14
|
+
}, [t._v(" 返回 ")]) : t._e(), t.$slots.right ? n("div", {
|
|
17
15
|
staticClass: "flex-item flex-row-column vertical-center"
|
|
18
|
-
}, [
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
const NavBar_vue_vue_type_style_index_0_lang = "";
|
|
22
|
-
const __vue2_script = {
|
|
16
|
+
}, [t._t("right")], 2) : t._e()], 1);
|
|
17
|
+
}, s = [];
|
|
18
|
+
const c = {
|
|
23
19
|
name: "NavBar",
|
|
24
20
|
props: {
|
|
25
21
|
onGoBack: Function,
|
|
26
22
|
showBack: {
|
|
27
23
|
type: Boolean,
|
|
28
|
-
default:
|
|
24
|
+
default: !0
|
|
29
25
|
}
|
|
30
26
|
},
|
|
31
27
|
methods: {
|
|
32
28
|
goBack() {
|
|
33
|
-
|
|
34
|
-
this.onGoBack();
|
|
35
|
-
} else {
|
|
36
|
-
this.$router.back();
|
|
37
|
-
}
|
|
29
|
+
this.onGoBack ? this.onGoBack() : this.$router.back();
|
|
38
30
|
}
|
|
39
31
|
}
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
__vue2_injectStyles,
|
|
32
|
+
}, o = {};
|
|
33
|
+
var l = /* @__PURE__ */ a(
|
|
34
|
+
c,
|
|
35
|
+
r,
|
|
36
|
+
s,
|
|
37
|
+
!1,
|
|
38
|
+
i,
|
|
48
39
|
null,
|
|
49
40
|
null,
|
|
50
41
|
null
|
|
51
42
|
);
|
|
52
|
-
function
|
|
53
|
-
for (let
|
|
54
|
-
this[
|
|
55
|
-
}
|
|
43
|
+
function i(t) {
|
|
44
|
+
for (let e in o)
|
|
45
|
+
this[e] = o[e];
|
|
56
46
|
}
|
|
57
|
-
const
|
|
58
|
-
return
|
|
47
|
+
const u = /* @__PURE__ */ function() {
|
|
48
|
+
return l.exports;
|
|
59
49
|
}();
|
|
60
50
|
export {
|
|
61
|
-
|
|
51
|
+
u as default
|
|
62
52
|
};
|
|
@@ -1,17 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/* 应用头部高度 */
|
|
3
|
-
/* 页面宽度 */
|
|
4
|
-
/* 侧栏宽度 */
|
|
5
|
-
/* 标签高度 */
|
|
6
|
-
/* 页面头部工具条高度 */
|
|
7
|
-
.nav-bar {
|
|
8
|
-
flex-shrink: 0;
|
|
9
|
-
display: flex;
|
|
10
|
-
width: 100%;
|
|
11
|
-
height: 40px;
|
|
12
|
-
background-color: #fff;
|
|
13
|
-
border-bottom: 1px #eee solid;
|
|
14
|
-
}
|
|
15
|
-
.nav-bar .el-button--text {
|
|
16
|
-
margin-left: 12px;
|
|
17
|
-
}
|
|
1
|
+
.nav-bar{flex-shrink:0;display:flex;width:100%;height:40px;background-color:#fff;border-bottom:1px #eee solid}.nav-bar .el-button--text{margin-left:12px}
|