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
@@ -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,20 +127,20 @@
|
|
127
127
|
--select-active-color: #e1ecff;
|
128
128
|
--select-hover-color: #f5f7fa;
|
129
129
|
}
|
130
|
-
|
131
|
-
position: relative;
|
130
|
+
.bk-collapse-item {
|
132
131
|
display: flex;
|
133
|
-
text-align: left;
|
134
132
|
flex-direction: column;
|
133
|
+
text-align: left;
|
134
|
+
position: relative;
|
135
135
|
}
|
136
|
-
|
136
|
+
.bk-collapse-item.is-disabled {
|
137
137
|
cursor: not-allowed;
|
138
138
|
}
|
139
|
-
|
139
|
+
.bk-collapse-item.is-disabled .bk-collapse-header {
|
140
140
|
color: var(--disable-color);
|
141
141
|
pointer-events: none;
|
142
142
|
}
|
143
|
-
|
143
|
+
.bk-collapse-header {
|
144
144
|
position: relative;
|
145
145
|
height: 46px;
|
146
146
|
padding: 0 14px;
|
@@ -151,64 +151,64 @@
|
|
151
151
|
text-overflow: ellipsis;
|
152
152
|
cursor: pointer;
|
153
153
|
}
|
154
|
-
|
154
|
+
.bk-collapse-header .bk-collapse-title {
|
155
155
|
margin-left: 26px;
|
156
|
-
font-size: 14px;
|
157
156
|
color: #313238;
|
157
|
+
font-size: 14px;
|
158
158
|
}
|
159
|
-
|
159
|
+
.bk-collapse-content {
|
160
160
|
padding: 5px 49px;
|
161
161
|
font-size: 12px;
|
162
162
|
line-height: 22px;
|
163
163
|
will-change: all;
|
164
|
-
color: #
|
164
|
+
color: #63656E;
|
165
165
|
}
|
166
|
-
|
166
|
+
.bk-collapse-content.active {
|
167
167
|
display: block;
|
168
168
|
}
|
169
|
-
|
169
|
+
.bk-collapse-icon {
|
170
170
|
position: absolute;
|
171
171
|
top: 13px;
|
172
172
|
transition: all linear 0.3s;
|
173
173
|
}
|
174
|
-
|
174
|
+
.bk-collapse-icon.rotate-icon {
|
175
175
|
transform: rotate(90deg);
|
176
176
|
}
|
177
|
-
|
177
|
+
.bk-collapse-icon svg {
|
178
178
|
font-size: 20px;
|
179
179
|
}
|
180
|
-
|
180
|
+
.bk-collapse-transition {
|
181
181
|
transition: all 0.3s ease-in-out;
|
182
182
|
}
|
183
|
-
|
183
|
+
.bk-collapse-header-border .bk-collapse-item::after {
|
184
|
+
height: 1px;
|
185
|
+
content: '';
|
186
|
+
background-color: #DCDEE5;
|
187
|
+
display: block;
|
184
188
|
position: absolute;
|
185
|
-
right: 14px;
|
186
189
|
bottom: 0;
|
187
190
|
left: 14px;
|
188
|
-
|
189
|
-
height: 1px;
|
190
|
-
background-color: #dcdee5;
|
191
|
-
content: '';
|
191
|
+
right: 14px;
|
192
192
|
}
|
193
|
-
|
193
|
+
.bk-collapse-header-border .bk-collapse-item:last-child::after {
|
194
194
|
display: none;
|
195
195
|
}
|
196
|
-
|
197
|
-
background-color: #
|
196
|
+
.bk-collapse-header-hover .bk-collapse-header:hover {
|
197
|
+
background-color: #F0F1F5;
|
198
198
|
}
|
199
|
-
|
200
|
-
margin-bottom: 10px;
|
199
|
+
.bk-collapse-card .bk-collapse-item {
|
201
200
|
box-shadow: 0 0 8px 0px #ccc;
|
201
|
+
margin-bottom: 10px;
|
202
202
|
}
|
203
|
-
|
203
|
+
.bk-collapse-card .bk-collapse-item:last-child {
|
204
204
|
margin-bottom: 0;
|
205
205
|
}
|
206
|
-
|
206
|
+
.bk-collapse-icon-right .bk-collapse-icon {
|
207
207
|
right: 13px;
|
208
208
|
}
|
209
|
-
|
209
|
+
.bk-collapse-icon-right .bk-collapse-title {
|
210
210
|
margin-left: 0;
|
211
211
|
}
|
212
|
-
|
212
|
+
.bk-collapse-icon-left .bk-collapse-icon {
|
213
213
|
left: 13px;
|
214
214
|
}
|
package/lib/collapse/index.js
CHANGED
@@ -1,10 +1,8 @@
|
|
1
|
-
import "../
|
2
|
-
import "./collapse.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
|
7
|
-
import * as
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__ from "../config-provider";
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__collapse_transition_cbd5c828__ from "../collapse-transition";
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__ from "../icon";
|
8
6
|
/******/ // The require scope
|
9
7
|
/******/ var __webpack_require__ = {};
|
10
8
|
/******/
|
@@ -39,7 +37,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
39
37
|
;// CONCATENATED MODULE: external "../shared"
|
40
38
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
41
39
|
var y = x => () => x
|
42
|
-
const
|
40
|
+
const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["renderDirectiveType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.renderDirectiveType, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstallProps });
|
43
41
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
44
42
|
function _typeof(o) {
|
45
43
|
"@babel/helpers - typeof";
|
@@ -127,17 +125,17 @@ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
127
125
|
var external_vue_y = x => () => x
|
128
126
|
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["renderSlot"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot, ["vShow"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.vShow, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
129
127
|
;// CONCATENATED MODULE: external "../config-provider"
|
130
|
-
var
|
131
|
-
var
|
132
|
-
const
|
128
|
+
var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
129
|
+
var external_config_provider_y = x => () => x
|
130
|
+
const external_config_provider_namespaceObject = external_config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__.usePrefix });
|
133
131
|
;// CONCATENATED MODULE: external "../collapse-transition"
|
134
|
-
var
|
135
|
-
var
|
136
|
-
const
|
132
|
+
var external_collapse_transition_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
133
|
+
var external_collapse_transition_y = x => () => x
|
134
|
+
const external_collapse_transition_namespaceObject = external_collapse_transition_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__collapse_transition_cbd5c828__["default"] });
|
137
135
|
;// CONCATENATED MODULE: external "../icon"
|
138
|
-
var
|
139
|
-
var
|
140
|
-
const
|
136
|
+
var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
137
|
+
var external_icon_y = x => () => x
|
138
|
+
const external_icon_namespaceObject = __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__;
|
141
139
|
;// CONCATENATED MODULE: ../../packages/collapse/src/props.ts
|
142
140
|
|
143
141
|
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; }
|
@@ -173,48 +171,48 @@ var propsCollapse = {
|
|
173
171
|
* 渲染列表
|
174
172
|
* 对象数组或者字符串数组,字符串数组默认会增加 name 字段,值为传入的字符串值
|
175
173
|
*/
|
176
|
-
list:
|
174
|
+
list: external_shared_namespaceObject.PropTypes.arrayOf(external_shared_namespaceObject.PropTypes.any).def([]),
|
177
175
|
/**
|
178
176
|
* ID字段
|
179
177
|
*/
|
180
|
-
idFiled:
|
178
|
+
idFiled: external_shared_namespaceObject.PropTypes.string.def('$index'),
|
181
179
|
/**
|
182
180
|
* Title 字段
|
183
181
|
*/
|
184
|
-
titleField:
|
182
|
+
titleField: external_shared_namespaceObject.PropTypes.string.def('name'),
|
185
183
|
/**
|
186
184
|
* Content 字段,默认渲染内容,不配置时自动读取 content 字段
|
187
185
|
* 自定义配置slot时可以忽略
|
188
186
|
*/
|
189
|
-
contentField:
|
187
|
+
contentField: external_shared_namespaceObject.PropTypes.string.def('content'),
|
190
188
|
/**
|
191
189
|
* 当前激活Index
|
192
190
|
*/
|
193
|
-
modelValue:
|
191
|
+
modelValue: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.arrayOf(external_shared_namespaceObject.PropTypes.number).def([]), external_shared_namespaceObject.PropTypes.arrayOf(external_shared_namespaceObject.PropTypes.string).def([]), external_shared_namespaceObject.PropTypes.number.def(-1)]),
|
194
192
|
/**
|
195
193
|
* 是否使用手风琴效果
|
196
194
|
*/
|
197
|
-
accordion:
|
195
|
+
accordion: external_shared_namespaceObject.PropTypes.bool.def(false),
|
198
196
|
/**
|
199
197
|
* 是否使用带线条样式
|
200
198
|
*/
|
201
|
-
hasHeaderBorder:
|
199
|
+
hasHeaderBorder: external_shared_namespaceObject.PropTypes.bool.def(false),
|
202
200
|
/**
|
203
201
|
* 是否使用Hover效果
|
204
202
|
*/
|
205
|
-
hasHeaderHover:
|
203
|
+
hasHeaderHover: external_shared_namespaceObject.PropTypes.bool.def(true),
|
206
204
|
/**
|
207
205
|
* 自定义图标
|
208
206
|
*/
|
209
|
-
headerIcon:
|
207
|
+
headerIcon: external_shared_namespaceObject.PropTypes.string.def(''),
|
210
208
|
/**
|
211
209
|
* 是否使用卡片样式
|
212
210
|
*/
|
213
|
-
useCardTheme:
|
211
|
+
useCardTheme: external_shared_namespaceObject.PropTypes.bool.def(false),
|
214
212
|
/**
|
215
213
|
* 图标位置
|
216
214
|
*/
|
217
|
-
headerIconAlign:
|
215
|
+
headerIconAlign: external_shared_namespaceObject.PropTypes.string.def('left')
|
218
216
|
};
|
219
217
|
var CollapsePanelEventProps = {
|
220
218
|
itemClick: {
|
@@ -222,15 +220,15 @@ var CollapsePanelEventProps = {
|
|
222
220
|
}
|
223
221
|
};
|
224
222
|
var propsCollapsePanel = _objectSpread({
|
225
|
-
name:
|
226
|
-
title:
|
227
|
-
content:
|
228
|
-
disabled:
|
229
|
-
isFormList:
|
230
|
-
renderDirective: (0,
|
231
|
-
modelValue:
|
232
|
-
alone:
|
233
|
-
icon:
|
223
|
+
name: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.number, external_shared_namespaceObject.PropTypes.string]).def(''),
|
224
|
+
title: external_shared_namespaceObject.PropTypes.any,
|
225
|
+
content: external_shared_namespaceObject.PropTypes.string,
|
226
|
+
disabled: external_shared_namespaceObject.PropTypes.bool.def(false),
|
227
|
+
isFormList: external_shared_namespaceObject.PropTypes.bool.def(false),
|
228
|
+
renderDirective: (0,external_shared_namespaceObject.renderDirectiveType)(),
|
229
|
+
modelValue: external_shared_namespaceObject.PropTypes.bool.def(false),
|
230
|
+
alone: external_shared_namespaceObject.PropTypes.bool.def(false),
|
231
|
+
icon: external_shared_namespaceObject.PropTypes.string.def('angle-right')
|
234
232
|
}, CollapsePanelEventProps);
|
235
233
|
;// CONCATENATED MODULE: ../../packages/collapse/src/collapse-panel.tsx
|
236
234
|
|
@@ -294,7 +292,7 @@ function _isSlot(s) {
|
|
294
292
|
immediate: true
|
295
293
|
});
|
296
294
|
}
|
297
|
-
var _usePrefix = (0,
|
295
|
+
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
298
296
|
resolveClassName = _usePrefix.resolveClassName;
|
299
297
|
function toCamelCase(str) {
|
300
298
|
var words = str.split('-');
|
@@ -361,7 +359,7 @@ function _isSlot(s) {
|
|
361
359
|
}
|
362
360
|
return {
|
363
361
|
isActive: isActive,
|
364
|
-
collapseIcon:
|
362
|
+
collapseIcon: external_icon_namespaceObject["".concat(toCamelCase(props.icon))],
|
365
363
|
clickItem: clickItem,
|
366
364
|
renderPanel: renderPanel,
|
367
365
|
renderHeader: renderHeader,
|
@@ -379,7 +377,7 @@ function _isSlot(s) {
|
|
379
377
|
}
|
380
378
|
}, [this.renderHeader((0,external_vue_namespaceObject.createVNode)(this.collapseIcon, {
|
381
379
|
"class": "".concat(this.resolveClassName('collapse-icon'), " ").concat(this.isActive && 'rotate-icon' || '')
|
382
|
-
}, null))]), (0,external_vue_namespaceObject.createVNode)(
|
380
|
+
}, null))]), (0,external_vue_namespaceObject.createVNode)(external_collapse_transition_namespaceObject["default"], null, _isSlot(_slot = this.renderPanel()) ? _slot : {
|
383
381
|
"default": function _default() {
|
384
382
|
return [_slot];
|
385
383
|
}
|
@@ -471,7 +469,7 @@ function collapse_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
471
469
|
};
|
472
470
|
(0,external_vue_namespaceObject.provide)('localActiveItems', localActiveItems);
|
473
471
|
(0,external_vue_namespaceObject.provide)('handleItemClick', handleItemClick);
|
474
|
-
var _usePrefix = (0,
|
472
|
+
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
475
473
|
resolveClassName = _usePrefix.resolveClassName;
|
476
474
|
var className = resolveClassName('collapse-wrapper');
|
477
475
|
// 线条样式
|
@@ -561,7 +559,7 @@ function collapse_objectSpread(e) { for (var r = 1; r < arguments.length; r++) {
|
|
561
559
|
|
562
560
|
|
563
561
|
|
564
|
-
var BkCollapse = (0,
|
562
|
+
var BkCollapse = (0,external_shared_namespaceObject.withInstallProps)(collapse, {
|
565
563
|
CollapsePanel: collapse_panel
|
566
564
|
});
|
567
565
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
.bk-collapse-transitioncollapse-transition {
|
2
2
|
transition: 0.3s height ease-in-out, 0.3s padding-top ease-in-out, 0.3s padding-bottom ease-in-out;
|
3
3
|
}
|
4
|
-
|
5
|
-
|
4
|
+
.bk-collapse-transition-leave-active,
|
5
|
+
.bk-collapse-transition-enter-active {
|
6
6
|
transition: 0.3s max-height ease-in-out, 0.3s padding-top ease-in-out, 0.3s padding-bottom ease-in-out;
|
7
7
|
}
|
8
8
|
.horizontal-collapse-transition {
|
@@ -17,77 +17,77 @@
|
|
17
17
|
.fade-in-linear-leave-active {
|
18
18
|
opacity: 0;
|
19
19
|
}
|
20
|
-
|
21
|
-
|
20
|
+
.bk-fade-in-linear-enter-active,
|
21
|
+
.bk-fade-in-linear-leave-active {
|
22
22
|
transition: opacity 200ms linear;
|
23
23
|
}
|
24
|
-
|
25
|
-
|
26
|
-
|
24
|
+
.bk-fade-in-linear-enter,
|
25
|
+
.bk-fade-in-linear-leave,
|
26
|
+
.bk-fade-in-linear-leave-active {
|
27
27
|
opacity: 0;
|
28
28
|
}
|
29
|
-
|
30
|
-
|
29
|
+
.bk-fade-in-enter-active,
|
30
|
+
.bk-fade-in-leave-active {
|
31
31
|
transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
|
32
32
|
}
|
33
|
-
|
34
|
-
|
33
|
+
.bk-fade-in-enter,
|
34
|
+
.bk-fade-in-leave-active {
|
35
35
|
opacity: 0;
|
36
36
|
}
|
37
|
-
|
38
|
-
|
37
|
+
.bk-zoom-in-center-enter-active,
|
38
|
+
.bk-zoom-in-center-leave-active {
|
39
39
|
transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
|
40
40
|
}
|
41
|
-
|
42
|
-
|
41
|
+
.bk-zoom-in-center-enter,
|
42
|
+
.bk-zoom-in-center-leave-active {
|
43
43
|
opacity: 0;
|
44
44
|
transform: scaleX(0);
|
45
45
|
}
|
46
|
-
|
47
|
-
|
46
|
+
.bk-zoom-in-top-enter-active,
|
47
|
+
.bk-zoom-in-top-leave-active {
|
48
48
|
opacity: 1;
|
49
49
|
transform: scaleY(1);
|
50
50
|
transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
|
51
51
|
transform-origin: center top;
|
52
52
|
}
|
53
|
-
|
54
|
-
|
53
|
+
.bk-zoom-in-top-enter,
|
54
|
+
.bk-zoom-in-top-leave-active {
|
55
55
|
opacity: 0;
|
56
56
|
transform: scaleY(0);
|
57
57
|
}
|
58
|
-
|
59
|
-
|
58
|
+
.bk-zoom-in-bottom-enter-active,
|
59
|
+
.bk-zoom-in-bottom-leave-active {
|
60
60
|
opacity: 1;
|
61
61
|
transform: scaleY(1);
|
62
62
|
transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
|
63
63
|
transform-origin: center bottom;
|
64
64
|
}
|
65
|
-
|
66
|
-
|
65
|
+
.bk-zoom-in-bottom-enter,
|
66
|
+
.bk-zoom-in-bottom-leave-active {
|
67
67
|
opacity: 0;
|
68
68
|
transform: scaleY(0);
|
69
69
|
}
|
70
|
-
|
71
|
-
|
70
|
+
.bk-zoom-in-left-enter-active,
|
71
|
+
.bk-zoom-in-left-leave-active {
|
72
72
|
opacity: 1;
|
73
73
|
transform: scale(1, 1);
|
74
74
|
transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
|
75
75
|
transform-origin: top left;
|
76
76
|
}
|
77
|
-
|
78
|
-
|
77
|
+
.bk-zoom-in-left-enter,
|
78
|
+
.bk-zoom-in-left-leave-active {
|
79
79
|
opacity: 0;
|
80
80
|
transform: scale(0.45, 0.45);
|
81
81
|
}
|
82
|
-
|
83
|
-
|
82
|
+
.bk-list-enter-active,
|
83
|
+
.bk-list-leave-active {
|
84
84
|
transition: all 1s;
|
85
85
|
}
|
86
|
-
|
86
|
+
.bk-list-enter,
|
87
87
|
.bk-list-leave-active {
|
88
88
|
opacity: 0;
|
89
89
|
transform: translateY(-30px);
|
90
90
|
}
|
91
|
-
|
91
|
+
.bk-opacity-transition {
|
92
92
|
transition: opacity 0.3s cubic-bezier(0.55, 0, 0.1, 1);
|
93
93
|
}
|
@@ -1,27 +1,23 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
2
|
|
3
|
-
|
4
|
-
transition:
|
5
|
-
|
6
|
-
|
7
|
-
0.3s padding-bottom ease-in-out;
|
3
|
+
.@{bk-prefix}-collapse-transitioncollapse-transition {
|
4
|
+
transition: .3s height ease-in-out,
|
5
|
+
.3s padding-top ease-in-out,
|
6
|
+
.3s padding-bottom ease-in-out;
|
8
7
|
}
|
9
8
|
|
10
|
-
|
11
|
-
|
12
|
-
transition:
|
13
|
-
|
14
|
-
|
15
|
-
0.3s padding-bottom ease-in-out;
|
9
|
+
.@{bk-prefix}-collapse-transition-leave-active,
|
10
|
+
.@{bk-prefix}-collapse-transition-enter-active {
|
11
|
+
transition: .3s max-height ease-in-out,
|
12
|
+
.3s padding-top ease-in-out,
|
13
|
+
.3s padding-bottom ease-in-out;
|
16
14
|
}
|
17
15
|
|
18
16
|
.horizontal-collapse-transition {
|
19
|
-
transition:
|
20
|
-
0.3s width ease-in-out,
|
21
|
-
0.3s padding-left ease-in-out,
|
22
|
-
0.3s padding-right ease-in-out;
|
17
|
+
transition: .3s width ease-in-out, .3s padding-left ease-in-out, .3s padding-right ease-in-out;
|
23
18
|
}
|
24
19
|
|
20
|
+
|
25
21
|
.fade-in-linear-enter-active,
|
26
22
|
.fade-in-linear-leave-active {
|
27
23
|
transition: opacity 200ms linear;
|
@@ -33,90 +29,83 @@
|
|
33
29
|
opacity: 0;
|
34
30
|
}
|
35
31
|
|
36
|
-
|
37
|
-
|
32
|
+
.@{bk-prefix}-fade-in-linear-enter-active,
|
33
|
+
.@{bk-prefix}-fade-in-linear-leave-active {
|
38
34
|
transition: opacity 200ms linear;
|
39
35
|
}
|
40
|
-
|
41
|
-
|
42
|
-
|
36
|
+
.@{bk-prefix}-fade-in-linear-enter,
|
37
|
+
.@{bk-prefix}-fade-in-linear-leave,
|
38
|
+
.@{bk-prefix}-fade-in-linear-leave-active {
|
43
39
|
opacity: 0;
|
44
40
|
}
|
45
41
|
|
46
|
-
|
47
|
-
|
48
|
-
transition: all
|
42
|
+
.@{bk-prefix}-fade-in-enter-active,
|
43
|
+
.@{bk-prefix}-fade-in-leave-active {
|
44
|
+
transition: all .3s cubic-bezier(.55,0,.1,1);
|
49
45
|
}
|
50
|
-
|
51
|
-
|
46
|
+
.@{bk-prefix}-fade-in-enter,
|
47
|
+
.@{bk-prefix}-fade-in-leave-active {
|
52
48
|
opacity: 0;
|
53
49
|
}
|
54
50
|
|
55
|
-
|
56
|
-
|
57
|
-
transition: all
|
51
|
+
.@{bk-prefix}-zoom-in-center-enter-active,
|
52
|
+
.@{bk-prefix}-zoom-in-center-leave-active {
|
53
|
+
transition: all .3s cubic-bezier(.55,0,.1,1);
|
58
54
|
}
|
59
|
-
|
60
|
-
|
55
|
+
.@{bk-prefix}-zoom-in-center-enter,
|
56
|
+
.@{bk-prefix}-zoom-in-center-leave-active {
|
61
57
|
opacity: 0;
|
62
58
|
transform: scaleX(0);
|
63
59
|
}
|
64
60
|
|
65
|
-
|
66
|
-
|
61
|
+
.@{bk-prefix}-zoom-in-top-enter-active,
|
62
|
+
.@{bk-prefix}-zoom-in-top-leave-active {
|
67
63
|
opacity: 1;
|
68
64
|
transform: scaleY(1);
|
69
|
-
transition:
|
70
|
-
transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
|
71
|
-
opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
|
65
|
+
transition: transform 300ms cubic-bezier(.23, 1, .32, 1), opacity 300ms cubic-bezier(.23, 1, .32, 1);
|
72
66
|
transform-origin: center top;
|
73
67
|
}
|
74
|
-
|
75
|
-
|
68
|
+
.@{bk-prefix}-zoom-in-top-enter,
|
69
|
+
.@{bk-prefix}-zoom-in-top-leave-active {
|
76
70
|
opacity: 0;
|
77
71
|
transform: scaleY(0);
|
78
72
|
}
|
79
73
|
|
80
|
-
|
81
|
-
|
74
|
+
.@{bk-prefix}-zoom-in-bottom-enter-active,
|
75
|
+
.@{bk-prefix}-zoom-in-bottom-leave-active {
|
82
76
|
opacity: 1;
|
83
77
|
transform: scaleY(1);
|
84
|
-
transition:
|
85
|
-
transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
|
86
|
-
opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
|
78
|
+
transition: transform 300ms cubic-bezier(.23, 1, .32, 1), opacity 300ms cubic-bezier(.23, 1, .32, 1);
|
87
79
|
transform-origin: center bottom;
|
88
80
|
}
|
89
|
-
|
90
|
-
|
81
|
+
.@{bk-prefix}-zoom-in-bottom-enter,
|
82
|
+
.@{bk-prefix}-zoom-in-bottom-leave-active {
|
91
83
|
opacity: 0;
|
92
84
|
transform: scaleY(0);
|
93
85
|
}
|
94
86
|
|
95
|
-
|
96
|
-
|
87
|
+
.@{bk-prefix}-zoom-in-left-enter-active,
|
88
|
+
.@{bk-prefix}-zoom-in-left-leave-active {
|
97
89
|
opacity: 1;
|
98
90
|
transform: scale(1, 1);
|
99
|
-
transition:
|
100
|
-
transform 300ms cubic-bezier(0.23, 1, 0.32, 1),
|
101
|
-
opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
|
91
|
+
transition: transform 300ms cubic-bezier(.23, 1, .32, 1), opacity 300ms cubic-bezier(.23, 1, .32, 1);
|
102
92
|
transform-origin: top left;
|
103
93
|
}
|
104
|
-
|
105
|
-
|
94
|
+
.@{bk-prefix}-zoom-in-left-enter,
|
95
|
+
.@{bk-prefix}-zoom-in-left-leave-active {
|
106
96
|
opacity: 0;
|
107
|
-
transform: scale(
|
97
|
+
transform: scale(.45, .45);
|
108
98
|
}
|
109
99
|
|
110
|
-
|
111
|
-
|
100
|
+
.@{bk-prefix}-list-enter-active,
|
101
|
+
.@{bk-prefix}-list-leave-active {
|
112
102
|
transition: all 1s;
|
113
103
|
}
|
114
|
-
|
115
|
-
.@{bk-prefix}-list-leave-active {
|
104
|
+
.@{bk-prefix}-list-enter, .@{bk-prefix}-list-leave-active {
|
116
105
|
opacity: 0;
|
117
106
|
transform: translateY(-30px);
|
118
107
|
}
|
119
108
|
|
120
|
-
|
121
|
-
transition: opacity
|
122
|
-
}
|
109
|
+
.@{bk-prefix}-opacity-transition {
|
110
|
+
transition: opacity .3s cubic-bezier(.55,0,.1,1);
|
111
|
+
}
|