bkui-vue 2.0.2-beta.2 → 2.0.2-beta.21

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 (187) hide show
  1. package/dist/index.cjs.js +159 -133
  2. package/dist/index.esm.js +21564 -17815
  3. package/dist/index.umd.js +159 -133
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.js +30 -22
  7. package/lib/alert/index.js +30 -22
  8. package/lib/animate-number/index.js +14 -10
  9. package/lib/backtop/index.js +32 -22
  10. package/lib/badge/index.js +24 -18
  11. package/lib/breadcrumb/index.js +31 -23
  12. package/lib/button/index.js +36 -26
  13. package/lib/card/index.js +47 -33
  14. package/lib/cascader/cascader.d.ts +1 -0
  15. package/lib/cascader/index.d.ts +3 -0
  16. package/lib/cascader/index.js +725 -654
  17. package/lib/checkbox/index.js +45 -35
  18. package/lib/code-diff/index.js +83 -79
  19. package/lib/collapse/index.js +39 -33
  20. package/lib/collapse-transition/index.js +20 -14
  21. package/lib/color-picker/index.js +618 -598
  22. package/lib/components.d.ts +1 -2
  23. package/lib/components.js +1 -2
  24. package/lib/config-provider/index.js +34 -26
  25. package/lib/container/index.js +27 -21
  26. package/lib/date-picker/date-picker.css +220 -4
  27. package/lib/date-picker/date-picker.less +5 -5
  28. package/lib/date-picker/date-picker.variable.css +237 -21
  29. package/lib/date-picker/index.js +650 -624
  30. package/lib/dialog/index.js +101 -87
  31. package/lib/directives/index.js +446 -434
  32. package/lib/divider/index.js +21 -15
  33. package/lib/dropdown/index.js +43 -31
  34. package/lib/exception/index.js +55 -49
  35. package/lib/fixed-navbar/index.js +20 -14
  36. package/lib/form/form-item.d.ts +16 -0
  37. package/lib/form/index.d.ts +11 -0
  38. package/lib/form/index.js +646 -614
  39. package/lib/icon/angle-double-down-line.js +14 -12
  40. package/lib/icon/angle-double-left-line.js +14 -12
  41. package/lib/icon/angle-double-left.js +14 -12
  42. package/lib/icon/angle-double-right-line.js +14 -12
  43. package/lib/icon/angle-double-right.js +14 -12
  44. package/lib/icon/angle-double-up-line.js +14 -12
  45. package/lib/icon/angle-down-fill.js +14 -12
  46. package/lib/icon/angle-down-line.js +14 -12
  47. package/lib/icon/angle-down.js +14 -12
  48. package/lib/icon/angle-left.js +14 -12
  49. package/lib/icon/angle-right.js +14 -12
  50. package/lib/icon/angle-up-fill.js +14 -12
  51. package/lib/icon/angle-up.js +14 -12
  52. package/lib/icon/archive-fill.js +14 -12
  53. package/lib/icon/arrows-left.js +14 -12
  54. package/lib/icon/arrows-right.js +14 -12
  55. package/lib/icon/assistant.js +14 -12
  56. package/lib/icon/audio-fill.js +14 -12
  57. package/lib/icon/bk.js +14 -12
  58. package/lib/icon/circle.js +14 -12
  59. package/lib/icon/close-line.js +14 -12
  60. package/lib/icon/close.js +14 -12
  61. package/lib/icon/code.js +14 -12
  62. package/lib/icon/cog-shape.js +14 -12
  63. package/lib/icon/collapse-left.js +14 -12
  64. package/lib/icon/copy-shape.js +14 -12
  65. package/lib/icon/copy.js +14 -12
  66. package/lib/icon/data-shape.js +14 -12
  67. package/lib/icon/del.js +14 -12
  68. package/lib/icon/doc-fill.js +14 -12
  69. package/lib/icon/done.js +14 -12
  70. package/lib/icon/down-shape.js +14 -12
  71. package/lib/icon/down-small.js +14 -12
  72. package/lib/icon/edit-line.js +14 -12
  73. package/lib/icon/ellipsis.js +14 -12
  74. package/lib/icon/enlarge-line.js +14 -12
  75. package/lib/icon/error.js +14 -12
  76. package/lib/icon/excel-fill.js +14 -12
  77. package/lib/icon/exclamation-circle-shape.js +14 -12
  78. package/lib/icon/eye.js +14 -12
  79. package/lib/icon/filliscreen-line.js +14 -12
  80. package/lib/icon/fix-line.js +14 -12
  81. package/lib/icon/fix-shape.js +14 -12
  82. package/lib/icon/folder-open.js +14 -12
  83. package/lib/icon/folder-shape-open.js +14 -12
  84. package/lib/icon/folder-shape.js +14 -12
  85. package/lib/icon/folder.js +14 -12
  86. package/lib/icon/funnel.js +14 -12
  87. package/lib/icon/grag-fill.js +14 -12
  88. package/lib/icon/help-document-fill.js +14 -12
  89. package/lib/icon/help-fill.js +14 -12
  90. package/lib/icon/help.js +14 -12
  91. package/lib/icon/image-fill.js +14 -12
  92. package/lib/icon/img-error.js +14 -12
  93. package/lib/icon/img-placehoulder.js +14 -12
  94. package/lib/icon/info-line.js +14 -12
  95. package/lib/icon/info.js +14 -12
  96. package/lib/icon/left-shape.js +14 -12
  97. package/lib/icon/left-turn-line.js +14 -12
  98. package/lib/icon/loading.js +14 -12
  99. package/lib/icon/narrow-line.js +14 -12
  100. package/lib/icon/original.js +14 -12
  101. package/lib/icon/pdf-fill.js +14 -12
  102. package/lib/icon/play-shape.js +14 -12
  103. package/lib/icon/plus.js +14 -12
  104. package/lib/icon/ppt-fill.js +14 -12
  105. package/lib/icon/qq.js +14 -12
  106. package/lib/icon/right-shape.js +14 -12
  107. package/lib/icon/right-turn-line.js +14 -12
  108. package/lib/icon/search.js +14 -12
  109. package/lib/icon/share.js +14 -12
  110. package/lib/icon/spinner.js +14 -12
  111. package/lib/icon/success.js +14 -12
  112. package/lib/icon/switcher-loading.js +14 -12
  113. package/lib/icon/text-all.js +14 -12
  114. package/lib/icon/text-file.js +14 -12
  115. package/lib/icon/text-fill.js +14 -12
  116. package/lib/icon/transfer.js +14 -12
  117. package/lib/icon/tree-application-shape.js +14 -12
  118. package/lib/icon/unfull-screen.js +14 -12
  119. package/lib/icon/unvisible.js +14 -12
  120. package/lib/icon/up-shape.js +14 -12
  121. package/lib/icon/upload.js +14 -12
  122. package/lib/icon/video-fill.js +14 -12
  123. package/lib/icon/warn.js +14 -12
  124. package/lib/icon/weixin-pro.js +14 -12
  125. package/lib/icon/weixin.js +14 -12
  126. package/lib/image/index.js +343 -330
  127. package/lib/index.d.ts +0 -1
  128. package/lib/index.js +1 -2
  129. package/lib/info-box/index.js +101 -87
  130. package/lib/input/index.d.ts +19 -0
  131. package/lib/input/index.js +347 -332
  132. package/lib/input/input.d.ts +15 -1
  133. package/lib/link/index.js +26 -18
  134. package/lib/loading/index.js +25 -19
  135. package/lib/locale/index.js +3 -3
  136. package/lib/menu/index.js +40 -32
  137. package/lib/message/index.js +48 -42
  138. package/lib/modal/index.js +41 -30
  139. package/lib/navigation/index.js +27 -19
  140. package/lib/notify/index.js +37 -27
  141. package/lib/overflow-title/index.js +41 -29
  142. package/lib/pagination/index.js +62 -46
  143. package/lib/pop-confirm/index.d.ts +600 -2
  144. package/lib/pop-confirm/index.js +69 -41
  145. package/lib/pop-confirm/pop-confirm.d.ts +297 -1
  146. package/lib/pop-confirm/props.d.ts +146 -0
  147. package/lib/popover/index.js +365 -351
  148. package/lib/popover2/index.js +14 -10
  149. package/lib/process/index.js +78 -74
  150. package/lib/progress/index.js +26 -20
  151. package/lib/radio/index.js +39 -31
  152. package/lib/rate/index.js +25 -19
  153. package/lib/resize-layout/index.js +30 -22
  154. package/lib/scrollbar/index.js +25 -25
  155. package/lib/search-select/index.js +437 -423
  156. package/lib/select/index.d.ts +19 -0
  157. package/lib/select/index.js +499 -458
  158. package/lib/select/select.d.ts +10 -0
  159. package/lib/shared/index.js +57 -49
  160. package/lib/sideslider/index.js +89 -79
  161. package/lib/slider/index.js +87 -76
  162. package/lib/steps/index.js +78 -72
  163. package/lib/swiper/index.js +24 -18
  164. package/lib/switcher/index.js +30 -22
  165. package/lib/tab/index.js +338 -327
  166. package/lib/table/index.js +566 -516
  167. package/lib/table-column/index.js +13 -9
  168. package/lib/tag/index.js +36 -26
  169. package/lib/tag-input/index.js +377 -359
  170. package/lib/time-picker/index.js +13 -9
  171. package/lib/timeline/index.js +21 -15
  172. package/lib/transfer/index.js +56 -40
  173. package/lib/tree/index.d.ts +4 -0
  174. package/lib/tree/index.js +17492 -133
  175. package/lib/tree/props.d.ts +1 -0
  176. package/lib/tree/tree.css +46 -0
  177. package/lib/tree/tree.d.ts +2 -0
  178. package/lib/tree/tree.less +57 -2
  179. package/lib/tree/tree.variable.css +46 -0
  180. package/lib/tree/use-node-action.d.ts +2 -2
  181. package/lib/upload/index.js +584 -572
  182. package/lib/virtual-render/index.js +55 -43
  183. package/package.json +1 -1
  184. package/lib/plugin-popover/index.d.ts +0 -27
  185. package/lib/plugin-popover/index.js +0 -65
  186. package/lib/plugins/index.d.ts +0 -1
  187. package/lib/plugins/index.js +0 -64
