bkui-vue 1.0.3-beta.26 → 1.0.3-beta.28
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 +2 -2
- package/lib/styles/themes/themes copy.less +0 -167
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
.bk-fixed-navbar {
|
2
2
|
position: fixed;
|
3
3
|
right: 10px;
|
4
4
|
width: 52px;
|
@@ -9,34 +9,34 @@
|
|
9
9
|
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
|
10
10
|
box-sizing: border-box;
|
11
11
|
}
|
12
|
-
|
12
|
+
.bk-fixed-navbar.middle {
|
13
13
|
top: 50%;
|
14
14
|
transform: translateY(-50%);
|
15
15
|
}
|
16
|
-
|
16
|
+
.bk-fixed-navbar.bottom {
|
17
17
|
bottom: 10%;
|
18
18
|
}
|
19
|
-
|
19
|
+
.bk-fixed-navbar.top {
|
20
20
|
top: 10%;
|
21
21
|
}
|
22
|
-
|
22
|
+
.bk-fixed-navbar .fixed-navbar-item {
|
23
23
|
display: flex;
|
24
24
|
color: #63656e;
|
25
25
|
align-items: center;
|
26
26
|
justify-content: center;
|
27
27
|
flex-direction: column;
|
28
28
|
}
|
29
|
-
|
29
|
+
.bk-fixed-navbar .fixed-navbar-item:hover {
|
30
30
|
color: #3a84ff;
|
31
31
|
cursor: pointer;
|
32
32
|
}
|
33
|
-
|
33
|
+
.bk-fixed-navbar .fixed-navbar-item:not(:last-of-type) {
|
34
34
|
margin-bottom: 25px;
|
35
35
|
}
|
36
|
-
|
36
|
+
.bk-fixed-navbar .fixed-navbar-item .icon {
|
37
37
|
margin-bottom: 5px;
|
38
38
|
font-size: 17px;
|
39
39
|
}
|
40
|
-
|
40
|
+
.bk-fixed-navbar .fixed-navbar-item .text {
|
41
41
|
font-size: 12px;
|
42
42
|
}
|
@@ -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,7 +127,7 @@
|
|
127
127
|
--select-active-color: #e1ecff;
|
128
128
|
--select-hover-color: #f5f7fa;
|
129
129
|
}
|
130
|
-
|
130
|
+
.bk-fixed-navbar {
|
131
131
|
position: fixed;
|
132
132
|
right: 10px;
|
133
133
|
width: 52px;
|
@@ -138,34 +138,34 @@
|
|
138
138
|
box-shadow: 0px 2px 4px 0px var(--fixed-navbar-boxshadow-color);
|
139
139
|
box-sizing: border-box;
|
140
140
|
}
|
141
|
-
|
141
|
+
.bk-fixed-navbar.middle {
|
142
142
|
top: 50%;
|
143
143
|
transform: translateY(-50%);
|
144
144
|
}
|
145
|
-
|
145
|
+
.bk-fixed-navbar.bottom {
|
146
146
|
bottom: 10%;
|
147
147
|
}
|
148
|
-
|
148
|
+
.bk-fixed-navbar.top {
|
149
149
|
top: 10%;
|
150
150
|
}
|
151
|
-
|
151
|
+
.bk-fixed-navbar .fixed-navbar-item {
|
152
152
|
display: flex;
|
153
153
|
color: var(--default-color);
|
154
154
|
align-items: center;
|
155
155
|
justify-content: center;
|
156
156
|
flex-direction: column;
|
157
157
|
}
|
158
|
-
|
158
|
+
.bk-fixed-navbar .fixed-navbar-item:hover {
|
159
159
|
color: var(--primary-color);
|
160
160
|
cursor: pointer;
|
161
161
|
}
|
162
|
-
|
162
|
+
.bk-fixed-navbar .fixed-navbar-item:not(:last-of-type) {
|
163
163
|
margin-bottom: 25px;
|
164
164
|
}
|
165
|
-
|
165
|
+
.bk-fixed-navbar .fixed-navbar-item .icon {
|
166
166
|
margin-bottom: 5px;
|
167
167
|
font-size: 17px;
|
168
168
|
}
|
169
|
-
|
169
|
+
.bk-fixed-navbar .fixed-navbar-item .text {
|
170
170
|
font-size: 12px;
|
171
171
|
}
|
@@ -1,8 +1,6 @@
|
|
1
|
-
import "../
|
2
|
-
import "./fixed-navbar.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
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__ from "../config-provider";
|
6
4
|
/******/ // The require scope
|
7
5
|
/******/ var __webpack_require__ = {};
|
8
6
|
/******/
|
@@ -35,15 +33,15 @@ __webpack_require__.d(__webpack_exports__, {
|
|
35
33
|
;// CONCATENATED MODULE: external "../shared"
|
36
34
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
37
35
|
var y = x => () => x
|
38
|
-
const
|
36
|
+
const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.bkZIndexManager, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
|
39
37
|
;// CONCATENATED MODULE: external "vue"
|
40
38
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
41
39
|
var external_vue_y = x => () => x
|
42
40
|
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent });
|
43
41
|
;// CONCATENATED MODULE: external "../config-provider"
|
44
|
-
var
|
45
|
-
var
|
46
|
-
const
|
42
|
+
var external_config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
43
|
+
var external_config_provider_y = x => () => x
|
44
|
+
const external_config_provider_namespaceObject = external_config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE__config_provider_9d0186d9__.usePrefix });
|
47
45
|
;// CONCATENATED MODULE: ../../packages/fixed-navbar/src/fixed-navbar.tsx
|
48
46
|
|
49
47
|
/*
|
@@ -77,10 +75,10 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
77
75
|
/* harmony default export */ const fixed_navbar = ((0,external_vue_namespaceObject.defineComponent)({
|
78
76
|
name: 'FixedNavbar',
|
79
77
|
props: {
|
80
|
-
navItems:
|
81
|
-
extCls:
|
82
|
-
position:
|
83
|
-
modelValue:
|
78
|
+
navItems: external_shared_namespaceObject.PropTypes.array.def([]),
|
79
|
+
extCls: external_shared_namespaceObject.PropTypes.string.def(''),
|
80
|
+
position: external_shared_namespaceObject.PropTypes.oneOf(['middle', 'top', 'bottom']).def('middle'),
|
81
|
+
modelValue: external_shared_namespaceObject.PropTypes.bool.def(true)
|
84
82
|
},
|
85
83
|
emits: ['update:modelValue', 'click'],
|
86
84
|
setup: function setup(props, _ref) {
|
@@ -96,12 +94,12 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
96
94
|
text: ''
|
97
95
|
}, item);
|
98
96
|
});
|
99
|
-
var zIndex =
|
97
|
+
var zIndex = external_shared_namespaceObject.bkZIndexManager.getModalNextIndex();
|
100
98
|
var handleClick = function handleClick(item) {
|
101
99
|
emit('click', item);
|
102
100
|
item.action();
|
103
101
|
};
|
104
|
-
var _usePrefix = (0,
|
102
|
+
var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
|
105
103
|
resolveClassName = _usePrefix.resolveClassName;
|
106
104
|
return function () {
|
107
105
|
return props.modelValue && (0,external_vue_namespaceObject.createVNode)("div", {
|
@@ -150,7 +148,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
150
148
|
*/
|
151
149
|
|
152
150
|
|
153
|
-
var BkFixedNavbar = (0,
|
151
|
+
var BkFixedNavbar = (0,external_shared_namespaceObject.withInstall)(fixed_navbar);
|
154
152
|
/* harmony default export */ const src = (BkFixedNavbar);
|
155
153
|
var __webpack_exports__default = __webpack_exports__["default"];
|
156
154
|
export { __webpack_exports__default as default };
|
package/lib/form/form.css
CHANGED
@@ -8,10 +8,10 @@
|
|
8
8
|
transform: translateY(0);
|
9
9
|
}
|
10
10
|
}
|
11
|
-
|
11
|
+
.bk-form {
|
12
12
|
text-align: left;
|
13
13
|
}
|
14
|
-
|
14
|
+
.bk-form--vertical .bk-form-label {
|
15
15
|
float: unset;
|
16
16
|
width: auto;
|
17
17
|
padding-right: 0;
|
@@ -19,13 +19,13 @@
|
|
19
19
|
line-height: 20px;
|
20
20
|
text-align: left;
|
21
21
|
}
|
22
|
-
|
22
|
+
.bk-form--vertical .bk-form-content {
|
23
23
|
text-align: left;
|
24
24
|
}
|
25
|
-
|
25
|
+
.bk-form-item {
|
26
26
|
margin-bottom: 24px;
|
27
27
|
}
|
28
|
-
|
28
|
+
.bk-form-item.is-required .bk-form-label:after {
|
29
29
|
position: absolute;
|
30
30
|
top: 0;
|
31
31
|
width: 14px;
|
@@ -33,23 +33,23 @@
|
|
33
33
|
text-align: center;
|
34
34
|
content: '*';
|
35
35
|
}
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
36
|
+
.bk-form-item.is-error .bk-input,
|
37
|
+
.bk-form-item.is-error .bk-textarea,
|
38
|
+
.bk-form-item.is-error .bk-cascader,
|
39
|
+
.bk-form-item.is-error .bk-date-picker-editor,
|
40
|
+
.bk-form-item.is-error .bk-tag-input {
|
41
41
|
border-color: #ea3636;
|
42
42
|
transition: all 0.15s;
|
43
43
|
}
|
44
|
-
|
45
|
-
|
44
|
+
.bk-form-item:after,
|
45
|
+
.bk-form-item:before {
|
46
46
|
display: table;
|
47
47
|
content: '';
|
48
48
|
}
|
49
|
-
|
49
|
+
.bk-form-item:after {
|
50
50
|
clear: both;
|
51
51
|
}
|
52
|
-
|
52
|
+
.bk-form-label {
|
53
53
|
position: relative;
|
54
54
|
float: left;
|
55
55
|
padding-right: 22px;
|
@@ -61,18 +61,18 @@
|
|
61
61
|
vertical-align: middle;
|
62
62
|
box-sizing: border-box;
|
63
63
|
}
|
64
|
-
|
64
|
+
.bk-form-label-description {
|
65
65
|
cursor: pointer;
|
66
66
|
border-bottom: 1px dashed #979ba5;
|
67
67
|
}
|
68
|
-
|
68
|
+
.bk-form-label-description-popper {
|
69
69
|
max-width: 400px;
|
70
70
|
}
|
71
|
-
|
71
|
+
.bk-form-content {
|
72
72
|
position: relative;
|
73
73
|
line-height: 32px;
|
74
74
|
}
|
75
|
-
|
75
|
+
.bk-form-error {
|
76
76
|
position: absolute;
|
77
77
|
left: 0;
|
78
78
|
padding-top: 4px;
|
@@ -82,7 +82,7 @@
|
|
82
82
|
text-align: left;
|
83
83
|
animation: form-error-appear-animation 0.15s;
|
84
84
|
}
|
85
|
-
|
85
|
+
.bk-form-error-tips {
|
86
86
|
position: absolute;
|
87
87
|
top: 8px;
|
88
88
|
right: 8px;
|
@@ -90,65 +90,65 @@
|
|
90
90
|
line-height: 1;
|
91
91
|
color: #ea3636;
|
92
92
|
}
|
93
|
-
|
93
|
+
.bk-compose-form-item {
|
94
94
|
display: inline-block;
|
95
95
|
}
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
96
|
+
.bk-compose-form-item > .bk-input,
|
97
|
+
.bk-compose-form-item > .bk-textarea,
|
98
|
+
.bk-compose-form-item > .bk-select,
|
99
|
+
.bk-compose-form-item > .bk-cascade,
|
100
|
+
.bk-compose-form-item > .bk-color-picker,
|
101
|
+
.bk-compose-form-item > .bk-date-picker,
|
102
|
+
.bk-compose-form-item > .bk-tag-input,
|
103
|
+
.bk-compose-form-item > .bk-tag-selector,
|
104
|
+
.bk-compose-form-item > .bk-search-select {
|
105
105
|
float: left;
|
106
106
|
width: auto;
|
107
107
|
margin-left: -1px;
|
108
108
|
}
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
109
|
+
.bk-compose-form-item .bk-input,
|
110
|
+
.bk-compose-form-item .bk-form-password,
|
111
|
+
.bk-compose-form-item .bk-textarea,
|
112
|
+
.bk-compose-form-item .bk-select,
|
113
|
+
.bk-compose-form-item .bk-cascade,
|
114
|
+
.bk-compose-form-item .bk-color-picker,
|
115
|
+
.bk-compose-form-item .bk-date-picker .bk-date-picker-editor,
|
116
|
+
.bk-compose-form-item .bk-tag-input,
|
117
|
+
.bk-compose-form-item .bk-search-select {
|
118
118
|
border-radius: 0;
|
119
119
|
}
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
120
|
+
.bk-compose-form-item .bk-input.control-active,
|
121
|
+
.bk-compose-form-item .bk-select.is-focus,
|
122
|
+
.bk-compose-form-item .bk-cascade.is-focus,
|
123
|
+
.bk-compose-form-item .bk-color-picker.bk-color-picker-show-dropdown,
|
124
|
+
.bk-compose-form-item .bk-color-picker:hover,
|
125
|
+
.bk-compose-form-item .bk-date-picker .bk-date-picker-editor:focus,
|
126
|
+
.bk-compose-form-item .bk-tag-input.active,
|
127
|
+
.bk-compose-form-item .bk-tag-selector,
|
128
|
+
.bk-compose-form-item .bk-search-select.is-focus {
|
129
129
|
z-index: 1;
|
130
130
|
opacity: 1;
|
131
131
|
}
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
132
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-input,
|
133
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-select,
|
134
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-cascade,
|
135
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-color-picker,
|
136
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-date-picker .bk-date-picker-editor,
|
137
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-tag-input,
|
138
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-tag-input,
|
139
|
+
.bk-compose-form-item .bk-compose-form-item-head.bk-search-select {
|
140
140
|
margin-left: 0;
|
141
141
|
border-top-right-radius: 0px;
|
142
142
|
border-bottom-right-radius: 0px;
|
143
143
|
}
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
144
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-input,
|
145
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-select,
|
146
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-cascade,
|
147
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-color-picker,
|
148
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-date-picker,
|
149
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-tag-input,
|
150
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-tag-input,
|
151
|
+
.bk-compose-form-item .bk-compose-form-item-tail.bk-search-select {
|
152
152
|
border-top-right-radius: 2px;
|
153
153
|
border-bottom-right-radius: 2px;
|
154
154
|
}
|
package/lib/form/form.less
CHANGED
@@ -12,10 +12,11 @@
|
|
12
12
|
}
|
13
13
|
}
|
14
14
|
|
15
|
-
|
15
|
+
.@{bk-prefix}-form {
|
16
16
|
text-align: left;
|
17
17
|
|
18
|
-
|
18
|
+
&--vertical {
|
19
|
+
|
19
20
|
.@{bk-prefix}-form-label {
|
20
21
|
float: unset;
|
21
22
|
width: auto;
|
@@ -23,6 +24,7 @@
|
|
23
24
|
margin-bottom: 6px;
|
24
25
|
line-height: 20px;
|
25
26
|
text-align: left;
|
27
|
+
|
26
28
|
}
|
27
29
|
|
28
30
|
.@{bk-prefix}-form-content {
|
@@ -31,7 +33,7 @@
|
|
31
33
|
}
|
32
34
|
}
|
33
35
|
|
34
|
-
|
36
|
+
.@{bk-prefix}-form-item {
|
35
37
|
margin-bottom: 24px;
|
36
38
|
|
37
39
|
&.is-required {
|
@@ -54,22 +56,22 @@
|
|
54
56
|
.@{bk-prefix}-date-picker-editor,
|
55
57
|
.@{bk-prefix}-tag-input {
|
56
58
|
border-color: #ea3636;
|
57
|
-
transition: all
|
59
|
+
transition: all .15s;
|
58
60
|
}
|
59
61
|
}
|
60
62
|
|
61
63
|
&:after,
|
62
64
|
&:before {
|
63
65
|
display: table;
|
64
|
-
content: ''
|
66
|
+
content: ''
|
65
67
|
}
|
66
68
|
|
67
69
|
&:after {
|
68
|
-
clear: both
|
70
|
+
clear: both
|
69
71
|
}
|
70
72
|
}
|
71
73
|
|
72
|
-
|
74
|
+
.@{bk-prefix}-form-label {
|
73
75
|
position: relative;
|
74
76
|
float: left;
|
75
77
|
padding-right: 22px;
|
@@ -82,20 +84,20 @@
|
|
82
84
|
vertical-align: middle;
|
83
85
|
box-sizing: border-box;
|
84
86
|
}
|
85
|
-
|
87
|
+
.@{bk-prefix}-form-label-description {
|
86
88
|
cursor: pointer;
|
87
89
|
border-bottom: 1px dashed #979ba5;
|
88
90
|
}
|
89
|
-
|
91
|
+
.@{bk-prefix}-form-label-description-popper {
|
90
92
|
max-width: 400px;
|
91
93
|
}
|
92
94
|
|
93
|
-
|
95
|
+
.@{bk-prefix}-form-content {
|
94
96
|
position: relative;
|
95
97
|
line-height: 32px;
|
96
98
|
}
|
97
99
|
|
98
|
-
|
100
|
+
.@{bk-prefix}-form-error {
|
99
101
|
position: absolute;
|
100
102
|
left: 0;
|
101
103
|
padding-top: 4px;
|
@@ -103,9 +105,9 @@
|
|
103
105
|
line-height: 1;
|
104
106
|
color: #ea3636;
|
105
107
|
text-align: left;
|
106
|
-
animation: form-error-appear-animation
|
108
|
+
animation: form-error-appear-animation .15s;
|
107
109
|
}
|
108
|
-
|
110
|
+
.@{bk-prefix}-form-error-tips {
|
109
111
|
position: absolute;
|
110
112
|
top: 8px;
|
111
113
|
right: 8px;
|
@@ -114,7 +116,7 @@
|
|
114
116
|
color: #ea3636;
|
115
117
|
}
|
116
118
|
|
117
|
-
|
119
|
+
.@{bk-prefix}-compose-form-item {
|
118
120
|
display: inline-block;
|
119
121
|
display: inline-block;
|
120
122
|
|