bkui-vue 0.0.1-beta.10 → 0.0.1-beta.14

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.
Files changed (240) hide show
  1. package/dist/bkui-vue.cjs.js +5628 -472
  2. package/dist/bkui-vue.esm.js +5620 -474
  3. package/dist/bkui-vue.umd.js +5628 -472
  4. package/dist/style.css +1858 -16
  5. package/lib/alert/alert.variable.css +16 -0
  6. package/lib/alert/index.js +1 -1
  7. package/lib/animate-number/index.js +1 -1
  8. package/lib/backtop/backtop.variable.css +16 -0
  9. package/lib/backtop/index.js +1 -1
  10. package/lib/badge/badge.variable.css +16 -0
  11. package/lib/badge/index.js +1 -1
  12. package/lib/breadcrumb/breadcrumb.variable.css +16 -0
  13. package/lib/breadcrumb/index.d.ts +1 -1
  14. package/lib/breadcrumb/index.js +1 -1
  15. package/lib/button/button.d.ts +12 -12
  16. package/lib/button/button.less +6 -6
  17. package/lib/button/button.variable.css +16 -0
  18. package/lib/button/index.d.ts +16 -19
  19. package/lib/button/index.js +1 -1
  20. package/lib/card/card.variable.css +16 -0
  21. package/lib/card/index.js +1 -1
  22. package/lib/checkbox/checkbox.variable.css +16 -0
  23. package/lib/checkbox/index.d.ts +1 -1
  24. package/lib/checkbox/index.js +1 -1
  25. package/lib/checkbox/type.d.ts +1 -1
  26. package/lib/collapse/collapse.css +8 -0
  27. package/lib/collapse/collapse.less +10 -0
  28. package/lib/collapse/collapse.variable.css +8 -0
  29. package/lib/collapse/index.js +1 -1
  30. package/lib/components.d.ts +6 -1
  31. package/lib/date-picker/date-picker.css +407 -0
  32. package/lib/date-picker/date-picker.d.ts +357 -0
  33. package/lib/date-picker/date-picker.less +526 -0
  34. package/lib/date-picker/date-picker.variable.css +493 -0
  35. package/lib/date-picker/fecha.d.ts +6 -0
  36. package/lib/date-picker/index.d.ts +525 -0
  37. package/lib/date-picker/index.js +1 -0
  38. package/lib/date-picker/interface.d.ts +22 -0
  39. package/lib/date-picker/utils.d.ts +97 -0
  40. package/lib/dialog/index.js +1 -1
  41. package/lib/directives/index.d.ts +1 -0
  42. package/lib/directives/index.js +14 -14
  43. package/lib/directives/tooltips.d.ts +17 -0
  44. package/lib/divider/divider.css +38 -0
  45. package/lib/divider/divider.d.ts +40 -0
  46. package/lib/divider/divider.less +53 -0
  47. package/lib/divider/divider.variable.css +124 -0
  48. package/lib/divider/index.d.ts +110 -0
  49. package/lib/divider/index.js +1 -0
  50. package/lib/dropdown/dropdown-item.d.ts +18 -0
  51. package/lib/dropdown/dropdown-menu.d.ts +15 -0
  52. package/lib/dropdown/dropdown.css +43 -0
  53. package/lib/dropdown/dropdown.d.ts +49 -0
  54. package/lib/dropdown/dropdown.less +54 -0
  55. package/lib/dropdown/dropdown.variable.css +129 -0
  56. package/lib/dropdown/index.d.ts +160 -0
  57. package/lib/dropdown/index.js +1 -0
  58. package/lib/exception/exception.variable.css +16 -0
  59. package/lib/exception/index.js +1 -1
  60. package/lib/fixed-navbar/fixed-navbar.variable.css +16 -0
  61. package/lib/fixed-navbar/index.js +1 -1
  62. package/lib/form/common.d.ts +3 -0
  63. package/lib/form/form-item.d.ts +140 -0
  64. package/lib/form/form.css +39 -0
  65. package/lib/form/form.d.ts +76 -0
  66. package/lib/form/form.less +50 -0
  67. package/lib/form/form.variable.css +39 -0
  68. package/lib/form/index.d.ts +4 -0
  69. package/lib/form/index.js +1 -0
  70. package/lib/form/type.d.ts +21 -0
  71. package/lib/form/validator.d.ts +8 -0
  72. package/lib/icon/angle-double-left.d.ts +4 -0
  73. package/lib/icon/angle-double-right.d.ts +4 -0
  74. package/lib/icon/angle-down-line.d.ts +4 -0
  75. package/lib/icon/angle-down.d.ts +4 -0
  76. package/lib/icon/angle-left.d.ts +4 -0
  77. package/lib/icon/angle-right.d.ts +4 -0
  78. package/lib/icon/circle.d.ts +4 -0
  79. package/lib/icon/code.d.ts +4 -0
  80. package/lib/icon/cog-shape.d.ts +4 -0
  81. package/lib/icon/collapse-left.d.ts +4 -0
  82. package/lib/icon/copy.d.ts +4 -0
  83. package/lib/icon/done.d.ts +4 -0
  84. package/lib/icon/down-shape.d.ts +4 -0
  85. package/lib/icon/error.d.ts +4 -0
  86. package/lib/icon/folder-open.d.ts +4 -0
  87. package/lib/icon/folder-shape-open.d.ts +4 -0
  88. package/lib/icon/folder-shape.d.ts +4 -0
  89. package/lib/icon/folder.d.ts +4 -0
  90. package/lib/icon/index.d.ts +27 -0
  91. package/lib/icon/index.js +1 -1
  92. package/lib/icon/info.d.ts +4 -0
  93. package/lib/icon/play-shape.d.ts +4 -0
  94. package/lib/icon/plus.d.ts +4 -0
  95. package/lib/icon/right-shape.d.ts +4 -0
  96. package/lib/icon/share.d.ts +4 -0
  97. package/lib/icon/success.d.ts +4 -0
  98. package/lib/icon/text-file.d.ts +4 -0
  99. package/lib/icon/tree-application-shape.d.ts +4 -0
  100. package/lib/icon/warn.d.ts +4 -0
  101. package/lib/index.d.ts +1 -0
  102. package/lib/input/index.d.ts +36 -36
  103. package/lib/input/index.js +1 -1
  104. package/lib/input/input.d.ts +10 -10
  105. package/lib/input/input.variable.css +16 -0
  106. package/lib/link/index.js +1 -1
  107. package/lib/link/link.variable.css +16 -0
  108. package/lib/loading/index.d.ts +21 -4
  109. package/lib/loading/index.js +1 -1
  110. package/lib/loading/loading.d.ts +13 -2
  111. package/lib/loading/loading.variable.css +16 -0
  112. package/lib/menu/index.d.ts +169 -0
  113. package/lib/menu/index.js +1 -0
  114. package/lib/menu/menu-group.d.ts +13 -0
  115. package/lib/menu/menu-item.d.ts +15 -0
  116. package/lib/menu/menu.css +182 -0
  117. package/lib/menu/menu.d.ts +60 -0
  118. package/lib/menu/menu.less +180 -0
  119. package/lib/menu/menu.variable.css +268 -0
  120. package/lib/menu/submenu.d.ts +21 -0
  121. package/lib/menu/submenu.less +5 -0
  122. package/lib/menu/submenu.variable.css +86 -0
  123. package/lib/menu/utils.d.ts +41 -0
  124. package/lib/message/index.d.ts +1 -1
  125. package/lib/message/index.js +1 -1
  126. package/lib/message/message.css +17 -0
  127. package/lib/message/message.less +18 -0
  128. package/lib/message/message.variable.css +33 -0
  129. package/lib/message/messageConstructor.d.ts +12 -6
  130. package/lib/modal/index.js +1 -1
  131. package/lib/navigation/index.d.ts +2 -0
  132. package/lib/navigation/index.js +1 -0
  133. package/lib/navigation/navigation-title.d.ts +22 -0
  134. package/lib/navigation/navigation.css +184 -0
  135. package/lib/navigation/navigation.d.ts +94 -0
  136. package/lib/navigation/navigation.less +210 -0
  137. package/lib/navigation/navigation.variable.css +270 -0
  138. package/lib/notify/index.d.ts +2 -0
  139. package/lib/notify/index.js +1 -0
  140. package/lib/notify/notify.css +49 -0
  141. package/lib/notify/notify.less +58 -0
  142. package/lib/notify/notify.variable.css +135 -0
  143. package/lib/notify/notifyConstructor.d.ts +75 -0
  144. package/lib/popover/index.d.ts +19 -19
  145. package/lib/popover/index.js +1 -1
  146. package/lib/popover/popover.css +2 -3
  147. package/lib/popover/popover.d.ts +8 -8
  148. package/lib/popover/popover.less +2 -3
  149. package/lib/popover/popover.variable.css +18 -3
  150. package/lib/preset.d.ts +2 -3
  151. package/lib/process/index.d.ts +145 -0
  152. package/lib/process/index.js +15 -0
  153. package/lib/process/process.css +139 -0
  154. package/lib/process/process.d.ts +116 -0
  155. package/lib/process/process.less +179 -0
  156. package/lib/process/process.variable.css +225 -0
  157. package/lib/progress/index.d.ts +4 -4
  158. package/lib/progress/index.js +1 -1
  159. package/lib/progress/progress.d.ts +1 -1
  160. package/lib/progress/progress.variable.css +16 -0
  161. package/lib/radio/index.d.ts +2 -2
  162. package/lib/radio/index.js +1 -1
  163. package/lib/radio/radio.css +6 -0
  164. package/lib/radio/radio.less +7 -0
  165. package/lib/radio/radio.variable.css +22 -0
  166. package/lib/rate/index.js +1 -1
  167. package/lib/rate/star.d.ts +2 -2
  168. package/lib/select/common.d.ts +4 -3
  169. package/lib/select/index.d.ts +211 -60
  170. package/lib/select/index.js +15 -1
  171. package/lib/select/option.d.ts +2 -2
  172. package/lib/select/optionGroup.d.ts +115 -0
  173. package/lib/select/select.css +52 -12
  174. package/lib/select/select.d.ts +24 -21
  175. package/lib/select/select.less +73 -7
  176. package/lib/select/select.variable.css +68 -12
  177. package/lib/shared/bk-popover.d.ts +11 -1
  178. package/lib/shared/index.d.ts +7 -0
  179. package/lib/shared/index.js +1 -1
  180. package/lib/shared/vue-types.d.ts +1 -0
  181. package/lib/shared/z-index-manager.d.ts +6 -1
  182. package/lib/sideslider/index.js +1 -1
  183. package/lib/sideslider/sideslider.variable.css +16 -0
  184. package/lib/slider/index.d.ts +27 -0
  185. package/lib/slider/index.js +15 -0
  186. package/lib/slider/slider-button.d.ts +72 -0
  187. package/lib/slider/slider.css +149 -0
  188. package/lib/slider/slider.d.ts +159 -0
  189. package/lib/slider/slider.less +179 -0
  190. package/lib/slider/slider.variable.css +235 -0
  191. package/lib/steps/index.d.ts +15 -15
  192. package/lib/steps/index.js +2 -2
  193. package/lib/steps/steps.css +1 -1
  194. package/lib/steps/steps.d.ts +4 -4
  195. package/lib/steps/steps.less +1 -1
  196. package/lib/steps/steps.variable.css +17 -1
  197. package/lib/styles/index.d.ts +12 -0
  198. package/lib/styles/index.js +1 -1
  199. package/lib/styles/mixins/popper.css +43 -0
  200. package/lib/styles/mixins/popper.less +52 -0
  201. package/lib/styles/mixins/popper.variable.css +43 -0
  202. package/lib/styles/mixins/size.less +9 -0
  203. package/lib/styles/reset.css +273 -0
  204. package/lib/styles/reset.less +313 -0
  205. package/lib/styles/reset.variable.css +273 -0
  206. package/lib/styles/themes/themes.less +26 -1
  207. package/lib/switcher/index.js +1 -1
  208. package/lib/switcher/switcher.variable.css +16 -0
  209. package/lib/tab/index.d.ts +416 -0
  210. package/lib/tab/index.js +1 -0
  211. package/lib/tab/tab-nav.d.ts +154 -0
  212. package/lib/tab/tab-panel.d.ts +46 -0
  213. package/lib/tab/tab.css +147 -0
  214. package/lib/tab/tab.d.ts +131 -0
  215. package/lib/tab/tab.less +221 -0
  216. package/lib/tab/tab.variable.css +233 -0
  217. package/lib/table/index.d.ts +71 -60
  218. package/lib/table/index.js +1 -1
  219. package/lib/table/props.d.ts +41 -0
  220. package/lib/table/render.d.ts +47 -0
  221. package/lib/table/table.css +44 -0
  222. package/lib/table/table.d.ts +22 -63
  223. package/lib/table/table.less +63 -1
  224. package/lib/table/table.variable.css +60 -0
  225. package/lib/table/utils.d.ts +22 -0
  226. package/lib/tag/index.js +1 -1
  227. package/lib/tag/tag.variable.css +16 -0
  228. package/lib/tree/index.d.ts +149 -0
  229. package/lib/tree/index.js +1 -0
  230. package/lib/tree/tree.css +35 -0
  231. package/lib/tree/tree.d.ts +58 -0
  232. package/lib/tree/tree.less +55 -0
  233. package/lib/tree/tree.variable.css +35 -0
  234. package/lib/tree/util.d.ts +89 -0
  235. package/lib/use-message.d.ts +2 -0
  236. package/package.json +9 -1
  237. package/lib/message/message.d.ts +0 -2
  238. package/lib/table/common.d.ts +0 -3
  239. package/lib/table/table-layout.d.ts +0 -14
  240. package/lib/table/type.d.ts +0 -12
