bkui-vue 1.0.3-beta.59 → 1.0.3-beta.60.scrollbar.2

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 (214) hide show
  1. package/dist/index.cjs.js +52 -50
  2. package/dist/index.esm.js +15711 -15010
  3. package/dist/index.umd.js +52 -50
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.js +1 -1
  7. package/lib/alert/index.js +1 -1
  8. package/lib/animate-number/index.js +7 -8
  9. package/lib/badge/index.js +1 -1
  10. package/lib/breadcrumb/index.js +1 -1
  11. package/lib/button/index.js +1 -1
  12. package/lib/card/index.js +1 -1
  13. package/lib/cascader/index.js +38 -42
  14. package/lib/checkbox/index.js +6 -7
  15. package/lib/collapse/index.js +11 -12
  16. package/lib/collapse-transition/index.js +3 -4
  17. package/lib/color-picker/index.js +10 -13
  18. package/lib/components.d.ts +0 -1
  19. package/lib/components.js +1 -2
  20. package/lib/config-provider/index.js +1 -1
  21. package/lib/container/index.js +10 -12
  22. package/lib/date-picker/index.js +2 -2
  23. package/lib/dialog/dialog.css +9 -7
  24. package/lib/dialog/dialog.variable.css +9 -7
  25. package/lib/dialog/index.js +4 -4
  26. package/lib/directives/index.js +1 -1
  27. package/lib/divider/index.js +2 -3
  28. package/lib/dropdown/index.js +6 -8
  29. package/lib/exception/index.js +1 -1
  30. package/lib/fixed-navbar/index.js +2 -3
  31. package/lib/form/index.js +1 -1
  32. package/lib/icon/angle-double-down-line.js +1 -1
  33. package/lib/icon/angle-double-left-line.js +1 -1
  34. package/lib/icon/angle-double-left.js +1 -1
  35. package/lib/icon/angle-double-right-line.js +1 -1
  36. package/lib/icon/angle-double-right.js +1 -1
  37. package/lib/icon/angle-double-up-line.js +1 -1
  38. package/lib/icon/angle-down-fill.js +1 -1
  39. package/lib/icon/angle-down-line.js +1 -1
  40. package/lib/icon/angle-down.js +1 -1
  41. package/lib/icon/angle-left.js +1 -1
  42. package/lib/icon/angle-right.js +1 -1
  43. package/lib/icon/angle-up-fill.js +1 -1
  44. package/lib/icon/angle-up.js +1 -1
  45. package/lib/icon/archive-fill.js +1 -1
  46. package/lib/icon/arrows-left.js +1 -1
  47. package/lib/icon/arrows-right.js +1 -1
  48. package/lib/icon/assistant.js +1 -1
  49. package/lib/icon/audio-fill.js +1 -1
  50. package/lib/icon/bk.js +1 -1
  51. package/lib/icon/circle.js +1 -1
  52. package/lib/icon/close-line.js +1 -1
  53. package/lib/icon/close.js +1 -1
  54. package/lib/icon/code.js +1 -1
  55. package/lib/icon/cog-shape.js +1 -1
  56. package/lib/icon/collapse-left.js +1 -1
  57. package/lib/icon/copy-shape.js +1 -1
  58. package/lib/icon/copy.js +1 -1
  59. package/lib/icon/data-shape.js +1 -1
  60. package/lib/icon/del.js +1 -1
  61. package/lib/icon/doc-fill.js +1 -1
  62. package/lib/icon/done.js +1 -1
  63. package/lib/icon/down-shape.js +1 -1
  64. package/lib/icon/down-small.js +1 -1
  65. package/lib/icon/edit-line.js +1 -1
  66. package/lib/icon/ellipsis.js +1 -1
  67. package/lib/icon/enlarge-line.js +1 -1
  68. package/lib/icon/error.js +1 -1
  69. package/lib/icon/excel-fill.js +1 -1
  70. package/lib/icon/exclamation-circle-shape.js +1 -1
  71. package/lib/icon/eye.js +1 -1
  72. package/lib/icon/filliscreen-line.js +1 -1
  73. package/lib/icon/fix-line.js +1 -1
  74. package/lib/icon/fix-shape.js +1 -1
  75. package/lib/icon/folder-open.js +1 -1
  76. package/lib/icon/folder-shape-open.js +1 -1
  77. package/lib/icon/folder-shape.js +1 -1
  78. package/lib/icon/folder.js +1 -1
  79. package/lib/icon/funnel.js +1 -1
  80. package/lib/icon/grag-fill.js +1 -1
  81. package/lib/icon/help-document-fill.js +1 -1
  82. package/lib/icon/help-fill.js +1 -1
  83. package/lib/icon/help.js +1 -1
  84. package/lib/icon/image-fill.js +1 -1
  85. package/lib/icon/img-error.js +1 -1
  86. package/lib/icon/img-placehoulder.js +1 -1
  87. package/lib/icon/info-line.js +1 -1
  88. package/lib/icon/info.js +1 -1
  89. package/lib/icon/left-shape.js +1 -1
  90. package/lib/icon/left-turn-line.js +1 -1
  91. package/lib/icon/loading.js +1 -1
  92. package/lib/icon/narrow-line.js +1 -1
  93. package/lib/icon/original.js +1 -1
  94. package/lib/icon/pdf-fill.js +1 -1
  95. package/lib/icon/play-shape.js +1 -1
  96. package/lib/icon/plus.js +1 -1
  97. package/lib/icon/ppt-fill.js +1 -1
  98. package/lib/icon/qq.js +1 -1
  99. package/lib/icon/right-shape.js +1 -1
  100. package/lib/icon/right-turn-line.js +1 -1
  101. package/lib/icon/search.js +1 -1
  102. package/lib/icon/share.js +1 -1
  103. package/lib/icon/spinner.js +1 -1
  104. package/lib/icon/success.js +1 -1
  105. package/lib/icon/switcher-loading.js +1 -1
  106. package/lib/icon/text-all.js +1 -1
  107. package/lib/icon/text-file.js +1 -1
  108. package/lib/icon/text-fill.js +1 -1
  109. package/lib/icon/transfer.js +1 -1
  110. package/lib/icon/tree-application-shape.js +1 -1
  111. package/lib/icon/unfull-screen.js +1 -1
  112. package/lib/icon/unvisible.js +1 -1
  113. package/lib/icon/up-shape.js +1 -1
  114. package/lib/icon/upload.js +1 -1
  115. package/lib/icon/video-fill.js +1 -1
  116. package/lib/icon/warn.js +1 -1
  117. package/lib/icon/weixin-pro.js +1 -1
  118. package/lib/icon/weixin.js +1 -1
  119. package/lib/image/index.js +10 -11
  120. package/lib/info-box/index.js +4 -5
  121. package/lib/input/index.js +4 -4
  122. package/lib/link/index.js +2 -2
  123. package/lib/loading/index.js +11 -12
  124. package/lib/menu/index.js +2 -3
  125. package/lib/message/index.js +1 -1
  126. package/lib/modal/hooks.d.ts +1 -1
  127. package/lib/modal/index.d.ts +0 -3
  128. package/lib/modal/index.js +26 -25
  129. package/lib/modal/modal.css +9 -7
  130. package/lib/modal/modal.d.ts +0 -1
  131. package/lib/modal/modal.less +18 -11
  132. package/lib/modal/modal.variable.css +9 -7
  133. package/lib/navigation/index.js +7 -9
  134. package/lib/notify/index.js +1 -1
  135. package/lib/overflow-title/index.js +9 -10
  136. package/lib/pagination/index.js +1 -1
  137. package/lib/plugin-popover/index.js +26 -30
  138. package/lib/pop-confirm/index.js +4 -5
  139. package/lib/popover/index.js +26 -30
  140. package/lib/popover2/index.js +2 -2
  141. package/lib/process/index.js +4 -4
  142. package/lib/progress/index.js +5 -6
  143. package/lib/radio/index.js +6 -7
  144. package/lib/rate/index.js +1 -1
  145. package/lib/resize-layout/index.js +1 -1
  146. package/lib/search-select/index.d.ts +12 -321
  147. package/lib/search-select/index.js +224 -424
  148. package/lib/search-select/input.d.ts +2 -6
  149. package/lib/search-select/search-select.css +6 -20
  150. package/lib/search-select/search-select.d.ts +4 -107
  151. package/lib/search-select/search-select.less +12 -16
  152. package/lib/search-select/search-select.variable.css +6 -20
  153. package/lib/search-select/selected.d.ts +5 -105
  154. package/lib/search-select/utils.d.ts +1 -7
  155. package/lib/select/index.d.ts +9 -32
  156. package/lib/select/index.js +5 -8
  157. package/lib/select/select.d.ts +3 -14
  158. package/lib/shared/index.js +5 -8
  159. package/lib/sideslider/index.js +4 -4
  160. package/lib/sideslider/sideslider.css +5 -0
  161. package/lib/sideslider/sideslider.less +14 -8
  162. package/lib/sideslider/sideslider.variable.css +5 -0
  163. package/lib/slider/index.d.ts +3 -3
  164. package/lib/slider/index.js +19 -20
  165. package/lib/slider/slider.d.ts +1 -1
  166. package/lib/steps/index.d.ts +3 -3
  167. package/lib/steps/index.js +4 -4
  168. package/lib/steps/steps.d.ts +1 -1
  169. package/lib/swiper/index.js +1 -1
  170. package/lib/switcher/index.js +1 -1
  171. package/lib/tab/index.d.ts +4 -4
  172. package/lib/tab/index.js +3 -4
  173. package/lib/tab/tab.d.ts +1 -1
  174. package/lib/table/const.d.ts +1 -1
  175. package/lib/table/index.d.ts +9 -9
  176. package/lib/table/index.js +24 -26
  177. package/lib/table/plugins/use-fixed-column.d.ts +1 -1
  178. package/lib/table/table.css +96 -42
  179. package/lib/table/table.d.ts +3 -3
  180. package/lib/table/table.less +41 -56
  181. package/lib/table/table.variable.css +96 -42
  182. package/lib/table/use-render.d.ts +1 -1
  183. package/lib/table-column/index.js +2 -2
  184. package/lib/tag/index.js +1 -1
  185. package/lib/tag-input/index.js +3 -4
  186. package/lib/timeline/index.js +0 -1
  187. package/lib/transfer/index.d.ts +3 -3
  188. package/lib/transfer/transfer.d.ts +1 -1
  189. package/lib/tree/index.js +10 -12
  190. package/lib/tree/tree.css +75 -2
  191. package/lib/tree/tree.variable.css +75 -2
  192. package/lib/upload/index.d.ts +4 -4
  193. package/lib/upload/index.js +4 -4
  194. package/lib/upload/upload.d.ts +1 -1
  195. package/lib/virtual-render/bk-scrollbar.css +74 -0
  196. package/lib/virtual-render/bk-scrollbar.d.ts +10 -0
  197. package/lib/virtual-render/bk-scrollbar.less +93 -0
  198. package/lib/virtual-render/bk-scrollbar.variable.css +203 -0
  199. package/lib/virtual-render/index.d.ts +4 -0
  200. package/lib/virtual-render/index.js +2542 -235
  201. package/lib/virtual-render/props.d.ts +7 -0
  202. package/lib/virtual-render/scrollbar-core/can-use-dom.d.ts +2 -0
  203. package/lib/virtual-render/scrollbar-core/helpers.d.ts +5 -0
  204. package/lib/virtual-render/scrollbar-core/index.d.ts +213 -0
  205. package/lib/virtual-render/scrollbar-core/mouse-wheel.d.ts +5 -0
  206. package/lib/virtual-render/scrollbar-core/scrollbar-width.d.ts +1 -0
  207. package/lib/virtual-render/use-fix-top.d.ts +2 -7
  208. package/lib/virtual-render/use-scrollbar.d.ts +23 -0
  209. package/lib/virtual-render/v-virtual-render.d.ts +2 -1
  210. package/lib/virtual-render/virtual-render.css +75 -2
  211. package/lib/virtual-render/virtual-render.d.ts +2 -0
  212. package/lib/virtual-render/virtual-render.less +2 -2
  213. package/lib/virtual-render/virtual-render.variable.css +75 -2
  214. package/package.json +5 -1
