bkui-vue 0.0.1-beta.391 → 0.0.1-beta.393

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 (149) hide show
  1. package/dist/index.cjs.js +35 -35
  2. package/dist/index.esm.js +856 -857
  3. package/dist/index.umd.js +9 -9
  4. package/lib/affix/index.js +128 -60
  5. package/lib/alert/index.js +124 -56
  6. package/lib/animate-number/index.js +106 -42
  7. package/lib/backtop/index.js +133 -61
  8. package/lib/badge/index.js +114 -50
  9. package/lib/breadcrumb/index.js +133 -67
  10. package/lib/button/index.js +147 -68
  11. package/lib/card/index.js +154 -69
  12. package/lib/cascader/index.js +242 -168
  13. package/lib/checkbox/index.js +139 -77
  14. package/lib/code-diff/index.js +121 -79
  15. package/lib/collapse/index.js +150 -84
  16. package/lib/color-picker/index.js +245 -193
  17. package/lib/components.js +671 -434
  18. package/lib/container/index.js +125 -64
  19. package/lib/date-picker/index.js +563 -462
  20. package/lib/dialog/index.js +198 -108
  21. package/lib/directives/index.js +138 -92
  22. package/lib/dist.index.js +133 -48
  23. package/lib/divider/index.js +118 -50
  24. package/lib/dropdown/index.js +155 -73
  25. package/lib/exception/index.js +145 -97
  26. package/lib/fixed-navbar/index.js +107 -43
  27. package/lib/form/index.js +193 -107
  28. package/lib/icon/angle-double-down-line.js +90 -30
  29. package/lib/icon/angle-double-left-line.js +90 -30
  30. package/lib/icon/angle-double-left.js +90 -30
  31. package/lib/icon/angle-double-right-line.js +90 -30
  32. package/lib/icon/angle-double-right.js +90 -30
  33. package/lib/icon/angle-double-up-line.js +90 -30
  34. package/lib/icon/angle-down-fill.js +90 -30
  35. package/lib/icon/angle-down-line.js +90 -30
  36. package/lib/icon/angle-down.js +90 -30
  37. package/lib/icon/angle-left.js +90 -30
  38. package/lib/icon/angle-right.js +90 -30
  39. package/lib/icon/angle-up-fill.js +90 -30
  40. package/lib/icon/angle-up.js +90 -30
  41. package/lib/icon/archive-fill.js +90 -30
  42. package/lib/icon/arrows-left.js +90 -30
  43. package/lib/icon/arrows-right.js +90 -30
  44. package/lib/icon/audio-fill.js +90 -30
  45. package/lib/icon/bk.js +90 -30
  46. package/lib/icon/circle.js +90 -30
  47. package/lib/icon/close-line.js +90 -30
  48. package/lib/icon/close.js +90 -30
  49. package/lib/icon/code.js +90 -30
  50. package/lib/icon/cog-shape.js +90 -30
  51. package/lib/icon/collapse-left.js +90 -30
  52. package/lib/icon/copy.js +90 -30
  53. package/lib/icon/data-shape.js +90 -30
  54. package/lib/icon/del.js +90 -30
  55. package/lib/icon/doc-fill.js +90 -30
  56. package/lib/icon/done.js +90 -30
  57. package/lib/icon/down-shape.js +90 -30
  58. package/lib/icon/down-small.js +90 -30
  59. package/lib/icon/edit-line.js +90 -30
  60. package/lib/icon/ellipsis.js +90 -30
  61. package/lib/icon/enlarge-line.js +90 -30
  62. package/lib/icon/error.js +90 -30
  63. package/lib/icon/excel-fill.js +90 -30
  64. package/lib/icon/exclamation-circle-shape.js +90 -30
  65. package/lib/icon/eye.js +90 -30
  66. package/lib/icon/filliscreen-line.js +90 -30
  67. package/lib/icon/folder-open.js +90 -30
  68. package/lib/icon/folder-shape-open.js +90 -30
  69. package/lib/icon/folder-shape.js +90 -30
  70. package/lib/icon/folder.js +90 -30
  71. package/lib/icon/funnel.js +90 -30
  72. package/lib/icon/help-document-fill.js +90 -30
  73. package/lib/icon/help-fill.js +90 -30
  74. package/lib/icon/help.js +90 -30
  75. package/lib/icon/image-fill.js +90 -30
  76. package/lib/icon/img-placehoulder.js +88 -52
  77. package/lib/icon/index.js +255 -267
  78. package/lib/icon/info-line.js +88 -52
  79. package/lib/icon/info.js +88 -52
  80. package/lib/icon/left-shape.js +88 -52
  81. package/lib/icon/left-turn-line.js +88 -52
  82. package/lib/icon/narrow-line.js +88 -52
  83. package/lib/icon/original.js +88 -52
  84. package/lib/icon/pdf-fill.js +88 -52
  85. package/lib/icon/play-shape.js +88 -52
  86. package/lib/icon/plus.js +88 -52
  87. package/lib/icon/ppt-fill.js +88 -52
  88. package/lib/icon/qq.js +88 -52
  89. package/lib/icon/right-shape.js +88 -52
  90. package/lib/icon/right-turn-line.js +88 -52
  91. package/lib/icon/search.js +88 -52
  92. package/lib/icon/share.js +88 -52
  93. package/lib/icon/spinner.js +88 -52
  94. package/lib/icon/success.js +88 -52
  95. package/lib/icon/switcher-loading.js +88 -52
  96. package/lib/icon/text-file.js +88 -52
  97. package/lib/icon/text-fill.js +88 -52
  98. package/lib/icon/transfer.js +88 -52
  99. package/lib/icon/tree-application-shape.js +88 -52
  100. package/lib/icon/unfull-screen.js +88 -52
  101. package/lib/icon/unvisible.js +88 -52
  102. package/lib/icon/up-shape.js +88 -52
  103. package/lib/icon/upload.js +88 -52
  104. package/lib/icon/video-fill.js +88 -52
  105. package/lib/icon/warn.js +88 -52
  106. package/lib/icon/weixin.js +88 -52
  107. package/lib/image/index.js +213 -164
  108. package/lib/index.js +134 -50
  109. package/lib/info-box/index.js +206 -152
  110. package/lib/input/index.js +167 -99
  111. package/lib/link/index.js +115 -47
  112. package/lib/loading/index.js +127 -67
  113. package/lib/menu/index.js +156 -92
  114. package/lib/message/index.js +148 -76
  115. package/lib/modal/index.js +151 -85
  116. package/lib/navigation/index.js +134 -66
  117. package/lib/notify/index.js +153 -81
  118. package/lib/overflow-title/index.js +128 -92
  119. package/lib/pagination/index.js +220 -131
  120. package/lib/plugin-popover/index.js +329 -148
  121. package/lib/plugins/index.js +100 -33
  122. package/lib/popover/index.js +332 -153
  123. package/lib/popover2/index.js +99 -35
  124. package/lib/preset.js +104 -37
  125. package/lib/process/index.js +134 -92
  126. package/lib/progress/index.js +127 -63
  127. package/lib/radio/index.js +142 -81
  128. package/lib/rate/index.js +127 -63
  129. package/lib/resize-layout/index.js +147 -79
  130. package/lib/search-select/index.js +220 -168
  131. package/lib/select/index.js +394 -315
  132. package/lib/shared/index.js +203 -228
  133. package/lib/sideslider/index.js +137 -88
  134. package/lib/slider/index.js +196 -147
  135. package/lib/steps/index.js +152 -105
  136. package/lib/swiper/index.js +126 -62
  137. package/lib/switcher/index.js +133 -65
  138. package/lib/tab/index.js +188 -118
  139. package/lib/table/index.js +572 -457
  140. package/lib/table-column/index.js +197 -129
  141. package/lib/tag/index.js +130 -58
  142. package/lib/tag-input/index.js +277 -175
  143. package/lib/time-picker/index.js +111 -40
  144. package/lib/timeline/index.js +114 -50
  145. package/lib/transfer/index.js +174 -89
  146. package/lib/tree/index.js +235 -158
  147. package/lib/upload/index.js +227 -173
  148. package/lib/virtual-render/index.js +154 -86
  149. package/package.json +1 -1
