bkui-vue 0.0.1-beta.337 → 0.0.1-beta.339

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 (178) hide show
  1. package/dist/index.cjs.js +38 -38
  2. package/dist/index.esm.js +5213 -5359
  3. package/dist/index.umd.js +39 -39
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/affix.css +357 -0
  7. package/lib/affix/affix.variable.css +715 -1
  8. package/lib/alert/alert.css +360 -3
  9. package/lib/alert/alert.variable.css +715 -1
  10. package/lib/backtop/backtop.css +360 -3
  11. package/lib/backtop/backtop.variable.css +715 -1
  12. package/lib/badge/badge.css +383 -26
  13. package/lib/badge/badge.variable.css +715 -1
  14. package/lib/breadcrumb/breadcrumb.css +362 -5
  15. package/lib/breadcrumb/breadcrumb.variable.css +715 -1
  16. package/lib/button/button.css +472 -115
  17. package/lib/button/button.variable.css +715 -1
  18. package/lib/card/card.css +361 -4
  19. package/lib/card/card.variable.css +715 -1
  20. package/lib/cascader/cascader.css +368 -11
  21. package/lib/cascader/cascader.variable.css +715 -1
  22. package/lib/cascader/index.js +1 -1
  23. package/lib/checkbox/checkbox.css +364 -7
  24. package/lib/checkbox/checkbox.variable.css +715 -1
  25. package/lib/code-diff/code-diff.css +357 -0
  26. package/lib/code-diff/code-diff.variable.css +715 -1
  27. package/lib/collapse/collapse-panel.d.ts +2 -2
  28. package/lib/collapse/collapse.css +358 -1
  29. package/lib/collapse/collapse.d.ts +2 -2
  30. package/lib/collapse/collapse.variable.css +715 -1
  31. package/lib/collapse/index.d.ts +9 -9
  32. package/lib/color-picker/color-picker.css +357 -0
  33. package/lib/color-picker/color-picker.variable.css +715 -1
  34. package/lib/components.d.ts +2 -1
  35. package/lib/components.js +1 -1
  36. package/lib/container/container.css +357 -0
  37. package/lib/container/container.variable.css +715 -1
  38. package/lib/date-picker/date-picker.css +374 -17
  39. package/lib/date-picker/date-picker.variable.css +715 -1
  40. package/lib/dialog/dialog.d.ts +8 -7
  41. package/lib/dialog/index.d.ts +21 -18
  42. package/lib/dialog/index.js +1 -1
  43. package/lib/dialog/props.d.ts +2 -2
  44. package/lib/divider/divider.css +360 -3
  45. package/lib/divider/divider.variable.css +715 -1
  46. package/lib/dropdown/dropdown.css +358 -1
  47. package/lib/dropdown/dropdown.d.ts +10 -10
  48. package/lib/dropdown/dropdown.less +1 -1
  49. package/lib/dropdown/dropdown.variable.css +716 -2
  50. package/lib/dropdown/index.js +1 -1
  51. package/lib/exception/exception.css +357 -0
  52. package/lib/exception/exception.variable.css +715 -1
  53. package/lib/fixed-navbar/fixed-navbar.css +361 -4
  54. package/lib/fixed-navbar/fixed-navbar.variable.css +715 -1
  55. package/lib/form/form.css +357 -0
  56. package/lib/form/form.variable.css +715 -1
  57. package/lib/form/index.js +1 -1
  58. package/lib/info-box/index.js +1 -1
  59. package/lib/input/input.css +417 -59
  60. package/lib/input/input.variable.css +715 -1
  61. package/lib/link/link.css +373 -16
  62. package/lib/link/link.variable.css +715 -1
  63. package/lib/loading/loading.css +373 -16
  64. package/lib/loading/loading.variable.css +715 -1
  65. package/lib/menu/menu.css +375 -18
  66. package/lib/menu/menu.variable.css +715 -1
  67. package/lib/menu/submenu.css +357 -0
  68. package/lib/menu/submenu.variable.css +715 -1
  69. package/lib/message/message.css +378 -21
  70. package/lib/message/message.variable.css +715 -1
  71. package/lib/modal/index.d.ts +13 -13
  72. package/lib/modal/index.js +1 -1
  73. package/lib/modal/modal.d.ts +5 -5
  74. package/lib/modal/props.mixin.d.ts +2 -2
  75. package/lib/navigation/navigation.css +359 -2
  76. package/lib/navigation/navigation.variable.css +715 -1
  77. package/lib/notify/notify.css +364 -7
  78. package/lib/notify/notify.variable.css +715 -1
  79. package/lib/pagination/index.js +1 -1
  80. package/lib/pagination/pagination.css +358 -1
  81. package/lib/pagination/pagination.variable.css +715 -1
  82. package/lib/plugin-popover/index.d.ts +1 -1
  83. package/lib/plugin-popover/index.js +1 -1
  84. package/lib/{popover2 → popover}/arrow.d.ts +0 -0
  85. package/lib/{popover2 → popover}/const.d.ts +0 -0
  86. package/lib/{popover2 → popover}/content.d.ts +0 -0
  87. package/lib/popover/index.d.ts +271 -114
  88. package/lib/popover/index.js +1 -1
  89. package/lib/{popover2 → popover}/plugin-popover.d.ts +0 -0
  90. package/lib/popover/popover.css +364 -50
  91. package/lib/popover/popover.d.ts +116 -53
  92. package/lib/popover/popover.less +19 -68
  93. package/lib/popover/popover.variable.css +721 -50
  94. package/lib/popover/props.d.ts +55 -37
  95. package/lib/{popover2 → popover}/reference.d.ts +0 -0
  96. package/lib/{popover2 → popover}/root.d.ts +0 -0
  97. package/lib/{popover2 → popover}/use-floating.d.ts +0 -0
  98. package/lib/{popover2 → popover}/use-platform.d.ts +0 -0
  99. package/lib/{popover2 → popover}/use-popover-init.d.ts +0 -0
  100. package/lib/{popover2 → popover}/use-popper-id.d.ts +0 -0
  101. package/lib/{popover2 → popover}/utils.d.ts +0 -0
  102. package/lib/process/process.css +370 -13
  103. package/lib/process/process.variable.css +715 -1
  104. package/lib/progress/progress.css +361 -4
  105. package/lib/progress/progress.variable.css +715 -1
  106. package/lib/radio/radio.css +387 -30
  107. package/lib/radio/radio.variable.css +715 -1
  108. package/lib/resize-layout/resize-layout.css +357 -0
  109. package/lib/resize-layout/resize-layout.variable.css +715 -1
  110. package/lib/search-select/index.js +1 -1
  111. package/lib/search-select/search-select.css +393 -36
  112. package/lib/search-select/search-select.variable.css +715 -1
  113. package/lib/select/index.d.ts +15 -0
  114. package/lib/select/index.js +1 -1
  115. package/lib/select/select.css +413 -56
  116. package/lib/select/select.d.ts +5 -0
  117. package/lib/select/select.less +1 -1
  118. package/lib/select/select.variable.css +747 -33
  119. package/lib/sideslider/index.d.ts +18 -18
  120. package/lib/sideslider/sideslider.css +358 -1
  121. package/lib/sideslider/sideslider.d.ts +7 -7
  122. package/lib/sideslider/sideslider.variable.css +715 -1
  123. package/lib/slider/slider.css +361 -4
  124. package/lib/slider/slider.variable.css +715 -1
  125. package/lib/steps/steps.css +393 -36
  126. package/lib/steps/steps.variable.css +715 -1
  127. package/lib/styles/index.d.ts +0 -2
  128. package/lib/styles/mixins/scroll.css +357 -0
  129. package/lib/styles/mixins/scroll.variable.css +715 -1
  130. package/lib/styles/themes/themes.css +357 -0
  131. package/lib/styles/themes/themes.less +614 -117
  132. package/lib/styles/themes/themes.variable.css +357 -0
  133. package/lib/switcher/switcher.css +374 -17
  134. package/lib/switcher/switcher.variable.css +715 -1
  135. package/lib/tab/tab.css +377 -20
  136. package/lib/tab/tab.variable.css +715 -1
  137. package/lib/table/const.d.ts +1 -0
  138. package/lib/table/index.js +1 -1
  139. package/lib/table/plugins/head-filter.css +369 -11
  140. package/lib/table/plugins/head-filter.less +2 -1
  141. package/lib/table/plugins/head-filter.variable.css +725 -10
  142. package/lib/table/plugins/head-sort.css +357 -0
  143. package/lib/table/plugins/head-sort.variable.css +715 -1
  144. package/lib/table/plugins/settings.css +373 -0
  145. package/lib/table/plugins/settings.less +22 -0
  146. package/lib/table/plugins/settings.variable.css +731 -1
  147. package/lib/table/table.css +534 -160
  148. package/lib/table/table.less +1 -1
  149. package/lib/table/table.variable.css +1249 -161
  150. package/lib/tag/tag.css +362 -5
  151. package/lib/tag/tag.variable.css +715 -1
  152. package/lib/tag-input/index.d.ts +156 -92
  153. package/lib/tag-input/index.js +1 -1
  154. package/lib/tag-input/tag-input.css +375 -18
  155. package/lib/tag-input/tag-input.d.ts +78 -46
  156. package/lib/tag-input/tag-input.variable.css +715 -1
  157. package/lib/tag-input/tag-props.d.ts +39 -23
  158. package/lib/time-picker/time-picker.css +357 -0
  159. package/lib/time-picker/time-picker.variable.css +715 -1
  160. package/lib/timeline/timeline.css +376 -19
  161. package/lib/timeline/timeline.variable.css +715 -1
  162. package/lib/transfer/transfer.css +369 -12
  163. package/lib/transfer/transfer.variable.css +715 -1
  164. package/lib/tree/tree.css +364 -7
  165. package/lib/tree/tree.variable.css +1079 -8
  166. package/lib/upload/upload.css +384 -27
  167. package/lib/upload/upload.variable.css +715 -1
  168. package/lib/virtual-render/virtual-render.css +357 -0
  169. package/lib/virtual-render/virtual-render.variable.css +1072 -1
  170. package/lib/volar.components.d.ts +1 -1
  171. package/package.json +1 -1
  172. package/lib/popover2/index.d.ts +0 -545
  173. package/lib/popover2/index.js +0 -1
  174. package/lib/popover2/popover2.css +0 -25
  175. package/lib/popover2/popover2.d.ts +0 -228
  176. package/lib/popover2/popover2.less +0 -35
  177. package/lib/popover2/popover2.variable.css +0 -144
  178. package/lib/popover2/props.d.ts +0 -118
