bkui-vue 0.0.1-beta.14 → 0.0.1-beta.17

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 (260) hide show
  1. package/README.md +25 -17
  2. package/README_EN.md +89 -0
  3. package/dist/bkui-vue.cjs.js +2266 -535
  4. package/dist/bkui-vue.esm.js +2308 -582
  5. package/dist/bkui-vue.umd.js +2266 -535
  6. package/dist/style.css +601 -189
  7. package/lib/alert/alert.d.ts +24 -15
  8. package/lib/alert/alert.variable.css +6 -0
  9. package/lib/alert/index.d.ts +96 -60
  10. package/lib/alert/index.js +1 -1
  11. package/lib/animate-number/animate-number.d.ts +12 -7
  12. package/lib/animate-number/index.d.ts +48 -28
  13. package/lib/backtop/backtop.d.ts +27 -13
  14. package/lib/backtop/backtop.variable.css +6 -0
  15. package/lib/backtop/index.d.ts +108 -52
  16. package/lib/backtop/index.js +1 -1
  17. package/lib/badge/badge.d.ts +40 -19
  18. package/lib/badge/badge.variable.css +6 -0
  19. package/lib/badge/index.d.ts +144 -76
  20. package/lib/badge/index.js +1 -1
  21. package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
  22. package/lib/breadcrumb/breadcrumb.css +10 -1
  23. package/lib/breadcrumb/breadcrumb.d.ts +37 -9
  24. package/lib/breadcrumb/breadcrumb.less +13 -2
  25. package/lib/breadcrumb/breadcrumb.variable.css +16 -1
  26. package/lib/breadcrumb/index.d.ts +117 -45
  27. package/lib/breadcrumb/index.js +1 -1
  28. package/lib/button/button-group.d.ts +3 -5
  29. package/lib/button/button.d.ts +27 -22
  30. package/lib/button/button.variable.css +6 -0
  31. package/lib/button/index.d.ts +111 -93
  32. package/lib/button/index.js +1 -1
  33. package/lib/card/card.d.ts +30 -15
  34. package/lib/card/card.variable.css +6 -0
  35. package/lib/card/index.d.ts +120 -60
  36. package/lib/card/index.js +1 -1
  37. package/lib/checkbox/checkbox-group.d.ts +13 -9
  38. package/lib/checkbox/checkbox.d.ts +31 -22
  39. package/lib/checkbox/checkbox.variable.css +6 -0
  40. package/lib/checkbox/index.d.ts +137 -97
  41. package/lib/checkbox/index.js +1 -1
  42. package/lib/collapse/collapse.d.ts +50 -18
  43. package/lib/collapse/index.d.ts +108 -72
  44. package/lib/collapse/index.js +1 -1
  45. package/lib/components.d.ts +4 -0
  46. package/lib/date-picker/date-picker.d.ts +110 -63
  47. package/lib/date-picker/date-picker.variable.css +6 -0
  48. package/lib/date-picker/index.d.ts +437 -249
  49. package/lib/date-picker/index.js +1 -1
  50. package/lib/dialog/dialog.d.ts +46 -25
  51. package/lib/dialog/index.d.ts +179 -95
  52. package/lib/directives/index.js +1 -1
  53. package/lib/divider/divider.d.ts +21 -13
  54. package/lib/divider/divider.variable.css +6 -0
  55. package/lib/divider/index.d.ts +84 -52
  56. package/lib/dropdown/dropdown-item.d.ts +6 -5
  57. package/lib/dropdown/dropdown-menu.d.ts +6 -5
  58. package/lib/dropdown/dropdown.d.ts +25 -13
  59. package/lib/dropdown/dropdown.variable.css +6 -0
  60. package/lib/dropdown/index.d.ts +94 -62
  61. package/lib/exception/exception.d.ts +11 -9
  62. package/lib/exception/exception.variable.css +6 -0
  63. package/lib/exception/index.d.ts +44 -36
  64. package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
  65. package/lib/fixed-navbar/fixed-navbar.variable.css +6 -0
  66. package/lib/fixed-navbar/index.d.ts +60 -36
  67. package/lib/form/form-item.d.ts +46 -27
  68. package/lib/form/form.d.ts +21 -13
  69. package/lib/form/index.js +1 -1
  70. package/lib/icon/angle-double-left.js +15 -0
  71. package/lib/icon/angle-double-right.js +15 -0
  72. package/lib/icon/angle-down-fill.d.ts +4 -0
  73. package/lib/icon/angle-down-fill.js +15 -0
  74. package/lib/icon/angle-down-line.js +15 -0
  75. package/lib/icon/angle-down.js +15 -0
  76. package/lib/icon/angle-left.js +15 -0
  77. package/lib/icon/angle-right.js +15 -0
  78. package/lib/icon/angle-up-fill.d.ts +4 -0
  79. package/lib/icon/angle-up-fill.js +15 -0
  80. package/lib/icon/angle-up.js +15 -0
  81. package/lib/icon/arrows-left.d.ts +4 -0
  82. package/lib/icon/arrows-left.js +15 -0
  83. package/lib/icon/circle.js +15 -0
  84. package/lib/icon/close.js +15 -0
  85. package/lib/icon/code.js +15 -0
  86. package/lib/icon/cog-shape.js +15 -0
  87. package/lib/icon/collapse-left.js +15 -0
  88. package/lib/icon/copy.js +15 -0
  89. package/lib/icon/done.js +15 -0
  90. package/lib/icon/down-shape.js +15 -0
  91. package/lib/icon/down-small.js +15 -0
  92. package/lib/icon/error.js +15 -0
  93. package/lib/icon/eye.js +15 -0
  94. package/lib/icon/folder-open.js +15 -0
  95. package/lib/icon/folder-shape-open.js +15 -0
  96. package/lib/icon/folder-shape.js +15 -0
  97. package/lib/icon/folder.js +15 -0
  98. package/lib/icon/help-document-fill.js +15 -0
  99. package/lib/icon/help-fill.js +15 -0
  100. package/lib/icon/help.js +15 -0
  101. package/lib/icon/icon.js +15 -0
  102. package/lib/icon/index.d.ts +7 -3
  103. package/lib/icon/index.js +1 -1
  104. package/lib/icon/info-line.js +15 -0
  105. package/lib/icon/info.js +15 -0
  106. package/lib/icon/play-shape.js +15 -0
  107. package/lib/icon/plus.js +15 -0
  108. package/lib/icon/right-shape.js +15 -0
  109. package/lib/icon/search.js +15 -0
  110. package/lib/icon/share.js +15 -0
  111. package/lib/icon/spinner.d.ts +4 -0
  112. package/lib/icon/spinner.js +15 -0
  113. package/lib/icon/success.js +15 -0
  114. package/lib/icon/switcher-loading.js +15 -0
  115. package/lib/icon/text-file.js +15 -0
  116. package/lib/icon/tree-application-shape.js +15 -0
  117. package/lib/icon/unvisible.js +15 -0
  118. package/lib/icon/warn.js +15 -0
  119. package/lib/input/index.d.ts +251 -163
  120. package/lib/input/index.js +2 -2
  121. package/lib/input/input.css +1 -0
  122. package/lib/input/input.d.ts +62 -40
  123. package/lib/input/input.less +4 -3
  124. package/lib/input/input.variable.css +7 -0
  125. package/lib/link/index.d.ts +100 -52
  126. package/lib/link/link.d.ts +25 -13
  127. package/lib/link/link.variable.css +6 -0
  128. package/lib/loading/index.d.ts +64 -64
  129. package/lib/loading/index.js +1 -1
  130. package/lib/loading/loading.d.ts +16 -16
  131. package/lib/loading/loading.variable.css +6 -0
  132. package/lib/menu/index.d.ts +90 -71
  133. package/lib/menu/index.js +1 -1
  134. package/lib/menu/menu-group.d.ts +6 -5
  135. package/lib/menu/menu-item.d.ts +6 -5
  136. package/lib/menu/menu.d.ts +18 -14
  137. package/lib/menu/menu.variable.css +6 -0
  138. package/lib/menu/submenu.css +3 -0
  139. package/lib/menu/submenu.d.ts +6 -5
  140. package/lib/menu/submenu.less +1 -1
  141. package/lib/menu/submenu.variable.css +9 -0
  142. package/lib/message/index.js +1 -1
  143. package/lib/message/message.variable.css +6 -0
  144. package/lib/message/messageConstructor.d.ts +28 -16
  145. package/lib/modal/index.d.ts +92 -56
  146. package/lib/modal/index.js +1 -1
  147. package/lib/modal/modal.d.ts +24 -15
  148. package/lib/modal/props.mixin.d.ts +1 -1
  149. package/lib/navigation/index.js +1 -1
  150. package/lib/navigation/navigation-title.d.ts +10 -7
  151. package/lib/navigation/navigation.d.ts +40 -23
  152. package/lib/navigation/navigation.variable.css +6 -0
  153. package/lib/notify/index.js +1 -1
  154. package/lib/notify/notify.variable.css +6 -0
  155. package/lib/notify/notifyConstructor.d.ts +37 -21
  156. package/lib/popover/index.d.ts +219 -134
  157. package/lib/popover/index.js +1 -1
  158. package/lib/popover/popover.css +22 -13
  159. package/lib/popover/popover.d.ts +73 -44
  160. package/lib/popover/popover.less +55 -45
  161. package/lib/popover/popover.variable.css +28 -13
  162. package/lib/popover/props.d.ts +77 -0
  163. package/lib/process/index.d.ts +120 -60
  164. package/lib/process/index.js +1 -1
  165. package/lib/process/process.css +2 -3
  166. package/lib/process/process.d.ts +30 -15
  167. package/lib/process/process.less +2 -3
  168. package/lib/process/process.variable.css +8 -3
  169. package/lib/progress/index.d.ts +290 -120
  170. package/lib/progress/index.js +1 -1
  171. package/lib/progress/progress.css +0 -3
  172. package/lib/progress/progress.d.ts +84 -31
  173. package/lib/progress/progress.less +0 -4
  174. package/lib/progress/progress.variable.css +6 -3
  175. package/lib/radio/index.d.ts +127 -78
  176. package/lib/radio/index.js +1 -1
  177. package/lib/radio/radio-button.d.ts +24 -16
  178. package/lib/radio/radio-group.d.ts +11 -10
  179. package/lib/radio/radio.d.ts +23 -13
  180. package/lib/radio/radio.variable.css +6 -0
  181. package/lib/rate/index.d.ts +52 -40
  182. package/lib/rate/rate.d.ts +13 -10
  183. package/lib/rate/star.d.ts +32 -15
  184. package/lib/select/common.d.ts +10 -1
  185. package/lib/select/index.d.ts +515 -503
  186. package/lib/select/index.js +2 -2
  187. package/lib/select/option.d.ts +10 -17
  188. package/lib/select/optionGroup.d.ts +67 -52
  189. package/lib/select/select.css +71 -14
  190. package/lib/select/select.d.ts +136 -137
  191. package/lib/select/select.less +73 -14
  192. package/lib/select/select.variable.css +77 -14
  193. package/lib/shared/bk-helper-core.d.ts +6 -0
  194. package/lib/shared/bk-popover.d.ts +45 -4
  195. package/lib/shared/index.d.ts +10 -0
  196. package/lib/shared/index.js +1 -1
  197. package/lib/shared/utils.d.ts +6 -0
  198. package/lib/sideslider/index.d.ts +111 -63
  199. package/lib/sideslider/sideslider.d.ts +29 -17
  200. package/lib/sideslider/sideslider.variable.css +6 -0
  201. package/lib/slider/slider-button.d.ts +10 -7
  202. package/lib/slider/slider.d.ts +70 -40
  203. package/lib/slider/slider.variable.css +6 -0
  204. package/lib/steps/index.d.ts +156 -104
  205. package/lib/steps/index.js +1 -1
  206. package/lib/steps/steps.css +3 -0
  207. package/lib/steps/steps.d.ts +39 -26
  208. package/lib/steps/steps.less +4 -0
  209. package/lib/steps/steps.variable.css +9 -0
  210. package/lib/styles/index.d.ts +2 -0
  211. package/lib/styles/index.js +1 -1
  212. package/lib/styles/themes/themes.less +10 -0
  213. package/lib/switcher/index.d.ts +192 -128
  214. package/lib/switcher/index.js +1 -1
  215. package/lib/switcher/switcher.css +149 -135
  216. package/lib/switcher/switcher.d.ts +48 -32
  217. package/lib/switcher/switcher.less +210 -154
  218. package/lib/switcher/switcher.variable.css +155 -135
  219. package/lib/tab/index.d.ts +344 -208
  220. package/lib/tab/index.js +1 -1
  221. package/lib/tab/tab-nav.d.ts +74 -38
  222. package/lib/tab/tab-panel.d.ts +22 -20
  223. package/lib/tab/tab.d.ts +64 -32
  224. package/lib/tab/tab.variable.css +6 -0
  225. package/lib/table/const.d.ts +4 -0
  226. package/lib/table/index.d.ts +169 -70
  227. package/lib/table/index.js +1 -1
  228. package/lib/table/props.d.ts +56 -0
  229. package/lib/table/render.d.ts +19 -3
  230. package/lib/table/table.css +52 -13
  231. package/lib/table/table.d.ts +71 -12
  232. package/lib/table/table.less +62 -18
  233. package/lib/table/table.variable.css +60 -15
  234. package/lib/table/utils.d.ts +34 -1
  235. package/lib/tag/index.d.ts +10 -286
  236. package/lib/tag/tag.d.ts +2 -48
  237. package/lib/tag/tag.variable.css +6 -0
  238. package/lib/timeline/index.d.ts +129 -0
  239. package/lib/timeline/index.js +1 -0
  240. package/lib/timeline/timeline.css +235 -0
  241. package/lib/timeline/timeline.d.ts +81 -0
  242. package/lib/timeline/timeline.less +239 -0
  243. package/lib/timeline/timeline.variable.css +327 -0
  244. package/lib/tree/index.d.ts +148 -69
  245. package/lib/tree/index.js +1 -1
  246. package/lib/tree/props.d.ts +70 -0
  247. package/lib/tree/tree.css +16 -7
  248. package/lib/tree/tree.d.ts +51 -23
  249. package/lib/tree/tree.less +24 -24
  250. package/lib/tree/tree.variable.css +16 -7
  251. package/lib/tree/util.d.ts +3 -44
  252. package/lib/virtual-render/index.d.ts +556 -0
  253. package/lib/virtual-render/index.js +1 -0
  254. package/lib/virtual-render/props.d.ts +157 -0
  255. package/lib/virtual-render/v-virtual-render.d.ts +7 -0
  256. package/lib/virtual-render/virtual-render.css +40 -0
  257. package/lib/virtual-render/virtual-render.d.ts +244 -0
  258. package/lib/virtual-render/virtual-render.less +51 -0
  259. package/lib/virtual-render/virtual-render.variable.css +40 -0
  260. package/package.json +9 -7
