bkui-vue 2.0.1-beta.10 → 2.0.1-beta.11

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 (191) hide show
  1. package/dist/index.cjs.js +165 -165
  2. package/dist/index.esm.js +28601 -28591
  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 +32 -31
  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 +188 -189
  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 +2 -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 +3 -3
  70. package/lib/index.js +3 -3
  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 +1 -0
  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 +11 -61
  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 +19 -18
  102. package/lib/pop-confirm/index.d.ts +11 -11
  103. package/lib/pop-confirm/index.js +11 -10
  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 +19 -18
  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/process/index.js +3 -3
  113. package/lib/progress/index.d.ts +11 -11
  114. package/lib/progress/index.js +10 -10
  115. package/lib/progress/progress.d.ts +7 -7
  116. package/lib/radio/index.js +10 -10
  117. package/lib/radio/type.d.ts +1 -1
  118. package/lib/rate/index.js +8 -8
  119. package/lib/resize-layout/index.d.ts +11 -11
  120. package/lib/resize-layout/index.js +8 -7
  121. package/lib/resize-layout/resize-layout.d.ts +5 -5
  122. package/lib/scrollbar/index.js +1 -0
  123. package/lib/scrollbar/scrollbar-core/index.d.ts +9 -9
  124. package/lib/search-select/index.js +66 -66
  125. package/lib/search-select/menu.d.ts +1 -1
  126. package/lib/search-select/selected.d.ts +1 -1
  127. package/lib/search-select/utils.d.ts +3 -3
  128. package/lib/select/index.d.ts +61 -61
  129. package/lib/select/index.js +73 -69
  130. package/lib/select/option.d.ts +1 -1
  131. package/lib/select/select.d.ts +24 -24
  132. package/lib/select/selectTagInput.d.ts +6 -6
  133. package/lib/select/type.d.ts +2 -2
  134. package/lib/shared/index.d.ts +1 -1
  135. package/lib/shared/index.js +46 -38
  136. package/lib/shared/popover.d.ts +3 -3
  137. package/lib/shared/token.d.ts +1 -1
  138. package/lib/shared/vue-types.d.ts +46 -46
  139. package/lib/shared/z-index-manager.d.ts +6 -6
  140. package/lib/sideslider/index.d.ts +3 -3
  141. package/lib/sideslider/index.js +11 -11
  142. package/lib/sideslider/sideslider.d.ts +1 -1
  143. package/lib/slider/index.js +23 -21
  144. package/lib/steps/index.d.ts +11 -11
  145. package/lib/steps/index.js +3 -3
  146. package/lib/steps/steps.d.ts +7 -7
  147. package/lib/swiper/index.js +5 -5
  148. package/lib/switcher/index.js +2 -2
  149. package/lib/switcher/switcher.d.ts +2 -2
  150. package/lib/tab/index.d.ts +22 -22
  151. package/lib/tab/index.js +15 -15
  152. package/lib/tab/props.d.ts +15 -15
  153. package/lib/tab/tab-nav.d.ts +10 -10
  154. package/lib/tab/tab.d.ts +10 -10
  155. package/lib/table/components/table-column.d.ts +87 -27
  156. package/lib/table/const.d.ts +8 -8
  157. package/lib/table/events.d.ts +21 -21
  158. package/lib/table/index.d.ts +244 -194
  159. package/lib/table/index.js +127 -124
  160. package/lib/table/props.d.ts +33 -33
  161. package/lib/table/table.d.ts +47 -47
  162. package/lib/table/use-attributes.d.ts +3 -3
  163. package/lib/table/use-column.d.ts +129 -9
  164. package/lib/table/use-common.d.ts +4 -4
  165. package/lib/table/utils.d.ts +5 -5
  166. package/lib/table-column/index.d.ts +172 -42
  167. package/lib/table-column/index.js +18 -18
  168. package/lib/tag/index.d.ts +11 -11
  169. package/lib/tag/index.js +2 -2
  170. package/lib/tag/tag.d.ts +5 -5
  171. package/lib/tag-input/common.d.ts +1 -1
  172. package/lib/tag-input/index.d.ts +8 -8
  173. package/lib/tag-input/index.js +30 -30
  174. package/lib/tag-input/tag-input.d.ts +4 -4
  175. package/lib/tag-input/tag-props.d.ts +2 -2
  176. package/lib/timeline/index.js +2 -2
  177. package/lib/transfer/const.d.ts +2 -2
  178. package/lib/transfer/index.js +5 -3
  179. package/lib/tree/constant.d.ts +20 -20
  180. package/lib/tree/index.d.ts +20 -20
  181. package/lib/tree/index.js +41 -37
  182. package/lib/tree/props.d.ts +6 -6
  183. package/lib/tree/tree.d.ts +8 -14
  184. package/lib/tree/use-empty.d.ts +1 -1
  185. package/lib/tree/use-node-action.d.ts +2 -2
  186. package/lib/tree/use-search.d.ts +1 -1
  187. package/lib/upload/index.js +26 -25
  188. package/lib/upload/props.d.ts +1 -1
  189. package/lib/upload/upload.type.d.ts +6 -6
  190. package/lib/upload/use-file-handler.d.ts +1 -1
  191. package/package.json +49 -13