@@ -30,15 +30,19 @@ __webpack_require__.d(__webpack_exports__, {
30
30
  "default": () => (/* binding */ src)
31
31
  });
32
32
 
33
- ;// CONCATENATED MODULE: external "../shared"
34
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
35
- var y = x => () => x
36
- const shared_namespaceObject = x({ ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
37
- ;// CONCATENATED MODULE: external "../table"
38
- var table_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
39
- var table_y = x => () => x
40
- const table_namespaceObject = table_x({ ["BkTableColumn"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_table_0d250d21__.BkTableColumn });
41
- ;// CONCATENATED MODULE: ../../packages/table-column/src/index.ts
33
+ ;// external "../shared"
34
+ var x = (y) => {
35
+ var x = {}; __webpack_require__.d(x, y); return x
36
+ }
37
+ var y = (x) => (() => (x))
38
+ const shared_namespaceObject = x({ ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
39
+ ;// external "../table"
40
+ var table_x = (y) => {
41
+ var x = {}; __webpack_require__.d(x, y); return x
42
+ }
43
+ var table_y = (x) => (() => (x))
44
+ const table_namespaceObject = table_x({ ["BkTableColumn"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_table_0d250d21__.BkTableColumn) });
45
+ ;// ../../packages/table-column/src/index.ts
42
46
  /*
43
47
  * Tencent is pleased to support the open source community by making
44
48
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
package/lib/tag/index.js CHANGED
@@ -34,11 +34,13 @@ __webpack_require__.d(__webpack_exports__, {
34
34
  "default": () => (/* binding */ src)
35
35
  });
36
36
 
37
- ;// CONCATENATED MODULE: external "../shared"
38
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
39
- var y = x => () => x
40
- const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["TagThemeType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.TagThemeType, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
41
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
37
+ ;// external "../shared"
38
+ var x = (y) => {
39
+ var x = {}; __webpack_require__.d(x, y); return x
40
+ }
41
+ var y = (x) => (() => (x))
42
+ const shared_namespaceObject = x({ ["PropTypes"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes), ["TagThemeType"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.TagThemeType), ["withInstall"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall) });
43
+ ;// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
42
44
  function _typeof(o) {
43
45
  "@babel/helpers - typeof";
44
46
 
@@ -48,7 +50,7 @@ function _typeof(o) {
48
50
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
49
51
  }, _typeof(o);
50
52
  }
51
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
53
+ ;// ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
52
54
 
53
55
  function toPrimitive(t, r) {
54
56
  if ("object" != _typeof(t) || !t) return t;
@@ -60,14 +62,14 @@ function toPrimitive(t, r) {
60
62
  }
61
63
  return ("string" === r ? String : Number)(t);
62
64
  }
63
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
65
+ ;// ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
64
66
 
65
67
 
66
68
  function toPropertyKey(t) {
67
69
  var i = toPrimitive(t, "string");
68
70
  return "symbol" == _typeof(i) ? i : String(i);
69
71
  }
70
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
72
+ ;// ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
71
73
 
72
74
  function _defineProperty(obj, key, value) {
73
75
  key = toPropertyKey(key);
@@ -83,23 +85,31 @@ function _defineProperty(obj, key, value) {
83
85
  }
84
86
  return obj;
85
87
  }
86
- ;// CONCATENATED MODULE: external "vue"
87
- var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
88
- var external_vue_y = x => () => x
89
- 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 });
90
- ;// CONCATENATED MODULE: external "vue-types"
91
- var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
92
- var external_vue_types_y = x => () => x
93
- const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType });
94
- ;// CONCATENATED MODULE: external "../config-provider"
95
- var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
96
- var config_provider_y = x => () => x
97
- const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
98
- ;// CONCATENATED MODULE: external "../icon"
99
- var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
100
- var icon_y = x => () => x
101
- const icon_namespaceObject = icon_x({ ["Error"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error });
102
- ;// CONCATENATED MODULE: ../../packages/tag/src/tag.tsx
88
+ ;// external "vue"
89
+ var external_vue_x = (y) => {
90
+ var x = {}; __webpack_require__.d(x, y); return x
91
+ }
92
+ var external_vue_y = (x) => (() => (x))
93
+ 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) });
94
+ ;// external "vue-types"
95
+ var external_vue_types_x = (y) => {
96
+ var x = {}; __webpack_require__.d(x, y); return x
97
+ }
98
+ var external_vue_types_y = (x) => (() => (x))
99
+ const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => (__WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType) });
100
+ ;// external "../config-provider"
101
+ var config_provider_x = (y) => {
102
+ var x = {}; __webpack_require__.d(x, y); return x
103
+ }
104
+ var config_provider_y = (x) => (() => (x))
105
+ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix) });
106
+ ;// external "../icon"
107
+ var icon_x = (y) => {
108
+ var x = {}; __webpack_require__.d(x, y); return x
109
+ }
110
+ var icon_y = (x) => (() => (x))
111
+ const icon_namespaceObject = icon_x({ ["Error"]: () => (__WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error) });
112
+ ;// ../../packages/tag/src/tag.tsx
103
113
 
104
114
 
105
115
  /*
@@ -196,7 +206,7 @@ var TagStrokeType;
196
206
  }, null)]);
197
207
  }
198
208
  }));
199
- ;// CONCATENATED MODULE: ../../packages/tag/src/index.tsx
209
+ ;// ../../packages/tag/src/index.tsx
200
210
  /*
201
211
  * Tencent is pleased to support the open source community by making
202
212
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.