@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,82 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/* 应用头部高度 */
|
|
3
|
-
/* 页面宽度 */
|
|
4
|
-
/* 侧栏宽度 */
|
|
5
|
-
/* 标签高度 */
|
|
6
|
-
/* 页面头部工具条高度 */
|
|
7
|
-
.editable-tree {
|
|
8
|
-
position: relative;
|
|
9
|
-
}
|
|
10
|
-
.editable-tree.et-tree-label-overflow-visible .et-tree-label {
|
|
11
|
-
position: static;
|
|
12
|
-
}
|
|
13
|
-
.et-tree-wrapper {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
width: 100%;
|
|
17
|
-
overflow: auto;
|
|
18
|
-
text-align: left;
|
|
19
|
-
}
|
|
20
|
-
.et-tree-wrapper .el-tree {
|
|
21
|
-
display: table;
|
|
22
|
-
width: 100%;
|
|
23
|
-
overflow: visible;
|
|
24
|
-
}
|
|
25
|
-
.et-tree-wrapper .el-button + .el-button {
|
|
26
|
-
margin-left: 8px !important;
|
|
27
|
-
}
|
|
28
|
-
.et-tree-wrapper .el-input__inner {
|
|
29
|
-
padding: 0 4px;
|
|
30
|
-
}
|
|
31
|
-
.et-tree-wrapper .custom-tree-node {
|
|
32
|
-
display: flex;
|
|
33
|
-
align-items: center;
|
|
34
|
-
width: 100%;
|
|
35
|
-
padding-right: 8px;
|
|
36
|
-
font-size: 14px;
|
|
37
|
-
}
|
|
38
|
-
.et-tree-wrapper .custom-tree-node:hover .handle-actions {
|
|
39
|
-
display: block;
|
|
40
|
-
}
|
|
41
|
-
.et-tree-wrapper .custom-tree-node .handle-actions {
|
|
42
|
-
display: none;
|
|
43
|
-
align-self: flex-end;
|
|
44
|
-
}
|
|
45
|
-
.et-tree-wrapper .custom-tree-node .node-icon {
|
|
46
|
-
margin-top: 2px;
|
|
47
|
-
margin-right: 4px;
|
|
48
|
-
}
|
|
49
|
-
.et-tree-wrapper .node-label {
|
|
50
|
-
align-items: center;
|
|
51
|
-
}
|
|
52
|
-
.et-tree-wrapper .node-input {
|
|
53
|
-
min-width: 140px;
|
|
54
|
-
margin-right: 10px;
|
|
55
|
-
}
|
|
56
|
-
.et-tree-wrapper .menu {
|
|
57
|
-
position: fixed;
|
|
58
|
-
z-index: 3;
|
|
59
|
-
padding: 0;
|
|
60
|
-
background: #fff;
|
|
61
|
-
border-radius: 4px;
|
|
62
|
-
box-shadow: 0 5px 10px #bebebe;
|
|
63
|
-
}
|
|
64
|
-
.et-tree-wrapper .menu-item {
|
|
65
|
-
display: block;
|
|
66
|
-
padding: 8px 20px 8px 8px;
|
|
67
|
-
color: #242f42;
|
|
68
|
-
font: normal 11px tahoma, arial, sans-serif;
|
|
69
|
-
line-height: 100%;
|
|
70
|
-
white-space: nowrap;
|
|
71
|
-
cursor: pointer;
|
|
72
|
-
user-select: none;
|
|
73
|
-
}
|
|
74
|
-
.et-tree-wrapper .menu .menu-item:hover {
|
|
75
|
-
color: #66b1ff;
|
|
76
|
-
background-color: #ecf5ff;
|
|
77
|
-
}
|
|
78
|
-
.et-tree-wrapper .menu-item-icon {
|
|
79
|
-
margin-right: 4px;
|
|
80
|
-
font-weight: 700;
|
|
81
|
-
font-size: 1.3em;
|
|
82
|
-
}
|
|
1
|
+
.editable-tree{position:relative}.editable-tree.et-tree-label-overflow-visible .et-tree-label{position:static}.et-tree-wrapper{display:flex;flex-direction:column;width:100%;overflow:auto;text-align:left}.et-tree-wrapper .el-tree{display:table;width:100%;overflow:visible}.et-tree-wrapper .el-button+.el-button{margin-left:8px!important}.et-tree-wrapper .el-input__inner{padding:0 4px}.et-tree-wrapper .custom-tree-node{display:flex;align-items:center;width:100%;padding-right:8px;font-size:14px}.et-tree-wrapper .custom-tree-node:hover .handle-actions{display:block}.et-tree-wrapper .custom-tree-node .handle-actions{display:none;align-self:flex-end}.et-tree-wrapper .custom-tree-node .node-icon{margin-top:2px;margin-right:4px}.et-tree-wrapper .node-label{align-items:center}.et-tree-wrapper .node-input{min-width:140px;margin-right:10px}.et-tree-wrapper .menu{position:fixed;z-index:3;padding:0;background:#fff;border-radius:4px;box-shadow:0 5px 10px #bebebe}.et-tree-wrapper .menu-item{display:block;padding:8px 20px 8px 8px;color:#242f42;font: 11px tahoma,arial,sans-serif;line-height:100%;white-space:nowrap;cursor:pointer;user-select:none}.et-tree-wrapper .menu .menu-item:hover{color:#66b1ff;background-color:#ecf5ff}.et-tree-wrapper .menu-item-icon{margin-right:4px;font-weight:700;font-size:1.3em}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { n
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
var _c = _vm._self._c || _h;
|
|
6
|
-
return _c("div", {
|
|
1
|
+
import { n } from "../../chunks/5d4282fb.js";
|
|
2
|
+
var i = function() {
|
|
3
|
+
var e = this, t = e.$createElement, s = e._self._c || t;
|
|
4
|
+
return s("div", {
|
|
7
5
|
staticClass: "el-collapse",
|
|
8
6
|
attrs: {
|
|
9
|
-
|
|
7
|
+
role: "tablist",
|
|
10
8
|
"aria-multiselectable": "true"
|
|
11
9
|
}
|
|
12
|
-
}, [
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
const __vue2_script = {
|
|
10
|
+
}, [e._t("default")], 2);
|
|
11
|
+
}, c = [];
|
|
12
|
+
const l = {
|
|
16
13
|
name: "EgdCollapse",
|
|
17
14
|
componentName: "EgdCollapse",
|
|
18
15
|
provide() {
|
|
@@ -35,58 +32,48 @@ const __vue2_script = {
|
|
|
35
32
|
};
|
|
36
33
|
},
|
|
37
34
|
watch: {
|
|
38
|
-
value(
|
|
39
|
-
this.activeNames = [].concat(
|
|
35
|
+
value(e) {
|
|
36
|
+
this.activeNames = [].concat(e);
|
|
40
37
|
}
|
|
41
38
|
},
|
|
42
39
|
created() {
|
|
43
40
|
this.$on("item-click", this.handleItemClick);
|
|
44
41
|
},
|
|
45
42
|
methods: {
|
|
46
|
-
setActiveNames(
|
|
47
|
-
|
|
48
|
-
const
|
|
49
|
-
this.activeNames =
|
|
50
|
-
this.$emit("input", value);
|
|
51
|
-
this.$emit("change", value);
|
|
43
|
+
setActiveNames(e) {
|
|
44
|
+
e = [].concat(e);
|
|
45
|
+
const t = this.accordion ? e[0] : e;
|
|
46
|
+
this.activeNames = e, this.$emit("input", t), this.$emit("change", t);
|
|
52
47
|
},
|
|
53
|
-
handleItemClick(
|
|
54
|
-
if (this.accordion)
|
|
48
|
+
handleItemClick(e) {
|
|
49
|
+
if (this.accordion)
|
|
55
50
|
this.setActiveNames(
|
|
56
|
-
(this.activeNames[0] || this.activeNames[0] === 0) && this.activeNames[0] ===
|
|
51
|
+
(this.activeNames[0] || this.activeNames[0] === 0) && this.activeNames[0] === e.name ? "" : e.name
|
|
57
52
|
);
|
|
58
|
-
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
if (index > -1) {
|
|
62
|
-
activeNames.splice(index, 1);
|
|
63
|
-
} else {
|
|
64
|
-
activeNames.push(item.name);
|
|
65
|
-
}
|
|
66
|
-
this.setActiveNames(activeNames);
|
|
53
|
+
else {
|
|
54
|
+
const t = this.activeNames.slice(0), s = t.indexOf(e.name);
|
|
55
|
+
s > -1 ? t.splice(s, 1) : t.push(e.name), this.setActiveNames(t);
|
|
67
56
|
}
|
|
68
57
|
}
|
|
69
58
|
}
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
__vue2_injectStyles,
|
|
59
|
+
}, a = {};
|
|
60
|
+
var o = /* @__PURE__ */ n(
|
|
61
|
+
l,
|
|
62
|
+
i,
|
|
63
|
+
c,
|
|
64
|
+
!1,
|
|
65
|
+
r,
|
|
78
66
|
null,
|
|
79
67
|
null,
|
|
80
68
|
null
|
|
81
69
|
);
|
|
82
|
-
function
|
|
83
|
-
for (let
|
|
84
|
-
this[
|
|
85
|
-
}
|
|
70
|
+
function r(e) {
|
|
71
|
+
for (let t in a)
|
|
72
|
+
this[t] = a[t];
|
|
86
73
|
}
|
|
87
|
-
const
|
|
88
|
-
return
|
|
74
|
+
const u = /* @__PURE__ */ function() {
|
|
75
|
+
return o.exports;
|
|
89
76
|
}();
|
|
90
77
|
export {
|
|
91
|
-
|
|
78
|
+
u as default
|
|
92
79
|
};
|
|
@@ -1,82 +1,76 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { generateId } from "element-ui/src/utils/util";
|
|
3
|
-
import { n as
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
var _c = _vm._self._c || _h;
|
|
8
|
-
return _c("div", {
|
|
1
|
+
import a from "element-ui/src/mixins/emitter";
|
|
2
|
+
import { generateId as n } from "element-ui/src/utils/util";
|
|
3
|
+
import { n as c } from "../../chunks/5d4282fb.js";
|
|
4
|
+
var o = function() {
|
|
5
|
+
var e = this, s = e.$createElement, t = e._self._c || s;
|
|
6
|
+
return t("div", {
|
|
9
7
|
staticClass: "el-collapse-item",
|
|
10
8
|
class: {
|
|
11
|
-
"is-active":
|
|
12
|
-
"is-disabled":
|
|
9
|
+
"is-active": e.isActive,
|
|
10
|
+
"is-disabled": e.disabled
|
|
13
11
|
}
|
|
14
|
-
}, [
|
|
12
|
+
}, [t("div", {
|
|
15
13
|
attrs: {
|
|
16
|
-
|
|
17
|
-
"aria-expanded":
|
|
18
|
-
"aria-controls": `el-collapse-content-${
|
|
19
|
-
"aria-describedby": `el-collapse-content-${
|
|
14
|
+
role: "tab",
|
|
15
|
+
"aria-expanded": e.isActive,
|
|
16
|
+
"aria-controls": `el-collapse-content-${e.id}`,
|
|
17
|
+
"aria-describedby": `el-collapse-content-${e.id}`
|
|
20
18
|
}
|
|
21
|
-
}, [
|
|
19
|
+
}, [t("div", {
|
|
22
20
|
staticClass: "el-collapse-item__header",
|
|
23
21
|
class: {
|
|
24
|
-
|
|
25
|
-
"is-active":
|
|
22
|
+
focusing: e.focusing,
|
|
23
|
+
"is-active": e.isActive
|
|
26
24
|
},
|
|
27
25
|
attrs: {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
id: `el-collapse-head-${e.id}`,
|
|
27
|
+
role: "button",
|
|
28
|
+
tabindex: e.disabled ? void 0 : 0
|
|
31
29
|
},
|
|
32
30
|
on: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
return null;
|
|
37
|
-
$event.stopPropagation();
|
|
38
|
-
return _vm.handleEnterClick.apply(null, arguments);
|
|
31
|
+
click: e.handleHeaderClick,
|
|
32
|
+
keyup: function(i) {
|
|
33
|
+
return !i.type.indexOf("key") && e._k(i.keyCode, "space", 32, i.key, [" ", "Spacebar"]) && e._k(i.keyCode, "enter", 13, i.key, "Enter") ? null : (i.stopPropagation(), e.handleEnterClick.apply(null, arguments));
|
|
39
34
|
},
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
35
|
+
focus: e.handleFocus,
|
|
36
|
+
blur: function(i) {
|
|
37
|
+
e.focusing = !1;
|
|
43
38
|
}
|
|
44
39
|
}
|
|
45
|
-
}, [
|
|
40
|
+
}, [t("i", {
|
|
46
41
|
staticClass: "el-collapse-item__arrow el-icon-arrow-right",
|
|
47
42
|
class: {
|
|
48
|
-
"is-active":
|
|
43
|
+
"is-active": e.isActive
|
|
49
44
|
},
|
|
50
45
|
staticStyle: {
|
|
51
|
-
|
|
46
|
+
margin: "0 4px 0 0"
|
|
52
47
|
}
|
|
53
|
-
}),
|
|
54
|
-
return [
|
|
48
|
+
}), e._t("title", function() {
|
|
49
|
+
return [e._v(" " + e._s(e.title) + " ")];
|
|
55
50
|
}, {
|
|
56
|
-
|
|
57
|
-
})], 2)]),
|
|
51
|
+
title: e.title
|
|
52
|
+
})], 2)]), t("ElCollapseTransition", [t("div", {
|
|
58
53
|
directives: [{
|
|
59
54
|
name: "show",
|
|
60
55
|
rawName: "v-show",
|
|
61
|
-
value:
|
|
56
|
+
value: e.isActive,
|
|
62
57
|
expression: "isActive"
|
|
63
58
|
}],
|
|
64
59
|
staticClass: "el-collapse-item__wrap",
|
|
65
60
|
attrs: {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"aria-hidden": !
|
|
69
|
-
"aria-labelledby": `el-collapse-head-${
|
|
61
|
+
id: `el-collapse-content-${e.id}`,
|
|
62
|
+
role: "tabpanel",
|
|
63
|
+
"aria-hidden": !e.isActive,
|
|
64
|
+
"aria-labelledby": `el-collapse-head-${e.id}`
|
|
70
65
|
}
|
|
71
|
-
}, [
|
|
66
|
+
}, [t("div", {
|
|
72
67
|
staticClass: "el-collapse-item__content"
|
|
73
|
-
}, [
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
const __vue2_script = {
|
|
68
|
+
}, [e._t("default")], 2)])])], 1);
|
|
69
|
+
}, r = [];
|
|
70
|
+
const d = {
|
|
77
71
|
name: "EgdCollapseItem",
|
|
78
72
|
componentName: "EgdCollapseItem",
|
|
79
|
-
mixins: [
|
|
73
|
+
mixins: [a],
|
|
80
74
|
inject: ["collapse"],
|
|
81
75
|
props: {
|
|
82
76
|
title: {
|
|
@@ -92,9 +86,9 @@ const __vue2_script = {
|
|
|
92
86
|
},
|
|
93
87
|
data() {
|
|
94
88
|
return {
|
|
95
|
-
focusing:
|
|
96
|
-
isClick:
|
|
97
|
-
id:
|
|
89
|
+
focusing: !1,
|
|
90
|
+
isClick: !1,
|
|
91
|
+
id: n()
|
|
98
92
|
};
|
|
99
93
|
},
|
|
100
94
|
computed: {
|
|
@@ -105,44 +99,34 @@ const __vue2_script = {
|
|
|
105
99
|
methods: {
|
|
106
100
|
handleFocus() {
|
|
107
101
|
setTimeout(() => {
|
|
108
|
-
|
|
109
|
-
this.focusing = true;
|
|
110
|
-
} else {
|
|
111
|
-
this.isClick = false;
|
|
112
|
-
}
|
|
102
|
+
this.isClick ? this.isClick = !1 : this.focusing = !0;
|
|
113
103
|
}, 50);
|
|
114
104
|
},
|
|
115
105
|
handleHeaderClick() {
|
|
116
|
-
|
|
117
|
-
return;
|
|
118
|
-
this.dispatch("EgdCollapse", "item-click", this);
|
|
119
|
-
this.focusing = false;
|
|
120
|
-
this.isClick = true;
|
|
106
|
+
this.disabled || (this.dispatch("EgdCollapse", "item-click", this), this.focusing = !1, this.isClick = !0);
|
|
121
107
|
},
|
|
122
108
|
handleEnterClick() {
|
|
123
109
|
this.dispatch("EgdCollapse", "item-click", this);
|
|
124
110
|
}
|
|
125
111
|
}
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
__vue2_injectStyles,
|
|
112
|
+
}, l = {};
|
|
113
|
+
var p = /* @__PURE__ */ c(
|
|
114
|
+
d,
|
|
115
|
+
o,
|
|
116
|
+
r,
|
|
117
|
+
!1,
|
|
118
|
+
u,
|
|
134
119
|
null,
|
|
135
120
|
null,
|
|
136
121
|
null
|
|
137
122
|
);
|
|
138
|
-
function
|
|
139
|
-
for (let
|
|
140
|
-
this[
|
|
141
|
-
}
|
|
123
|
+
function u(e) {
|
|
124
|
+
for (let s in l)
|
|
125
|
+
this[s] = l[s];
|
|
142
126
|
}
|
|
143
|
-
const
|
|
144
|
-
return
|
|
127
|
+
const _ = /* @__PURE__ */ function() {
|
|
128
|
+
return p.exports;
|
|
145
129
|
}();
|
|
146
130
|
export {
|
|
147
|
-
|
|
131
|
+
_ as default
|
|
148
132
|
};
|