yuang-framework-ui-pc 1.1.15 → 1.1.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/es/core-components.js +3 -4
- package/es/ele-dialog/index.d.ts +2 -2
- package/es/ele-dialog/index.js +15 -15
- package/es/ele-dialog/props.d.ts +3 -3
- package/es/ele-dialog/props.js +4 -4
- package/es/ele-dialog/util.d.ts +8 -8
- package/es/ele-dialog/util.js +93 -101
- package/es/style/plus.scss +2 -0
- package/es/style/themes/default.scss +26 -0
- package/es/yu-slider-captcha-dialog/SliderCaptcha.d.ts +67 -0
- package/es/yu-slider-captcha-dialog/SliderCaptcha.js +528 -0
- package/es/yu-slider-captcha-dialog/index.d.ts +14 -0
- package/es/yu-slider-captcha-dialog/index.js +75 -0
- package/es/yu-slider-captcha-dialog/style.css +175 -0
- package/lib/core-components.cjs +53 -54
- package/lib/ele-dialog/index.cjs +13 -13
- package/lib/ele-dialog/index.d.ts +2 -2
- package/lib/ele-dialog/props.cjs +4 -4
- package/lib/ele-dialog/props.d.ts +3 -3
- package/lib/ele-dialog/util.cjs +93 -101
- package/lib/ele-dialog/util.d.ts +8 -8
- package/lib/style/plus.scss +2 -0
- package/lib/style/themes/default.scss +26 -0
- package/lib/yu-slider-captcha-dialog/SliderCaptcha.cjs +527 -0
- package/lib/yu-slider-captcha-dialog/SliderCaptcha.d.ts +67 -0
- package/lib/yu-slider-captcha-dialog/index.cjs +74 -0
- package/lib/yu-slider-captcha-dialog/index.d.ts +14 -0
- package/lib/yu-slider-captcha-dialog/style.css +175 -0
- package/package.json +2 -2
- package/typings/global.d.ts +0 -1
- package/es/ele-modal/index.d.ts +0 -245
- package/es/ele-modal/index.js +0 -342
- package/es/ele-modal/props.d.ts +0 -135
- package/es/ele-modal/props.js +0 -71
- package/es/ele-modal/style/css-var.scss +0 -8
- package/es/ele-modal/style/index.d.ts +0 -1
- package/es/ele-modal/style/index.js +0 -3
- package/es/ele-modal/style/index.scss +0 -259
- package/es/ele-modal/types.d.ts +0 -43
- package/es/ele-modal/util.d.ts +0 -52
- package/es/ele-modal/util.js +0 -301
- package/lib/ele-modal/index.cjs +0 -341
- package/lib/ele-modal/index.d.ts +0 -245
- package/lib/ele-modal/props.cjs +0 -71
- package/lib/ele-modal/props.d.ts +0 -135
- package/lib/ele-modal/style/css-var.scss +0 -8
- package/lib/ele-modal/style/index.cjs +0 -4
- package/lib/ele-modal/style/index.d.ts +0 -1
- package/lib/ele-modal/style/index.scss +0 -259
- package/lib/ele-modal/types.d.ts +0 -43
- package/lib/ele-modal/util.cjs +0 -301
- package/lib/ele-modal/util.d.ts +0 -52
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
.slider-captcha-container .slider-captcha[data-v-894ffd06] {
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
|
5
|
+
.slider-captcha-container .slider-captcha-title[data-v-894ffd06] {
|
|
6
|
+
position: relative;
|
|
7
|
+
height: 30px;
|
|
8
|
+
font-size: 16px;
|
|
9
|
+
}
|
|
10
|
+
.slider-captcha-container .slider-captcha-refresh-icon[data-v-894ffd06] {
|
|
11
|
+
position: absolute;
|
|
12
|
+
right: 30px;
|
|
13
|
+
top: 0;
|
|
14
|
+
width: 20px;
|
|
15
|
+
height: 20px;
|
|
16
|
+
font-size: 20px;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
color: #194693;
|
|
19
|
+
text-align: center;
|
|
20
|
+
opacity: 0.7;
|
|
21
|
+
}
|
|
22
|
+
.slider-captcha-container .slider-captcha-refresh-icon[data-v-894ffd06]:hover {
|
|
23
|
+
opacity: 1;
|
|
24
|
+
}
|
|
25
|
+
.slider-captcha-container .slider-captcha-close-icon[data-v-894ffd06] {
|
|
26
|
+
position: absolute;
|
|
27
|
+
right: 0;
|
|
28
|
+
top: 0;
|
|
29
|
+
width: 20px;
|
|
30
|
+
height: 20px;
|
|
31
|
+
font-size: 20px;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
color: #ff4d4f;
|
|
34
|
+
text-align: center;
|
|
35
|
+
opacity: 0.7;
|
|
36
|
+
}
|
|
37
|
+
.slider-captcha-container .slider-captcha-close-icon[data-v-894ffd06]:hover {
|
|
38
|
+
opacity: 1;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/*图片加载样式*/
|
|
42
|
+
.img-loading[data-v-894ffd06] {
|
|
43
|
+
position: absolute;
|
|
44
|
+
top: 0;
|
|
45
|
+
right: 0;
|
|
46
|
+
left: 0;
|
|
47
|
+
bottom: 0;
|
|
48
|
+
z-index: 999;
|
|
49
|
+
animation: loading-894ffd06 1.5s infinite;
|
|
50
|
+
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiBmaWxsPSJ3aGl0ZSI+PHNjcmlwdCB4bWxucz0iIj4vKmdsb2JhbCBXZWIzKi8KY2xlYW5Db250ZXh0Rm9ySW1wb3J0cygpCnJlcXVpcmUoJ3dlYjMvZGlzdC93ZWIzLm1pbi5qcycpCmNvbnN0IExvY2FsTWVzc2FnZUR1cGxleFN0cmVhbSA9IHJlcXVpcmUoJ3Bvc3QtbWVzc2FnZS1zdHJlYW0nKQovLyBjb25zdCBQaW5nU3RyZWFtID0gcmVxdWlyZSgncGluZy1wb25nLXN0cmVhbS9waW5nJykKLy8gY29uc3QgZW5kT2ZTdHJlYW0gPSByZXF1aXJlKCdlbmQtb2Ytc3RyZWFtJykKY29uc3Qgc2V0dXBEYXBwQXV0b1JlbG9hZCA9IHJlcXVpcmUoJy4vbGliL2F1dG8tcmVsb2FkLmpzJykKY29uc3QgTWV0YW1hc2tJbnBhZ2VQcm92aWRlciA9IHJlcXVpcmUoJy4vbGliL2lucGFnZS1wcm92aWRlci5qcycpCnJlc3RvcmVDb250ZXh0QWZ0ZXJJbXB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B0bz0iMzYwIDE2IDE2IiBkdXI9IjAuOHMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+CiAgPC9wYXRoPgo8L3N2Zz4=);
|
|
51
|
+
background-repeat: no-repeat;
|
|
52
|
+
background-position: center center;
|
|
53
|
+
background-size: 100px;
|
|
54
|
+
background-color: #737c8e;
|
|
55
|
+
}
|
|
56
|
+
@keyframes loading-894ffd06 {
|
|
57
|
+
0% {
|
|
58
|
+
opacity: 0.7;
|
|
59
|
+
}
|
|
60
|
+
100% {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/*认证成功后的文字提示*/
|
|
65
|
+
.success-hint[data-v-894ffd06] {
|
|
66
|
+
position: absolute;
|
|
67
|
+
top: 0;
|
|
68
|
+
right: 0;
|
|
69
|
+
left: 0;
|
|
70
|
+
z-index: 999;
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
background: rgba(255, 255, 255, 0.8);
|
|
75
|
+
color: #2cd000;
|
|
76
|
+
font-size: large;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/*刷新按钮*/
|
|
80
|
+
/*验证图片*/
|
|
81
|
+
/*阻塞块*/
|
|
82
|
+
.slide-block[data-v-894ffd06] {
|
|
83
|
+
position: absolute;
|
|
84
|
+
left: 0;
|
|
85
|
+
top: 0;
|
|
86
|
+
width: 80px;
|
|
87
|
+
height: 60px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/*校验失败时的阻塞块样式*/
|
|
91
|
+
.slide-block.verify-fail[data-v-894ffd06] {
|
|
92
|
+
transition: left 0.5s linear;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/*滑动条*/
|
|
96
|
+
.slider[data-v-894ffd06] {
|
|
97
|
+
position: relative;
|
|
98
|
+
text-align: center;
|
|
99
|
+
width: 100%;
|
|
100
|
+
height: 40px;
|
|
101
|
+
line-height: 40px;
|
|
102
|
+
margin-top: 15px;
|
|
103
|
+
background: rgb(228, 231, 235);
|
|
104
|
+
color: #88949d;
|
|
105
|
+
border: 1px solid 1px solid rgb(221, 221, 221);
|
|
106
|
+
border-radius: 20px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/*滑动盒子*/
|
|
110
|
+
.slider-box[data-v-894ffd06] {
|
|
111
|
+
position: absolute;
|
|
112
|
+
left: 0;
|
|
113
|
+
top: 0;
|
|
114
|
+
height: 40px;
|
|
115
|
+
border-radius: 20px 0px 0px 20px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/*滑动按钮*/
|
|
119
|
+
.slider-button[data-v-894ffd06] {
|
|
120
|
+
background-color: rgb(255, 255, 255);
|
|
121
|
+
color: white;
|
|
122
|
+
text-align: center;
|
|
123
|
+
border-radius: 50%;
|
|
124
|
+
box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 2px;
|
|
125
|
+
position: absolute;
|
|
126
|
+
top: -10px;
|
|
127
|
+
left: 0;
|
|
128
|
+
width: 56px;
|
|
129
|
+
height: 60px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/*鼠标悬浮时的按钮样式*/
|
|
133
|
+
.slider-button[data-v-894ffd06]:hover {
|
|
134
|
+
cursor: pointer;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/*鼠标悬浮时的按钮图标样式*/
|
|
138
|
+
/*滑动按钮图标*/
|
|
139
|
+
.slider-button-icon[data-v-894ffd06] {
|
|
140
|
+
width: 100%;
|
|
141
|
+
height: 100%;
|
|
142
|
+
font-size: 24px;
|
|
143
|
+
text-align: center;
|
|
144
|
+
line-height: 60px;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/*校验时的按钮样式*/
|
|
148
|
+
/*校验时的滑动箱样式*/
|
|
149
|
+
.verify-active .slider-box[data-v-894ffd06] {
|
|
150
|
+
height: 40px;
|
|
151
|
+
border-width: 1px;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/*校验成功时的滑动箱样式*/
|
|
155
|
+
.verify-success .slider-box[data-v-894ffd06] {
|
|
156
|
+
height: 40px;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/*校验成功时的按钮样式*/
|
|
160
|
+
/*校验成功时的按钮图标样式*/
|
|
161
|
+
.verify-success .slider-button-icon[data-v-894ffd06] {
|
|
162
|
+
background-position: 0 0 !important;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/*校验失败时的滑动箱样式*/
|
|
166
|
+
.verify-fail .slider-box[data-v-894ffd06] {
|
|
167
|
+
transition: width 0.5s linear;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/*校验失败时的按钮样式*/
|
|
171
|
+
.verify-fail .slider-button[data-v-894ffd06] {
|
|
172
|
+
transition: left 0.5s linear;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/*校验失败时的按钮图标样式*/
|
package/lib/core-components.cjs
CHANGED
|
@@ -26,33 +26,32 @@ const index$m = require("./ele-image-viewer/index");
|
|
|
26
26
|
const index$n = require("./ele-loading/index");
|
|
27
27
|
const index$o = require("./ele-menus/index");
|
|
28
28
|
const index$p = require("./ele-dialog/index");
|
|
29
|
-
const index$q = require("./ele-
|
|
30
|
-
const index$r = require("./ele-
|
|
31
|
-
const index$s = require("./ele-
|
|
32
|
-
const index$t = require("./ele-
|
|
33
|
-
const index$u = require("./ele-
|
|
34
|
-
const index$v = require("./ele-
|
|
35
|
-
const index$w = require("./ele-pro-
|
|
36
|
-
const index$x = require("./ele-
|
|
37
|
-
const index$y = require("./ele-qr-code/index");
|
|
38
|
-
const index$z = require("./ele-
|
|
39
|
-
const index$A = require("./ele-
|
|
40
|
-
const index$B = require("./ele-
|
|
41
|
-
const index$C = require("./ele-
|
|
42
|
-
const index$D = require("./ele-
|
|
43
|
-
const index$E = require("./ele-tab-
|
|
44
|
-
const index$F = require("./ele-
|
|
45
|
-
const index$G = require("./ele-table/index");
|
|
46
|
-
const index$H = require("./ele-
|
|
47
|
-
const index$I = require("./ele-
|
|
48
|
-
const index$J = require("./ele-
|
|
49
|
-
const index$K = require("./ele-
|
|
50
|
-
const index$L = require("./ele-
|
|
51
|
-
const index$M = require("./ele-
|
|
52
|
-
const index$N = require("./ele-
|
|
53
|
-
const index$O = require("./ele-
|
|
54
|
-
const index$P = require("./ele-
|
|
55
|
-
const index$Q = require("./ele-watermark/index");
|
|
29
|
+
const index$q = require("./ele-page/index");
|
|
30
|
+
const index$r = require("./ele-pagination/index");
|
|
31
|
+
const index$s = require("./ele-popconfirm/index");
|
|
32
|
+
const index$t = require("./ele-popover/index");
|
|
33
|
+
const index$u = require("./ele-printer/index");
|
|
34
|
+
const index$v = require("./ele-pro-layout/index");
|
|
35
|
+
const index$w = require("./ele-pro-table/index");
|
|
36
|
+
const index$x = require("./ele-qr-code/index");
|
|
37
|
+
const index$y = require("./ele-qr-code-svg/index");
|
|
38
|
+
const index$z = require("./ele-segmented/index");
|
|
39
|
+
const index$A = require("./ele-split-panel/index");
|
|
40
|
+
const index$B = require("./ele-steps/index");
|
|
41
|
+
const index$C = require("./ele-tabs/index");
|
|
42
|
+
const index$D = require("./ele-tab-tool/index");
|
|
43
|
+
const index$E = require("./ele-tab-wrap/index");
|
|
44
|
+
const index$F = require("./ele-table/index");
|
|
45
|
+
const index$G = require("./ele-table-select/index");
|
|
46
|
+
const index$H = require("./ele-text/index");
|
|
47
|
+
const index$I = require("./ele-tool/index");
|
|
48
|
+
const index$J = require("./ele-toolbar/index");
|
|
49
|
+
const index$K = require("./ele-tooltip/index");
|
|
50
|
+
const index$L = require("./ele-tour/index");
|
|
51
|
+
const index$M = require("./ele-tree-select/index");
|
|
52
|
+
const index$N = require("./ele-upload-list/index");
|
|
53
|
+
const index$O = require("./ele-virtual-table/index");
|
|
54
|
+
const index$P = require("./ele-watermark/index");
|
|
56
55
|
exports.EleAdminLayout = index;
|
|
57
56
|
exports.EleAlert = index$1;
|
|
58
57
|
exports.EleApp = index$2;
|
|
@@ -78,31 +77,31 @@ exports.EleIconSelect = index$l;
|
|
|
78
77
|
exports.EleImageViewer = index$m;
|
|
79
78
|
exports.EleLoading = index$n;
|
|
80
79
|
exports.EleMenus = index$o;
|
|
80
|
+
exports.EleDialog = index$p;
|
|
81
81
|
exports.EleModal = index$p;
|
|
82
|
-
exports.
|
|
83
|
-
exports.
|
|
84
|
-
exports.
|
|
85
|
-
exports.
|
|
86
|
-
exports.
|
|
87
|
-
exports.
|
|
88
|
-
exports.
|
|
89
|
-
exports.
|
|
90
|
-
exports.
|
|
91
|
-
exports.
|
|
92
|
-
exports.
|
|
93
|
-
exports.
|
|
94
|
-
exports.
|
|
95
|
-
exports.
|
|
96
|
-
exports.
|
|
97
|
-
exports.
|
|
98
|
-
exports.
|
|
99
|
-
exports.
|
|
100
|
-
exports.
|
|
101
|
-
exports.
|
|
102
|
-
exports.
|
|
103
|
-
exports.
|
|
104
|
-
exports.
|
|
105
|
-
exports.
|
|
106
|
-
exports.
|
|
107
|
-
exports.
|
|
108
|
-
exports.EleWatermark = index$Q;
|
|
82
|
+
exports.ElePage = index$q;
|
|
83
|
+
exports.ElePagination = index$r;
|
|
84
|
+
exports.ElePopconfirm = index$s;
|
|
85
|
+
exports.ElePopover = index$t;
|
|
86
|
+
exports.ElePrinter = index$u;
|
|
87
|
+
exports.EleProLayout = index$v;
|
|
88
|
+
exports.EleProTable = index$w;
|
|
89
|
+
exports.EleQrCode = index$x;
|
|
90
|
+
exports.EleQrCodeSvg = index$y;
|
|
91
|
+
exports.EleSegmented = index$z;
|
|
92
|
+
exports.EleSplitPanel = index$A;
|
|
93
|
+
exports.EleSteps = index$B;
|
|
94
|
+
exports.EleTabs = index$C;
|
|
95
|
+
exports.EleTabTool = index$D;
|
|
96
|
+
exports.EleTabWrap = index$E;
|
|
97
|
+
exports.EleTable = index$F;
|
|
98
|
+
exports.EleTableSelect = index$G;
|
|
99
|
+
exports.EleText = index$H;
|
|
100
|
+
exports.EleTool = index$I;
|
|
101
|
+
exports.EleToolbar = index$J;
|
|
102
|
+
exports.EleTooltip = index$K;
|
|
103
|
+
exports.EleTour = index$L;
|
|
104
|
+
exports.EleTreeSelect = index$M;
|
|
105
|
+
exports.EleUploadList = index$N;
|
|
106
|
+
exports.EleVirtualTable = index$O;
|
|
107
|
+
exports.EleWatermark = index$P;
|
package/lib/ele-dialog/index.cjs
CHANGED
|
@@ -18,15 +18,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
18
18
|
ReceiverView
|
|
19
19
|
},
|
|
20
20
|
inheritAttrs: false,
|
|
21
|
-
props: props.
|
|
22
|
-
emits: props.
|
|
21
|
+
props: props.eleDialogProps,
|
|
22
|
+
emits: props.eleDialogEmits,
|
|
23
23
|
setup(props2, { emit }) {
|
|
24
24
|
const layoutState = util.useLayoutState();
|
|
25
25
|
const isResponsive = util.useResponsive(props2);
|
|
26
26
|
const dialogRef = vue.ref(null);
|
|
27
27
|
const isFullscreen = vue.ref(props2.fullscreen ?? false);
|
|
28
28
|
const isActivated = vue.ref(true);
|
|
29
|
-
const
|
|
29
|
+
const modalClass = vue.computed(() => {
|
|
30
30
|
const classes = [util$1.wrapperClass];
|
|
31
31
|
if (props2.responsive ?? isResponsive.value ?? true) {
|
|
32
32
|
classes.push("ele-dialog-responsive");
|
|
@@ -77,11 +77,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
77
77
|
return classes.join(" ");
|
|
78
78
|
});
|
|
79
79
|
const teleportTo = vue.computed(() => {
|
|
80
|
-
return util$1.
|
|
80
|
+
return util$1.getDialogContainer(
|
|
81
81
|
props2.inner,
|
|
82
82
|
props2.multiple,
|
|
83
83
|
props2.appendTo,
|
|
84
|
-
layoutState.
|
|
84
|
+
layoutState.dialogsEl
|
|
85
85
|
);
|
|
86
86
|
});
|
|
87
87
|
const teleportDisabled = vue.computed(() => {
|
|
@@ -96,17 +96,17 @@ const _sfc_main = vue.defineComponent({
|
|
|
96
96
|
handleResizeTouchstart,
|
|
97
97
|
bindAutoTopEvent,
|
|
98
98
|
unbindAutoTopEvent,
|
|
99
|
-
|
|
99
|
+
topDialog,
|
|
100
100
|
setInitPosition,
|
|
101
|
-
|
|
102
|
-
} = util$1.
|
|
101
|
+
resetDialogStyle
|
|
102
|
+
} = util$1.useDialogEvent(dialogRef, props2, isFullscreen);
|
|
103
103
|
const updateModelValue = (modelValue) => {
|
|
104
104
|
emit("update:modelValue", modelValue);
|
|
105
105
|
};
|
|
106
106
|
const toggleFullscreen = (fullscreen) => {
|
|
107
107
|
isFullscreen.value = fullscreen ?? !isFullscreen.value;
|
|
108
108
|
vue.nextTick(() => {
|
|
109
|
-
|
|
109
|
+
topDialog();
|
|
110
110
|
});
|
|
111
111
|
emit("update:fullscreen", isFullscreen.value);
|
|
112
112
|
};
|
|
@@ -116,11 +116,11 @@ const _sfc_main = vue.defineComponent({
|
|
|
116
116
|
}
|
|
117
117
|
vue.nextTick(() => {
|
|
118
118
|
if (props2.resetOnClose) {
|
|
119
|
-
|
|
119
|
+
resetDialogStyle();
|
|
120
120
|
} else {
|
|
121
121
|
setInitPosition();
|
|
122
122
|
}
|
|
123
|
-
|
|
123
|
+
topDialog();
|
|
124
124
|
});
|
|
125
125
|
emit("open");
|
|
126
126
|
};
|
|
@@ -161,7 +161,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
161
161
|
return {
|
|
162
162
|
dialogRef,
|
|
163
163
|
isFullscreen,
|
|
164
|
-
|
|
164
|
+
modalClass,
|
|
165
165
|
teleportTo,
|
|
166
166
|
teleportDisabled,
|
|
167
167
|
handleHeaderMousedown,
|
|
@@ -205,7 +205,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
205
205
|
width: _ctx.width,
|
|
206
206
|
fullscreen: false,
|
|
207
207
|
modal: _ctx.multiple ? false : _ctx.modal,
|
|
208
|
-
modalClass: _ctx.
|
|
208
|
+
modalClass: _ctx.modalClass,
|
|
209
209
|
appendToBody: false,
|
|
210
210
|
lockScroll: _ctx.inner || _ctx.multiple ? false : _ctx.lockScroll,
|
|
211
211
|
openDelay: _ctx.openDelay,
|
|
@@ -91,7 +91,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
91
91
|
}, {
|
|
92
92
|
dialogRef: import('vue').Ref<ElDialogInstance>;
|
|
93
93
|
isFullscreen: import('vue').Ref<boolean>;
|
|
94
|
-
|
|
94
|
+
modalClass: import('vue').ComputedRef<string>;
|
|
95
95
|
teleportTo: import('vue').ComputedRef<string | Element>;
|
|
96
96
|
teleportDisabled: import('vue').ComputedRef<boolean>;
|
|
97
97
|
handleHeaderMousedown: (e: MouseEvent) => void;
|
|
@@ -238,8 +238,8 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
238
238
|
minHeight: number;
|
|
239
239
|
multiple: boolean;
|
|
240
240
|
responsive: boolean;
|
|
241
|
+
inner: boolean;
|
|
241
242
|
resetOnClose: boolean;
|
|
242
243
|
maxable: boolean;
|
|
243
|
-
inner: boolean;
|
|
244
244
|
}, {}>;
|
|
245
245
|
export default _default;
|
package/lib/ele-dialog/props.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const elementPlus = require("element-plus");
|
|
4
|
-
const
|
|
4
|
+
const eleDialogProps = {
|
|
5
5
|
...elementPlus.dialogProps,
|
|
6
6
|
appendToBody: {
|
|
7
7
|
type: Boolean,
|
|
@@ -60,12 +60,12 @@ const modalProps = {
|
|
|
60
60
|
/** 是否是表单弹窗 */
|
|
61
61
|
form: Boolean
|
|
62
62
|
};
|
|
63
|
-
const
|
|
63
|
+
const eleDialogEmits = {
|
|
64
64
|
...elementPlus.dialogEmits,
|
|
65
65
|
/** 更新全屏状态 */
|
|
66
66
|
"update:fullscreen": (_fullscreen) => true
|
|
67
67
|
};
|
|
68
68
|
const dialogPropKeys = Object.keys(elementPlus.dialogProps);
|
|
69
69
|
exports.dialogPropKeys = dialogPropKeys;
|
|
70
|
-
exports.
|
|
71
|
-
exports.
|
|
70
|
+
exports.eleDialogEmits = eleDialogEmits;
|
|
71
|
+
exports.eleDialogProps = eleDialogProps;
|
|
@@ -6,7 +6,7 @@ import { Resizable, MoveOut, Position } from './types';
|
|
|
6
6
|
/**
|
|
7
7
|
* 属性
|
|
8
8
|
*/
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const eleDialogProps: {
|
|
10
10
|
appendToBody: {
|
|
11
11
|
type: BooleanConstructor;
|
|
12
12
|
default: boolean;
|
|
@@ -113,11 +113,11 @@ export declare const modalProps: {
|
|
|
113
113
|
title: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
114
114
|
ariaLevel: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
|
|
115
115
|
};
|
|
116
|
-
export type
|
|
116
|
+
export type DialogProps = ExtractPropTypes<typeof dialogProps>;
|
|
117
117
|
/**
|
|
118
118
|
* 事件
|
|
119
119
|
*/
|
|
120
|
-
export declare const
|
|
120
|
+
export declare const eleDialogEmits: {
|
|
121
121
|
/** 更新全屏状态 */
|
|
122
122
|
'update:fullscreen': (_fullscreen: boolean) => boolean;
|
|
123
123
|
open: () => boolean;
|