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,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("vue-types"));
4
- else if(typeof define === 'function' && define.amd)
5
- define(["../shared", "vue", "vue-types"], factory);
6
- else {
7
- var a = typeof exports === 'object' ? factory(require("../shared"), require("vue"), require("vue-types")) : factory(root["../shared"], root["vue"], root["vue-types"]);
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__) => {
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
- /***/ 210:
30
- /***/ ((module) => {
31
-
32
- module.exports = __WEBPACK_EXTERNAL_MODULE__210__;
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_vue_types_22de060a__ from "vue-types";
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
- "BkModal": () => (/* binding */ BkModal),
101
- "default": () => (/* binding */ src),
102
- "propsMixin": () => (/* reexport */ propsMixin)
30
+ "$S": () => (/* binding */ BkModal),
31
+ "ZP": () => (/* binding */ src),
32
+ "ty": () => (/* reexport */ propsMixin)
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 "vue-types"
110
- var external_vue_types_ = __webpack_require__(210);
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, ["bkPopIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.bkPopIndexManager, ["dialogTypeUnion"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.dialogTypeUnion, ["renderDirectiveType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.renderDirectiveType, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.resolveClassName, ["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({ ["Transition"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Transition, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent });
43
+ ;// CONCATENATED MODULE: external "vue-types"
44
+ var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
45
+ var external_vue_types_y = x => () => x
46
+ const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.toType });
111
47
  ;// CONCATENATED MODULE: ../../packages/modal/src/props.mixin.ts
112
48
 
113
49
  /*
@@ -148,51 +84,51 @@ var ModalSizeEnum;
148
84
 
149
85
  var propsMixin = {
150
86
  // 是否显示弹框
151
- isShow: external_shared_.PropTypes.bool.def(false),
152
- width: external_shared_.PropTypes.oneOfType([String, Number]).def('50%'),
153
- height: external_shared_.PropTypes.oneOfType([String, Number]).def('50%'),
87
+ isShow: external_shared_namespaceObject.PropTypes.bool.def(false),
88
+ width: external_shared_namespaceObject.PropTypes.oneOfType([String, Number]).def('50%'),
89
+ height: external_shared_namespaceObject.PropTypes.oneOfType([String, Number]).def('50%'),
154
90
  // 配置自定义样式类名
155
- extCls: external_shared_.PropTypes.string || external_shared_.PropTypes.array,
91
+ extCls: external_shared_namespaceObject.PropTypes.string || external_shared_namespaceObject.PropTypes.array,
156
92
  // 弹框出现时,是否允许页面滚动
157
- scrollable: external_shared_.PropTypes.bool.def(true),
93
+ scrollable: external_shared_namespaceObject.PropTypes.bool.def(true),
158
94
  // 是否允许出现遮罩
159
- showMask: external_shared_.PropTypes.bool.def(true),
95
+ showMask: external_shared_namespaceObject.PropTypes.bool.def(true),
160
96
  // 是否显示右上角的关闭 icon
161
- closeIcon: external_shared_.PropTypes.bool.def(true),
97
+ closeIcon: external_shared_namespaceObject.PropTypes.bool.def(true),
162
98
  // 是否允许 esc 按键关闭弹框
163
- escClose: external_shared_.PropTypes.bool.def(true),
99
+ escClose: external_shared_namespaceObject.PropTypes.bool.def(true),
164
100
  // 是否全屏
165
- fullscreen: external_shared_.PropTypes.bool.def(false),
101
+ fullscreen: external_shared_namespaceObject.PropTypes.bool.def(false),
166
102
  // 弹框尺寸
167
- size: (0,external_vue_types_.toType)('size', {}),
103
+ size: (0,external_vue_types_namespaceObject.toType)('size', {}),
168
104
  // 是否可拖拽
169
- draggable: external_shared_.PropTypes.bool.def(true),
105
+ draggable: external_shared_namespaceObject.PropTypes.bool.def(true),
170
106
  // 是否允许点击遮罩关闭弹窗
171
- quickClose: external_shared_.PropTypes.bool.def(true),
107
+ quickClose: external_shared_namespaceObject.PropTypes.bool.def(true),
172
108
  // 是否显示在body内(即与id#app同级
173
- transfer: external_shared_.PropTypes.bool.def(false),
109
+ transfer: external_shared_namespaceObject.PropTypes.bool.def(false),
174
110
  // 弹出层z-index,实际显示的值会自动+1。为了抱证在遮罩上正常显示
175
- zIndex: external_shared_.PropTypes.oneOfType([String, Number]).def('inherit'),
111
+ zIndex: external_shared_namespaceObject.PropTypes.oneOfType([String, Number]).def('inherit'),
176
112
  // 内容区最大高度
177
- maxHeight: external_shared_.PropTypes.string,
113
+ maxHeight: external_shared_namespaceObject.PropTypes.string,
178
114
  // 弹出方向
179
- direction: external_shared_.PropTypes.string,
115
+ direction: external_shared_namespaceObject.PropTypes.string,
180
116
  // title
181
- title: external_shared_.PropTypes.string.def(''),
117
+ title: external_shared_namespaceObject.PropTypes.string.def(''),
182
118
  // 动画类型
183
- animateType: external_shared_.PropTypes.string.def('slide'),
119
+ animateType: external_shared_namespaceObject.PropTypes.string.def('slide'),
184
120
  // 弹框的渲染方式
185
- renderDirective: (0,external_shared_.renderDirectiveType)(),
121
+ renderDirective: (0,external_shared_namespaceObject.renderDirectiveType)(),
186
122
  // 关闭前回调
187
- beforeClose: external_shared_.PropTypes.custom(function () {
123
+ beforeClose: external_shared_namespaceObject.PropTypes.custom(function () {
188
124
  return true;
189
125
  }),
190
126
  // 对话框类型
191
- dialogType: (0,external_shared_.dialogTypeUnion)(),
127
+ dialogType: (0,external_shared_namespaceObject.dialogTypeUnion)(),
192
128
  // 是否允许多个弹框同时存在
193
- multiInstance: external_shared_.PropTypes.bool.def(true),
129
+ multiInstance: external_shared_namespaceObject.PropTypes.bool.def(true),
194
130
  // info-box
195
- infoType: external_shared_.PropTypes.theme()
131
+ infoType: external_shared_namespaceObject.PropTypes.theme()
196
132
  };
197
133
  ;// CONCATENATED MODULE: ../../packages/modal/src/modal.tsx
198
134
 
@@ -225,7 +161,7 @@ var propsMixin = {
225
161
 
226
162
 
227
163
 
228
- /* harmony default export */ const modal = ((0,external_vue_.defineComponent)({
164
+ /* harmony default export */ const modal = ((0,external_vue_namespaceObject.defineComponent)({
229
165
  name: 'Modal',
230
166
  props: Object.assign({}, propsMixin),
231
167
  emits: ['quick-close', 'quickClose', 'hidden', 'shown', 'close'],
@@ -287,20 +223,20 @@ var propsMixin = {
287
223
  if (val) {
288
224
  this.$nextTick(function () {
289
225
  // isShow初始化为true的时候,放在nextTick才能获取$el
290
- external_shared_.bkPopIndexManager.onMaskClick(function (_e) {
226
+ external_shared_namespaceObject.bkPopIndexManager.onMaskClick(function (_e) {
291
227
  _this2.handleClickOutSide();
292
228
  }, _this2.$el);
293
229
  var hideMaskStyle = {
294
230
  'background-color': 'rgba(0,0,0,0)'
295
231
  };
296
232
  var appendStyle = _this2.showMask ? {} : hideMaskStyle;
297
- external_shared_.bkPopIndexManager.show(_this2.$el, _this2.showMask, appendStyle, _this2.transfer, _this2.zIndex);
233
+ external_shared_namespaceObject.bkPopIndexManager.show(_this2.$el, _this2.showMask, appendStyle, _this2.transfer, _this2.zIndex);
298
234
 
299
235
  _this2.$emit('shown');
300
236
  });
301
237
  } else {
302
- external_shared_.bkPopIndexManager === null || external_shared_.bkPopIndexManager === void 0 ? void 0 : external_shared_.bkPopIndexManager.hide(this.$el, this.transfer);
303
- external_shared_.bkPopIndexManager === null || external_shared_.bkPopIndexManager === void 0 ? void 0 : external_shared_.bkPopIndexManager.destroy();
238
+ external_shared_namespaceObject.bkPopIndexManager === null || external_shared_namespaceObject.bkPopIndexManager === void 0 ? void 0 : external_shared_namespaceObject.bkPopIndexManager.hide(this.$el, this.transfer);
239
+ external_shared_namespaceObject.bkPopIndexManager === null || external_shared_namespaceObject.bkPopIndexManager === void 0 ? void 0 : external_shared_namespaceObject.bkPopIndexManager.destroy();
304
240
  }
305
241
  },
306
242
  immediate: true
@@ -308,8 +244,8 @@ var propsMixin = {
308
244
  },
309
245
  beforeUnmount: function beforeUnmount() {
310
246
  if (this.visible) {
311
- external_shared_.bkPopIndexManager === null || external_shared_.bkPopIndexManager === void 0 ? void 0 : external_shared_.bkPopIndexManager.hide(this.$el);
312
- external_shared_.bkPopIndexManager === null || external_shared_.bkPopIndexManager === void 0 ? void 0 : external_shared_.bkPopIndexManager.destroy();
247
+ external_shared_namespaceObject.bkPopIndexManager === null || external_shared_namespaceObject.bkPopIndexManager === void 0 ? void 0 : external_shared_namespaceObject.bkPopIndexManager.hide(this.$el);
248
+ external_shared_namespaceObject.bkPopIndexManager === null || external_shared_namespaceObject.bkPopIndexManager === void 0 ? void 0 : external_shared_namespaceObject.bkPopIndexManager.destroy();
313
249
  }
314
250
  },
315
251
  methods: {
@@ -329,25 +265,25 @@ var propsMixin = {
329
265
  var maxHeight = this.maxHeight ? {
330
266
  maxHeight: this.maxHeight
331
267
  } : {};
332
- var bodyClass = "".concat((0,external_shared_.resolveClassName)('modal-body'), " ").concat(this.animateType === 'slide' ? this.direction : '');
333
- return (0,external_vue_.createVNode)("div", {
334
- "class": [(0,external_shared_.resolveClassName)('modal-wrapper'), this.extCls, this.size, this.fullscreen ? 'fullscreen' : ''],
268
+ var bodyClass = "".concat((0,external_shared_namespaceObject.resolveClassName)('modal-body'), " ").concat(this.animateType === 'slide' ? this.direction : '');
269
+ return (0,external_vue_namespaceObject.createVNode)("div", {
270
+ "class": [(0,external_shared_namespaceObject.resolveClassName)('modal-wrapper'), this.extCls, this.size, this.fullscreen ? 'fullscreen' : ''],
335
271
  "style": [this.compStyle, this.fullscreen ? this.fullscreenStyle : '']
336
- }, [(0,external_vue_.createVNode)(external_vue_.Transition, {
272
+ }, [(0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Transition, {
337
273
  "name": this.animateType
338
274
  }, {
339
275
  "default": function _default() {
340
- return [_this3.isShow ? (0,external_vue_.createVNode)("div", {
276
+ return [_this3.isShow ? (0,external_vue_namespaceObject.createVNode)("div", {
341
277
  "class": bodyClass
342
- }, [(0,external_vue_.createVNode)("div", {
343
- "class": (0,external_shared_.resolveClassName)('modal-header')
344
- }, [(_c = (_b = (_a = _this3.$slots).header) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : '']), (0,external_vue_.createVNode)("div", {
345
- "class": (0,external_shared_.resolveClassName)('modal-content'),
278
+ }, [(0,external_vue_namespaceObject.createVNode)("div", {
279
+ "class": (0,external_shared_namespaceObject.resolveClassName)('modal-header')
280
+ }, [(_c = (_b = (_a = _this3.$slots).header) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : '']), (0,external_vue_namespaceObject.createVNode)("div", {
281
+ "class": (0,external_shared_namespaceObject.resolveClassName)('modal-content'),
346
282
  "style": [_this3.dialogType === 'show' ? 'padding-bottom: 20px' : '', Object.assign({}, maxHeight)]
347
- }, [(_g = (_f = (_d = _this3.$slots)["default"]) === null || _f === void 0 ? void 0 : _f.call(_d)) !== null && _g !== void 0 ? _g : '']), _this3.dialogType === 'show' ? '' : (0,external_vue_.createVNode)("div", {
348
- "class": (0,external_shared_.resolveClassName)('modal-footer')
349
- }, [(_k = (_j = (_h = _this3.$slots).footer) === null || _j === void 0 ? void 0 : _j.call(_h)) !== null && _k !== void 0 ? _k : '']), (0,external_vue_.createVNode)("div", {
350
- "class": [(0,external_shared_.resolveClassName)('modal-close'), _this3.closeIcon ? '' : 'close-icon']
283
+ }, [(_g = (_f = (_d = _this3.$slots)["default"]) === null || _f === void 0 ? void 0 : _f.call(_d)) !== null && _g !== void 0 ? _g : '']), _this3.dialogType === 'show' ? '' : (0,external_vue_namespaceObject.createVNode)("div", {
284
+ "class": (0,external_shared_namespaceObject.resolveClassName)('modal-footer')
285
+ }, [(_k = (_j = (_h = _this3.$slots).footer) === null || _j === void 0 ? void 0 : _j.call(_h)) !== null && _k !== void 0 ? _k : '']), (0,external_vue_namespaceObject.createVNode)("div", {
286
+ "class": [(0,external_shared_namespaceObject.resolveClassName)('modal-close'), _this3.closeIcon ? '' : 'close-icon']
351
287
  }, [(_o = (_m = (_l = _this3.$slots).close) === null || _m === void 0 ? void 0 : _m.call(_l)) !== null && _o !== void 0 ? _o : ''])]) : ''];
352
288
  }
353
289
  })]);
@@ -382,14 +318,12 @@ var propsMixin = {
382
318
 
383
319
 
384
320
 
385
- var BkModal = (0,external_shared_.withInstallProps)(modal, {
321
+ var BkModal = (0,external_shared_namespaceObject.withInstallProps)(modal, {
386
322
  propsMixin: propsMixin
387
323
  }, true);
388
324
  /* harmony default export */ const src = (BkModal);
389
325
 
390
- })();
391
-
392
- /******/ return __webpack_exports__;
393
- /******/ })()
394
- ;
395
- });
326
+ var __webpack_exports__BkModal = __webpack_exports__.$S;
327
+ var __webpack_exports__default = __webpack_exports__.ZP;
328
+ var __webpack_exports__propsMixin = __webpack_exports__.ty;
329
+ export { __webpack_exports__BkModal as BkModal, __webpack_exports__default as default, __webpack_exports__propsMixin as propsMixin };
@@ -192,11 +192,11 @@ declare const _default: import("vue").DefineComponent<{
192
192
  zIndex: string | number;
193
193
  showMask: boolean;
194
194
  direction: string;
195
+ extCls: string | unknown[];
195
196
  width: string | number;
196
197
  height: string | number;
197
198
  maxHeight: string;
198
199
  isShow: boolean;
199
- extCls: string | unknown[];
200
200
  draggable: boolean;
201
201
  transfer: boolean;
202
202
  quickClose: boolean;