bkui-vue 2.0.1-beta.6 → 2.0.1-beta.60.fix.1

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 (215) hide show
  1. package/dist/index.cjs.js +166 -166
  2. package/dist/index.esm.js +32099 -32092
  3. package/dist/index.umd.js +166 -166
  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 -7
  16. package/lib/cascader/cascader-panel.d.ts +1 -1
  17. package/lib/cascader/cascader.d.ts +1 -1
  18. package/lib/cascader/cascader.less +1 -1
  19. package/lib/cascader/index.js +32 -32
  20. package/lib/cascader/interface.d.ts +1 -1
  21. package/lib/checkbox/checkbox.d.ts +7 -7
  22. package/lib/checkbox/index.d.ts +11 -11
  23. package/lib/checkbox/index.js +12 -4
  24. package/lib/checkbox/type.d.ts +1 -1
  25. package/lib/code-diff/index.js +8 -8
  26. package/lib/collapse/index.js +2 -2
  27. package/lib/collapse/utils.d.ts +2 -2
  28. package/lib/color-picker/index.js +44 -44
  29. package/lib/components.d.ts +32 -32
  30. package/lib/components.js +31 -31
  31. package/lib/config-provider/index.d.ts +1 -1
  32. package/lib/container/index.js +6 -7
  33. package/lib/date-picker/base/date-table.d.ts +1 -1
  34. package/lib/date-picker/base/month-table.d.ts +1 -1
  35. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  36. package/lib/date-picker/base/year-table.d.ts +1 -1
  37. package/lib/date-picker/date-picker.d.ts +0 -1
  38. package/lib/date-picker/index.d.ts +0 -3
  39. package/lib/date-picker/index.js +246 -220
  40. package/lib/date-picker/interface.d.ts +9 -9
  41. package/lib/date-picker/panel/date-range.d.ts +5 -5
  42. package/lib/date-picker/panel/date.d.ts +1 -1
  43. package/lib/date-picker/panel/time-range.d.ts +1 -1
  44. package/lib/date-picker/panel/time.d.ts +1 -1
  45. package/lib/date-picker/props.d.ts +1 -1
  46. package/lib/date-picker/utils.d.ts +1 -1
  47. package/lib/dialog/dialog.d.ts +25 -20
  48. package/lib/dialog/index.d.ts +55 -44
  49. package/lib/dialog/index.js +22 -22
  50. package/lib/dialog/props.d.ts +10 -8
  51. package/lib/directives/index.d.ts +3 -3
  52. package/lib/directives/index.js +166 -166
  53. package/lib/directives/tooltips.d.ts +1 -1
  54. package/lib/dist.index.js +2 -4
  55. package/lib/divider/divider.d.ts +5 -5
  56. package/lib/divider/index.d.ts +11 -11
  57. package/lib/divider/index.js +2 -2
  58. package/lib/divider/props.d.ts +2 -2
  59. package/lib/dropdown/dropdown.d.ts +5 -5
  60. package/lib/dropdown/index.d.ts +11 -11
  61. package/lib/dropdown/index.js +7 -7
  62. package/lib/exception/exception.d.ts +9 -9
  63. package/lib/exception/index.d.ts +11 -11
  64. package/lib/exception/index.js +10 -10
  65. package/lib/exception/typings/index.d.ts +1 -1
  66. package/lib/fixed-navbar/index.js +2 -2
  67. package/lib/form/form.d.ts +2 -2
  68. package/lib/form/index.js +14 -15
  69. package/lib/form/type.d.ts +2 -2
  70. package/lib/icon/index.d.ts +11 -11
  71. package/lib/icon/index.js +11 -11
  72. package/lib/image/image-viewer.d.ts +1 -1
  73. package/lib/image/index.js +20 -21
  74. package/lib/index.d.ts +9 -3
  75. package/lib/index.js +5 -29
  76. package/lib/info-box/index.js +13 -13
  77. package/lib/info-box/info-box.d.ts +15 -15
  78. package/lib/input/index.d.ts +15 -15
  79. package/lib/input/index.js +16 -17
  80. package/lib/input/input.d.ts +15 -15
  81. package/lib/link/index.d.ts +11 -11
  82. package/lib/link/index.js +3 -3
  83. package/lib/link/link.d.ts +5 -5
  84. package/lib/loading/index.d.ts +4 -4
  85. package/lib/loading/index.js +6 -6
  86. package/lib/loading/loading.d.ts +6 -6
  87. package/lib/locale/index.d.ts +1 -1
  88. package/lib/menu/index.js +0 -1
  89. package/lib/menu/utils.d.ts +3 -3
  90. package/lib/message/index.js +18 -18
  91. package/lib/message/messageConstructor.d.ts +11 -11
  92. package/lib/modal/index.d.ts +21 -8
  93. package/lib/modal/index.js +14 -8
  94. package/lib/modal/modal.d.ts +8 -3
  95. package/lib/modal/props.mixin.d.ts +3 -1
  96. package/lib/navigation/index.js +20 -20
  97. package/lib/navigation/navigation.d.ts +1 -1
  98. package/lib/notify/index.js +4 -4
  99. package/lib/overflow-title/components/overflow-title.d.ts +9 -9
  100. package/lib/overflow-title/index.d.ts +19 -19
  101. package/lib/overflow-title/index.js +61 -11
  102. package/lib/overflow-title/props.d.ts +18 -18
  103. package/lib/pagination/index.js +16 -16
  104. package/lib/pagination/type.d.ts +1 -1
  105. package/lib/pagination/use-limit.d.ts +1 -1
  106. package/lib/pagination/use-total.d.ts +1 -1
  107. package/lib/plugin-popover/index.js +18 -20
  108. package/lib/pop-confirm/index.d.ts +11 -11
  109. package/lib/pop-confirm/index.js +11 -10
  110. package/lib/pop-confirm/pop-confirm.d.ts +5 -5
  111. package/lib/pop-confirm/props.d.ts +4 -4
  112. package/lib/popover/const.d.ts +3 -3
  113. package/lib/popover/index.d.ts +19 -19
  114. package/lib/popover/index.js +18 -20
  115. package/lib/popover/plugin-popover.d.ts +1 -1
  116. package/lib/popover/popover.d.ts +7 -7
  117. package/lib/popover/props.d.ts +4 -4
  118. package/lib/preset.d.ts +0 -1
  119. package/lib/preset.js +0 -1
  120. package/lib/process/index.js +3 -3
  121. package/lib/progress/index.d.ts +11 -11
  122. package/lib/progress/index.js +10 -11
  123. package/lib/progress/progress.d.ts +7 -7
  124. package/lib/radio/index.d.ts +21 -21
  125. package/lib/radio/index.js +28 -17
  126. package/lib/radio/radio-button.d.ts +7 -7
  127. package/lib/radio/radio-group.d.ts +7 -7
  128. package/lib/radio/radio.d.ts +7 -7
  129. package/lib/radio/type.d.ts +1 -1
  130. package/lib/rate/index.js +8 -8
  131. package/lib/rate/rate.css +27 -0
  132. package/lib/rate/rate.less +33 -0
  133. package/lib/rate/rate.variable.css +27 -0
  134. package/lib/resize-layout/index.d.ts +34 -11
  135. package/lib/resize-layout/index.js +29 -14
  136. package/lib/resize-layout/resize-layout.d.ts +16 -5
  137. package/lib/scrollbar/index.js +0 -1
  138. package/lib/scrollbar/scrollbar-core/index.d.ts +9 -9
  139. package/lib/search-select/index.js +66 -66
  140. package/lib/search-select/menu.d.ts +1 -1
  141. package/lib/search-select/selected.d.ts +1 -1
  142. package/lib/search-select/utils.d.ts +3 -3
  143. package/lib/select/common.d.ts +4 -4
  144. package/lib/select/index.d.ts +88 -70
  145. package/lib/select/index.js +134 -125
  146. package/lib/select/option.d.ts +1 -1
  147. package/lib/select/select.d.ts +35 -27
  148. package/lib/select/selectTagInput.d.ts +6 -6
  149. package/lib/select/type.d.ts +2 -2
  150. package/lib/shared/index.d.ts +1 -1
  151. package/lib/shared/index.js +38 -46
  152. package/lib/shared/popover.d.ts +3 -3
  153. package/lib/shared/token.d.ts +1 -1
  154. package/lib/shared/vue-types.d.ts +46 -46
  155. package/lib/shared/z-index-manager.d.ts +6 -6
  156. package/lib/sideslider/index.d.ts +18 -7
  157. package/lib/sideslider/index.js +11 -11
  158. package/lib/sideslider/sideslider.d.ts +8 -3
  159. package/lib/slider/index.js +21 -23
  160. package/lib/steps/index.d.ts +11 -11
  161. package/lib/steps/index.js +3 -3
  162. package/lib/steps/steps.d.ts +7 -7
  163. package/lib/styles/index.d.ts +0 -1
  164. package/lib/swiper/index.js +5 -5
  165. package/lib/switcher/index.js +2 -2
  166. package/lib/switcher/switcher.d.ts +2 -2
  167. package/lib/tab/index.d.ts +22 -22
  168. package/lib/tab/index.js +15 -15
  169. package/lib/tab/props.d.ts +15 -15
  170. package/lib/tab/tab-nav.d.ts +10 -10
  171. package/lib/tab/tab.d.ts +10 -10
  172. package/lib/table/components/table-column.d.ts +27 -87
  173. package/lib/table/const.d.ts +8 -8
  174. package/lib/table/events.d.ts +21 -21
  175. package/lib/table/index.d.ts +194 -244
  176. package/lib/table/index.js +126 -130
  177. package/lib/table/props.d.ts +33 -33
  178. package/lib/table/table.css +3 -4
  179. package/lib/table/table.d.ts +47 -47
  180. package/lib/table/table.less +4 -12
  181. package/lib/table/table.variable.css +3 -4
  182. package/lib/table/use-attributes.d.ts +3 -3
  183. package/lib/table/use-column.d.ts +9 -129
  184. package/lib/table/use-common.d.ts +4 -4
  185. package/lib/table/utils.d.ts +5 -5
  186. package/lib/table-column/index.d.ts +42 -172
  187. package/lib/table-column/index.js +18 -18
  188. package/lib/tag/index.d.ts +11 -11
  189. package/lib/tag/index.js +2 -2
  190. package/lib/tag/tag.d.ts +5 -5
  191. package/lib/tag-input/common.d.ts +1 -1
  192. package/lib/tag-input/index.d.ts +8 -8
  193. package/lib/tag-input/index.js +30 -30
  194. package/lib/tag-input/tag-input.d.ts +4 -4
  195. package/lib/tag-input/tag-props.d.ts +2 -2
  196. package/lib/timeline/index.js +2 -2
  197. package/lib/transfer/const.d.ts +2 -2
  198. package/lib/transfer/index.js +3 -5
  199. package/lib/tree/constant.d.ts +20 -20
  200. package/lib/tree/index.d.ts +20 -20
  201. package/lib/tree/index.js +48 -40
  202. package/lib/tree/props.d.ts +6 -6
  203. package/lib/tree/tree.d.ts +8 -14
  204. package/lib/tree/use-empty.d.ts +1 -1
  205. package/lib/tree/use-node-action.d.ts +2 -2
  206. package/lib/tree/use-search.d.ts +1 -1
  207. package/lib/upload/index.js +25 -26
  208. package/lib/upload/props.d.ts +1 -1
  209. package/lib/upload/upload.type.d.ts +6 -6
  210. package/lib/upload/use-file-handler.d.ts +1 -1
  211. package/lib/virtual-render/index.js +2 -3
  212. package/package.json +17 -55
  213. package/lib/rate/star.css +0 -27
  214. package/lib/rate/star.less +0 -34
  215. package/lib/rate/star.variable.css +0 -156