@@ -61,7 +61,7 @@ declare module '@vue/runtime-core' {
61
61
  BkLoading: typeof import('./loading/loading').default;
62
62
  BkModal: typeof import('./modal/modal').default;
63
63
  BkPopover: typeof import('./popover/popover').default;
64
- BkPopover2: typeof import('./popover2/popover2').default;
64
+ BkPopover2: typeof import('./popover/popover').default;
65
65
  BkProgress: typeof import('./progress/progress').default;
66
66
  BkRadio: typeof import('./radio/radio').default;
67
67
  BkRate: typeof import('./rate/rate').default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bkui-vue",
3
- "version": "0.0.1-beta.337",
3
+ "version": "0.0.1-beta.339",
4
4
  "workspaces": {
5
5
  "packages": [
6
6
  "packages/!(**.bak)*",
@@ -1,545 +0,0 @@
1
- declare const BkPopover2: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{
6
- placement: string;
7
- offset: number;
8
- zIndex: number;
9
- content: string | number;
10
- arrow: boolean;
11
- theme: string;
12
- disabled: boolean;
13
- trigger: string;
14
- width: string | number;
15
- height: string | number;
16
- isShow: boolean;
17
- always: boolean;
18
- padding: number;
19
- disableTeleport: boolean;
20
- autoPlacement: boolean;
21
- autoVisibility: boolean;
22
- disableOutsideClick: boolean;
23
- disableTransform: boolean;
24
- reference: any;
25
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
26
- onAfterHidden: FunctionConstructor;
27
- onAfterShow: FunctionConstructor;
28
- isShow: import("vue-types").VueTypeValidableDef<boolean> & {
29
- default: boolean;
30
- } & {
31
- default: boolean;
32
- };
33
- always: import("vue-types").VueTypeValidableDef<boolean> & {
34
- default: boolean;
35
- } & {
36
- default: boolean;
37
- };
38
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
39
- default: boolean;
40
- } & {
41
- default: boolean;
42
- };
43
- width: import("vue-types").VueTypeDef<string | number> & {
44
- default: string | number;
45
- };
46
- height: import("vue-types").VueTypeDef<string | number> & {
47
- default: string | number;
48
- };
49
- content: import("vue-types").VueTypeDef<string | number> & {
50
- default: string | number;
51
- };
52
- placement: import("vue-types").VueTypeDef<string> & {
53
- default: string;
54
- };
55
- theme: import("vue-types").VueTypeValidableDef<string> & {
56
- default: string;
57
- } & {
58
- default: string;
59
- };
60
- trigger: import("vue-types").VueTypeValidableDef<string> & {
61
- default: string;
62
- } & {
63
- default: string;
64
- };
65
- arrow: import("vue-types").VueTypeValidableDef<boolean> & {
66
- default: boolean;
67
- } & {
68
- default: boolean;
69
- };
70
- padding: import("vue-types").VueTypeValidableDef<number> & {
71
- default: number;
72
- } & {
73
- default: number;
74
- };
75
- offset: import("vue-types").VueTypeValidableDef<number> & {
76
- default: number;
77
- } & {
78
- default: number;
79
- };
80
- boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
81
- zIndex: import("vue-types").VueTypeValidableDef<number> & {
82
- default: number;
83
- } & {
84
- default: number;
85
- };
86
- disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
87
- default: boolean;
88
- } & {
89
- default: boolean;
90
- };
91
- autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
92
- default: boolean;
93
- } & {
94
- default: boolean;
95
- };
96
- autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
97
- default: boolean;
98
- } & {
99
- default: boolean;
100
- };
101
- disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
102
- default: boolean;
103
- } & {
104
- default: boolean;
105
- };
106
- disableTransform: import("vue-types").VueTypeValidableDef<boolean> & {
107
- default: boolean;
108
- } & {
109
- default: boolean;
110
- };
111
- reference: import("vue-types").VueTypeValidableDef<any> & {
112
- default: any;
113
- };
114
- }>> & {
115
- onShow?: (...args: any[]) => any;
116
- onHide?: (...args: any[]) => any;
117
- onClickoutside?: (...args: any[]) => any;
118
- onContentMouseenter?: (...args: any[]) => any;
119
- onContentMouseleave?: (...args: any[]) => any;
120
- onStopHide?: (...args: any[]) => any;
121
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "offset" | "zIndex" | "content" | "arrow" | "theme" | "disabled" | "trigger" | "width" | "height" | "isShow" | "always" | "padding" | "disableTeleport" | "autoPlacement" | "autoVisibility" | "disableOutsideClick" | "disableTransform" | "reference">;
122
- $attrs: {
123
- [x: string]: unknown;
124
- };
125
- $refs: {
126
- [x: string]: unknown;
127
- };
128
- $slots: Readonly<{
129
- [name: string]: import("vue").Slot;
130
- }>;
131
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
132
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
133
- $emit: ((event: import("./const").EMIT_EVENTS.SHOW, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.HIDE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.CLICK_OUTSIDE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.CONTENT_MOUSEENTER, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.CONTENT_MOUSELEAVE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.STOP_HIDE, ...args: any[]) => void);
134
- $el: any;
135
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
136
- onAfterHidden: FunctionConstructor;
137
- onAfterShow: FunctionConstructor;
138
- isShow: import("vue-types").VueTypeValidableDef<boolean> & {
139
- default: boolean;
140
- } & {
141
- default: boolean;
142
- };
143
- always: import("vue-types").VueTypeValidableDef<boolean> & {
144
- default: boolean;
145
- } & {
146
- default: boolean;
147
- };
148
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
149
- default: boolean;
150
- } & {
151
- default: boolean;
152
- };
153
- width: import("vue-types").VueTypeDef<string | number> & {
154
- default: string | number;
155
- };
156
- height: import("vue-types").VueTypeDef<string | number> & {
157
- default: string | number;
158
- };
159
- content: import("vue-types").VueTypeDef<string | number> & {
160
- default: string | number;
161
- };
162
- placement: import("vue-types").VueTypeDef<string> & {
163
- default: string;
164
- };
165
- theme: import("vue-types").VueTypeValidableDef<string> & {
166
- default: string;
167
- } & {
168
- default: string;
169
- };
170
- trigger: import("vue-types").VueTypeValidableDef<string> & {
171
- default: string;
172
- } & {
173
- default: string;
174
- };
175
- arrow: import("vue-types").VueTypeValidableDef<boolean> & {
176
- default: boolean;
177
- } & {
178
- default: boolean;
179
- };
180
- padding: import("vue-types").VueTypeValidableDef<number> & {
181
- default: number;
182
- } & {
183
- default: number;
184
- };
185
- offset: import("vue-types").VueTypeValidableDef<number> & {
186
- default: number;
187
- } & {
188
- default: number;
189
- };
190
- boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
191
- zIndex: import("vue-types").VueTypeValidableDef<number> & {
192
- default: number;
193
- } & {
194
- default: number;
195
- };
196
- disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
197
- default: boolean;
198
- } & {
199
- default: boolean;
200
- };
201
- autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
202
- default: boolean;
203
- } & {
204
- default: boolean;
205
- };
206
- autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
207
- default: boolean;
208
- } & {
209
- default: boolean;
210
- };
211
- disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
212
- default: boolean;
213
- } & {
214
- default: boolean;
215
- };
216
- disableTransform: import("vue-types").VueTypeValidableDef<boolean> & {
217
- default: boolean;
218
- } & {
219
- default: boolean;
220
- };
221
- reference: import("vue-types").VueTypeValidableDef<any> & {
222
- default: any;
223
- };
224
- }>> & {
225
- onShow?: (...args: any[]) => any;
226
- onHide?: (...args: any[]) => any;
227
- onClickoutside?: (...args: any[]) => any;
228
- onContentMouseenter?: (...args: any[]) => any;
229
- onContentMouseleave?: (...args: any[]) => any;
230
- onStopHide?: (...args: any[]) => any;
231
- }, {
232
- boundary: import("vue").Ref<any>;
233
- arrow: boolean;
234
- refDefaultReference: import("vue").Ref<any>;
235
- refContent: import("vue").Ref<any>;
236
- refArrow: import("vue").Ref<any>;
237
- content: string | number;
238
- theme: string;
239
- transBoundary: import("vue").ComputedRef<boolean>;
240
- handleClickOutside: (_e: MouseEvent) => void;
241
- updatePopover: (virtualEl?: any, props?: {}) => void;
242
- hide: () => void;
243
- show: () => void;
244
- stopHide: () => void;
245
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
246
- show: (..._args: any[]) => boolean;
247
- hide: (..._args: any[]) => boolean;
248
- clickoutside: (..._args: any[]) => boolean;
249
- contentMouseenter: (..._args: any[]) => boolean;
250
- contentMouseleave: (..._args: any[]) => boolean;
251
- stopHide: (..._args: any[]) => boolean;
252
- }, string, {
253
- placement: string;
254
- offset: number;
255
- zIndex: number;
256
- content: string | number;
257
- arrow: boolean;
258
- theme: string;
259
- disabled: boolean;
260
- trigger: string;
261
- width: string | number;
262
- height: string | number;
263
- isShow: boolean;
264
- always: boolean;
265
- padding: number;
266
- disableTeleport: boolean;
267
- autoPlacement: boolean;
268
- autoVisibility: boolean;
269
- disableOutsideClick: boolean;
270
- disableTransform: boolean;
271
- reference: any;
272
- }> & {
273
- beforeCreate?: (() => void) | (() => void)[];
274
- created?: (() => void) | (() => void)[];
275
- beforeMount?: (() => void) | (() => void)[];
276
- mounted?: (() => void) | (() => void)[];
277
- beforeUpdate?: (() => void) | (() => void)[];
278
- updated?: (() => void) | (() => void)[];
279
- activated?: (() => void) | (() => void)[];
280
- deactivated?: (() => void) | (() => void)[];
281
- beforeDestroy?: (() => void) | (() => void)[];
282
- beforeUnmount?: (() => void) | (() => void)[];
283
- destroyed?: (() => void) | (() => void)[];
284
- unmounted?: (() => void) | (() => void)[];
285
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
286
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
287
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
288
- };
289
- $forceUpdate: () => void;
290
- $nextTick: typeof import("vue").nextTick;
291
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
292
- } & Readonly<import("vue").ExtractPropTypes<{
293
- onAfterHidden: FunctionConstructor;
294
- onAfterShow: FunctionConstructor;
295
- isShow: import("vue-types").VueTypeValidableDef<boolean> & {
296
- default: boolean;
297
- } & {
298
- default: boolean;
299
- };
300
- always: import("vue-types").VueTypeValidableDef<boolean> & {
301
- default: boolean;
302
- } & {
303
- default: boolean;
304
- };
305
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
306
- default: boolean;
307
- } & {
308
- default: boolean;
309
- };
310
- width: import("vue-types").VueTypeDef<string | number> & {
311
- default: string | number;
312
- };
313
- height: import("vue-types").VueTypeDef<string | number> & {
314
- default: string | number;
315
- };
316
- content: import("vue-types").VueTypeDef<string | number> & {
317
- default: string | number;
318
- };
319
- placement: import("vue-types").VueTypeDef<string> & {
320
- default: string;
321
- };
322
- theme: import("vue-types").VueTypeValidableDef<string> & {
323
- default: string;
324
- } & {
325
- default: string;
326
- };
327
- trigger: import("vue-types").VueTypeValidableDef<string> & {
328
- default: string;
329
- } & {
330
- default: string;
331
- };
332
- arrow: import("vue-types").VueTypeValidableDef<boolean> & {
333
- default: boolean;
334
- } & {
335
- default: boolean;
336
- };
337
- padding: import("vue-types").VueTypeValidableDef<number> & {
338
- default: number;
339
- } & {
340
- default: number;
341
- };
342
- offset: import("vue-types").VueTypeValidableDef<number> & {
343
- default: number;
344
- } & {
345
- default: number;
346
- };
347
- boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
348
- zIndex: import("vue-types").VueTypeValidableDef<number> & {
349
- default: number;
350
- } & {
351
- default: number;
352
- };
353
- disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
354
- default: boolean;
355
- } & {
356
- default: boolean;
357
- };
358
- autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
359
- default: boolean;
360
- } & {
361
- default: boolean;
362
- };
363
- autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
364
- default: boolean;
365
- } & {
366
- default: boolean;
367
- };
368
- disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
369
- default: boolean;
370
- } & {
371
- default: boolean;
372
- };
373
- disableTransform: import("vue-types").VueTypeValidableDef<boolean> & {
374
- default: boolean;
375
- } & {
376
- default: boolean;
377
- };
378
- reference: import("vue-types").VueTypeValidableDef<any> & {
379
- default: any;
380
- };
381
- }>> & {
382
- onShow?: (...args: any[]) => any;
383
- onHide?: (...args: any[]) => any;
384
- onClickoutside?: (...args: any[]) => any;
385
- onContentMouseenter?: (...args: any[]) => any;
386
- onContentMouseleave?: (...args: any[]) => any;
387
- onStopHide?: (...args: any[]) => any;
388
- } & import("vue").ShallowUnwrapRef<{
389
- boundary: import("vue").Ref<any>;
390
- arrow: boolean;
391
- refDefaultReference: import("vue").Ref<any>;
392
- refContent: import("vue").Ref<any>;
393
- refArrow: import("vue").Ref<any>;
394
- content: string | number;
395
- theme: string;
396
- transBoundary: import("vue").ComputedRef<boolean>;
397
- handleClickOutside: (_e: MouseEvent) => void;
398
- updatePopover: (virtualEl?: any, props?: {}) => void;
399
- hide: () => void;
400
- show: () => void;
401
- stopHide: () => void;
402
- }> & {} & {} & import("vue").ComponentCustomProperties;
403
- __isFragment?: never;
404
- __isTeleport?: never;
405
- __isSuspense?: never;
406
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
407
- onAfterHidden: FunctionConstructor;
408
- onAfterShow: FunctionConstructor;
409
- isShow: import("vue-types").VueTypeValidableDef<boolean> & {
410
- default: boolean;
411
- } & {
412
- default: boolean;
413
- };
414
- always: import("vue-types").VueTypeValidableDef<boolean> & {
415
- default: boolean;
416
- } & {
417
- default: boolean;
418
- };
419
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
420
- default: boolean;
421
- } & {
422
- default: boolean;
423
- };
424
- width: import("vue-types").VueTypeDef<string | number> & {
425
- default: string | number;
426
- };
427
- height: import("vue-types").VueTypeDef<string | number> & {
428
- default: string | number;
429
- };
430
- content: import("vue-types").VueTypeDef<string | number> & {
431
- default: string | number;
432
- };
433
- placement: import("vue-types").VueTypeDef<string> & {
434
- default: string;
435
- };
436
- theme: import("vue-types").VueTypeValidableDef<string> & {
437
- default: string;
438
- } & {
439
- default: string;
440
- };
441
- trigger: import("vue-types").VueTypeValidableDef<string> & {
442
- default: string;
443
- } & {
444
- default: string;
445
- };
446
- arrow: import("vue-types").VueTypeValidableDef<boolean> & {
447
- default: boolean;
448
- } & {
449
- default: boolean;
450
- };
451
- padding: import("vue-types").VueTypeValidableDef<number> & {
452
- default: number;
453
- } & {
454
- default: number;
455
- };
456
- offset: import("vue-types").VueTypeValidableDef<number> & {
457
- default: number;
458
- } & {
459
- default: number;
460
- };
461
- boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
462
- zIndex: import("vue-types").VueTypeValidableDef<number> & {
463
- default: number;
464
- } & {
465
- default: number;
466
- };
467
- disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
468
- default: boolean;
469
- } & {
470
- default: boolean;
471
- };
472
- autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
473
- default: boolean;
474
- } & {
475
- default: boolean;
476
- };
477
- autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
478
- default: boolean;
479
- } & {
480
- default: boolean;
481
- };
482
- disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
483
- default: boolean;
484
- } & {
485
- default: boolean;
486
- };
487
- disableTransform: import("vue-types").VueTypeValidableDef<boolean> & {
488
- default: boolean;
489
- } & {
490
- default: boolean;
491
- };
492
- reference: import("vue-types").VueTypeValidableDef<any> & {
493
- default: any;
494
- };
495
- }>> & {
496
- onShow?: (...args: any[]) => any;
497
- onHide?: (...args: any[]) => any;
498
- onClickoutside?: (...args: any[]) => any;
499
- onContentMouseenter?: (...args: any[]) => any;
500
- onContentMouseleave?: (...args: any[]) => any;
501
- onStopHide?: (...args: any[]) => any;
502
- }, {
503
- boundary: import("vue").Ref<any>;
504
- arrow: boolean;
505
- refDefaultReference: import("vue").Ref<any>;
506
- refContent: import("vue").Ref<any>;
507
- refArrow: import("vue").Ref<any>;
508
- content: string | number;
509
- theme: string;
510
- transBoundary: import("vue").ComputedRef<boolean>;
511
- handleClickOutside: (_e: MouseEvent) => void;
512
- updatePopover: (virtualEl?: any, props?: {}) => void;
513
- hide: () => void;
514
- show: () => void;
515
- stopHide: () => void;
516
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
517
- show: (..._args: any[]) => boolean;
518
- hide: (..._args: any[]) => boolean;
519
- clickoutside: (..._args: any[]) => boolean;
520
- contentMouseenter: (..._args: any[]) => boolean;
521
- contentMouseleave: (..._args: any[]) => boolean;
522
- stopHide: (..._args: any[]) => boolean;
523
- }, string, {
524
- placement: string;
525
- offset: number;
526
- zIndex: number;
527
- content: string | number;
528
- arrow: boolean;
529
- theme: string;
530
- disabled: boolean;
531
- trigger: string;
532
- width: string | number;
533
- height: string | number;
534
- isShow: boolean;
535
- always: boolean;
536
- padding: number;
537
- disableTeleport: boolean;
538
- autoPlacement: boolean;
539
- autoVisibility: boolean;
540
- disableOutsideClick: boolean;
541
- disableTransform: boolean;
542
- reference: any;
543
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
544
- export default BkPopover2;
545
- export { default as $bkPopover } from './plugin-popover';
@@ -1 +0,0 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../directives"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../directives"],t);else{var n="object"==typeof exports?t(require("../shared"),require("vue"),require("../directives")):t(e["../shared"],e.vue,e["../directives"]);for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,((e,t,n)=>(()=>{var o={8022:(e,t,n)=>{var o=n(4481),r=n(6426),i=r;i.v1=o,i.v4=r,e.exports=i},8725:e=>{for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var o=n||0,r=t;return[r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]]].join("")}},9157:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var o=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}},4481:(e,t,n)=>{var o,r,i=n(9157),l=n(8725),a=0,c=0;e.exports=function(e,t,n){var u=t&&n||0,s=t||[],f=(e=e||{}).node||o,d=void 0!==e.clockseq?e.clockseq:r;if(null==f||null==d){var p=i();null==f&&(f=o=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==d&&(d=r=16383&(p[6]<<8|p[7]))}var v=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,h=v-a+(m-c)/1e4;if(h<0&&void 0===e.clockseq&&(d=d+1&16383),(h<0||v>a)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=v,c=m,r=d;var g=(1e4*(268435455&(v+=122192928e5))+m)%4294967296;s[u++]=g>>>24&255,s[u++]=g>>>16&255,s[u++]=g>>>8&255,s[u++]=255&g;var y=v/4294967296*1e4&268435455;s[u++]=y>>>8&255,s[u++]=255&y,s[u++]=y>>>24&15|16,s[u++]=y>>>16&255,s[u++]=d>>>8|128,s[u++]=255&d;for(var w=0;w<6;++w)s[u+w]=f[w];return t||l(s)}},6426:(e,t,n)=>{var o=n(9157),r=n(8725);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var l=(e=e||{}).random||(e.rng||o)();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t)for(var a=0;a<16;++a)t[i+a]=l[a];return t||r(l)}},4061:e=>{"use strict";e.exports=n},4212:t=>{"use strict";t.exports=e},748:e=>{"use strict";e.exports=t}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,i),n.exports}i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{"use strict";i.r(l),i.d(l,{$bkPopover:()=>Pe,default:()=>Re});var e=i(4212),t=i(748),n=i(4061);const o=(0,t.defineComponent)({name:"PopArrow",render:function(){var n=(0,e.resolveClassName)("pop2-arrow");return(0,t.createVNode)("div",{class:n},null)}});function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a,c,u=function(){return!0};!function(e){e.SHOW="show",e.HIDE="hide",e.CLICK_OUTSIDE="clickoutside",e.CONTENT_MOUSEENTER="contentMouseenter",e.CONTENT_MOUSELEAVE="contentMouseleave",e.STOP_HIDE="stopHide"}(c||(c={}));var s=(r(a={},c.SHOW,u),r(a,c.HIDE,u),r(a,c.CLICK_OUTSIDE,u),r(a,c.CONTENT_MOUSEENTER,u),r(a,c.CONTENT_MOUSELEAVE,u),r(a,c.STOP_HIDE,u),a);const f=(0,t.defineComponent)({name:"PopContent",props:{width:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),height:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto")},setup:function(e){var n=function(e){return/^\d+\.?\d*$/.test("".concat(e))?"".concat(e,"px"):e};return{style:(0,t.computed)((function(){return{width:n(e.width),height:n(e.height)}}))}},render:function(){var n,o,r,i,l,a,c=[(0,e.resolveClassName)("popover2"),(0,e.resolveClassName)("pop2-content")];return(0,t.createVNode)("div",{class:c,tabindex:"-1",style:this.style},[null!==(r=null===(o=(n=this.$slots).default)||void 0===o?void 0:o.call(n))&&void 0!==r?r:"",null!==(a=null===(l=(i=this.$slots).arrow)||void 0===l?void 0:l.call(i))&&void 0!==a?a:""])}});var d={onAfterHidden:Function,onAfterShow:Function},p=Object.assign({isShow:e.PropTypes.bool.def(!1),always:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1),width:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),height:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),content:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def(""),placement:e.PropTypes.placement(["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"]).def("top"),theme:e.PropTypes.string.def("dark"),trigger:e.PropTypes.string.def("hover"),arrow:e.PropTypes.bool.def(!0),padding:e.PropTypes.number.def(5),offset:e.PropTypes.number.def(6),boundary:e.PropTypes.oneOfType([e.PropTypes.string.def("parent"),e.PropTypes.instanceOf(HTMLElement)]),zIndex:e.PropTypes.number.def(void 0),disableTeleport:e.PropTypes.bool.def(!1),autoPlacement:e.PropTypes.bool.def(!1),autoVisibility:e.PropTypes.bool.def(!0),disableOutsideClick:e.PropTypes.bool.def(!1),disableTransform:e.PropTypes.bool.def(!1),reference:e.PropTypes.any.def(null)},d);const v=(0,t.defineComponent)({name:"PopReference",render:function(){var e,t,n;return null!==(n=null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==n?n:""}}),m=(0,t.defineComponent)({props:{class:e.PropTypes.string.def("")},render:function(){var e,n;return(0,t.createVNode)(t.Fragment,null,[null===(n=(e=this.$slots).default)||void 0===n?void 0:n.call(e)])}});function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],l=!0,a=!1;try{for(n=n.call(e);!(l=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(a)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e){return e.split("-")[0]}function w(e){return e.split("-")[1]}function b(e){return["top","bottom"].includes(y(e))?"x":"y"}function x(e){return"y"===e?"height":"width"}function T(e,t,n){let{reference:o,floating:r}=e;const i=o.x+o.width/2-r.width/2,l=o.y+o.height/2-r.height/2,a=b(t),c=x(a),u=o[c]/2-r[c]/2,s="x"===a;let f;switch(y(t)){case"top":f={x:i,y:o.y-r.height};break;case"bottom":f={x:i,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:l};break;case"left":f={x:o.x-r.width,y:l};break;default:f={x:o.x,y:o.y}}switch(w(t)){case"start":f[a]-=u*(n&&s?-1:1);break;case"end":f[a]+=u*(n&&s?-1:1)}return f}function P(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function R(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function E(e,t){var n;void 0===t&&(t={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=t,v=P(p),m=a[d?"floating"===f?"reference":"floating":f],h=R(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:s,strategy:c})),g=R(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===f?{...l.floating,x:o,y:r}:l.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),strategy:c}):l[f]);return{top:h.top-g.top+v.top,bottom:g.bottom-h.bottom+v.bottom,left:h.left-g.left+v.left,right:g.right-h.right+v.right}}const C=Math.min,O=Math.max;function A(e,t,n){return O(e,C(t,n))}const S={left:"right",right:"left",bottom:"top",top:"bottom"};function N(e){return e.replace(/left|right|bottom|top/g,(e=>S[e]))}function L(e,t,n){void 0===n&&(n=!1);const o=w(e),r=b(e),i=x(r);let l="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=N(l)),{main:l,cross:N(l)}}const H={start:"end",end:"start"};function I(e){return e.replace(/start|end/g,(e=>H[e]))}const j=["top","right","bottom","left"],M=j.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);function D(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function V(e){return j.some((t=>e[t]>=0))}const k=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o}=t,r=await async function(e,t){const{placement:n,platform:o,elements:r}=e,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=y(n),a=w(n),c="x"===b(n),u=["left","top"].includes(l)?-1:1,s=i&&c?-1:1,f="function"==typeof t?t(e):t;let{mainAxis:d,crossAxis:p,alignmentAxis:v}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&"number"==typeof v&&(p="end"===a?-1*v:v),c?{x:p*s,y:d*u}:{x:d*u,y:p*s}}(t,e);return{x:n+r.x,y:o+r.y,data:r}}}};const $=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=e,u={x:n,y:o},s=await E(t,c),f=b(y(r)),d=function(e){return"x"===e?"y":"x"}(f);let p=u[f],v=u[d];if(i){const e="y"===f?"bottom":"right";p=A(p+s["y"===f?"top":"left"],p,p-s[e])}if(l){const e="y"===d?"bottom":"right";v=A(v+s["y"===d?"top":"left"],v,v-s[e])}const m=a.fn({...t,[f]:p,[d]:v});return{...m,data:{x:m.x-n,y:m.y-o}}}}};function F(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function B(e){if(null==e)return window;if(!F(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function U(e){return B(e).getComputedStyle(e)}function W(e){return F(e)?"":e?(e.nodeName||"").toLowerCase():""}function _(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function q(e){return e instanceof B(e).HTMLElement}function z(e){return e instanceof B(e).Element}function K(e){return"undefined"!=typeof ShadowRoot&&(e instanceof B(e).ShadowRoot||e instanceof ShadowRoot)}function X(e){const{overflow:t,overflowX:n,overflowY:o}=U(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function Y(e){return["table","td","th"].includes(W(e))}function Z(e){const t=/firefox/i.test(_()),n=U(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function G(){return!/^((?!chrome|android).)*safari/i.test(_())}const J=Math.min,Q=Math.max,ee=Math.round;function te(e,t,n){var o,r,i,l;void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect();let c=1,u=1;t&&q(e)&&(c=e.offsetWidth>0&&ee(a.width)/e.offsetWidth||1,u=e.offsetHeight>0&&ee(a.height)/e.offsetHeight||1);const s=z(e)?B(e):window,f=!G()&&n,d=(a.left+(f&&null!=(o=null==(r=s.visualViewport)?void 0:r.offsetLeft)?o:0))/c,p=(a.top+(f&&null!=(i=null==(l=s.visualViewport)?void 0:l.offsetTop)?i:0))/u,v=a.width/c,m=a.height/u;return{width:v,height:m,top:p,right:d+v,bottom:p+m,left:d,x:d,y:p}}function ne(e){return(t=e,(t instanceof B(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function oe(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function re(e){return te(ne(e)).left+oe(e).scrollLeft}function ie(e,t,n){const o=q(t),r=ne(t),i=te(e,o&&function(e){const t=te(e);return ee(t.width)!==e.offsetWidth||ee(t.height)!==e.offsetHeight}(t),"fixed"===n);let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(o||!o&&"fixed"!==n)if(("body"!==W(t)||X(r))&&(l=oe(t)),q(t)){const e=te(t,!0);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}else r&&(a.x=re(r));return{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function le(e){return"html"===W(e)?e:e.assignedSlot||e.parentNode||(K(e)?e.host:null)||ne(e)}function ae(e){return q(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function ce(e){const t=B(e);let n=ae(e);for(;n&&Y(n)&&"static"===getComputedStyle(n).position;)n=ae(n);return n&&("html"===W(n)||"body"===W(n)&&"static"===getComputedStyle(n).position&&!Z(n))?t:n||function(e){let t=le(e);for(K(t)&&(t=t.host);q(t)&&!["html","body"].includes(W(t));){if(Z(t))return t;t=t.parentNode}return null}(e)||t}function ue(e){if(q(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=te(e);return{width:t.width,height:t.height}}function se(e){const t=le(e);return["html","body","#document"].includes(W(t))?e.ownerDocument.body:q(t)&&X(t)?t:se(t)}function fe(e,t){var n;void 0===t&&(t=[]);const o=se(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=B(o),l=r?[i].concat(i.visualViewport||[],X(o)?o:[]):o,a=t.concat(l);return r?a:a.concat(fe(l))}function de(e,t,n){return"viewport"===t?R(function(e,t){const n=B(e),o=ne(e),r=n.visualViewport;let i=o.clientWidth,l=o.clientHeight,a=0,c=0;if(r){i=r.width,l=r.height;const e=G();(e||!e&&"fixed"===t)&&(a=r.offsetLeft,c=r.offsetTop)}return{width:i,height:l,x:a,y:c}}(e,n)):z(t)?function(e,t){const n=te(e,!1,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft;return{top:o,left:r,x:r,y:o,right:r+e.clientWidth,bottom:o+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):R(function(e){var t;const n=ne(e),o=oe(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=Q(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),l=Q(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let a=-o.scrollLeft+re(e);const c=-o.scrollTop;return"rtl"===U(r||n).direction&&(a+=Q(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:l,x:a,y:c}}(ne(e)))}function pe(e){const t=fe(e),n=["absolute","fixed"].includes(U(e).position)&&q(e)?ce(e):e;return z(n)?t.filter((e=>z(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&K(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==W(e))):[]}const ve={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?pe(t):[].concat(n),o],l=i[0],a=i.reduce(((e,n)=>{const o=de(t,n,r);return e.top=Q(o.top,e.top),e.right=J(o.right,e.right),e.bottom=J(o.bottom,e.bottom),e.left=Q(o.left,e.left),e}),de(t,l,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=q(n),i=ne(n);if(n===i)return t;let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==W(n)||X(i))&&(l=oe(n)),q(n))){const e=te(n,!0);a.x=e.x+n.clientLeft,a.y=e.y+n.clientTop}return{...t,x:t.x-l.scrollLeft+a.x,y:t.y-l.scrollTop+a.y}},isElement:z,getDimensions:ue,getOffsetParent:ce,getDocumentElement:ne,getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:ie(t,ce(n),o),floating:{...ue(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===U(e).direction},me=(e,t,n)=>(async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=n,a=await(null==l.isRTL?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:s}=T(c,o,a),f=o,d={};for(let n=0;n<i.length;n++){const{name:p,fn:v}=i[n],{x:m,y:h,data:g,reset:y}=await v({x:u,y:s,initialPlacement:o,placement:f,strategy:r,middlewareData:d,rects:c,platform:l,elements:{reference:e,floating:t}});u=null!=m?m:u,s=null!=h?h:s,d={...d,[p]:{...d[p],...g}},y&&("object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(c=!0===y.rects?await l.getElementRects({reference:e,floating:t,strategy:r}):y.rects),({x:u,y:s}=T(c,f,a))),n=-1)}return{x:u,y:s,placement:f,strategy:r,middlewareData:d}})(e,t,{platform:ve,...n}),he=function(n,o,i){var l=i.refReference,a=i.refContent,u=i.refArrow,s=i.refRoot,f=(0,t.ref)(!1),d=(0,t.ref)(),p=function(){var e,t,n,o=H(null===(e=l.value)||void 0===e?void 0:e.$el);return(null===(t=document.fullscreenElement)||void 0===t?void 0:t.shadowRoot)?document.fullscreenElement.shadowRoot.contains(o):null===(n=document.fullscreenElement)||void 0===n?void 0:n.contains(o)},v=["dark","light"],m=(0,t.computed)((function(){var e,t,o=null!==(t=null===(e=n.theme)||void 0===e?void 0:e.split(/\s+/))&&void 0!==t?t:[];return o.sort((function(e,t){return Number(v.includes(t))-Number(v.includes(e))})),{systemThemes:o,customThemes:o.filter((function(e){return!v.includes(e)}))}})),h=function(){return n.autoVisibility},g=function(){return n.autoPlacement},T=function(){var e,t,o,r;return{elReference:H(null===(e=l.value)||void 0===e?void 0:e.$el),elContent:H(null===(t=a.value)||void 0===t?void 0:t.$el),elArrow:n.arrow?H(null===(o=u.value)||void 0===o?void 0:o.$el):null,root:H(null===(r=s.value)||void 0===r?void 0:r.$el)}},S=function(e,t){var n,o,r=[k(t.offset),$({padding:t.padding})],i={placement:t.placement,middleware:r};if(t.arrow&&r.push((e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:o=0}=null!=e?e:{},{x:r,y:i,placement:l,rects:a,platform:c}=t;if(null==n)return{};const u=P(o),s={x:r,y:i},f=b(l),d=w(l),p=x(f),v=await c.getDimensions(n),m="y"===f?"top":"left",h="y"===f?"bottom":"right",g=a.reference[p]+a.reference[f]-s[f]-a.floating[p],y=s[f]-a.reference[f],T=await(null==c.getOffsetParent?void 0:c.getOffsetParent(n));let R=T?"y"===f?T.clientHeight||0:T.clientWidth||0:0;0===R&&(R=a.floating[p]);const E=g/2-y/2,C=u[m],O=R-v[p]-u[h],S=R/2-v[p]/2+E,N=A(C,S,O),L=("start"===d?u[m]:u[h])>0&&S!==N&&a.reference[p]<=a.floating[p];return{[f]:s[f]-(L?S<C?C-S:O-S:0),data:{[f]:N,centerOffset:S-N}}}}))({element:e})),g()?r.push(function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,r,i,l;const{x:a,y:c,rects:u,middlewareData:s,placement:f,platform:d,elements:p}=t,{alignment:v=null,allowedPlacements:m=M,autoAlignment:h=!0,...g}=e,b=function(e,t,n){return(e?[...n.filter((t=>w(t)===e)),...n.filter((t=>w(t)!==e))]:n.filter((e=>y(e)===e))).filter((n=>!e||w(n)===e||!!t&&I(n)!==n))}(v,h,m),x=await E(t,g),T=null!=(n=null==(o=s.autoPlacement)?void 0:o.index)?n:0,P=b[T];if(null==P)return{};const{main:R,cross:C}=L(P,u,await(null==d.isRTL?void 0:d.isRTL(p.floating)));if(f!==P)return{x:a,y:c,reset:{placement:b[0]}};const O=[x[y(P)],x[R],x[C]],A=[...null!=(r=null==(i=s.autoPlacement)?void 0:i.overflows)?r:[],{placement:P,overflows:O}],S=b[T+1];if(S)return{data:{index:T+1,overflows:A},reset:{placement:S}};const N=A.slice().sort(((e,t)=>e.overflows[0]-t.overflows[0])),H=null==(l=N.find((e=>{let{overflows:t}=e;return t.every((e=>e<=0))})))?void 0:l.placement,j=null!=H?H:N[0].placement;return j!==f?{data:{index:T+1,overflows:A},reset:{placement:j}}:{}}}}()):(r.unshift(function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){var n;const{placement:o,elements:r,rects:i,platform:l,strategy:a}=t,{padding:c=2,x:u,y:s}=e,f=R(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:i.reference,offsetParent:await(null==l.getOffsetParent?void 0:l.getOffsetParent(r.floating)),strategy:a}):i.reference),d=null!=(n=await(null==l.getClientRects?void 0:l.getClientRects(r.reference)))?n:[],p=P(c),v=await l.getElementRects({reference:{getBoundingClientRect:function(){var e;if(2===d.length&&d[0].left>d[1].right&&null!=u&&null!=s)return null!=(e=d.find((e=>u>e.left-p.left&&u<e.right+p.right&&s>e.top-p.top&&s<e.bottom+p.bottom)))?e:f;if(d.length>=2){if("x"===b(o)){const e=d[0],t=d[d.length-1],n="top"===y(o),r=e.top,i=t.bottom,l=n?e.left:t.left,a=n?e.right:t.right;return{top:r,bottom:i,left:l,right:a,width:a-l,height:i-r,x:l,y:r}}const e="left"===y(o),t=O(...d.map((e=>e.right))),n=C(...d.map((e=>e.left))),r=d.filter((o=>e?o.left===n:o.right===t)),i=r[0].top,l=r[r.length-1].bottom;return{top:i,bottom:l,left:n,right:t,width:t-n,height:l-i,x:n,y:i}}return f}},floating:r.floating,strategy:a});return i.reference.x!==v.reference.x||i.reference.y!==v.reference.y||i.reference.width!==v.reference.width||i.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}}()),r.push(function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:o,middlewareData:r,rects:i,initialPlacement:l,platform:a,elements:c}=t,{mainAxis:u=!0,crossAxis:s=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...v}=e,m=y(o),h=f||(m!==l&&p?function(e){const t=N(e);return[I(e),t,I(t)]}(l):[N(l)]),g=[l,...h],w=await E(t,v),b=[];let x=(null==(n=r.flip)?void 0:n.overflows)||[];if(u&&b.push(w[m]),s){const{main:e,cross:t}=L(o,i,await(null==a.isRTL?void 0:a.isRTL(c.floating)));b.push(w[e],w[t])}if(x=[...x,{placement:o,overflows:b}],!b.every((e=>e<=0))){var T,P;const e=(null!=(T=null==(P=r.flip)?void 0:P.index)?T:0)+1,t=g[e];if(t)return{data:{index:e,overflows:x},reset:{placement:t}};let n="bottom";switch(d){case"bestFit":{var R;const e=null==(R=x.map((e=>[e,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:R[0].placement;e&&(n=e);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}}())),h()&&i.middleware.push(function(e){let{strategy:t="referenceHidden",...n}={};return{name:"hide",async fn(e){const{rects:o}=e;switch(t){case"referenceHidden":{const t=D(await E(e,{...n,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:V(t)}}}case"escaped":{const t=D(await E(e,{...n,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:V(t)}}}default:return{}}}}}()),p()||t.isVirtualEl){var l=(o=d.value,{getElementRects:function(e){var t=e.reference,n=e.floating,o=t.getBoundingClientRect(),r=n.getBoundingClientRect();return{reference:{width:o.width,height:o.height,x:o.x,y:o.y},floating:{width:r.width,height:r.height,x:r.x,y:r.y}}},getDimensions:function(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height}},getClippingRect:function(e){var t;!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e);var n=null!==(t=null==o?void 0:o.getBoundingClientRect())&&void 0!==t?t:{},r=n.width,i=void 0===r?0:r,l=n.height;return{width:i,height:void 0===l?0:l,x:0,y:0}}}),a=l.getElementRects,c=l.getDimensions,u=l.getClippingRect;Object.assign(i,{platform:Object.assign(Object.assign({},null!==(n=null==t?void 0:t.platform)&&void 0!==n?n:{}),{getElementRects:a,getDimensions:c,getClippingRect:u})})}return i},H=function e(t){return t instanceof HTMLElement?t:t instanceof Text?e(t.nextElementSibling):"function"==typeof(null==t?void 0:t.getBoundingClientRect)?t:null},j=m.value.customThemes.join(" "),F=m.value.customThemes.reduce((function(e,t){return Object.assign(r({},"data-".concat(t,"-theme"),!0),e)}),{}),B="".concat(j),U=null,W=function(e){var t=window.devicePixelRatio||1;return Math.round(e*t)/t||0},_=function(e,t,o,r){var i;n.disableTransform?Object.assign(e.style,{left:"".concat(W(t),"px"),top:"".concat(W(o),"px")}):Object.assign(e.style,{left:"0",top:"0",transform:"translate3d(".concat(W(t),"px,").concat(W(o),"px,0)")});var l=!!h()&&(null===(i=r.hide)||void 0===i?void 0:i.referenceHidden);Object.assign(e.style,{visibility:l?"hidden":"visible"})},q=function(e,t,o){var i;if(n.arrow){var l=null!==(i=o.arrow)&&void 0!==i?i:{},a=l.x,c=l.y;e.setAttribute("data-arrow",t),Object.assign(e.style,{left:"",top:"",bottom:"",right:""});var u={top:"bottom",right:"left",bottom:"top",left:"right"}[t];Object.assign(e.style,r({left:null!==a?"".concat(a,"px"):"",top:null!==c?"".concat(c,"px"):""},u,"-4px"))}},K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=T(),o=n.elReference,r=n.elContent,i=n.elArrow,l=e||o;if(l&&r){var a=S(i,t);me(l,r,a).then((function(e){var t=e.x,n=e.y,o=e.placement,l=e.middlewareData,a=r.className;r.className="".concat(a.replace(B,"")," ").concat(B).replace(/\s+/gm," ").replace(/^\s+|\s+$/g,""),Object.keys(F).forEach((function(e){r.setAttribute(e,F[e])}));var c=o.split("-")[0],u=c;["left","right","top","bottom"].includes(c)||(u="top"),_(r,t,n,l),q(i,u,l)}))}},X=void 0,Y=!1,Z=function(){setTimeout((function(){!n.disabled&&(f.value=!0)}),100)},G=function(){X=setTimeout((function(){f.value=!1}),100)},J=function(){f.value?G():Z()},Q=function(){J()},ee=function(){"hover"===n.trigger&&(X&&(Y=!0,clearTimeout(X),X=void 0),oe())},ne=function(){Y&&(G(),Y=!1,re())},oe=function(){o.emit(c.CONTENT_MOUSEENTER)},re=function(){o.emit(c.CONTENT_MOUSELEAVE)};return(0,t.watch)(f,(function(t){var r,i;t?((i=H(null===(r=a.value)||void 0===r?void 0:r.$el)).style.setProperty("display","block"),i.style.setProperty("z-index","".concat(n.zIndex?n.zIndex:e.bkZIndexManager.getModalNextIndex())),K(),o.emit("afterShow",{isShow:!0})):function(){var e;H(null===(e=a.value)||void 0===e?void 0:e.$el).style.setProperty("display","none"),o.emit("afterHidden",{isShow:!1})}()})),{showPopover:Z,hidePopover:G,resolveTriggerEvents:function(){var e;return null!==(e={hover:{content:[["mouseenter",ee],["mouseleave",ne]],reference:[["mouseenter",Z],["mouseleave",G],["focus",Z],["blur",G]]},click:[["click",Q]],manual:{content:[["mouseenter",oe],["mouseleave",re]],reference:[[]]}}[n.trigger])&&void 0!==e?e:[]},updatePopover:K,triggerPopover:J,resolvePopElements:T,isElementFullScreen:p,resolveTargetElement:H,createPopInstance:function(){var e=T(),t=e.elReference,o=e.elContent;U=function(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:l=!0,animationFrame:a=!1}=o,c=r&&!a,u=i&&!a,s=c||u?[...z(e)?fe(e):[],...fe(t)]:[];s.forEach((e=>{c&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)}));let f,d=null;l&&(d=new ResizeObserver(n),z(e)&&!a&&d.observe(e),d.observe(t));let p=a?te(e):null;return a&&function t(){const o=te(e);!p||o.x===p.x&&o.y===p.y&&o.width===p.width&&o.height===p.height||n(),p=o,f=requestAnimationFrame(t)}(),l||n(),()=>{var e;s.forEach((e=>{c&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,a&&cancelAnimationFrame(f)}}(t,o,(function(){K(null,n)}))},updateFullscreenTarget:function(e){d.value=e},getFullscreenRoot:function(e){return p()?document.fullscreenElement.shadowRoot?document.fullscreenElement.shadowRoot.querySelector(e):document.fullscreenElement.querySelector(e):document.body},stopHide:function(){X&&(Y=!0,clearTimeout(X),X=void 0)},localIsShow:f,cleanup:U}};var ge=i(8022),ye={},we=function(e){return document.querySelector(e)instanceof HTMLElement},be=null,xe=null;const Te=(0,t.defineComponent)({name:"Popover2",components:{Content:f,Arrow:o,Root:m},directives:{clickoutside:n.clickoutside},props:p,emits:s,setup:function(e,n){var o=e.content,r=e.theme,i=e.disableTeleport,l=(0,t.toRefs)(e).reference,a=(0,t.ref)(),u=(0,t.ref)(),s=(0,t.ref)(),f=(0,t.ref)(),d=(0,t.computed)((function(){return l.value||a.value})),p=function(e,n,o){var r=o.refReference,i=o.refContent,l=o.refArrow,a=o.refRoot,u=null,s=(0,t.ref)(!1),f=(ye.fullscreenReferId||(ye.fullscreenReferId="id_".concat((0,ge.v4)())),ye.fullscreenReferId),d=(0,t.ref)(),p=he(e,n,{refReference:r,refContent:i,refArrow:l,refRoot:a}),v=p.localIsShow,m=p.showPopover,h=p.hidePopover,y=p.updatePopover,w=p.resolveTriggerEvents,b=p.resolvePopElements,x=p.isElementFullScreen,T=p.updateFullscreenTarget,P=p.createPopInstance,R=p.getFullscreenRoot,E=p.stopHide,C=function(){h()},O=function(){P(),e.always?m():A()},A=function(){var e=b(),t=e.elReference,n=e.elContent;if(u=w(),Array.isArray(u))S(t,u);else{var o=u,r=o.content,i=o.reference;S(t,i),S(n,r)}},S=function(e,t){t.forEach((function(t){var n=g(t,2),o=n[0],r=n[1];o&&"function"==typeof r&&e.addEventListener(o,r)}))},N=function(){var e=b(),t=e.elReference,n=e.root;s.value?I.value=null==d?void 0:d.value:I.value=H(n||t)},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",n=function(n){var o=null,r=function(e){null===o&&e()};return r((function(){if(/^parent$/i.test(e.boundary)){o="".concat(t).concat(be);var r=(n||{}).parentNode;(null==r?void 0:r.parentNode)&&(r.parentNode.setAttribute("data-pnode-id",xe),o="[data-pnode-id=".concat(xe,"]"))}})),r((function(){if(!/^body$/i.test(e.boundary)&&"string"==typeof e.boundary){if(!we(e.boundary))return console.error("props.boundary is not available selector"),void(o="body");o=e.boundary}})),r((function(){o="string"==typeof e.boundary?e.boundary:"".concat(t).concat(be)})),o};if(null===be||!we("#".concat(be))){be="id_".concat((0,ge.v4)());var o=document.createElement("div");o.setAttribute("id",be),o.setAttribute("data-popper-id",be),document.body.append(o)}return null===xe&&(xe="id_".concat((0,ge.v4)())),{popContainerId:be,prefixId:n(),getPrefixId:n}}(e,"#"),H=L.getPrefixId,I=(0,t.ref)(),j=function(){!function(){if(null==u?void 0:u.length){var e=b().elReference;e&&u.forEach((function(t){var n=g(t,2),o=n[0],r=n[1];o&&"function"==typeof r&&e.removeEventListener(o,r)})),u=null}}()},M=function(e){var t;d.value=e,T(e),s.value=x(),null===(t=null==d?void 0:d.value)||void 0===t||t.setAttribute("data-fllsrn-id",f)},D=function(t){var n,o,r;document.fullscreenElement||(r="[data-fllsrn-id=".concat(f,"]"),(null!==(o=null===(n=null==d?void 0:d.value)||void 0===n?void 0:n.querySelectorAll(r))&&void 0!==o?o:[]).forEach((function(e){null==e||e.removeAttribute("data-fllsrn-id")}))),M(t.target),N(),y(null,e)};return{onMountedFn:function(){if(!e.disabled){if(O(),x()){var t="[data-fllsrn-id=".concat(f,"]"),n=R(t);M(n)}N(),document.body.addEventListener("fullscreenchange",D)}},onUnmountedFn:function(){j(),document.body.removeEventListener("fullscreenchange",D)},handleClickOutside:function(t){n.emit(c.CLICK_OUTSIDE,{isShow:v.value,event:t}),e.disableOutsideClick||e.always||e.disabled||"manual"===e.trigger||v.value&&C()},beforeInstanceUnmount:j,updateBoundary:N,initPopInstance:O,updatePopover:y,showPopover:m,hidePopover:h,showFn:function(){m()},hideFn:C,stopHide:E,isFullscreen:s,boundary:I}}(e,n,{refReference:d,refContent:u,refArrow:s,refRoot:f}),v=p.onMountedFn,m=p.onUnmountedFn,h=p.handleClickOutside,y=p.beforeInstanceUnmount,w=p.updateBoundary,b=p.initPopInstance,x=p.showFn,T=p.hideFn,P=p.showPopover,R=p.hidePopover,E=p.updatePopover,C=p.stopHide,O=p.boundary;e.always||e.disabled||(0,t.watch)((function(){return e.isShow}),(function(){e.isShow?P():R()}),{immediate:!0}),(0,t.watch)((function(){return[e.disabled]}),(function(e){e[0]?y():b()})),w(),(0,t.onMounted)(v),(0,t.onBeforeUnmount)(m);var A=(0,t.computed)((function(){return!i}));return{boundary:O,arrow:e.arrow,refDefaultReference:a,refContent:u,refArrow:s,content:o,theme:r,transBoundary:A,handleClickOutside:h,updatePopover:E,hide:function(){T()},show:function(){x()},stopHide:C}},render:function(){var e,n,r,i,l,a,c=this;return(0,t.createVNode)(m,{ref:"refRoot"},{default:function(){return[(0,t.createVNode)(v,{ref:"refDefaultReference"},{default:function(){return[null!==(r=null===(n=(e=c.$slots).default)||void 0===n?void 0:n.call(e))&&void 0!==r?r:(0,t.createVNode)("span",null,null)]}}),(0,t.createVNode)(t.Teleport,{to:c.boundary,disabled:!c.transBoundary},{default:function(){return[(0,t.withDirectives)((0,t.createVNode)(f,{ref:"refContent","data-theme":c.theme,width:c.width,height:c.height},{default:function(){return[null!==(a=null===(l=(i=c.$slots).content)||void 0===l?void 0:l.call(i))&&void 0!==a?a:c.content]},arrow:function(){var e,n;return c.arrow?(0,t.createVNode)(o,{ref:"refArrow"},{default:function(){return[null===(n=(e=c.$slots).arrow)||void 0===n?void 0:n.call(e)]}}):""}}),[[(0,t.resolveDirective)("clickoutside"),c.handleClickOutside]])]}})]}})}});function Pe(e){var n,o=null,i=null,l=null,a=Object.assign(Object.assign({boundary:"body",placement:"top",autoVisibility:!1},e),{trigger:"manual"}),c=function(e){return e instanceof Element||e instanceof HTMLDocument},u={name:"$popover",setup:function(e,n){var o=n.expose,i=(0,t.ref)(a),l=(0,t.ref)(),u=(0,t.ref)({position:"absolute",pointerEvents:"none",left:0,top:0,width:"auto",height:"auto",transform:""}),s=function(e){if(c(e)){var t=e.getBoundingClientRect(),n=t.x,o=t.y,r=t.width,i=t.height;Object.assign(u.value,{width:"".concat(r,"px"),height:"".concat(i,"px"),transform:"translate3d(".concat(n,"px,").concat(o,"px,0)")})}else{var l=e.clientX,a=e.clientY;Object.assign(u.value,{transform:"translate3d(".concat(l,"px,").concat(a,"px,0)"),width:"10px",height:"10px"})}};s(i.value.target);var f=(0,t.computed)((function(){var e=["target"];return Object.keys(i.value).filter((function(t){return!e.includes(t)})).reduce((function(e,t){return Object.assign(Object.assign({},e),r({},t,i.value[t]))}),{})})),d=function(){var e;null===(e=a.onContentMouseenter)||void 0===e||e.call(a)},p=function(){var e;null===(e=a.onContentMouseleave)||void 0===e||e.call(a)};return o({show:function(){setTimeout((function(){var e,t;null===(t=null===(e=l.value)||void 0===e?void 0:e.show)||void 0===t||t.call(e)}))},hide:function(){var e,t;null===(t=null===(e=l.value)||void 0===e?void 0:e.hide)||void 0===t||t.call(e)},updateTarget:function(e){var n,o;i.value.target=e,s(e),null===(o=null===(n=l.value)||void 0===n?void 0:n.updatePopover)||void 0===o||o.call(n),(0,t.nextTick)((function(){var e,t;null===(t=null===(e=l.value)||void 0===e?void 0:e.updatePopover)||void 0===t||t.call(e)}))},stopHide:function(){var e,t;null===(t=null===(e=l.value)||void 0===e?void 0:e.stopHide)||void 0===t||t.call(e)}}),function(){return(0,t.createVNode)(Te,(0,t.mergeProps)(f.value,{ref:l,onContentMouseenter:d,onContentMouseleave:p}),{default:function(){return[(0,t.createVNode)("span",{style:u.value},null)]}})}}};return null===o&&(l=document.createElement("div"),(n=a.boundary,/^body$/i.test(n)?document.body:/^parent$/i.test(n)?c(a.target)?a.target.parentNode:a.target.target.parentNode:"string"==typeof n&&we(n)?document.querySelector(n):document.body).append(l),setTimeout((function(){o=(0,t.createApp)(u),i=o.mount(l)}))),{close:function(){o&&(o.unmount(),i=null,o=null,l.remove())},show:function(){null==i||i.show()},hide:function(){null==i||i.hide()},update:function(e){null==i||i.updateTarget(e)},get vm(){return i},get $el(){return i.$el}}}const Re=(0,e.withInstall)(Te)})(),l})()));