@@ -283,11 +283,6 @@ declare const BkSelect: {
283
283
  } & {
284
284
  default: boolean;
285
285
  };
286
- disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
287
- default: boolean;
288
- } & {
289
- default: boolean;
290
- };
291
286
  keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
292
287
  default: boolean;
293
288
  } & {
@@ -975,11 +970,6 @@ declare const BkSelect: {
975
970
  } & {
976
971
  default: boolean;
977
972
  };
978
- disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
979
- default: boolean;
980
- } & {
981
- default: boolean;
982
- };
983
973
  keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
984
974
  default: boolean;
985
975
  } & {
@@ -1041,21 +1031,20 @@ declare const BkSelect: {
1041
1031
  displayKey: string;
1042
1032
  idKey: string;
1043
1033
  remoteMethod: (...args: any[]) => any;
1034
+ scrollLoading: boolean;
1035
+ searchPlaceholder: string;
1036
+ customContent: boolean;
1044
1037
  showAll: boolean;
1045
1038
  showSelectAll: boolean;
1046
1039
  multipleMode: string;
1047
1040
  autoHeight: boolean;
1048
1041
  noMatchText: string;
1049
1042
  loadingText: string;
1050
- searchPlaceholder: string;
1051
1043
  selectAllText: string;
1052
- scrollLoading: boolean;
1053
- customContent: boolean;
1054
1044
  inputSearch: boolean;
1055
1045
  enableVirtualRender: boolean;
1056
1046
  allowEmptyValues: unknown[];
1057
1047
  autoFocus: boolean;
1058
- disableFocusBehavior: boolean;
1059
1048
  keepSearchValue: boolean;
1060
1049
  searchWithPinyin: boolean;
1061
1050
  }, true, {}, {}, {
@@ -1347,11 +1336,6 @@ declare const BkSelect: {
1347
1336
  } & {
1348
1337
  default: boolean;
1349
1338
  };
1350
- disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
1351
- default: boolean;
1352
- } & {
1353
- default: boolean;
1354
- };
1355
1339
  keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
1356
1340
  default: boolean;
1357
1341
  } & {
@@ -1782,21 +1766,20 @@ declare const BkSelect: {
1782
1766
  displayKey: string;
1783
1767
  idKey: string;
1784
1768
  remoteMethod: (...args: any[]) => any;
1769
+ scrollLoading: boolean;
1770
+ searchPlaceholder: string;
1771
+ customContent: boolean;
1785
1772
  showAll: boolean;
1786
1773
  showSelectAll: boolean;
1787
1774
  multipleMode: string;
1788
1775
  autoHeight: boolean;
1789
1776
  noMatchText: string;
1790
1777
  loadingText: string;
1791
- searchPlaceholder: string;
1792
1778
  selectAllText: string;
1793
- scrollLoading: boolean;
1794
- customContent: boolean;
1795
1779
  inputSearch: boolean;
1796
1780
  enableVirtualRender: boolean;
1797
1781
  allowEmptyValues: unknown[];
1798
1782
  autoFocus: boolean;
1799
- disableFocusBehavior: boolean;
1800
1783
  keepSearchValue: boolean;
1801
1784
  searchWithPinyin: boolean;
1802
1785
  }>;
@@ -2085,11 +2068,6 @@ declare const BkSelect: {
2085
2068
  } & {
2086
2069
  default: boolean;
2087
2070
  };
2088
- disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
2089
- default: boolean;
2090
- } & {
2091
- default: boolean;
2092
- };
2093
2071
  keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
