bkui-vue 1.0.3-beta.26 → 1.0.3-beta.27
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 +46 -46
- package/dist/index.esm.js +6162 -6148
- package/dist/index.umd.js +46 -46
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +1 -1
- package/lib/affix/affix.less +2 -2
- package/lib/affix/affix.variable.css +3 -3
- package/lib/affix/index.js +13 -15
- package/lib/alert/alert.css +21 -21
- package/lib/alert/alert.less +16 -17
- package/lib/alert/alert.variable.css +23 -23
- package/lib/alert/index.js +22 -24
- package/lib/animate-number/index.js +5 -6
- package/lib/backtop/backtop.css +11 -11
- package/lib/backtop/backtop.less +3 -3
- package/lib/backtop/backtop.variable.css +13 -13
- package/lib/backtop/index.js +20 -22
- package/lib/badge/badge.css +32 -32
- package/lib/badge/badge.less +5 -5
- package/lib/badge/badge.variable.css +34 -34
- package/lib/badge/index.js +19 -21
- package/lib/breadcrumb/breadcrumb.css +31 -31
- package/lib/breadcrumb/breadcrumb.less +8 -8
- package/lib/breadcrumb/breadcrumb.variable.css +33 -33
- package/lib/breadcrumb/index.js +24 -26
- package/lib/button/button.css +69 -69
- package/lib/button/button.less +5 -3
- package/lib/button/button.variable.css +71 -71
- package/lib/button/index.js +28 -37
- package/lib/card/card.css +31 -31
- package/lib/card/card.less +4 -4
- package/lib/card/card.variable.css +33 -33
- package/lib/card/index.js +35 -43
- package/lib/cascader/cascader.css +63 -63
- package/lib/cascader/cascader.less +11 -12
- package/lib/cascader/cascader.variable.css +65 -65
- package/lib/cascader/index.js +80 -100
- package/lib/checkbox/checkbox.css +21 -21
- package/lib/checkbox/checkbox.less +8 -8
- package/lib/checkbox/checkbox.variable.css +23 -23
- package/lib/checkbox/index.js +32 -34
- package/lib/code-diff/code-diff.css +97 -97
- package/lib/code-diff/code-diff.less +4 -3
- package/lib/code-diff/code-diff.variable.css +99 -99
- package/lib/code-diff/index.js +12 -14
- package/lib/collapse/collapse.css +30 -30
- package/lib/collapse/collapse.less +24 -25
- package/lib/collapse/collapse.variable.css +32 -32
- package/lib/collapse/index.js +39 -41
- package/lib/collapse-transition/collapse-transition.css +32 -32
- package/lib/collapse-transition/collapse-transition.less +48 -59
- package/lib/collapse-transition/collapse-transition.variable.css +34 -34
- package/lib/collapse-transition/index.js +8 -9
- package/lib/color-picker/color-picker.css +57 -57
- package/lib/color-picker/color-picker.less +30 -36
- package/lib/color-picker/color-picker.variable.css +59 -59
- package/lib/color-picker/index.js +48 -50
- package/lib/components.js +505 -60
- package/lib/config-provider/config-provider.variable.css +2 -2
- package/lib/config-provider/index.js +8 -9
- package/lib/container/container.css +19 -19
- package/lib/container/container.less +3 -3
- package/lib/container/container.variable.css +21 -21
- package/lib/container/index.js +19 -21
- package/lib/date-picker/date-picker.css +92 -92
- package/lib/date-picker/date-picker.d.ts +1 -0
- package/lib/date-picker/date-picker.less +54 -55
- package/lib/date-picker/date-picker.variable.css +94 -94
- package/lib/date-picker/index.d.ts +3 -0
- package/lib/date-picker/index.js +69 -77
- package/lib/date-picker/time-picker.d.ts +1 -0
- package/lib/dialog/dialog.css +51 -51
- package/lib/dialog/dialog.less +1 -1
- package/lib/dialog/dialog.variable.css +53 -53
- package/lib/dialog/index.js +49 -63
- package/lib/directives/index.js +12 -13
- package/lib/dist.index.js +62 -5
- package/lib/divider/divider.css +8 -8
- package/lib/divider/divider.less +8 -5
- package/lib/divider/divider.variable.css +10 -10
- package/lib/divider/index.js +13 -15
- package/lib/dropdown/dropdown.css +15 -15
- package/lib/dropdown/dropdown.less +6 -6
- package/lib/dropdown/dropdown.variable.css +17 -17
- package/lib/dropdown/index.js +24 -32
- package/lib/exception/exception.css +13 -13
- package/lib/exception/exception.less +6 -6
- package/lib/exception/exception.variable.css +15 -15
- package/lib/exception/index.js +11 -13
- package/lib/fixed-navbar/fixed-navbar.css +9 -9
- package/lib/fixed-navbar/fixed-navbar.less +2 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +11 -11
- package/lib/fixed-navbar/index.js +13 -15
- package/lib/form/form.css +63 -63
- package/lib/form/form.less +16 -14
- package/lib/form/form.variable.css +65 -65
- package/lib/form/index.js +48 -50
- package/lib/hooks.js +48 -1
- package/lib/icon/index.js +0 -1
- package/lib/image/image-viewer.css +23 -23
- package/lib/image/image-viewer.less +25 -24
- package/lib/image/image-viewer.variable.css +25 -25
- package/lib/image/image.css +29 -29
- package/lib/image/image.less +8 -6
- package/lib/image/image.variable.css +31 -31
- package/lib/image/index.js +38 -39
- package/lib/index.js +72 -7
- package/lib/info-box/index.js +13 -21
- package/lib/info-box/info-box.css +10 -10
- package/lib/info-box/info-box.less +2 -1
- package/lib/info-box/info-box.variable.css +12 -12
- package/lib/input/index.js +59 -61
- package/lib/input/input.css +104 -102
- package/lib/input/input.less +33 -27
- package/lib/input/input.variable.css +106 -104
- package/lib/link/index.js +13 -15
- package/lib/link/link.css +18 -18
- package/lib/link/link.less +3 -1
- package/lib/link/link.variable.css +20 -20
- package/lib/loading/index.js +17 -19
- package/lib/loading/loading.css +94 -94
- package/lib/loading/loading.less +4 -4
- package/lib/loading/loading.variable.css +96 -96
- package/lib/locale/index.js +0 -1
- package/lib/menu/index.js +13 -15
- package/lib/menu/menu.css +38 -38
- package/lib/menu/menu.less +10 -10
- package/lib/menu/menu.variable.css +40 -40
- package/lib/menu/submenu.css +1 -1
- package/lib/menu/submenu.less +1 -1
- package/lib/menu/submenu.variable.css +3 -3
- package/lib/message/index.js +38 -40
- package/lib/message/message.css +59 -59
- package/lib/message/message.less +24 -25
- package/lib/message/message.variable.css +61 -61
- package/lib/modal/index.js +41 -43
- package/lib/modal/modal.css +26 -26
- package/lib/modal/modal.less +12 -8
- package/lib/modal/modal.variable.css +28 -28
- package/lib/navigation/index.js +14 -16
- package/lib/navigation/navigation.css +25 -25
- package/lib/navigation/navigation.less +9 -9
- package/lib/navigation/navigation.variable.css +27 -27
- package/lib/notify/index.js +31 -33
- package/lib/notify/notify.css +17 -17
- package/lib/notify/notify.less +6 -8
- package/lib/notify/notify.variable.css +19 -19
- package/lib/overflow-title/index.js +14 -22
- package/lib/pagination/index.js +50 -65
- package/lib/pagination/pagination.css +60 -60
- package/lib/pagination/pagination.less +25 -24
- package/lib/pagination/pagination.variable.css +62 -62
- package/lib/plugin-popover/index.js +53 -54
- package/lib/plugins/index.js +0 -1
- package/lib/pop-confirm/index.js +28 -42
- package/lib/pop-confirm/pop-confirm.css +10 -10
- package/lib/pop-confirm/pop-confirm.less +11 -14
- package/lib/pop-confirm/pop-confirm.variable.css +12 -12
- package/lib/popover/index.js +52 -54
- package/lib/popover/popover.css +5 -5
- package/lib/popover/popover.less +6 -5
- package/lib/popover/popover.variable.css +7 -7
- package/lib/popover2/index.js +3 -4
- package/lib/preset.js +64 -18
- package/lib/process/index.js +26 -27
- package/lib/process/process.css +33 -36
- package/lib/process/process.less +7 -8
- package/lib/process/process.variable.css +35 -38
- package/lib/progress/index.js +26 -28
- package/lib/progress/progress.css +33 -33
- package/lib/progress/progress.less +5 -6
- package/lib/progress/progress.variable.css +35 -35
- package/lib/radio/index.js +32 -34
- package/lib/radio/radio.css +51 -51
- package/lib/radio/radio.less +20 -13
- package/lib/radio/radio.variable.css +53 -53
- package/lib/rate/index.js +22 -24
- package/lib/rate/rate.css +2 -2
- package/lib/rate/rate.less +1 -1
- package/lib/rate/rate.variable.css +4 -4
- package/lib/rate/star.css +7 -7
- package/lib/rate/star.less +1 -1
- package/lib/rate/star.variable.css +9 -9
- package/lib/resize-layout/index.js +25 -27
- package/lib/resize-layout/resize-layout.css +42 -42
- package/lib/resize-layout/resize-layout.less +10 -17
- package/lib/resize-layout/resize-layout.variable.css +44 -44
- package/lib/search-select/index.js +49 -68
- package/lib/search-select/search-select.css +15 -15
- package/lib/search-select/search-select.variable.css +17 -17
- package/lib/select/index.js +129 -168
- package/lib/select/select.css +87 -87
- package/lib/select/select.less +22 -27
- package/lib/select/select.variable.css +89 -89
- package/lib/shared/index.js +4 -7
- package/lib/sideslider/index.js +14 -22
- package/lib/sideslider/sideslider.css +14 -14
- package/lib/sideslider/sideslider.less +13 -9
- package/lib/sideslider/sideslider.variable.css +16 -16
- package/lib/slider/index.js +22 -36
- package/lib/slider/slider.css +31 -31
- package/lib/slider/slider.less +8 -8
- package/lib/slider/slider.variable.css +33 -33
- package/lib/steps/index.js +28 -30
- package/lib/steps/steps.css +134 -134
- package/lib/steps/steps.less +48 -44
- package/lib/steps/steps.variable.css +136 -136
- package/lib/styles/mixins/animate.css +4 -4
- package/lib/styles/mixins/animate.less +3 -3
- package/lib/styles/mixins/animate.variable.css +6 -6
- package/lib/styles/mixins/mixins.css +15 -15
- package/lib/styles/mixins/mixins.variable.css +15 -15
- package/lib/styles/mixins/popper.css +11 -11
- package/lib/styles/mixins/popper.less +6 -6
- package/lib/styles/mixins/popper.variable.css +13 -13
- package/lib/styles/mixins/scroll.css +5 -5
- package/lib/styles/mixins/scroll.less +4 -4
- package/lib/styles/mixins/scroll.variable.css +7 -7
- package/lib/styles/reset.css +6 -6
- package/lib/styles/reset.less +5 -4
- package/lib/styles/reset.variable.css +8 -8
- package/lib/styles/themes/themes.less +10 -3
- package/lib/swiper/index.js +14 -16
- package/lib/swiper/swiper.css +15 -15
- package/lib/swiper/swiper.less +8 -8
- package/lib/swiper/swiper.variable.css +17 -17
- package/lib/switcher/index.js +29 -31
- package/lib/switcher/switcher.css +57 -57
- package/lib/switcher/switcher.less +22 -14
- package/lib/switcher/switcher.variable.css +59 -59
- package/lib/tab/index.js +44 -46
- package/lib/tab/tab.css +78 -78
- package/lib/tab/tab.less +39 -40
- package/lib/tab/tab.variable.css +80 -80
- package/lib/table/components/table-column.d.ts +1 -0
- package/lib/table/index.d.ts +1 -0
- package/lib/table/index.js +168 -207
- package/lib/table/plugins/head-filter.css +13 -13
- package/lib/table/plugins/head-filter.less +3 -3
- package/lib/table/plugins/head-filter.variable.css +15 -15
- package/lib/table/plugins/head-sort.css +5 -5
- package/lib/table/plugins/head-sort.less +2 -2
- package/lib/table/plugins/head-sort.variable.css +7 -7
- package/lib/table/plugins/settings.css +26 -26
- package/lib/table/plugins/settings.less +3 -1
- package/lib/table/plugins/settings.variable.css +28 -28
- package/lib/table/table.css +380 -380
- package/lib/table/table.less +14 -10
- package/lib/table/table.variable.css +382 -382
- package/lib/table-column/index.d.ts +3 -0
- package/lib/table-column/index.js +57 -43
- package/lib/tag/index.js +19 -21
- package/lib/tag/tag.css +51 -51
- package/lib/tag/tag.less +34 -34
- package/lib/tag/tag.variable.css +53 -53
- package/lib/tag-input/index.js +65 -80
- package/lib/tag-input/tag-input.css +38 -38
- package/lib/tag-input/tag-input.less +3 -3
- package/lib/tag-input/tag-input.variable.css +40 -40
- package/lib/time-picker/index.d.ts +3 -0
- package/lib/time-picker/index.js +7 -9
- package/lib/time-picker/time-picker.css +40 -40
- package/lib/time-picker/time-picker.less +44 -76
- package/lib/time-picker/time-picker.variable.css +42 -42
- package/lib/timeline/index.js +12 -13
- package/lib/timeline/timeline.css +69 -69
- package/lib/timeline/timeline.less +12 -6
- package/lib/timeline/timeline.variable.css +71 -71
- package/lib/transfer/index.js +36 -51
- package/lib/transfer/transfer.css +89 -89
- package/lib/transfer/transfer.less +1 -1
- package/lib/transfer/transfer.variable.css +91 -91
- package/lib/tree/index.js +72 -92
- package/lib/tree/tree.css +49 -49
- package/lib/tree/tree.less +7 -6
- package/lib/tree/tree.variable.css +51 -51
- package/lib/upload/index.js +48 -63
- package/lib/upload/upload.css +98 -98
- package/lib/upload/upload.less +69 -68
- package/lib/upload/upload.variable.css +100 -100
- package/lib/virtual-render/index.js +33 -35
- package/lib/virtual-render/virtual-render.css +9 -9
- package/lib/virtual-render/virtual-render.less +1 -1
- package/lib/virtual-render/virtual-render.variable.css +11 -11
- package/package.json +1 -1
- package/lib/styles/themes/themes copy.less +0 -167
package/lib/modal/modal.less
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
2
|
@import '../info-box/info-box.less';
|
3
3
|
|
4
|
-
|
4
|
+
.@{bk-prefix}-modal-ctx {
|
5
|
+
pointer-events: auto;
|
5
6
|
top: 0px;
|
6
7
|
left: 0px;
|
7
8
|
|
8
9
|
width: 100%;
|
9
10
|
height: 100%;
|
10
|
-
pointer-events: auto;
|
11
11
|
|
12
12
|
&.--show {
|
13
13
|
position: fixed;
|
@@ -18,12 +18,12 @@
|
|
18
18
|
}
|
19
19
|
|
20
20
|
.@{bk-prefix}-modal-ctx-mask {
|
21
|
-
top: 0;
|
22
|
-
left: 0;
|
23
21
|
display: none;
|
22
|
+
left: 0;
|
23
|
+
top: 0;
|
24
24
|
width: 100%;
|
25
25
|
height: 100%;
|
26
|
-
background-color: rgba(0,
|
26
|
+
background-color: rgba(0,0,0,0.6);
|
27
27
|
|
28
28
|
&.--show {
|
29
29
|
position: fixed;
|
@@ -32,7 +32,9 @@
|
|
32
32
|
}
|
33
33
|
}
|
34
34
|
|
35
|
-
|
35
|
+
|
36
|
+
|
37
|
+
.@{bk-prefix}-modal-wrapper {
|
36
38
|
position: absolute;
|
37
39
|
top: 50%;
|
38
40
|
left: 50%;
|
@@ -70,9 +72,11 @@
|
|
70
72
|
}
|
71
73
|
|
72
74
|
.@{bk-prefix}-modal-body {
|
73
|
-
width: 100%;
|
74
75
|
height: 100%;
|
76
|
+
width: 100%;
|
75
77
|
background: #fff;
|
76
|
-
box-shadow: 0 4px 12px rgba(0,
|
78
|
+
box-shadow: 0 4px 12px rgba(0,0,0,.15);
|
77
79
|
}
|
78
80
|
}
|
81
|
+
|
82
|
+
|
@@ -12,13 +12,13 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
18
19
|
--line-height-base: 16px;
|
19
20
|
--line-height-medium: 16px;
|
20
21
|
--line-height-large: 18px;
|
21
|
-
--border-color: #dcdee5;
|
22
22
|
--component-size-small: 26px;
|
23
23
|
--component-size-base: 32px;
|
24
24
|
--component-size-large: 40px;
|
@@ -111,7 +111,7 @@
|
|
111
111
|
--table-border-color: #dcdee5;
|
112
112
|
--table-head-bg-color: #fafbfd;
|
113
113
|
--table-head-font-color: #313238;
|
114
|
-
--table-body-font-color: #
|
114
|
+
--table-body-font-color: #63656E;
|
115
115
|
--table-row-hover-bg-color: #f5f7fa;
|
116
116
|
--table-row-active-bg-color: #f0f1f5;
|
117
117
|
--cascader-panel-border-color: #dcdee5;
|
@@ -127,71 +127,71 @@
|
|
127
127
|
--select-active-color: #e1ecff;
|
128
128
|
--select-hover-color: #f5f7fa;
|
129
129
|
}
|
130
|
-
|
130
|
+
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper {
|
131
131
|
width: 440px;
|
132
132
|
}
|
133
|
-
|
133
|
+
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.normal {
|
134
134
|
width: 440px;
|
135
135
|
}
|
136
|
-
|
136
|
+
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper.small {
|
137
137
|
width: 400px;
|
138
138
|
}
|
139
|
-
|
139
|
+
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-body {
|
140
140
|
border-radius: 2px;
|
141
141
|
}
|
142
|
-
|
142
|
+
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header {
|
143
143
|
padding: 24px 24px 0;
|
144
144
|
}
|
145
|
-
|
145
|
+
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-dialog-header .bk-dialog-title {
|
146
146
|
height: 27px;
|
147
147
|
margin: 15px 0 10px;
|
148
148
|
}
|
149
|
-
|
149
|
+
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content {
|
150
150
|
height: 100%;
|
151
151
|
max-height: 100%;
|
152
152
|
min-height: 100%;
|
153
153
|
padding: 0 50px 10px;
|
154
154
|
word-break: break-all;
|
155
155
|
}
|
156
|
-
|
156
|
+
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-content .bk-info-sub-title {
|
157
157
|
margin-bottom: 10px;
|
158
158
|
text-align: center;
|
159
159
|
word-break: break-all;
|
160
160
|
}
|
161
|
-
|
161
|
+
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer {
|
162
162
|
padding: 0 65px 33px;
|
163
163
|
background-color: #fff;
|
164
164
|
border-top: none;
|
165
165
|
}
|
166
|
-
|
166
|
+
.bk-modal-ctx.bk-info-wrapper .bk-modal-wrapper .bk-modal-footer .bk-dialog-footer button {
|
167
167
|
min-width: 88px;
|
168
168
|
}
|
169
|
-
|
169
|
+
.bk-modal-ctx {
|
170
|
+
pointer-events: auto;
|
170
171
|
top: 0px;
|
171
172
|
left: 0px;
|
172
173
|
width: 100%;
|
173
174
|
height: 100%;
|
174
|
-
pointer-events: auto;
|
175
175
|
}
|
176
|
-
|
176
|
+
.bk-modal-ctx.--show {
|
177
177
|
position: fixed;
|
178
178
|
}
|
179
|
-
|
179
|
+
.bk-modal-ctx.--hide {
|
180
180
|
display: none;
|
181
181
|
}
|
182
|
-
|
183
|
-
top: 0;
|
184
|
-
left: 0;
|
182
|
+
.bk-modal-ctx .bk-modal-ctx-mask {
|
185
183
|
display: none;
|
184
|
+
left: 0;
|
185
|
+
top: 0;
|
186
186
|
width: 100%;
|
187
187
|
height: 100%;
|
188
188
|
background-color: rgba(0, 0, 0, 0.6);
|
189
189
|
}
|
190
|
-
|
190
|
+
.bk-modal-ctx .bk-modal-ctx-mask.--show {
|
191
191
|
position: fixed;
|
192
192
|
display: inherit;
|
193
193
|
}
|
194
|
-
|
194
|
+
.bk-modal-wrapper {
|
195
195
|
position: absolute;
|
196
196
|
top: 50%;
|
197
197
|
left: 50%;
|
@@ -199,32 +199,32 @@
|
|
199
199
|
border-radius: 2px;
|
200
200
|
transform: translate(-50%, -50%);
|
201
201
|
}
|
202
|
-
|
202
|
+
.bk-modal-wrapper .bk-modal-outside {
|
203
203
|
position: fixed;
|
204
204
|
top: 0;
|
205
205
|
right: 0;
|
206
206
|
bottom: 0;
|
207
207
|
left: 0;
|
208
208
|
}
|
209
|
-
|
209
|
+
.bk-modal-wrapper.normal {
|
210
210
|
width: 480px;
|
211
211
|
height: 240px;
|
212
212
|
}
|
213
|
-
|
213
|
+
.bk-modal-wrapper.small {
|
214
214
|
width: 400px;
|
215
215
|
height: 200px;
|
216
216
|
}
|
217
|
-
|
217
|
+
.bk-modal-wrapper.medium {
|
218
218
|
width: 640px;
|
219
219
|
height: 400px;
|
220
220
|
}
|
221
|
-
|
221
|
+
.bk-modal-wrapper.large {
|
222
222
|
width: 960px;
|
223
223
|
height: 720px;
|
224
224
|
}
|
225
|
-
|
226
|
-
width: 100%;
|
225
|
+
.bk-modal-wrapper .bk-modal-body {
|
227
226
|
height: 100%;
|
227
|
+
width: 100%;
|
228
228
|
background: #fff;
|
229
229
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
230
230
|
}
|
package/lib/navigation/index.js
CHANGED
@@ -1,9 +1,7 @@
|
|
1
|
-
import "../
|
2
|
-
import "./navigation.less";
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
|
4
2
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
5
|
-
import * as
|
6
|
-
import * as
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__ from "../config-provider";
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__ from "../icon";
|
7
5
|
/******/ // The require scope
|
8
6
|
/******/ var __webpack_require__ = {};
|
9
7
|
/******/
|
@@ -36,19 +34,19 @@ __webpack_require__.d(__webpack_exports__, {
|
|
36
34
|
;// CONCATENATED MODULE: external "../shared"
|
37
35
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
38
36
|
var y = x => () => x
|
39
|
-
const
|
37
|
+
const external_shared_namespaceObject = x({ ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
|
40
38
|
;// CONCATENATED MODULE: external "vue"
|
41
39
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
42
40
|
var external_vue_y = x => () => x
|
43
41
|
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
|
44
42
|
;// CONCATENATED MODULE: external "../config-provider"
|
45
|
-
var
|
46
|
-
var
|
47
|
-
const
|
43
|
+
var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
44
|
+
var external_config_provider_y = x => () => x
|
45
|
+
const external_config_provider_namespaceObject = external_config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__.usePrefix });
|
48
46
|
;// CONCATENATED MODULE: external "../icon"
|
49
|
-
var
|
50
|
-
var
|
51
|
-
const
|
47
|
+
var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
48
|
+
var external_icon_y = x => () => x
|
49
|
+
const external_icon_namespaceObject = external_icon_x({ ["CollapseLeft"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.CollapseLeft });
|
52
50
|
;// CONCATENATED MODULE: ../../packages/navigation/src/navigation-title.tsx
|
53
51
|
|
54
52
|
/*
|
@@ -94,7 +92,7 @@ var TitleProps = {
|
|
94
92
|
slots: Object,
|
95
93
|
setup: function setup(props, _ref) {
|
96
94
|
var slots = _ref.slots;
|
97
|
-
var _usePrefix = (0,
|
95
|
+
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
98
96
|
resolveClassName = _usePrefix.resolveClassName;
|
99
97
|
return function () {
|
100
98
|
var _slots$default, _slots$sideIcon;
|
@@ -242,7 +240,7 @@ var NavigationProps = {
|
|
242
240
|
emit('toggle', nav.hover);
|
243
241
|
emit('toggle-click', nav.hover);
|
244
242
|
};
|
245
|
-
var _usePrefix = (0,
|
243
|
+
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
246
244
|
resolveClassName = _usePrefix.resolveClassName;
|
247
245
|
return {
|
248
246
|
defaultHeaderTitle: defaultHeaderTitle,
|
@@ -306,7 +304,7 @@ var NavigationProps = {
|
|
306
304
|
'footer-icon': true
|
307
305
|
},
|
308
306
|
"onClick": this.handleClick
|
309
|
-
}, [(0,external_vue_namespaceObject.createVNode)(
|
307
|
+
}, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.CollapseLeft, {
|
310
308
|
"class": "footer-icon-svg",
|
311
309
|
"style": {
|
312
310
|
transform: this.nav.click ? 'rotate(180deg)' : 'rotate(0deg)'
|
@@ -363,7 +361,7 @@ var NavigationProps = {
|
|
363
361
|
*/
|
364
362
|
|
365
363
|
|
366
|
-
var Navigation = (0,
|
364
|
+
var Navigation = (0,external_shared_namespaceObject.withInstall)(navigation);
|
367
365
|
/* harmony default export */ const src = (Navigation);
|
368
366
|
var __webpack_exports__default = __webpack_exports__["default"];
|
369
367
|
export { __webpack_exports__default as default };
|
@@ -1,10 +1,10 @@
|
|
1
|
-
|
1
|
+
.bk-navigation {
|
2
2
|
display: flex;
|
3
3
|
flex-direction: column;
|
4
4
|
width: 100%;
|
5
5
|
height: 100%;
|
6
6
|
}
|
7
|
-
|
7
|
+
.bk-navigation-title {
|
8
8
|
display: flex;
|
9
9
|
height: 100%;
|
10
10
|
padding: 0 16px;
|
@@ -14,7 +14,7 @@
|
|
14
14
|
justify-content: flex-start;
|
15
15
|
flex: 0 0 260px;
|
16
16
|
}
|
17
|
-
|
17
|
+
.bk-navigation-title .title-icon {
|
18
18
|
display: flex;
|
19
19
|
font-size: 28px;
|
20
20
|
color: #768197;
|
@@ -22,7 +22,7 @@
|
|
22
22
|
align-items: center;
|
23
23
|
justify-content: center;
|
24
24
|
}
|
25
|
-
|
25
|
+
.bk-navigation-title .title-desc {
|
26
26
|
display: inline-block;
|
27
27
|
margin-left: 16px;
|
28
28
|
overflow: hidden;
|
@@ -32,7 +32,7 @@
|
|
32
32
|
color: #96a2b9;
|
33
33
|
white-space: nowrap;
|
34
34
|
}
|
35
|
-
|
35
|
+
.bk-navigation-header {
|
36
36
|
flex: 0 0 52px;
|
37
37
|
display: flex;
|
38
38
|
align-items: center;
|
@@ -40,20 +40,20 @@
|
|
40
40
|
overflow: hidden;
|
41
41
|
background: #182132;
|
42
42
|
}
|
43
|
-
|
43
|
+
.bk-navigation-header .header-right {
|
44
44
|
display: flex;
|
45
45
|
height: 100%;
|
46
46
|
flex: 1;
|
47
47
|
align-items: center;
|
48
48
|
}
|
49
|
-
|
49
|
+
.bk-navigation-wrapper {
|
50
50
|
position: relative;
|
51
51
|
display: flex;
|
52
52
|
flex-direction: row;
|
53
53
|
flex: 1;
|
54
54
|
min-height: 0;
|
55
55
|
}
|
56
|
-
|
56
|
+
.bk-navigation-wrapper .navigation-nav {
|
57
57
|
position: relative;
|
58
58
|
z-index: 101;
|
59
59
|
display: flex;
|
@@ -65,10 +65,10 @@
|
|
65
65
|
flex: 0 1 auto;
|
66
66
|
flex-direction: column;
|
67
67
|
}
|
68
|
-
|
68
|
+
.bk-navigation-wrapper .navigation-nav:hover {
|
69
69
|
cursor: pointer;
|
70
70
|
}
|
71
|
-
|
71
|
+
.bk-navigation-wrapper .navigation-nav .nav-slider {
|
72
72
|
display: flex;
|
73
73
|
width: 60px;
|
74
74
|
height: 100%;
|
@@ -77,30 +77,30 @@
|
|
77
77
|
flex: 1;
|
78
78
|
flex-direction: column;
|
79
79
|
}
|
80
|
-
|
80
|
+
.bk-navigation-wrapper .navigation-nav .nav-slider-list {
|
81
81
|
max-height: calc(100vh - 100px);
|
82
82
|
padding: 12px 0 4px 0;
|
83
83
|
margin: 0;
|
84
84
|
overflow: auto;
|
85
85
|
flex: 1 1 auto;
|
86
86
|
}
|
87
|
-
|
87
|
+
.bk-navigation-wrapper .navigation-nav .nav-slider-list::-webkit-scrollbar {
|
88
88
|
display: none;
|
89
89
|
width: 6px;
|
90
90
|
height: 5px;
|
91
91
|
}
|
92
|
-
|
92
|
+
.bk-navigation-wrapper .navigation-nav .nav-slider-list::-webkit-scrollbar:hover {
|
93
93
|
transform: none;
|
94
94
|
transition: opacity 340ms ease-out;
|
95
95
|
}
|
96
|
-
|
96
|
+
.bk-navigation-wrapper .navigation-nav .nav-slider-footer {
|
97
97
|
display: flex;
|
98
98
|
padding-left: 14px;
|
99
99
|
flex: 0 0 56px;
|
100
100
|
align-items: center;
|
101
101
|
justify-content: flex-start;
|
102
102
|
}
|
103
|
-
|
103
|
+
.bk-navigation-wrapper .navigation-nav .nav-slider-footer .footer-icon {
|
104
104
|
display: flex;
|
105
105
|
width: 32px;
|
106
106
|
height: 32px;
|
@@ -111,7 +111,7 @@
|
|
111
111
|
justify-content: center;
|
112
112
|
transform-origin: center center;
|
113
113
|
}
|
114
|
-
|
114
|
+
.bk-navigation-wrapper .navigation-nav .nav-slider-footer .footer-icon-svg {
|
115
115
|
display: flex;
|
116
116
|
width: 16px;
|
117
117
|
height: 16px;
|
@@ -121,20 +121,20 @@
|
|
121
121
|
justify-content: center;
|
122
122
|
transform-origin: center center;
|
123
123
|
}
|
124
|
-
|
124
|
+
.bk-navigation-wrapper .navigation-nav .nav-slider-footer .footer-icon.is-left {
|
125
125
|
color: #96a2b9;
|
126
126
|
}
|
127
|
-
|
127
|
+
.bk-navigation-wrapper .navigation-nav .nav-slider-footer .footer-icon.is-left:hover {
|
128
128
|
color: #d3d9e4;
|
129
129
|
cursor: pointer;
|
130
130
|
background: linear-gradient(270deg, #253047 0%, #263247 100%);
|
131
131
|
}
|
132
|
-
|
132
|
+
.bk-navigation-wrapper .navigation-nav .nav-slider-footer .footer-icon:hover {
|
133
133
|
color: #3a3c42;
|
134
134
|
cursor: pointer;
|
135
135
|
background: linear-gradient(270deg, #dee0ea 0%, #eaecf2 100%);
|
136
136
|
}
|
137
|
-
|
137
|
+
.bk-navigation-wrapper .navigation-container {
|
138
138
|
position: relative;
|
139
139
|
display: flex;
|
140
140
|
max-width: calc(100vw - 60px);
|
@@ -143,7 +143,7 @@
|
|
143
143
|
flex: 1 1 1px;
|
144
144
|
flex-direction: column;
|
145
145
|
}
|
146
|
-
|
146
|
+
.bk-navigation-wrapper .navigation-container .container-header {
|
147
147
|
display: flex;
|
148
148
|
width: 100%;
|
149
149
|
height: 60px;
|
@@ -156,26 +156,26 @@
|
|
156
156
|
align-items: center;
|
157
157
|
justify-content: flex-end;
|
158
158
|
}
|
159
|
-
|
159
|
+
.bk-navigation-wrapper .navigation-container .container-header-title {
|
160
160
|
height: 21px;
|
161
161
|
font-size: 16px;
|
162
162
|
line-height: 21px;
|
163
163
|
color: #313238;
|
164
164
|
}
|
165
|
-
|
165
|
+
.bk-navigation-wrapper .navigation-container .container-header-sets {
|
166
166
|
display: flex;
|
167
167
|
flex: 1 1 auto;
|
168
168
|
align-items: center;
|
169
169
|
justify-content: flex-end;
|
170
170
|
}
|
171
|
-
|
171
|
+
.bk-navigation-wrapper .navigation-container .container-content {
|
172
172
|
max-height: calc(100vh - 60px);
|
173
173
|
padding: 20px 24px 0;
|
174
174
|
overflow: auto;
|
175
175
|
background: #f5f7fa;
|
176
176
|
flex: 1;
|
177
177
|
}
|
178
|
-
|
178
|
+
.bk-navigation-wrapper .navigation-container .container-footer {
|
179
179
|
display: flex;
|
180
180
|
flex: 0 0 auto;
|
181
181
|
flex-direction: row;
|
@@ -1,17 +1,17 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
2
|
|
3
|
-
|
3
|
+
.@{bk-prefix}-navigation {
|
4
4
|
display: flex;
|
5
5
|
flex-direction: column;
|
6
6
|
width: 100%;
|
7
7
|
height: 100%;
|
8
8
|
|
9
|
-
|
9
|
+
&-title {
|
10
10
|
display: flex;
|
11
11
|
height: 100%;
|
12
12
|
padding: 0 16px;
|
13
13
|
overflow: hidden;
|
14
|
-
border-bottom: 1px solid rgba(255, 255, 255,
|
14
|
+
border-bottom: 1px solid rgba(255, 255, 255, .05);
|
15
15
|
align-items: center;
|
16
16
|
justify-content: flex-start;
|
17
17
|
flex: 0 0 260px;
|
@@ -37,7 +37,7 @@
|
|
37
37
|
}
|
38
38
|
}
|
39
39
|
|
40
|
-
|
40
|
+
&-header {
|
41
41
|
flex: 0 0 52px;
|
42
42
|
display: flex;
|
43
43
|
align-items: center;
|
@@ -53,7 +53,7 @@
|
|
53
53
|
}
|
54
54
|
}
|
55
55
|
|
56
|
-
|
56
|
+
&-wrapper {
|
57
57
|
position: relative;
|
58
58
|
display: flex;
|
59
59
|
flex-direction: row;
|
@@ -68,7 +68,7 @@
|
|
68
68
|
min-width: 0;
|
69
69
|
min-height: 0;
|
70
70
|
overflow: visible;
|
71
|
-
transition: width cubic-bezier(
|
71
|
+
transition: width cubic-bezier(.4, 0, .2, 1) .3s;
|
72
72
|
flex: 0 1 auto;
|
73
73
|
flex-direction: column;
|
74
74
|
|
@@ -81,7 +81,7 @@
|
|
81
81
|
width: 60px;
|
82
82
|
height: 100%;
|
83
83
|
background-color: @nav-bg-color;
|
84
|
-
transition: width cubic-bezier(
|
84
|
+
transition: width cubic-bezier(.4, 0, .2, 1) .3s;
|
85
85
|
flex: 1;
|
86
86
|
flex-direction: column;
|
87
87
|
|
@@ -127,7 +127,7 @@
|
|
127
127
|
width: 16px;
|
128
128
|
height: 16px;
|
129
129
|
font-size: 16px;
|
130
|
-
transition: transform cubic-bezier(
|
130
|
+
transition: transform cubic-bezier(.4, 0, .2, 1) .3s;
|
131
131
|
align-items: center;
|
132
132
|
justify-content: center;
|
133
133
|
transform-origin: center center;
|
@@ -169,7 +169,7 @@
|
|
169
169
|
padding: 0 24px;
|
170
170
|
background: #fff;
|
171
171
|
border-bottom: 1px solid #dcdee5;
|
172
|
-
box-shadow: 0px 3px 4px 0px rgba(64, 112, 203,
|
172
|
+
box-shadow: 0px 3px 4px 0px rgba(64, 112, 203, .06);
|
173
173
|
flex-basis: 60px;
|
174
174
|
flex-direction: row;
|
175
175
|
align-items: center;
|