package/lib/tag/index.js CHANGED
@@ -1,40 +1,114 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
2
- import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
- import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
4
- import * as __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__ from "../icon";
5
- /******/ // The require scope
6
- /******/ var __webpack_require__ = {};
7
- /******/
1
+ (function webpackUniversalModuleDefinition(root, factory) {
2
+ if(typeof exports === 'object' && typeof module === 'object')
3
+ module.exports = factory(require("../shared"), require("vue"), require("vue-types"), require("../icon"));
4
+ else if(typeof define === 'function' && define.amd)
5
+ define(["../shared", "vue", "vue-types", "../icon"], factory);
6
+ else {
7
+ var a = typeof exports === 'object' ? factory(require("../shared"), require("vue"), require("vue-types"), require("../icon")) : factory(root["../shared"], root["vue"], root["vue-types"], root["../icon"]);
8
+ for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
+ }
10
+ })(self, (__WEBPACK_EXTERNAL_MODULE__4212__, __WEBPACK_EXTERNAL_MODULE__748__, __WEBPACK_EXTERNAL_MODULE__210__, __WEBPACK_EXTERNAL_MODULE__6870__) => {
11
+ return /******/ (() => { // webpackBootstrap
12
+ /******/ "use strict";
13
+ /******/ var __webpack_modules__ = ({
14
+
15
+ /***/ 6870:
16
+ /***/ ((module) => {
17
+
18
+ module.exports = __WEBPACK_EXTERNAL_MODULE__6870__;
19
+
20
+ /***/ }),
21
+
22
+ /***/ 4212:
23
+ /***/ ((module) => {
24
+
25
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
26
+
27
+ /***/ }),
28
+
29
+ /***/ 748:
30
+ /***/ ((module) => {
31
+
32
+ module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
33
+
34
+ /***/ }),
35
+
36
+ /***/ 210:
37
+ /***/ ((module) => {
38
+
39
+ module.exports = __WEBPACK_EXTERNAL_MODULE__210__;
40
+
41
+ /***/ })
42
+
43
+ /******/ });
8
44
  /************************************************************************/
9
- /******/ /* webpack/runtime/define property getters */
10
- /******/ (() => {
11
- /******/ // define getter functions for harmony exports
12
- /******/ __webpack_require__.d = (exports, definition) => {
13
- /******/ for(var key in definition) {
14
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
15
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
16
- /******/ }
45
+ /******/ // The module cache
46
+ /******/ var __webpack_module_cache__ = {};
47
+ /******/
48
+ /******/ // The require function
49
+ /******/ function __webpack_require__(moduleId) {
50
+ /******/ // Check if module is in cache
51
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
52
+ /******/ if (cachedModule !== undefined) {
53
+ /******/ return cachedModule.exports;
17
54
  /******/ }
18
- /******/ };
19
- /******/ })();
20
- /******/
21
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
22
- /******/ (() => {
23
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
24
- /******/ })();
25
- /******/
55
+ /******/ // Create a new module (and put it into the cache)
56
+ /******/ var module = __webpack_module_cache__[moduleId] = {
57
+ /******/ // no module.id needed
58
+ /******/ // no module.loaded needed
59
+ /******/ exports: {}
60
+ /******/ };
61
+ /******/
62
+ /******/ // Execute the module function
63
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
64
+ /******/
65
+ /******/ // Return the exports of the module
66
+ /******/ return module.exports;
67
+ /******/ }
68
+ /******/
69
+ /************************************************************************/
70
+ /******/ /* webpack/runtime/define property getters */
71
+ /******/ (() => {
72
+ /******/ // define getter functions for harmony exports
73
+ /******/ __webpack_require__.d = (exports, definition) => {
74
+ /******/ for(var key in definition) {
75
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
76
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
77
+ /******/ }
78
+ /******/ }
79
+ /******/ };
80
+ /******/ })();
81
+ /******/
82
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
83
+ /******/ (() => {
84
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
85
+ /******/ })();
86
+ /******/
87
+ /******/ /* webpack/runtime/make namespace object */
88
+ /******/ (() => {
89
+ /******/ // define __esModule on exports
90
+ /******/ __webpack_require__.r = (exports) => {
91
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
92
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
93
+ /******/ }
94
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
95
+ /******/ };
96
+ /******/ })();
97
+ /******/
26
98
  /************************************************************************/
27
99
  var __webpack_exports__ = {};
100
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
101
+ (() => {
102
+ // ESM COMPAT FLAG
103
+ __webpack_require__.r(__webpack_exports__);
28
104
 
29
105
  // EXPORTS
30
106
  __webpack_require__.d(__webpack_exports__, {
31
- "Z": () => (/* binding */ src)
107
+ "default": () => (/* binding */ src)
32
108
  });
33
109
 
34
- ;// CONCATENATED MODULE: external "../shared"
35
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
36
- var y = x => () => x
37
- const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["TagThemeType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.TagThemeType, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
110
+ // EXTERNAL MODULE: external "../shared"
111
+ var external_shared_ = __webpack_require__(4212);
38
112
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
39
113
  function _defineProperty(obj, key, value) {
40
114
  if (key in obj) {
@@ -50,18 +124,12 @@ function _defineProperty(obj, key, value) {
50
124
 
51
125
  return obj;
52
126
  }
53
- ;// CONCATENATED MODULE: external "vue"
54
- var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
55
- var external_vue_y = x => () => x
56
- 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 });
57
- ;// CONCATENATED MODULE: external "vue-types"
58
- var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
59
- var external_vue_types_y = x => () => x
60
- const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType });
61
- ;// CONCATENATED MODULE: external "../icon"
62
- var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
63
- var external_icon_y = x => () => x
64
- const external_icon_namespaceObject = external_icon_x({ ["Error"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Error });
127
+ // EXTERNAL MODULE: external "vue"
128
+ var external_vue_ = __webpack_require__(748);
129
+ // EXTERNAL MODULE: external "vue-types"
130
+ var external_vue_types_ = __webpack_require__(210);
131
+ // EXTERNAL MODULE: external "../icon"
132
+ var external_icon_ = __webpack_require__(6870);
65
133
  ;// CONCATENATED MODULE: ../../packages/tag/src/tag.tsx
66
134
 
67
135
 
@@ -103,31 +171,31 @@ var TagStrokeType;
103
171
  TagStrokeType["STROKE"] = "stroke";
104
172
  })(TagStrokeType || (TagStrokeType = {}));
105
173
 
106
- /* harmony default export */ const tag = ((0,external_vue_namespaceObject.defineComponent)({
174
+ /* harmony default export */ const tag = ((0,external_vue_.defineComponent)({
107
175
  name: 'Tag',
108
176
  props: {
109
- theme: (0,external_shared_namespaceObject.TagThemeType)(),
110
- closable: external_shared_namespaceObject.PropTypes.bool.def(false),
111
- type: (0,external_vue_types_namespaceObject.toType)('tagStorkeType', {}).def(TagStrokeType.UNKNOWN),
112
- checkable: external_shared_namespaceObject.PropTypes.bool.def(false),
113
- checked: external_shared_namespaceObject.PropTypes.bool.def(false),
114
- radius: external_shared_namespaceObject.PropTypes.string.def('2px'),
115
- extCls: external_shared_namespaceObject.PropTypes.string.def('')
177
+ theme: (0,external_shared_.TagThemeType)(),
178
+ closable: external_shared_.PropTypes.bool.def(false),
179
+ type: (0,external_vue_types_.toType)('tagStorkeType', {}).def(TagStrokeType.UNKNOWN),
180
+ checkable: external_shared_.PropTypes.bool.def(false),
181
+ checked: external_shared_.PropTypes.bool.def(false),
182
+ radius: external_shared_.PropTypes.string.def('2px'),
183
+ extCls: external_shared_.PropTypes.string.def('')
116
184
  },
117
185
  emits: ['change', 'close'],
118
186
  slots: ['icon'],
119
187
  setup: function setup(props, _ref) {
120
188
  var emit = _ref.emit;
121
- var wrapperCls = (0,external_vue_namespaceObject.computed)(function () {
189
+ var wrapperCls = (0,external_vue_.computed)(function () {
122
190
  var _classes;
123
191
 
124
- return (0,external_shared_namespaceObject.classes)((_classes = {
192
+ return (0,external_shared_.classes)((_classes = {
125
193
  'bk-tag-closable': props.closable,
126
194
  'bk-tag-checkable': props.checkable,
127
195
  'bk-tag-check': props.checked
128
196
  }, _defineProperty(_classes, "bk-tag-".concat(props.type), props.type), _defineProperty(_classes, "bk-tag-".concat(props.theme), props.theme), _defineProperty(_classes, props.extCls, !!props.extCls), _classes), 'bk-tag');
129
197
  });
130
- var wrapperStyle = (0,external_vue_namespaceObject.computed)(function () {
198
+ var wrapperStyle = (0,external_vue_.computed)(function () {
131
199
  return {
132
200
  borderRadius: props.radius
133
201
  };
@@ -158,15 +226,15 @@ var TagStrokeType;
158
226
  render: function render() {
159
227
  var _a, _b;
160
228
 
161
- return (0,external_vue_namespaceObject.createVNode)("div", {
229
+ return (0,external_vue_.createVNode)("div", {
162
230
  "class": this.wrapperCls,
163
231
  "style": this.wrapperStyle,
164
232
  "onClick": this.handleClick
165
- }, [this.$slots.icon ? (0,external_vue_namespaceObject.createVNode)("span", {
233
+ }, [this.$slots.icon ? (0,external_vue_.createVNode)("span", {
166
234
  "class": "bk-tag-icon"
167
- }, [this.$slots.icon()]) : '', (0,external_vue_namespaceObject.createVNode)("span", {
235
+ }, [this.$slots.icon()]) : '', (0,external_vue_.createVNode)("span", {
168
236
  "class": "bk-tag-text"
169
- }, [(_b = (_a = this.$slots)["default"]) === null || _b === void 0 ? void 0 : _b.call(_a)]), this.closable ? (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Error, {
237
+ }, [(_b = (_a = this.$slots)["default"]) === null || _b === void 0 ? void 0 : _b.call(_a)]), this.closable ? (0,external_vue_.createVNode)(external_icon_.Error, {
170
238
  "class": "bk-tag-close",
171
239
  "onClick": this.handleClose
172
240
  }, null) : '']);
@@ -200,7 +268,11 @@ var TagStrokeType;
200
268
  */
201
269
 
202
270
 
203
- var BkTag = (0,external_shared_namespaceObject.withInstall)(tag);
271
+ var BkTag = (0,external_shared_.withInstall)(tag);
204
272
  /* harmony default export */ const src = (BkTag);
205
- var __webpack_exports__default = __webpack_exports__.Z;
206
- export { __webpack_exports__default as default };
273
+ })();
274
+
275
+ /******/ return __webpack_exports__;
276
+ /******/ })()
277
+ ;
278
+ });