bkui-vue 1.0.3-beta.62.dialog.1 → 1.0.3-beta.64
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/index.cjs.js +69 -69
- package/dist/index.esm.js +17803 -18626
- package/dist/index.umd.js +69 -69
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +1 -1
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +8 -7
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/index.js +1 -1
- package/lib/card/index.js +1 -1
- package/lib/cascader/index.js +42 -38
- package/lib/checkbox/index.js +11 -10
- package/lib/collapse/index.js +12 -11
- package/lib/collapse-transition/index.js +4 -3
- package/lib/color-picker/index.js +13 -10
- package/lib/components.d.ts +0 -1
- package/lib/components.js +0 -1
- package/lib/config-provider/index.js +1 -1
- package/lib/container/index.js +12 -10
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/dialog.css +77 -139
- package/lib/dialog/dialog.d.ts +121 -41
- package/lib/dialog/dialog.less +65 -10
- package/lib/dialog/dialog.variable.css +77 -139
- package/lib/dialog/index.d.ts +272 -105
- package/lib/dialog/index.js +104 -95
- package/lib/dialog/props.d.ts +48 -8
- package/lib/directives/index.js +1 -1
- package/lib/divider/index.js +3 -2
- package/lib/dropdown/index.js +8 -6
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/index.js +3 -2
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.js +1 -1
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/assistant.js +1 -1
- package/lib/icon/audio-fill.js +1 -1
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.js +1 -1
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy-shape.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.js +1 -1
- package/lib/icon/del.js +1 -1
- package/lib/icon/doc-fill.js +1 -1
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.js +1 -1
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.js +1 -1
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.js +1 -1
- package/lib/icon/exclamation-circle-shape.js +1 -1
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.js +1 -1
- package/lib/icon/fix-line.js +1 -1
- package/lib/icon/fix-shape.js +1 -1
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.js +1 -1
- package/lib/icon/grag-fill.js +1 -1
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.js +1 -1
- package/lib/icon/img-error.js +1 -1
- package/lib/icon/img-placehoulder.js +1 -1
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.js +1 -1
- package/lib/icon/loading.js +1 -1
- package/lib/icon/narrow-line.js +1 -1
- package/lib/icon/original.js +1 -1
- package/lib/icon/pdf-fill.js +1 -1
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.js +1 -1
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.js +1 -1
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-all.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.js +1 -1
- package/lib/icon/transfer.js +1 -1
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.js +1 -1
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.js +1 -1
- package/lib/icon/video-fill.js +1 -1
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin-pro.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/index.js +11 -10
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +177 -316
- package/lib/info-box/info-box.css +7 -63
- package/lib/info-box/info-box.d.ts +16 -17
- package/lib/info-box/info-box.less +14 -76
- package/lib/info-box/info-box.variable.css +7 -63
- package/lib/input/index.js +4 -4
- package/lib/link/index.js +2 -2
- package/lib/loading/index.js +12 -11
- package/lib/menu/index.js +3 -2
- package/lib/message/index.js +1 -1
- package/lib/modal/index.d.ts +325 -45
- package/lib/modal/index.js +667 -188
- package/lib/modal/modal.css +31 -131
- package/lib/modal/modal.d.ts +126 -16
- package/lib/modal/modal.less +28 -84
- package/lib/modal/modal.variable.css +31 -131
- package/lib/modal/props.mixin.d.ts +53 -2
- package/lib/navigation/index.js +9 -7
- package/lib/notify/index.js +1 -1
- package/lib/overflow-title/index.js +10 -9
- package/lib/pagination/index.js +1 -1
- package/lib/plugin-popover/index.js +30 -26
- package/lib/pop-confirm/index.js +5 -4
- package/lib/popover/index.js +30 -26
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.js +4 -4
- package/lib/progress/index.js +6 -5
- package/lib/radio/index.js +12 -11
- package/lib/rate/index.js +1 -1
- package/lib/resize-layout/index.js +1 -1
- package/lib/search-select/index.js +14 -11
- package/lib/select/index.d.ts +33 -0
- package/lib/select/index.js +9 -6
- package/lib/select/select.css +19 -5
- package/lib/select/select.d.ts +11 -0
- package/lib/select/select.less +26 -6
- package/lib/select/select.variable.css +19 -5
- package/lib/select/selectTagInput.d.ts +7 -0
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/index.js +56 -6
- package/lib/shared/mask.d.ts +11 -0
- package/lib/sideslider/index.d.ts +222 -31
- package/lib/sideslider/index.js +40 -53
- package/lib/sideslider/sideslider.css +42 -4
- package/lib/sideslider/sideslider.d.ts +105 -14
- package/lib/sideslider/sideslider.less +58 -13
- package/lib/sideslider/sideslider.variable.css +42 -4
- package/lib/slider/index.js +20 -19
- package/lib/steps/index.js +4 -4
- package/lib/swiper/index.js +1 -1
- package/lib/switcher/index.js +1 -1
- package/lib/tab/index.js +4 -3
- package/lib/table/const.d.ts +1 -1
- package/lib/table/index.d.ts +0 -23
- package/lib/table/index.js +51 -182
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-pagination.d.ts +1 -3
- package/lib/table/props.d.ts +0 -8
- package/lib/table/table.css +42 -97
- package/lib/table/table.d.ts +0 -11
- package/lib/table/table.less +58 -43
- package/lib/table/table.variable.css +42 -97
- package/lib/table/use-attributes.d.ts +0 -1
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table-column/index.js +3 -7
- package/lib/tag/index.js +1 -1
- package/lib/tag-input/index.js +4 -3
- package/lib/tree/index.d.ts +0 -23
- package/lib/tree/index.js +15 -19
- package/lib/tree/props.d.ts +0 -8
- package/lib/tree/tree.css +2 -75
- package/lib/tree/tree.d.ts +0 -11
- package/lib/tree/tree.variable.css +2 -75
- package/lib/upload/index.js +4 -4
- package/lib/virtual-render/index.d.ts +0 -4
- package/lib/virtual-render/index.js +55 -255
- package/lib/virtual-render/props.d.ts +0 -7
- package/lib/virtual-render/use-fix-top.d.ts +7 -2
- package/lib/virtual-render/v-virtual-render.d.ts +1 -2
- package/lib/virtual-render/virtual-render.css +2 -75
- package/lib/virtual-render/virtual-render.d.ts +0 -2
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +2 -75
- package/package.json +1 -1
- package/lib/info-box/render-component.d.ts +0 -4
- package/lib/modal/mask.d.ts +0 -6
- package/lib/scrollbar/index.d.ts +0 -14
- package/lib/scrollbar/index.js +0 -18737
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/index.d.ts +0 -236
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
- package/lib/scrollbar/scrollbar.css +0 -74
- package/lib/scrollbar/scrollbar.less +0 -93
- package/lib/scrollbar/scrollbar.variable.css +0 -203
- package/lib/table/plugins/use-shift-key.d.ts +0 -11
- package/lib/virtual-render/use-scrollbar.d.ts +0 -23
@@ -1,34 +1,33 @@
|
|
1
1
|
import { VNode } from 'vue';
|
2
|
-
export interface
|
2
|
+
export interface ModalFuncProps {
|
3
3
|
isShow?: boolean;
|
4
4
|
width?: string | number;
|
5
|
-
|
6
|
-
|
5
|
+
height?: string | number;
|
6
|
+
'ext-cls': string | string[];
|
7
|
+
theme?: 'primary' | 'warning' | 'success' | 'danger';
|
7
8
|
infoType?: 'success' | 'danger' | 'warning' | 'loading';
|
8
|
-
type?: 'success' | 'danger' | 'warning' | 'loading';
|
9
9
|
title?: string | (() => VNode | string) | VNode;
|
10
10
|
subTitle?: string | (() => VNode) | VNode;
|
11
|
-
|
11
|
+
confirmText?: string | (() => VNode) | VNode;
|
12
|
+
cancelText?: string | (() => VNode) | VNode;
|
13
|
+
onConfirm?: (...args: any[]) => any;
|
14
|
+
onClosed?: (...args: any[]) => any;
|
15
|
+
boundary?: HTMLElement;
|
16
|
+
draggable?: boolean;
|
17
|
+
maskClose?: boolean;
|
18
|
+
escClose?: boolean;
|
19
|
+
closeIcon?: boolean;
|
12
20
|
headerAlign?: 'left' | 'center' | 'right';
|
13
21
|
footerAlign?: 'left' | 'center' | 'right';
|
14
22
|
contentAlign?: 'left' | 'center' | 'right';
|
23
|
+
dialogType?: 'show' | 'operation' | 'confirm';
|
15
24
|
showMask?: boolean;
|
16
25
|
quickClose?: boolean;
|
17
|
-
escClose?: boolean;
|
18
|
-
closeIcon?: boolean;
|
19
|
-
confirmText?: string | (() => VNode) | VNode;
|
20
|
-
theme?: 'primary' | 'warning' | 'success' | 'danger';
|
21
|
-
confirmButtonTheme?: 'primary' | 'warning' | 'success' | 'danger';
|
22
|
-
cancelText?: string | (() => VNode) | VNode;
|
23
|
-
beforeClose?: (action: string) => boolean | Promise<boolean>;
|
24
|
-
onConfirm?: () => void;
|
25
|
-
onCancel?: () => void;
|
26
|
-
onClose?: () => void;
|
27
26
|
}
|
28
|
-
declare const InfoBox: (config: Partial<
|
27
|
+
declare const InfoBox: (config: Partial<ModalFuncProps>) => {
|
29
28
|
show: () => void;
|
30
29
|
hide: () => void;
|
31
|
-
update: (config: Partial<
|
30
|
+
update: (config: Partial<ModalFuncProps>) => void;
|
32
31
|
destroy: () => void;
|
33
32
|
};
|
34
33
|
export default InfoBox;
|
@@ -1,86 +1,24 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
2
|
|
3
|
-
|
4
|
-
font-size: 12px;
|
5
|
-
|
3
|
+
&.@{bk-prefix}-info-wrapper {
|
6
4
|
.@{bk-prefix}-modal-wrapper {
|
7
|
-
|
8
|
-
left: 50%;
|
9
|
-
transform: translate(-50%, -50%);
|
10
|
-
}
|
11
|
-
}
|
12
|
-
|
13
|
-
.@{bk-prefix}-infobox-header {
|
14
|
-
padding-top: 24px;
|
15
|
-
}
|
16
|
-
|
17
|
-
.@{bk-prefix}-infobox-type {
|
18
|
-
display: flex;
|
19
|
-
justify-content: center;
|
20
|
-
align-items: center;
|
21
|
-
}
|
5
|
+
width: 440px;
|
22
6
|
|
23
|
-
.@{bk-prefix}-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
&.success {
|
29
|
-
color: @success-color;
|
30
|
-
}
|
31
|
-
|
32
|
-
&.warning {
|
33
|
-
color: @warning-color;
|
34
|
-
}
|
35
|
-
|
36
|
-
&.danger {
|
37
|
-
color: @danger-color;
|
7
|
+
.@{bk-prefix}-dialog-header {
|
8
|
+
.@{bk-prefix}-dialog-title {
|
9
|
+
margin-top: 16px;
|
10
|
+
}
|
11
|
+
}
|
38
12
|
}
|
39
13
|
|
40
|
-
|
41
|
-
|
14
|
+
.@{bk-prefix}-dialog-footer {
|
15
|
+
button {
|
16
|
+
min-width: 88px;
|
17
|
+
}
|
42
18
|
}
|
43
19
|
}
|
44
20
|
|
45
|
-
.@{bk-prefix}-
|
46
|
-
|
47
|
-
|
48
|
-
margin-top: 24px;
|
49
|
-
font-size: 20px;
|
50
|
-
line-height: 32px;
|
51
|
-
color: #313238;
|
52
|
-
}
|
53
|
-
|
54
|
-
.@{bk-prefix}-infobox-content {
|
55
|
-
padding-right: 24px;
|
56
|
-
padding-left: 24px;
|
57
|
-
margin-top: 16px;
|
58
|
-
}
|
59
|
-
|
60
|
-
.@{bk-prefix}-infobox-footer {
|
61
|
-
display: flex;
|
62
|
-
padding-right: 24px;
|
63
|
-
padding-bottom: 24px;
|
64
|
-
padding-left: 24px;
|
65
|
-
margin-top: 24px;
|
66
|
-
align-content: center;
|
67
|
-
|
68
|
-
&.is-position-right {
|
69
|
-
justify-content: right;
|
70
|
-
}
|
71
|
-
|
72
|
-
&.is-position-center {
|
73
|
-
justify-content: center;
|
74
|
-
}
|
75
|
-
|
76
|
-
&.is-position-left {
|
77
|
-
justify-content: left;
|
78
|
-
}
|
79
|
-
|
80
|
-
.@{bk-prefix}-button {
|
81
|
-
min-width: 88px;
|
82
|
-
& ~ .@{bk-prefix}-button {
|
83
|
-
margin-left: 8px;
|
84
|
-
}
|
85
|
-
}
|
21
|
+
.@{bk-prefix}-info-sub-title {
|
22
|
+
text-align: center;
|
23
|
+
word-break: break-all;
|
86
24
|
}
|
@@ -127,72 +127,16 @@
|
|
127
127
|
--select-active-color: #e1ecff;
|
128
128
|
--select-hover-color: #f5f7fa;
|
129
129
|
}
|
130
|
-
.bk-
|
131
|
-
|
130
|
+
.bk-info-wrapper .bk-modal-wrapper {
|
131
|
+
width: 440px;
|
132
132
|
}
|
133
|
-
.bk-
|
134
|
-
top: 50%;
|
135
|
-
left: 50%;
|
136
|
-
transform: translate(-50%, -50%);
|
137
|
-
}
|
138
|
-
.bk-infobox-header {
|
139
|
-
padding-top: 24px;
|
140
|
-
}
|
141
|
-
.bk-infobox-type {
|
142
|
-
display: flex;
|
143
|
-
justify-content: center;
|
144
|
-
align-items: center;
|
145
|
-
}
|
146
|
-
.bk-infobox-icon {
|
147
|
-
width: 42px;
|
148
|
-
height: 42px;
|
149
|
-
font-size: 42px;
|
150
|
-
}
|
151
|
-
.bk-infobox-icon.success {
|
152
|
-
color: var(--success-color);
|
153
|
-
}
|
154
|
-
.bk-infobox-icon.warning {
|
155
|
-
color: var(--warning-color);
|
156
|
-
}
|
157
|
-
.bk-infobox-icon.danger {
|
158
|
-
color: var(--danger-color);
|
159
|
-
}
|
160
|
-
.bk-infobox-icon.loading {
|
161
|
-
color: var(--primary-color);
|
162
|
-
}
|
163
|
-
.bk-infobox-title {
|
164
|
-
padding-right: 24px;
|
165
|
-
padding-left: 24px;
|
166
|
-
margin-top: 24px;
|
167
|
-
font-size: 20px;
|
168
|
-
line-height: 32px;
|
169
|
-
color: #313238;
|
170
|
-
}
|
171
|
-
.bk-infobox-content {
|
172
|
-
padding-right: 24px;
|
173
|
-
padding-left: 24px;
|
133
|
+
.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
|
174
134
|
margin-top: 16px;
|
175
135
|
}
|
176
|
-
.bk-
|
177
|
-
display: flex;
|
178
|
-
padding-right: 24px;
|
179
|
-
padding-bottom: 24px;
|
180
|
-
padding-left: 24px;
|
181
|
-
margin-top: 24px;
|
182
|
-
align-content: center;
|
183
|
-
}
|
184
|
-
.bk-infobox-footer.is-position-right {
|
185
|
-
justify-content: right;
|
186
|
-
}
|
187
|
-
.bk-infobox-footer.is-position-center {
|
188
|
-
justify-content: center;
|
189
|
-
}
|
190
|
-
.bk-infobox-footer.is-position-left {
|
191
|
-
justify-content: left;
|
192
|
-
}
|
193
|
-
.bk-infobox-footer .bk-button {
|
136
|
+
.bk-info-wrapper .bk-dialog-footer button {
|
194
137
|
min-width: 88px;
|
195
138
|
}
|
196
|
-
.bk-
|
197
|
-
|
139
|
+
.bk-info-sub-title {
|
140
|
+
text-align: center;
|
141
|
+
word-break: break-all;
|
198
142
|
}
|
package/lib/input/index.js
CHANGED
@@ -120,7 +120,7 @@ function _regeneratorRuntime() {
|
|
120
120
|
function makeInvokeMethod(e, r, n) {
|
121
121
|
var o = h;
|
122
122
|
return function (i, a) {
|
123
|
-
if (o === f) throw Error("Generator is already running");
|
123
|
+
if (o === f) throw new Error("Generator is already running");
|
124
124
|
if (o === s) {
|
125
125
|
if ("throw" === i) throw a;
|
126
126
|
return {
|
@@ -262,7 +262,7 @@ function _regeneratorRuntime() {
|
|
262
262
|
} else if (c) {
|
263
263
|
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
264
264
|
} else {
|
265
|
-
if (!u) throw Error("try statement without catch or finally");
|
265
|
+
if (!u) throw new Error("try statement without catch or finally");
|
266
266
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
267
267
|
}
|
268
268
|
}
|
@@ -302,7 +302,7 @@ function _regeneratorRuntime() {
|
|
302
302
|
return o;
|
303
303
|
}
|
304
304
|
}
|
305
|
-
throw Error("illegal catch attempt");
|
305
|
+
throw new Error("illegal catch attempt");
|
306
306
|
},
|
307
307
|
delegateYield: function delegateYield(e, r, n) {
|
308
308
|
return this.delegate = {
|
@@ -573,7 +573,7 @@ function toPrimitive(t, r) {
|
|
573
573
|
|
574
574
|
function toPropertyKey(t) {
|
575
575
|
var i = toPrimitive(t, "string");
|
576
|
-
return "symbol" == _typeof(i) ? i : i
|
576
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
577
577
|
}
|
578
578
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
579
579
|
|
package/lib/link/index.js
CHANGED
@@ -40,7 +40,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
|
|
40
40
|
;// CONCATENATED MODULE: external "vue"
|
41
41
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
42
42
|
var external_vue_y = x => () => x
|
43
|
-
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode });
|
43
|
+
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent });
|
44
44
|
;// CONCATENATED MODULE: external "vue-types"
|
45
45
|
var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
46
46
|
var external_vue_types_y = x => () => x
|
@@ -88,7 +88,7 @@ var LinkThemeEnum;
|
|
88
88
|
LinkThemeEnum["WARNING"] = "warning";
|
89
89
|
LinkThemeEnum["DEFAULT"] = "default";
|
90
90
|
})(LinkThemeEnum || (LinkThemeEnum = {}));
|
91
|
-
/* harmony default export */ const src_link = (defineComponent({
|
91
|
+
/* harmony default export */ const src_link = ((0,external_vue_namespaceObject.defineComponent)({
|
92
92
|
name: 'Link',
|
93
93
|
props: {
|
94
94
|
theme: (0,external_vue_types_namespaceObject.toType)('linkTheme', {}).def(LinkThemeEnum.DEFAULT),
|
package/lib/loading/index.js
CHANGED
@@ -43,7 +43,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
|
|
43
43
|
;// CONCATENATED MODULE: external "vue"
|
44
44
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
45
45
|
var external_vue_y = x => () => x
|
46
|
-
const external_vue_namespaceObject = external_vue_x({ ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive });
|
46
|
+
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive });
|
47
47
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
48
48
|
function _typeof(o) {
|
49
49
|
"@babel/helpers - typeof";
|
@@ -71,7 +71,7 @@ function toPrimitive(t, r) {
|
|
71
71
|
|
72
72
|
function toPropertyKey(t) {
|
73
73
|
var i = toPrimitive(t, "string");
|
74
|
-
return "symbol" == _typeof(i) ? i : i
|
74
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
75
75
|
}
|
76
76
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
77
77
|
|
@@ -95,6 +95,9 @@ var config_provider_y = x => () => x
|
|
95
95
|
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
96
96
|
;// CONCATENATED MODULE: ../../packages/loading/src/loading.tsx
|
97
97
|
|
98
|
+
|
99
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
100
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
98
101
|
/*
|
99
102
|
* Tencent is pleased to support the open source community by making
|
100
103
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -121,8 +124,6 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
121
124
|
* IN THE SOFTWARE.
|
122
125
|
*/
|
123
126
|
|
124
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
125
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
126
127
|
|
127
128
|
|
128
129
|
var BkLoadingMode;
|
@@ -166,7 +167,7 @@ var loadingTypes = {
|
|
166
167
|
zIndex: shared_namespaceObject.PropTypes.number.def(1),
|
167
168
|
isDirective: shared_namespaceObject.PropTypes.bool.def(false)
|
168
169
|
};
|
169
|
-
/* harmony default export */ const loading = (defineComponent({
|
170
|
+
/* harmony default export */ const loading = ((0,external_vue_namespaceObject.defineComponent)({
|
170
171
|
name: 'Loading',
|
171
172
|
props: loadingTypes,
|
172
173
|
setup: function setup(props, ctx) {
|
@@ -186,27 +187,27 @@ var loadingTypes = {
|
|
186
187
|
"class": "oval oval-".concat(i)
|
187
188
|
}, null);
|
188
189
|
})]);
|
189
|
-
var zIndexStyle = computed(function () {
|
190
|
+
var zIndexStyle = (0,external_vue_namespaceObject.computed)(function () {
|
190
191
|
return {
|
191
192
|
zIndex: props.zIndex
|
192
193
|
};
|
193
194
|
});
|
194
|
-
var maskStyle = computed(function () {
|
195
|
+
var maskStyle = (0,external_vue_namespaceObject.computed)(function () {
|
195
196
|
return _objectSpread({
|
196
197
|
opacity: props.opacity,
|
197
198
|
backgroundColor: props.color
|
198
199
|
}, zIndexStyle.value);
|
199
200
|
});
|
200
|
-
var loadingWrapperCls = computed(function () {
|
201
|
+
var loadingWrapperCls = (0,external_vue_namespaceObject.computed)(function () {
|
201
202
|
return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(resolveClassName('loading-wrapper')), props.loading), "".concat(resolveClassName('nested-loading')), !!ctx.slots["default"]), "".concat(resolveClassName('directive-loading')), props.isDirective));
|
202
203
|
});
|
203
|
-
var containerCls = computed(function () {
|
204
|
+
var containerCls = (0,external_vue_namespaceObject.computed)(function () {
|
204
205
|
return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, "".concat(resolveClassName("loading-size-".concat(props.size))), !!props.size), "".concat(resolveClassName("loading-".concat(props.theme))), !!props.theme), resolveClassName('loading-indicator'));
|
205
206
|
});
|
206
|
-
var hasTitle = computed(function () {
|
207
|
+
var hasTitle = (0,external_vue_namespaceObject.computed)(function () {
|
207
208
|
return !!props.title;
|
208
209
|
});
|
209
|
-
var indicator = computed(function () {
|
210
|
+
var indicator = (0,external_vue_namespaceObject.computed)(function () {
|
210
211
|
var isSpinMode = props.mode === BkLoadingMode.Spin;
|
211
212
|
if (typeof props.indicator === 'function') {
|
212
213
|
return (0,external_vue_namespaceObject.createVNode)(props.indicator, null, null);
|
package/lib/menu/index.js
CHANGED
@@ -68,7 +68,7 @@ function toPrimitive(t, r) {
|
|
68
68
|
|
69
69
|
function toPropertyKey(t) {
|
70
70
|
var i = toPrimitive(t, "string");
|
71
|
-
return "symbol" == _typeof(i) ? i : i
|
71
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
72
72
|
}
|
73
73
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
74
74
|
|
@@ -448,7 +448,8 @@ var menuProps = {
|
|
448
448
|
* IN THE SOFTWARE.
|
449
449
|
*/
|
450
450
|
|
451
|
-
|
451
|
+
|
452
|
+
/* harmony default export */ const menu_group = ((0,external_vue_namespaceObject.defineComponent)({
|
452
453
|
name: 'MenuGroup',
|
453
454
|
props: {
|
454
455
|
name: {
|
package/lib/message/index.js
CHANGED
@@ -999,7 +999,7 @@ function toPrimitive(t, r) {
|
|
999
999
|
|
1000
1000
|
function toPropertyKey(t) {
|
1001
1001
|
var i = toPrimitive(t, "string");
|
1002
|
-
return "symbol" == _typeof(i) ? i : i
|
1002
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
1003
1003
|
}
|
1004
1004
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
1005
1005
|
|