bkui-vue 0.0.1-beta.389 → 0.0.1-beta.390

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 (207) hide show
  1. package/lib/affix/index.js +60 -128
  2. package/lib/alert/index.js +56 -124
  3. package/lib/animate-number/index.js +42 -106
  4. package/lib/backtop/index.js +61 -133
  5. package/lib/badge/badge.d.ts +1 -1
  6. package/lib/badge/index.d.ts +4 -4
  7. package/lib/badge/index.js +50 -114
  8. package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
  9. package/lib/breadcrumb/breadcrumb.d.ts +1 -1
  10. package/lib/breadcrumb/index.d.ts +5 -5
  11. package/lib/breadcrumb/index.js +67 -133
  12. package/lib/button/index.js +68 -147
  13. package/lib/card/index.js +69 -154
  14. package/lib/cascader/cascader.d.ts +3 -3
  15. package/lib/cascader/index.d.ts +10 -10
  16. package/lib/cascader/index.js +168 -242
  17. package/lib/checkbox/index.js +77 -139
  18. package/lib/code-diff/index.js +79 -121
  19. package/lib/collapse/index.js +84 -150
  20. package/lib/color-picker/color-picker.d.ts +1 -1
  21. package/lib/color-picker/index.d.ts +4 -4
  22. package/lib/color-picker/index.js +193 -245
  23. package/lib/components.js +434 -671
  24. package/lib/container/container.d.ts +1 -1
  25. package/lib/container/index.d.ts +4 -4
  26. package/lib/container/index.js +64 -125
  27. package/lib/date-picker/date-picker.d.ts +2 -2
  28. package/lib/date-picker/index.d.ts +7 -7
  29. package/lib/date-picker/index.js +462 -563
  30. package/lib/date-picker/panel/time-range.d.ts +3 -3
  31. package/lib/date-picker/panel/time.d.ts +3 -3
  32. package/lib/date-picker/time-picker.d.ts +3 -3
  33. package/lib/dialog/dialog.d.ts +2 -2
  34. package/lib/dialog/index.d.ts +7 -7
  35. package/lib/dialog/index.js +108 -198
  36. package/lib/directives/index.d.ts +0 -2
  37. package/lib/directives/index.js +86 -140
  38. package/lib/dist.index.js +48 -133
  39. package/lib/divider/index.js +50 -118
  40. package/lib/dropdown/dropdown.d.ts +2 -2
  41. package/lib/dropdown/index.d.ts +7 -7
  42. package/lib/dropdown/index.js +73 -155
  43. package/lib/exception/index.js +97 -145
  44. package/lib/fixed-navbar/fixed-navbar.d.ts +1 -1
  45. package/lib/fixed-navbar/index.d.ts +4 -4
  46. package/lib/fixed-navbar/index.js +43 -107
  47. package/lib/form/form-item.d.ts +1 -1
  48. package/lib/form/index.d.ts +1 -1
  49. package/lib/form/index.js +107 -193
  50. package/lib/icon/angle-double-down-line.js +30 -90
  51. package/lib/icon/angle-double-left-line.js +30 -90
  52. package/lib/icon/angle-double-left.js +30 -90
  53. package/lib/icon/angle-double-right-line.js +30 -90
  54. package/lib/icon/angle-double-right.js +30 -90
  55. package/lib/icon/angle-double-up-line.js +30 -90
  56. package/lib/icon/angle-down-fill.js +30 -90
  57. package/lib/icon/angle-down-line.js +30 -90
  58. package/lib/icon/angle-down.js +30 -90
  59. package/lib/icon/angle-left.js +30 -90
  60. package/lib/icon/angle-right.js +30 -90
  61. package/lib/icon/angle-up-fill.js +30 -90
  62. package/lib/icon/angle-up.js +30 -90
  63. package/lib/icon/archive-fill.js +30 -90
  64. package/lib/icon/arrows-left.js +30 -90
  65. package/lib/icon/arrows-right.js +30 -90
  66. package/lib/icon/audio-fill.js +30 -90
  67. package/lib/icon/bk.js +30 -90
  68. package/lib/icon/circle.js +30 -90
  69. package/lib/icon/close-line.js +30 -90
  70. package/lib/icon/close.js +30 -90
  71. package/lib/icon/code.js +30 -90
  72. package/lib/icon/cog-shape.js +30 -90
  73. package/lib/icon/collapse-left.js +30 -90
  74. package/lib/icon/copy.js +30 -90
  75. package/lib/icon/data-shape.js +30 -90
  76. package/lib/icon/del.js +30 -90
  77. package/lib/icon/doc-fill.js +30 -90
  78. package/lib/icon/done.js +30 -90
  79. package/lib/icon/down-shape.js +30 -90
  80. package/lib/icon/down-small.js +30 -90
  81. package/lib/icon/edit-line.js +30 -90
  82. package/lib/icon/ellipsis.js +30 -90
  83. package/lib/icon/enlarge-line.js +30 -90
  84. package/lib/icon/error.js +30 -90
  85. package/lib/icon/excel-fill.js +30 -90
  86. package/lib/icon/exclamation-circle-shape.js +30 -90
  87. package/lib/icon/eye.js +30 -90
  88. package/lib/icon/filliscreen-line.js +30 -90
  89. package/lib/icon/folder-open.js +30 -90
  90. package/lib/icon/folder-shape-open.js +30 -90
  91. package/lib/icon/folder-shape.js +30 -90
  92. package/lib/icon/folder.js +30 -90
  93. package/lib/icon/funnel.js +30 -90
  94. package/lib/icon/help-document-fill.js +30 -90
  95. package/lib/icon/help-fill.js +30 -90
  96. package/lib/icon/help.js +30 -90
  97. package/lib/icon/image-fill.js +30 -90
  98. package/lib/icon/img-placehoulder.js +52 -88
  99. package/lib/icon/index.js +267 -255
  100. package/lib/icon/info-line.js +52 -88
  101. package/lib/icon/info.js +52 -88
  102. package/lib/icon/left-shape.js +52 -88
  103. package/lib/icon/left-turn-line.js +52 -88
  104. package/lib/icon/narrow-line.js +52 -88
  105. package/lib/icon/original.js +52 -88
  106. package/lib/icon/pdf-fill.js +52 -88
  107. package/lib/icon/play-shape.js +52 -88
  108. package/lib/icon/plus.js +52 -88
  109. package/lib/icon/ppt-fill.js +52 -88
  110. package/lib/icon/qq.js +52 -88
  111. package/lib/icon/right-shape.js +52 -88
  112. package/lib/icon/right-turn-line.js +52 -88
  113. package/lib/icon/search.js +52 -88
  114. package/lib/icon/share.js +52 -88
  115. package/lib/icon/spinner.js +52 -88
  116. package/lib/icon/success.js +52 -88
  117. package/lib/icon/switcher-loading.js +52 -88
  118. package/lib/icon/text-file.js +52 -88
  119. package/lib/icon/text-fill.js +52 -88
  120. package/lib/icon/transfer.js +52 -88
  121. package/lib/icon/tree-application-shape.js +52 -88
  122. package/lib/icon/unfull-screen.js +52 -88
  123. package/lib/icon/unvisible.js +52 -88
  124. package/lib/icon/up-shape.js +52 -88
  125. package/lib/icon/upload.js +52 -88
  126. package/lib/icon/video-fill.js +52 -88
  127. package/lib/icon/warn.js +52 -88
  128. package/lib/icon/weixin.js +52 -88
  129. package/lib/image/index.js +164 -213
  130. package/lib/index.js +50 -134
  131. package/lib/info-box/index.js +152 -206
  132. package/lib/input/index.d.ts +4 -4
  133. package/lib/input/index.js +99 -167
  134. package/lib/input/input.d.ts +1 -1
  135. package/lib/link/index.d.ts +4 -4
  136. package/lib/link/index.js +47 -115
  137. package/lib/link/link.d.ts +1 -1
  138. package/lib/loading/index.d.ts +4 -4
  139. package/lib/loading/index.js +67 -127
  140. package/lib/loading/loading.d.ts +1 -1
  141. package/lib/menu/index.js +92 -156
  142. package/lib/message/index.js +76 -148
  143. package/lib/modal/index.d.ts +4 -4
  144. package/lib/modal/index.js +85 -151
  145. package/lib/modal/modal.d.ts +1 -1
  146. package/lib/navigation/index.js +66 -134
  147. package/lib/notify/index.js +81 -153
  148. package/lib/notify/notifyConstructor.d.ts +1 -1
  149. package/lib/overflow-title/index.js +92 -128
  150. package/lib/pagination/index.d.ts +4 -4
  151. package/lib/pagination/index.js +131 -220
  152. package/lib/pagination/pagination.d.ts +1 -1
  153. package/lib/plugin-popover/index.js +143 -191
  154. package/lib/plugins/index.js +33 -100
  155. package/lib/popover/index.d.ts +10 -10
  156. package/lib/popover/index.js +148 -194
  157. package/lib/popover/popover.d.ts +3 -3
  158. package/lib/popover2/index.js +35 -99
  159. package/lib/preset.js +37 -104
  160. package/lib/process/index.d.ts +4 -4
  161. package/lib/process/index.js +92 -134
  162. package/lib/process/process.d.ts +1 -1
  163. package/lib/progress/index.d.ts +7 -7
  164. package/lib/progress/index.js +63 -127
  165. package/lib/progress/progress.d.ts +2 -2
  166. package/lib/radio/index.js +81 -142
  167. package/lib/rate/index.js +63 -127
  168. package/lib/resize-layout/index.js +79 -147
  169. package/lib/search-select/index.js +168 -220
  170. package/lib/select/index.d.ts +10 -10
  171. package/lib/select/index.js +315 -394
  172. package/lib/select/select.d.ts +3 -3
  173. package/lib/shared/index.js +228 -203
  174. package/lib/sideslider/index.d.ts +4 -4
  175. package/lib/sideslider/index.js +88 -137
  176. package/lib/sideslider/sideslider.d.ts +1 -1
  177. package/lib/slider/index.d.ts +7 -7
  178. package/lib/slider/index.js +147 -196
  179. package/lib/slider/slider.d.ts +2 -2
  180. package/lib/steps/index.js +105 -152
  181. package/lib/swiper/index.js +62 -126
  182. package/lib/switcher/index.d.ts +4 -4
  183. package/lib/switcher/index.js +65 -133
  184. package/lib/switcher/switcher.d.ts +1 -1
  185. package/lib/tab/index.d.ts +4 -4
  186. package/lib/tab/index.js +118 -188
  187. package/lib/tab/tab.d.ts +1 -1
  188. package/lib/table/index.js +457 -572
  189. package/lib/table-column/index.js +129 -197
  190. package/lib/tag/index.js +58 -130
  191. package/lib/tag-input/index.d.ts +7 -7
  192. package/lib/tag-input/index.js +175 -277
  193. package/lib/tag-input/tag-input.d.ts +2 -2
  194. package/lib/time-picker/index.d.ts +10 -10
  195. package/lib/time-picker/index.js +40 -111
  196. package/lib/timeline/index.d.ts +4 -4
  197. package/lib/timeline/index.js +50 -114
  198. package/lib/timeline/timeline.d.ts +1 -1
  199. package/lib/transfer/index.js +89 -174
  200. package/lib/tree/index.js +158 -235
  201. package/lib/upload/index.d.ts +7 -7
  202. package/lib/upload/index.js +173 -227
  203. package/lib/upload/upload-list.d.ts +1 -1
  204. package/lib/upload/upload-trigger.d.ts +1 -1
  205. package/lib/upload/upload.d.ts +2 -2
  206. package/lib/virtual-render/index.js +86 -154
  207. package/package.json +1 -1