@@ -2,8 +2,8 @@ import "../styles/reset.css";
2
2
  import "./affix.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_throttle_a7b7506a__ from "lodash/throttle";
6
5
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
6
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
7
7
  /******/ // The require scope
8
8
  /******/ var __webpack_require__ = {};
9
9
  /******/
@@ -86,14 +86,14 @@ function _defineProperty(obj, key, value) {
86
86
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
87
87
  var external_vue_y = x => () => x
88
88
  const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
89
- ;// CONCATENATED MODULE: external "lodash/throttle"
90
- var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
91
- var throttle_y = x => () => x
92
- const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"] });
93
89
  ;// CONCATENATED MODULE: external "../config-provider"
94
90
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
95
91
  var config_provider_y = x => () => x
96
92
  const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
93
+ ;// CONCATENATED MODULE: external "lodash/throttle"
94
+ var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
95
+ var throttle_y = x => () => x
96
+ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"] });
97
97
  ;// CONCATENATED MODULE: ../../packages/affix/src/affix.tsx
98
98
 
99
99
 
@@ -283,8 +283,8 @@ var off = function () {
283
283
  "ref": root
284
284
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
285
285
  "ref": point,
286
- "class": pointClass.value,
287
- "style": offsetStyles.value
286
+ "style": offsetStyles.value,
287
+ "class": pointClass.value
288
288
  }, [(_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots)])]);