2094
2072
  default: boolean;
2095
2073
  } & {
@@ -2520,21 +2498,20 @@ declare const BkSelect: {
2520
2498
  displayKey: string;
2521
2499
  idKey: string;
2522
2500
  remoteMethod: (...args: any[]) => any;
2501
+ scrollLoading: boolean;
2502
+ searchPlaceholder: string;
2503
+ customContent: boolean;
2523
2504
  showAll: boolean;
2524
2505
  showSelectAll: boolean;
2525
2506
  multipleMode: string;
2526
2507
  autoHeight: boolean;
2527
2508
  noMatchText: string;
2528
2509
  loadingText: string;
2529
- searchPlaceholder: string;
2530
2510
  selectAllText: string;
2531
- scrollLoading: boolean;
2532
- customContent: boolean;
2533
2511
  inputSearch: boolean;
2534
2512
  enableVirtualRender: boolean;
2535
2513
  allowEmptyValues: unknown[];
2536
2514
  autoFocus: boolean;
2537
- disableFocusBehavior: boolean;
2538
2515
  keepSearchValue: boolean;
2539
2516
  searchWithPinyin: boolean;
2540
2517
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & Readonly<{
@@ -135,7 +135,7 @@ function _regeneratorRuntime() {
135
135
  function makeInvokeMethod(e, r, n) {
136
136
  var o = h;
137
137
  return function (i, a) {
138
- if (o === f) throw new Error("Generator is already running");
138
+ if (o === f) throw Error("Generator is already running");
139
139
  if (o === s) {
140
140
  if ("throw" === i) throw a;
141
141
  return {
@@ -277,7 +277,7 @@ function _regeneratorRuntime() {
277
277
  } else if (c) {
278
278
  if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
279
279
  } else {
280
- if (!u) throw new Error("try statement without catch or finally");
280
+ if (!u) throw Error("try statement without catch or finally");
281
281
  if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
282
282
  }
283
283
  }
@@ -317,7 +317,7 @@ function _regeneratorRuntime() {
317
317
  return o;
318
318
  }
319
319
  }
320
- throw new Error("illegal catch attempt");
320
+ throw Error("illegal catch attempt");
321
321
  },
322
322
  delegateYield: function delegateYield(e, r, n) {
323
323
  return this.delegate = {
@@ -470,7 +470,7 @@ function toPrimitive(t, r) {
470
470
 
471
471
  function toPropertyKey(t) {
472
472
  var i = toPrimitive(t, "string");
473
- return "symbol" == _typeof(i) ? i : String(i);
473
+ return "symbol" == _typeof(i) ? i : i + "";
474
474
  }
475
475
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
476
476
 
@@ -2644,7 +2644,6 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
2644
2644
  enableVirtualRender: shared_namespaceObject.PropTypes.bool.def(false),
2645
2645
  allowEmptyValues: shared_namespaceObject.PropTypes.array.def([]),
2646
2646
  autoFocus: shared_namespaceObject.PropTypes.bool.def(false),
2647
- disableFocusBehavior: shared_namespaceObject.PropTypes.bool.def(false),
2648
2647
  keepSearchValue: shared_namespaceObject.PropTypes.bool.def(false),
2649
2648
  prefix: shared_namespaceObject.PropTypes.string,
2650
2649
  selectedStyle: (0,shared_namespaceObject.SelectedType)(),
@@ -2691,8 +2690,7 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
2691
2690
  selectedStyle = _toRefs.selectedStyle,
2692
2691
  filterOption = _toRefs.filterOption,
2693
2692
  searchWithPinyin = _toRefs.searchWithPinyin,
2694
- highlightKeyword = _toRefs.highlightKeyword,
2695
- disableFocusBehavior = _toRefs.disableFocusBehavior;
2693
+ highlightKeyword = _toRefs.highlightKeyword;
2696
2694
  var localNoDataText = (0,external_vue_namespaceObject.computed)(function () {
2697
2695
  if (props.noDataText === undefined) {
2698
2696
  return t.value.noData;
@@ -3094,7 +3092,6 @@ function select_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { v
3094
3092
  };
3095
3093
  // 聚焦输入框
3096
3094
  var focusInput = function focusInput() {
3097
- if (disableFocusBehavior.value) return;
3098
3095
  setTimeout(function () {
3099
3096
  if (!inputSearch.value && !allowCreate.value) {
3100
3097
  var _searchRef$value;
@@ -282,11 +282,6 @@ declare const _default: import("vue").DefineComponent<{
282
282
  } & {
283
283
  default: boolean;
284
284
  };
285
- disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
286
- default: boolean;
287
- } & {
288
- default: boolean;
289
- };
290
285
  keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
291
286
  default: boolean;
292
287
  } & {
@@ -962,11 +957,6 @@ declare const _default: import("vue").DefineComponent<{
962
957
  } & {
963
958
  default: boolean;
964
959
  };
965
- disableFocusBehavior: import("vue-types").VueTypeValidableDef<boolean> & {
966
- default: boolean;
967
- } & {
968
- default: boolean;
969
- };
970
960
  keepSearchValue: import("vue-types").VueTypeValidableDef<boolean> & {
971
961
  default: boolean;
972
962
  } & {
@@ -1028,21 +1018,20 @@ declare const _default: import("vue").DefineComponent<{
1028
1018
  displayKey: string;
1029
1019
  idKey: string;
1030
1020
  remoteMethod: (...args: any[]) => any;
1021
+ scrollLoading: boolean;
1022
+ searchPlaceholder: string;
1023
+ customContent: boolean;
1031
1024
  showAll: boolean;
1032
1025
  showSelectAll: boolean;
1033
1026
  multipleMode: string;
1034
1027
  autoHeight: boolean;
1035
1028
  noMatchText: string;
1036
1029
  loadingText: string;
1037
- searchPlaceholder: string;
1038
1030
  selectAllText: string;
1039
- scrollLoading: boolean;
1040
- customContent: boolean;
1041
1031
  inputSearch: boolean;
1042
1032
  enableVirtualRender: boolean;
1043
1033
  allowEmptyValues: unknown[];
1044
1034
  autoFocus: boolean;
1045
- disableFocusBehavior: boolean;
1046
1035
  keepSearchValue: boolean;
1047
1036
  searchWithPinyin: boolean;
1048
1037
  }, {}>;
@@ -625,7 +625,7 @@ function toPrimitive(t, r) {
625
625
 
626
626
  function toPropertyKey(t) {
627
627
  var i = toPrimitive(t, "string");
628
- return "symbol" == _typeof(i) ? i : String(i);
628
+ return "symbol" == _typeof(i) ? i : i + "";
629
629
  }
630
630
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/createClass.js
631
631
 
@@ -848,7 +848,7 @@ var BKPopover = /*#__PURE__*/function () {
848
848
  }
849
849
  // Synchronously updates the popper instance. Use this for low-frequency
850
850
  // updates.
851
- _createClass(BKPopover, [{
851
+ return _createClass(BKPopover, [{
852
852
  key: "forceUpdate",
853
853
  value: function forceUpdate() {
854
854
  var _this$instance;
@@ -1143,7 +1143,6 @@ var BKPopover = /*#__PURE__*/function () {
1143
1143
  return source && (source === target || source === target.firstElementChild);
1144
1144
  }
1145
1145
  }]);
1146
- return BKPopover;
1147
1146
  }();
1148
1147
  var popContainerId = null;
1149
1148
  var getPopContainerId = function getPopContainerId() {
@@ -1613,12 +1612,12 @@ function InputBehaviorType() {
1613
1612
  return (0,external_vue_types_namespaceObject.toType)('behavior', {}).def(InputBehaviorEnum.NORMAL);
1614
1613
  }
1615
1614
  var PropTypes = /*#__PURE__*/function (_propTypesNS) {
1616
- _inherits(PropTypes, _propTypesNS);
1617
1615
  function PropTypes() {
1618
1616
  _classCallCheck(this, PropTypes);
1619
1617
  return _callSuper(this, PropTypes, arguments);
1620
1618
  }
1621
- _createClass(PropTypes, null, [{
1619
+ _inherits(PropTypes, _propTypesNS);
1620
+ return _createClass(PropTypes, null, [{
1622
1621
  key: "size",
1623
1622
  value: function size() {
1624
1623
  var defaultList = ['small', 'default', 'large', 'huge'];
@@ -1711,7 +1710,6 @@ var PropTypes = /*#__PURE__*/function (_propTypesNS) {
1711
1710
  });
1712
1711
  }
1713
1712
  }]);
1714
- return PropTypes;
1715
1713
  }(propTypesNS);
1716
1714
  var SelectedTypeEnum;
1717
1715
  (function (SelectedTypeEnum) {
@@ -1785,7 +1783,7 @@ var BKZIndexManager = /*#__PURE__*/function () {
1785
1783
  * @param type
1786
1784
  * @returns
1787
1785
  */
1788
- _createClass(BKZIndexManager, [{
1786
+ return _createClass(BKZIndexManager, [{
1789
1787
  key: "getNextIndex",
1790
1788
  value: function getNextIndex(type) {
1791
1789
  if (Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue, type)) {
@@ -1869,7 +1867,6 @@ var BKZIndexManager = /*#__PURE__*/function () {
1869
1867
  this.storageLayerIndexValue = Object.create(BKLAYERD_INDEX_EFAULT_VALUE, properties);
1870
1868
  }
1871
1869
  }]);
1872
- return BKZIndexManager;
1873
1870
  }();
1874
1871
  var bkZIndexManager = new BKZIndexManager();
1875
1872
  ;// CONCATENATED MODULE: ../../packages/shared/src/mask.ts
@@ -120,7 +120,7 @@ function _regeneratorRuntime() {
120
120
  function makeInvokeMethod(e, r, n) {
121
121
  var o = h;
122
122
  return function (i, a) {
123
- if (o === f) throw new Error("Generator is already running");
123
+ if (o === f) throw Error("Generator is already running");
124
124
  if (o === s) {
125
125
  if ("throw" === i) throw a;
126
126
  return {
@@ -262,7 +262,7 @@ function _regeneratorRuntime() {
262
262
  } else if (c) {
263
263
  if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
264
264
  } else {
265
- if (!u) throw new Error("try statement without catch or finally");
265
+ if (!u) throw Error("try statement without catch or finally");
266
266
  if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
267
267
  }
268
268
  }
@@ -302,7 +302,7 @@ function _regeneratorRuntime() {
302
302
  return o;
303
303
  }
304
304
  }
305
- throw new Error("illegal catch attempt");
305
+ throw Error("illegal catch attempt");
306
306
  },
307
307
  delegateYield: function delegateYield(e, r, n) {
308
308
  return this.delegate = {
@@ -483,7 +483,7 @@ function toPrimitive(t, r) {
483
483
 
484
484
  function toPropertyKey(t) {
485
485
  var i = toPrimitive(t, "string");
486
- return "symbol" == _typeof(i) ? i : String(i);
486
+ return "symbol" == _typeof(i) ? i : i + "";
487
487
  }
488
488
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
489
489
 
@@ -79,6 +79,11 @@
79
79
  width: 100%;
80
80
  padding: 0 0 0 46px;
81
81
  }
82
+ .bk-sideslider-content {
83
+ padding-right: 24px;
84
+ padding-left: 24px;
85
+ overflow-y: scroll;
86
+ }
82
87
  .bk-sideslider-footer {
83
88
  display: flex;
84
89
  width: 100%;
@@ -24,7 +24,7 @@
24
24
  &.is-fixed {
25
25
  .@{bk-prefix}-sideslider-footer {
26
26
  height: 54px;
27
- margin: 0;
27
+ margin: 0;;
28
28
  border-top: 1px solid transparent;
29
29
  box-shadow: rgb(0 0 0 / 6%) 0 -2px 4px 0;
30
30
  }
@@ -98,8 +98,11 @@
98
98
  }
99
99
  }
100
100
 
101
- // .@{bk-prefix}-sideslider-content {
102
- // }
101
+ .@{bk-prefix}-sideslider-content {
102
+ padding-right: 24px;
103
+ padding-left: 24px;
104
+ overflow-y: scroll;
105
+ }
103
106
 
104
107
  .@{bk-prefix}-sideslider-footer {
105
108
  display: flex;
@@ -118,27 +121,27 @@
118
121
  .slide-leave-active,
119
122
  .@{bk-prefix}-modal-body {
120
123
  transform: translateX(0);
121
- transition: transform 0.25s;
124
+ transition: transform .25s;
122
125
  }
123
126
 
124
127
  .slide-enter-active {
125
- animation: slider-fade-in 0.25s;
128
+ animation: slider-fade-in .25s;
126
129
  }
127
130
 
128
131
  .slide-leave-active {
129
- animation: slider-fade-in 0.25s reverse;
132
+ animation: slider-fade-in .25s reverse;
130
133
  }
131
134
 
132
135
  .slide-enter-from,
133
136
  .slide-leave-to {
134
137
  &.left {
135
138
  transform: translateX(-100%);
136
- transition: transform 0.25s;
139
+ transition: transform .25s;
137
140
  }
138
141
 
139
142
  &.right {
140
143
  transform: translateX(100%);
141
- transition: transform 0.25s;
144
+ transition: transform .25s;
142
145
  }
143
146
  }
144
147
 
@@ -151,3 +154,6 @@
151
154
  opacity: 1;
152
155
  }
153
156
  }
157
+
158
+
159
+
@@ -208,6 +208,11 @@
208
208
  width: 100%;
209
209
  padding: 0 0 0 46px;
210
210
  }
211
+ .bk-sideslider-content {
212
+ padding-right: 24px;
213
+ padding-left: 24px;
214
+ overflow-y: scroll;
215
+ }
211
216
  .bk-sideslider-footer {
212
217
  display: flex;
213
218
  width: 100%;
@@ -187,7 +187,6 @@ declare const Slider: {
187
187
  range: boolean;
188
188
  step: number;
189
189
  showInput: boolean;
190
- customContent: Record<string, any>;
191
190
  disable: boolean;
192
191
  showTip: boolean;
193
192
  maxValue: number;
@@ -196,6 +195,7 @@ declare const Slider: {
196
195
  showIntervalLabel: boolean;
197
196
  showButtonLabel: boolean;
198
197
  showBetweenLabel: boolean;
198
+ customContent: Record<string, any>;
199
199
  formatterLabel: Function;
200
200
  formatterButtonLabel: Function;
201
201
  formatterTipLabel: Function;
@@ -292,7 +292,6 @@ declare const Slider: {
292
292
  range: boolean;
293
293
  step: number;
294
294
  showInput: boolean;
295
- customContent: Record<string, any>;
296
295
  disable: boolean;
297
296
  showTip: boolean;
298
297
  maxValue: number;
@@ -301,6 +300,7 @@ declare const Slider: {
301
300
  showIntervalLabel: boolean;
302
301
  showButtonLabel: boolean;
303
302
  showBetweenLabel: boolean;
303
+ customContent: Record<string, any>;
304
304
  formatterLabel: Function;
305
305
  formatterButtonLabel: Function;
306
306
  formatterTipLabel: Function;
@@ -394,7 +394,6 @@ declare const Slider: {
394
394
  range: boolean;
395
395
  step: number;
396
396
  showInput: boolean;
397
- customContent: Record<string, any>;
398
397
  disable: boolean;
399
398
  showTip: boolean;
400
399
  maxValue: number;
@@ -403,6 +402,7 @@ declare const Slider: {
403
402
  showIntervalLabel: boolean;
404
403
  showButtonLabel: boolean;
405
404
  showBetweenLabel: boolean;
405
+ customContent: Record<string, any>;
406
406
  formatterLabel: Function;
407
407
  formatterButtonLabel: Function;
408
408
  formatterTipLabel: Function;
@@ -122,7 +122,7 @@ function _regeneratorRuntime() {
122
122
  function makeInvokeMethod(e, r, n) {
123
123
  var o = h;
124
124
  return function (i, a) {
125
- if (o === f) throw new Error("Generator is already running");
125
+ if (o === f) throw Error("Generator is already running");
126
126
  if (o === s) {
127
127
  if ("throw" === i) throw a;
128
128
  return {
@@ -264,7 +264,7 @@ function _regeneratorRuntime() {
264
264
  } else if (c) {
265
265
  if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
266
266
  } else {
267
- if (!u) throw new Error("try statement without catch or finally");
267
+ if (!u) throw Error("try statement without catch or finally");
268
268
  if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
269
269
  }
270
270
  }
@@ -304,7 +304,7 @@ function _regeneratorRuntime() {
304
304
  return o;
305
305
  }
306
306
  }
307
- throw new Error("illegal catch attempt");
307
+ throw Error("illegal catch attempt");
308
308
  },
309
309
  delegateYield: function delegateYield(e, r, n) {
310
310
  return this.delegate = {
@@ -517,8 +517,7 @@ const popover_less_namespaceObject = popover_less_x({ });
517
517
 
518
518
 
519
519
 
520
-
521
- /* harmony default export */ const slider_button = ((0,external_vue_namespaceObject.defineComponent)({
520
+ /* harmony default export */ const slider_button = (defineComponent({
522
521
  name: 'SliderButton',
523
522
  props: {
524
523
  modelValue: {
@@ -535,18 +534,18 @@ const popover_less_namespaceObject = popover_less_x({ });
535
534
  emits: ['emitChange', 'resetSize', 'update:modelValue'],
536
535
  setup: function setup(props, _ref) {
537
536
  var emit = _ref.emit;
538
- var dragging = (0,external_vue_namespaceObject.ref)(false);
539
- var isClick = (0,external_vue_namespaceObject.ref)(false);
540
- var startY = (0,external_vue_namespaceObject.ref)(0);
541
- var startX = (0,external_vue_namespaceObject.ref)(0);
542
- var startPosition = (0,external_vue_namespaceObject.ref)(0);
543
- var newPosition = (0,external_vue_namespaceObject.ref)(null);
544
- var oldValue = (0,external_vue_namespaceObject.ref)(props.modelValue);
545
- var currentY = (0,external_vue_namespaceObject.ref)(0);
546
- var currentX = (0,external_vue_namespaceObject.ref)(0);
547
- var isMove = (0,external_vue_namespaceObject.ref)(false);
548
- var button = (0,external_vue_namespaceObject.ref)(null);
549
- var tip = (0,external_vue_namespaceObject.computed)(function () {
537
+ var dragging = ref(false);
538
+ var isClick = ref(false);
539
+ var startY = ref(0);
540
+ var startX = ref(0);
541
+ var startPosition = ref(0);
542
+ var newPosition = ref(null);
543
+ var oldValue = ref(props.modelValue);
544
+ var currentY = ref(0);
545
+ var currentX = ref(0);
546
+ var isMove = ref(false);
547
+ var button = ref(null);
548
+ var tip = computed(function () {
550
549
  var _props$params$customC, _props$params;
551
550
  var tip = '';
552
551
  if ((_props$params$customC = props.params.customContent) !== null && _props$params$customC !== void 0 && _props$params$customC[props.modelValue]) {
@@ -565,17 +564,17 @@ const popover_less_namespaceObject = popover_less_x({ });
565
564
  placement: placement
566
565
  };
567
566
  });
568
- var currentPosition = (0,external_vue_namespaceObject.computed)(function () {
567
+ var currentPosition = computed(function () {
569
568
  return "".concat((props.modelValue - props.params.minValue) / (props.params.maxValue - props.params.minValue) * 100, "%");
570
569
  });
571
- var wrapperStyle = (0,external_vue_namespaceObject.computed)(function () {
570
+ var wrapperStyle = computed(function () {
572
571
  return props.params.vertical ? {
573
572
  bottom: currentPosition.value
574
573
  } : {
575
574
  left: currentPosition.value
576
575
  };
577
576
  });
578
- var buttonLabel = (0,external_vue_namespaceObject.computed)(function () {
577
+ var buttonLabel = computed(function () {
579
578
  return props.params.formatterButtonLabel(props.modelValue);
580
579
  });
581
580
  var onButtonDown = function onButtonDown(event) {
@@ -185,7 +185,6 @@ declare const _default: import("vue").DefineComponent<{
185
185
  range: boolean;
186
186
  step: number;
187
187
  showInput: boolean;
188
- customContent: Record<string, any>;
189
188
  disable: boolean;
190
189
  showTip: boolean;
191
190
  maxValue: number;
@@ -194,6 +193,7 @@ declare const _default: import("vue").DefineComponent<{
194
193
  showIntervalLabel: boolean;
195
194
  showButtonLabel: boolean;
196
195
  showBetweenLabel: boolean;
196
+ customContent: Record<string, any>;
197
197
  formatterLabel: Function;
198
198
  formatterButtonLabel: Function;
199
199
  formatterTipLabel: Function;
@@ -93,9 +93,9 @@ declare const BkSteps: {
93
93
  direction: "horizontal" | "vertical";
94
94
  lineType: "dashed" | "solid";
95
95
  beforeChange: (...args: any[]) => any;
96
- controllable: boolean;
97
96
  status: "" | "error" | "loading";
98
97
  curStep: number;
98
+ controllable: boolean;
99
99
  }, true, {}, {}, {
100
100
  P: {};
101
101
  B: {};
@@ -156,9 +156,9 @@ declare const BkSteps: {
156
156
  direction: "horizontal" | "vertical";
157
157
  lineType: "dashed" | "solid";
158
158
  beforeChange: (...args: any[]) => any;
159
- controllable: boolean;
160
159
  status: "" | "error" | "loading";
161
160
  curStep: number;
161
+ controllable: boolean;
162
162
  }>;
163
163
  __isFragment?: never;
164
164
  __isTeleport?: never;
@@ -216,8 +216,8 @@ declare const BkSteps: {
216
216
  direction: "horizontal" | "vertical";
217
217
  lineType: "dashed" | "solid";
218
218
  beforeChange: (...args: any[]) => any;
219
- controllable: boolean;
220
219
  status: "" | "error" | "loading";
221
220
  curStep: number;
221
+ controllable: boolean;
222
222
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
223
223
  export default BkSteps;
@@ -120,7 +120,7 @@ function _regeneratorRuntime() {
120
120
  function makeInvokeMethod(e, r, n) {
121
121
  var o = h;
122
122
  return function (i, a) {
123
- if (o === f) throw new Error("Generator is already running");
123
+ if (o === f) throw Error("Generator is already running");
124
124
  if (o === s) {
125
125
  if ("throw" === i) throw a;
126
126
  return {
@@ -262,7 +262,7 @@ function _regeneratorRuntime() {
262
262
  } else if (c) {
263
263
  if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
264
264
  } else {
265
- if (!u) throw new Error("try statement without catch or finally");
265
+ if (!u) throw Error("try statement without catch or finally");
266
266
  if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
267
267
  }
268
268
  }
@@ -302,7 +302,7 @@ function _regeneratorRuntime() {
302
302
  return o;
303
303
  }
304
304
  }
305
- throw new Error("illegal catch attempt");
305
+ throw Error("illegal catch attempt");
306
306
  },
307
307
  delegateYield: function delegateYield(e, r, n) {
308
308
  return this.delegate = {
@@ -452,7 +452,7 @@ function toPrimitive(t, r) {
452
452
 
453
453
  function toPropertyKey(t) {
454
454
  var i = toPrimitive(t, "string");
455
- return "symbol" == _typeof(i) ? i : String(i);
455
+ return "symbol" == _typeof(i) ? i : i + "";
456
456
  }
457
457
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
458
458
 
@@ -155,8 +155,8 @@ declare const _default: import("vue").DefineComponent<{
155
155
  direction: "horizontal" | "vertical";
156
156
  lineType: "dashed" | "solid";
157
157
  beforeChange: (...args: any[]) => any;
158
- controllable: boolean;
159
158
  status: "" | "error" | "loading";
160
159
  curStep: number;
160
+ controllable: boolean;
161
161
  }, {}>;
162
162
  export default _default;
@@ -63,7 +63,7 @@ function toPrimitive(t, r) {
63
63
 
64
64
  function toPropertyKey(t) {
65
65
  var i = toPrimitive(t, "string");
66
- return "symbol" == _typeof(i) ? i : String(i);
66
+ return "symbol" == _typeof(i) ? i : i + "";
67
67
  }
68
68
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
69
69
 
@@ -64,7 +64,7 @@ function toPrimitive(t, r) {
64
64
 
65
65
  function toPropertyKey(t) {
66
66
  var i = toPrimitive(t, "string");
67
- return "symbol" == _typeof(i) ? i : String(i);
67
+ return "symbol" == _typeof(i) ? i : i + "";
68
68
  }
69
69
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
70
70