bkui-vue 2.0.1-beta.12 → 2.0.1-beta.13

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 (193) hide show
  1. package/dist/index.cjs.js +165 -165
  2. package/dist/index.esm.js +31258 -31263
  3. package/dist/index.umd.js +165 -165
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.js +7 -7
  7. package/lib/alert/alert.d.ts +5 -5
  8. package/lib/alert/index.d.ts +11 -11
  9. package/lib/backtop/backtop.d.ts +1 -1
  10. package/lib/backtop/index.d.ts +3 -3
  11. package/lib/backtop/index.js +6 -6
  12. package/lib/badge/index.js +1 -1
  13. package/lib/button/button.d.ts +7 -7
  14. package/lib/button/index.d.ts +8 -8
  15. package/lib/button/index.js +6 -6
  16. package/lib/cascader/cascader-panel.d.ts +1 -1
  17. package/lib/cascader/cascader.d.ts +1 -1
  18. package/lib/cascader/index.js +31 -32
  19. package/lib/cascader/interface.d.ts +1 -1
  20. package/lib/checkbox/index.js +3 -3
  21. package/lib/checkbox/type.d.ts +1 -1
  22. package/lib/code-diff/index.js +8 -8
  23. package/lib/collapse/index.js +2 -2
  24. package/lib/collapse/utils.d.ts +2 -2
  25. package/lib/color-picker/index.js +44 -44
  26. package/lib/components.d.ts +32 -32
  27. package/lib/components.js +31 -31
  28. package/lib/config-provider/index.d.ts +1 -1
  29. package/lib/container/index.js +6 -6
  30. package/lib/date-picker/base/date-table.d.ts +1 -1
  31. package/lib/date-picker/base/month-table.d.ts +1 -1
  32. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  33. package/lib/date-picker/base/year-table.d.ts +1 -1
  34. package/lib/date-picker/index.js +189 -188
  35. package/lib/date-picker/interface.d.ts +9 -9
  36. package/lib/date-picker/panel/date-range.d.ts +1 -1
  37. package/lib/date-picker/panel/date.d.ts +1 -1
  38. package/lib/date-picker/panel/time-range.d.ts +1 -1
  39. package/lib/date-picker/panel/time.d.ts +1 -1
  40. package/lib/date-picker/props.d.ts +1 -1
  41. package/lib/date-picker/utils.d.ts +1 -1
  42. package/lib/dialog/dialog.d.ts +18 -18
  43. package/lib/dialog/index.d.ts +40 -40
  44. package/lib/dialog/index.js +22 -22
  45. package/lib/dialog/props.d.ts +7 -7
  46. package/lib/directives/index.d.ts +3 -3
  47. package/lib/directives/index.js +166 -166
  48. package/lib/directives/tooltips.d.ts +1 -1
  49. package/lib/dist.index.js +3 -2
  50. package/lib/divider/divider.d.ts +5 -5
  51. package/lib/divider/index.d.ts +11 -11
  52. package/lib/divider/index.js +2 -2
  53. package/lib/divider/props.d.ts +2 -2
  54. package/lib/dropdown/dropdown.d.ts +5 -5
  55. package/lib/dropdown/index.d.ts +11 -11
  56. package/lib/dropdown/index.js +7 -7
  57. package/lib/exception/exception.d.ts +9 -9
  58. package/lib/exception/index.d.ts +11 -11
  59. package/lib/exception/index.js +10 -10
  60. package/lib/exception/typings/index.d.ts +1 -1
  61. package/lib/fixed-navbar/index.js +2 -2
  62. package/lib/form/form.d.ts +2 -2
  63. package/lib/form/index.js +14 -14
  64. package/lib/form/type.d.ts +2 -2
  65. package/lib/icon/index.d.ts +11 -11
  66. package/lib/icon/index.js +11 -11
  67. package/lib/image/image-viewer.d.ts +1 -1
  68. package/lib/image/index.js +20 -20
  69. package/lib/index.d.ts +4 -3
  70. package/lib/index.js +4 -4
  71. package/lib/info-box/index.js +13 -13
  72. package/lib/info-box/info-box.d.ts +15 -15
  73. package/lib/input/index.d.ts +15 -15
  74. package/lib/input/index.js +16 -16
  75. package/lib/input/input.d.ts +15 -15
  76. package/lib/link/index.d.ts +11 -11
  77. package/lib/link/index.js +3 -3
  78. package/lib/link/link.d.ts +5 -5
  79. package/lib/loading/index.d.ts +4 -4
  80. package/lib/loading/index.js +6 -6
  81. package/lib/loading/loading.d.ts +6 -6
  82. package/lib/locale/index.d.ts +1 -1
  83. package/lib/menu/index.js +0 -1
  84. package/lib/menu/utils.d.ts +3 -3
  85. package/lib/message/index.js +18 -18
  86. package/lib/message/messageConstructor.d.ts +11 -11
  87. package/lib/modal/index.d.ts +3 -3
  88. package/lib/modal/index.js +7 -7
  89. package/lib/modal/modal.d.ts +1 -1
  90. package/lib/navigation/index.js +20 -20
  91. package/lib/navigation/navigation.d.ts +1 -1
  92. package/lib/notify/index.js +4 -4
  93. package/lib/overflow-title/components/overflow-title.d.ts +9 -9
  94. package/lib/overflow-title/index.d.ts +19 -19
  95. package/lib/overflow-title/index.js +61 -11
  96. package/lib/overflow-title/props.d.ts +18 -18
  97. package/lib/pagination/index.js +16 -16
  98. package/lib/pagination/type.d.ts +1 -1
  99. package/lib/pagination/use-limit.d.ts +1 -1
  100. package/lib/pagination/use-total.d.ts +1 -1
  101. package/lib/plugin-popover/index.js +18 -19
  102. package/lib/pop-confirm/index.d.ts +11 -11
  103. package/lib/pop-confirm/index.js +9 -9
  104. package/lib/pop-confirm/pop-confirm.d.ts +5 -5
  105. package/lib/pop-confirm/props.d.ts +4 -4
  106. package/lib/popover/const.d.ts +3 -3
  107. package/lib/popover/index.d.ts +19 -19
  108. package/lib/popover/index.js +18 -19
  109. package/lib/popover/plugin-popover.d.ts +1 -1
  110. package/lib/popover/popover.d.ts +7 -7
  111. package/lib/popover/props.d.ts +4 -4
  112. package/lib/preset.d.ts +0 -1
  113. package/lib/preset.js +0 -1
  114. package/lib/process/index.js +3 -3
  115. package/lib/progress/index.d.ts +11 -11
  116. package/lib/progress/index.js +10 -10
  117. package/lib/progress/progress.d.ts +7 -7
  118. package/lib/radio/index.js +10 -10
  119. package/lib/radio/type.d.ts +1 -1
  120. package/lib/rate/index.js +8 -8
  121. package/lib/resize-layout/index.d.ts +11 -11
  122. package/lib/resize-layout/index.js +7 -8
  123. package/lib/resize-layout/resize-layout.d.ts +5 -5
  124. package/lib/scrollbar/index.js +0 -1
  125. package/lib/scrollbar/scrollbar-core/index.d.ts +9 -9
  126. package/lib/search-select/index.js +66 -66
  127. package/lib/search-select/menu.d.ts +1 -1
  128. package/lib/search-select/selected.d.ts +1 -1
  129. package/lib/search-select/utils.d.ts +3 -3
  130. package/lib/select/index.d.ts +61 -61
  131. package/lib/select/index.js +69 -73
  132. package/lib/select/option.d.ts +1 -1
  133. package/lib/select/select.d.ts +24 -24
  134. package/lib/select/selectTagInput.d.ts +6 -6
  135. package/lib/select/type.d.ts +2 -2
  136. package/lib/shared/index.d.ts +1 -1
  137. package/lib/shared/index.js +38 -46
  138. package/lib/shared/popover.d.ts +3 -3
  139. package/lib/shared/token.d.ts +1 -1
  140. package/lib/shared/vue-types.d.ts +46 -46
  141. package/lib/shared/z-index-manager.d.ts +6 -6
  142. package/lib/sideslider/index.d.ts +3 -3
  143. package/lib/sideslider/index.js +11 -11
  144. package/lib/sideslider/sideslider.d.ts +1 -1
  145. package/lib/slider/index.js +21 -23
  146. package/lib/steps/index.d.ts +11 -11
  147. package/lib/steps/index.js +3 -3
  148. package/lib/steps/steps.d.ts +7 -7
  149. package/lib/swiper/index.js +5 -5
  150. package/lib/switcher/index.js +2 -2
  151. package/lib/switcher/switcher.d.ts +2 -2
  152. package/lib/tab/index.d.ts +22 -22
  153. package/lib/tab/index.js +15 -15
  154. package/lib/tab/props.d.ts +15 -15
  155. package/lib/tab/tab-nav.d.ts +10 -10
  156. package/lib/tab/tab.d.ts +10 -10
  157. package/lib/table/components/table-column.d.ts +27 -87
  158. package/lib/table/const.d.ts +8 -8
  159. package/lib/table/events.d.ts +21 -21
  160. package/lib/table/index.d.ts +194 -244
  161. package/lib/table/index.js +124 -127
  162. package/lib/table/props.d.ts +33 -33
  163. package/lib/table/table.d.ts +47 -47
  164. package/lib/table/use-attributes.d.ts +3 -3
  165. package/lib/table/use-column.d.ts +9 -129
  166. package/lib/table/use-common.d.ts +4 -4
  167. package/lib/table/utils.d.ts +5 -5
  168. package/lib/table-column/index.d.ts +42 -172
  169. package/lib/table-column/index.js +18 -18
  170. package/lib/tag/index.d.ts +11 -11
  171. package/lib/tag/index.js +2 -2
  172. package/lib/tag/tag.d.ts +5 -5
  173. package/lib/tag-input/common.d.ts +1 -1
  174. package/lib/tag-input/index.d.ts +8 -8
  175. package/lib/tag-input/index.js +30 -30
  176. package/lib/tag-input/tag-input.d.ts +4 -4
  177. package/lib/tag-input/tag-props.d.ts +2 -2
  178. package/lib/timeline/index.js +2 -2
  179. package/lib/transfer/const.d.ts +2 -2
  180. package/lib/transfer/index.js +3 -5
  181. package/lib/tree/constant.d.ts +20 -20
  182. package/lib/tree/index.d.ts +20 -20
  183. package/lib/tree/index.js +36 -36
  184. package/lib/tree/props.d.ts +6 -6
  185. package/lib/tree/tree.d.ts +6 -6
  186. package/lib/tree/use-empty.d.ts +1 -1
  187. package/lib/tree/use-node-action.d.ts +2 -2
  188. package/lib/tree/use-search.d.ts +1 -1
  189. package/lib/upload/index.js +25 -26
  190. package/lib/upload/props.d.ts +1 -1
  191. package/lib/upload/upload.type.d.ts +6 -6
  192. package/lib/upload/use-file-handler.d.ts +1 -1
  193. package/package.json +17 -55