@@ -9,6 +9,15 @@ export declare type IOptions = {
9
9
  theme?: string;
10
10
  trigger?: string;
11
11
  disabled?: boolean;
12
+ appendTo?: string | HTMLElement;
13
+ afterShow?: () => {};
14
+ afterHidden?: () => {};
15
+ /**
16
+ * 如果设置了appendTo为指定DOM,此配置项生效
17
+ * 是否将弹出内容固定到目标元素位置
18
+ * 例如:appendTo = document.body, fixOnBoundary = true,则弹出内容会一直固定到body
19
+ */
20
+ fixOnBoundary?: Boolean;
12
21
  };
13
22
  export declare type IBKPopover = Instance & {
14
23
  show: () => void;
@@ -30,35 +39,67 @@ export declare class BKPopover {
30
39
  /** Popover Content 外层容器,目标元素:实际弹出内容 */
31
40
  private popperRefer?;
32
41
  /** 默认初始化配置项 */
33
- private initOptions;
42
+ private instanceOptions;
34
43
  /** hide延时 */
35
44
  private delay;
36
45
  /** 是否进入popperRefer */
37
46
  private isInnerPopper;
38
47
  /** 是否为禁用状态 */
39
48
  private disabled;
49
+ /** 执行显示函数 */
50
+ private afterShow;
51
+ /** 执行隐藏函数 */
52
+ private afterHidden;
53
+ /** 弹出内容AppendTo */
54
+ private appendTo;
55
+ /** 父级容器 */
56
+ private container?;
57
+ /**
58
+ * 如果设置了appendTo为指定DOM,此配置项生效
59
+ * 是否将弹出内容固定到目标元素位置
60
+ * 例如:appendTo = document.body, fixOnBoundary = true,则弹出内容会一直固定到body
61
+ */
62
+ private fixOnBoundary;
40
63
  constructor(reference?: string | HTMLElement, popperRefer?: string | HTMLElement, options?: IOptions);
41
64
  forceUpdate(): void;
42
65
  update(): void;
66
+ updateOptions(options: IOptions): void;
43
67
  setOptions(options: IOptions): void;
44
68
  destroy(): void;
45
69
  updateDisabled(disabled?: boolean): void;
46
70
  /**
47
71
  * 展示Pop
48
- * @param event 触发事件
72
+ * @param _event 触发事件
49
73
  */
50
- show(event: any): void;
74
+ show(_event: any): void;
51
75
  /**
52
76
  * 隐藏
53
77
  * @param event 触发事件
54
78
  */
55
- hide(event: any): void;
79
+ hide(): void;
80
+ /**
81
+ * 还原PopContent到初试位置
82
+ */
83
+ private restorePopContent;
84
+ /**
85
+ * 挂载PopContent到目标位置
86
+ */
87
+ private appendToTarget;
88
+ /**
89
+ * 获取目标位置元素
90
+ * @returns
91
+ */
92
+ private getAppendToTarget;
56
93
  /**
57
94
  * 初始化默认配置
58
95
  * @param opts
59
96
  * @returns
60
97
  */
61
98
  private initDefaultOptions;
99
+ /**
100
+ * 判定是否需要将PopContent挂载到目标元素
101
+ */
102
+ private handleFirstUpdate;
62
103
  /**
63
104
  * 剔除 Pop 外层容器,获取目标元素
64
105
  * @returns
@@ -49,3 +49,13 @@ export declare const withInstallProps: <T extends OriginComponent, K extends Rec
49
49
  * @returns prefix-clsName
50
50
  */
51
51
  export declare function resolveClassName(clsName: string, prefix?: string): string;
52
+ /**
53
+ * 函数防抖
54
+ * @param {*} fn 执行的函数
55
+ * @param {*} delay 延时时间
56
+ * @param {*} immediate 是否立即执行
57
+ */
58
+ export declare function debounce(delay: number, fn: Function, immediate?: boolean): {
59
+ (this: any): any;
60
+ cancel(): void;
61
+ };
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("crypto"),require("vue-types")):"function"==typeof define&&define.amd?define(["exports","crypto","vue-types"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.require$$0,e["vue-types"])}(this,(function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(t);function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a={exports:{}};!function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0}(a);var s=i(a.exports),u={exports:{}};!function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0}(u);var c=i(u.exports),f={exports:{}};!function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0}(f);var l,p,d=i(f.exports);e.BKLAYERTYPE=void 0,(p=e.BKLAYERTYPE||(e.BKLAYERTYPE={})).BOTTOM="bottom",p.CONTENT="content",p.NAVI="navi",p.FULLSCREEN="fullScreen",p.PLUGINS="plugins",p.MODAL="modal",p.MESSAGE="message",p.POPPER="popper";var h=(d(l={},e.BKLAYERTYPE.BOTTOM,0),d(l,e.BKLAYERTYPE.CONTENT,1),d(l,e.BKLAYERTYPE.NAVI,100),d(l,e.BKLAYERTYPE.FULLSCREEN,1e3),d(l,e.BKLAYERTYPE.MODAL,3e3),d(l,e.BKLAYERTYPE.PLUGINS,8e3),d(l,e.BKLAYERTYPE.MESSAGE,1e4),d(l,e.BKLAYERTYPE.POPPER,99999),l),v=new(function(){function t(){s(this,t),this.storageLayerIndexValue={},this.copyDefaultValue()}return c(t,[{key:"getNextIndex",value:function(t){return Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue,t)?(this.storageLayerIndexValue[t]=this.storageLayerIndexValue[t]+1,this.storageLayerIndexValue[t]):(this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL]=this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL]+1,this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL])}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.NAVI)}},{key:"getPopperIndex",value:function(){return h.popper}},{key:"setDefaultZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue.__proto__,n)&&Object.assign(t.storageLayerIndexValue.__proto__,d({},n,e[n]))})),this.copyDefaultValue()}},{key:"resetZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue,n)&&Object.assign(t.storageLayerIndexValue,d({},n,e[n]))}))}},{key:"copyDefaultValue",value:function(){var e=Object.keys(h).reduce((function(e,t){return Object.assign(e,d({},t,{value:h[t],writable:!0,configurable:!0}))}),{});this.storageLayerIndexValue=Object.create(h,e)}}]),t}()),m={exports:{}};!function(e){function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}(m);var y=i(m.exports),g={exports:{}},b={exports:{}},x={exports:{}};!function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0}(x),function(e){var t=x.exports;e.exports=function(e){if(Array.isArray(e))return t(e)},e.exports.default=e.exports,e.exports.__esModule=!0}(b);var O={exports:{}};!function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0}(O);var w={exports:{}};!function(e){var t=x.exports;e.exports=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0}(w);var E={exports:{}};!function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0}(E),function(e){var t=b.exports,n=O.exports,r=w.exports,o=E.exports;e.exports=function(e){return t(e)||n(e)||r(e)||o()},e.exports.default=e.exports,e.exports.__esModule=!0}(g);var k=i(g.exports),_="top",j="bottom",P="right",M="left",I="auto",A=[_,j,P,M],S="start",T="end",L="viewport",D="popper",N=A.reduce((function(e,t){return e.concat([t+"-"+S,t+"-"+T])}),[]),R=[].concat(A,[I]).reduce((function(e,t){return e.concat([t,t+"-"+S,t+"-"+T])}),[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function V(e){return e?(e.nodeName||"").toLowerCase():null}function C(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Y(e){return e instanceof C(e).Element||e instanceof Element}function q(e){return e instanceof C(e).HTMLElement||e instanceof HTMLElement}function U(e){return"undefined"!=typeof ShadowRoot&&(e instanceof C(e).ShadowRoot||e instanceof ShadowRoot)}var H={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];q(o)&&V(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});q(r)&&V(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function W(e){return e.split("-")[0]}var K=Math.max,F=Math.min,z=Math.round;function G(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(q(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=z(n.width)/a||1),i>0&&(o=z(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function $(e){var t=G(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function X(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&U(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Z(e){return C(e).getComputedStyle(e)}function J(e){return["table","td","th"].indexOf(V(e))>=0}function Q(e){return((Y(e)?e.ownerDocument:e.document)||window.document).documentElement}function ee(e){return"html"===V(e)?e:e.assignedSlot||e.parentNode||(U(e)?e.host:null)||Q(e)}function te(e){return q(e)&&"fixed"!==Z(e).position?e.offsetParent:null}function ne(e){for(var t=C(e),n=te(e);n&&J(n)&&"static"===Z(n).position;)n=te(n);return n&&("html"===V(n)||"body"===V(n)&&"static"===Z(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&q(e)&&"fixed"===Z(e).position)return null;for(var n=ee(e);q(n)&&["html","body"].indexOf(V(n))<0;){var r=Z(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function re(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function oe(e,t,n){return K(e,F(t,n))}function ie(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ae(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var se={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=W(n.placement),u=re(s),c=[M,P].indexOf(s)>=0?"height":"width";if(i&&a){var f=function(e,t){return ie("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ae(e,A))}(o.padding,n),l=$(i),p="y"===u?_:M,d="y"===u?j:P,h=n.rects.reference[c]+n.rects.reference[u]-a[u]-n.rects.popper[c],v=a[u]-n.rects.reference[u],m=ne(i),y=m?"y"===u?m.clientHeight||0:m.clientWidth||0:0,g=h/2-v/2,b=f[p],x=y-l[c]-f[d],O=y/2-l[c]/2+g,w=oe(b,O,x),E=u;n.modifiersData[r]=((t={})[E]=w,t.centerOffset=w-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&("production"!==process.env.NODE_ENV&&(q(r)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),X(t.elements.popper,r)?t.elements.arrow=r:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ue(e){return e.split("-")[1]}var ce={top:"auto",right:"auto",bottom:"auto",left:"auto"};function fe(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,l=e.isFixed,p=!0===f?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:z(t*r)/r||0,y:z(n*r)/r||0}}(a):"function"==typeof f?f(a):a,d=p.x,h=void 0===d?0:d,v=p.y,m=void 0===v?0:v,y=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),b=M,x=_,O=window;if(c){var w=ne(n),E="clientHeight",k="clientWidth";if(w===C(n)&&"static"!==Z(w=Q(n)).position&&"absolute"===s&&(E="scrollHeight",k="scrollWidth"),w=w,o===_||(o===M||o===P)&&i===T)x=j,m-=(l&&O.visualViewport?O.visualViewport.height:w[E])-r.height,m*=u?1:-1;if(o===M||(o===_||o===j)&&i===T)b=P,h-=(l&&O.visualViewport?O.visualViewport.width:w[k])-r.width,h*=u?1:-1}var I,A=Object.assign({position:s},c&&ce);return u?Object.assign({},A,((I={})[x]=g?"0":"",I[b]=y?"0":"",I.transform=(O.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",I)):Object.assign({},A,((t={})[x]=g?m+"px":"",t[b]=y?h+"px":"",t.transform="",t))}var le={passive:!0};var pe={left:"right",right:"left",bottom:"top",top:"bottom"};function de(e){return e.replace(/left|right|bottom|top/g,(function(e){return pe[e]}))}var he={start:"end",end:"start"};function ve(e){return e.replace(/start|end/g,(function(e){return he[e]}))}function me(e){var t=C(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ye(e){return G(Q(e)).left+me(e).scrollLeft}function ge(e){var t=Z(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function be(e){return["html","body","#document"].indexOf(V(e))>=0?e.ownerDocument.body:q(e)&&ge(e)?e:be(ee(e))}function xe(e,t){var n;void 0===t&&(t=[]);var r=be(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=C(r),a=o?[i].concat(i.visualViewport||[],ge(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(xe(ee(a)))}function Oe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function we(e,t){return t===L?Oe(function(e){var t=C(e),n=Q(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+ye(e),y:s}}(e)):Y(t)?function(e){var t=G(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Oe(function(e){var t,n=Q(e),r=me(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=K(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=K(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+ye(e),u=-r.scrollTop;return"rtl"===Z(o||n).direction&&(s+=K(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}(Q(e)))}function Ee(e,t,n){var r="clippingParents"===t?function(e){var t=xe(ee(e)),n=["absolute","fixed"].indexOf(Z(e).position)>=0,r=n&&q(e)?ne(e):e;return Y(r)?t.filter((function(e){return Y(e)&&X(e,r)&&"body"!==V(e)&&(!n||"static"!==Z(e).position)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=we(e,n);return t.top=K(r.top,t.top),t.right=F(r.right,t.right),t.bottom=F(r.bottom,t.bottom),t.left=K(r.left,t.left),t}),we(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ke(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?W(o):null,a=o?ue(o):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(i){case _:t={x:s,y:n.y-r.height};break;case j:t={x:s,y:n.y+n.height};break;case P:t={x:n.x+n.width,y:u};break;case M:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var c=i?re(i):null;if(null!=c){var f="y"===c?"height":"width";switch(a){case S:t[c]=t[c]-(n[f]/2-r[f]/2);break;case T:t[c]=t[c]+(n[f]/2-r[f]/2)}}return t}function _e(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,u=void 0===s?L:s,c=n.elementContext,f=void 0===c?D:c,l=n.altBoundary,p=void 0!==l&&l,d=n.padding,h=void 0===d?0:d,v=ie("number"!=typeof h?h:ae(h,A)),m=f===D?"reference":D,y=e.rects.popper,g=e.elements[p?m:f],b=Ee(Y(g)?g:g.contextElement||Q(e.elements.popper),a,u),x=G(e.elements.reference),O=ke({reference:x,element:y,strategy:"absolute",placement:o}),w=Oe(Object.assign({},y,O)),E=f===D?w:x,k={top:b.top-E.top+v.top,bottom:E.bottom-b.bottom+v.bottom,left:b.left-E.left+v.left,right:E.right-b.right+v.right},M=e.modifiersData.offset;if(f===D&&M){var I=M[o];Object.keys(k).forEach((function(e){var t=[P,j].indexOf(e)>=0?1:-1,n=[_,j].indexOf(e)>=0?"y":"x";k[e]+=I[n]*t}))}return k}function je(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?R:u,f=ue(r),l=f?s?N:N.filter((function(e){return ue(e)===f})):A,p=l.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=l,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var d=p.reduce((function(t,n){return t[n]=_e(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[W(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var Pe={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,c=n.padding,f=n.boundary,l=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,v=n.allowedAutoPlacements,m=t.options.placement,y=W(m),g=u||(y===m||!h?[de(m)]:function(e){if(W(e)===I)return[];var t=de(e);return[ve(e),t,ve(t)]}(m)),b=[m].concat(g).reduce((function(e,n){return e.concat(W(n)===I?je(t,{placement:n,boundary:f,rootBoundary:l,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),x=t.rects.reference,O=t.rects.popper,w=new Map,E=!0,k=b[0],A=0;A<b.length;A++){var T=b[A],L=W(T),D=ue(T)===S,N=[_,j].indexOf(L)>=0,R=N?"width":"height",B=_e(t,{placement:T,boundary:f,rootBoundary:l,altBoundary:p,padding:c}),V=N?D?P:M:D?j:_;x[R]>O[R]&&(V=de(V));var C=de(V),Y=[];if(i&&Y.push(B[L]<=0),s&&Y.push(B[V]<=0,B[C]<=0),Y.every((function(e){return e}))){k=T,E=!1;break}w.set(T,Y)}if(E)for(var q=function(e){var t=b.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},U=h?3:1;U>0;U--){if("break"===q(U))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Me(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ie(e){return[_,P,j,M].some((function(t){return e[t]>=0}))}var Ae={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=R.reduce((function(e,n){return e[n]=function(e,t,n){var r=W(e),o=[M,_].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[M,P].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],u=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var Se={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,c=n.rootBoundary,f=n.altBoundary,l=n.padding,p=n.tether,d=void 0===p||p,h=n.tetherOffset,v=void 0===h?0:h,m=_e(t,{boundary:u,rootBoundary:c,padding:l,altBoundary:f}),y=W(t.placement),g=ue(t.placement),b=!g,x=re(y),O="x"===x?"y":"x",w=t.modifiersData.popperOffsets,E=t.rects.reference,k=t.rects.popper,I="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,A="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(w){if(i){var D,N="y"===x?_:M,R="y"===x?j:P,B="y"===x?"height":"width",V=w[x],C=V+m[N],Y=V-m[R],q=d?-k[B]/2:0,U=g===S?E[B]:k[B],H=g===S?-k[B]:-E[B],z=t.elements.arrow,G=d&&z?$(z):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Z=X[N],J=X[R],Q=oe(0,E[B],G[B]),ee=b?E[B]/2-q-Q-Z-A.mainAxis:U-Q-Z-A.mainAxis,te=b?-E[B]/2+q+Q+J+A.mainAxis:H+Q+J+A.mainAxis,ie=t.elements.arrow&&ne(t.elements.arrow),ae=ie?"y"===x?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(D=null==T?void 0:T[x])?D:0,ce=V+te-se,fe=oe(d?F(C,V+ee-se-ae):C,V,d?K(Y,ce):Y);w[x]=fe,L[x]=fe-V}if(s){var le,pe="x"===x?_:M,de="x"===x?j:P,he=w[O],ve="y"===O?"height":"width",me=he+m[pe],ye=he-m[de],ge=-1!==[_,M].indexOf(y),be=null!=(le=null==T?void 0:T[O])?le:0,xe=ge?me:he-E[ve]-k[ve]-be+A.altAxis,Oe=ge?he+E[ve]+k[ve]-be-A.altAxis:ye,we=d&&ge?function(e,t,n){var r=oe(e,t,n);return r>n?n:r}(xe,he,Oe):oe(d?xe:me,he,d?Oe:ye);w[O]=we,L[O]=we-he}t.modifiersData[r]=L}},requiresIfExists:["offset"]};function Te(e,t,n){void 0===n&&(n=!1);var r,o,i=q(t),a=q(t)&&function(e){var t=e.getBoundingClientRect(),n=z(t.width)/e.offsetWidth||1,r=z(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Q(t),u=G(e,a),c={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!n)&&(("body"!==V(t)||ge(s))&&(c=(r=t)!==C(r)&&q(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:me(r)),q(t)?((f=G(t,!0)).x+=t.clientLeft,f.y+=t.clientTop):s&&(f.x=ye(s))),{x:u.left+c.scrollLeft-f.x,y:u.top+c.scrollTop-f.y,width:u.width,height:u.height}}function Le(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function De(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var Ne='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Re=["name","enabled","phase","fn","effect","requires","options"];var Be="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Ve={placement:"bottom",modifiers:[],strategy:"absolute"};function Ce(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ye(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Ve:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ve,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],c=!1,f={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;l(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:Y(e)?xe(e):e.contextElement?xe(e.contextElement):[],popper:xe(t)};var a,c,p,d=function(e){var t=Le(e);return B.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));if(s.orderedModifiers=d.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){if(function(e){e.forEach((function(t){[].concat(Object.keys(t),Re).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(De(Ne,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(De(Ne,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":B.indexOf(t.phase)<0&&console.error(De(Ne,t.name,'"phase"',"either "+B.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(De(Ne,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(De(Ne,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(De(Ne,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(De(Ne,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+Re.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(De('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((a=[].concat(d,s.options.modifiers),c=function(e){return e.name},p=new Set,a.filter((function(e){var t=c(e);if(!p.has(t))return p.add(t),!0})))),W(s.options.placement)===I)s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var h=Z(t);[h.marginTop,h.marginRight,h.marginBottom,h.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:f,options:r}),a=function(){};u.push(i||a)}})),f.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(Ce(t,n)){s.rects={reference:Te(t,ne(n),"fixed"===s.options.strategy),popper:$(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0,o=0;o<s.orderedModifiers.length;o++){if("production"!==process.env.NODE_ENV&&(r+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var i=s.orderedModifiers[o],a=i.fn,u=i.options,l=void 0===u?{}:u,p=i.name;"function"==typeof a&&(s=a({state:s,options:l,name:p,instance:f})||s)}else s.reset=!1,o=-1}}else"production"!==process.env.NODE_ENV&&console.error(Be)}},update:(o=function(){return new Promise((function(e){f.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){l(),c=!0}};if(!Ce(e,t))return"production"!==process.env.NODE_ENV&&console.error(Be),f;function l(){u.forEach((function(e){return e()})),u=[]}return f.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),f}}var qe=Ye({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,u=C(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,le)})),s&&u.addEventListener("resize",n.update,le),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,le)})),s&&u.removeEventListener("resize",n.update,le)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ke({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s;if("production"!==process.env.NODE_ENV){var c=Z(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var f={placement:W(t.placement),variation:ue(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,fe(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,fe(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},H,Ae,Pe,Se,se,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=_e(t,{elementContext:"reference"}),s=_e(t,{altBoundary:!0}),u=Me(a,r),c=Me(s,o,i),f=Ie(u),l=Ie(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":l})}}]});function Ue(e){return null==e}function He(e){if(Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)}function We(e){return null!==e&&/^\[object (Object|Module)\]/.test(Object.prototype.toString.call(e))}var Ke=function(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)};function Fe(e){if(He(e))return e.map(Fe);if(We(e)){for(var t=Object.create(null),n=Object.keys(e),r=n.length,o=0;o<r;++o)t[n[o]]=Fe(e[n[o]]);return t}return e}function ze(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function Ge(e,t,n,r){if(ze(e)){var o=t[e],i=n[e];We(o)&&We(i)?$e(o,i,r):t[e]=Fe(i)}}function $e(e,t,n){var r=He(t)?t:[t],o=r.length;if(!We(e))return e;for(var i=(n=n||{}).merger||Ge,a=0;a<o;++a)if(We(t=r[a]))for(var s=Object.keys(t),u=0,c=s.length;u<c;++u)i(s[u],e,t,n);return e}function Xe(e,t){return $e(e,t,{merger:Ze})}function Ze(e,t,n){if(ze(e)){var r=t[e],o=n[e];We(r)&&We(o)?Xe(r,o):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Fe(o))}}var Je=function(){function e(t,n,r){var o;s(this,e),this.isShow=!1,this.trigger=void 0,this.instance=void 0,this.reference=void 0,this.referenceTarget=void 0,this.popperRefer=void 0,this.delay=50,this.isInnerPopper=!1,this.disabled=!1,this.initOptions=this.initDefaultOptions(r),this.reference=this.resolveInputSelectorToHtmlElement(t),this.popperRefer=this.resolveInputSelectorToHtmlElement(n),this.referenceTarget=this.getTargetReferenceElement(),this.isShow=!!(null===(o=this.initOptions)||void 0===o?void 0:o.isShow),this.trigger=this.initOptions.trigger,this.disabled=this.initOptions.disabled,this.initInstance(),this.registerEvents(),this.isShow&&this.show(null)}return c(e,[{key:"forceUpdate",value:function(){var e;null===(e=this.instance)||void 0===e||e.forceUpdate()}},{key:"update",value:function(){var e;null===(e=this.instance)||void 0===e||e.update()}},{key:"setOptions",value:function(e){var t;null===(t=this.instance)||void 0===t||t.setOptions(e)}},{key:"destroy",value:function(){var e;null===(e=this.instance)||void 0===e||e.destroy()}},{key:"updateDisabled",value:function(e){this.disabled=null!=e?e:!this.disabled,this.disabled&&this.hide(null)}},{key:"show",value:function(e){var t;this.disabled||(console.info(e),null===(t=this.popperRefer)||void 0===t||t.setAttribute("data-show",""),this.setOptions({modifiers:[].concat(k(this.initOptions.modifiers||[]),[{name:"eventListeners",enabled:!0}])}),this.update(),this.isShow=!0)}},{key:"hide",value:function(e){var t;console.info(e),null===(t=this.popperRefer)||void 0===t||t.removeAttribute("data-show"),this.setOptions({modifiers:[].concat(k(this.initOptions.modifiers||[]),[{name:"eventListeners",enabled:!1}])}),this.isShow=!1,this.isInnerPopper=!1}},{key:"initDefaultOptions",value:function(e){return $e({placement:"top",modifiers:[{name:"offset",options:{offset:[0,8]}}],strategy:"absolute",onFirstUpdate:void 0,isShow:!1,theme:"dark",trigger:"hover",disabled:!1},e||{})}},{key:"getTargetReferenceElement",value:function(){return this.isElement(this.reference)&&1===this.reference.childElementCount?this.reference.firstElementChild:this.reference}},{key:"initInstance",value:function(){var e,t;this.referenceTarget&&(this.referenceTarget&&this.popperRefer?(this.instance=qe(this.referenceTarget,this.popperRefer,this.initOptions),null===(e=this.popperRefer)||void 0===e||e.setAttribute("data-theme",null!==(t=this.initOptions.theme)&&void 0!==t?t:"dark")):console.error("reference or popperRefer is null, please check html element."))}},{key:"resolveInputSelectorToHtmlElement",value:function(e){if(this.isElement(e))return e;if("string"==typeof e)return document.querySelector(e);if("object"===y(e)){if(Object.prototype.hasOwnProperty.call(e,"getBoundingClientRect"))return e}else console.error("'getBoundingClientRect' is needed when use virtual elements");return null}},{key:"isElement",value:function(e){try{return e instanceof HTMLElement}catch(t){return"object"===y(e)&&1===e.nodeType&&"object"===y(e.style)&&"object"===y(e.ownerDocument)}}},{key:"registerEvents",value:function(){var e=this;if(this.isElement(this.referenceTarget)&&"hover"===this.trigger){["mouseenter","focus"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(n){"mouseenter"===t&&(e.isInnerPopper=!0),e.show(n)}))})),["mouseleave","blur"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(t){e.isInnerPopper=!1,setTimeout((function(){!e.isInnerPopper&&e.hide(t)}),e.delay)}))})),this.isElement(this.popperRefer)&&["mouseenter","mouseleave"].forEach((function(t){e.popperRefer.addEventListener(t,(function(n){"mouseenter"===t&&(e.isInnerPopper=!0),"mouseleave"===t&&e.hide(n)}))}))}if("click"===this.trigger){["click"].forEach((function(t){document.body.addEventListener(t,(function(t){e.isSameElement(t.target,e.reference)||e.reference.contains(t.target)?e.show(t):e.isShow&&!e.isSameElement(t.target,e.popperRefer)&&e.hide(t)}))}))}}},{key:"isSameElement",value:function(e,t){return e&&(e===t||e===t.firstElementChild)}}]),e}(),Qe={},et={},tt={};Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=function(){it>ot.length-16&&(rt.default.randomFillSync(ot),it=0);return ot.slice(it,it+=16)};var nt,rt=(nt=o.default)&&nt.__esModule?nt:{default:nt};var ot=new Uint8Array(256),it=ot.length;var at={},st={},ut={};Object.defineProperty(ut,"__esModule",{value:!0}),ut.default=void 0;ut.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Object.defineProperty(st,"__esModule",{value:!0}),st.default=void 0;var ct=function(e){return e&&e.__esModule?e:{default:e}}(ut);var ft=function(e){return"string"==typeof e&&ct.default.test(e)};st.default=ft,Object.defineProperty(at,"__esModule",{value:!0}),at.default=void 0;var lt=function(e){return e&&e.__esModule?e:{default:e}}(st);for(var pt=[],dt=0;dt<256;++dt)pt.push((dt+256).toString(16).substr(1));var ht=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(pt[e[t+0]]+pt[e[t+1]]+pt[e[t+2]]+pt[e[t+3]]+"-"+pt[e[t+4]]+pt[e[t+5]]+"-"+pt[e[t+6]]+pt[e[t+7]]+"-"+pt[e[t+8]]+pt[e[t+9]]+"-"+pt[e[t+10]]+pt[e[t+11]]+pt[e[t+12]]+pt[e[t+13]]+pt[e[t+14]]+pt[e[t+15]]).toLowerCase();if(!(0,lt.default)(n))throw TypeError("Stringified UUID is invalid");return n};at.default=ht,Object.defineProperty(et,"__esModule",{value:!0}),et.default=void 0;var vt,mt,yt=bt(tt),gt=bt(at);function bt(e){return e&&e.__esModule?e:{default:e}}var xt=0,Ot=0;var wt=function(e,t,n){var r=t&&n||0,o=t||new Array(16),i=(e=e||{}).node||vt,a=void 0!==e.clockseq?e.clockseq:mt;if(null==i||null==a){var s=e.random||(e.rng||yt.default)();null==i&&(i=vt=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==a&&(a=mt=16383&(s[6]<<8|s[7]))}var u=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:Ot+1,f=u-xt+(c-Ot)/1e4;if(f<0&&void 0===e.clockseq&&(a=a+1&16383),(f<0||u>xt)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");xt=u,Ot=c,mt=a;var l=(1e4*(268435455&(u+=122192928e5))+c)%4294967296;o[r++]=l>>>24&255,o[r++]=l>>>16&255,o[r++]=l>>>8&255,o[r++]=255&l;var p=u/4294967296*1e4&268435455;o[r++]=p>>>8&255,o[r++]=255&p,o[r++]=p>>>24&15|16,o[r++]=p>>>16&255,o[r++]=a>>>8|128,o[r++]=255&a;for(var d=0;d<6;++d)o[r+d]=i[d];return t||(0,gt.default)(o)};et.default=wt;var Et={},kt={},_t={};Object.defineProperty(_t,"__esModule",{value:!0}),_t.default=void 0;var jt=function(e){return e&&e.__esModule?e:{default:e}}(st);var Pt=function(e){if(!(0,jt.default)(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};_t.default=Pt,Object.defineProperty(kt,"__esModule",{value:!0}),kt.default=function(e,t,n){function r(e,r,o,i){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=(0,It.default)(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(r),a.set(e,r.length),(a=n(a))[6]=15&a[6]|t,a[8]=63&a[8]|128,o){i=i||0;for(var s=0;s<16;++s)o[i+s]=a[s];return o}return(0,Mt.default)(a)}try{r.name=e}catch(e){}return r.DNS=St,r.URL=Tt,r},kt.URL=kt.DNS=void 0;var Mt=At(at),It=At(_t);function At(e){return e&&e.__esModule?e:{default:e}}var St="6ba7b810-9dad-11d1-80b4-00c04fd430c8";kt.DNS=St;var Tt="6ba7b811-9dad-11d1-80b4-00c04fd430c8";kt.URL=Tt;var Lt={};Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.default=void 0;var Dt=function(e){return e&&e.__esModule?e:{default:e}}(o.default);var Nt=function(e){return Array.isArray(e)?e=Buffer.from(e):"string"==typeof e&&(e=Buffer.from(e,"utf8")),Dt.default.createHash("md5").update(e).digest()};Lt.default=Nt,Object.defineProperty(Et,"__esModule",{value:!0}),Et.default=void 0;var Rt=Vt(kt),Bt=Vt(Lt);function Vt(e){return e&&e.__esModule?e:{default:e}}var Ct=(0,Rt.default)("v3",48,Bt.default);Et.default=Ct;var Yt={};Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.default=void 0;var qt=Ht(tt),Ut=Ht(at);function Ht(e){return e&&e.__esModule?e:{default:e}}var Wt=function(e,t,n){var r=(e=e||{}).random||(e.rng||qt.default)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return(0,Ut.default)(r)};Yt.default=Wt;var Kt={},Ft={};Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.default=void 0;var zt=function(e){return e&&e.__esModule?e:{default:e}}(o.default);var Gt=function(e){return Array.isArray(e)?e=Buffer.from(e):"string"==typeof e&&(e=Buffer.from(e,"utf8")),zt.default.createHash("sha1").update(e).digest()};Ft.default=Gt,Object.defineProperty(Kt,"__esModule",{value:!0}),Kt.default=void 0;var $t=Zt(kt),Xt=Zt(Ft);function Zt(e){return e&&e.__esModule?e:{default:e}}var Jt=(0,$t.default)("v5",80,Xt.default);Kt.default=Jt;var Qt={};Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.default=void 0;Qt.default="00000000-0000-0000-0000-000000000000";var en={};Object.defineProperty(en,"__esModule",{value:!0}),en.default=void 0;var tn=function(e){return e&&e.__esModule?e:{default:e}}(st);var nn=function(e){if(!(0,tn.default)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)};en.default=nn,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"v1",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"v3",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"v4",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"NIL",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return c.default}});var t=f(et),n=f(Et),r=f(Yt),o=f(Kt),i=f(Qt),a=f(en),s=f(st),u=f(at),c=f(_t);function f(e){return e&&e.__esModule?e:{default:e}}}(Qe);var rn=function(){function e(t){s(this,e),this.multiInstance=!1,this.uniqueMaskAttrTag="",this.parentNode=document.body,this.activeInstance=void 0,this.maskStyle={position:"absolute",left:0,top:0,bottom:0,right:0,display:"none","background-color":"rgba(0,0,0,.6)"};var n=t||{},r=n.multiInstance,o=void 0!==r&&r,i=n.maskAttrTag,a=void 0===i?"auto":i,u=n.parentNode,c=void 0===u?document.body:u,f=n.maskStyle,l=void 0===f?{}:f;this.activeInstance=void 0,this.maskStyle=Object.assign({},this.maskStyle,l),this.multiInstance=o,this.uniqueMaskAttrTag=this.getMaskAttrTag(a),this.parentNode=c||document,this.mask=this.getMask(),this.backupMask=this.createMask("data-bk-backup-uid"),this.setMaskStyle()}return c(e,[{key:"show",value:function(e,t){var n=/-?\d+/.test("".concat(t))?t:v.getModalNextIndex();this.mask.style.setProperty("display","block"),this.mask.style.setProperty("z-index","".concat(n)),this.backupMask.style.setProperty("z-index","".concat(n-1)),e&&(this.activeInstance=e,this.appendContentToMask(e))}},{key:"hide",value:function(e){var t;this.mask.style.setProperty("display","none"),null==e||e.remove(),null===(t=this.activeInstance)||void 0===t||t.remove(),this.activeInstance=void 0}},{key:"backupActiveInstance",value:function(){this.activeInstance&&this.backupMask.append(this.activeInstance)}},{key:"backupContentElement",value:function(e){e&&this.backupMask.append(e)}},{key:"getActiveContentInstance",value:function(){return this.activeInstance}},{key:"getMask",value:function(){if(this.multiInstance)return this.createMask();var e=this.parentNode.querySelector("[data-bkmask-uid='".concat(this.uniqueMaskAttrTag,"']"));return e||(e=this.createMask()),e}},{key:"createMask",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-bk-mask-uid",t=document.createElement("div");return t.setAttribute(e,this.uniqueMaskAttrTag),this.parentNode.append(t),t}},{key:"setMaskStyle",value:function(){var e=this;this.mask&&Object.entries(this.maskStyle).forEach((function(t){return e.mask.style.setProperty(t[0],t[1])}))}},{key:"getMaskAttrTag",value:function(e){return/^(auto|\s+)$/i.test(e)||null==e||""===e?"__bk_mask_".concat(Qe.v4()):e}},{key:"appendContentToMask",value:function(e){this.mask.append(e)}}]),e}(),on=new rn({}),an=function(){function e(){s(this,e),this.popInstanceList=[],this.uuidAttrName="data-bk-pop-uuid"}return c(e,[{key:"show",value:function(e){if(e){var t=v.getModalNextIndex(),n=Qe.v4();e.setAttribute(this.uuidAttrName,n),this.popInstanceList.push({uuid:n,zIndex:t,content:e}),on.backupActiveInstance(),on.show(e,t)}else console.warn("pop show error: content is null or undefined")}},{key:"popHide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.popInstanceList.length){if(e){var t=this.popInstanceList.pop();t.remove()}if(this.popInstanceList.length){var n=this.popInstanceList.slice(-1)[0];on.show(n.content,n.zIndex)}else on.hide()}}},{key:"hide",value:function(e){var t=null==e?void 0:e.getAttribute(this.uuidAttrName);if(t){var n=this.popInstanceList.findIndex((function(e){return e.uuid===t}));n>=0&&(this.popInstanceList[n].content.remove(),this.popInstanceList.splice(n,1),this.popInstanceList.length?this.popHide(!1):on.hide())}else null==e||e.remove()}}]),e}(),sn=new an,un={exports:{}},cn={exports:{}};!function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n,r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}(cn),function(e){var t=cn.exports;e.exports=function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&t(e,n)},e.exports.default=e.exports,e.exports.__esModule=!0}(un);var fn=i(un.exports),ln={exports:{}},pn={exports:{}};!function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0}(pn),function(e){var t=m.exports.default,n=pn.exports;e.exports=function(e,r){if(r&&("object"===t(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0}(ln);var dn=i(ln.exports),hn={exports:{}};!function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}(hn);var vn=i(hn.exports);function mn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vn(e);if(t){var o=vn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return dn(this,n)}}var yn,gn,bn=n.createTypes({});e.Size=void 0,(yn=e.Size||(e.Size={})).Small="small",yn.Large="large",e.Placements=void 0,(gn=e.Placements||(e.Placements={})).Top="top",gn.Left="left",gn.Right="right",gn.Bottom="bottom";var xn,On=function(e){fn(r,e);var t=mn(r);function r(){return s(this,r),t.apply(this,arguments)}return c(r,null,[{key:"size",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["small","large"];return n.toType("Size",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid size, ".concat(t,", the size must be one of 【").concat(e.join(" | "),"】")),!1)},default:""})}},{key:"theme",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["primary","warning","success","danger"];return n.toType("Theme",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid theme, ".concat(t,", the theme must be one of 【").concat(e.join(" | "),"】")),!1)},default:""})}},{key:"placement",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["top","left","right","bottom"];return n.toType("Placements",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid placements, ".concat(t,", the placement must be one of 【").concat(e.join(" | "),"】")),!1)},default:"top"})}},{key:"commonType",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"commonType";return n.toType(t.replace(/^\S/,(function(e){return e.toUpperCase()})),{type:String,validator:function(n){var r=e.includes(n);return r||console.error("invalid ".concat(t,", ").concat(n,", the ").concat(t," must be one of 【").concat(e.join(" | "),"】")),r},default:e[0]})}},{key:"style",value:function(){return n.toType("Style",{type:[String,Object]})}},{key:"position",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["top-left","top-right","bottom-left","bottom-right"];return n.toType("positions",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid positions, ".concat(t,", the position must be one of 【").concat(e.join(" | "),"】")),!1)},default:"top-center"})}}]),r}(bn);var wn=Object.create({});e.BKLAYERD_INDEX_EFAULT_VALUE=h,e.BKPopover=Je,e.BkMaskManager=rn,e.EMPTY_OBJ=wn,e.PropTypes=On,e.bKMaskManager=on,e.bkPopIndexManager=sn,e.bkZIndexManager=v,e.classes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.entries(e).filter((function(e){return e[1]})).map((function(e){return e[0]})).join(" ").concat(t?" ".concat(t):"")},e.clone=Fe,e.elementsEqual=function(e,t){var n,r,o,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(o=e[n],i=t[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0},e.finiteOrDefault=function(e,t){return Ke(e)?e:t},e.isArray=He,e.isEmpty=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""===e||!!t&&Ue(e)},e.isEmptyObj=function(e){return Object.keys(e).length<1},e.isFinite=Ke,e.isNullOrUndef=Ue,e.isObject=We,e.merge=$e,e.mergeIf=Xe,e.mergerFn=Ge,e.mergerIfFn=Ze,e.noop=function(){},e.renderEmptyVNode=function(){return null},e.resolveClassName=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"bk";return"".concat(t,"-").concat(e)},e.scrollbarWidth=function(){if(void 0!==xn)return xn;var e=document.createElement("div");e.className="bk-scrollbar-wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),xn=t-r},e.throttle=function(e,t,n){var r,o,i,a=null,s=0;n||(n={});var u=function(){s=!1===n.leading?0:(new Date).getTime(),a=null,i=e.apply(r,o),a||(r=o=null)};return function(){var c=(new Date).getTime();s||!1!==n.leading||(s=c);var f=t-(c-s);return r=this,o=arguments,f<=0||f>t?(a&&(clearTimeout(a),a=null),s=c,i=e.apply(r,o),a||(r=o=null)):a||!1===n.trailing||(a=setTimeout(u,f)),i}},e.valueOrDefault=function(e,t){return void 0===e?t:e},e.withInstall=function(e){return e.install=function(t){t.component(e.name,e)},e},e.withInstallProps=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.install=function(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.prefix,a=r.config.globalProperties.bkUIPrefix||i||"Bk";r.component(a+e.name,e),!n&&Object.values(t).forEach((function(e){r.component(a+e.name,e)}))},Object.keys(t).forEach((function(n){e[n]=t[n]})),e},Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue-types")):"function"==typeof define&&define.amd?define(["exports","vue-types"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e["vue-types"])}(this,(function(e,t){"use strict";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r={exports:{}};!function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports}(r);var o=n(r.exports),i={exports:{}};!function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports}(i);var a=n(i.exports),s={exports:{}};!function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports}(s);var c,u,p=n(s.exports);e.BKLAYERTYPE=void 0,(u=e.BKLAYERTYPE||(e.BKLAYERTYPE={})).BOTTOM="bottom",u.CONTENT="content",u.NAVI="navi",u.FULLSCREEN="fullScreen",u.PLUGINS="plugins",u.MODAL="modal",u.MESSAGE="message",u.POPPER="popper";var f=(p(c={},e.BKLAYERTYPE.BOTTOM,0),p(c,e.BKLAYERTYPE.CONTENT,1),p(c,e.BKLAYERTYPE.NAVI,100),p(c,e.BKLAYERTYPE.FULLSCREEN,1e3),p(c,e.BKLAYERTYPE.MODAL,3e3),p(c,e.BKLAYERTYPE.PLUGINS,8e3),p(c,e.BKLAYERTYPE.MESSAGE,1e4),p(c,e.BKLAYERTYPE.POPPER,99999),c),l=new(function(){function t(){o(this,t),this.storageLayerIndexValue={},this.copyDefaultValue()}return a(t,[{key:"getNextIndex",value:function(t){return Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue,t)?(this.storageLayerIndexValue[t]=this.storageLayerIndexValue[t]+1,this.storageLayerIndexValue[t]):(this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL]=this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL]+1,this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL])}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.NAVI)}},{key:"getPopperIndex",value:function(){return f.popper}},{key:"setDefaultZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue.__proto__,n)&&Object.assign(t.storageLayerIndexValue.__proto__,p({},n,e[n]))})),this.copyDefaultValue()}},{key:"resetZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue,n)&&Object.assign(t.storageLayerIndexValue,p({},n,e[n]))}))}},{key:"copyDefaultValue",value:function(){var e=Object.keys(f).reduce((function(e,t){return Object.assign(e,p({},t,{value:f[t],writable:!0,configurable:!0}))}),{});this.storageLayerIndexValue=Object.create(f,e)}}]),t}()),d={exports:{}};!function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(d);var h=n(d.exports),v={exports:{}},m={exports:{}},y={exports:{}};!function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports}(y),function(e){var t=y.exports;e.exports=function(e){if(Array.isArray(e))return t(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(m);var g={exports:{}};!function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(g);var b={exports:{}};!function(e){var t=y.exports;e.exports=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}(b);var x={exports:{}};!function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports}(x),function(e){var t=m.exports,n=g.exports,r=b.exports,o=x.exports;e.exports=function(e){return t(e)||n(e)||r(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports}(v);var O=n(v.exports),w="top",E="bottom",k="right",T="left",S="auto",j=[w,E,k,T],A="start",P="end",I="viewport",L="popper",M=j.reduce((function(e,t){return e.concat([t+"-"+A,t+"-"+P])}),[]),_=[].concat(j,[S]).reduce((function(e,t){return e.concat([t,t+"-"+A,t+"-"+P])}),[]),R=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function D(e){return e?(e.nodeName||"").toLowerCase():null}function N(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function B(e){return e instanceof N(e).Element||e instanceof Element}function V(e){return e instanceof N(e).HTMLElement||e instanceof HTMLElement}function Y(e){return"undefined"!=typeof ShadowRoot&&(e instanceof N(e).ShadowRoot||e instanceof ShadowRoot)}var C={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];V(o)&&D(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});V(r)&&D(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function q(e){return e.split("-")[0]}var H=Math.max,U=Math.min,W=Math.round;function K(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(V(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=W(n.width)/a||1),i>0&&(o=W(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function F(e){var t=K(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function z(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Y(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function G(e){return N(e).getComputedStyle(e)}function X(e){return["table","td","th"].indexOf(D(e))>=0}function Z(e){return((B(e)?e.ownerDocument:e.document)||window.document).documentElement}function J(e){return"html"===D(e)?e:e.assignedSlot||e.parentNode||(Y(e)?e.host:null)||Z(e)}function $(e){return V(e)&&"fixed"!==G(e).position?e.offsetParent:null}function Q(e){for(var t=N(e),n=$(e);n&&X(n)&&"static"===G(n).position;)n=$(n);return n&&("html"===D(n)||"body"===D(n)&&"static"===G(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&V(e)&&"fixed"===G(e).position)return null;for(var n=J(e);V(n)&&["html","body"].indexOf(D(n))<0;){var r=G(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function ee(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function te(e,t,n){return H(e,U(t,n))}function ne(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function re(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var oe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=q(n.placement),c=ee(s),u=[T,k].indexOf(s)>=0?"height":"width";if(i&&a){var p=function(e,t){return ne("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:re(e,j))}(o.padding,n),f=F(i),l="y"===c?w:T,d="y"===c?E:k,h=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],v=a[c]-n.rects.reference[c],m=Q(i),y=m?"y"===c?m.clientHeight||0:m.clientWidth||0:0,g=h/2-v/2,b=p[l],x=y-f[u]-p[d],O=y/2-f[u]/2+g,S=te(b,O,x),A=c;n.modifiersData[r]=((t={})[A]=S,t.centerOffset=S-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&("production"!==process.env.NODE_ENV&&(V(r)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),z(t.elements.popper,r)?t.elements.arrow=r:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ie(e){return e.split("-")[1]}var ae={top:"auto",right:"auto",bottom:"auto",left:"auto"};function se(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,f=e.isFixed,l=a.x,d=void 0===l?0:l,h=a.y,v=void 0===h?0:h,m="function"==typeof p?p({x:d,y:v}):{x:d,y:v};d=m.x,v=m.y;var y=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),b=T,x=w,O=window;if(u){var S=Q(n),j="clientHeight",A="clientWidth";if(S===N(n)&&"static"!==G(S=Z(n)).position&&"absolute"===s&&(j="scrollHeight",A="scrollWidth"),S=S,o===w||(o===T||o===k)&&i===P)x=E,v-=(f&&O.visualViewport?O.visualViewport.height:S[j])-r.height,v*=c?1:-1;if(o===T||(o===w||o===E)&&i===P)b=k,d-=(f&&O.visualViewport?O.visualViewport.width:S[A])-r.width,d*=c?1:-1}var I,L=Object.assign({position:s},u&&ae),M=!0===p?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:W(t*r)/r||0,y:W(n*r)/r||0}}({x:d,y:v}):{x:d,y:v};return d=M.x,v=M.y,c?Object.assign({},L,((I={})[x]=g?"0":"",I[b]=y?"0":"",I.transform=(O.devicePixelRatio||1)<=1?"translate("+d+"px, "+v+"px)":"translate3d("+d+"px, "+v+"px, 0)",I)):Object.assign({},L,((t={})[x]=g?v+"px":"",t[b]=y?d+"px":"",t.transform="",t))}var ce={passive:!0};var ue={left:"right",right:"left",bottom:"top",top:"bottom"};function pe(e){return e.replace(/left|right|bottom|top/g,(function(e){return ue[e]}))}var fe={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return fe[e]}))}function de(e){var t=N(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function he(e){return K(Z(e)).left+de(e).scrollLeft}function ve(e){var t=G(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function me(e){return["html","body","#document"].indexOf(D(e))>=0?e.ownerDocument.body:V(e)&&ve(e)?e:me(J(e))}function ye(e,t){var n;void 0===t&&(t=[]);var r=me(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=N(r),a=o?[i].concat(i.visualViewport||[],ve(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(ye(J(a)))}function ge(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function be(e,t){return t===I?ge(function(e){var t=N(e),n=Z(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+he(e),y:s}}(e)):B(t)?function(e){var t=K(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):ge(function(e){var t,n=Z(e),r=de(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=H(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=H(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+he(e),c=-r.scrollTop;return"rtl"===G(o||n).direction&&(s+=H(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:c}}(Z(e)))}function xe(e,t,n){var r="clippingParents"===t?function(e){var t=ye(J(e)),n=["absolute","fixed"].indexOf(G(e).position)>=0&&V(e)?Q(e):e;return B(n)?t.filter((function(e){return B(e)&&z(e,n)&&"body"!==D(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=be(e,n);return t.top=H(r.top,t.top),t.right=U(r.right,t.right),t.bottom=U(r.bottom,t.bottom),t.left=H(r.left,t.left),t}),be(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Oe(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?q(o):null,a=o?ie(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case w:t={x:s,y:n.y-r.height};break;case E:t={x:s,y:n.y+n.height};break;case k:t={x:n.x+n.width,y:c};break;case T:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var u=i?ee(i):null;if(null!=u){var p="y"===u?"height":"width";switch(a){case A:t[u]=t[u]-(n[p]/2-r[p]/2);break;case P:t[u]=t[u]+(n[p]/2-r[p]/2)}}return t}function we(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,c=void 0===s?I:s,u=n.elementContext,p=void 0===u?L:u,f=n.altBoundary,l=void 0!==f&&f,d=n.padding,h=void 0===d?0:d,v=ne("number"!=typeof h?h:re(h,j)),m=p===L?"reference":L,y=e.rects.popper,g=e.elements[l?m:p],b=xe(B(g)?g:g.contextElement||Z(e.elements.popper),a,c),x=K(e.elements.reference),O=Oe({reference:x,element:y,strategy:"absolute",placement:o}),T=ge(Object.assign({},y,O)),S=p===L?T:x,A={top:b.top-S.top+v.top,bottom:S.bottom-b.bottom+v.bottom,left:b.left-S.left+v.left,right:S.right-b.right+v.right},P=e.modifiersData.offset;if(p===L&&P){var M=P[o];Object.keys(A).forEach((function(e){var t=[k,E].indexOf(e)>=0?1:-1,n=[w,E].indexOf(e)>=0?"y":"x";A[e]+=M[n]*t}))}return A}function Ee(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?_:c,p=ie(r),f=p?s?M:M.filter((function(e){return ie(e)===p})):j,l=f.filter((function(e){return u.indexOf(e)>=0}));0===l.length&&(l=f,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var d=l.reduce((function(t,n){return t[n]=we(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[q(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var ke={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,p=n.boundary,f=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,h=void 0===d||d,v=n.allowedAutoPlacements,m=t.options.placement,y=q(m),g=c||(y===m||!h?[pe(m)]:function(e){if(q(e)===S)return[];var t=pe(e);return[le(e),t,le(t)]}(m)),b=[m].concat(g).reduce((function(e,n){return e.concat(q(n)===S?Ee(t,{placement:n,boundary:p,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),x=t.rects.reference,O=t.rects.popper,j=new Map,P=!0,I=b[0],L=0;L<b.length;L++){var M=b[L],_=q(M),R=ie(M)===A,D=[w,E].indexOf(_)>=0,N=D?"width":"height",B=we(t,{placement:M,boundary:p,rootBoundary:f,altBoundary:l,padding:u}),V=D?R?k:T:R?E:w;x[N]>O[N]&&(V=pe(V));var Y=pe(V),C=[];if(i&&C.push(B[_]<=0),s&&C.push(B[V]<=0,B[Y]<=0),C.every((function(e){return e}))){I=M,P=!1;break}j.set(M,C)}if(P)for(var H=function(e){var t=b.find((function(t){var n=j.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return I=t,"break"},U=h?3:1;U>0;U--){if("break"===H(U))break}t.placement!==I&&(t.modifiersData[r]._skip=!0,t.placement=I,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Te(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Se(e){return[w,k,E,T].some((function(t){return e[t]>=0}))}var je={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=_.reduce((function(e,n){return e[n]=function(e,t,n){var r=q(e),o=[T,w].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[T,k].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var Ae={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,c=n.boundary,u=n.rootBoundary,p=n.altBoundary,f=n.padding,l=n.tether,d=void 0===l||l,h=n.tetherOffset,v=void 0===h?0:h,m=we(t,{boundary:c,rootBoundary:u,padding:f,altBoundary:p}),y=q(t.placement),g=ie(t.placement),b=!g,x=ee(y),O="x"===x?"y":"x",S=t.modifiersData.popperOffsets,j=t.rects.reference,P=t.rects.popper,I="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,L="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(S){if(i){var R,D="y"===x?w:T,N="y"===x?E:k,B="y"===x?"height":"width",V=S[x],Y=V+m[D],C=V-m[N],W=d?-P[B]/2:0,K=g===A?j[B]:P[B],z=g===A?-P[B]:-j[B],G=t.elements.arrow,X=d&&G?F(G):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},J=Z[D],$=Z[N],ne=te(0,j[B],X[B]),re=b?j[B]/2-W-ne-J-L.mainAxis:K-ne-J-L.mainAxis,oe=b?-j[B]/2+W+ne+$+L.mainAxis:z+ne+$+L.mainAxis,ae=t.elements.arrow&&Q(t.elements.arrow),se=ae?"y"===x?ae.clientTop||0:ae.clientLeft||0:0,ce=null!=(R=null==M?void 0:M[x])?R:0,ue=V+oe-ce,pe=te(d?U(Y,V+re-ce-se):Y,V,d?H(C,ue):C);S[x]=pe,_[x]=pe-V}if(s){var fe,le="x"===x?w:T,de="x"===x?E:k,he=S[O],ve="y"===O?"height":"width",me=he+m[le],ye=he-m[de],ge=-1!==[w,T].indexOf(y),be=null!=(fe=null==M?void 0:M[O])?fe:0,xe=ge?me:he-j[ve]-P[ve]-be+L.altAxis,Oe=ge?he+j[ve]+P[ve]-be-L.altAxis:ye,Ee=d&&ge?function(e,t,n){var r=te(e,t,n);return r>n?n:r}(xe,he,Oe):te(d?xe:me,he,d?Oe:ye);S[O]=Ee,_[O]=Ee-he}t.modifiersData[r]=_}},requiresIfExists:["offset"]};function Pe(e,t,n){void 0===n&&(n=!1);var r,o,i=V(t),a=V(t)&&function(e){var t=e.getBoundingClientRect(),n=W(t.width)/e.offsetWidth||1,r=W(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Z(t),c=K(e,a),u={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(i||!i&&!n)&&(("body"!==D(t)||ve(s))&&(u=(r=t)!==N(r)&&V(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:de(r)),V(t)?((p=K(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):s&&(p.x=he(s))),{x:c.left+u.scrollLeft-p.x,y:c.top+u.scrollTop-p.y,width:c.width,height:c.height}}function Ie(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Le(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var Me='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',_e=["name","enabled","phase","fn","effect","requires","options"];var Re="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",De={placement:"bottom",modifiers:[],strategy:"absolute"};function Ne(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Be(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?De:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},De,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],u=!1,p={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:B(e)?ye(e):e.contextElement?ye(e.contextElement):[],popper:ye(t)};var a,u,l,d=function(e){var t=Ie(e);return R.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));if(s.orderedModifiers=d.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){if(function(e){e.forEach((function(t){[].concat(Object.keys(t),_e).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(Le(Me,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(Le(Me,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":R.indexOf(t.phase)<0&&console.error(Le(Me,t.name,'"phase"',"either "+R.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(Le(Me,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(Le(Me,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(Le(Me,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(Le(Me,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+_e.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(Le('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((a=[].concat(d,s.options.modifiers),u=function(e){return e.name},l=new Set,a.filter((function(e){var t=u(e);if(!l.has(t))return l.add(t),!0})))),q(s.options.placement)===S)s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var h=G(t);[h.marginTop,h.marginRight,h.marginBottom,h.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:p,options:r}),a=function(){};c.push(i||a)}})),p.update()},forceUpdate:function(){if(!u){var e=s.elements,t=e.reference,n=e.popper;if(Ne(t,n)){s.rects={reference:Pe(t,Q(n),"fixed"===s.options.strategy),popper:F(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0,o=0;o<s.orderedModifiers.length;o++){if("production"!==process.env.NODE_ENV&&(r+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var i=s.orderedModifiers[o],a=i.fn,c=i.options,f=void 0===c?{}:c,l=i.name;"function"==typeof a&&(s=a({state:s,options:f,name:l,instance:p})||s)}else s.reset=!1,o=-1}}else"production"!==process.env.NODE_ENV&&console.error(Re)}},update:(o=function(){return new Promise((function(e){p.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){f(),u=!0}};if(!Ne(e,t))return"production"!==process.env.NODE_ENV&&console.error(Re),p;function f(){c.forEach((function(e){return e()})),c=[]}return p.setOptions(n).then((function(e){!u&&n.onFirstUpdate&&n.onFirstUpdate(e)})),p}}var Ve=Be({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=N(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,ce)})),s&&c.addEventListener("resize",n.update,ce),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,ce)})),s&&c.removeEventListener("resize",n.update,ce)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Oe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,c=void 0===s||s;if("production"!==process.env.NODE_ENV){var u=G(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return u.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var p={placement:q(t.placement),variation:ie(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,se(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,se(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},C,je,ke,Ae,oe,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=we(t,{elementContext:"reference"}),s=we(t,{altBoundary:!0}),c=Te(a,r),u=Te(s,o,i),p=Se(c),f=Se(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]});function Ye(e){return null==e}function Ce(e){if(Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)}function qe(e){return null!==e&&/^\[object (Object|Module)\]/.test(Object.prototype.toString.call(e))}var He=function(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)};function Ue(e){if(Ce(e))return e.map(Ue);if(qe(e)){for(var t=Object.create(null),n=Object.keys(e),r=n.length,o=0;o<r;++o)t[n[o]]=Ue(e[n[o]]);return t}return e}function We(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function Ke(e,t,n,r){if(We(e)){var o=t[e],i=n[e];qe(o)&&qe(i)?Fe(o,i,r):t[e]=Ue(i)}}function Fe(e,t,n){var r=Ce(t)?t:[t],o=r.length;if(!qe(e))return e;for(var i=(n=n||{}).merger||Ke,a=0;a<o;++a)if(qe(t=r[a]))for(var s=Object.keys(t),c=0,u=s.length;c<u;++c)i(s[c],e,t,n);return e}function ze(e,t){return Fe(e,t,{merger:Ge})}function Ge(e,t,n){if(We(e)){var r=t[e],o=n[e];qe(r)&&qe(o)?ze(r,o):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Ue(o))}}function Xe(e){try{return e instanceof HTMLElement}catch(t){return"object"===h(e)&&1===e.nodeType&&"object"===h(e.style)&&"object"===h(e.ownerDocument)}}var Ze=function(){function e(t,n,r){var i;o(this,e),this.isShow=!1,this.trigger=void 0,this.instance=void 0,this.reference=void 0,this.referenceTarget=void 0,this.popperRefer=void 0,this.delay=50,this.isInnerPopper=!1,this.disabled=!1,this.afterShow=null,this.afterHidden=null,this.appendTo="parent",this.container=null,this.fixOnBoundary=!1,this.instanceOptions=this.initDefaultOptions(r),this.reference=this.resolveInputSelectorToHtmlElement(t),this.popperRefer=this.resolveInputSelectorToHtmlElement(n),this.referenceTarget=this.getTargetReferenceElement(),this.container=(this.popperRefer||{}).parentElement,this.isShow=!!(null===(i=this.instanceOptions)||void 0===i?void 0:i.isShow),this.trigger=this.instanceOptions.trigger,this.disabled=this.instanceOptions.disabled,this.appendTo=this.instanceOptions.appendTo,this.afterHidden="function"==typeof r.afterHidden?r.afterHidden:function(){},this.afterShow="function"==typeof r.afterShow?r.afterShow:function(){},this.fixOnBoundary=this.instanceOptions.fixOnBoundary,this.initInstance(),this.registerEvents(),this.isShow&&this.show(null)}return a(e,[{key:"forceUpdate",value:function(){var e;null===(e=this.instance)||void 0===e||e.forceUpdate()}},{key:"update",value:function(){var e;null===(e=this.instance)||void 0===e||e.update()}},{key:"updateOptions",value:function(e){var t;this.instanceOptions=this.initDefaultOptions(e),this.isShow=!!(null===(t=this.instanceOptions)||void 0===t?void 0:t.isShow),this.trigger=this.instanceOptions.trigger,this.disabled=this.instanceOptions.disabled,this.setOptions(this.instanceOptions)}},{key:"setOptions",value:function(e){var t;null===(t=this.instance)||void 0===t||t.setOptions(e)}},{key:"destroy",value:function(){var e;null===(e=this.instance)||void 0===e||e.destroy()}},{key:"updateDisabled",value:function(e){this.disabled=null!=e?e:!this.disabled,this.disabled&&this.hide()}},{key:"show",value:function(e){var t;this.disabled||(null===(t=this.popperRefer)||void 0===t||t.setAttribute("data-show",""),this.setOptions({modifiers:[].concat(O(this.instanceOptions.modifiers||[]),[{name:"eventListeners",enabled:!0}])}),this.update(),this.isShow=!0,this.afterShow(),this.fixOnBoundary||this.appendToTarget())}},{key:"hide",value:function(){var e;null===(e=this.popperRefer)||void 0===e||e.removeAttribute("data-show"),this.setOptions({modifiers:[].concat(O(this.instanceOptions.modifiers||[]),[{name:"eventListeners",enabled:!1}])}),this.isShow=!1,this.isInnerPopper=!1,this.afterHidden(),this.fixOnBoundary||this.restorePopContent()}},{key:"restorePopContent",value:function(){var e=this.getAppendToTarget();Xe(e)&&e.contains(this.popperRefer)&&this.container&&!this.container.contains(this.popperRefer)&&this.container.append(this.popperRefer)}},{key:"appendToTarget",value:function(){var e=this.getAppendToTarget();Xe(e)&&e.contains(this.popperRefer)&&e.append(this.popperRefer)}},{key:"getAppendToTarget",value:function(){var e=this.appendTo,t=e;return"parent"!==e&&"string"==typeof e&&(t=document.querySelector(e)),t}},{key:"initDefaultOptions",value:function(e){var t=this,n=Fe({placement:"top",modifiers:[{name:"offset",options:{offset:[0,8]}}],strategy:"absolute",onFirstUpdate:void 0,isShow:!1,theme:"dark",trigger:"hover",disabled:!1},e||{}),r=n.onFirstUpdate;return n.onFirstUpdate=function(e){"function"==typeof r&&(r.call(t,e),t.handleFirstUpdate())},n}},{key:"handleFirstUpdate",value:function(){this.fixOnBoundary&&this.appendToTarget()}},{key:"getTargetReferenceElement",value:function(){return this.isElement(this.reference)&&1===this.reference.childElementCount?this.reference.firstElementChild:this.reference}},{key:"initInstance",value:function(){var e,t;this.referenceTarget&&(this.referenceTarget&&this.popperRefer?(this.instance=Ve(this.referenceTarget,this.popperRefer,this.instanceOptions),null===(e=this.popperRefer)||void 0===e||e.setAttribute("data-theme",null!==(t=this.instanceOptions.theme)&&void 0!==t?t:"dark")):console.error("reference or popperRefer is null, please check html element."))}},{key:"resolveInputSelectorToHtmlElement",value:function(e){if(this.isElement(e))return e;if("string"==typeof e)return document.querySelector(e);if("object"===h(e)){if(Object.prototype.hasOwnProperty.call(e,"getBoundingClientRect"))return e}else console.error("'getBoundingClientRect' is needed when use virtual elements");return null}},{key:"isElement",value:function(e){return Xe(e)}},{key:"registerEvents",value:function(){var e=this;if(this.isElement(this.referenceTarget)&&"hover"===this.trigger){["mouseenter","focus"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(n){"mouseenter"===t&&(e.isInnerPopper=!0),e.show(n)}))})),["mouseleave","blur"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(){e.isInnerPopper=!1,setTimeout((function(){!e.isInnerPopper&&e.hide()}),e.delay)}))})),this.isElement(this.popperRefer)&&["mouseenter","mouseleave"].forEach((function(t){e.popperRefer.addEventListener(t,(function(){"mouseenter"===t&&(e.isInnerPopper=!0),"mouseleave"===t&&e.hide()}))}))}if("click"===this.trigger){["click"].forEach((function(t){document.body.addEventListener(t,(function(t){e.isSameElement(t.target,e.reference)||e.reference.contains(t.target)?e.show(t):e.isShow&&!e.isSameElement(t.target,e.popperRefer)&&e.hide()}))}))}}},{key:"isSameElement",value:function(e,t){return e&&(e===t||e===t.firstElementChild)}}]),e}(),Je="abcdefghijklmnopqrstuvwxyz0123456789",$e=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Je,n="",r=0;r<e;r++)n+=t[parseInt((Math.random()*t.length).toString(),10)];return n},Qe=function(){function e(t){o(this,e),this.multiInstance=!1,this.uniqueMaskAttrTag="",this.parentNode=document.body,this.activeInstance=void 0,this.maskStyle={position:"absolute",left:0,top:0,bottom:0,right:0,display:"none","background-color":"rgba(0,0,0,.6)"};var n=t||{},r=n.multiInstance,i=void 0!==r&&r,a=n.maskAttrTag,s=void 0===a?"auto":a,c=n.parentNode,u=void 0===c?document.body:c,p=n.maskStyle,f=void 0===p?{}:p;this.activeInstance=void 0,this.maskStyle=Object.assign({},this.maskStyle,f),this.multiInstance=i,this.uniqueMaskAttrTag=this.getMaskAttrTag(s),this.parentNode=u||document,this.mask=this.getMask(),this.backupMask=this.createMask("data-bk-backup-uid"),this.setMaskStyle()}return a(e,[{key:"show",value:function(e,t){var n=/-?\d+/.test("".concat(t))?t:l.getModalNextIndex();this.mask.style.setProperty("display","block"),this.mask.style.setProperty("z-index","".concat(n)),this.backupMask.style.setProperty("z-index","".concat(n-1)),e&&(this.activeInstance=e,this.appendContentToMask(e))}},{key:"hide",value:function(e){var t;this.mask.style.setProperty("display","none"),null==e||e.remove(),null===(t=this.activeInstance)||void 0===t||t.remove(),this.activeInstance=void 0}},{key:"backupActiveInstance",value:function(){this.activeInstance&&this.backupMask.append(this.activeInstance)}},{key:"backupContentElement",value:function(e){e&&this.backupMask.append(e)}},{key:"getActiveContentInstance",value:function(){return this.activeInstance}},{key:"getMask",value:function(){if(this.multiInstance)return this.createMask();var e=this.parentNode.querySelector("[data-bkmask-uid='".concat(this.uniqueMaskAttrTag,"']"));return e||(e=this.createMask()),e}},{key:"createMask",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-bk-mask-uid",t=document.createElement("div");return t.setAttribute(e,this.uniqueMaskAttrTag),this.parentNode.append(t),t}},{key:"setMaskStyle",value:function(){var e=this;this.mask&&Object.entries(this.maskStyle).forEach((function(t){return e.mask.style.setProperty(t[0],t[1])}))}},{key:"getMaskAttrTag",value:function(e){return/^(auto|\s+)$/i.test(e)||null==e||""===e?"__bk_mask_".concat($e(16)):e}},{key:"appendContentToMask",value:function(e){this.mask.append(e)}}]),e}(),et=new Qe({}),tt=function(){function e(){o(this,e),this.popInstanceList=[],this.uuidAttrName="data-bk-pop-uuid"}return a(e,[{key:"show",value:function(e){if(e){var t=l.getModalNextIndex(),n=$e(16);e.setAttribute(this.uuidAttrName,n),this.popInstanceList.push({uuid:n,zIndex:t,content:e}),et.backupActiveInstance(),et.show(e,t)}else console.warn("pop show error: content is null or undefined")}},{key:"popHide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.popInstanceList.length){if(e){var t=this.popInstanceList.pop();t.remove()}if(this.popInstanceList.length){var n=this.popInstanceList.slice(-1)[0];et.show(n.content,n.zIndex)}else et.hide()}}},{key:"hide",value:function(e){var t=null==e?void 0:e.getAttribute(this.uuidAttrName);if(t){var n=this.popInstanceList.findIndex((function(e){return e.uuid===t}));n>=0&&(this.popInstanceList[n].content.remove(),this.popInstanceList.splice(n,1),this.popInstanceList.length?this.popHide(!1):et.hide())}else null==e||e.remove()}}]),e}(),nt=new tt,rt={exports:{}},ot={exports:{}};!function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(ot),function(e){var t=ot.exports;e.exports=function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&t(e,n)},e.exports.__esModule=!0,e.exports.default=e.exports}(rt);var it=n(rt.exports),at={exports:{}},st={exports:{}};!function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports}(st),function(e){var t=d.exports.default,n=st.exports;e.exports=function(e,r){if(r&&("object"===t(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(at);var ct=n(at.exports),ut={exports:{}};!function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(ut);var pt=n(ut.exports);function ft(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pt(e);if(t){var o=pt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ct(this,n)}}var lt,dt,ht=t.createTypes({});e.Size=void 0,(lt=e.Size||(e.Size={})).Small="small",lt.Large="large",e.Placements=void 0,(dt=e.Placements||(e.Placements={})).Top="top",dt.Left="left",dt.Right="right",dt.Bottom="bottom";var vt,mt=function(e){it(r,e);var n=ft(r);function r(){return o(this,r),n.apply(this,arguments)}return a(r,null,[{key:"size",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["small","large"];return t.toType("Size",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid size, ".concat(t,", the size must be one of 【").concat(e.join(" | "),"】")),!1)},default:""})}},{key:"theme",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["primary","warning","success","danger"];return t.toType("Theme",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid theme, ".concat(t,", the theme must be one of 【").concat(e.join(" | "),"】")),!1)},default:""})}},{key:"placement",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["top","left","right","bottom"];return t.toType("Placements",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid placements, ".concat(t,", the placement must be one of 【").concat(e.join(" | "),"】")),!1)},default:"top"})}},{key:"commonType",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"commonType";return t.toType(n.replace(/^\S/,(function(e){return e.toUpperCase()})),{type:String,validator:function(t){var r=e.includes(t);return r||console.error("invalid ".concat(n,", ").concat(t,", the ").concat(n," must be one of 【").concat(e.join(" | "),"】")),r},default:e[0]})}},{key:"style",value:function(){return t.toType("Style",{type:[String,Object]})}},{key:"position",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["top-left","top-right","bottom-left","bottom-right"];return t.toType("positions",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid positions, ".concat(t,", the position must be one of 【").concat(e.join(" | "),"】")),!1)},default:"top-center"})}}]),r}(ht);var yt=Object.create({});e.BKLAYERD_INDEX_EFAULT_VALUE=f,e.BKPopover=Ze,e.BkMaskManager=Qe,e.EMPTY_OBJ=yt,e.PropTypes=mt,e.bKMaskManager=et,e.bkPopIndexManager=nt,e.bkZIndexManager=l,e.classes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.entries(e).filter((function(e){return e[1]})).map((function(e){return e[0]})).join(" ").concat(t?" ".concat(t):"")},e.clone=Ue,e.debounce=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:300,r=arguments.length>1?arguments[1]:void 0,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=function(){var i=this,a=arguments;if(e&&clearTimeout(e),o){var s=!e;e=setTimeout((function(){e=null}),n),s&&(t=r.apply(i,a))}else e=setTimeout((function(){r.apply(i,a)}),n);return t};return i.cancel=function(){clearTimeout(e),e=null},i},e.elementsEqual=function(e,t){var n,r,o,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(o=e[n],i=t[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0},e.finiteOrDefault=function(e,t){return He(e)?e:t},e.isArray=Ce,e.isElement=Xe,e.isEmpty=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""===e||!!t&&Ye(e)},e.isEmptyObj=function(e){return Object.keys(e).length<1},e.isFinite=He,e.isNullOrUndef=Ye,e.isObject=qe,e.merge=Fe,e.mergeIf=ze,e.mergerFn=Ke,e.mergerIfFn=Ge,e.noop=function(){},e.renderEmptyVNode=function(){return null},e.resolveClassName=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"bk";return"".concat(t,"-").concat(e)},e.scrollbarWidth=function(){if(void 0!==vt)return vt;var e=document.createElement("div");e.className="bk-scrollbar-wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),vt=t-r},e.throttle=function(e,t,n){var r,o,i,a=null,s=0;n||(n={});var c=function(){s=!1===n.leading?0:(new Date).getTime(),a=null,i=e.apply(r,o),a||(r=o=null)};return function(){var u=(new Date).getTime();s||!1!==n.leading||(s=u);var p=t-(u-s);return r=this,o=arguments,p<=0||p>t?(a&&(clearTimeout(a),a=null),s=u,i=e.apply(r,o),a||(r=o=null)):a||!1===n.trailing||(a=setTimeout(c,p)),i}},e.valueOrDefault=function(e,t){return void 0===e?t:e},e.withInstall=function(e){return e.install=function(t){t.component(e.name,e)},e},e.withInstallProps=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.install=function(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o.prefix,a=r.config.globalProperties.bkUIPrefix||i||"Bk";r.component(a+e.name,e),!n&&Object.values(t).forEach((function(e){r.component(a+e.name,e)}))},Object.keys(t).forEach((function(n){e[n]=t[n]})),e},Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -0,0 +1,6 @@
1
+ /**
2
+ * 生成n位长度的字符串
3
+ * @param {Number} n
4
+ * @param str,默认26位字母及数字
5
+ */
6
+ export declare const random: (n: number, str?: string) => string;
@@ -6,24 +6,36 @@ declare const BkSideslider: {
6
6
  width: string | number;
7
7
  height: string | number;
8
8
  isShow: boolean;
9
- customClass: string;
9
+ customClass: string | unknown[];
10
10
  scrollable: boolean;
11
11
  direction: string;
12
- }> & Omit<Readonly<{
13
- direction?: unknown;
14
- isShow?: unknown;
15
- width?: unknown;
16
- height?: unknown;
17
- customClass?: unknown;
18
- scrollable?: unknown;
19
- } & {
20
- width: string | number;
21
- height: string | number;
22
- isShow: boolean;
23
- customClass: string;
24
- scrollable: boolean;
25
- direction: string;
26
- } & {}> & {
12
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
13
+ direction: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ validator: (value: string) => boolean;
17
+ };
18
+ isShow: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ width: {
23
+ type: (NumberConstructor | StringConstructor)[];
24
+ default: string;
25
+ };
26
+ height: {
27
+ type: (NumberConstructor | StringConstructor)[];
28
+ default: string;
29
+ };
30
+ customClass: {
31
+ type: (ArrayConstructor | StringConstructor)[];
32
+ default: string;
33
+ };
34
+ scrollable: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ }>> & {
27
39
  onClosed?: (...args: any[]) => any;
28
40
  "onUpdate:isShow"?: (...args: any[]) => any;
29
41
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "height" | "isShow" | "customClass" | "scrollable" | "direction">;
@@ -40,21 +52,33 @@ declare const BkSideslider: {
40
52
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
41
53
  $emit: (event: "closed" | "update:isShow", ...args: any[]) => void;
42
54
  $el: any;
43
- $options: import("vue").ComponentOptionsBase<Readonly<{
44
- direction?: unknown;
45
- isShow?: unknown;
46
- width?: unknown;
47
- height?: unknown;
48
- customClass?: unknown;
49
- scrollable?: unknown;
50
- } & {
51
- width: string | number;
52
- height: string | number;
53
- isShow: boolean;
54
- customClass: string;
55
- scrollable: boolean;
56
- direction: string;
57
- } & {}> & {
55
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
56
+ direction: {
57
+ type: StringConstructor;
58
+ default: string;
59
+ validator: (value: string) => boolean;
60
+ };
61
+ isShow: {
62
+ type: BooleanConstructor;
63
+ default: boolean;
64
+ };
65
+ width: {
66
+ type: (NumberConstructor | StringConstructor)[];
67
+ default: string;
68
+ };
69
+ height: {
70
+ type: (NumberConstructor | StringConstructor)[];
71
+ default: string;
72
+ };
73
+ customClass: {
74
+ type: (ArrayConstructor | StringConstructor)[];
75
+ default: string;
76
+ };
77
+ scrollable: {
78
+ type: BooleanConstructor;
79
+ default: boolean;
80
+ };
81
+ }>> & {
58
82
  onClosed?: (...args: any[]) => any;
59
83
  "onUpdate:isShow"?: (...args: any[]) => any;
60
84
  }, unknown, unknown, {}, {
@@ -63,7 +87,7 @@ declare const BkSideslider: {
63
87
  width: string | number;
64
88
  height: string | number;
65
89
  isShow: boolean;
66
- customClass: string;
90
+ customClass: string | unknown[];
67
91
  scrollable: boolean;
68
92
  direction: string;
69
93
  }> & {
@@ -86,21 +110,33 @@ declare const BkSideslider: {
86
110
  $forceUpdate: () => void;
87
111
  $nextTick: typeof import("vue").nextTick;
88
112
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
89
- } & Readonly<{
90
- direction?: unknown;
91
- isShow?: unknown;
92
- width?: unknown;
93
- height?: unknown;
94
- customClass?: unknown;
95
- scrollable?: unknown;
96
- } & {
97
- width: string | number;
98
- height: string | number;
99
- isShow: boolean;
100
- customClass: string;
101
- scrollable: boolean;
102
- direction: string;
103
- } & {}> & {
113
+ } & Readonly<import("vue").ExtractPropTypes<{
114
+ direction: {
115
+ type: StringConstructor;
116
+ default: string;
117
+ validator: (value: string) => boolean;
118
+ };
119
+ isShow: {
120
+ type: BooleanConstructor;
121
+ default: boolean;
122
+ };
123
+ width: {
124
+ type: (NumberConstructor | StringConstructor)[];
125
+ default: string;
126
+ };
127
+ height: {
128
+ type: (NumberConstructor | StringConstructor)[];
129
+ default: string;
130
+ };
131
+ customClass: {
132
+ type: (ArrayConstructor | StringConstructor)[];
133
+ default: string;
134
+ };
135
+ scrollable: {
136
+ type: BooleanConstructor;
137
+ default: boolean;
138
+ };
139
+ }>> & {
104
140
  onClosed?: (...args: any[]) => any;
105
141
  "onUpdate:isShow"?: (...args: any[]) => any;
106
142
  } & import("vue").ShallowUnwrapRef<{}> & {} & {} & {
@@ -109,21 +145,33 @@ declare const BkSideslider: {
109
145
  __isFragment?: never;
110
146
  __isTeleport?: never;
111
147
  __isSuspense?: never;
112
- } & import("vue").ComponentOptionsBase<Readonly<{
113
- direction?: unknown;
114
- isShow?: unknown;
115
- width?: unknown;
116
- height?: unknown;
117
- customClass?: unknown;
118
- scrollable?: unknown;
119
- } & {
120
- width: string | number;
121
- height: string | number;
122
- isShow: boolean;
123
- customClass: string;
124
- scrollable: boolean;
125
- direction: string;
126
- } & {}> & {
148
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
149
+ direction: {
150
+ type: StringConstructor;
151
+ default: string;
152
+ validator: (value: string) => boolean;
153
+ };
154
+ isShow: {
155
+ type: BooleanConstructor;
156
+ default: boolean;
157
+ };
158
+ width: {
159
+ type: (NumberConstructor | StringConstructor)[];
160
+ default: string;
161
+ };
162
+ height: {
163
+ type: (NumberConstructor | StringConstructor)[];
164
+ default: string;
165
+ };
166
+ customClass: {
167
+ type: (ArrayConstructor | StringConstructor)[];
168
+ default: string;
169
+ };
170
+ scrollable: {
171
+ type: BooleanConstructor;
172
+ default: boolean;
173
+ };
174
+ }>> & {
127
175
  onClosed?: (...args: any[]) => any;
128
176
  "onUpdate:isShow"?: (...args: any[]) => any;
129
177
  }, unknown, unknown, {}, {
@@ -132,7 +180,7 @@ declare const BkSideslider: {
132
180
  width: string | number;
133
181
  height: string | number;
134
182
  isShow: boolean;
135
- customClass: string;
183
+ customClass: string | unknown[];
136
184
  scrollable: boolean;
137
185
  direction: string;
138
186
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;