@@ -1,100 +1,38 @@
1
- (function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("../shared"), require("vue"));
4
- else if(typeof define === 'function' && define.amd)
5
- define(["../shared", "vue"], factory);
6
- else {
7
- var a = typeof exports === 'object' ? factory(require("../shared"), require("vue")) : factory(root["../shared"], root["vue"]);
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__) => {
11
- return /******/ (() => { // webpackBootstrap
12
- /******/ "use strict";
13
- /******/ var __webpack_modules__ = ({
14
-
15
- /***/ 4212:
16
- /***/ ((module) => {
17
-
18
- module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
19
-
20
- /***/ }),
21
-
22
- /***/ 748:
23
- /***/ ((module) => {
24
-
25
- module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
26
-
27
- /***/ })
28
-
29
- /******/ });
30
- /************************************************************************/
31
- /******/ // The module cache
32
- /******/ var __webpack_module_cache__ = {};
33
- /******/
34
- /******/ // The require function
35
- /******/ function __webpack_require__(moduleId) {
36
- /******/ // Check if module is in cache
37
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
38
- /******/ if (cachedModule !== undefined) {
39
- /******/ return cachedModule.exports;
40
- /******/ }
41
- /******/ // Create a new module (and put it into the cache)
42
- /******/ var module = __webpack_module_cache__[moduleId] = {
43
- /******/ // no module.id needed
44
- /******/ // no module.loaded needed
45
- /******/ exports: {}
46
- /******/ };
47
- /******/
48
- /******/ // Execute the module function
49
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
50
- /******/
51
- /******/ // Return the exports of the module
52
- /******/ return module.exports;
53
- /******/ }
54
- /******/
1
+ import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
2
+ import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
+ /******/ // The require scope
4
+ /******/ var __webpack_require__ = {};
5
+ /******/
55
6
  /************************************************************************/
56
- /******/ /* webpack/runtime/define property getters */
57
- /******/ (() => {
58
- /******/ // define getter functions for harmony exports
59
- /******/ __webpack_require__.d = (exports, definition) => {
60
- /******/ for(var key in definition) {
61
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
62
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
63
- /******/ }
7
+ /******/ /* webpack/runtime/define property getters */
8
+ /******/ (() => {
9
+ /******/ // define getter functions for harmony exports
10
+ /******/ __webpack_require__.d = (exports, definition) => {
11
+ /******/ for(var key in definition) {
12
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
13
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
64
14
  /******/ }
65
- /******/ };
66
- /******/ })();
67
- /******/
68
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
69
- /******/ (() => {
70
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
71
- /******/ })();
72
- /******/
73
- /******/ /* webpack/runtime/make namespace object */
74
- /******/ (() => {
75
- /******/ // define __esModule on exports
76
- /******/ __webpack_require__.r = (exports) => {
77
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
78
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
79
- /******/ }
80
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
81
- /******/ };
82
- /******/ })();
83
- /******/
15
+ /******/ }
16
+ /******/ };
17
+ /******/ })();
18
+ /******/
19
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
20
+ /******/ (() => {
21
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
22
+ /******/ })();
23
+ /******/
84
24
  /************************************************************************/
85
25
  var __webpack_exports__ = {};
86
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
87
- (() => {
88
- // ESM COMPAT FLAG
89
- __webpack_require__.r(__webpack_exports__);
90
26
 
91
27
  // EXPORTS
92
28
  __webpack_require__.d(__webpack_exports__, {
93
- "default": () => (/* binding */ src)
29
+ "Z": () => (/* binding */ src)
94
30
  });
95
31
 
96
- // EXTERNAL MODULE: external "../shared"
97
- var external_shared_ = __webpack_require__(4212);
32
+ ;// CONCATENATED MODULE: external "../shared"
33
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
34
+ var y = x => () => x
35
+ const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
98
36
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
99
37
  function _defineProperty(obj, key, value) {
100
38
  if (key in obj) {
@@ -110,8 +48,10 @@ function _defineProperty(obj, key, value) {
110
48
 
111
49
  return obj;
112
50
  }
113
- // EXTERNAL MODULE: external "vue"
114
- var external_vue_ = __webpack_require__(748);
51
+ ;// CONCATENATED MODULE: external "vue"
52
+ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
53
+ var external_vue_y = x => () => x
54
+ 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 });
115
55
  ;// CONCATENATED MODULE: ../../packages/badge/src/badge.tsx
116
56
 
117
57
 
@@ -143,32 +83,32 @@ var external_vue_ = __webpack_require__(748);
143
83
  */
144
84
 
145
85
 
146
- /* harmony default export */ const badge = ((0,external_vue_.defineComponent)({
86
+ /* harmony default export */ const badge = ((0,external_vue_namespaceObject.defineComponent)({
147
87
  name: 'Badge',
148
88
  props: {
149
89
  /** badge theme */
150
- theme: external_shared_.PropTypes.string.def('primary'),
90
+ theme: external_shared_namespaceObject.PropTypes.string.def('primary'),
151
91
 
152
92
  /** Number to show in badge */
153
- count: external_shared_.PropTypes.oneOfType([String, Number]).def(1),
154
- position: external_shared_.PropTypes.string.def('top-right'),
155
- radius: external_shared_.PropTypes.string,
156
- valLength: external_shared_.PropTypes.number.def(3),
93
+ count: external_shared_namespaceObject.PropTypes.oneOfType([String, Number]).def(1),
94
+ position: external_shared_namespaceObject.PropTypes.string.def('top-right'),
95
+ radius: external_shared_namespaceObject.PropTypes.string,
96
+ valLength: external_shared_namespaceObject.PropTypes.number.def(3),
157
97
 
158
98
  /** Show capped numeric value */
159
- overflowCount: external_shared_.PropTypes.number.def(99),
99
+ overflowCount: external_shared_namespaceObject.PropTypes.number.def(99),
160
100
 
161
101
  /** Whether to show red dots with no content */
162
- dot: external_shared_.PropTypes.bool.def(false),
163
- visible: external_shared_.PropTypes.bool.def(false),
102
+ dot: external_shared_namespaceObject.PropTypes.bool.def(false),
103
+ visible: external_shared_namespaceObject.PropTypes.bool.def(false),
164
104
 
165
105
  /** 外部设置的 class name */
166
- extCls: external_shared_.PropTypes.string
106
+ extCls: external_shared_namespaceObject.PropTypes.string
167
107
  },
168
108
  emits: ['hover', 'leave'],
169
109
  setup: function setup(props, _ref) {
170
110
  var emit = _ref.emit;
171
- var numberCount = (0,external_vue_.computed)(function () {
111
+ var numberCount = (0,external_vue_namespaceObject.computed)(function () {
172
112
  if (typeof props.count === 'string') {
173
113
  var valueText = props.count;
174
114
  valueText += '';
@@ -185,7 +125,7 @@ var external_vue_ = __webpack_require__(748);
185
125
 
186
126
  return props.count > props.overflowCount ? "".concat(props.overflowCount, "+") : props.count;
187
127
  });
188
- var radiusStyle = (0,external_vue_.computed)(function () {
128
+ var radiusStyle = (0,external_vue_namespaceObject.computed)(function () {
189
129
  var isRadius = props.radius !== undefined && /^\d+(%|px|em|rem|vh|vw)?$/.test(props.radius);
190
130
  var radiusValue = isRadius && /^\d+$/.test(props.radius) && "".concat(props.radius, "px") || props.radius;
191
131
  return {
@@ -221,14 +161,14 @@ var external_vue_ = __webpack_require__(748);
221
161
 
222
162
  var _a, _b, _c, _d, _e, _f;
223
163
 
224
- var wrapperClasses = (0,external_shared_.classes)({
164
+ var wrapperClasses = (0,external_shared_namespaceObject.classes)({
225
165
  'bk-badge-main': true
226
166
  }, this.$props.extCls);
227
- var badgeClass = (0,external_shared_.classes)((_classes = {}, _defineProperty(_classes, "bk-badge bk-".concat(this.$props.theme), !!this.$props.theme), _defineProperty(_classes, 'pinned ', this.$slots["default"]), _defineProperty(_classes, 'dot', this.$props.dot), _defineProperty(_classes, "".concat(this.$props.position), this.$slots["default"]), _defineProperty(_classes, 'bk-badge-icon is-icon', this.$slots.icon), _classes), '');
228
- var number = !this.$props.dot ? (0,external_vue_.createVNode)("span", null, [this.numberCount]) : '';
229
- return (0,external_vue_.createVNode)("div", {
167
+ var badgeClass = (0,external_shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, "bk-badge bk-".concat(this.$props.theme), !!this.$props.theme), _defineProperty(_classes, 'pinned ', this.$slots["default"]), _defineProperty(_classes, 'dot', this.$props.dot), _defineProperty(_classes, "".concat(this.$props.position), this.$slots["default"]), _defineProperty(_classes, 'bk-badge-icon is-icon', this.$slots.icon), _classes), '');
168
+ var number = !this.$props.dot ? (0,external_vue_namespaceObject.createVNode)("span", null, [this.numberCount]) : '';
169
+ return (0,external_vue_namespaceObject.createVNode)("div", {
230
170
  "class": wrapperClasses
231
- }, [(_c = (_b = (_a = this.$slots)["default"]) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : '', !this.$props.visible ? (0,external_vue_.createVNode)("span", {
171
+ }, [(_c = (_b = (_a = this.$slots)["default"]) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : '', !this.$props.visible ? (0,external_vue_namespaceObject.createVNode)("span", {
232
172
  "class": badgeClass,
233
173
  "style": this.radiusStyle,
234
174
  "onMouseenter": this.handleHover,
@@ -264,11 +204,7 @@ var external_vue_ = __webpack_require__(748);
264
204
  */
265
205
 
266
206
 
267
- var BkBadge = (0,external_shared_.withInstall)(badge);
207
+ var BkBadge = (0,external_shared_namespaceObject.withInstall)(badge);
268
208
  /* harmony default export */ const src = (BkBadge);
269
- })();
270
-
271
- /******/ return __webpack_exports__;
272
- /******/ })()
273
- ;
274
- });
209
+ var __webpack_exports__default = __webpack_exports__.Z;
210
+ export { __webpack_exports__default as default };
@@ -30,9 +30,9 @@ declare const _default: import("vue").DefineComponent<{
30
30
  onClick?: (...args: any[]) => any;
31
31
  }, {
32
32
  replace: boolean;
33
+ extCls: string;
33
34
  to: string | {
34
35
  [key: string]: any;
35
36
  };
36
- extCls: string;
37
37
  }>;
38
38
  export default _default;
@@ -44,8 +44,8 @@ declare const _default: import("vue").DefineComponent<{
44
44
  };
45
45
  }>>, {
46
46
  replace: boolean;
47
- separator: string;
48
47
  extCls: string;
48
+ separator: string;
49
49
  separatorClass: string;
50
50
  backRouter: string | {
51
51
  [key: string]: any;
@@ -5,8 +5,8 @@ declare const BkBreadcrumb: {
5
5
  $data: {};
6
6
  $props: Partial<{
7
7
  replace: boolean;
8
- separator: string;
9
8
  extCls: string;
9
+ separator: string;
10
10
  separatorClass: string;
11
11
  backRouter: string | {
12
12
  [key: string]: any;
@@ -33,7 +33,7 @@ declare const BkBreadcrumb: {
33
33
  [key: string]: any;
34
34
  });
35
35
  };
36
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "replace" | "separator" | "extCls" | "separatorClass" | "backRouter">;
36
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "replace" | "extCls" | "separator" | "separatorClass" | "backRouter">;
37
37
  $attrs: {
38
38
  [x: string]: unknown;
39
39
  };
@@ -71,8 +71,8 @@ declare const BkBreadcrumb: {
71
71
  };
72
72
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
73
73
  replace: boolean;
74
- separator: string;
75
74
  extCls: string;
75
+ separator: string;
76
76
  separatorClass: string;
77
77
  backRouter: string | {
78
78
  [key: string]: any;
@@ -147,8 +147,8 @@ declare const BkBreadcrumb: {
147
147
  };
148
148
  }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
149
149
  replace: boolean;
150
- separator: string;
151
150
  extCls: string;
151
+ separator: string;
152
152
  separatorClass: string;
153
153
  backRouter: string | {
154
154
  [key: string]: any;
@@ -186,10 +186,10 @@ declare const BkBreadcrumb: {
186
186
  onClick?: (...args: any[]) => any;
187
187
  }, {
188
188
  replace: boolean;
189
+ extCls: string;
189
190
  to: string | {
190
191
  [key: string]: any;
191
192
  };
192
- extCls: string;
193
193
  }>;
194
194
  }>;
195
195
  export { BkBreadcrumb, BreadcrumbItem as BkBreadcrumbItem, };
@@ -1,113 +1,49 @@
1
- (function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("../shared"), require("vue"), require("../icon"));
4
- else if(typeof define === 'function' && define.amd)
5
- define(["../shared", "vue", "../icon"], factory);
6
- else {
7
- var a = typeof exports === 'object' ? factory(require("../shared"), require("vue"), require("../icon")) : factory(root["../shared"], root["vue"], 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__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
- /******/ });
37
- /************************************************************************/
38
- /******/ // The module cache
39
- /******/ var __webpack_module_cache__ = {};
40
- /******/
41
- /******/ // The require function
42
- /******/ function __webpack_require__(moduleId) {
43
- /******/ // Check if module is in cache
44
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
45
- /******/ if (cachedModule !== undefined) {
46
- /******/ return cachedModule.exports;
47
- /******/ }
48
- /******/ // Create a new module (and put it into the cache)
49
- /******/ var module = __webpack_module_cache__[moduleId] = {
50
- /******/ // no module.id needed
51
- /******/ // no module.loaded needed
52
- /******/ exports: {}
53
- /******/ };
54
- /******/
55
- /******/ // Execute the module function
56
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
57
- /******/
58
- /******/ // Return the exports of the module
59
- /******/ return module.exports;
60
- /******/ }
61
- /******/
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__icon_85385c3e__ from "../icon";
4
+ /******/ // The require scope
5
+ /******/ var __webpack_require__ = {};
6
+ /******/
62
7
  /************************************************************************/
63
- /******/ /* webpack/runtime/define property getters */
64
- /******/ (() => {
65
- /******/ // define getter functions for harmony exports
66
- /******/ __webpack_require__.d = (exports, definition) => {
67
- /******/ for(var key in definition) {
68
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
69
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
70
- /******/ }
8
+ /******/ /* webpack/runtime/define property getters */
9
+ /******/ (() => {
10
+ /******/ // define getter functions for harmony exports
11
+ /******/ __webpack_require__.d = (exports, definition) => {
12
+ /******/ for(var key in definition) {
13
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
14
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
71
15
  /******/ }
72
- /******/ };
73
- /******/ })();
74
- /******/
75
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
76
- /******/ (() => {
77
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
78
- /******/ })();
79
- /******/
80
- /******/ /* webpack/runtime/make namespace object */
81
- /******/ (() => {
82
- /******/ // define __esModule on exports
83
- /******/ __webpack_require__.r = (exports) => {
84
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
85
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
86
- /******/ }
87
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
88
- /******/ };
89
- /******/ })();
90
- /******/
16
+ /******/ }
17
+ /******/ };
18
+ /******/ })();
19
+ /******/
20
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
21
+ /******/ (() => {
22
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
23
+ /******/ })();
24
+ /******/
91
25
  /************************************************************************/
92
26
  var __webpack_exports__ = {};
93
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
94
- (() => {
95
- // ESM COMPAT FLAG
96
- __webpack_require__.r(__webpack_exports__);
97
27
 
98
28
  // EXPORTS
99
29
  __webpack_require__.d(__webpack_exports__, {
100
- "BkBreadcrumb": () => (/* binding */ BkBreadcrumb),
101
- "BkBreadcrumbItem": () => (/* reexport */ breadcrumb_item),
102
- "default": () => (/* binding */ src)
30
+ "e$": () => (/* binding */ BkBreadcrumb),
31
+ "G7": () => (/* reexport */ breadcrumb_item),
32
+ "ZP": () => (/* binding */ src)
103
33
  });
104
34
 
105
- // EXTERNAL MODULE: external "../shared"
106
- var external_shared_ = __webpack_require__(4212);
107
- // EXTERNAL MODULE: external "vue"
108
- var external_vue_ = __webpack_require__(748);
109
- // EXTERNAL MODULE: external "../icon"
110
- var external_icon_ = __webpack_require__(6870);
35
+ ;// CONCATENATED MODULE: external "../shared"
36
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
37
+ var y = x => () => x
38
+ const external_shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["classes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.classes, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstallProps });
39
+ ;// CONCATENATED MODULE: external "vue"
40
+ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
41
+ var external_vue_y = x => () => x
42
+ const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["getCurrentInstance"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.getCurrentInstance, ["inject"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.inject, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["provide"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.provide });
43
+ ;// CONCATENATED MODULE: external "../icon"
44
+ var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
45
+ var external_icon_y = x => () => x
46
+ const external_icon_namespaceObject = external_icon_x({ ["ArrowsLeft"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.ArrowsLeft });
111
47
  ;// CONCATENATED MODULE: ../../packages/breadcrumb/src/breadcrumb.tsx
112
48
 
113
49
 
@@ -139,31 +75,31 @@ var external_icon_ = __webpack_require__(6870);
139
75
 
140
76
 
141
77
 
142
- /* harmony default export */ const breadcrumb = ((0,external_vue_.defineComponent)({
78
+ /* harmony default export */ const breadcrumb = ((0,external_vue_namespaceObject.defineComponent)({
143
79
  name: 'Breadcrumb',
144
80
  props: {
145
- extCls: external_shared_.PropTypes.string,
146
- separator: external_shared_.PropTypes.string.def('/'),
147
- separatorClass: external_shared_.PropTypes.string,
148
- replace: external_shared_.PropTypes.bool,
149
- backRouter: external_shared_.PropTypes.oneOfType([external_shared_.PropTypes.string, external_shared_.PropTypes.object]).def('')
81
+ extCls: external_shared_namespaceObject.PropTypes.string,
82
+ separator: external_shared_namespaceObject.PropTypes.string.def('/'),
83
+ separatorClass: external_shared_namespaceObject.PropTypes.string,
84
+ replace: external_shared_namespaceObject.PropTypes.bool,
85
+ backRouter: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.object]).def('')
150
86
  },
151
87
  setup: function setup(props, _ref) {
152
88
  var slots = _ref.slots;
153
89
 
154
- var _getCurrentInstance = (0,external_vue_.getCurrentInstance)(),
90
+ var _getCurrentInstance = (0,external_vue_namespaceObject.getCurrentInstance)(),
155
91
  proxy = _getCurrentInstance.proxy,
156
92
  appContext = _getCurrentInstance.appContext;
157
93
 
158
- (0,external_vue_.provide)('breadcrumb', props);
159
- (0,external_vue_.onMounted)(function () {
94
+ (0,external_vue_namespaceObject.provide)('breadcrumb', props);
95
+ (0,external_vue_namespaceObject.onMounted)(function () {
160
96
  var items = proxy.$el.querySelectorAll('.bk-breadcrumb-item');
161
97
 
162
98
  if (items.length) {
163
99
  items[items.length - 1].setAttribute('aria-current', 'page');
164
100
  }
165
101
  });
166
- var classCtx = (0,external_shared_.classes)({
102
+ var classCtx = (0,external_shared_namespaceObject.classes)({
167
103
  'bk-breadcrumb': true
168
104
  }, "".concat(props.extCls || ''));
169
105
 
@@ -178,15 +114,15 @@ var external_icon_ = __webpack_require__(6870);
178
114
  return function () {
179
115
  var _a;
180
116
 
181
- return (0,external_vue_.createVNode)("div", {
117
+ return (0,external_vue_namespaceObject.createVNode)("div", {
182
118
  "class": classCtx,
183
119
  "aria-label": "Breadcrumb",
184
120
  "role": "navigation"
185
- }, [!slots.prefix && props.backRouter ? (0,external_vue_.createVNode)("div", {
121
+ }, [!slots.prefix && props.backRouter ? (0,external_vue_namespaceObject.createVNode)("div", {
186
122
  "class": "bk-breadcrumb-goback"
187
- }, [(0,external_vue_.createVNode)(external_icon_.ArrowsLeft, {
123
+ }, [(0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.ArrowsLeft, {
188
124
  "onClick": goBack
189
- }, null)]) : '', slots.prefix ? (0,external_vue_.createVNode)("div", {
125
+ }, null)]) : '', slots.prefix ? (0,external_vue_namespaceObject.createVNode)("div", {
190
126
  "class": "bk-breadcrumb-goback"
191
127
  }, [slots.prefix()]) : '', (_a = slots["default"]) === null || _a === void 0 ? void 0 : _a.call(slots)]);
192
128
  };
@@ -222,22 +158,22 @@ var external_icon_ = __webpack_require__(6870);
222
158
  */
223
159
 
224
160
 
225
- /* harmony default export */ const breadcrumb_item = ((0,external_vue_.defineComponent)({
161
+ /* harmony default export */ const breadcrumb_item = ((0,external_vue_namespaceObject.defineComponent)({
226
162
  name: 'BreadcrumbItem',
227
163
  props: {
228
- extCls: external_shared_.PropTypes.string,
229
- to: external_shared_.PropTypes.oneOfType([external_shared_.PropTypes.string, external_shared_.PropTypes.object]).def(''),
230
- replace: external_shared_.PropTypes.bool
164
+ extCls: external_shared_namespaceObject.PropTypes.string,
165
+ to: external_shared_namespaceObject.PropTypes.oneOfType([external_shared_namespaceObject.PropTypes.string, external_shared_namespaceObject.PropTypes.object]).def(''),
166
+ replace: external_shared_namespaceObject.PropTypes.bool
231
167
  },
232
168
  emits: ['click'],
233
169
  setup: function setup(props, _ref) {
234
170
  var emit = _ref.emit,
235
171
  slots = _ref.slots;
236
172
 
237
- var _getCurrentInstance = (0,external_vue_.getCurrentInstance)(),
173
+ var _getCurrentInstance = (0,external_vue_namespaceObject.getCurrentInstance)(),
238
174
  appContext = _getCurrentInstance.appContext;
239
175
 
240
- var parent = (0,external_vue_.inject)('breadcrumb');
176
+ var parent = (0,external_vue_namespaceObject.inject)('breadcrumb');
241
177
  var router = appContext.config.globalProperties.$router;
242
178
 
243
179
  var handleClick = function handleClick(e) {
@@ -248,7 +184,7 @@ var external_icon_ = __webpack_require__(6870);
248
184
  replace ? router.replace(to) : router.push(to);
249
185
  };
250
186
 
251
- var classCtx = (0,external_shared_.classes)({
187
+ var classCtx = (0,external_shared_namespaceObject.classes)({
252
188
  'bk-breadcrumb-item': true
253
189
  }, "".concat(props.extCls || ''));
254
190
 
@@ -258,13 +194,13 @@ var external_icon_ = __webpack_require__(6870);
258
194
  }
259
195
 
260
196
  if (parent.separatorClass) {
261
- return (0,external_vue_.createVNode)("i", {
197
+ return (0,external_vue_namespaceObject.createVNode)("i", {
262
198
  "class": "bk-breadcrumb-separator ".concat(parent.separatorClass)
263
199
  }, null);
264
200
  }
265
201
 
266
202
  if (parent.separator) {
267
- return (0,external_vue_.createVNode)("span", {
203
+ return (0,external_vue_namespaceObject.createVNode)("span", {
268
204
  "class": "bk-breadcrumb-separator",
269
205
  "role": "presentation"
270
206
  }, [parent === null || parent === void 0 ? void 0 : parent.separator]);
@@ -276,9 +212,9 @@ var external_icon_ = __webpack_require__(6870);
276
212
  return function () {
277
213
  var _a;
278
214
 
279
- return (0,external_vue_.createVNode)("span", {
215
+ return (0,external_vue_namespaceObject.createVNode)("span", {
280
216
  "class": classCtx
281
- }, [(0,external_vue_.createVNode)("span", {
217
+ }, [(0,external_vue_namespaceObject.createVNode)("span", {
282
218
  "ref": "link",
283
219
  "class": "bk-breadcrumb-item-inner ".concat(props.to ? 'is-link' : ''),
284
220
  "role": "link",
@@ -316,14 +252,12 @@ var external_icon_ = __webpack_require__(6870);
316
252
 
317
253
 
318
254
 
319
- var BkBreadcrumb = (0,external_shared_.withInstallProps)(breadcrumb, {
255
+ var BkBreadcrumb = (0,external_shared_namespaceObject.withInstallProps)(breadcrumb, {
320
256
  Item: breadcrumb_item
321
257
  });
322
258
 
323
259
  /* harmony default export */ const src = (BkBreadcrumb);
324
- })();
325
-
326
- /******/ return __webpack_exports__;
327
- /******/ })()
328
- ;
329
- });
260
+ var __webpack_exports__BkBreadcrumb = __webpack_exports__.e$;
261
+ var __webpack_exports__BkBreadcrumbItem = __webpack_exports__.G7;
262
+ var __webpack_exports__default = __webpack_exports__.ZP;
263
+ export { __webpack_exports__BkBreadcrumb as BkBreadcrumb, __webpack_exports__BkBreadcrumbItem as BkBreadcrumbItem, __webpack_exports__default as default };