@@ -235,7 +235,6 @@ function _typeof(o) {
235
235
  * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
236
236
  * IN THE SOFTWARE.
237
237
  */
238
- /* eslint-disable no-underscore-dangle */
239
238
  /**
240
239
  * Returns true if `value` is neither null nor undefined, else returns false.
241
240
  * @param {*} value - The value to test.
@@ -361,10 +360,8 @@ function mergerFn(key, target, source, options) {
361
360
  var tval = target[key];
362
361
  var sval = source[key];
363
362
  if (isObject(tval) && isObject(sval)) {
364
- // eslint-disable-next-line no-use-before-define
365
363
  merge(tval, sval, options);
366
364
  } else {
367
- // eslint-disable-next-line no-param-reassign
368
365
  target[key] = clone(sval);
369
366
  }
370
367
  }
@@ -383,11 +380,9 @@ function merge(target, source, options) {
383
380
  if (!isObject(target)) {
384
381
  return target;
385
382
  }
386
- // eslint-disable-next-line no-param-reassign
387
383
  options = options || {};
388
384
  var merger = options.merger || mergerFn;
389
385
  for (var i = 0; i < ilen; ++i) {
390
- // eslint-disable-next-line no-param-reassign
391
386
  source = sources[i];
392
387
  if (!isObject(source)) {
393
388
  continue;
@@ -407,7 +402,6 @@ function merge(target, source, options) {
407
402
  * @returns {object} The `target` object.
408
403
  */
409
404
  function mergeIf(target, source) {
410
- // eslint-disable-next-line no-use-before-define
411
405
  return merge(target, source, {
412
406
  merger: mergerIfFn
413
407
  });
@@ -425,7 +419,6 @@ function mergerIfFn(key, target, source) {
425
419
  if (isObject(tval) && isObject(sval)) {
426
420
  mergeIf(tval, sval);
427
421
  } else if (!Object.prototype.hasOwnProperty.call(target, key)) {
428
- // eslint-disable-next-line no-param-reassign
429
422
  target[key] = clone(sval);
430
423
  }
431
424
  }
@@ -664,6 +657,10 @@ function _defineProperty(obj, key, value) {
664
657
  }
665
658
  return obj;
666
659
  }
660
+ ;// CONCATENATED MODULE: external "@popperjs/core"
661
+ var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
662
+ var core_y = x => () => x
663
+ const core_namespaceObject = core_x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
667
664
  ;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/native.js
668
665
  const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
669
666
  /* harmony default export */ const esm_browser_native = ({
@@ -752,10 +749,6 @@ function v4(options, buf, offset) {
752
749
  }
753
750
 
754
751
  /* harmony default export */ const esm_browser_v4 = (v4);
755
- ;// CONCATENATED MODULE: external "@popperjs/core"
756
- var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
757
- var core_y = x => () => x
758
- const core_namespaceObject = core_x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
759
752
  ;// CONCATENATED MODULE: ../../packages/shared/src/popover.ts
760
753
 
761
754
 
@@ -1460,16 +1453,16 @@ function stringEnum(o) {
1460
1453
  }
1461
1454
  var SizeEnum;
1462
1455
  (function (SizeEnum) {
1463
- SizeEnum["SMALL"] = "small";
1464
- SizeEnum["LARGE"] = "large";
1465
1456
  SizeEnum["DEFAULT"] = "default";
1457
+ SizeEnum["LARGE"] = "large";
1458
+ SizeEnum["SMALL"] = "small";
1466
1459
  })(SizeEnum || (SizeEnum = {}));
1467
1460
  var Placements;
1468
1461
  (function (Placements) {
1469
- Placements["Top"] = "top";
1462
+ Placements["Bottom"] = "bottom";
1470
1463
  Placements["Left"] = "left";
1471
1464
  Placements["Right"] = "right";
1472
- Placements["Bottom"] = "bottom";
1465
+ Placements["Top"] = "top";
1473
1466
  })(Placements || (Placements = {}));
1474
1467
  var RenderDirectiveEnum;
1475
1468
  (function (RenderDirectiveEnum) {
@@ -1481,8 +1474,8 @@ function renderDirectiveType() {
1481
1474
  }
1482
1475
  var AlignEnum;
1483
1476
  (function (AlignEnum) {
1484
- AlignEnum["LEFT"] = "left";
1485
1477
  AlignEnum["CENTER"] = "center";
1478
+ AlignEnum["LEFT"] = "left";
1486
1479
  AlignEnum["RIGHT"] = "right";
1487
1480
  })(AlignEnum || (AlignEnum = {}));
1488
1481
  function alignType() {
@@ -1490,29 +1483,29 @@ function alignType() {
1490
1483
  }
1491
1484
  var ThemeEnum;
1492
1485
  (function (ThemeEnum) {
1486
+ ThemeEnum["DANGER"] = "danger";
1493
1487
  ThemeEnum["PRIMARY"] = "primary";
1494
- ThemeEnum["WARNING"] = "warning";
1495
1488
  ThemeEnum["SUCCESS"] = "success";
1496
- ThemeEnum["DANGER"] = "danger";
1489
+ ThemeEnum["WARNING"] = "warning";
1497
1490
  })(ThemeEnum || (ThemeEnum = {}));
1498
1491
  /** 弹层出现位置选项 */
1499
1492
  var PlacementEnum;
1500
1493
  (function (PlacementEnum) {
1501
1494
  PlacementEnum["AUTO"] = "auto";
1502
- PlacementEnum["AUTO_START"] = "auto-start";
1503
1495
  PlacementEnum["AUTO_END"] = "auto-end";
1504
- PlacementEnum["TOP"] = "top";
1505
- PlacementEnum["RIGHT"] = "right";
1496
+ PlacementEnum["AUTO_START"] = "auto-start";
1506
1497
  PlacementEnum["BOTTOM"] = "bottom";
1507
- PlacementEnum["LEFT"] = "left";
1508
- PlacementEnum["TOP_START"] = "top-start";
1509
- PlacementEnum["TOP_END"] = "top-end";
1510
- PlacementEnum["BOTTOM_START"] = "bottom-start";
1511
1498
  PlacementEnum["BOTTOM_END"] = "bottom-end";
1512
- PlacementEnum["RIGHT_START"] = "right-start";
1513
- PlacementEnum["RIGHT_END"] = "right-end";
1514
- PlacementEnum["LEFT_START"] = "left-start";
1499
+ PlacementEnum["BOTTOM_START"] = "bottom-start";
1500
+ PlacementEnum["LEFT"] = "left";
1515
1501
  PlacementEnum["LEFT_END"] = "left-end";
1502
+ PlacementEnum["LEFT_START"] = "left-start";
1503
+ PlacementEnum["RIGHT"] = "right";
1504
+ PlacementEnum["RIGHT_END"] = "right-end";
1505
+ PlacementEnum["RIGHT_START"] = "right-start";
1506
+ PlacementEnum["TOP"] = "top";
1507
+ PlacementEnum["TOP_END"] = "top-end";
1508
+ PlacementEnum["TOP_START"] = "top-start";
1516
1509
  })(PlacementEnum || (PlacementEnum = {}));
1517
1510
  function placementType() {
1518
1511
  return (0,external_vue_types_namespaceObject.string)().def(PlacementEnum.BOTTOM);
@@ -1520,8 +1513,8 @@ function placementType() {
1520
1513
  /** 弹层触发选项 */
1521
1514
  var TriggerEnum;
1522
1515
  (function (TriggerEnum) {
1523
- TriggerEnum["HOVER"] = "hover";
1524
1516
  TriggerEnum["CLICK"] = "click";
1517
+ TriggerEnum["HOVER"] = "hover";
1525
1518
  TriggerEnum["MANUAL"] = "manual";
1526
1519
  })(TriggerEnum || (TriggerEnum = {}));
1527
1520
  function triggerType() {
@@ -1538,10 +1531,10 @@ function renderType() {
1538
1531
  }
1539
1532
  var DialogTypeEnum;
1540
1533
  (function (DialogTypeEnum) {
1541
- DialogTypeEnum["SHOW"] = "show";
1542
- DialogTypeEnum["OPERATION"] = "operation";
1543
1534
  DialogTypeEnum["CONFIRM"] = "confirm";
1535
+ DialogTypeEnum["OPERATION"] = "operation";
1544
1536
  DialogTypeEnum["PROCESS"] = "process";
1537
+ DialogTypeEnum["SHOW"] = "show";
1545
1538
  })(DialogTypeEnum || (DialogTypeEnum = {}));
1546
1539
  function dialogTypeUnion() {
1547
1540
  return (0,external_vue_types_namespaceObject.toType)('dialogType', {
@@ -1566,36 +1559,36 @@ function lineStyleType() {
1566
1559
  }
1567
1560
  var TagThemeEnum;
1568
1561
  (function (TagThemeEnum) {
1569
- TagThemeEnum["UNKNOWN"] = "";
1570
- TagThemeEnum["SUCCESS"] = "success";
1562
+ TagThemeEnum["DANGER"] = "danger";
1571
1563
  TagThemeEnum["INFO"] = "info";
1564
+ TagThemeEnum["SUCCESS"] = "success";
1565
+ TagThemeEnum["UNKNOWN"] = "";
1572
1566
  TagThemeEnum["WARNING"] = "warning";
1573
- TagThemeEnum["DANGER"] = "danger";
1574
1567
  })(TagThemeEnum || (TagThemeEnum = {}));
1575
1568
  function TagThemeType() {
1576
1569
  return (0,external_vue_types_namespaceObject.toType)('tagTheme', {}).def();
1577
1570
  }
1578
1571
  var InputBehaviorEnum;
1579
1572
  (function (InputBehaviorEnum) {
1580
- InputBehaviorEnum["SIMPLICITY"] = "simplicity";
1581
1573
  InputBehaviorEnum["NORMAL"] = "normal";
1574
+ InputBehaviorEnum["SIMPLICITY"] = "simplicity";
1582
1575
  })(InputBehaviorEnum || (InputBehaviorEnum = {}));
1583
1576
  var ProgressStrokeLineCapEnum;
1584
1577
  (function (ProgressStrokeLineCapEnum) {
1585
1578
  ProgressStrokeLineCapEnum["BUTT"] = "butt";
1586
- ProgressStrokeLineCapEnum["SQUARE"] = "square";
1587
1579
  ProgressStrokeLineCapEnum["ROUNDE"] = "round";
1580
+ ProgressStrokeLineCapEnum["SQUARE"] = "square";
1588
1581
  })(ProgressStrokeLineCapEnum || (ProgressStrokeLineCapEnum = {}));
1589
1582
  var ProgressEnum;
1590
1583
  (function (ProgressEnum) {
1591
- ProgressEnum["LINE"] = "line";
1592
1584
  ProgressEnum["CIRCLE"] = "circle";
1593
1585
  ProgressEnum["DASHBOARD"] = "dashboard";
1586
+ ProgressEnum["LINE"] = "line";
1594
1587
  })(ProgressEnum || (ProgressEnum = {}));
1595
1588
  var SwitcherThemeEnum;
1596
1589
  (function (SwitcherThemeEnum) {
1597
- SwitcherThemeEnum["SUCCESS"] = "success";
1598
1590
  SwitcherThemeEnum["PRIMARY"] = "primary";
1591
+ SwitcherThemeEnum["SUCCESS"] = "success";
1599
1592
  })(SwitcherThemeEnum || (SwitcherThemeEnum = {}));
1600
1593
  var TimelineNodeTypeEnum;
1601
1594
  (function (TimelineNodeTypeEnum) {
@@ -1717,8 +1710,8 @@ var PropTypes = /*#__PURE__*/function (_propTypesNS) {
1717
1710
  }(propTypesNS);
1718
1711
  var SelectedTypeEnum;
1719
1712
  (function (SelectedTypeEnum) {
1720
- SelectedTypeEnum["CHECKBOX"] = "checkbox";
1721
1713
  SelectedTypeEnum["CHECK"] = "check";
1714
+ SelectedTypeEnum["CHECKBOX"] = "checkbox";
1722
1715
  })(SelectedTypeEnum || (SelectedTypeEnum = {}));
1723
1716
  function SelectedType() {
1724
1717
  return (0,external_vue_types_namespaceObject.toType)('selectedStyle', {}).def(SelectedTypeEnum.CHECK);
@@ -1761,16 +1754,16 @@ var BKLAYERTYPE;
1761
1754
  BKLAYERTYPE["BOTTOM"] = "bottom";
1762
1755
  /** 页面呈现的各类内容 */
1763
1756
  BKLAYERTYPE["CONTENT"] = "content";
1764
- /** 顶部导航、侧边导航以及用户信息等 */
1765
- BKLAYERTYPE["NAVI"] = "navi";
1766
1757
  /** 页面需全屏操作的部分功能或编辑器的全屏模式 */
1767
1758
  BKLAYERTYPE["FULLSCREEN"] = "fullScreen";
1768
- /** 各类功能插件 */
1769
- BKLAYERTYPE["PLUGINS"] = "plugins";
1770
- /** 各类弹窗或抽屉(非模态弹窗不考虑) */
1771
- BKLAYERTYPE["MODAL"] = "modal";
1772
1759
  /** 各类消息提示 */
1773
1760
  BKLAYERTYPE["MESSAGE"] = "message";
1761
+ /** 各类弹窗或抽屉(非模态弹窗不考虑) */
1762
+ BKLAYERTYPE["MODAL"] = "modal";
1763
+ /** 顶部导航、侧边导航以及用户信息等 */
1764
+ BKLAYERTYPE["NAVI"] = "navi";
1765
+ /** 各类功能插件 */
1766
+ BKLAYERTYPE["PLUGINS"] = "plugins";
1774
1767
  /** 各类popper提示 */
1775
1768
  BKLAYERTYPE["POPPER"] = "popper";
1776
1769
  })(BKLAYERTYPE || (BKLAYERTYPE = {}));
@@ -1955,7 +1948,6 @@ function debounce() {
1955
1948
  var debounced = function debounced() {
1956
1949
  // eslint-disable-next-line @typescript-eslint/no-this-alias
1957
1950
  var ctx = this; // 当前上下文
1958
- // eslint-disable-next-line prefer-rest-params
1959
1951
  var args = arguments; // fn的参数
1960
1952
  // 取消之前的延时调用
1961
1953
  if (timeout) clearTimeout(timeout);
@@ -10,7 +10,7 @@ export declare type IOptions = {
10
10
  theme?: string;
11
11
  trigger?: string;
12
12
  disabled?: boolean;
13
- appendTo?: string | HTMLElement;
13
+ appendTo?: HTMLElement | string;
14
14
  afterShow?: () => void;
15
15
  afterHidden?: () => void;
16
16
  /**
@@ -18,7 +18,7 @@ export declare type IOptions = {
18
18
  * 是否将弹出内容固定到目标元素位置
19
19
  * 例如:appendTo = document.body, fixOnBoundary = true,则弹出内容会一直固定到body
20
20
  */
21
- fixOnBoundary?: Boolean;
21
+ fixOnBoundary?: boolean;
22
22
  };
23
23
  export declare type IBKPopover = Instance & {
24
24
  show: () => void;
@@ -63,7 +63,7 @@ export declare class BKPopover {
63
63
  * 例如:appendTo = document.body, fixOnBoundary = true,则弹出内容会一直固定到body
64
64
  */
65
65
  private fixOnBoundary;
66
- constructor(reference?: string | HTMLElement, popperRefer?: string | HTMLElement, options?: IOptions);
66
+ constructor(reference?: HTMLElement | string, popperRefer?: HTMLElement | string, options?: IOptions);
67
67
  forceUpdate(): void;
68
68
  update(): void;
69
69
  updateOptions(options: IOptions): void;
@@ -1,4 +1,4 @@
1
- import type { InjectionKey } from 'vue';
2
1
  import { IFormContext, IFormItemContext } from '../form';
2
+ import type { InjectionKey } from 'vue';
3
3
  export declare const formKey: InjectionKey<IFormContext>;
4
4
  export declare const formItemKey: InjectionKey<IFormItemContext>;
@@ -89,7 +89,7 @@ declare const propTypesNS: {
89
89
  toType<T_2_1 = unknown>(name: string, obj: import("vue-types/dist/types").PropOptions<T_2_1, T_2_1>, validable?: boolean): VueTypeDef<T_2_1> | import("vue-types").VueTypeValidableDef<T_2_1>;
90
90
  };
91
91
  };
92
- export type VueNode = VNodeChild | JSX.Element;
92
+ export type VueNode = JSX.Element | VNodeChild;
93
93
  export type ElementType<T extends ReadonlyArray<unknown>> = T extends ReadonlyArray<infer ElementType> ? ElementType : never;
94
94
  export declare function stringEnum<T extends string>(o: Array<T>): {
95
95
  [K in T]: K;
@@ -99,15 +99,15 @@ type LastOf<T> = UnionToIntersection<T extends any ? () => T : never> extends ()
99
99
  type Push<T extends any[], V> = [...T, V];
100
100
  export type UnionToArrayType<T, L = LastOf<T>, N = [T] extends [never] ? true : false> = N extends true ? [] : Push<UnionToArrayType<Exclude<T, L>>, L>;
101
101
  export declare enum SizeEnum {
102
- SMALL = "small",
102
+ DEFAULT = "default",
103
103
  LARGE = "large",
104
- DEFAULT = "default"
104
+ SMALL = "small"
105
105
  }
106
106
  export declare enum Placements {
107
- Top = "top",
107
+ Bottom = "bottom",
108
108
  Left = "left",
109
109
  Right = "right",
110
- Bottom = "bottom"
110
+ Top = "top"
111
111
  }
112
112
  export declare enum RenderDirectiveEnum {
113
113
  IF = "if",
@@ -117,44 +117,44 @@ export declare function renderDirectiveType(): import("vue-types").VueTypeValida
117
117
  default: "show" | "if";
118
118
  };
119
119
  export declare enum AlignEnum {
120
- LEFT = "left",
121
120
  CENTER = "center",
121
+ LEFT = "left",
122
122
  RIGHT = "right"
123
123
  }
124
- export declare function alignType(): import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
125
- default: "right" | "left" | "center";
124
+ export declare function alignType(): import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
125
+ default: "left" | "right" | "center";
126
126
  };
127
127
  export declare enum ThemeEnum {
128
+ DANGER = "danger",
128
129
  PRIMARY = "primary",
129
- WARNING = "warning",
130
130
  SUCCESS = "success",
131
- DANGER = "danger"
131
+ WARNING = "warning"
132
132
  }
133
133
  /** 弹层出现位置选项 */
134
134
  export declare enum PlacementEnum {
135
135
  AUTO = "auto",
136
- AUTO_START = "auto-start",
137
136
  AUTO_END = "auto-end",
138
- TOP = "top",
139
- RIGHT = "right",
137
+ AUTO_START = "auto-start",
140
138
  BOTTOM = "bottom",
141
- LEFT = "left",
142
- TOP_START = "top-start",
143
- TOP_END = "top-end",
144
- BOTTOM_START = "bottom-start",
145
139
  BOTTOM_END = "bottom-end",
146
- RIGHT_START = "right-start",
147
- RIGHT_END = "right-end",
140
+ BOTTOM_START = "bottom-start",
141
+ LEFT = "left",
142
+ LEFT_END = "left-end",
148
143
  LEFT_START = "left-start",
149
- LEFT_END = "left-end"
144
+ RIGHT = "right",
145
+ RIGHT_END = "right-end",
146
+ RIGHT_START = "right-start",
147
+ TOP = "top",
148
+ TOP_END = "top-end",
149
+ TOP_START = "top-start"
150
150
  }
151
- export declare function placementType(): import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
152
- default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
151
+ export declare function placementType(): import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
152
+ default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
153
153
  };
154
154
  /** 弹层触发选项 */
155
155
  export declare enum TriggerEnum {
156
- HOVER = "hover",
157
156
  CLICK = "click",
157
+ HOVER = "hover",
158
158
  MANUAL = "manual"
159
159
  }
160
160
  export declare function triggerType(): import("vue-types").VueTypeValidableDef<"click" | "hover" | "manual"> & {
@@ -169,12 +169,12 @@ export declare function renderType(): VueTypeDef<"auto" | "shown"> & {
169
169
  default: "auto" | "shown";
170
170
  };
171
171
  export declare enum DialogTypeEnum {
172
- SHOW = "show",
173
- OPERATION = "operation",
174
172
  CONFIRM = "confirm",
175
- PROCESS = "process"
173
+ OPERATION = "operation",
174
+ PROCESS = "process",
175
+ SHOW = "show"
176
176
  }
177
- export declare function dialogTypeUnion(): VueTypeDef<"show" | "process" | "operation" | "confirm">;
177
+ export declare function dialogTypeUnion(): VueTypeDef<"show" | "process" | "confirm" | "operation">;
178
178
  export declare enum DirectionEnum {
179
179
  HORIZONTAL = "horizontal",
180
180
  VERTICAL = "vertical"
@@ -190,32 +190,32 @@ export declare function lineStyleType(): VueTypeDef<"dashed" | "solid"> & {
190
190
  default: "dashed" | "solid";
191
191
  };
192
192
  export declare enum TagThemeEnum {
193
- UNKNOWN = "",
194
- SUCCESS = "success",
193
+ DANGER = "danger",
195
194
  INFO = "info",
196
- WARNING = "warning",
197
- DANGER = "danger"
195
+ SUCCESS = "success",
196
+ UNKNOWN = "",
197
+ WARNING = "warning"
198
198
  }
199
- export declare function TagThemeType(): VueTypeDef<"" | "info" | "success" | "warning" | "danger"> & {
200
- default: "" | "info" | "success" | "warning" | "danger";
199
+ export declare function TagThemeType(): VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
200
+ default: "" | "info" | "success" | "danger" | "warning";
201
201
  };
202
202
  export declare enum InputBehaviorEnum {
203
- SIMPLICITY = "simplicity",
204
- NORMAL = "normal"
203
+ NORMAL = "normal",
204
+ SIMPLICITY = "simplicity"
205
205
  }
206
206
  export declare enum ProgressStrokeLineCapEnum {
207
207
  BUTT = "butt",
208
- SQUARE = "square",
209
- ROUNDE = "round"
208
+ ROUNDE = "round",
209
+ SQUARE = "square"
210
210
  }
211
211
  export declare enum ProgressEnum {
212
- LINE = "line",
213
212
  CIRCLE = "circle",
214
- DASHBOARD = "dashboard"
213
+ DASHBOARD = "dashboard",
214
+ LINE = "line"
215
215
  }
216
216
  export declare enum SwitcherThemeEnum {
217
- SUCCESS = "success",
218
- PRIMARY = "primary"
217
+ PRIMARY = "primary",
218
+ SUCCESS = "success"
219
219
  }
220
220
  export declare enum TimelineNodeTypeEnum {
221
221
  TEMPLATE = "template",
@@ -235,16 +235,16 @@ export declare function InputBehaviorType(): VueTypeDef<"normal" | "simplicity">
235
235
  };
236
236
  export declare class PropTypes extends propTypesNS {
237
237
  static size(): VueTypeDef<"default" | "small" | "large" | "huge">;
238
- static theme(): VueTypeDef<"success" | "warning" | "danger" | "primary">;
239
- static placement(): VueTypeDef<"top" | "right" | "bottom" | "left">;
238
+ static theme(): VueTypeDef<"success" | "danger" | "warning" | "primary">;
239
+ static placement(): VueTypeDef<"bottom" | "left" | "right" | "top">;
240
240
  static style(): VueTypeDef<CSSProperties>;
241
241
  static position(positions?: string[]): VueTypeDef<string>;
242
- static infoType(): VueTypeDef<"loading" | "success" | "warning" | "danger">;
242
+ static infoType(): VueTypeDef<"loading" | "success" | "danger" | "warning">;
243
243
  static timelineNodeType(): VueTypeDef<"template" | "vnode">;
244
244
  }
245
245
  export declare enum SelectedTypeEnum {
246
- CHECKBOX = "checkbox",
247
- CHECK = "check"
246
+ CHECK = "check",
247
+ CHECKBOX = "checkbox"
248
248
  }
249
249
  export declare function SelectedType(): VueTypeDef<"checkbox" | "check"> & {
250
250
  default: "checkbox" | "check";
@@ -31,16 +31,16 @@ export declare enum BKLAYERTYPE {
31
31
  BOTTOM = "bottom",
32
32
  /** 页面呈现的各类内容 */
33
33
  CONTENT = "content",
34
- /** 顶部导航、侧边导航以及用户信息等 */
35
- NAVI = "navi",
36
34
  /** 页面需全屏操作的部分功能或编辑器的全屏模式 */
37
35
  FULLSCREEN = "fullScreen",
38
- /** 各类功能插件 */
39
- PLUGINS = "plugins",
40
- /** 各类弹窗或抽屉(非模态弹窗不考虑) */
41
- MODAL = "modal",
42
36
  /** 各类消息提示 */
43
37
  MESSAGE = "message",
38
+ /** 各类弹窗或抽屉(非模态弹窗不考虑) */
39
+ MODAL = "modal",
40
+ /** 顶部导航、侧边导航以及用户信息等 */
41
+ NAVI = "navi",
42
+ /** 各类功能插件 */
43
+ PLUGINS = "plugins",
44
44
  /** 各类popper提示 */
45
45
  POPPER = "popper"
46
46
  }
@@ -142,8 +142,8 @@ declare const BkSideslider: {
142
142
  }, {
143
143
  title: string;
144
144
  extCls: string;
145
- top: string;
146
145
  left: string;
146
+ top: string;
147
147
  isShow: boolean;
148
148
  transfer: string | boolean | HTMLElement;
149
149
  direction: string;
@@ -234,8 +234,8 @@ declare const BkSideslider: {
234
234
  }, () => JSX.Element, {}, {}, {}, {
235
235
  title: string;
236
236
  extCls: string;
237
- top: string;
238
237
  left: string;
238
+ top: string;
239
239
  isShow: boolean;
240
240
  transfer: string | boolean | HTMLElement;
241
241
  direction: string;
@@ -323,8 +323,8 @@ declare const BkSideslider: {
323
323
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hidden" | "shown" | "closed" | "update:isShow" | "animation-end")[], "hidden" | "shown" | "closed" | "update:isShow" | "animation-end", {
324
324
  title: string;
325
325
  extCls: string;
326
- top: string;
327
326
  left: string;
327
+ top: string;
328
328
  isShow: boolean;
329
329
  transfer: string | boolean | HTMLElement;
330
330
  direction: string;
@@ -2,11 +2,11 @@ import "../styles/reset.css";
2
2
  import "./sideslider.less";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
4
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
5
- import * as __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__ from "lodash/cloneDeep";
6
5
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
7
6
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
8
7
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_modal_d1344388__ from "../modal";
9
8
  import "../modal/modal.less";
9
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__ from "lodash/cloneDeep";
10
10
  /******/ var __webpack_modules__ = ({
11
11
 
12
12
  /***/ 7609:
@@ -510,10 +510,6 @@ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBP
510
510
  // EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
511
511
  var regenerator = __webpack_require__(2841);
512
512
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
513
- ;// CONCATENATED MODULE: external "lodash/cloneDeep"
514
- var cloneDeep_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
515
- var cloneDeep_y = x => () => x
516
- const cloneDeep_namespaceObject = cloneDeep_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__["default"] });
517
513
  ;// CONCATENATED MODULE: external "../config-provider"
518
514
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
519
515
  var config_provider_y = x => () => x
@@ -530,6 +526,10 @@ const modal_namespaceObject = modal_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
530
526
  var modal_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
531
527
  var modal_less_y = x => () => x
532
528
  const modal_less_namespaceObject = modal_less_x({ });
529
+ ;// CONCATENATED MODULE: external "lodash/cloneDeep"
530
+ var cloneDeep_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
531
+ var cloneDeep_y = x => () => x
532
+ const cloneDeep_namespaceObject = cloneDeep_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__["default"] });
533
533
  ;// CONCATENATED MODULE: ../../packages/sideslider/src/sideslider.tsx
534
534
 
535
535
 
@@ -672,21 +672,21 @@ sliderProps.width["default"] = '400';
672
672
  inheritAttrs[instance.vnode.scopeId] = '';
673
673
  }
674
674
  return (0,external_vue_namespaceObject.createVNode)(modal_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)(inheritAttrs, {
675
- "class": _defineProperty(_defineProperty({}, resolveClassName('sideslider'), true), "is-position-".concat(props.direction), props.direction),
676
- "isShow": props.isShow,
677
675
  "width": props.width,
678
- "animateType": props.direction,
676
+ "class": _defineProperty(_defineProperty({}, resolveClassName('sideslider'), true), "is-position-".concat(props.direction), props.direction),
679
677
  "extCls": props.extCls,
678
+ "animateType": props.direction,
680
679
  "closeIcon": false,
681
680
  "escClose": props.escClose,
681
+ "isShow": props.isShow,
682
682
  "quickClose": props.quickClose,
683
+ "renderDirective": props.renderDirective,
683
684
  "showMask": props.showMask,
684
685
  "transfer": props.transfer,
685
- "renderDirective": props.renderDirective,
686
686
  "zIndex": props.zIndex,
687
+ "onClose": handleClose,
687
688
  "onHidden": handleHidden,
688
- "onShown": handleShown,
689
- "onClose": handleClose
689
+ "onShown": handleShown
690
690
  }), _isSlot(modelSlot) ? modelSlot : {
691
691
  "default": function _default() {
692
692
  return [modelSlot];
@@ -135,8 +135,8 @@ declare const _default: import("vue").DefineComponent<{
135
135
  }, {
136
136
  title: string;
137
137
  extCls: string;
138
- top: string;
139
138
  left: string;
139
+ top: string;
140
140
  isShow: boolean;
141
141
  transfer: string | boolean | HTMLElement;
142
142
  direction: string;