289
289
  };
290
290
  }
@@ -1,6 +1,6 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "warning" | "danger"> & {
3
- default: "" | "info" | "success" | "warning" | "danger";
2
+ theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
3
+ default: "" | "info" | "success" | "danger" | "warning";
4
4
  };
5
5
  size: import("vue-types").VueTypeValidableDef<string> & {
6
6
  default: string;
@@ -29,8 +29,8 @@ declare const _default: import("vue").DefineComponent<{
29
29
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
30
  close: (event: Event) => Event;
31
31
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
- theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "warning" | "danger"> & {
33
- default: "" | "info" | "success" | "warning" | "danger";
32
+ theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
33
+ default: "" | "info" | "success" | "danger" | "warning";
34
34
  };
35
35
  size: import("vue-types").VueTypeValidableDef<string> & {
36
36
  default: string;
@@ -56,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
56
56
  }, {
57
57
  title: string;
58
58
  size: string;
59
- theme: "" | "info" | "success" | "warning" | "danger";
59
+ theme: "" | "info" | "success" | "danger" | "warning";
60
60
  closable: boolean;
61
61
  closeText: string;
62
62
  showIcon: boolean;
@@ -1,7 +1,7 @@
1
1
  declare const BkAlert: {
2
2
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
3
- theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "warning" | "danger"> & {
4
- default: "" | "info" | "success" | "warning" | "danger";
3
+ theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
4
+ default: "" | "info" | "success" | "danger" | "warning";
5
5
  };
6
6
  size: import("vue-types").VueTypeValidableDef<string> & {
7
7
  default: string;
@@ -32,8 +32,8 @@ declare const BkAlert: {
32
32
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
33
  close: (event: Event) => Event;
34
34
  }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
35
- theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "warning" | "danger"> & {
36
- default: "" | "info" | "success" | "warning" | "danger";
35
+ theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
36
+ default: "" | "info" | "success" | "danger" | "warning";
37
37
  };
38
38
  size: import("vue-types").VueTypeValidableDef<string> & {
39
39
  default: string;
@@ -59,7 +59,7 @@ declare const BkAlert: {
59
59
  }, {
60
60
  title: string;
61
61
  size: string;
62
- theme: "" | "info" | "success" | "warning" | "danger";
62
+ theme: "" | "info" | "success" | "danger" | "warning";
63
63
  closable: boolean;
64
64
  closeText: string;
65
65
  showIcon: boolean;
@@ -71,8 +71,8 @@ declare const BkAlert: {
71
71
  M: {};
72
72
  Defaults: {};
73
73
  }, Readonly<import("vue").ExtractPropTypes<{
74
- theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "warning" | "danger"> & {
75
- default: "" | "info" | "success" | "warning" | "danger";
74
+ theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
75
+ default: "" | "info" | "success" | "danger" | "warning";
76
76
  };
77
77
  size: import("vue-types").VueTypeValidableDef<string> & {
78
78
  default: string;
@@ -103,7 +103,7 @@ declare const BkAlert: {
103
103
  }, {}, {}, {}, {
104
104
  title: string;
105
105
  size: string;
106
- theme: "" | "info" | "success" | "warning" | "danger";
106
+ theme: "" | "info" | "success" | "danger" | "warning";
107
107
  closable: boolean;
108
108
  closeText: string;
109
109
  showIcon: boolean;
@@ -112,8 +112,8 @@ declare const BkAlert: {
112
112
  __isTeleport?: never;
113
113
  __isSuspense?: never;
114
114
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
115
- theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "warning" | "danger"> & {
116
- default: "" | "info" | "success" | "warning" | "danger";
115
+ theme: import("vue-types").VueTypeDef<"" | "info" | "success" | "danger" | "warning"> & {
116
+ default: "" | "info" | "success" | "danger" | "warning";
117
117
  };
118
118
  size: import("vue-types").VueTypeValidableDef<string> & {
119
119
  default: string;
@@ -146,7 +146,7 @@ declare const BkAlert: {
146
146
  }, string, {
147
147
  title: string;
148
148
  size: string;
149
- theme: "" | "info" | "success" | "warning" | "danger";
149
+ theme: "" | "info" | "success" | "danger" | "warning";
150
150
  closable: boolean;
151
151
  closeText: string;
152
152
  showIcon: boolean;
@@ -52,8 +52,8 @@ declare const _default: import("vue").DefineComponent<{
52
52
  };
53
53
  }>>, {
54
54
  extCls: string;
55
- right: number;
56
55
  bottom: number;
56
+ right: number;
57
57
  target: string;
58
58
  visibilityHeight: number;
59
59
  }, {}>;
@@ -53,8 +53,8 @@ declare const BkBacktop: {
53
53
  };
54
54
  }>>, {
55
55
  extCls: string;
56
- right: number;
57
56
  bottom: number;
57
+ right: number;
58
58
  target: string;
59
59
  visibilityHeight: number;
60
60
  }, true, {}, {}, {
@@ -92,8 +92,8 @@ declare const BkBacktop: {
92
92
  };
93
93
  }>>, () => JSX.Element, {}, {}, {}, {
94
94
  extCls: string;
95
- right: number;
96
95
  bottom: number;
96
+ right: number;
97
97
  target: string;
98
98
  visibilityHeight: number;
99
99
  }>;
@@ -128,8 +128,8 @@ declare const BkBacktop: {
128
128
  };
129
129
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
130
130
  extCls: string;
131
- right: number;
132
131
  bottom: number;
132
+ right: number;
133
133
  target: string;
134
134
  visibilityHeight: number;
135
135
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
@@ -2,9 +2,9 @@ import "../styles/reset.css";
2
2
  import "./backtop.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_throttle_a7b7506a__ from "lodash/throttle";
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";
7
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__ from "lodash/throttle";
8
8
  /******/ // The require scope
9
9
  /******/ var __webpack_require__ = {};
10
10
  /******/
@@ -42,10 +42,6 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
42
42
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
43
43
  var external_vue_y = x => () => x
44
44
  const external_vue_namespaceObject = external_vue_x({ ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
45
- ;// CONCATENATED MODULE: external "lodash/throttle"
46
- var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
47
- var throttle_y = x => () => x
48
- const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"] });
49
45
  ;// CONCATENATED MODULE: external "../config-provider"
50
46
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
51
47
  var config_provider_y = x => () => x
@@ -54,6 +50,10 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
54
50
  var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
55
51
  var icon_y = x => () => x
56
52
  const icon_namespaceObject = icon_x({ ["AngleUp"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.AngleUp });
53
+ ;// CONCATENATED MODULE: external "lodash/throttle"
54
+ var throttle_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
55
+ var throttle_y = x => () => x
56
+ const throttle_namespaceObject = throttle_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_throttle_a7b7506a__["default"] });
57
57
  ;// CONCATENATED MODULE: ../../packages/backtop/src/backtop.tsx
58
58
 
59
59
  /*
@@ -141,12 +141,12 @@ const icon_namespaceObject = icon_x({ ["AngleUp"]: () => __WEBPACK_EXTERNAL_MODU
141
141
  }, {
142
142
  "default": function _default() {
143
143
  return [visible.value ? (0,external_vue_namespaceObject.createVNode)("div", {
144
- "class": "".concat(resolveClassName('backtop'), " ").concat(props.extCls),
145
144
  "style": {
146
145
  right: styleRight,
147
146
  bottom: styleBottom,
148
147
  zIndex: zIndex.value
149
148
  },
149
+ "class": "".concat(resolveClassName('backtop'), " ").concat(props.extCls),
150
150
  "onClick": scrollTop
151
151
  }, [(_slots$default = (_slots$default2 = slots["default"]) === null || _slots$default2 === void 0 ? void 0 : _slots$default2.call(slots)) !== null && _slots$default !== void 0 ? _slots$default : (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleUp, {
152
152
  "class": "".concat(resolveClassName('backtop-icon'))
@@ -196,8 +196,8 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
196
196
  return (0,external_vue_namespaceObject.createVNode)("div", {
197
197
  "class": wrapperClasses
198
198
  }, [(_this$$slots$default = (_this$$slots$default2 = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default2 === void 0 ? void 0 : _this$$slots$default2.call(_this$$slots)) !== null && _this$$slots$default !== void 0 ? _this$$slots$default : '', !this.$props.visible ? (0,external_vue_namespaceObject.createVNode)("span", {
199
- "class": badgeClass,
200
199
  "style": this.radiusStyle,
200
+ "class": badgeClass,
201
201
  "onMouseenter": this.handleHover,
202
202
  "onMouseleave": this.handleLeave
203
203
  }, [(_this$$slots$icon = (_this$$slots$icon2 = (_this$$slots2 = this.$slots).icon) === null || _this$$slots$icon2 === void 0 ? void 0 : _this$$slots$icon2.call(_this$$slots2)) !== null && _this$$slots$icon !== void 0 ? _this$$slots$icon : number]) : '']);
@@ -24,10 +24,10 @@
24
24
  * IN THE SOFTWARE.
25
25
  */
26
26
  import { ExtractPropTypes, PropType } from 'vue';
27
- type IButtonNativeType = PropType<'button' | 'submit' | 'reset'>;
27
+ type IButtonNativeType = PropType<'button' | 'reset' | 'submit'>;
28
28
  declare const buttonProps: {
29
- theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
30
- hoverTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
29
+ theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
30
+ hoverTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
31
31
  size: {
32
32
  type: PropType<"" | "small" | "large">;
33
33
  default: "";
@@ -67,8 +67,8 @@ declare const buttonProps: {
67
67
  };
68
68
  export type ButtonPropTypes = ExtractPropTypes<typeof buttonProps>;
69
69
  declare const _default: import("vue").DefineComponent<{
70
- theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
71
- hoverTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
70
+ theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
71
+ hoverTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
72
72
  size: {
73
73
  type: PropType<"" | "small" | "large">;
74
74
  default: "";
@@ -106,8 +106,8 @@ declare const _default: import("vue").DefineComponent<{
106
106
  default: string;
107
107
  };
108
108
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "mouseover")[], "click" | "mouseover", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
109
- theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
110
- hoverTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
109
+ theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
110
+ hoverTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
111
111
  size: {
112
112
  type: PropType<"" | "small" | "large">;
113
113
  default: "";
@@ -1,8 +1,8 @@
1
1
  import ButtonGroup from './button-group';
2
2
  declare const BkButton: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
- theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
5
- hoverTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
4
+ theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
5
+ hoverTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
6
6
  size: {
7
7
  type: import("vue").PropType<"" | "small" | "large">;
8
8
  default: "";
@@ -43,8 +43,8 @@ declare const BkButton: {
43
43
  onClick?: (...args: any[]) => any;
44
44
  onMouseover?: (...args: any[]) => any;
45
45
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "mouseover")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
46
- theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
47
- hoverTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
46
+ theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
47
+ hoverTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
48
48
  size: {
49
49
  type: import("vue").PropType<"" | "small" | "large">;
50
50
  default: "";
@@ -104,8 +104,8 @@ declare const BkButton: {
104
104
  M: {};
105
105
  Defaults: {};
106
106
  }, Readonly<import("vue").ExtractPropTypes<{
107
- theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
108
- hoverTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
107
+ theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
108
+ hoverTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
109
109
  size: {
110
110
  type: import("vue").PropType<"" | "small" | "large">;
111
111
  default: "";
@@ -162,8 +162,8 @@ declare const BkButton: {
162
162
  __isTeleport?: never;
163
163
  __isSuspense?: never;
164
164
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
165
- theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
166
- hoverTheme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
165
+ theme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
166
+ hoverTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary">;
167
167
  size: {
168
168
  type: import("vue").PropType<"" | "small" | "large">;
169
169
  default: "";
@@ -162,7 +162,6 @@ var buttonProps = {
162
162
  }
163
163
  };
164
164
  /* harmony default export */ const src_button = ((0,external_vue_namespaceObject.defineComponent)({
165
- // eslint-disable-next-line vue/no-reserved-component-names
166
165
  name: 'Button',
167
166
  props: buttonProps,
168
167
  emits: ['click', 'mouseover'],
@@ -219,18 +218,18 @@ var buttonProps = {
219
218
  return function () {
220
219
  var _slots$default2;
221
220
  return (0,external_vue_namespaceObject.createVNode)("button", {
222
- "title": props.title,
223
- "disabled": props.disabled,
224
221
  "class": btnCls.value,
222
+ "disabled": props.disabled,
223
+ "title": props.title,
225
224
  "type": props.nativeType,
226
225
  "onClick": handleClick,
227
- "onMouseover": handleMouseOver,
228
- "onMouseleave": handleMouseout
226
+ "onMouseleave": handleMouseout,
227
+ "onMouseover": handleMouseOver
229
228
  }, [props.loading && (0,external_vue_namespaceObject.createVNode)(loading_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
230
- "loading": true,
231
229
  "class": "".concat(btnClsPrefix, "-loading"),
232
230
  "mode": props.loadingMode,
233
- "size": loadingSize.value
231
+ "size": loadingSize.value,
232
+ "loading": true
234
233
  }, loadingTheme.value ? {
235
234
  theme: loadingTheme.value
236
235
  } : {}), null), slots["default"] && (0,external_vue_namespaceObject.createVNode)("span", {
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<{
43
43
  onClick: (e: Event) => void;
44
44
  onMouseenter: () => void;
45
45
  };
46
- isCheckedNode: (node: INode, checkValue: (string | number | string[])[]) => any;
46
+ isCheckedNode: (node: INode, checkValue: (number | string | string[])[]) => any;
47
47
  checkValue: import("vue").Ref<(string | number | string[])[]>;
48
48
  checkNode: (node: INode, value: boolean) => void;
49
49
  iconRender: (node: any) => JSX.Element;
@@ -193,7 +193,7 @@ declare const _default: import("vue").DefineComponent<{
193
193
  appendNode: (nodeData: import("./interface").IData, parentNode: import("./interface").IData) => void;
194
194
  appendNodes: (nodeDataList: import("./interface").IData[], parentNode: import("./interface").IData) => void;
195
195
  }>;
196
- updateValue: (val: Array<string | number | string[]>) => void;
196
+ updateValue: (val: Array<number | string | string[]>) => void;
197
197
  selectedText: import("vue").Ref<string>;
198
198
  checkedValue: import("vue").WritableComputedRef<(string | number | string[])[]>;
199
199
  handleClear: (e: Event) => void;
@@ -1,7 +1,7 @@
1
1
  @import '../styles/themes/themes.less';
2
2
  @import '../styles/mixins/mixins.less';
3
3
 
4
- .@{bk-prefix}-cascader-popover.@{bk-prefix}-pop2-content.bk-popover {
4
+ .@{bk-prefix}-cascader-popover.@{bk-prefix}-pop2-content.@{bk-prefix}-popover {
5
5
  padding: 0;
6
6
  }
7
7
  .@{bk-prefix}-cascader-popover-wrapper {
@@ -535,6 +535,7 @@ function useDebouncedRef(value) {
535
535
  track();
536
536
  return innerValue;
537
537
  },
538
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
538
539
  set: function set(newValue) {
539
540
  clearTimeout(timeout);
540
541
  if (newValue === undefined || newValue === '') {
@@ -1074,11 +1075,11 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1074
1075
  var emptyWidth = parseInt(this.panelWidth, 10) > 200 ? this.panelWidth : "".concat(200, "px");
1075
1076
  var searchPanelRender = function searchPanelRender() {
1076
1077
  return _this.suggestions.length ? (0,external_vue_namespaceObject.createVNode)("ul", {
1077
- "class": [_this.resolveClassName('cascader-panel'), _this.resolveClassName('scroll-y')],
1078
1078
  "style": {
1079
1079
  height: _this.panelHeight,
1080
1080
  width: _this.panelWidth
1081
- }
1081
+ },
1082
+ "class": [_this.resolveClassName('cascader-panel'), _this.resolveClassName('scroll-y')]
1082
1083
  }, [_this.suggestions.map(function (node) {
1083
1084
  return (0,external_vue_namespaceObject.createVNode)("li", (0,external_vue_namespaceObject.mergeProps)({
1084
1085
  "class": [_this.resolveClassName('cascader-node'), {
@@ -1090,21 +1091,21 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1090
1091
  }]
1091
1092
  }, _this.searchPanelEvents(node)), [node.pathNames.join(_this.separator)]);
1092
1093
  })]) : (0,external_vue_namespaceObject.createVNode)("div", {
1093
- "class": _this.resolveClassName('cascader-search-empty'),
1094
1094
  "style": {
1095
1095
  width: emptyWidth
1096
- }
1096
+ },
1097
+ "class": _this.resolveClassName('cascader-search-empty')
1097
1098
  }, [(0,external_vue_namespaceObject.createVNode)("span", null, [_this.noDataText])]);
1098
1099
  };
1099
1100
  return (0,external_vue_namespaceObject.createVNode)("div", {
1100
1101
  "class": this.resolveClassName('cascader-panel-wrapper')
1101
1102
  }, [this.isFiltering ? searchPanelRender() : this.menus.list.map(function (menu) {
1102
1103
  return (0,external_vue_namespaceObject.createVNode)("ul", {
1103
- "class": [_this.resolveClassName('cascader-panel'), _this.resolveClassName('scroll-y')],
1104
1104
  "style": {
1105
1105
  height: _this.panelHeight,
1106
1106
  width: _this.panelWidth
1107
- }
1107
+ },
1108
+ "class": [_this.resolveClassName('cascader-panel'), _this.resolveClassName('scroll-y')]
1108
1109
  }, [menu.length ? menu.map(function (node) {
1109
1110
  var _this$$slots$default, _this$$slots;
1110
1111
  return (0,external_vue_namespaceObject.createVNode)("li", (0,external_vue_namespaceObject.mergeProps)({
@@ -1116,13 +1117,13 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
1116
1117
  'is-checked': !node.config.multiple && _this.isCheckedNode(node, _this.checkValue)
1117
1118
  }]
1118
1119
  }, Object.assign(_this.nodeEvent(node), node.config.multiple ? {} : {})), [node.config.multiple && (0,external_vue_namespaceObject.createVNode)(checkbox_namespaceObject["default"], {
1119
- "disabled": node.isDisabled,
1120
+ "style": "margin-right: 5px",
1120
1121
  "modelValue": node.checked,
1121
1122
  "onUpdate:modelValue": function onUpdateModelValue($event) {
1122
1123
  return node.checked = $event;
1123
1124
  },
1125
+ "disabled": node.isDisabled,
1124
1126
  "indeterminate": node.isIndeterminate,
1125
- "style": "margin-right: 5px",
1126
1127
  "onChange": function onChange(val) {
1127
1128
  return _this.checkNode(node, !!val);
1128
1129
  }
@@ -1423,7 +1424,6 @@ var flatNodes = function flatNodes(data, leafOnly) {
1423
1424
  acc.push(node);
1424
1425
  } else {
1425
1426
  !leafOnly && acc.push(node);
1426
- // eslint-disable-next-line no-param-reassign
1427
1427
  acc = acc.concat(flatNodes(node.children, leafOnly));
1428
1428
  }
1429
1429
  return acc;
@@ -1923,11 +1923,11 @@ var Store = /*#__PURE__*/function () {
1923
1923
  var isOverflow = !_this.isCollapse && _this.overflowTagIndex !== null && index >= _this.overflowTagIndex;
1924
1924
  // 根据tag是否超出显示范围,来决定是否渲染
1925
1925
  return (0,external_vue_namespaceObject.createVNode)("span", {
1926
- "class": "tag-item",
1926
+ "key": tag,
1927
1927
  "style": {
1928
1928
  display: isOverflow ? 'none' : ''
1929
1929
  },
1930
- "key": tag
1930
+ "class": "tag-item"
1931
1931
  }, [(0,external_vue_namespaceObject.createVNode)("span", {
1932
1932
  "class": "tag-item-name"
1933
1933
  }, [tag]), (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Error, {
@@ -1954,17 +1954,17 @@ var Store = /*#__PURE__*/function () {
1954
1954
  // 定义popoverRender函数,用于渲染弹出框
1955
1955
  var popoverRender = function popoverRender() {
1956
1956
  return (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
1957
- "placement": "bottom-start",
1958
- "theme": "light ".concat(_this.resolveClassName('cascader-popover')),
1959
- "trigger": "click",
1957
+ "ref": "popover",
1958
+ "class": _this.resolveClassName('cascader-popover-wrapper'),
1960
1959
  "arrow": false,
1960
+ "boundary": "body",
1961
1961
  "disabled": _this.disabled,
1962
1962
  "offset": 4,
1963
- "class": _this.resolveClassName('cascader-popover-wrapper'),
1964
- "ref": "popover",
1963
+ "placement": "bottom-start",
1964
+ "theme": "light ".concat(_this.resolveClassName('cascader-popover')),
1965
+ "trigger": "click",
1965
1966
  "onAfterHidden": _this.popoverChangeEmitter,
1966
- "onAfterShow": _this.popoverChangeEmitter,
1967
- "boundary": "body"
1967
+ "onAfterShow": _this.popoverChangeEmitter
1968
1968
  }, {
1969
1969
  "default": function _default() {
1970
1970
  return _this.$slots.trigger ? _this.$slots.trigger({
@@ -1973,34 +1973,34 @@ var Store = /*#__PURE__*/function () {
1973
1973
  }) : (0,external_vue_namespaceObject.createVNode)("div", {
1974
1974
  "class": [_this.resolveClassName('cascader-name'), _this.resolveClassName('scroll-y')]
1975
1975
  }, [_this.multiple && _this.selectedTags.length > 0 && renderTags(), _this.filterable ? (_this.isCollapse || _this.selectedTags.length === 0) && (0,external_vue_namespaceObject.createVNode)("input", {
1976
+ "ref": "inputRef",
1976
1977
  "class": [_this.resolveClassName('cascader-search-input'), {
1977
1978
  'is-disabled': _this.disabled
1978
1979
  }],
1979
- "type": "text",
1980
- "onInput": _this.searchInputHandler,
1981
- "onBlur": _this.searchBlueHandler,
1980
+ "disabled": _this.disabled,
1982
1981
  "placeholder": _this.calcuPlaceholder,
1982
+ "type": "text",
1983
1983
  "value": _this.searchKey,
1984
- "disabled": _this.disabled,
1985
- "ref": "inputRef"
1984
+ "onBlur": _this.searchBlueHandler,
1985
+ "onInput": _this.searchInputHandler
1986
1986
  }, null) : textRender()]);
1987
1987
  },
1988
1988
  content: function content() {
1989
1989
  return (0,external_vue_namespaceObject.createVNode)("div", {
1990
1990
  "class": _this.resolveClassName('cascader-popover')
1991
1991
  }, [(0,external_vue_namespaceObject.createVNode)(cascader_panel, {
1992
- "store": _this.store,
1993
1992
  "ref": "cascaderPanel",
1994
1993
  "width": _this.scrollWidth,
1995
1994
  "height": _this.scrollHeight,
1996
- "search-key": _this.searchKey,
1997
- "separator": _this.separator,
1998
- "is-filtering": _this.isFiltering,
1999
- "suggestions": _this.suggestions,
2000
1995
  "modelValue": _this.checkedValue,
2001
1996
  "onUpdate:modelValue": function onUpdateModelValue($event) {
2002
1997
  return _this.checkedValue = $event;
2003
- }
1998
+ },
1999
+ "is-filtering": _this.isFiltering,
2000
+ "search-key": _this.searchKey,
2001
+ "separator": _this.separator,
2002
+ "store": _this.store,
2003
+ "suggestions": _this.suggestions
2004
2004
  }, {
2005
2005
  "default": function _default(scope) {
2006
2006
  return _this.$slots["default"] ? _this.$slots["default"](scope) : (0,external_vue_namespaceObject.createVNode)("span", {
@@ -2014,6 +2014,7 @@ var Store = /*#__PURE__*/function () {
2014
2014
  return (0,external_vue_namespaceObject.createVNode)("div", {
2015
2015
  "class": [this.resolveClassName('cascader-wrapper'), this.floatMode ? 'float-mode' : '']
2016
2016
  }, [this.$slots.trigger ? popoverRender() : (0,external_vue_namespaceObject.createVNode)("div", {
2017
+ "ref": "bkCascaderRef",
2017
2018
  "class": [this.resolveClassName('cascader'), this.extCls, {
2018
2019
  'is-unselected': this.modelValue.length === 0,
2019
2020
  'is-hover': this.isHover,
@@ -2022,11 +2023,10 @@ var Store = /*#__PURE__*/function () {
2022
2023
  'is-disabled': this.disabled,
2023
2024
  'is-simplicity': this.behavior === 'simplicity'
2024
2025
  }],
2025
- "tabindex": "0",
2026
2026
  "data-placeholder": this.calcuPlaceholder,
2027
+ "tabindex": "0",
2027
2028
  "onMouseenter": this.setHover,
2028
- "onMouseleave": this.cancelHover,
2029
- "ref": "bkCascaderRef"
2029
+ "onMouseleave": this.cancelHover
2030
2030
  }, [suffixIcon(), popoverRender()])]);
2031
2031
  }
2032
2032
  }));
@@ -9,7 +9,7 @@ export interface INodeConfig {
9
9
  }
10
10
  export interface INode {
11
11
  checked: boolean;
12
- children?: null[] | null;
12
+ children?: null | null[];
13
13
  config: IConfig;
14
14
  data: IData;
15
15
  leaf: boolean;
@@ -21,8 +21,8 @@ export declare const checkboxProps: {
21
21
  indeterminate: import("vue-types").VueTypeValidableDef<boolean> & {
22
22
  default: boolean;
23
23
  };
24
- beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
25
- default: (...args: any[]) => any;
24
+ beforeChange: import("vue-types").VueTypeValidableDef<(event: boolean | number | string) => Promise<boolean> | boolean> & {
25
+ default: (event: boolean | number | string) => Promise<boolean> | boolean;
26
26
  };
27
27
  size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge"> & {
28
28
  default: "default" | "small" | "large" | "huge";
@@ -56,8 +56,8 @@ declare const _default: import("vue").DefineComponent<{
56
56
  indeterminate: import("vue-types").VueTypeValidableDef<boolean> & {
57
57
  default: boolean;
58
58
  };
59
- beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
60
- default: (...args: any[]) => any;
59
+ beforeChange: import("vue-types").VueTypeValidableDef<(event: string | number | boolean) => boolean | Promise<boolean>> & {
60
+ default: (event: string | number | boolean) => boolean | Promise<boolean>;
61
61
  };
62
62
  size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge"> & {
63
63
  default: "default" | "small" | "large" | "huge";
@@ -105,8 +105,8 @@ declare const _default: import("vue").DefineComponent<{
105
105
  indeterminate: import("vue-types").VueTypeValidableDef<boolean> & {
106
106
  default: boolean;
107
107
  };
108
- beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
109
- default: (...args: any[]) => any;
108
+ beforeChange: import("vue-types").VueTypeValidableDef<(event: string | number | boolean) => boolean | Promise<boolean>> & {
109
+ default: (event: string | number | boolean) => boolean | Promise<boolean>;
110
110
  };
111
111
  size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge"> & {
112
112
  default: "default" | "small" | "large" | "huge";
@@ -127,7 +127,7 @@ declare const _default: import("vue").DefineComponent<{
127
127
  falseLabel: string | number | boolean;
128
128
  checked: boolean;
129
129
  indeterminate: boolean;
130
- beforeChange: (...args: any[]) => any;
130
+ beforeChange: (event: string | number | boolean) => boolean | Promise<boolean>;
131
131
  immediateEmitChange: boolean;
132
132
  }, {}>;
133
133
  export default _default;