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
@@ -455,13 +455,13 @@ declare const _default: import("vue").DefineComponent<{
455
455
  options: Record<string, any>;
456
456
  behavior: "simplicity" | "normal";
457
457
  type: import("../interface").PickerTypeType;
458
- width: number;
459
458
  disabled: boolean;
460
- fontSize: "normal" | "large" | "medium";
459
+ width: number;
460
+ placeholder: string;
461
461
  open: boolean;
462
462
  multiple: boolean;
463
- placeholder: string;
464
463
  transfer: boolean;
464
+ fontSize: "normal" | "large" | "medium";
465
465
  clearable: boolean;
466
466
  readonly: boolean;
467
467
  withValidate: boolean;
@@ -413,13 +413,13 @@ declare const _default: import("vue").DefineComponent<{
413
413
  confirm: boolean;
414
414
  behavior: "simplicity" | "normal";
415
415
  type: import("../interface").PickerTypeType;
416
- width: number;
417
416
  disabled: boolean;
418
- fontSize: "normal" | "large" | "medium";
417
+ width: number;
418
+ placeholder: string;
419
419
  open: boolean;
420
420
  multiple: boolean;
421
- placeholder: string;
422
421
  transfer: boolean;
422
+ fontSize: "normal" | "large" | "medium";
423
423
  clearable: boolean;
424
424
  readonly: boolean;
425
425
  withValidate: boolean;
@@ -349,13 +349,13 @@ declare const _default: import("vue").DefineComponent<{
349
349
  options: Record<string, any>;
350
350
  behavior: "simplicity" | "normal";
351
351
  type: import("./interface").PickerTypeType;
352
- width: number;
353
352
  disabled: boolean;
354
- fontSize: "normal" | "large" | "medium";
353
+ width: number;
354
+ placeholder: string;
355
355
  open: boolean;
356
356
  multiple: boolean;
357
- placeholder: string;
358
357
  transfer: boolean;
358
+ fontSize: "normal" | "large" | "medium";
359
359
  clearable: boolean;
360
360
  readonly: boolean;
361
361
  withValidate: boolean;
@@ -284,12 +284,12 @@ declare const _default: import("vue").DefineComponent<{
284
284
  zIndex: string | number;
285
285
  showMask: boolean;
286
286
  direction: string;
287
+ theme: "success" | "warning" | "danger" | "primary";
288
+ extCls: string | unknown[];
287
289
  width: string | number;
288
290
  height: string | number;
289
291
  maxHeight: string;
290
292
  isShow: boolean;
291
- theme: "success" | "warning" | "danger" | "primary";
292
- extCls: string | unknown[];
293
293
  draggable: boolean;
294
294
  transfer: boolean;
295
295
  quickClose: boolean;
@@ -8,12 +8,12 @@ declare const BkDialog: {
8
8
  zIndex: string | number;
9
9
  showMask: boolean;
10
10
  direction: string;
11
+ theme: "success" | "warning" | "danger" | "primary";
12
+ extCls: string | unknown[];
11
13
  width: string | number;
12
14
  height: string | number;
13
15
  maxHeight: string;
14
16
  isShow: boolean;
15
- theme: "success" | "warning" | "danger" | "primary";
16
- extCls: string | unknown[];
17
17
  draggable: boolean;
18
18
  transfer: boolean;
19
19
  quickClose: boolean;
@@ -166,7 +166,7 @@ declare const BkDialog: {
166
166
  onClosed?: (...args: any[]) => any;
167
167
  "onUpdate:isShow"?: (...args: any[]) => any;
168
168
  "onValue-change"?: (...args: any[]) => any;
169
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "multiInstance" | "zIndex" | "showMask" | "direction" | "width" | "height" | "maxHeight" | "isShow" | "theme" | "extCls" | "draggable" | "transfer" | "quickClose" | "scrollable" | "closeIcon" | "escClose" | "fullscreen" | "animateType" | "confirmText" | "cancelText" | "prevText" | "nextText" | "current" | "totalStep" | "headerAlign" | "footerAlign" | "isLoading">;
169
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "multiInstance" | "zIndex" | "showMask" | "direction" | "theme" | "extCls" | "width" | "height" | "maxHeight" | "isShow" | "draggable" | "transfer" | "quickClose" | "scrollable" | "closeIcon" | "escClose" | "fullscreen" | "animateType" | "confirmText" | "cancelText" | "prevText" | "nextText" | "current" | "totalStep" | "headerAlign" | "footerAlign" | "isLoading">;
170
170
  $attrs: {
171
171
  [x: string]: unknown;
172
172
  };
@@ -338,12 +338,12 @@ declare const BkDialog: {
338
338
  zIndex: string | number;
339
339
  showMask: boolean;
340
340
  direction: string;
341
+ theme: "success" | "warning" | "danger" | "primary";
342
+ extCls: string | unknown[];
341
343
  width: string | number;
342
344
  height: string | number;
343
345
  maxHeight: string;
344
346
  isShow: boolean;
345
- theme: "success" | "warning" | "danger" | "primary";
346
- extCls: string | unknown[];
347
347
  draggable: boolean;
348
348
  transfer: boolean;
349
349
  quickClose: boolean;
@@ -695,12 +695,12 @@ declare const BkDialog: {
695
695
  zIndex: string | number;
696
696
  showMask: boolean;
697
697
  direction: string;
698
+ theme: "success" | "warning" | "danger" | "primary";
699
+ extCls: string | unknown[];
698
700
  width: string | number;
699
701
  height: string | number;
700
702
  maxHeight: string;
701
703
  isShow: boolean;
702
- theme: "success" | "warning" | "danger" | "primary";
703
- extCls: string | unknown[];
704
704
  draggable: boolean;
705
705
  transfer: boolean;
706
706
  quickClose: boolean;
@@ -1,143 +1,57 @@
1
- (function webpackUniversalModuleDefinition(root, factory) {
2
- if(typeof exports === 'object' && typeof module === 'object')
3
- module.exports = factory(require("../shared"), require("vue"), require("../button"), require("../icon"), require("../modal"));
4
- else if(typeof define === 'function' && define.amd)
5
- define(["../shared", "vue", "../button", "../icon", "../modal"], factory);
6
- else {
7
- var a = typeof exports === 'object' ? factory(require("../shared"), require("vue"), require("../button"), require("../icon"), require("../modal")) : factory(root["../shared"], root["vue"], root["../button"], root["../icon"], root["../modal"]);
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__4976__, __WEBPACK_EXTERNAL_MODULE__6870__, __WEBPACK_EXTERNAL_MODULE__8014__) => {
11
- return /******/ (() => { // webpackBootstrap
12
- /******/ "use strict";
13
- /******/ var __webpack_modules__ = ({
14
-
15
- /***/ 4976:
16
- /***/ ((module) => {
17
-
18
- module.exports = __WEBPACK_EXTERNAL_MODULE__4976__;
19
-
20
- /***/ }),
21
-
22
- /***/ 6870:
23
- /***/ ((module) => {
24
-
25
- module.exports = __WEBPACK_EXTERNAL_MODULE__6870__;
26
-
27
- /***/ }),
28
-
29
- /***/ 8014:
30
- /***/ ((module) => {
31
-
32
- module.exports = __WEBPACK_EXTERNAL_MODULE__8014__;
33
-
34
- /***/ }),
35
-
36
- /***/ 4212:
37
- /***/ ((module) => {
38
-
39
- module.exports = __WEBPACK_EXTERNAL_MODULE__4212__;
40
-
41
- /***/ }),
42
-
43
- /***/ 748:
44
- /***/ ((module) => {
45
-
46
- module.exports = __WEBPACK_EXTERNAL_MODULE__748__;
47
-
48
- /***/ })
49
-
50
- /******/ });
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__button_59c00871__ from "../button";
4
+ import * as __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__ from "../icon";
5
+ import * as __WEBPACK_EXTERNAL_MODULE__modal_4c8fdca5__ from "../modal";
6
+ /******/ // The require scope
7
+ /******/ var __webpack_require__ = {};
8
+ /******/
51
9
  /************************************************************************/
52
- /******/ // The module cache
53
- /******/ var __webpack_module_cache__ = {};
54
- /******/
55
- /******/ // The require function
56
- /******/ function __webpack_require__(moduleId) {
57
- /******/ // Check if module is in cache
58
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
59
- /******/ if (cachedModule !== undefined) {
60
- /******/ return cachedModule.exports;
61
- /******/ }
62
- /******/ // Create a new module (and put it into the cache)
63
- /******/ var module = __webpack_module_cache__[moduleId] = {
64
- /******/ // no module.id needed
65
- /******/ // no module.loaded needed
66
- /******/ exports: {}
67
- /******/ };
68
- /******/
69
- /******/ // Execute the module function
70
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
71
- /******/
72
- /******/ // Return the exports of the module
73
- /******/ return module.exports;
74
- /******/ }
75
- /******/
76
- /************************************************************************/
77
- /******/ /* webpack/runtime/compat get default export */
78
- /******/ (() => {
79
- /******/ // getDefaultExport function for compatibility with non-harmony modules
80
- /******/ __webpack_require__.n = (module) => {
81
- /******/ var getter = module && module.__esModule ?
82
- /******/ () => (module['default']) :
83
- /******/ () => (module);
84
- /******/ __webpack_require__.d(getter, { a: getter });
85
- /******/ return getter;
86
- /******/ };
87
- /******/ })();
88
- /******/
89
- /******/ /* webpack/runtime/define property getters */
90
- /******/ (() => {
91
- /******/ // define getter functions for harmony exports
92
- /******/ __webpack_require__.d = (exports, definition) => {
93
- /******/ for(var key in definition) {
94
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
95
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
96
- /******/ }
97
- /******/ }
98
- /******/ };
99
- /******/ })();
100
- /******/
101
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
102
- /******/ (() => {
103
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
104
- /******/ })();
105
- /******/
106
- /******/ /* webpack/runtime/make namespace object */
107
- /******/ (() => {
108
- /******/ // define __esModule on exports
109
- /******/ __webpack_require__.r = (exports) => {
110
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
111
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
10
+ /******/ /* webpack/runtime/define property getters */
11
+ /******/ (() => {
12
+ /******/ // define getter functions for harmony exports
13
+ /******/ __webpack_require__.d = (exports, definition) => {
14
+ /******/ for(var key in definition) {
15
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
16
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
112
17
  /******/ }
113
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
114
- /******/ };
115
- /******/ })();
116
- /******/
18
+ /******/ }
19
+ /******/ };
20
+ /******/ })();
21
+ /******/
22
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
23
+ /******/ (() => {
24
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
25
+ /******/ })();
26
+ /******/
117
27
  /************************************************************************/
118
28
  var __webpack_exports__ = {};
119
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
120
- (() => {
121
- // ESM COMPAT FLAG
122
- __webpack_require__.r(__webpack_exports__);
123
29
 
124
30
  // EXPORTS
125
31
  __webpack_require__.d(__webpack_exports__, {
126
- "default": () => (/* binding */ src)
32
+ "Z": () => (/* binding */ src)
127
33
  });
128
34
 
129
- // EXTERNAL MODULE: external "../shared"
130
- var external_shared_ = __webpack_require__(4212);
131
- // EXTERNAL MODULE: external "vue"
132
- var external_vue_ = __webpack_require__(748);
133
- // EXTERNAL MODULE: external "../button"
134
- var external_button_ = __webpack_require__(4976);
135
- var external_button_default = /*#__PURE__*/__webpack_require__.n(external_button_);
136
- // EXTERNAL MODULE: external "../icon"
137
- var external_icon_ = __webpack_require__(6870);
138
- // EXTERNAL MODULE: external "../modal"
139
- var external_modal_ = __webpack_require__(8014);
140
- var external_modal_default = /*#__PURE__*/__webpack_require__.n(external_modal_);
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({ ["AlignEnum"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.AlignEnum, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["ThemeEnum"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.ThemeEnum, ["alignType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.alignType, ["dialogTypeUnion"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.dialogTypeUnion, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.resolveClassName, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstall });
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({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
43
+ ;// CONCATENATED MODULE: external "../button"
44
+ var external_button_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
45
+ var external_button_y = x => () => x
46
+ const external_button_namespaceObject = external_button_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__button_59c00871__["default"] });
47
+ ;// CONCATENATED MODULE: external "../icon"
48
+ var external_icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
49
+ var external_icon_y = x => () => x
50
+ const external_icon_namespaceObject = external_icon_x({ ["Close"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Close, ["Spinner"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Spinner, ["Success"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Success, ["Warn"]: () => __WEBPACK_EXTERNAL_MODULE__icon_85385c3e__.Warn });
51
+ ;// CONCATENATED MODULE: external "../modal"
52
+ var external_modal_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
53
+ var external_modal_y = x => () => x
54
+ const external_modal_namespaceObject = external_modal_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__modal_4c8fdca5__["default"], ["propsMixin"]: () => __WEBPACK_EXTERNAL_MODULE__modal_4c8fdca5__.propsMixin });
141
55
  ;// CONCATENATED MODULE: ../../packages/dialog/src/props.ts
142
56
  /*
143
57
  * Tencent is pleased to support the open source community by making
@@ -166,32 +80,32 @@ var external_modal_default = /*#__PURE__*/__webpack_require__.n(external_modal_)
166
80
  */
167
81
 
168
82
 
169
- var props = Object.assign(Object.assign({}, external_modal_.propsMixin), {
170
- width: external_shared_.PropTypes.oneOfType([String, Number]).def(''),
171
- height: external_shared_.PropTypes.oneOfType([String, Number]).def(''),
83
+ var props = Object.assign(Object.assign({}, external_modal_namespaceObject.propsMixin), {
84
+ width: external_shared_namespaceObject.PropTypes.oneOfType([String, Number]).def(''),
85
+ height: external_shared_namespaceObject.PropTypes.oneOfType([String, Number]).def(''),
172
86
  // 确认按钮文字
173
- confirmText: external_shared_.PropTypes.string.def('确定'),
87
+ confirmText: external_shared_namespaceObject.PropTypes.string.def('确定'),
174
88
  // 取消按钮文字
175
- cancelText: external_shared_.PropTypes.string.def('取消'),
89
+ cancelText: external_shared_namespaceObject.PropTypes.string.def('取消'),
176
90
  // 步骤按钮文字
177
- prevText: external_shared_.PropTypes.string.def('上一步'),
178
- nextText: external_shared_.PropTypes.string.def('下一步'),
91
+ prevText: external_shared_namespaceObject.PropTypes.string.def('上一步'),
92
+ nextText: external_shared_namespaceObject.PropTypes.string.def('下一步'),
179
93
  // 当前步骤
180
- current: external_shared_.PropTypes.number.def(1),
94
+ current: external_shared_namespaceObject.PropTypes.number.def(1),
181
95
  // 总步数
182
- totalStep: external_shared_.PropTypes.number,
96
+ totalStep: external_shared_namespaceObject.PropTypes.number,
183
97
  // 弹框的标题
184
- title: external_shared_.PropTypes.string.def('title'),
98
+ title: external_shared_namespaceObject.PropTypes.string.def('title'),
185
99
  // 显示 header 的位置
186
- headerAlign: (0,external_shared_.alignType)().def(external_shared_.AlignEnum.LEFT),
100
+ headerAlign: (0,external_shared_namespaceObject.alignType)().def(external_shared_namespaceObject.AlignEnum.LEFT),
187
101
  // 显示 footer 的位置
188
- footerAlign: (0,external_shared_.alignType)().def(external_shared_.AlignEnum.RIGHT),
102
+ footerAlign: (0,external_shared_namespaceObject.alignType)().def(external_shared_namespaceObject.AlignEnum.RIGHT),
189
103
  // 颜色 按钮类型
190
- theme: external_shared_.PropTypes.theme().def(external_shared_.ThemeEnum.PRIMARY),
104
+ theme: external_shared_namespaceObject.PropTypes.theme().def(external_shared_namespaceObject.ThemeEnum.PRIMARY),
191
105
  // 对话框类型
192
- dialogType: (0,external_shared_.dialogTypeUnion)(),
106
+ dialogType: (0,external_shared_namespaceObject.dialogTypeUnion)(),
193
107
  // 按钮loading
194
- isLoading: external_shared_.PropTypes.bool.def(false)
108
+ isLoading: external_shared_namespaceObject.PropTypes.bool.def(false)
195
109
  });
196
110
  /* harmony default export */ const src_props = (props);
197
111
  ;// CONCATENATED MODULE: ../../packages/dialog/src/dialog.tsx
@@ -230,20 +144,20 @@ var props = Object.assign(Object.assign({}, external_modal_.propsMixin), {
230
144
 
231
145
 
232
146
  function _isSlot(s) {
233
- return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_.isVNode)(s);
147
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
234
148
  }
235
149
 
236
- /* harmony default export */ const dialog = ((0,external_vue_.defineComponent)({
150
+ /* harmony default export */ const dialog = ((0,external_vue_namespaceObject.defineComponent)({
237
151
  name: 'Dialog',
238
152
  components: {
239
- BkModal: (external_modal_default()),
240
- BkButton: (external_button_default())
153
+ BkModal: external_modal_namespaceObject["default"],
154
+ BkButton: external_button_namespaceObject["default"]
241
155
  },
242
156
  props: src_props,
243
157
  emits: ['closed', 'update:isShow', 'confirm', 'prev', 'next', 'value-change'],
244
158
  setup: function setup(props, _ref) {
245
159
  var emit = _ref.emit;
246
- var data = (0,external_vue_.reactive)({
160
+ var data = (0,external_vue_namespaceObject.reactive)({
247
161
  positionX: 0,
248
162
  positionY: 0,
249
163
  moveStyle: {
@@ -251,18 +165,18 @@ function _isSlot(s) {
251
165
  left: ''
252
166
  }
253
167
  });
254
- var isModalShow = (0,external_vue_.ref)(props.isShow);
255
- (0,external_vue_.onMounted)(function () {
168
+ var isModalShow = (0,external_vue_namespaceObject.ref)(props.isShow);
169
+ (0,external_vue_namespaceObject.onMounted)(function () {
256
170
  if (props.escClose) {
257
171
  addEventListener('keydown', escCloseHandler);
258
172
  }
259
173
  });
260
- (0,external_vue_.onBeforeUnmount)(function () {
174
+ (0,external_vue_namespaceObject.onBeforeUnmount)(function () {
261
175
  if (props.escClose) {
262
176
  removeEventListener('keydown', escCloseHandler);
263
177
  }
264
178
  });
265
- (0,external_vue_.watch)(function () {
179
+ (0,external_vue_namespaceObject.watch)(function () {
266
180
  return props.isShow;
267
181
  }, function (val) {
268
182
  if (!val) {
@@ -293,7 +207,7 @@ function _isSlot(s) {
293
207
  emit('confirm'); // isModalShow.value = false; 影响异步关闭
294
208
  };
295
209
 
296
- var hasFooter = (0,external_vue_.computed)(function () {
210
+ var hasFooter = (0,external_vue_namespaceObject.computed)(function () {
297
211
  return ['process', 'operation', 'confirm'].includes(props.dialogType);
298
212
  }); // 按 esc 关闭弹框
299
213
 
@@ -386,17 +300,17 @@ function _isSlot(s) {
386
300
 
387
301
  var renderIcon = function renderIcon() {
388
302
  var iconMap = {
389
- loading: (0,external_vue_.createVNode)(external_icon_.Spinner, {
390
- "class": [(0,external_shared_.resolveClassName)('info-icon'), 'primary']
303
+ loading: (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Spinner, {
304
+ "class": [(0,external_shared_namespaceObject.resolveClassName)('info-icon'), 'primary']
391
305
  }, null),
392
- warning: (0,external_vue_.createVNode)(external_icon_.Warn, {
393
- "class": [(0,external_shared_.resolveClassName)('info-icon'), 'warning']
306
+ warning: (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Warn, {
307
+ "class": [(0,external_shared_namespaceObject.resolveClassName)('info-icon'), 'warning']
394
308
  }, null),
395
- success: (0,external_vue_.createVNode)(external_icon_.Success, {
396
- "class": [(0,external_shared_.resolveClassName)('info-icon'), 'success']
309
+ success: (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Success, {
310
+ "class": [(0,external_shared_namespaceObject.resolveClassName)('info-icon'), 'success']
397
311
  }, null),
398
- danger: (0,external_vue_.createVNode)(external_icon_.Close, {
399
- "class": [(0,external_shared_.resolveClassName)('info-icon'), 'danger']
312
+ danger: (0,external_vue_namespaceObject.createVNode)(external_icon_namespaceObject.Close, {
313
+ "class": [(0,external_shared_namespaceObject.resolveClassName)('info-icon'), 'danger']
400
314
  }, null)
401
315
  };
402
316
  return iconMap[_this.infoType];
@@ -406,17 +320,17 @@ function _isSlot(s) {
406
320
  header: function header() {
407
321
  var _a, _b, _c, _d, _e, _f;
408
322
 
409
- return [(0,external_vue_.createVNode)("div", {
410
- "class": [(0,external_shared_.resolveClassName)('dialog-tool'), _this.fullscreen || !_this.draggable ? '' : 'move', _this.draggable ? 'content-dragging' : ''],
323
+ return [(0,external_vue_namespaceObject.createVNode)("div", {
324
+ "class": [(0,external_shared_namespaceObject.resolveClassName)('dialog-tool'), _this.fullscreen || !_this.draggable ? '' : 'move', _this.draggable ? 'content-dragging' : ''],
411
325
  "onMousedown": _this.moveHandler
412
- }, [(_c = (_b = (_a = _this.$slots).tools) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : '']), (0,external_vue_.createVNode)("div", {
413
- "class": (0,external_shared_.resolveClassName)('dialog-header')
414
- }, [(0,external_vue_.createVNode)("div", {
415
- "class": (0,external_shared_.resolveClassName)('header-icon')
416
- }, [_this.infoType ? renderIcon() : (0,external_vue_.createVNode)("slot", {
326
+ }, [(_c = (_b = (_a = _this.$slots).tools) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : '']), (0,external_vue_namespaceObject.createVNode)("div", {
327
+ "class": (0,external_shared_namespaceObject.resolveClassName)('dialog-header')
328
+ }, [(0,external_vue_namespaceObject.createVNode)("div", {
329
+ "class": (0,external_shared_namespaceObject.resolveClassName)('header-icon')
330
+ }, [_this.infoType ? renderIcon() : (0,external_vue_namespaceObject.createVNode)("slot", {
417
331
  "name": "info-icon"
418
- }, null)]), (0,external_vue_.createVNode)("span", {
419
- "class": (0,external_shared_.resolveClassName)('dialog-title'),
332
+ }, null)]), (0,external_vue_namespaceObject.createVNode)("span", {
333
+ "class": (0,external_shared_namespaceObject.resolveClassName)('dialog-title'),
420
334
  "style": "text-align: ".concat(_this.headerAlign)
421
335
  }, [(_f = (_e = (_d = _this.$slots).header) === null || _e === void 0 ? void 0 : _e.call(_d)) !== null && _f !== void 0 ? _f : _this.title])])];
422
336
  },
@@ -428,24 +342,24 @@ function _isSlot(s) {
428
342
  footer: function footer() {
429
343
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
430
344
 
431
- return (0,external_vue_.createVNode)("div", {
432
- "class": (0,external_shared_.resolveClassName)('dialog-footer'),
345
+ return (0,external_vue_namespaceObject.createVNode)("div", {
346
+ "class": (0,external_shared_namespaceObject.resolveClassName)('dialog-footer'),
433
347
  "style": "text-align: ".concat(_this.footerAlign)
434
- }, [_this.dialogType === 'process' ? (_c = (_b = (_a = _this.$slots).footer) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : (0,external_vue_.createVNode)(external_vue_.Fragment, null, [_this.current === 1 ? '' : (0,external_vue_.createVNode)((external_button_default()), {
435
- "class": (0,external_shared_.resolveClassName)('dialog-perv'),
348
+ }, [_this.dialogType === 'process' ? (_c = (_b = (_a = _this.$slots).footer) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [_this.current === 1 ? '' : (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
349
+ "class": (0,external_shared_namespaceObject.resolveClassName)('dialog-perv'),
436
350
  "onClick": _this.handlePrevStep
437
351
  }, {
438
352
  "default": function _default() {
439
353
  return [_this.prevText];
440
354
  }
441
- }), _this.current === _this.totalStep ? '' : (0,external_vue_.createVNode)((external_button_default()), {
442
- "class": (0,external_shared_.resolveClassName)('dialog-next'),
355
+ }), _this.current === _this.totalStep ? '' : (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
356
+ "class": (0,external_shared_namespaceObject.resolveClassName)('dialog-next'),
443
357
  "onClick": _this.handleNextStep
444
358
  }, {
445
359
  "default": function _default() {
446
360
  return [_this.nextText];
447
361
  }
448
- }), _this.current === _this.totalStep ? (0,external_vue_.createVNode)((external_button_default()), {
362
+ }), _this.current === _this.totalStep ? (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
449
363
  "onClick": _this.handleConfirm,
450
364
  "theme": _this.theme,
451
365
  "loading": _this.isLoading
@@ -453,15 +367,15 @@ function _isSlot(s) {
453
367
  "default": function _default() {
454
368
  return [_this.confirmText];
455
369
  }
456
- }) : '', (0,external_vue_.createVNode)((external_button_default()), {
457
- "class": (0,external_shared_.resolveClassName)('dialog-cancel'),
370
+ }) : '', (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
371
+ "class": (0,external_shared_namespaceObject.resolveClassName)('dialog-cancel'),
458
372
  "onClick": _this.handleClose,
459
373
  "disabled": _this.isLoading
460
374
  }, {
461
375
  "default": function _default() {
462
376
  return [_this.cancelText];
463
377
  }
464
- })]) : '', _this.dialogType === 'operation' ? (_f = (_e = (_d = _this.$slots).footer) === null || _e === void 0 ? void 0 : _e.call(_d)) !== null && _f !== void 0 ? _f : (0,external_vue_.createVNode)(external_vue_.Fragment, null, [(0,external_vue_.createVNode)((external_button_default()), {
378
+ })]) : '', _this.dialogType === 'operation' ? (_f = (_e = (_d = _this.$slots).footer) === null || _e === void 0 ? void 0 : _e.call(_d)) !== null && _f !== void 0 ? _f : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
465
379
  "onClick": _this.handleConfirm,
466
380
  "theme": _this.theme,
467
381
  "loading": _this.isLoading
@@ -469,15 +383,15 @@ function _isSlot(s) {
469
383
  "default": function _default() {
470
384
  return [_this.confirmText];
471
385
  }
472
- }), (0,external_vue_.createVNode)((external_button_default()), {
473
- "class": (0,external_shared_.resolveClassName)('dialog-cancel'),
386
+ }), (0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
387
+ "class": (0,external_shared_namespaceObject.resolveClassName)('dialog-cancel'),
474
388
  "onClick": _this.handleClose,
475
389
  "disabled": _this.isLoading
476
390
  }, {
477
391
  "default": function _default() {
478
392
  return [_this.cancelText];
479
393
  }
480
- })]) : '', _this.dialogType === 'confirm' ? (_j = (_h = (_g = _this.$slots).footer) === null || _h === void 0 ? void 0 : _h.call(_g)) !== null && _j !== void 0 ? _j : (0,external_vue_.createVNode)(external_vue_.Fragment, null, [(0,external_vue_.createVNode)((external_button_default()), {
394
+ })]) : '', _this.dialogType === 'confirm' ? (_j = (_h = (_g = _this.$slots).footer) === null || _h === void 0 ? void 0 : _h.call(_g)) !== null && _j !== void 0 ? _j : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(external_button_namespaceObject["default"], {
481
395
  "onClick": _this.handleConfirm,
482
396
  "theme": _this.theme,
483
397
  "loading": _this.isLoading
@@ -488,14 +402,14 @@ function _isSlot(s) {
488
402
  })]) : '']);
489
403
  },
490
404
  close: function close() {
491
- return (0,external_vue_.createVNode)("span", {
492
- "class": (0,external_shared_.resolveClassName)('dialog-close'),
405
+ return (0,external_vue_namespaceObject.createVNode)("span", {
406
+ "class": (0,external_shared_namespaceObject.resolveClassName)('dialog-close'),
493
407
  "onClick": _this.handleClose
494
- }, [(0,external_vue_.createTextVNode)("+")]);
408
+ }, [(0,external_vue_namespaceObject.createTextVNode)("+")]);
495
409
  }
496
410
  };
497
- var className = "".concat((0,external_shared_.resolveClassName)('dialog-wrapper '), " ").concat(this.scrollable ? 'scroll-able' : '', " ").concat(this.multiInstance ? 'multi-instance' : '', " ").concat(this.hasFooter ? 'has-footer' : 'no-footer');
498
- return (0,external_vue_.createVNode)((external_modal_default()), (0,external_vue_.mergeProps)(this.$props, {
411
+ var className = "".concat((0,external_shared_namespaceObject.resolveClassName)('dialog-wrapper '), " ").concat(this.scrollable ? 'scroll-able' : '', " ").concat(this.multiInstance ? 'multi-instance' : '', " ").concat(this.hasFooter ? 'has-footer' : 'no-footer');
412
+ return (0,external_vue_namespaceObject.createVNode)(external_modal_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)(this.$props, {
499
413
  "class": className,
500
414
  "onClose": this.handleClose,
501
415
  "isShow": this.isModalShow,
@@ -535,11 +449,7 @@ function _isSlot(s) {
535
449
  */
536
450
 
537
451
 
538
- var BkDialog = (0,external_shared_.withInstall)(dialog);
452
+ var BkDialog = (0,external_shared_namespaceObject.withInstall)(dialog);
539
453
  /* harmony default export */ const src = (BkDialog);
540
- })();
541
-
542
- /******/ return __webpack_exports__;
543
- /******/ })()
544
- ;
545
- });
454
+ var __webpack_exports__default = __webpack_exports__.Z;
455
+ export { __webpack_exports__default as default };
@@ -1,5 +1,3 @@
1
- import { overflowTitle } from '../overflow-title';
2
- export { overflowTitle, };
3
1
  export { default as mousewheel } from './mousewheel';
4
2
  export { default as clickoutside } from './clickoutside';
5
3
  export { default as bkTooltips } from './tooltips';