@@ -3,6 +3,7 @@
3
3
  text-align: left;
4
4
 
5
5
  .bk-collapse-header {
6
+ position: relative;
6
7
  height: 42px;
7
8
  padding: 0 10px;
8
9
  overflow: hidden;
@@ -11,6 +12,15 @@
11
12
  color: #63656e;
12
13
  text-overflow: ellipsis;
13
14
  cursor: pointer;
15
+
16
+ .bk-collapse-icon {
17
+ position: absolute;
18
+ right: 10px;
19
+
20
+ svg {
21
+ font-size: 20px;
22
+ }
23
+ }
14
24
  }
15
25
 
16
26
  .bk-collapse-content {
@@ -2,6 +2,7 @@
2
2
  text-align: left;
3
3
  }
4
4
  .bk-collapse-wrapper .bk-collapse-item .bk-collapse-header {
5
+ position: relative;
5
6
  height: 42px;
6
7
  padding: 0 10px;
7
8
  overflow: hidden;
@@ -11,6 +12,13 @@
11
12
  text-overflow: ellipsis;
12
13
  cursor: pointer;
13
14
  }
15
+ .bk-collapse-wrapper .bk-collapse-item .bk-collapse-header .bk-collapse-icon {
16
+ position: absolute;
17
+ right: 10px;
18
+ }
19
+ .bk-collapse-wrapper .bk-collapse-item .bk-collapse-header .bk-collapse-icon svg {
20
+ font-size: 20px;
21
+ }
14
22
  .bk-collapse-wrapper .bk-collapse-item .bk-collapse-content {
15
23
  display: none;
16
24
  padding: 0 10px;
@@ -1 +1 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,n,t){"use strict";var r=n.defineComponent({name:"BkCollapse",props:{list:t.PropTypes.arrayOf(t.PropTypes.any).def([]),idFiled:t.PropTypes.string.def("$index"),titleField:t.PropTypes.string.def("name"),contentField:t.PropTypes.string.def("content"),activeIndex:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.number).def([]),t.PropTypes.number.def(-1)]),activeName:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.string).def([]),t.PropTypes.string.def("")]),accordion:t.PropTypes.bool.def(!0)},setup:function(e,t){var r=t.slots,o=n.ref(null);n.watch((function(){return[e.activeName,e.activeIndex]}),(function(){o.value=null}));var i=n.computed((function(){return(e.list||[]).map((function(e,n){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e?{$index:n,name:e}:Object.assign({$index:n},e)}))})),a=n.computed((function(){var n;return null!==o.value?o.value.map((function(e){return e.$index})):null!==e.activeName&&void 0!==e.activeName&&""!==e.activeName?l(e.activeName).map((function(n){return i.value.findIndex((function(t){return t[e.idFiled]===n}))})):l(null!==(n=e.activeIndex)&&void 0!==n?n:0)})),l=function n(t){return Array.isArray(t)?e.accordion?n(t[0]):t:"string"==typeof t||"number"==typeof t?[t]:[]},u=function(e){return a.value.some((function(n){return n===e.$index}))},d=function(){return i.value.map((function(t){var i,a,l,d;return n.createVNode("div",{class:"bk-collapse-item"},[n.createVNode("div",{class:"bk-collapse-header",onClick:function(){return function(n){if(null===o.value)o.value=[n];else if(e.accordion)o.value=[n];else{var t=o.value.findIndex((function(e){return e.$index===n.$index}));t>=0?o.value.splice(t,1):o.value.push(n)}}(t)}},[n.createVNode("span",{class:"bk-collapse-title"},[null!==(a=null===(i=r.default)||void 0===i?void 0:i.call(r))&&void 0!==a?a:t[e.titleField]]),n.createVNode("span",null,[">"])]),n.createVNode("div",{class:"bk-collapse-content ".concat(u(t)?"active":"")},[null!==(d=null===(l=r.content)||void 0===l?void 0:l.call(r,t))&&void 0!==d?d:t[e.contentField]])])}))};return function(){return n.createVNode("div",{class:"bk-collapse-wrapper"},[d()])}}}),o=t.withInstall(r);e.default=o,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("vue"),require("../shared"),require("@bkui-vue/icon/")):"function"==typeof define&&define.amd?define(["exports","vue","../shared","@bkui-vue/icon/"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared,e._)}(this,(function(e,n,t,o){"use strict";var i=n.defineComponent({name:"Collapse",props:{list:t.PropTypes.arrayOf(t.PropTypes.any).def([]),idFiled:t.PropTypes.string.def("$index"),titleField:t.PropTypes.string.def("name"),contentField:t.PropTypes.string.def("content"),activeIndex:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.number).def([]),t.PropTypes.number.def(-1)]),activeName:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.string).def([]),t.PropTypes.string.def("")]),accordion:t.PropTypes.bool.def(!0)},setup:function(e,t){var i=t.slots,r=n.ref(null);n.watch((function(){return[e.activeName,e.activeIndex]}),(function(){r.value=null}));var l=n.computed((function(){return(e.list||[]).map((function(e,n){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e?{$index:n,name:e}:Object.assign({$index:n},e)}))})),a=n.computed((function(){var n;return null!==r.value?r.value.map((function(e){return e.$index})):null!==e.activeName&&void 0!==e.activeName&&""!==e.activeName?u(e.activeName).map((function(n){return l.value.findIndex((function(t){return t[e.idFiled]===n}))})):u(null!==(n=e.activeIndex)&&void 0!==n?n:0)})),u=function n(t){return Array.isArray(t)?e.accordion?n(t[0]):t:"string"==typeof t||"number"==typeof t?[t]:[]},c=function(e){return a.value.some((function(n){return n===e.$index}))},d=function(){return l.value.map((function(t){var l,a,u,d;return n.createVNode("div",{class:"bk-collapse-item"},[n.createVNode("div",{class:"bk-collapse-header",onClick:function(){return function(n){if(null===r.value)r.value=[n];else if(e.accordion)r.value=[n];else{var t=r.value.findIndex((function(e){return e.$index===n.$index}));t>=0?r.value.splice(t,1):r.value.push(n)}}(t)}},[n.createVNode("span",{class:"bk-collapse-title"},[null!==(a=null===(l=i.default)||void 0===l?void 0:l.call(i))&&void 0!==a?a:t[e.titleField]]),c(t)?n.createVNode(o.AngleDown,{class:"bk-collapse-icon"},null):n.createVNode(o.AngleRight,{class:"bk-collapse-icon"},null)]),n.createVNode("div",{class:"bk-collapse-content ".concat(c(t)?"active":"")},[null!==(d=null===(u=i.content)||void 0===u?void 0:u.call(i,t))&&void 0!==d?d:t[e.contentField]])])}))};return function(){return n.createVNode("div",{class:"bk-collapse-wrapper"},[d()])}}}),r=t.withInstall(i);e.default=r,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -18,9 +18,14 @@ export { default as Popover } from './popover';
18
18
  export { default as Progress } from './progress';
