bkui-vue 1.0.0 → 1.0.1

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 (261) hide show
  1. package/README.md +1 -0
  2. package/dist/index.cjs.js +47 -47
  3. package/dist/index.esm.js +10405 -10394
  4. package/dist/index.umd.js +47 -47
  5. package/dist/locale/en.esm.js +1 -1
  6. package/dist/locale/en.esm.js.map +1 -1
  7. package/dist/locale/en.umd.js +1 -1
  8. package/dist/locale/en.umd.js.map +1 -1
  9. package/dist/locale/zh-cn.esm.js +1 -1
  10. package/dist/locale/zh-cn.esm.js.map +1 -1
  11. package/dist/locale/zh-cn.umd.js +1 -1
  12. package/dist/locale/zh-cn.umd.js.map +1 -1
  13. package/dist/style.css +1 -1
  14. package/dist/style.variable.css +1 -1
  15. package/lib/affix/index.d.ts +57 -111
  16. package/lib/affix/index.js +19 -19
  17. package/lib/alert/alert.d.ts +1 -1
  18. package/lib/alert/index.d.ts +82 -132
  19. package/lib/alert/index.js +20 -20
  20. package/lib/animate-number/index.d.ts +33 -96
  21. package/lib/backtop/index.d.ts +69 -117
  22. package/lib/badge/badge.d.ts +1 -1
  23. package/lib/badge/index.d.ts +120 -153
  24. package/lib/badge/index.js +19 -19
  25. package/lib/breadcrumb/index.d.ts +67 -119
  26. package/lib/breadcrumb/index.js +17 -17
  27. package/lib/button/button.d.ts +2 -2
  28. package/lib/button/index.d.ts +119 -155
  29. package/lib/button/index.js +19 -20
  30. package/lib/card/card.d.ts +1 -1
  31. package/lib/card/index.d.ts +129 -158
  32. package/lib/card/index.js +20 -22
  33. package/lib/cascader/cascader.d.ts +3 -3
  34. package/lib/cascader/index.d.ts +393 -354
  35. package/lib/cascader/index.js +233 -234
  36. package/lib/checkbox/checkbox.d.ts +1 -1
  37. package/lib/checkbox/index.d.ts +119 -161
  38. package/lib/checkbox/index.js +39 -41
  39. package/lib/code-diff/index.d.ts +65 -82
  40. package/lib/code-diff/index.js +381 -438
  41. package/lib/collapse/index.d.ts +144 -168
  42. package/lib/collapse/index.js +21 -21
  43. package/lib/collapse-transition/index.d.ts +19 -94
  44. package/lib/color-picker/color-picker.d.ts +1 -1
  45. package/lib/color-picker/index.d.ts +128 -154
  46. package/lib/color-picker/index.js +25 -28
  47. package/lib/config-provider/config-provider.d.ts +9 -0
  48. package/lib/config-provider/index.d.ts +168 -223
  49. package/lib/config-provider/index.js +19 -19
  50. package/lib/config-provider/token.d.ts +3 -0
  51. package/lib/container/container.d.ts +1 -1
  52. package/lib/container/index.d.ts +74 -85
  53. package/lib/container/index.js +19 -19
  54. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  55. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  56. package/lib/date-picker/date-picker.d.ts +3 -3
  57. package/lib/date-picker/index.d.ts +384 -351
  58. package/lib/date-picker/index.js +92 -104
  59. package/lib/date-picker/panel/date-range.d.ts +1 -1
  60. package/lib/date-picker/panel/date.d.ts +1 -1
  61. package/lib/date-picker/panel/time-range.d.ts +2 -2
  62. package/lib/date-picker/panel/time.d.ts +1 -1
  63. package/lib/date-picker/time-picker.d.ts +3 -3
  64. package/lib/dialog/index.d.ts +355 -309
  65. package/lib/dialog/index.js +227 -228
  66. package/lib/directives/index.js +27 -27
  67. package/lib/divider/index.d.ts +57 -111
  68. package/lib/dropdown/dropdown.d.ts +1 -1
  69. package/lib/dropdown/index.d.ts +94 -136
  70. package/lib/dropdown/index.js +17 -17
  71. package/lib/exception/index.d.ts +41 -102
  72. package/lib/exception/index.js +18 -19
  73. package/lib/fixed-navbar/index.d.ts +59 -113
  74. package/lib/form/form.css +3 -0
  75. package/lib/form/form.d.ts +1 -1
  76. package/lib/form/form.less +3 -0
  77. package/lib/form/form.variable.css +3 -0
  78. package/lib/form/index.d.ts +80 -132
  79. package/lib/form/index.js +29 -27
  80. package/lib/icon/angle-double-down-line.js +21 -21
  81. package/lib/icon/angle-double-left-line.js +21 -21
  82. package/lib/icon/angle-double-left.js +21 -21
  83. package/lib/icon/angle-double-right-line.js +21 -21
  84. package/lib/icon/angle-double-right.js +21 -21
  85. package/lib/icon/angle-double-up-line.js +21 -21
  86. package/lib/icon/angle-down-fill.js +21 -21
  87. package/lib/icon/angle-down-line.js +21 -21
  88. package/lib/icon/angle-down.js +21 -21
  89. package/lib/icon/angle-left.js +21 -21
  90. package/lib/icon/angle-right.js +21 -21
  91. package/lib/icon/angle-up-fill.js +21 -21
  92. package/lib/icon/angle-up.js +21 -21
  93. package/lib/icon/archive-fill.js +21 -21
  94. package/lib/icon/arrows-left.js +21 -21
  95. package/lib/icon/arrows-right.js +21 -21
  96. package/lib/icon/assistant.js +21 -21
  97. package/lib/icon/audio-fill.js +21 -21
  98. package/lib/icon/bk.js +21 -21
  99. package/lib/icon/circle.js +21 -21
  100. package/lib/icon/close-line.js +21 -21
  101. package/lib/icon/close.js +21 -21
  102. package/lib/icon/code.js +21 -21
  103. package/lib/icon/cog-shape.js +21 -21
  104. package/lib/icon/collapse-left.js +21 -21
  105. package/lib/icon/copy-shape.js +21 -21
  106. package/lib/icon/copy.js +21 -21
  107. package/lib/icon/data-shape.js +21 -21
  108. package/lib/icon/del.js +21 -21
  109. package/lib/icon/doc-fill.js +21 -21
  110. package/lib/icon/done.js +21 -21
  111. package/lib/icon/down-shape.js +21 -21
  112. package/lib/icon/down-small.js +21 -21
  113. package/lib/icon/edit-line.js +21 -21
  114. package/lib/icon/ellipsis.js +21 -21
  115. package/lib/icon/enlarge-line.js +21 -21
  116. package/lib/icon/error.js +21 -21
  117. package/lib/icon/excel-fill.js +21 -21
  118. package/lib/icon/exclamation-circle-shape.js +21 -21
  119. package/lib/icon/eye.js +21 -21
  120. package/lib/icon/filliscreen-line.js +21 -21
  121. package/lib/icon/fix-line.js +21 -21
  122. package/lib/icon/fix-shape.js +21 -21
  123. package/lib/icon/folder-open.js +21 -21
  124. package/lib/icon/folder-shape-open.js +21 -21
  125. package/lib/icon/folder-shape.js +21 -21
  126. package/lib/icon/folder.js +21 -21
  127. package/lib/icon/funnel.js +21 -21
  128. package/lib/icon/grag-fill.js +21 -21
  129. package/lib/icon/help-document-fill.js +21 -21
  130. package/lib/icon/help-fill.js +21 -21
  131. package/lib/icon/help.js +21 -21
  132. package/lib/icon/image-fill.js +22 -22
  133. package/lib/icon/img-error.js +22 -22
  134. package/lib/icon/img-placehoulder.js +22 -22
  135. package/lib/icon/index.js +192 -192
  136. package/lib/icon/info-line.js +22 -22
  137. package/lib/icon/info.js +22 -22
  138. package/lib/icon/left-shape.js +22 -22
  139. package/lib/icon/left-turn-line.js +22 -22
  140. package/lib/icon/loading.js +22 -22
  141. package/lib/icon/narrow-line.js +22 -22
  142. package/lib/icon/original.js +22 -22
  143. package/lib/icon/pdf-fill.js +22 -22
  144. package/lib/icon/play-shape.js +22 -22
  145. package/lib/icon/plus.js +22 -22
  146. package/lib/icon/ppt-fill.js +22 -22
  147. package/lib/icon/qq.js +22 -22
  148. package/lib/icon/right-shape.js +22 -22
  149. package/lib/icon/right-turn-line.js +22 -22
  150. package/lib/icon/search.js +22 -22
  151. package/lib/icon/share.js +22 -22
  152. package/lib/icon/spinner.js +22 -22
  153. package/lib/icon/success.js +22 -22
  154. package/lib/icon/switcher-loading.js +22 -22
  155. package/lib/icon/text-file.js +22 -22
  156. package/lib/icon/text-fill.js +22 -22
  157. package/lib/icon/transfer.js +22 -22
  158. package/lib/icon/tree-application-shape.js +22 -22
  159. package/lib/icon/unfull-screen.js +22 -22
  160. package/lib/icon/unvisible.js +22 -22
  161. package/lib/icon/up-shape.js +22 -22
  162. package/lib/icon/upload.js +22 -22
  163. package/lib/icon/video-fill.js +22 -22
  164. package/lib/icon/warn.js +22 -22
  165. package/lib/icon/weixin-pro.js +22 -22
  166. package/lib/icon/weixin.js +22 -22
  167. package/lib/image/index.d.ts +113 -149
  168. package/lib/image/index.js +19 -19
  169. package/lib/info-box/index.js +231 -232
  170. package/lib/input/index.d.ts +326 -293
  171. package/lib/input/index.js +256 -258
  172. package/lib/link/index.d.ts +73 -122
  173. package/lib/loading/index.d.ts +132 -158
  174. package/lib/loading/index.js +23 -25
  175. package/lib/loading/loading.d.ts +4 -4
  176. package/lib/locale/index.js +8 -12
  177. package/lib/locale/lang/en.d.ts +3 -0
  178. package/lib/menu/index.d.ts +51 -112
  179. package/lib/menu/index.js +25 -25
  180. package/lib/message/index.js +28 -30
  181. package/lib/message/messageConstructor.d.ts +5 -5
  182. package/lib/modal/index.d.ts +261 -249
  183. package/lib/modal/index.js +492 -33
  184. package/lib/navigation/index.d.ts +152 -188
  185. package/lib/notify/index.js +22 -24
  186. package/lib/notify/notifyConstructor.d.ts +1 -1
  187. package/lib/overflow-title/index.d.ts +314 -242
  188. package/lib/overflow-title/index.js +1 -1
  189. package/lib/pagination/index.d.ts +194 -205
  190. package/lib/pagination/index.js +49 -56
  191. package/lib/plugin-popover/index.js +192 -98
  192. package/lib/pop-confirm/index.d.ts +126 -159
  193. package/lib/pop-confirm/index.js +0 -1
  194. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  195. package/lib/popover/content.d.ts +1 -1
  196. package/lib/popover/index.d.ts +374 -330
  197. package/lib/popover/index.js +192 -98
  198. package/lib/popover2/index.d.ts +8 -83
  199. package/lib/process/index.d.ts +93 -137
  200. package/lib/process/index.js +225 -226
  201. package/lib/progress/index.d.ts +178 -187
  202. package/lib/progress/index.js +19 -19
  203. package/lib/progress/progress.d.ts +2 -2
  204. package/lib/radio/index.d.ts +83 -135
  205. package/lib/radio/index.js +41 -43
  206. package/lib/rate/index.d.ts +55 -112
  207. package/lib/rate/index.js +19 -20
  208. package/lib/resize-layout/index.d.ts +156 -185
  209. package/lib/resize-layout/index.js +20 -21
  210. package/lib/resize-layout/resize-layout.d.ts +2 -2
  211. package/lib/search-select/index.d.ts +292 -327
  212. package/lib/search-select/index.js +239 -240
  213. package/lib/search-select/input.d.ts +2 -2
  214. package/lib/search-select/search-select.d.ts +3 -3
  215. package/lib/search-select/selected.d.ts +2 -2
  216. package/lib/select/index.d.ts +1234 -1135
  217. package/lib/select/index.js +259 -262
  218. package/lib/select/select.d.ts +121 -161
  219. package/lib/select/selectTagInput.d.ts +2 -2
  220. package/lib/shared/helper.d.ts +4 -0
  221. package/lib/shared/index.js +81 -63
  222. package/lib/sideslider/index.d.ts +247 -233
  223. package/lib/sideslider/index.js +241 -247
  224. package/lib/slider/index.d.ts +204 -204
  225. package/lib/slider/index.js +208 -209
  226. package/lib/steps/index.d.ts +114 -150
  227. package/lib/steps/index.js +227 -228
  228. package/lib/swiper/index.d.ts +81 -127
  229. package/lib/swiper/index.js +18 -18
  230. package/lib/switcher/index.d.ts +152 -174
  231. package/lib/switcher/index.js +20 -22
  232. package/lib/tab/index.d.ts +199 -211
  233. package/lib/tab/index.js +23 -25
  234. package/lib/table/components/table-column.d.ts +2 -2
  235. package/lib/table/index.d.ts +605 -593
  236. package/lib/table/index.js +81 -95
  237. package/lib/table/plugins/use-pagination.d.ts +1 -1
  238. package/lib/table/table.d.ts +1 -1
  239. package/lib/table/use-common.d.ts +67 -34
  240. package/lib/table-column/index.d.ts +207 -243
  241. package/lib/table-column/index.js +18 -19
  242. package/lib/tag/index.d.ts +95 -142
  243. package/lib/tag/index.js +19 -19
  244. package/lib/tag-input/index.d.ts +690 -498
  245. package/lib/tag-input/index.js +54 -62
  246. package/lib/tag-input/tag-input.d.ts +5 -5
  247. package/lib/time-picker/index.d.ts +442 -385
  248. package/lib/timeline/index.d.ts +50 -109
  249. package/lib/timeline/index.js +6 -6
  250. package/lib/transfer/index.d.ts +191 -206
  251. package/lib/tree/index.d.ts +322 -288
  252. package/lib/tree/index.js +36 -39
  253. package/lib/tree/tree.d.ts +1 -1
  254. package/lib/tree/use-tree-init.d.ts +1 -1
  255. package/lib/upload/index.d.ts +281 -254
  256. package/lib/upload/index.js +254 -257
  257. package/lib/upload/upload.d.ts +2 -2
  258. package/lib/virtual-render/index.d.ts +337 -242
  259. package/lib/virtual-render/index.js +30 -30
  260. package/lib/virtual-render/virtual-render.d.ts +1 -1
  261. package/package.json +6 -13