@@ -235,6 +235,7 @@ 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 */
238
239
  /**
239
240
  * Returns true if `value` is neither null nor undefined, else returns false.
240
241
  * @param {*} value - The value to test.
@@ -360,8 +361,10 @@ function mergerFn(key, target, source, options) {
360
361
  var tval = target[key];
361
362
  var sval = source[key];
362
363
  if (isObject(tval) && isObject(sval)) {
364
+ // eslint-disable-next-line no-use-before-define
363
365
  merge(tval, sval, options);
364
366
  } else {
367
+ // eslint-disable-next-line no-param-reassign
365
368
  target[key] = clone(sval);
366
369
  }
367
370
  }
@@ -380,9 +383,11 @@ function merge(target, source, options) {
380
383
  if (!isObject(target)) {
381
384
  return target;
382
385
  }
386
+ // eslint-disable-next-line no-param-reassign
383
387
  options = options || {};
384
388
  var merger = options.merger || mergerFn;
385
389
  for (var i = 0; i < ilen; ++i) {
390
+ // eslint-disable-next-line no-param-reassign
386
391
  source = sources[i];
387
392
  if (!isObject(source)) {
388
393
  continue;
@@ -402,6 +407,7 @@ function merge(target, source, options) {
402
407
  * @returns {object} The `target` object.
403
408
  */
404
409
  function mergeIf(target, source) {
410
+ // eslint-disable-next-line no-use-before-define
405
411
  return merge(target, source, {
406
412
  merger: mergerIfFn
407
413
  });
@@ -419,6 +425,7 @@ function mergerIfFn(key, target, source) {
419
425
  if (isObject(tval) && isObject(sval)) {
420
426
  mergeIf(tval, sval);
421
427
  } else if (!Object.prototype.hasOwnProperty.call(target, key)) {
428
+ // eslint-disable-next-line no-param-reassign
422
429
  target[key] = clone(sval);
423
430
  }
424
431
  }
@@ -657,10 +664,6 @@ function _defineProperty(obj, key, value) {
657
664
  }
658
665
  return obj;
659
666
  }
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 });
664
667
  ;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/native.js
665
668
  const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