19
19
  export { default as Radio, BkRadioButton as RadioButton, BkRadioGroup as RadioGroup } from './radio';
20
20
  export { default as Rate } from './rate';
21
- export { default as Select } from './select';
21
+ export { default as Select, BkOption, BkOptionGroup } from './select';
22
22
  export { default as Sideslider } from './sideslider';
23
23
  export { default as Steps } from './steps';
24
24
  export { default as Switcher } from './switcher';
25
25
  export { default as Table } from './table';
26
26
  export { default as Tag } from './tag';
27
+ export { default as Message } from './message';
28
+ export { default as Notify } from './notify';
29
+ export { default as Menu } from './menu';
30
+ export { default as Navigation } from './navigation';
31
+ export { default as DatePicker } from './date-picker';
@@ -0,0 +1,407 @@
1
+ .bk-date-picker {
2
+ display: inline-block;
3
+ width: 261px;
4
+ line-height: normal;
5
+ }
6
+ .bk-date-picker.long {
7
+ width: 342px;
8
+ }
9
+ .bk-date-picker.medium-width {
10
+ width: 362px;
11
+ }
12
+ .bk-date-picker.large-width {
13
+ width: 402px;
14
+ }
15
+ .bk-date-picker-rel {
16
+ position: relative;
17
+ }
18
+ .bk-date-picker-rel .bk-date-picker-editor {
19
+ display: block;
20
+ width: 100%;
21
+ height: 32px;
22
+ padding: 0 10px 0 30px;
23
+ font-size: 12px;
24
+ line-height: 32px;
25
+ color: #63656e;
26
+ cursor: pointer;
27
+ border: 1px solid #c4c6cc;
28
+ border-radius: 2px;
29
+ outline: none;
30
+ }
31
+ .bk-date-picker-rel .bk-date-picker-editor.only-bottom-border {
32
+ border-color: transparent transparent #c4c6cc transparent;
33
+ }
34
+ .bk-date-picker-rel .bk-date-picker-editor.only-bottom-border:focus {
35
+ border-color: transparent transparent #3a84ff transparent;
36
+ box-shadow: none;
37
+ }
38
+ .bk-date-picker-rel .bk-date-picker-editor.only-bottom-border[disabled],
39
+ .bk-date-picker-rel .bk-date-picker-editor.only-bottom-border.readonly {
40
+ border-color: transparent transparent #dcdee5 transparent;
41
+ }
42
+ .bk-date-picker-rel .bk-date-picker-editor:focus {
43
+ border: 1px solid #3a84ff;
44
+ }
45
+ .bk-date-picker-rel .bk-date-picker-editor::placeholder {
46
+ color: #c4c6cc;
47
+ }
48
+ .bk-date-picker-rel .bk-date-picker-editor[disabled] {
49
+ color: #c4c6cc;
50
+ cursor: not-allowed;
51
+ background-color: #fafbfd;
52
+ border-color: #c4c6cc;
53
+ }
54
+ .bk-date-picker-rel .bk-date-picker-editor.readonly {
55
+ background-color: #fafbfd;
56
+ border-color: #c4c6cc;
57
+ }
58
+ .bk-date-picker-rel .bk-date-picker-editor.medium-font {
59
+ font-size: 14px;
60
+ }
61
+ .bk-date-picker-rel .bk-date-picker-editor.large-font {
62
+ font-size: 16px;
63
+ }
64
+ .bk-date-picker-rel .clear-action {
65
+ position: absolute;
66
+ top: 50%;
67
+ right: 10px;
68
+ font-size: 14px;
69
+ color: #c4c6cc;
70
+ cursor: pointer;
71
+ transform: translateY(-50%);
72
+ }
73
+ .bk-date-picker-rel .clear-action:hover {
74
+ color: #979ba5;
75
+ }
76
+ .bk-date-picker-rel .icon-wrapper {
77
+ position: absolute;
78
+ top: 0;
79
+ left: 0;
80
+ display: inline-block;
81
+ width: 32px;
82
+ height: 32px;
83
+ color: #c4c6cc;
84
+ cursor: pointer;
85
+ background-color: transparent;
86
+ }
87
+ .bk-date-picker-rel .icon-wrapper.disabled {
88
+ cursor: not-allowed;
89
+ }
90
+ .bk-date-picker-rel .icon-wrapper i.icon-clock {
91
+ position: absolute;
92
+ top: 50%;
93
+ left: 50%;
94
+ transform: translate(-50%, -50%);
95
+ }
96
+ .bk-date-picker-rel .icon-wrapper .picker-icon {
97
+ position: absolute;
98
+ top: 50%;
99
+ left: 50%;
100
+ width: 18px;
101
+ height: 18px;
102
+ transform: translate(-50%, -50%);
103
+ }
104
+ .bk-date-picker-dropdown {
105
+ position: absolute;
106
+ z-index: 900;
107
+ padding: 5px 0 0 0;
108
+ overflow: auto;
109
+ background-color: #fff;
110
+ border: 1px solid #dcdee5;
111
+ border-radius: 2px;
112
+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
113
+ box-sizing: border-box;
114
+ }
115
+ .bk-date-picker .bk-select-dropdown {
116
+ max-height: none;
117
+ padding: 0;
118
+ overflow: visible;
119
+ }
120
+ .bk-date-picker-footer-wrapper {
121
+ clear: both;
122
+ font-size: 14px;
123
+ color: #979ba5;
124
+ background-color: #fafbfd;
125
+ border-top: 1px solid #dcdee5;
126
+ }
127
+ .bk-date-picker-top-wrapper {
128
+ margin-top: -5px;
129
+ clear: both;
130
+ font-size: 14px;
131
+ color: #979ba5;
132
+ }
133
+ .bk-picker-panel-body-wrapper.bk-picker-panel-with-sidebar {
134
+ padding-right: 140px;
135
+ }
136
+ .bk-picker-panel-sidebar {
137
+ position: absolute;
138
+ top: 0;
139
+ right: 0;
140
+ bottom: 0;
141
+ width: 140px;
142
+ padding: 12px 0;
143
+ overflow: auto;
144
+ font-size: 14px;
145
+ color: #3a84ff;
146
+ background-color: #fafbfd;
147
+ border-left: 1px solid #dcdee5;
148
+ }
149
+ .bk-picker-panel-sidebar .bk-picker-panel-shortcut {
150
+ /* &:nth-of-type(1) {
151
+ padding-top: 18px;
152
+ }
153
+ &:last-child {
154
+ padding-bottom: 18px;
155
+ } */
156
+ padding: 6px 21px;
157
+ overflow: hidden;
158
+ text-overflow: ellipsis;
159
+ white-space: nowrap;
160
+ cursor: pointer;
161
+ }
162
+ .bk-picker-panel-sidebar .bk-picker-panel-shortcut:hover {
163
+ background-color: #e1ecff;
164
+ }
165
+ .bk-picker-panel-body {
166
+ float: left;
167
+ }
168
+ .bk-picker-confirm {
169
+ height: 42px;
170
+ padding: 0 20px;
171
+ clear: both;
172
+ font-size: 14px;
173
+ line-height: 41px;
174
+ text-align: right;
175
+ background-color: #fafbfd;
176
+ border-top: 1px solid #dcdee5;
177
+ }
178
+ .bk-picker-confirm a {
179
+ color: #979ba5;
180
+ }
181
+ .bk-picker-confirm a.confirm {
182
+ margin-left: 10px;
183
+ color: #3a84ff;
184
+ }
185
+ .bk-picker-confirm a[disabled] {
186
+ color: #c4c6cc;
187
+ cursor: not-allowed;
188
+ }
189
+ .bk-picker-confirm .bk-picker-confirm-time {
190
+ float: left;
191
+ }
192
+ .bk-date-picker-header {
193
+ height: 46px;
194
+ font-size: 14px;
195
+ font-weight: 700;
196
+ line-height: 46px;
197
+ color: #63656e;
198
+ text-align: center;
199
+ border-bottom: 1px solid #dcdee5;
200
+ }
201
+ .bk-date-picker-header .bk-date-picker-header-label {
202
+ cursor: pointer;
203
+ }
204
+ .bk-date-picker-header .bk-date-picker-header-label:hover {
205
+ color: #3a84ff;
206
+ }
207
+ .bk-date-picker-header .up-to-now {
208
+ margin-left: 3px;
209
+ font-weight: 400;
210
+ cursor: pointer;
211
+ }
212
+ .bk-date-picker-header .up-to-now.disabled {
213
+ color: #c4c6cc;
214
+ cursor: not-allowed;
215
+ }
216
+ .bk-date-picker-cells {
217
+ margin: 9px;
218
+ font-size: 12px;
219
+ color: #63656e;
220
+ white-space: normal;
221
+ }
222
+ .bk-date-picker-cells span {
223
+ display: inline-block;
224
+ width: 34px;
225
+ height: 32px;
226
+ line-height: 32px;
227
+ text-align: center;
228
+ }
229
+ .bk-date-picker-cells span em {
230
+ display: inline-block;
231
+ width: 34px;
232
+ height: 32px;
233
+ font-style: normal;
234
+ line-height: 32px;
235
+ cursor: pointer;
236
+ }
237
+ .bk-date-picker-cells .bk-date-picker-cells-header {
238
+ text-align: center;
239
+ }
240
+ .bk-date-picker-cells .bk-date-picker-cells-header span {
241
+ width: 28px;
242
+ height: 26px;
243
+ margin: 3px;
244
+ line-height: 26px;
245
+ color: #63656e;
246
+ text-align: center;
247
+ cursor: default;
248
+ }
249
+ .bk-date-picker-cells-cell:hover em {
250
+ /* background-color: #e1ecff; */
251
+ background-color: #f0f1f5;
252
+ }
253
+ .bk-date-picker-cells-focused em {
254
+ color: #3a84ff;
255
+ box-shadow: 0 0 0 1px #a3c5fd inset;
256
+ }
257
+ .bk-date-picker-cells-cell-prev-month em,
258
+ .bk-date-picker-cells-cell-next-month em {
259
+ color: #c4c6cc;
260
+ }
261
+ .bk-date-picker-cells-cell-prev-month:hover em,
262
+ .bk-date-picker-cells-cell-next-month:hover em {
263
+ background: transparent;
264
+ }
265
+ span.bk-date-picker-cells-cell-week-label,
266
+ span.bk-date-picker-cells-cell-week-label:hover,
267
+ span.bk-date-picker-cells-cell-disabled,
268
+ span.bk-date-picker-cells-cell-disabled:hover {
269
+ color: #c4c6cc;
270
+ cursor: not-allowed;
271
+ }
272
+ span.bk-date-picker-cells-cell-week-label em,
273
+ span.bk-date-picker-cells-cell-week-label:hover em,
274
+ span.bk-date-picker-cells-cell-disabled em,
275
+ span.bk-date-picker-cells-cell-disabled:hover em {
276
+ color: inherit;
277
+ cursor: not-allowed;
278
+ background: inherit;
279
+ }
280
+ span.bk-date-picker-cells-cell-disabled,
281
+ span.bk-date-picker-cells-cell-disabled:hover {
282
+ background-color: #f0f1f5;
283
+ }
284
+ .bk-date-picker-cells-cell-today em {
285
+ position: relative;
286
+ color: #3a84ff;
287
+ box-shadow: 0 0 0 1px #a3c5fd inset;
288
+ }
289
+ .bk-date-picker-cells-cell-range {
290
+ position: relative;
291
+ }
292
+ .bk-date-picker-cells-cell-range:before {
293
+ position: absolute;
294
+ top: 0;
295
+ right: 0;
296
+ bottom: 0;
297
+ left: 0;
298
+ display: block;
299
+ background: #e1ecff;
300
+ border: 0;
301
+ border-radius: 0;
302
+ content: '';
303
+ }
304
+ .bk-date-picker-cells-cell-range em {
305
+ position: relative;
306
+ z-index: 1;
307
+ }
308
+ .bk-date-picker-cells-cell-selected em,
309
+ .bk-date-picker-cells-cell-selected:hover em {
310
+ color: #fff;
311
+ background-color: #3a84ff;
312
+ box-shadow: 0 0 0 1px #3a84ff inset;
313
+ }
314
+ span.bk-date-picker-cells-cell-disabled.bk-date-picker-cells-cell-selected em {
315
+ color: #f7f7f7;
316
+ background: #c4c6cc;
317
+ }
318
+ .bk-date-picker-cells-cell-today.bk-date-picker-cells-cell-selected em:after {
319
+ background: #fff;
320
+ }
321
+ .bk-date-picker-cells-cell-today.bk-date-picker-cells-cell-selected em,
322
+ .bk-date-picker-cells-cell-today.bk-date-picker-cells-cell-selected em:hover {
323
+ box-shadow: 0 0 0 1px #3a84ff inset;
324
+ }
325
+ .bk-date-picker-cells-year,
326
+ .bk-date-picker-cells-month {
327
+ margin-top: 7px;
328
+ }
329
+ .bk-date-picker-cells-year span,
330
+ .bk-date-picker-cells-month span {
331
+ width: 36px;
332
+ height: 32px;
333
+ margin: 10px 12px;
334
+ line-height: 32px;
335
+ text-align: center;
336
+ border-radius: 3px;
337
+ }
338
+ .bk-date-picker-cells-year span em,
339
+ .bk-date-picker-cells-month span em {
340
+ width: 36px;
341
+ height: 32px;
342
+ line-height: 32px;
343
+ text-align: center;
344
+ }
345
+ .bk-picker-panel-icon-btn {
346
+ display: inline-block;
347
+ width: 20px;
348
+ height: 46px;
349
+ line-height: 44px;
350
+ color: #979ba5;
351
+ text-align: center;
352
+ cursor: pointer;
353
+ transition: color 0.2s ease-in-out;
354
+ }
355
+ .bk-picker-panel-icon-btn:hover {
356
+ color: #2d8cf0;
357
+ }
358
+ .bk-picker-panel-icon-btn i {
359
+ font-size: 20px;
360
+ }
361
+ .bk-date-picker-prev-btn {
362
+ float: left;
363
+ }
364
+ .bk-date-picker-prev-btn-arrow-double {
365
+ margin-left: 10px;
366
+ }
367
+ .bk-date-picker-prev-btn-arrow-double i:after {
368
+ margin-left: -8px;
369
+ }
370
+ .bk-date-picker-next-btn {
371
+ float: right;
372
+ }
373
+ .bk-date-picker-next-btn-arrow-double {
374
+ margin-right: 10px;
375
+ }
376
+ .bk-date-picker-next-btn-arrow-double i:after {
377
+ margin-left: -8px;
378
+ }
379
+ .bk-date-picker-with-range .bk-picker-panel-body {
380
+ min-width: 532px;
381
+ }
382
+ .bk-date-picker-with-range .bk-picker-panel-content {
383
+ float: left;
384
+ }
385
+ .bk-date-picker-with-range .bk-picker-cells-show-week-numbers {
386
+ min-width: 492px;
387
+ }
388
+ .bk-date-picker-transfer {
389
+ z-index: 1060;
390
+ max-height: none;
391
+ }
392
+ .bk-fade-down-transition-enter-from,
393
+ .bk-fade-down-transition-leave-to {
394
+ opacity: 0;
395
+ transform: translateY(-20px);
396
+ }
397
+ .bk-fade-down-transition-enter-to,
398
+ .bk-fade-down-transition-leave-from {
399
+ opacity: 1;
400
+ transform: translateY(0);
401
+ }
402
+ .bk-fade-down-transition-enter-active {
403
+ transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
404
+ }
405
+ .bk-fade-down-transition-leave-active {
406
+ transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
407
+ }