bkui-vue 0.0.1-beta.12 → 0.0.1-beta.15
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/README.md +25 -17
- package/README_EN.md +89 -0
- package/dist/bkui-vue.cjs.js +1847 -467
- package/dist/bkui-vue.esm.js +1842 -468
- package/dist/bkui-vue.umd.js +1847 -467
- package/dist/style.css +454 -177
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/index.js +1 -1
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.css +10 -1
- package/lib/breadcrumb/breadcrumb.d.ts +20 -0
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +10 -1
- package/lib/breadcrumb/index.d.ts +38 -2
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +1 -1
- package/lib/card/index.js +1 -1
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/collapse/index.js +1 -1
- package/lib/components.d.ts +3 -1
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/index.js +1 -1
- package/lib/directives/index.js +1 -1
- package/lib/divider/index.js +1 -1
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/index.d.ts +4 -0
- package/lib/icon/index.js +1 -1
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/index.d.ts +1 -0
- package/lib/input/index.d.ts +19 -11
- package/lib/input/index.js +2 -2
- package/lib/input/input.css +1 -0
- package/lib/input/input.d.ts +5 -3
- package/lib/input/input.less +4 -3
- package/lib/input/input.variable.css +1 -0
- package/lib/link/index.js +1 -1
- package/lib/loading/index.d.ts +21 -4
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.d.ts +13 -2
- package/lib/menu/index.js +1 -1
- package/lib/message/index.js +1 -1
- package/lib/modal/index.js +1 -1
- package/lib/navigation/index.js +1 -1
- package/lib/notify/index.js +1 -1
- package/lib/notify/notifyConstructor.d.ts +2 -2
- package/lib/popover/index.d.ts +103 -48
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +22 -13
- package/lib/popover/popover.d.ts +30 -23
- package/lib/popover/popover.less +55 -45
- package/lib/popover/popover.variable.css +22 -13
- package/lib/popover/props.d.ts +77 -0
- package/lib/preset.d.ts +2 -3
- package/lib/process/index.d.ts +145 -0
- package/lib/process/index.js +15 -0
- package/lib/process/process.css +139 -0
- package/lib/process/process.d.ts +116 -0
- package/lib/process/process.less +179 -0
- package/lib/process/process.variable.css +225 -0
- package/lib/progress/index.d.ts +23 -1
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +0 -3
- package/lib/progress/progress.d.ts +17 -1
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +0 -3
- package/lib/radio/index.d.ts +2 -2
- package/lib/radio/index.js +1 -1
- package/lib/rate/index.js +1 -1
- package/lib/select/common.d.ts +10 -1
- package/lib/select/index.d.ts +133 -190
- package/lib/select/index.js +2 -2
- package/lib/select/option.d.ts +1 -7
- package/lib/select/optionGroup.d.ts +22 -15
- package/lib/select/select.css +71 -14
- package/lib/select/select.d.ts +40 -55
- package/lib/select/select.less +73 -14
- package/lib/select/select.variable.css +71 -14
- package/lib/shared/bk-helper-core.d.ts +6 -0
- package/lib/shared/bk-popover.d.ts +45 -4
- package/lib/shared/index.d.ts +10 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/utils.d.ts +6 -0
- package/lib/sideslider/index.js +1 -1
- package/lib/slider/index.js +2 -2
- package/lib/steps/index.d.ts +8 -8
- package/lib/steps/index.js +2 -2
- package/lib/steps/steps.d.ts +2 -2
- package/lib/styles/index.d.ts +2 -0
- package/lib/styles/index.js +1 -1
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +149 -135
- package/lib/switcher/switcher.less +210 -154
- package/lib/switcher/switcher.variable.css +149 -135
- package/lib/tab/index.js +1 -1
- package/lib/table/index.d.ts +76 -1
- package/lib/table/index.js +1 -1
- package/lib/table/props.d.ts +38 -0
- package/lib/table/render.d.ts +1 -1
- package/lib/table/table.css +6 -4
- package/lib/table/table.d.ts +34 -0
- package/lib/table/table.less +4 -4
- package/lib/table/table.variable.css +6 -4
- package/lib/table/utils.d.ts +7 -0
- package/lib/tag/index.js +1 -1
- package/lib/tree/index.d.ts +22 -8
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +52 -0
- package/lib/tree/tree.css +16 -7
- package/lib/tree/tree.d.ts +13 -7
- package/lib/tree/tree.less +24 -24
- package/lib/tree/tree.variable.css +16 -7
- package/lib/tree/util.d.ts +3 -44
- package/lib/virtual-render/index.d.ts +395 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +147 -0
- package/lib/virtual-render/v-virtual-render.d.ts +7 -0
- package/lib/virtual-render/virtual-render.css +40 -0
- package/lib/virtual-render/virtual-render.d.ts +175 -0
- package/lib/virtual-render/virtual-render.less +51 -0
- package/lib/virtual-render/virtual-render.variable.css +40 -0
- package/package.json +10 -6
package/dist/style.css
CHANGED
@@ -547,8 +547,17 @@ optgroup {
|
|
547
547
|
margin: 0 6px;
|
548
548
|
font-weight: normal;
|
549
549
|
}
|
550
|
+
.bk-breadcrumb-goback {
|
551
|
+
margin-right: 12px;
|
552
|
+
color: #0082ff;
|
553
|
+
cursor: pointer;
|
554
|
+
}
|
555
|
+
.bk-breadcrumb-goback svg {
|
556
|
+
font-size: 26px;
|
557
|
+
}
|
550
558
|
.bk-breadcrumb-item-inner.is-link,
|
551
559
|
.bk-breadcrumb-item-inner a {
|
560
|
+
color: #63656e;
|
552
561
|
text-decoration: none;
|
553
562
|
}
|
554
563
|
.bk-breadcrumb-item-inner.is-link:hover,
|
@@ -557,7 +566,7 @@ optgroup {
|
|
557
566
|
cursor: pointer;
|
558
567
|
}
|
559
568
|
.bk-breadcrumb-item:last-child {
|
560
|
-
color: #
|
569
|
+
color: #979ba5;
|
561
570
|
}
|
562
571
|
.bk-breadcrumb-item:last-child .el-breadcrumb__inner,
|
563
572
|
.bk-breadcrumb-item:last-child .el-breadcrumb__inner a,
|
@@ -1153,6 +1162,7 @@ optgroup {
|
|
1153
1162
|
.bk-input--suffix-icon {
|
1154
1163
|
padding-right: 10px;
|
1155
1164
|
font-size: 16px;
|
1165
|
+
line-height: 1;
|
1156
1166
|
color: #c4c6cc;
|
1157
1167
|
align-self: center;
|
1158
1168
|
}
|
@@ -1589,7 +1599,16 @@ optgroup {
|
|
1589
1599
|
.bk-popover .bk-popover-reference {
|
1590
1600
|
display: inline-block;
|
1591
1601
|
}
|
1592
|
-
.bk-popover .
|
1602
|
+
.bk-popover .fade-in-enter-active,
|
1603
|
+
.bk-popover .fade-in-linear-leave-active {
|
1604
|
+
transition: opacity 200ms linear;
|
1605
|
+
}
|
1606
|
+
.bk-popover .fade-in-enter,
|
1607
|
+
.bk-popover .fade-in-leave,
|
1608
|
+
.bk-popover .fade-in-leave-active {
|
1609
|
+
opacity: 0;
|
1610
|
+
}
|
1611
|
+
.bk-popover-content {
|
1593
1612
|
display: none;
|
1594
1613
|
padding: 7px 14px;
|
1595
1614
|
font-size: 12px;
|
@@ -1598,29 +1617,29 @@ optgroup {
|
|
1598
1617
|
border-radius: 4px;
|
1599
1618
|
box-sizing: border-box;
|
1600
1619
|
}
|
1601
|
-
.bk-popover
|
1620
|
+
.bk-popover-content[data-theme^='dark'] {
|
1602
1621
|
color: #fff;
|
1603
1622
|
background: #26323d;
|
1604
1623
|
}
|
1605
|
-
.bk-popover
|
1624
|
+
.bk-popover-content[data-theme^='light'] {
|
1606
1625
|
color: #26323d;
|
1607
1626
|
background-color: #fff;
|
1608
1627
|
box-shadow: 0 0 6px 0 #dcdee5;
|
1609
1628
|
}
|
1610
|
-
.bk-popover
|
1629
|
+
.bk-popover-content[data-theme^='light'][data-show] {
|
1611
1630
|
box-shadow: 0 0 6px 0 #dcdee5;
|
1612
1631
|
}
|
1613
|
-
.bk-popover
|
1632
|
+
.bk-popover-content[data-show] {
|
1614
1633
|
display: block;
|
1615
1634
|
}
|
1616
|
-
.bk-popover
|
1635
|
+
.bk-popover-content .arrow {
|
1617
1636
|
position: absolute;
|
1618
1637
|
width: 8px;
|
1619
1638
|
height: 8px;
|
1620
1639
|
background: inherit;
|
1621
1640
|
visibility: hidden;
|
1622
1641
|
}
|
1623
|
-
.bk-popover
|
1642
|
+
.bk-popover-content .arrow::before {
|
1624
1643
|
position: absolute;
|
1625
1644
|
width: 8px;
|
1626
1645
|
height: 8px;
|
@@ -1629,17 +1648,17 @@ optgroup {
|
|
1629
1648
|
visibility: visible;
|
1630
1649
|
transform: rotate(45deg);
|
1631
1650
|
}
|
1632
|
-
.bk-popover
|
1651
|
+
.bk-popover-content[data-popper-placement^='top'] > .arrow {
|
1633
1652
|
bottom: -4px;
|
1634
1653
|
}
|
1635
|
-
.bk-popover
|
1654
|
+
.bk-popover-content[data-popper-placement^='bottom'] > .arrow {
|
1636
1655
|
top: -4px;
|
1637
1656
|
}
|
1638
|
-
.bk-popover
|
1639
|
-
right:
|
1657
|
+
.bk-popover-content[data-popper-placement^='left'] > .arrow {
|
1658
|
+
right: -4px;
|
1640
1659
|
}
|
1641
|
-
.bk-popover
|
1642
|
-
left: -
|
1660
|
+
.bk-popover-content[data-popper-placement^='right'] > .arrow {
|
1661
|
+
left: -4px;
|
1643
1662
|
}
|
1644
1663
|
@keyframes loading-scale-animate {
|
1645
1664
|
0% {
|
@@ -1719,9 +1738,6 @@ optgroup {
|
|
1719
1738
|
width: 7%;
|
1720
1739
|
text-align: center;
|
1721
1740
|
}
|
1722
|
-
.bk-progress .process-circle-trail {
|
1723
|
-
stroke: #f5f5f5;
|
1724
|
-
}
|
1725
1741
|
.bk-progress .progress-circle-text {
|
1726
1742
|
position: absolute;
|
1727
1743
|
top: 50%;
|
@@ -1963,6 +1979,7 @@ optgroup {
|
|
1963
1979
|
position: absolute;
|
1964
1980
|
top: 6px;
|
1965
1981
|
left: 4px;
|
1982
|
+
font-size: 14px;
|
1966
1983
|
}
|
1967
1984
|
.bk-select .bk-select-trigger .angle-up {
|
1968
1985
|
transform: rotate(180deg);
|
@@ -1994,6 +2011,38 @@ optgroup {
|
|
1994
2011
|
.bk-select .bk-select-trigger .clear-icon:hover {
|
1995
2012
|
color: #979ba5;
|
1996
2013
|
}
|
2014
|
+
.bk-select .bk-select-trigger .spinner {
|
2015
|
+
position: absolute;
|
2016
|
+
top: 6px;
|
2017
|
+
right: 4px;
|
2018
|
+
display: flex;
|
2019
|
+
align-items: center;
|
2020
|
+
justify-content: center;
|
2021
|
+
width: 20px;
|
2022
|
+
height: 20px;
|
2023
|
+
font-size: 16px;
|
2024
|
+
color: #3A84FF;
|
2025
|
+
}
|
2026
|
+
.bk-select .bk-select-empty {
|
2027
|
+
display: flex;
|
2028
|
+
align-items: center;
|
2029
|
+
justify-content: center;
|
2030
|
+
height: 56px;
|
2031
|
+
color: #63656e;
|
2032
|
+
}
|
2033
|
+
.bk-select .bk-select-empty .spinner {
|
2034
|
+
display: flex;
|
2035
|
+
width: 14px;
|
2036
|
+
height: 14px;
|
2037
|
+
margin-right: 4px;
|
2038
|
+
font-size: 14px;
|
2039
|
+
color: #c4c6cc;
|
2040
|
+
align-items: center;
|
2041
|
+
justify-content: center;
|
2042
|
+
}
|
2043
|
+
.bk-select .bk-select-dropdown {
|
2044
|
+
overflow: auto;
|
2045
|
+
}
|
1997
2046
|
.bk-select .bk-select-dropdown .bk-select-search {
|
1998
2047
|
position: relative;
|
1999
2048
|
padding: 0 5px;
|
@@ -2016,20 +2065,19 @@ optgroup {
|
|
2016
2065
|
border-bottom: 1px solid #dcdee5;
|
2017
2066
|
outline: 0;
|
2018
2067
|
}
|
2019
|
-
.bk-select .bk-select-
|
2020
|
-
|
2021
|
-
|
2022
|
-
|
2023
|
-
|
2024
|
-
text-align: center;
|
2025
|
-
user-select: none;
|
2068
|
+
.bk-select .bk-select-extension {
|
2069
|
+
display: flex;
|
2070
|
+
height: 40px;
|
2071
|
+
background-color: #fafbfd;
|
2072
|
+
align-items: center;
|
2026
2073
|
}
|
2027
2074
|
.bk-select .bk-select-options {
|
2028
|
-
padding:
|
2075
|
+
padding: 8px 0;
|
2029
2076
|
}
|
2030
2077
|
.bk-select .bk-select-option {
|
2078
|
+
position: relative;
|
2031
2079
|
height: 32px;
|
2032
|
-
padding: 0
|
2080
|
+
padding: 0 20px 0 12px;
|
2033
2081
|
line-height: 32px;
|
2034
2082
|
color: #63656e;
|
2035
2083
|
text-align: left;
|
@@ -2041,15 +2089,14 @@ optgroup {
|
|
2041
2089
|
}
|
2042
2090
|
.bk-select .bk-select-option:hover {
|
2043
2091
|
color: #3a84ff;
|
2044
|
-
background-color: #
|
2092
|
+
background-color: #f5f7fa;
|
2045
2093
|
}
|
2046
2094
|
.bk-select .bk-select-option.is-selected {
|
2047
2095
|
color: #3a84ff;
|
2048
|
-
background-color: #f4f6fa;
|
2049
2096
|
}
|
2050
2097
|
.bk-select .bk-select-option.is-selected.is-multiple::after {
|
2051
2098
|
position: absolute;
|
2052
|
-
right:
|
2099
|
+
right: 12px;
|
2053
2100
|
font-size: 12px;
|
2054
2101
|
font-weight: 700;
|
2055
2102
|
content: '\2713';
|
@@ -2061,11 +2108,37 @@ optgroup {
|
|
2061
2108
|
}
|
2062
2109
|
.bk-select .bk-option-group-label {
|
2063
2110
|
height: 32px;
|
2064
|
-
|
2111
|
+
padding: 0 8px;
|
2065
2112
|
line-height: 32px;
|
2066
2113
|
color: #979ba5;
|
2067
2114
|
text-align: left;
|
2068
|
-
|
2115
|
+
}
|
2116
|
+
.bk-select .bk-option-group-label.collapsible {
|
2117
|
+
cursor: pointer;
|
2118
|
+
}
|
2119
|
+
.bk-select .bk-option-group.collapsible .bk-select-option {
|
2120
|
+
padding-left: 40px;
|
2121
|
+
}
|
2122
|
+
.bk-select .bk-option-group .default-group-label {
|
2123
|
+
display: flex;
|
2124
|
+
user-select: none;
|
2125
|
+
align-items: center;
|
2126
|
+
}
|
2127
|
+
.bk-select .bk-option-group .default-group-label-icon {
|
2128
|
+
display: flex;
|
2129
|
+
width: 12px;
|
2130
|
+
height: 12px;
|
2131
|
+
margin-right: 8px;
|
2132
|
+
font-size: 12px;
|
2133
|
+
transition: all 0.1s;
|
2134
|
+
align-items: center;
|
2135
|
+
justify-content: center;
|
2136
|
+
}
|
2137
|
+
.bk-select .bk-option-group .default-group-label-icon.collapse {
|
2138
|
+
transform: rotate(-90deg);
|
2139
|
+
}
|
2140
|
+
.bk-select .bk-option-group .bk-select-option {
|
2141
|
+
padding-left: 24px;
|
2069
2142
|
}
|
2070
2143
|
.bk-modal-wrapper.bk-sideslider-wrapper {
|
2071
2144
|
position: fixed;
|
@@ -2160,181 +2233,181 @@ optgroup {
|
|
2160
2233
|
.bk-switcher {
|
2161
2234
|
position: relative;
|
2162
2235
|
display: inline-block;
|
2163
|
-
/* 默认尺寸 */
|
2164
|
-
width: 36px;
|
2165
2236
|
height: 20px;
|
2237
|
+
/* 默认尺寸 */
|
2238
|
+
min-width: 36px;
|
2239
|
+
padding: 0;
|
2240
|
+
margin: 0;
|
2241
|
+
font-size: 14px;
|
2166
2242
|
line-height: 20px;
|
2167
2243
|
text-align: left;
|
2168
2244
|
vertical-align: middle;
|
2245
|
+
list-style: none;
|
2246
|
+
cursor: pointer;
|
2169
2247
|
background-color: #c4c6cc;
|
2248
|
+
border: 1px solid transparent;
|
2170
2249
|
border-radius: 50px;
|
2250
|
+
border-radius: 100px;
|
2251
|
+
box-sizing: border-box;
|
2171
2252
|
transition: all 0.4s ease;
|
2253
|
+
transition: all 0.36s;
|
2254
|
+
user-select: none;
|
2172
2255
|
/* 显示文本时固定尺寸 */
|
2173
2256
|
}
|
2174
|
-
.bk-switcher:focus {
|
2175
|
-
box-shadow: 0px 0px 6px #c4c6cc;
|
2176
|
-
}
|
2177
2257
|
.bk-switcher:after {
|
2178
2258
|
position: absolute;
|
2179
|
-
top:
|
2180
|
-
left:
|
2181
|
-
|
2182
|
-
|
2183
|
-
height: 24px;
|
2259
|
+
top: 1px;
|
2260
|
+
left: 1px;
|
2261
|
+
width: 16px;
|
2262
|
+
height: 16px;
|
2184
2263
|
cursor: pointer;
|
2185
2264
|
background: #fff;
|
2186
|
-
|
2187
|
-
|
2188
|
-
|
2265
|
+
background-color: #fff;
|
2266
|
+
border-radius: 18px;
|
2267
|
+
content: ' ';
|
2189
2268
|
transition: all 0.3s ease;
|
2190
2269
|
}
|
2191
|
-
.bk-switcher
|
2192
|
-
|
2193
|
-
|
2194
|
-
|
2195
|
-
|
2196
|
-
|
2197
|
-
|
2198
|
-
|
2199
|
-
|
2270
|
+
.bk-switcher .switcher-text {
|
2271
|
+
display: block;
|
2272
|
+
margin-right: 6px;
|
2273
|
+
margin-left: 28px;
|
2274
|
+
font-size: 12px;
|
2275
|
+
font-weight: 400;
|
2276
|
+
color: #fff;
|
2277
|
+
text-align: center;
|
2278
|
+
transition: all 0.3s ease;
|
2200
2279
|
}
|
2201
|
-
.bk-switcher.
|
2202
|
-
|
2280
|
+
.bk-switcher .animating-node {
|
2281
|
+
position: absolute;
|
2282
|
+
top: 0;
|
2283
|
+
right: 0;
|
2284
|
+
bottom: 0;
|
2285
|
+
left: 0;
|
2286
|
+
display: block;
|
2287
|
+
pointer-events: none;
|
2288
|
+
border-radius: inherit;
|
2289
|
+
content: '';
|
2290
|
+
opacity: 0.2;
|
2291
|
+
box-shadow: 0 0 0 0 #1890ff;
|
2292
|
+
animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
|
2293
|
+
animation-fill-mode: forwards;
|
2203
2294
|
}
|
2204
2295
|
.bk-switcher .bk-switcher-loading {
|
2205
2296
|
position: absolute;
|
2206
|
-
top:
|
2297
|
+
top: 1px;
|
2207
2298
|
left: 1px;
|
2208
|
-
z-index:
|
2209
|
-
|
2210
|
-
|
2211
|
-
|
2212
|
-
|
2299
|
+
z-index: 1;
|
2300
|
+
width: 16px;
|
2301
|
+
height: 16px;
|
2302
|
+
font-size: 12px;
|
2303
|
+
color: #c4c6cc;
|
2304
|
+
cursor: pointer;
|
2305
|
+
background: transparent;
|
2306
|
+
border-radius: 16px;
|
2307
|
+
content: ' ';
|
2308
|
+
transition: all 0.36s cubic-bezier(0.78, 0.14, 0.15, 0.86);
|
2213
2309
|
}
|
2214
2310
|
.bk-switcher .bk-switcher-loading svg {
|
2215
|
-
|
2216
|
-
|
2217
|
-
|
2218
|
-
|
2219
|
-
|
2220
|
-
|
2221
|
-
|
2222
|
-
font-size: 12px;
|
2223
|
-
font-weight: normal;
|
2224
|
-
color: #fff;
|
2225
|
-
text-align: center;
|
2226
|
-
vertical-align: top;
|
2227
|
-
transition: all ease 0.3s;
|
2311
|
+
position: absolute;
|
2312
|
+
top: 0;
|
2313
|
+
right: 0;
|
2314
|
+
bottom: 0;
|
2315
|
+
left: 0;
|
2316
|
+
margin: auto;
|
2317
|
+
animation: loading 1s linear infinite;
|
2228
2318
|
}
|
2229
|
-
.bk-switcher
|
2230
|
-
|
2319
|
+
.bk-switcher.is-loading {
|
2320
|
+
cursor: defalt;
|
2231
2321
|
}
|
2232
|
-
.bk-switcher
|
2233
|
-
|
2322
|
+
.bk-switcher.is-loading input[type=checkbox] {
|
2323
|
+
cursor: default;
|
2234
2324
|
}
|
2235
2325
|
.bk-switcher.show-label {
|
2236
|
-
width: 60px;
|
2237
2326
|
height: 28px;
|
2327
|
+
min-width: 60px;
|
2238
2328
|
line-height: 28px;
|
2239
2329
|
}
|
2240
|
-
.bk-switcher.show-label
|
2241
|
-
|
2330
|
+
.bk-switcher.show-label::after {
|
2331
|
+
width: 24px;
|
2332
|
+
height: 24px;
|
2242
2333
|
}
|
2243
2334
|
.bk-switcher.show-label .bk-switcher-loading {
|
2244
|
-
width:
|
2245
|
-
height:
|
2246
|
-
|
2247
|
-
justify-content: center;
|
2335
|
+
width: 24px;
|
2336
|
+
height: 24px;
|
2337
|
+
font-size: 20px;
|
2248
2338
|
}
|
2249
|
-
.bk-switcher.show-label .bk-switcher-loading
|
2250
|
-
|
2339
|
+
.bk-switcher.show-label.is-checked .bk-switcher-loading {
|
2340
|
+
left: 100%;
|
2341
|
+
margin-left: -25px;
|
2251
2342
|
}
|
2252
2343
|
.bk-switcher.is-disabled {
|
2253
|
-
cursor:
|
2254
|
-
/* background-color: #eee !important; */
|
2344
|
+
cursor: not-allowed;
|
2255
2345
|
opacity: 0.3;
|
2256
2346
|
}
|
2257
|
-
.bk-switcher.is-disabled
|
2347
|
+
.bk-switcher.is-disabled .bk-switcher-loading {
|
2348
|
+
cursor: not-allowed;
|
2349
|
+
}
|
2350
|
+
.bk-switcher.is-disabled::after {
|
2258
2351
|
cursor: not-allowed;
|
2259
2352
|
}
|
2260
2353
|
.bk-switcher.is-checked {
|
2261
2354
|
background: #2dcb56;
|
2262
2355
|
}
|
2263
|
-
.bk-switcher.is-checked
|
2264
|
-
|
2356
|
+
.bk-switcher.is-checked .bk-switcher-loading svg {
|
2357
|
+
color: #2dcb56;
|
2265
2358
|
}
|
2266
|
-
.bk-switcher.is-checked.primary {
|
2359
|
+
.bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.primary {
|
2267
2360
|
background: #3a84ff;
|
2268
2361
|
}
|
2269
|
-
.bk-switcher.is-checked.primary
|
2270
|
-
|
2362
|
+
.bk-switcher.is-checked:not(.bk-switcher-outline).bk-switcher.is-checked.primary .bk-switcher-loading svg {
|
2363
|
+
color: #3a84ff;
|
2271
2364
|
}
|
2272
2365
|
.bk-switcher.is-checked:after {
|
2273
|
-
top: 2px;
|
2274
2366
|
left: 100%;
|
2275
|
-
margin-left: -
|
2276
|
-
|
2277
|
-
.bk-switcher.is-checked .switcher-label {
|
2278
|
-
margin-left: 4px;
|
2279
|
-
}
|
2280
|
-
.bk-switcher.is-checked .switcher-label .on-text {
|
2281
|
-
display: inline-block;
|
2367
|
+
margin-left: -1px;
|
2368
|
+
transform: translateX(-100%);
|
2282
2369
|
}
|
2283
|
-
.bk-switcher.is-checked .switcher-
|
2284
|
-
|
2370
|
+
.bk-switcher.is-checked .switcher-text {
|
2371
|
+
margin-right: 28px;
|
2372
|
+
margin-left: 6px;
|
2285
2373
|
}
|
2286
|
-
.bk-switcher.is-checked .bk-switcher-loading {
|
2287
|
-
|
2288
|
-
left:
|
2374
|
+
.bk-switcher:not(.show-label).is-checked .bk-switcher-loading {
|
2375
|
+
left: 100%;
|
2376
|
+
margin-left: -17px;
|
2289
2377
|
}
|
2290
2378
|
.bk-switcher.bk-switcher-outline {
|
2291
2379
|
background: #fff;
|
2292
2380
|
border: 1px solid #c4c6cc;
|
2293
2381
|
}
|
2294
2382
|
.bk-switcher.bk-switcher-outline:after {
|
2295
|
-
width:
|
2296
|
-
height:
|
2383
|
+
width: 24px;
|
2384
|
+
height: 24px;
|
2297
2385
|
background-color: #c4c6cc;
|
2298
2386
|
box-shadow: none;
|
2299
2387
|
}
|
2300
|
-
.bk-switcher.bk-switcher-outline .switcher-
|
2301
|
-
height: 26px;
|
2302
|
-
margin-left: 24px;
|
2388
|
+
.bk-switcher.bk-switcher-outline .switcher-text {
|
2303
2389
|
color: #c4c6cc;
|
2304
2390
|
}
|
2305
|
-
.bk-switcher.bk-switcher-outline .bk-switcher-loading {
|
2306
|
-
width: 22px;
|
2307
|
-
height: 22px;
|
2308
|
-
align-items: center;
|
2309
|
-
justify-content: center;
|
2310
|
-
}
|
2311
2391
|
.bk-switcher.bk-switcher-outline.is-checked {
|
2312
2392
|
border: 1px solid #2dcb56;
|
2313
2393
|
}
|
2314
2394
|
.bk-switcher.bk-switcher-outline.is-checked:after {
|
2315
|
-
margin-left: -24px;
|
2316
2395
|
background-color: #2dcb56;
|
2317
2396
|
}
|
2318
|
-
.bk-switcher.bk-switcher-outline.is-checked .switcher-
|
2319
|
-
margin-left: 4px;
|
2397
|
+
.bk-switcher.bk-switcher-outline.is-checked .switcher-text {
|
2320
2398
|
color: #2dcb56;
|
2321
2399
|
}
|
2322
|
-
.bk-switcher.bk-switcher-outline.
|
2323
|
-
|
2324
|
-
border-color: #eee;
|
2325
|
-
}
|
2326
|
-
.bk-switcher.bk-switcher-outline.is-disabled .switcher-label {
|
2327
|
-
color: #eee;
|
2400
|
+
.bk-switcher.bk-switcher-outline .bk-switcher-loading svg {
|
2401
|
+
color: #fff;
|
2328
2402
|
}
|
2329
|
-
.bk-switcher.bk-switcher-outline.is-
|
2330
|
-
|
2403
|
+
.bk-switcher.bk-switcher-outline.bk-switcher.primary.is-checked {
|
2404
|
+
border: 1px solid #3a84ff;
|
2331
2405
|
}
|
2332
|
-
.bk-switcher.bk-switcher-outline.bk-switcher-
|
2333
|
-
|
2334
|
-
height: 18px;
|
2406
|
+
.bk-switcher.bk-switcher-outline.bk-switcher.primary.is-checked:after {
|
2407
|
+
background: #3a84ff;
|
2335
2408
|
}
|
2336
|
-
.bk-switcher.bk-switcher-outline.bk-switcher
|
2337
|
-
|
2409
|
+
.bk-switcher.bk-switcher-outline.bk-switcher.primary.is-checked .switcher-text {
|
2410
|
+
color: #3a84ff;
|
2338
2411
|
}
|
2339
2412
|
.bk-switcher.bk-switcher-square {
|
2340
2413
|
border-radius: 2px;
|
@@ -2342,61 +2415,76 @@ optgroup {
|
|
2342
2415
|
.bk-switcher.bk-switcher-square:after {
|
2343
2416
|
border-radius: 2px;
|
2344
2417
|
}
|
2345
|
-
.bk-switcher.bk-switcher-square .switcher-label {
|
2346
|
-
width: 35px;
|
2347
|
-
}
|
2348
2418
|
.bk-switcher.bk-switcher-large {
|
2349
|
-
width: 42px;
|
2350
2419
|
height: 24px;
|
2420
|
+
min-width: 42px;
|
2351
2421
|
line-height: 22px;
|
2352
|
-
border-radius: 12px;
|
2353
2422
|
}
|
2354
2423
|
.bk-switcher.bk-switcher-large:after {
|
2355
2424
|
width: 20px;
|
2356
2425
|
height: 20px;
|
2357
2426
|
}
|
2358
|
-
.bk-switcher.bk-switcher-large.is-checked:after {
|
2359
|
-
top: 2px;
|
2360
|
-
left: 100%;
|
2361
|
-
margin-left: -22px;
|
2362
|
-
}
|
2363
2427
|
.bk-switcher.bk-switcher-large .bk-switcher-loading {
|
2364
|
-
width:
|
2365
|
-
height:
|
2428
|
+
width: 20px;
|
2429
|
+
height: 20px;
|
2430
|
+
font-size: 16px;
|
2431
|
+
}
|
2432
|
+
.bk-switcher.bk-switcher-large.is-checked .bk-switcher-loading {
|
2433
|
+
margin-left: -21px;
|
2366
2434
|
}
|
2367
2435
|
.bk-switcher.bk-switcher-small {
|
2368
|
-
width: 26px;
|
2369
2436
|
height: 16px;
|
2437
|
+
min-width: 26px;
|
2370
2438
|
line-height: 22px;
|
2371
2439
|
}
|
2372
2440
|
.bk-switcher.bk-switcher-small:after {
|
2373
2441
|
width: 12px;
|
2374
2442
|
height: 12px;
|
2375
2443
|
}
|
2376
|
-
.bk-switcher.bk-switcher-small.is-checked:after {
|
2377
|
-
top: 2px;
|
2378
|
-
left: 100%;
|
2379
|
-
margin-left: -14px;
|
2380
|
-
}
|
2381
2444
|
.bk-switcher.bk-switcher-small .bk-switcher-loading {
|
2382
|
-
width:
|
2383
|
-
height:
|
2445
|
+
width: 12px;
|
2446
|
+
height: 12px;
|
2447
|
+
font-weight: 700;
|
2448
|
+
transform: scale(0.66667);
|
2384
2449
|
}
|
2385
|
-
.bk-switcher
|
2386
|
-
|
2387
|
-
position: absolute;
|
2388
|
-
top: 0;
|
2389
|
-
left: 0;
|
2390
|
-
z-index: 1;
|
2391
|
-
width: 100%;
|
2392
|
-
height: 100%;
|
2393
|
-
margin: 0;
|
2394
|
-
cursor: pointer;
|
2395
|
-
opacity: 0;
|
2450
|
+
.bk-switcher.bk-switcher-small.is-checked .bk-switcher-loading {
|
2451
|
+
margin-left: -13px;
|
2396
2452
|
}
|
2397
|
-
.bk-
|
2398
|
-
|
2453
|
+
:not(.show-label).bk-switcher-nomal.bk-switcher-outline::after {
|
2454
|
+
width: 16px;
|
2455
|
+
height: 16px;
|
2456
|
+
}
|
2457
|
+
:not(.show-label).bk-switcher-outline.is-checked.bk-switcher-small::after {
|
2458
|
+
width: 12px;
|
2459
|
+
height: 12px;
|
2460
|
+
}
|
2461
|
+
:not(.show-label).bk-switcher-outline.is-checked.bk-switcher-large::after {
|
2462
|
+
width: 20px;
|
2463
|
+
height: 20px;
|
2464
|
+
}
|
2465
|
+
:not(.show-label).bk-switcher-outline.is-checked::after {
|
2466
|
+
width: 16px;
|
2467
|
+
height: 16px;
|
2468
|
+
}
|
2469
|
+
@keyframes fadeEffect {
|
2470
|
+
100% {
|
2471
|
+
opacity: 0;
|
2472
|
+
}
|
2473
|
+
}
|
2474
|
+
@keyframes waveEffect {
|
2475
|
+
100% {
|
2476
|
+
box-shadow: 0 0 0 #1890ff;
|
2477
|
+
}
|
2478
|
+
}
|
2479
|
+
@keyframes loading {
|
2480
|
+
100% {
|
2481
|
+
transform: rotate(1turn);
|
2482
|
+
}
|
2483
|
+
}
|
2484
|
+
.bk-table {
|
2399
2485
|
overflow: auto;
|
2486
|
+
}
|
2487
|
+
.bk-table .bk-table-body {
|
2400
2488
|
background: white;
|
2401
2489
|
}
|
2402
2490
|
.bk-table .bk-table-body table {
|
@@ -2404,10 +2492,10 @@ optgroup {
|
|
2404
2492
|
border-collapse: collapse;
|
2405
2493
|
}
|
2406
2494
|
.bk-table .bk-table-body table .cell {
|
2407
|
-
height:
|
2495
|
+
height: var(--row-height);
|
2408
2496
|
padding: 0 15px;
|
2409
2497
|
overflow: hidden;
|
2410
|
-
line-height:
|
2498
|
+
line-height: var(--row-height);
|
2411
2499
|
text-overflow: ellipsis;
|
2412
2500
|
white-space: nowrap;
|
2413
2501
|
}
|
@@ -2421,6 +2509,7 @@ optgroup {
|
|
2421
2509
|
top: 0;
|
2422
2510
|
z-index: 1;
|
2423
2511
|
background-color: #fff;
|
2512
|
+
transform: translateY(var(--translate-y));
|
2424
2513
|
}
|
2425
2514
|
.bk-table .bk-table-body table thead th.active {
|
2426
2515
|
background: #f0f1f5;
|
@@ -2871,13 +2960,13 @@ optgroup {
|
|
2871
2960
|
line-height: var(--lineHeight);
|
2872
2961
|
cursor: pointer;
|
2873
2962
|
}
|
2874
|
-
.bk-tree .bk-tree-node.is-open::after {
|
2963
|
+
.bk-tree .bk-tree-node.is-open:not(.is-virtual-render)::after {
|
2875
2964
|
position: absolute;
|
2876
|
-
top: calc(var(--lineHeight) / 2);
|
2877
|
-
left:
|
2965
|
+
top: calc(var(--lineHeight) / 2 + 6px);
|
2966
|
+
left: 6px;
|
2878
2967
|
z-index: 1;
|
2879
2968
|
width: 0;
|
2880
|
-
height: calc(var(--lines) * var(--lineHeight));
|
2969
|
+
height: calc(var(--lines) * var(--lineHeight) - 6px);
|
2881
2970
|
pointer-events: none;
|
2882
2971
|
border-left: var(--level-line);
|
2883
2972
|
content: '';
|
@@ -2887,15 +2976,24 @@ optgroup {
|
|
2887
2976
|
}
|
2888
2977
|
.bk-tree .bk-tree-node:not(.is-root)::before {
|
2889
2978
|
position: absolute;
|
2890
|
-
top: 50
|
2891
|
-
left: calc(0px - var(--indent));
|
2979
|
+
top: calc(50% + 1px);
|
2980
|
+
left: calc(0px - var(--indent) + 6px);
|
2892
2981
|
z-index: 1;
|
2893
|
-
width: var(--indent);
|
2982
|
+
width: calc(var(--indent) - 6px);
|
2894
2983
|
height: 0;
|
2895
2984
|
pointer-events: none;
|
2896
2985
|
border-bottom: var(--level-line);
|
2897
2986
|
content: '';
|
2898
2987
|
}
|
2988
|
+
.bk-tree .bk-tree-node .node-virtual-line {
|
2989
|
+
display: inline-block;
|
2990
|
+
position: absolute;
|
2991
|
+
left: calc(var(--depth) * var(--indent) * -1 + 6px);
|
2992
|
+
top: -12px;
|
2993
|
+
bottom: 50%;
|
2994
|
+
width: 0;
|
2995
|
+
border-left: var(--level-line);
|
2996
|
+
}
|
2899
2997
|
.bk-tree .bk-tree-node .bk-tree-icon {
|
2900
2998
|
margin: 0 6px 0 4px;
|
2901
2999
|
}
|
@@ -4006,6 +4104,185 @@ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em {
|
|
4006
4104
|
.bk-tab-panel {
|
4007
4105
|
height: 100%;
|
4008
4106
|
}
|
4107
|
+
* {
|
4108
|
+
box-sizing: border-box;
|
4109
|
+
}
|
4110
|
+
.bk-process {
|
4111
|
+
position: relative;
|
4112
|
+
display: flex;
|
4113
|
+
}
|
4114
|
+
@keyframes loadingCircle {
|
4115
|
+
100% {
|
4116
|
+
transform: rotate(360deg);
|
4117
|
+
}
|
4118
|
+
}
|
4119
|
+
.bk-process .bk-process-toggle {
|
4120
|
+
position: relative;
|
4121
|
+
left: 15px;
|
4122
|
+
width: 24px;
|
4123
|
+
height: 24px;
|
4124
|
+
font-size: 12px;
|
4125
|
+
line-height: 24px;
|
4126
|
+
color: #63656e;
|
4127
|
+
text-align: center;
|
4128
|
+
text-decoration: none;
|
4129
|
+
border: 1px solid #c4c6cc;
|
4130
|
+
border-radius: 50%;
|
4131
|
+
}
|
4132
|
+
.bk-process .bk-process-toggle.active,
|
4133
|
+
.bk-process .bk-process-toggle:hover {
|
4134
|
+
color: #fff;
|
4135
|
+
background: #3a84ff;
|
4136
|
+
border-color: #3a84ff;
|
4137
|
+
}
|
4138
|
+
.bk-process .bk-process-icon-done {
|
4139
|
+
display: inline-block;
|
4140
|
+
height: 20px;
|
4141
|
+
font-size: 21px;
|
4142
|
+
line-height: 20px;
|
4143
|
+
}
|
4144
|
+
.bk-process .bk-icon.icon-loading {
|
4145
|
+
display: inline-block;
|
4146
|
+
font-size: 14px;
|
4147
|
+
animation: loadingCircle 1s infinite linear;
|
4148
|
+
}
|
4149
|
+
.bk-process > ul {
|
4150
|
+
-ms-display: flex;
|
4151
|
+
-moz-display: flex;
|
4152
|
+
-webkit-display: flex;
|
4153
|
+
display: table;
|
4154
|
+
display: flex;
|
4155
|
+
width: 100%;
|
4156
|
+
padding: 0;
|
4157
|
+
margin: auto;
|
4158
|
+
}
|
4159
|
+
.bk-process li {
|
4160
|
+
position: relative;
|
4161
|
+
display: table-cell;
|
4162
|
+
height: 24px;
|
4163
|
+
font-family: PingFang SC,Microsoft Yahei,Helvetica,Aria;
|
4164
|
+
font-size: 12px;
|
4165
|
+
line-height: 24px;
|
4166
|
+
color: #63656e;
|
4167
|
+
text-align: center;
|
4168
|
+
background-color: #f0f1f5;
|
4169
|
+
flex: 1;
|
4170
|
+
}
|
4171
|
+
.bk-process li i {
|
4172
|
+
display: none;
|
4173
|
+
}
|
4174
|
+
.bk-process li:first-of-type {
|
4175
|
+
border-radius: 13px 0 0 13px;
|
4176
|
+
}
|
4177
|
+
.bk-process li:last-of-type {
|
4178
|
+
border-radius: 0 13px 13px 0;
|
4179
|
+
}
|
4180
|
+
.bk-process li:last-of-type::before {
|
4181
|
+
display: none;
|
4182
|
+
}
|
4183
|
+
.bk-process li:last-of-type::after {
|
4184
|
+
display: none;
|
4185
|
+
}
|
4186
|
+
.bk-process li::before {
|
4187
|
+
position: absolute;
|
4188
|
+
top: 0;
|
4189
|
+
right: -25px;
|
4190
|
+
z-index: 1;
|
4191
|
+
width: 0;
|
4192
|
+
height: 0;
|
4193
|
+
border: 12px solid;
|
4194
|
+
border-color: transparent transparent transparent #fff;
|
4195
|
+
content: '';
|
4196
|
+
}
|
4197
|
+
.bk-process li::after {
|
4198
|
+
position: absolute;
|
4199
|
+
top: 0;
|
4200
|
+
right: -23px;
|
4201
|
+
z-index: 1;
|
4202
|
+
width: 0;
|
4203
|
+
height: 0;
|
4204
|
+
border: 12px solid;
|
4205
|
+
border-color: transparent transparent transparent #f0f1f5;
|
4206
|
+
content: '';
|
4207
|
+
}
|
4208
|
+
.bk-process li .bk-process-step {
|
4209
|
+
font-size: 12px;
|
4210
|
+
}
|
4211
|
+
.bk-process li .bk-process-step dd {
|
4212
|
+
margin: 0;
|
4213
|
+
line-height: 32px;
|
4214
|
+
}
|
4215
|
+
.bk-process li .bk-process-step i {
|
4216
|
+
display: none;
|
4217
|
+
}
|
4218
|
+
.bk-process li .bk-process-step .success i {
|
4219
|
+
display: inline-block;
|
4220
|
+
color: #2dcb56;
|
4221
|
+
}
|
4222
|
+
.bk-process li .bk-process-step .steps-loading {
|
4223
|
+
top: -2px;
|
4224
|
+
}
|
4225
|
+
.bk-process li.success {
|
4226
|
+
color: #fff;
|
4227
|
+
background: #2dcb56;
|
4228
|
+
}
|
4229
|
+
.bk-process li.success::after {
|
4230
|
+
border-color: transparent transparent transparent #2dcb56;
|
4231
|
+
}
|
4232
|
+
.bk-process li.success .icon-done {
|
4233
|
+
font-size: 22px;
|
4234
|
+
line-height: 18px;
|
4235
|
+
}
|
4236
|
+
.bk-process li.current {
|
4237
|
+
color: #fff;
|
4238
|
+
background: #3a84ff;
|
4239
|
+
}
|
4240
|
+
.bk-process li.current::after {
|
4241
|
+
border-color: transparent transparent transparent #3a84ff;
|
4242
|
+
}
|
4243
|
+
.bk-process li.current > .bk-spin-loading {
|
4244
|
+
vertical-align: -3px;
|
4245
|
+
}
|
4246
|
+
.bk-virtual-render {
|
4247
|
+
position: relative;
|
4248
|
+
}
|
4249
|
+
.bk-virtual-render .bk-virtual-content,
|
4250
|
+
.bk-virtual-render.bk-virtual-content {
|
4251
|
+
position: absolute;
|
4252
|
+
top: 0;
|
4253
|
+
bottom: 0;
|
4254
|
+
left: 0;
|
4255
|
+
width: 100%;
|
4256
|
+
height: 100%;
|
4257
|
+
}
|
4258
|
+
.bk-virtual-render .bk-virtual-section {
|
4259
|
+
width: 1px;
|
4260
|
+
background: transparent;
|
4261
|
+
}
|
4262
|
+
.bk-virtual-render.bk-scroll-x {
|
4263
|
+
overflow-x: auto;
|
4264
|
+
scrollbar-color: #a0a0a0 transparent;
|
4265
|
+
scrollbar-width: thin;
|
4266
|
+
}
|
4267
|
+
.bk-virtual-render.bk-scroll-x::-webkit-scrollbar {
|
4268
|
+
height: 8px;
|
4269
|
+
background-color: transparent;
|
4270
|
+
}
|
4271
|
+
.bk-virtual-render.bk-scroll-x::-webkit-scrollbar-thumb {
|
4272
|
+
background-color: #a0a0a0;
|
4273
|
+
border-radius: 8px;
|
4274
|
+
}
|
4275
|
+
.bk-virtual-render.bk-scroll-y {
|
4276
|
+
overflow-y: auto;
|
4277
|
+
}
|
4278
|
+
.bk-virtual-render.bk-scroll-y::-webkit-scrollbar {
|
4279
|
+
width: 6px;
|
4280
|
+
background-color: transparent;
|
4281
|
+
}
|
4282
|
+
.bk-virtual-render.bk-scroll-y::-webkit-scrollbar-thumb {
|
4283
|
+
background-color: #dcdee5;
|
4284
|
+
border-radius: 6px;
|
4285
|
+
}
|
4009
4286
|
.bk-popper {
|
4010
4287
|
display: none;
|
4011
4288
|
padding: 7px 14px;
|