666
669
  /* harmony default export */ const esm_browser_native = ({
@@ -749,6 +752,10 @@ function v4(options, buf, offset) {
749
752
  }
750
753
 
751
754
  /* 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 });
752
759
  ;// CONCATENATED MODULE: ../../packages/shared/src/popover.ts
753
760
 
754
761
 
@@ -1453,16 +1460,16 @@ function stringEnum(o) {
1453
1460
  }
1454
1461
  var SizeEnum;
1455
1462
  (function (SizeEnum) {
1456
- SizeEnum["DEFAULT"] = "default";
1457
- SizeEnum["LARGE"] = "large";
1458
1463
  SizeEnum["SMALL"] = "small";
1464
+ SizeEnum["LARGE"] = "large";
1465
+ SizeEnum["DEFAULT"] = "default";
1459
1466
  })(SizeEnum || (SizeEnum = {}));
1460
1467
  var Placements;
1461
1468
  (function (Placements) {
1462
- Placements["Bottom"] = "bottom";
1469
+ Placements["Top"] = "top";
1463
1470
  Placements["Left"] = "left";
1464
1471
  Placements["Right"] = "right";
1465
- Placements["Top"] = "top";
1472
+ Placements["Bottom"] = "bottom";
1466
1473
  })(Placements || (Placements = {}));
1467
1474
  var RenderDirectiveEnum;
1468
1475
  (function (RenderDirectiveEnum) {
@@ -1474,8 +1481,8 @@ function renderDirectiveType() {
1474
1481
  }
1475
1482
  var AlignEnum;
1476
1483
  (function (AlignEnum) {
1477
- AlignEnum["CENTER"] = "center";
1478
1484
  AlignEnum["LEFT"] = "left";
1485
+ AlignEnum["CENTER"] = "center";
1479
1486
  AlignEnum["RIGHT"] = "right";
1480
1487
  })(AlignEnum || (AlignEnum = {}));
1481
1488
  function alignType() {
@@ -1483,29 +1490,29 @@ function alignType() {
1483
1490
  }
1484
1491
  var ThemeEnum;
1485
1492
  (function (ThemeEnum) {
1486
- ThemeEnum["DANGER"] = "danger";
1487
1493
  ThemeEnum["PRIMARY"] = "primary";
1488
- ThemeEnum["SUCCESS"] = "success";
1489
1494
  ThemeEnum["WARNING"] = "warning";
1495
+ ThemeEnum["SUCCESS"] = "success";
1496
+ ThemeEnum["DANGER"] = "danger";
1490
1497
  })(ThemeEnum || (ThemeEnum = {}));
1491
1498
  /** 弹层出现位置选项 */
1492
1499
  var PlacementEnum;
1493
1500
  (function (PlacementEnum) {
1494
1501
  PlacementEnum["AUTO"] = "auto";
1495
- PlacementEnum["AUTO_END"] = "auto-end";
1496
1502
  PlacementEnum["AUTO_START"] = "auto-start";
1503
+ PlacementEnum["AUTO_END"] = "auto-end";
1504
+ PlacementEnum["TOP"] = "top";
1505
+ PlacementEnum["RIGHT"] = "right";
1497
1506
  PlacementEnum["BOTTOM"] = "bottom";
1498
- PlacementEnum["BOTTOM_END"] = "bottom-end";
1499
- PlacementEnum["BOTTOM_START"] = "bottom-start";
1500
1507
  PlacementEnum["LEFT"] = "left";
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
1508
  PlacementEnum["TOP_START"] = "top-start";
1509
+ PlacementEnum["TOP_END"] = "top-end";
1510
+ PlacementEnum["BOTTOM_START"] = "bottom-start";
1511
+ PlacementEnum["BOTTOM_END"] = "bottom-end";
1512
+ PlacementEnum["RIGHT_START"] = "right-start";
1513
+ PlacementEnum["RIGHT_END"] = "right-end";
1514
+ PlacementEnum["LEFT_START"] = "left-start";
1515
+ PlacementEnum["LEFT_END"] = "left-end";
1509
1516
  })(PlacementEnum || (PlacementEnum = {}));
1510
1517
  function placementType() {
1511
1518
  return (0,external_vue_types_namespaceObject.string)().def(PlacementEnum.BOTTOM);
@@ -1513,8 +1520,8 @@ function placementType() {
1513
1520
  /** 弹层触发选项 */
1514
1521
  var TriggerEnum;
1515
1522
  (function (TriggerEnum) {
1516
- TriggerEnum["CLICK"] = "click";
1517
1523
  TriggerEnum["HOVER"] = "hover";
1524
+ TriggerEnum["CLICK"] = "click";
1518
1525
  TriggerEnum["MANUAL"] = "manual";
1519
1526
  })(TriggerEnum || (TriggerEnum = {}));
1520
1527
  function triggerType() {
@@ -1531,10 +1538,10 @@ function renderType() {
1531
1538
  }
1532
1539
  var DialogTypeEnum;
1533
1540
  (function (DialogTypeEnum) {
1534
- DialogTypeEnum["CONFIRM"] = "confirm";
1541
+ DialogTypeEnum["SHOW"] = "show";
1535
1542
  DialogTypeEnum["OPERATION"] = "operation";
1543
+ DialogTypeEnum["CONFIRM"] = "confirm";
1536
1544
  DialogTypeEnum["PROCESS"] = "process";
1537
- DialogTypeEnum["SHOW"] = "show";
1538
1545
  })(DialogTypeEnum || (DialogTypeEnum = {}));
1539
1546
  function dialogTypeUnion() {
1540
1547
  return (0,external_vue_types_namespaceObject.toType)('dialogType', {
@@ -1559,36 +1566,36 @@ function lineStyleType() {
1559
1566
  }
1560
1567
  var TagThemeEnum;
1561
1568
  (function (TagThemeEnum) {
1562
- TagThemeEnum["DANGER"] = "danger";
1563
- TagThemeEnum["INFO"] = "info";
1564
- TagThemeEnum["SUCCESS"] = "success";
1565
1569
  TagThemeEnum["UNKNOWN"] = "";
1570
+ TagThemeEnum["SUCCESS"] = "success";
1571
+ TagThemeEnum["INFO"] = "info";
1566
1572
  TagThemeEnum["WARNING"] = "warning";
1573
+ TagThemeEnum["DANGER"] = "danger";
1567
1574
  })(TagThemeEnum || (TagThemeEnum = {}));
1568
1575
  function TagThemeType() {
1569
1576
  return (0,external_vue_types_namespaceObject.toType)('tagTheme', {}).def();
1570
1577
  }
1571
1578
  var InputBehaviorEnum;
1572
1579
  (function (InputBehaviorEnum) {
1573
- InputBehaviorEnum["NORMAL"] = "normal";
1574
1580
  InputBehaviorEnum["SIMPLICITY"] = "simplicity";
1581
+ InputBehaviorEnum["NORMAL"] = "normal";
1575
1582
  })(InputBehaviorEnum || (InputBehaviorEnum = {}));
1576
1583
  var ProgressStrokeLineCapEnum;
1577
1584
  (function (ProgressStrokeLineCapEnum) {
1578
1585
  ProgressStrokeLineCapEnum["BUTT"] = "butt";
1579
- ProgressStrokeLineCapEnum["ROUNDE"] = "round";
1580
1586
  ProgressStrokeLineCapEnum["SQUARE"] = "square";
1587
+ ProgressStrokeLineCapEnum["ROUNDE"] = "round";
1581
1588
  })(ProgressStrokeLineCapEnum || (ProgressStrokeLineCapEnum = {}));
1582
1589
  var ProgressEnum;
1583
1590
  (function (ProgressEnum) {
1591
+ ProgressEnum["LINE"] = "line";
1584
1592
  ProgressEnum["CIRCLE"] = "circle";
1585
1593
  ProgressEnum["DASHBOARD"] = "dashboard";
1586
- ProgressEnum["LINE"] = "line";
1587
1594
  })(ProgressEnum || (ProgressEnum = {}));
1588
1595
  var SwitcherThemeEnum;
1589
1596
  (function (SwitcherThemeEnum) {
1590
- SwitcherThemeEnum["PRIMARY"] = "primary";
1591
1597
  SwitcherThemeEnum["SUCCESS"] = "success";
1598
+ SwitcherThemeEnum["PRIMARY"] = "primary";
1592
1599
  })(SwitcherThemeEnum || (SwitcherThemeEnum = {}));
1593
1600
  var TimelineNodeTypeEnum;
1594
1601
  (function (TimelineNodeTypeEnum) {
@@ -1710,8 +1717,8 @@ var PropTypes = /*#__PURE__*/function (_propTypesNS) {
1710
1717
  }(propTypesNS);
1711
1718
  var SelectedTypeEnum;
1712
1719
  (function (SelectedTypeEnum) {
1713
- SelectedTypeEnum["CHECK"] = "check";
1714
1720
  SelectedTypeEnum["CHECKBOX"] = "checkbox";
1721
+ SelectedTypeEnum["CHECK"] = "check";
1715
1722
  })(SelectedTypeEnum || (SelectedTypeEnum = {}));
1716
1723
  function SelectedType() {
1717
1724
  return (0,external_vue_types_namespaceObject.toType)('selectedStyle', {}).def(SelectedTypeEnum.CHECK);
@@ -1754,16 +1761,16 @@ var BKLAYERTYPE;
1754
1761
  BKLAYERTYPE["BOTTOM"] = "bottom";
1755
1762
  /** 页面呈现的各类内容 */
1756
1763
  BKLAYERTYPE["CONTENT"] = "content";
1757
- /** 页面需全屏操作的部分功能或编辑器的全屏模式 */
1758
- BKLAYERTYPE["FULLSCREEN"] = "fullScreen";
1759
- /** 各类消息提示 */
1760
- BKLAYERTYPE["MESSAGE"] = "message";
1761
- /** 各类弹窗或抽屉(非模态弹窗不考虑) */
1762
- BKLAYERTYPE["MODAL"] = "modal";
1763
1764
  /** 顶部导航、侧边导航以及用户信息等 */
1764
1765
  BKLAYERTYPE["NAVI"] = "navi";
1766
+ /** 页面需全屏操作的部分功能或编辑器的全屏模式 */
1767
+ BKLAYERTYPE["FULLSCREEN"] = "fullScreen";
1765
1768
  /** 各类功能插件 */
1766
1769
  BKLAYERTYPE["PLUGINS"] = "plugins";
1770
+ /** 各类弹窗或抽屉(非模态弹窗不考虑) */
1771
+ BKLAYERTYPE["MODAL"] = "modal";
1772
+ /** 各类消息提示 */
1773
+ BKLAYERTYPE["MESSAGE"] = "message";
1767
1774
  /** 各类popper提示 */
1768
1775
  BKLAYERTYPE["POPPER"] = "popper";
1769
1776
  })(BKLAYERTYPE || (BKLAYERTYPE = {}));
@@ -1948,6 +1955,7 @@ function debounce() {
1948
1955
  var debounced = function debounced() {
1949
1956
  // eslint-disable-next-line @typescript-eslint/no-this-alias
1950
1957
  var ctx = this; // 当前上下文
1958
+ // eslint-disable-next-line prefer-rest-params
1951
1959
  var args = arguments; // fn的参数
1952
1960
  // 取消之前的延时调用
1953
1961
  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?: HTMLElement | string;
13
+ appendTo?: string | HTMLElement;
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?: HTMLElement | string, popperRefer?: HTMLElement | string, options?: IOptions);
66
+ constructor(reference?: string | HTMLElement, popperRefer?: string | HTMLElement, options?: IOptions);
67
67
  forceUpdate(): void;
68
68
  update(): void;
69
69
  updateOptions(options: IOptions): void;
@@ -1,4 +1,4 @@
1
- import { IFormContext, IFormItemContext } from '../form';
2
1
  import type { InjectionKey } from 'vue';
2
+ import { IFormContext, IFormItemContext } from '../form';
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 = JSX.Element | VNodeChild;
92
+ export type VueNode = VNodeChild | JSX.Element;
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
- DEFAULT = "default",
102
+ SMALL = "small",
103
103
  LARGE = "large",
104
- SMALL = "small"
104
+ DEFAULT = "default"
105
105
  }
106
106
  export declare enum Placements {
107
- Bottom = "bottom",
107
+ Top = "top",
108
108
  Left = "left",
109
109
  Right = "right",
110
- Top = "top"
110
+ Bottom = "bottom"
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
- CENTER = "center",
121
120
  LEFT = "left",
121
+ CENTER = "center",
122
122
  RIGHT = "right"
123
123
  }
124
- export declare function alignType(): import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
125
- default: "left" | "right" | "center";
124
+ export declare function alignType(): import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
125
+ default: "right" | "left" | "center";
126
126
  };
127
127
  export declare enum ThemeEnum {
128
- DANGER = "danger",
129
128
  PRIMARY = "primary",
129
+ WARNING = "warning",
130
130
  SUCCESS = "success",
131
- WARNING = "warning"
131
+ DANGER = "danger"
132
132
  }
133
133
  /** 弹层出现位置选项 */
134
134
  export declare enum PlacementEnum {
135
135
  AUTO = "auto",
136
- AUTO_END = "auto-end",
137
136
  AUTO_START = "auto-start",
137
+ AUTO_END = "auto-end",
138
+ TOP = "top",
139
+ RIGHT = "right",
138
140
  BOTTOM = "bottom",
139
- BOTTOM_END = "bottom-end",
140
- BOTTOM_START = "bottom-start",
141
141
  LEFT = "left",
142
- LEFT_END = "left-end",
143
- LEFT_START = "left-start",
144
- RIGHT = "right",
145
- RIGHT_END = "right-end",
146
- RIGHT_START = "right-start",
147
- TOP = "top",
142
+ TOP_START = "top-start",
148
143
  TOP_END = "top-end",
149
- TOP_START = "top-start"
144
+ BOTTOM_START = "bottom-start",
145
+ BOTTOM_END = "bottom-end",
146
+ RIGHT_START = "right-start",
147
+ RIGHT_END = "right-end",
148
+ LEFT_START = "left-start",
149
+ LEFT_END = "left-end"
150
150
  }
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";
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";
153
153
  };
154
154
  /** 弹层触发选项 */
155
155
  export declare enum TriggerEnum {
156
- CLICK = "click",
157
156
  HOVER = "hover",
157
+ CLICK = "click",
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
- CONFIRM = "confirm",
172
+ SHOW = "show",
173
173
  OPERATION = "operation",
174
- PROCESS = "process",
175
- SHOW = "show"
174
+ CONFIRM = "confirm",
175
+ PROCESS = "process"
176
176
  }
177
- export declare function dialogTypeUnion(): VueTypeDef<"show" | "process" | "confirm" | "operation">;
177
+ export declare function dialogTypeUnion(): VueTypeDef<"show" | "process" | "operation" | "confirm">;
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
- DANGER = "danger",
194
- INFO = "info",
195
- SUCCESS = "success",
196
193
  UNKNOWN = "",
197
- WARNING = "warning"
194
+ SUCCESS = "success",
195
+ INFO = "info",
196
+ WARNING = "warning",
197
+ DANGER = "danger"
198
198
  }
199
- export declare function TagThemeType(): VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
200
- default: "" | "info" | "success" | "danger" | "warning";
199
+ export declare function TagThemeType(): VueTypeDef<"" | "info" | "success" | "warning" | "danger"> & {
200
+ default: "" | "info" | "success" | "warning" | "danger";
201
201
  };
202
202
  export declare enum InputBehaviorEnum {
203
- NORMAL = "normal",
204
- SIMPLICITY = "simplicity"
203
+ SIMPLICITY = "simplicity",
204
+ NORMAL = "normal"
205
205
  }
206
206
  export declare enum ProgressStrokeLineCapEnum {
207
207
  BUTT = "butt",
208
- ROUNDE = "round",
209
- SQUARE = "square"
208
+ SQUARE = "square",
209
+ ROUNDE = "round"
210
210
  }
211
211
  export declare enum ProgressEnum {
212
+ LINE = "line",
212
213
  CIRCLE = "circle",
213
- DASHBOARD = "dashboard",
214
- LINE = "line"
214
+ DASHBOARD = "dashboard"
215
215
  }
216
216
  export declare enum SwitcherThemeEnum {
217
- PRIMARY = "primary",
218
- SUCCESS = "success"
217
+ SUCCESS = "success",
218
+ PRIMARY = "primary"
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" | "danger" | "warning" | "primary">;
239
- static placement(): VueTypeDef<"bottom" | "left" | "right" | "top">;
238
+ static theme(): VueTypeDef<"success" | "warning" | "danger" | "primary">;
239
+ static placement(): VueTypeDef<"top" | "right" | "bottom" | "left">;
240
240
  static style(): VueTypeDef<CSSProperties>;
241
241
  static position(positions?: string[]): VueTypeDef<string>;
242
- static infoType(): VueTypeDef<"loading" | "success" | "danger" | "warning">;
242
+ static infoType(): VueTypeDef<"loading" | "success" | "warning" | "danger">;
243
243
  static timelineNodeType(): VueTypeDef<"template" | "vnode">;
244
244
  }
245
245
  export declare enum SelectedTypeEnum {
246
- CHECK = "check",
247
- CHECKBOX = "checkbox"
246
+ CHECKBOX = "checkbox",
247
+ CHECK = "check"
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
- FULLSCREEN = "fullScreen",
36
- /** 各类消息提示 */
37
- MESSAGE = "message",
38
- /** 各类弹窗或抽屉(非模态弹窗不考虑) */
39
- MODAL = "modal",
40
34
  /** 顶部导航、侧边导航以及用户信息等 */
41
35
  NAVI = "navi",
36
+ /** 页面需全屏操作的部分功能或编辑器的全屏模式 */
37
+ FULLSCREEN = "fullScreen",
42
38
  /** 各类功能插件 */
43
39
  PLUGINS = "plugins",
40
+ /** 各类弹窗或抽屉(非模态弹窗不考虑) */
41
+ MODAL = "modal",
42
+ /** 各类消息提示 */
43
+ MESSAGE = "message",
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
- left: string;
146
145
  top: string;
146
+ left: 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
- left: string;
238
237
  top: string;
238
+ left: 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
- left: string;
327
326
  top: string;
327
+ left: 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";
5
6
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
6
7
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
7
8
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_modal_d1344388__ from "../modal";
8
9
  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,6 +510,10 @@ 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"] });
513
517
  ;// CONCATENATED MODULE: external "../config-provider"
514
518
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
515
519
  var config_provider_y = x => () => x
@@ -526,10 +530,6 @@ const modal_namespaceObject = modal_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
526
530
  var modal_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
527
531
  var modal_less_y = x => () => x
528
532
  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
- "width": props.width,
676
675
  "class": _defineProperty(_defineProperty({}, resolveClassName('sideslider'), true), "is-position-".concat(props.direction), props.direction),
677
- "extCls": props.extCls,
676
+ "isShow": props.isShow,
677
+ "width": props.width,
678
678
  "animateType": props.direction,
679
+ "extCls": props.extCls,
679
680
  "closeIcon": false,
680
681
  "escClose": props.escClose,
681
- "isShow": props.isShow,
682
682
  "quickClose": props.quickClose,
683
- "renderDirective": props.renderDirective,
684
683
  "showMask": props.showMask,
685
684
  "transfer": props.transfer,
685
+ "renderDirective": props.renderDirective,
686
686
  "zIndex": props.zIndex,
687
- "onClose": handleClose,
688
687
  "onHidden": handleHidden,
689
- "onShown": handleShown
688
+ "onShown": handleShown,
689
+ "onClose": handleClose
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
- left: string;
139
138
  top: string;
139
+ left: string;
140
140
  isShow: boolean;
141
141
  transfer: string | boolean | HTMLElement;
142
142
  direction: string;