@@ -78,8 +78,12 @@ __webpack_require__.d(__webpack_exports__, {
78
78
  isEmpty: () => (/* reexport */ isEmpty),
79
79
  isEmptyObj: () => (/* binding */ isEmptyObj),
80
80
  isFinite: () => (/* reexport */ isNumberFinite),
81
+ isFunction: () => (/* reexport */ isFunction),
81
82
  isNullOrUndef: () => (/* reexport */ isNullOrUndef),
82
83
  isObject: () => (/* reexport */ isObject),
84
+ isPromise: () => (/* reexport */ isPromise),
85
+ isString: () => (/* reexport */ isString),
86
+ isSymbol: () => (/* reexport */ isSymbol),
83
87
  lineStyleType: () => (/* reexport */ lineStyleType),
84
88
  mask: () => (/* reexport */ mask),
85
89
  maybeShowTooltip: () => (/* reexport */ maybeShowTooltip),
@@ -173,7 +177,7 @@ function scrollTop(el) {
173
177
  var step = Math.ceil(difference / duration * 50);
174
178
  function scroll(start, end, step) {
175
179
  if (start === end) {
176
- endCallback === null || endCallback === void 0 ? void 0 : endCallback();
180
+ endCallback === null || endCallback === void 0 || endCallback();
177
181
  return;
178
182
  }
179
183
  var d = start + step > end ? end : start + step;
@@ -192,14 +196,14 @@ function scrollTop(el) {
192
196
  scroll(from, to, step);
193
197
  }
194
198
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
195
- function _typeof(obj) {
199
+ function _typeof(o) {
196
200
  "@babel/helpers - typeof";
197
201
 
198
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
199
- return typeof obj;
200
- } : function (obj) {
201
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
202
- }, _typeof(obj);
202
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
203
+ return typeof o;
204
+ } : function (o) {
205
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
206
+ }, _typeof(o);
203
207
  }
204
208
  ;// CONCATENATED MODULE: ../../packages/shared/src/helper.ts
205
209
 
@@ -265,7 +269,7 @@ function isArray(value) {
265
269
  * @since 2.7.0
266
270
  */
267
271
  function isObject(value) {
268
- return value !== null && /^\[object (Object|Module)\]/.test(Object.prototype.toString.call(value));
272
+ return value !== null && /^\[object (Object|Module|Promise)\]/.test(Object.prototype.toString.call(value));
269
273
  }
270
274
  /**
271
275
  * Returns true if `value` is a finite number, else returns false
@@ -451,6 +455,18 @@ function maybeShowTooltip(target, title) {
451
455
  target.removeAttribute('title');
452
456
  }
453
457
  }
458
+ var isFunction = function isFunction(val) {
459
+ return typeof val === 'function';
460
+ };
461
+ var isString = function isString(val) {
462
+ return typeof val === 'string';
463
+ };
464
+ var isSymbol = function isSymbol(val) {
465
+ return _typeof(val) === 'symbol';
466
+ };
467
+ var isPromise = function isPromise(val) {
468
+ return isObject(val) && isFunction(val.then) && isFunction(val["catch"]);
469
+ };
454
470
  ;// CONCATENATED MODULE: external "vue"
455
471
  var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
456
472
  var y = x => () => x
@@ -590,22 +606,22 @@ function _classCallCheck(instance, Constructor) {
590
606
  }
591
607
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
592
608
 
593
- function _toPrimitive(input, hint) {
594
- if (_typeof(input) !== "object" || input === null) return input;
595
- var prim = input[Symbol.toPrimitive];
596
- if (prim !== undefined) {
597
- var res = prim.call(input, hint || "default");
598
- if (_typeof(res) !== "object") return res;
609
+ function toPrimitive(t, r) {
610
+ if ("object" != _typeof(t) || !t) return t;
611
+ var e = t[Symbol.toPrimitive];
612
+ if (void 0 !== e) {
613
+ var i = e.call(t, r || "default");
614
+ if ("object" != _typeof(i)) return i;
599
615
  throw new TypeError("@@toPrimitive must return a primitive value.");
600
616
  }
601
- return (hint === "string" ? String : Number)(input);
617
+ return ("string" === r ? String : Number)(t);
602
618
  }
603
619
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
604
620
 
605
621
 
606
- function _toPropertyKey(arg) {
607
- var key = _toPrimitive(arg, "string");
608
- return _typeof(key) === "symbol" ? key : String(key);
622
+ function toPropertyKey(t) {
623
+ var i = toPrimitive(t, "string");
624
+ return "symbol" == _typeof(i) ? i : String(i);
609
625
  }
610
626
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/createClass.js
611
627
 
@@ -615,7 +631,7 @@ function _defineProperties(target, props) {
615
631
  descriptor.enumerable = descriptor.enumerable || false;
616
632
  descriptor.configurable = true;
617
633
  if ("value" in descriptor) descriptor.writable = true;
618
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
634
+ Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
619
635
  }
620
636
  }
621
637
  function _createClass(Constructor, protoProps, staticProps) {
@@ -629,7 +645,7 @@ function _createClass(Constructor, protoProps, staticProps) {
629
645
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
630
646
 
631
647
  function _defineProperty(obj, key, value) {
632
- key = _toPropertyKey(key);
648
+ key = toPropertyKey(key);
633
649
  if (key in obj) {
634
650
  Object.defineProperty(obj, key, {
635
651
  value: value,
@@ -832,7 +848,7 @@ var BKPopover = /*#__PURE__*/function () {
832
848
  key: "forceUpdate",
833
849
  value: function forceUpdate() {
834
850
  var _this$instance;
835
- (_this$instance = this.instance) === null || _this$instance === void 0 ? void 0 : _this$instance.forceUpdate();
851
+ (_this$instance = this.instance) === null || _this$instance === void 0 || _this$instance.forceUpdate();
836
852
  }
837
853
  // Asynchronously updates the popper instance, and returns a promise. Use this
838
854
  // for high-frequency updates.
@@ -840,7 +856,7 @@ var BKPopover = /*#__PURE__*/function () {
840
856
  key: "update",
841
857
  value: function update() {
842
858
  var _this$instance2;
843
- (_this$instance2 = this.instance) === null || _this$instance2 === void 0 ? void 0 : _this$instance2.update();
859
+ (_this$instance2 = this.instance) === null || _this$instance2 === void 0 || _this$instance2.update();
844
860
  }
845
861
  }, {
846
862
  key: "updateOptions",
@@ -857,14 +873,14 @@ var BKPopover = /*#__PURE__*/function () {
857
873
  key: "setOptions",
858
874
  value: function setOptions(options) {
859
875
  var _this$instance3;
860
- (_this$instance3 = this.instance) === null || _this$instance3 === void 0 ? void 0 : _this$instance3.setOptions(options);
876
+ (_this$instance3 = this.instance) === null || _this$instance3 === void 0 || _this$instance3.setOptions(options);
861
877
  }
862
878
  // Cleans up the instance.
863
879
  }, {
864
880
  key: "destroy",
865
881
  value: function destroy() {
866
882
  var _this$instance4;
867
- (_this$instance4 = this.instance) === null || _this$instance4 === void 0 ? void 0 : _this$instance4.destroy();
883
+ (_this$instance4 = this.instance) === null || _this$instance4 === void 0 || _this$instance4.destroy();
868
884
  }
869
885
  // 更新禁用状态
870
886
  }, {
@@ -883,7 +899,7 @@ var BKPopover = /*#__PURE__*/function () {
883
899
  if (!this.disabled) {
884
900
  var _this$popperRefer2;
885
901
  // Make the tooltip visible
886
- (_this$popperRefer2 = this.popperRefer) === null || _this$popperRefer2 === void 0 ? void 0 : _this$popperRefer2.setAttribute('data-show', '');
902
+ (_this$popperRefer2 = this.popperRefer) === null || _this$popperRefer2 === void 0 || _this$popperRefer2.setAttribute('data-show', '');
887
903
  // Enable the event listeners
888
904
  this.setOptions({
889
905
  modifiers: [].concat(_toConsumableArray(this.instanceOptions.modifiers || []), [{
@@ -910,7 +926,7 @@ var BKPopover = /*#__PURE__*/function () {
910
926
  var _this$popperRefer3;
911
927
  if (this.always) return;
912
928
  // Hide the tooltip
913
- (_this$popperRefer3 = this.popperRefer) === null || _this$popperRefer3 === void 0 ? void 0 : _this$popperRefer3.removeAttribute('data-show');
929
+ (_this$popperRefer3 = this.popperRefer) === null || _this$popperRefer3 === void 0 || _this$popperRefer3.removeAttribute('data-show');
914
930
  // Disable the event listeners
915
931
  this.setOptions({
916
932
  modifiers: [].concat(_toConsumableArray(this.instanceOptions.modifiers || []), [{
@@ -1029,7 +1045,7 @@ var BKPopover = /*#__PURE__*/function () {
1029
1045
  if (this.referenceTarget && this.popperRefer) {
1030
1046
  var _this$popperRefer4, _this$instanceOptions3;
1031
1047
  this.instance = (0,core_namespaceObject.createPopper)(this.referenceTarget, this.popperRefer, this.instanceOptions);
1032
- (_this$popperRefer4 = this.popperRefer) === null || _this$popperRefer4 === void 0 ? void 0 : _this$popperRefer4.setAttribute('data-theme', (_this$instanceOptions3 = this.instanceOptions.theme) !== null && _this$instanceOptions3 !== void 0 ? _this$instanceOptions3 : 'dark');
1048
+ (_this$popperRefer4 = this.popperRefer) === null || _this$popperRefer4 === void 0 || _this$popperRefer4.setAttribute('data-theme', (_this$instanceOptions3 = this.instanceOptions.theme) !== null && _this$instanceOptions3 !== void 0 ? _this$instanceOptions3 : 'dark');
1033
1049
  } else {
1034
1050
  console.error('reference or popperRefer is null, please check html element.');
1035
1051
  }
@@ -1298,6 +1314,31 @@ function checkOverflow(el) {
1298
1314
  }
1299
1315
  return isOverflow;
1300
1316
  }
1317
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
1318
+ function _assertThisInitialized(self) {
1319
+ if (self === void 0) {
1320
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1321
+ }
1322
+ return self;
1323
+ }
1324
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
1325
+
1326
+
1327
+ function _possibleConstructorReturn(self, call) {
1328
+ if (call && (_typeof(call) === "object" || typeof call === "function")) {
1329
+ return call;
1330
+ } else if (call !== void 0) {
1331
+ throw new TypeError("Derived constructors may only return object or undefined");
1332
+ }
1333
+ return _assertThisInitialized(self);
1334
+ }
1335
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
1336
+ function _getPrototypeOf(o) {
1337
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
1338
+ return o.__proto__ || Object.getPrototypeOf(o);
1339
+ };
1340
+ return _getPrototypeOf(o);
1341
+ }
1301
1342
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
1302
1343
  function _setPrototypeOf(o, p) {
1303
1344
  _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
@@ -1324,31 +1365,6 @@ function _inherits(subClass, superClass) {
1324
1365
  });
1325
1366
  if (superClass) _setPrototypeOf(subClass, superClass);
1326
1367
  }
1327
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
1328
- function _assertThisInitialized(self) {
1329
- if (self === void 0) {
1330
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1331
- }
1332
- return self;
1333
- }
1334
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
1335
-
1336
-
1337
- function _possibleConstructorReturn(self, call) {
1338
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
1339
- return call;
1340
- } else if (call !== void 0) {
1341
- throw new TypeError("Derived constructors may only return object or undefined");
1342
- }
1343
- return _assertThisInitialized(self);
1344
- }
1345
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
1346
- function _getPrototypeOf(o) {
1347
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
1348
- return o.__proto__ || Object.getPrototypeOf(o);
1349
- };
1350
- return _getPrototypeOf(o);
1351
- }
1352
1368
  ;// CONCATENATED MODULE: external "vue-types"
1353
1369
  var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1354
1370
  var external_vue_types_y = x => () => x
@@ -1359,8 +1375,8 @@ const external_vue_types_namespaceObject = external_vue_types_x({ ["createTypes"
1359
1375
 
1360
1376
 
1361
1377
 
1362
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
1363
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
1378
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
1379
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
1364
1380
  /*
1365
1381
  * Tencent is pleased to support the open source community by making
1366
1382
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1548,10 +1564,9 @@ function InputBehaviorType() {
1548
1564
  }
1549
1565
  var PropTypes = /*#__PURE__*/function (_propTypesNS) {
1550
1566
  _inherits(PropTypes, _propTypesNS);
1551
- var _super = _createSuper(PropTypes);
1552
1567
  function PropTypes() {
1553
1568
  _classCallCheck(this, PropTypes);
1554
- return _super.apply(this, arguments);
1569
+ return _callSuper(this, PropTypes, arguments);
1555
1570
  }
1556
1571
  _createClass(PropTypes, null, [{
1557
1572
  key: "size",
@@ -1647,7 +1662,6 @@ function SelectedType() {
1647
1662
 
1648
1663
 
1649
1664
 
1650
- var _BKLAYERD_INDEX_EFAUL;
1651
1665
  /**
1652
1666
  * Tencent is pleased to support the open source community by making
1653
1667
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1696,7 +1710,7 @@ var BKLAYERTYPE;
1696
1710
  BKLAYERTYPE["POPPER"] = "popper";
1697
1711
  })(BKLAYERTYPE || (BKLAYERTYPE = {}));
1698
1712
  /** 定义不同分层默认值 */
1699
- var BKLAYERD_INDEX_EFAULT_VALUE = (_BKLAYERD_INDEX_EFAUL = {}, _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.BOTTOM, 0), _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.CONTENT, 1), _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.NAVI, 100), _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.FULLSCREEN, 1000), _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.MODAL, 2000), _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.PLUGINS, 5000), _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.MESSAGE, 6000), _defineProperty(_BKLAYERD_INDEX_EFAUL, BKLAYERTYPE.POPPER, 8000), _BKLAYERD_INDEX_EFAUL);
1713
+ var BKLAYERD_INDEX_EFAULT_VALUE = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, BKLAYERTYPE.BOTTOM, 0), BKLAYERTYPE.CONTENT, 1), BKLAYERTYPE.NAVI, 100), BKLAYERTYPE.FULLSCREEN, 1000), BKLAYERTYPE.MODAL, 2000), BKLAYERTYPE.PLUGINS, 5000), BKLAYERTYPE.MESSAGE, 6000), BKLAYERTYPE.POPPER, 8000);
1700
1714
  var BKZIndexManager = /*#__PURE__*/function () {
1701
1715
  function BKZIndexManager() {
1702
1716
  _classCallCheck(this, BKZIndexManager);
@@ -1798,8 +1812,8 @@ var BKZIndexManager = /*#__PURE__*/function () {
1798
1812
  var bkZIndexManager = new BKZIndexManager();
1799
1813
  ;// CONCATENATED MODULE: ../../packages/shared/src/mask.ts
1800
1814
 
1801
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1802
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1815
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
1816
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
1803
1817
  var instanceStore = new WeakMap();
1804
1818
  var activeModal;
1805
1819
  var loopSetMaskStyle = function loopSetMaskStyle(modal, show) {
@@ -1810,7 +1824,7 @@ var loopSetMaskStyle = function loopSetMaskStyle(modal, show) {
1810
1824
  var _instanceStore$get = instanceStore.get(modal),
1811
1825
  _mask = _instanceStore$get.mask,
1812
1826
  backgroundColor = _instanceStore$get.backgroundColor;
1813
- _mask === null || _mask === void 0 ? void 0 : _mask.style.setProperty('background-color', show ? 'transparent' : backgroundColor);
1827
+ _mask === null || _mask === void 0 || _mask.style.setProperty('background-color', show ? 'transparent' : backgroundColor);
1814
1828
  }
1815
1829
  };
1816
1830
  var showMask = function showMask(options) {
@@ -1824,7 +1838,7 @@ var showMask = function showMask(options) {
1824
1838
  }
1825
1839
  var mask = options.mask,
1826
1840
  backgroundColor = options.backgroundColor;
1827
- mask === null || mask === void 0 ? void 0 : mask.style.setProperty('background-color', backgroundColor);
1841
+ mask === null || mask === void 0 || mask.style.setProperty('background-color', backgroundColor);
1828
1842
  loopSetMaskStyle(activeModal, options.showMask);
1829
1843
  activeModal = options.el;
1830
1844
  };
@@ -2025,8 +2039,12 @@ var __webpack_exports__isElement = __webpack_exports__.isElement;
2025
2039
  var __webpack_exports__isEmpty = __webpack_exports__.isEmpty;
2026
2040
  var __webpack_exports__isEmptyObj = __webpack_exports__.isEmptyObj;
2027
2041
  var __webpack_exports__isFinite = __webpack_exports__.isFinite;
2042
+ var __webpack_exports__isFunction = __webpack_exports__.isFunction;
2028
2043
  var __webpack_exports__isNullOrUndef = __webpack_exports__.isNullOrUndef;
2029
2044
  var __webpack_exports__isObject = __webpack_exports__.isObject;
2045
+ var __webpack_exports__isPromise = __webpack_exports__.isPromise;
2046
+ var __webpack_exports__isString = __webpack_exports__.isString;
2047
+ var __webpack_exports__isSymbol = __webpack_exports__.isSymbol;
2030
2048
  var __webpack_exports__lineStyleType = __webpack_exports__.lineStyleType;
2031
2049
  var __webpack_exports__mask = __webpack_exports__.mask;
2032
2050
  var __webpack_exports__maybeShowTooltip = __webpack_exports__.maybeShowTooltip;
@@ -2053,4 +2071,4 @@ var __webpack_exports__useFormItem = __webpack_exports__.useFormItem;
2053
2071
  var __webpack_exports__valueOrDefault = __webpack_exports__.valueOrDefault;
2054
2072
  var __webpack_exports__withInstall = __webpack_exports__.withInstall;
2055
2073
  var __webpack_exports__withInstallProps = __webpack_exports__.withInstallProps;
2056
- export { __webpack_exports__AlignEnum as AlignEnum, __webpack_exports__BKLAYERD_INDEX_EFAULT_VALUE as BKLAYERD_INDEX_EFAULT_VALUE, __webpack_exports__BKLAYERTYPE as BKLAYERTYPE, __webpack_exports__BKPopover as BKPopover, __webpack_exports__DialogTypeEnum as DialogTypeEnum, __webpack_exports__DirectionEnum as DirectionEnum, __webpack_exports__EMPTY_OBJ as EMPTY_OBJ, __webpack_exports__InputBehaviorEnum as InputBehaviorEnum, __webpack_exports__InputBehaviorType as InputBehaviorType, __webpack_exports__LineStyleEnum as LineStyleEnum, __webpack_exports__PlacementEnum as PlacementEnum, __webpack_exports__Placements as Placements, __webpack_exports__ProgressEnum as ProgressEnum, __webpack_exports__ProgressStrokeLineCapEnum as ProgressStrokeLineCapEnum, __webpack_exports__ProgressStrokeLineCapType as ProgressStrokeLineCapType, __webpack_exports__ProgressType as ProgressType, __webpack_exports__PropTypes as PropTypes, __webpack_exports__RenderDirectiveEnum as RenderDirectiveEnum, __webpack_exports__RenderType as RenderType, __webpack_exports__SelectedType as SelectedType, __webpack_exports__SelectedTypeEnum as SelectedTypeEnum, __webpack_exports__SizeEnum as SizeEnum, __webpack_exports__SwitcherThemeEnum as SwitcherThemeEnum, __webpack_exports__SwitcherThemeType as SwitcherThemeType, __webpack_exports__TagThemeEnum as TagThemeEnum, __webpack_exports__TagThemeType as TagThemeType, __webpack_exports__ThemeEnum as ThemeEnum, __webpack_exports__TriggerEnum as TriggerEnum, __webpack_exports__alignType as alignType, __webpack_exports__arrayEqual as arrayEqual, __webpack_exports__bkZIndexManager as bkZIndexManager, __webpack_exports__capitalize as capitalize, __webpack_exports__checkOverflow as checkOverflow, __webpack_exports__classes as classes, __webpack_exports__clone as clone, __webpack_exports__debounce as debounce, __webpack_exports__dialogTypeUnion as dialogTypeUnion, __webpack_exports__directionType as directionType, __webpack_exports__elementsEqual as elementsEqual, __webpack_exports__filterProperty as filterProperty, __webpack_exports__finiteOrDefault as finiteOrDefault, __webpack_exports__formItemKey as formItemKey, __webpack_exports__formKey as formKey, __webpack_exports__getPopContainerId as getPopContainerId, __webpack_exports__hasOverflowEllipsis as hasOverflowEllipsis, __webpack_exports__isArray as isArray, __webpack_exports__isElement as isElement, __webpack_exports__isEmpty as isEmpty, __webpack_exports__isEmptyObj as isEmptyObj, __webpack_exports__isFinite as isFinite, __webpack_exports__isNullOrUndef as isNullOrUndef, __webpack_exports__isObject as isObject, __webpack_exports__lineStyleType as lineStyleType, __webpack_exports__mask as mask, __webpack_exports__maybeShowTooltip as maybeShowTooltip, __webpack_exports__merge as merge, __webpack_exports__mergeIf as mergeIf, __webpack_exports__mergerFn as mergerFn, __webpack_exports__mergerIfFn as mergerIfFn, __webpack_exports__noop as noop, __webpack_exports__observerResize as observerResize, __webpack_exports__off as off, __webpack_exports__on as on, __webpack_exports__placementType as placementType, __webpack_exports__random as random, __webpack_exports__renderDirectiveType as renderDirectiveType, __webpack_exports__renderEmptyVNode as renderEmptyVNode, __webpack_exports__renderType as renderType, __webpack_exports__resolveClassName as resolveClassName, __webpack_exports__scrollTop as scrollTop, __webpack_exports__scrollbarWidth as scrollbarWidth, __webpack_exports__stringEnum as stringEnum, __webpack_exports__triggerType as triggerType, __webpack_exports__useForm as useForm, __webpack_exports__useFormItem as useFormItem, __webpack_exports__valueOrDefault as valueOrDefault, __webpack_exports__withInstall as withInstall, __webpack_exports__withInstallProps as withInstallProps };
2074
+ export { __webpack_exports__AlignEnum as AlignEnum, __webpack_exports__BKLAYERD_INDEX_EFAULT_VALUE as BKLAYERD_INDEX_EFAULT_VALUE, __webpack_exports__BKLAYERTYPE as BKLAYERTYPE, __webpack_exports__BKPopover as BKPopover, __webpack_exports__DialogTypeEnum as DialogTypeEnum, __webpack_exports__DirectionEnum as DirectionEnum, __webpack_exports__EMPTY_OBJ as EMPTY_OBJ, __webpack_exports__InputBehaviorEnum as InputBehaviorEnum, __webpack_exports__InputBehaviorType as InputBehaviorType, __webpack_exports__LineStyleEnum as LineStyleEnum, __webpack_exports__PlacementEnum as PlacementEnum, __webpack_exports__Placements as Placements, __webpack_exports__ProgressEnum as ProgressEnum, __webpack_exports__ProgressStrokeLineCapEnum as ProgressStrokeLineCapEnum, __webpack_exports__ProgressStrokeLineCapType as ProgressStrokeLineCapType, __webpack_exports__ProgressType as ProgressType, __webpack_exports__PropTypes as PropTypes, __webpack_exports__RenderDirectiveEnum as RenderDirectiveEnum, __webpack_exports__RenderType as RenderType, __webpack_exports__SelectedType as SelectedType, __webpack_exports__SelectedTypeEnum as SelectedTypeEnum, __webpack_exports__SizeEnum as SizeEnum, __webpack_exports__SwitcherThemeEnum as SwitcherThemeEnum, __webpack_exports__SwitcherThemeType as SwitcherThemeType, __webpack_exports__TagThemeEnum as TagThemeEnum, __webpack_exports__TagThemeType as TagThemeType, __webpack_exports__ThemeEnum as ThemeEnum, __webpack_exports__TriggerEnum as TriggerEnum, __webpack_exports__alignType as alignType, __webpack_exports__arrayEqual as arrayEqual, __webpack_exports__bkZIndexManager as bkZIndexManager, __webpack_exports__capitalize as capitalize, __webpack_exports__checkOverflow as checkOverflow, __webpack_exports__classes as classes, __webpack_exports__clone as clone, __webpack_exports__debounce as debounce, __webpack_exports__dialogTypeUnion as dialogTypeUnion, __webpack_exports__directionType as directionType, __webpack_exports__elementsEqual as elementsEqual, __webpack_exports__filterProperty as filterProperty, __webpack_exports__finiteOrDefault as finiteOrDefault, __webpack_exports__formItemKey as formItemKey, __webpack_exports__formKey as formKey, __webpack_exports__getPopContainerId as getPopContainerId, __webpack_exports__hasOverflowEllipsis as hasOverflowEllipsis, __webpack_exports__isArray as isArray, __webpack_exports__isElement as isElement, __webpack_exports__isEmpty as isEmpty, __webpack_exports__isEmptyObj as isEmptyObj, __webpack_exports__isFinite as isFinite, __webpack_exports__isFunction as isFunction, __webpack_exports__isNullOrUndef as isNullOrUndef, __webpack_exports__isObject as isObject, __webpack_exports__isPromise as isPromise, __webpack_exports__isString as isString, __webpack_exports__isSymbol as isSymbol, __webpack_exports__lineStyleType as lineStyleType, __webpack_exports__mask as mask, __webpack_exports__maybeShowTooltip as maybeShowTooltip, __webpack_exports__merge as merge, __webpack_exports__mergeIf as mergeIf, __webpack_exports__mergerFn as mergerFn, __webpack_exports__mergerIfFn as mergerIfFn, __webpack_exports__noop as noop, __webpack_exports__observerResize as observerResize, __webpack_exports__off as off, __webpack_exports__on as on, __webpack_exports__placementType as placementType, __webpack_exports__random as random, __webpack_exports__renderDirectiveType as renderDirectiveType, __webpack_exports__renderEmptyVNode as renderEmptyVNode, __webpack_exports__renderType as renderType, __webpack_exports__resolveClassName as resolveClassName, __webpack_exports__scrollTop as scrollTop, __webpack_exports__scrollbarWidth as scrollbarWidth, __webpack_exports__stringEnum as stringEnum, __webpack_exports__triggerType as triggerType, __webpack_exports__useForm as useForm, __webpack_exports__useFormItem as useFormItem, __webpack_exports__valueOrDefault as valueOrDefault, __webpack_exports__withInstall as withInstall, __webpack_exports__withInstallProps as withInstallProps };