bkui-vue 0.0.1-beta.128 → 0.0.1-beta.129

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 (139) hide show
  1. package/dist/index.cjs.js +145 -31
  2. package/dist/index.esm.js +3573 -471
  3. package/dist/index.umd.js +145 -31
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/affix.variable.css +2 -2
  7. package/lib/affix/index.d.ts +118 -22
  8. package/lib/alert/alert.variable.css +2 -2
  9. package/lib/alert/index.d.ts +146 -28
  10. package/lib/animate-number/index.d.ts +84 -14
  11. package/lib/backtop/backtop.variable.css +2 -2
  12. package/lib/backtop/index.d.ts +135 -29
  13. package/lib/badge/badge.variable.css +2 -2
  14. package/lib/badge/index.d.ts +211 -46
  15. package/lib/breadcrumb/breadcrumb.css +43 -0
  16. package/lib/breadcrumb/breadcrumb.variable.css +45 -2
  17. package/lib/button/button.css +4 -0
  18. package/lib/button/button.less +13 -7
  19. package/lib/button/button.variable.css +6 -2
  20. package/lib/card/card.css +43 -0
  21. package/lib/card/card.variable.css +45 -2
  22. package/lib/card/index.d.ts +223 -50
  23. package/lib/cascader/cascader.variable.css +2 -2
  24. package/lib/checkbox/checkbox.css +4 -2
  25. package/lib/checkbox/checkbox.less +4 -2
  26. package/lib/checkbox/checkbox.variable.css +6 -4
  27. package/lib/code-diff/code-diff.variable.css +2 -2
  28. package/lib/code-diff/index.d.ts +123 -23
  29. package/lib/collapse/collapse.variable.css +2 -2
  30. package/lib/collapse/index.d.ts +147 -28
  31. package/lib/components.d.ts +1 -0
  32. package/lib/components.js +1 -1
  33. package/lib/container/container.css +43 -0
  34. package/lib/container/container.variable.css +45 -2
  35. package/lib/date-picker/date-picker.variable.css +2 -2
  36. package/lib/date-picker/index.d.ts +566 -124
  37. package/lib/dialog/index.d.ts +557 -140
  38. package/lib/divider/divider.variable.css +2 -2
  39. package/lib/divider/index.d.ts +117 -23
  40. package/lib/dropdown/dropdown.variable.css +2 -2
  41. package/lib/exception/exception.variable.css +2 -2
  42. package/lib/exception/index.d.ts +83 -13
  43. package/lib/fixed-navbar/fixed-navbar.variable.css +2 -2
  44. package/lib/fixed-navbar/index.d.ts +121 -22
  45. package/lib/form/form.variable.css +2 -2
  46. package/lib/input/index.d.ts +408 -92
  47. package/lib/input/index.js +1 -1
  48. package/lib/input/input.css +56 -5
  49. package/lib/input/input.less +12 -2
  50. package/lib/input/input.variable.css +55 -4
  51. package/lib/link/index.d.ts +134 -28
  52. package/lib/link/link.variable.css +2 -2
  53. package/lib/loading/loading.css +43 -2
  54. package/lib/loading/loading.less +2 -2
  55. package/lib/loading/loading.variable.css +45 -4
  56. package/lib/menu/menu.css +43 -0
  57. package/lib/menu/menu.variable.css +45 -2
  58. package/lib/menu/submenu.variable.css +2 -2
  59. package/lib/message/message.variable.css +2 -2
  60. package/lib/navigation/index.d.ts +244 -51
  61. package/lib/navigation/navigation.variable.css +2 -2
  62. package/lib/notify/notify.variable.css +2 -2
  63. package/lib/pagination/index.d.ts +305 -68
  64. package/lib/pagination/pagination.variable.css +2 -2
  65. package/lib/popover/index.d.ts +298 -76
  66. package/lib/popover/popover.variable.css +2 -2
  67. package/lib/popover2/index.d.ts +378 -92
  68. package/lib/popover2/index.js +1 -1
  69. package/lib/popover2/popover2.variable.css +2 -2
  70. package/lib/popover2/use-platform.d.ts +30 -0
  71. package/lib/process/index.d.ts +166 -35
  72. package/lib/process/process.variable.css +2 -2
  73. package/lib/progress/index.d.ts +306 -76
  74. package/lib/progress/progress.css +43 -0
  75. package/lib/progress/progress.variable.css +45 -2
  76. package/lib/radio/index.d.ts +2 -2
  77. package/lib/radio/index.js +1 -1
  78. package/lib/radio/radio-button.d.ts +3 -4
  79. package/lib/radio/radio.css +4 -5
  80. package/lib/radio/radio.less +4 -5
  81. package/lib/radio/radio.variable.css +6 -7
  82. package/lib/rate/index.d.ts +96 -15
  83. package/lib/resize-layout/index.d.ts +261 -52
  84. package/lib/resize-layout/resize-layout.variable.css +2 -2
  85. package/lib/select/select.css +26 -24
  86. package/lib/select/select.less +132 -122
  87. package/lib/select/select.variable.css +28 -26
  88. package/lib/shared/index.d.ts +3 -3
  89. package/lib/sideslider/index.d.ts +369 -91
  90. package/lib/sideslider/sideslider.variable.css +2 -2
  91. package/lib/slider/index.d.ts +319 -78
  92. package/lib/slider/slider.variable.css +2 -2
  93. package/lib/steps/index.d.ts +198 -43
  94. package/lib/steps/steps.variable.css +2 -2
  95. package/lib/styles/mixins/mixins.css +43 -0
  96. package/lib/styles/mixins/mixins.less +1 -0
  97. package/lib/styles/mixins/mixins.variable.css +43 -0
  98. package/lib/styles/mixins/scroll.variable.css +2 -2
  99. package/lib/styles/themes/themes.less +2 -2
  100. package/lib/swiper/index.d.ts +146 -30
  101. package/lib/switcher/index.d.ts +223 -50
  102. package/lib/switcher/switcher.css +43 -0
  103. package/lib/switcher/switcher.variable.css +45 -2
  104. package/lib/tab/tab.variable.css +2 -2
  105. package/lib/table/const.d.ts +5 -0
  106. package/lib/table/index.d.ts +419 -101
  107. package/lib/table/index.js +1 -1
  108. package/lib/table/plugins/head-filter.variable.css +2 -2
  109. package/lib/table/plugins/head-sort.variable.css +2 -2
  110. package/lib/table/plugins/settings.css +23 -4
  111. package/lib/table/plugins/settings.less +25 -4
  112. package/lib/table/plugins/settings.variable.css +25 -6
  113. package/lib/table/props.d.ts +1 -0
  114. package/lib/table/table.css +668 -5
  115. package/lib/table/table.less +7 -1
  116. package/lib/table/table.variable.css +670 -7
  117. package/lib/table/use-common.d.ts +16 -1
  118. package/lib/table/utils.d.ts +1 -1
  119. package/lib/tag/index.d.ts +183 -38
  120. package/lib/tag/tag.variable.css +2 -2
  121. package/lib/tag-input/index.d.ts +666 -145
  122. package/lib/tag-input/tag-input.variable.css +2 -2
  123. package/lib/timeline/index.d.ts +109 -19
  124. package/lib/timeline/timeline.variable.css +2 -2
  125. package/lib/transfer/index.d.ts +264 -59
  126. package/lib/transfer/transfer.variable.css +2 -2
  127. package/lib/tree/index.d.ts +401 -103
  128. package/lib/tree/index.js +1 -1
  129. package/lib/tree/tree.css +107 -0
  130. package/lib/tree/tree.less +2 -0
  131. package/lib/tree/tree.variable.css +109 -2
  132. package/lib/tree/use-node-action.d.ts +1 -1
  133. package/lib/tree/use-node-attribute.d.ts +1 -0
  134. package/lib/upload/upload.css +43 -0
  135. package/lib/upload/upload.variable.css +45 -2
  136. package/lib/virtual-render/index.d.ts +433 -109
  137. package/lib/virtual-render/virtual-render.variable.css +2 -2
  138. package/package.json +1 -1
  139. package/lib/table/plugins/head-filter.css +0 -68
@@ -1,4 +1,375 @@
1
- declare const BkPopover2: import("vue").DefineComponent<{
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
+ trigger: string;
11
+ disabled: boolean;
12
+ arrow: boolean;
13
+ theme: string;
14
+ width: string | number;
15
+ height: string | number;
16
+ always: boolean;
17
+ padding: number;
18
+ isShow: boolean;
19
+ boundary: string;
20
+ disableTeleport: boolean;
21
+ autoPlacement: boolean;
22
+ autoVisibility: boolean;
23
+ disableOutsideClick: boolean;
24
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
25
+ onAfterHidden: FunctionConstructor;
26
+ onAfterShow: FunctionConstructor;
27
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
28
+ default: boolean;
29
+ } & {
30
+ default: boolean;
31
+ };
32
+ always: import("vue-types").VueTypeValidableDef<boolean> & {
33
+ default: boolean;
34
+ } & {
35
+ default: boolean;
36
+ };
37
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
38
+ default: boolean;
39
+ } & {
40
+ default: boolean;
41
+ };
42
+ width: import("vue-types").VueTypeDef<string | number> & {
43
+ default: string | number;
44
+ };
45
+ height: import("vue-types").VueTypeDef<string | number> & {
46
+ default: string | number;
47
+ };
48
+ content: import("vue-types").VueTypeDef<string | number> & {
49
+ default: string | number;
50
+ };
51
+ placement: import("vue-types").VueTypeDef<string> & {
52
+ default: string;
53
+ };
54
+ theme: import("vue-types").VueTypeValidableDef<string> & {
55
+ default: string;
56
+ } & {
57
+ default: string;
58
+ };
59
+ trigger: import("vue-types").VueTypeValidableDef<string> & {
60
+ default: string;
61
+ } & {
62
+ default: string;
63
+ };
64
+ arrow: import("vue-types").VueTypeValidableDef<boolean> & {
65
+ default: boolean;
66
+ } & {
67
+ default: boolean;
68
+ };
69
+ padding: import("vue-types").VueTypeValidableDef<number> & {
70
+ default: number;
71
+ } & {
72
+ default: number;
73
+ };
74
+ offset: import("vue-types").VueTypeValidableDef<number> & {
75
+ default: number;
76
+ } & {
77
+ default: number;
78
+ };
79
+ boundary: import("vue-types").VueTypeValidableDef<string> & {
80
+ default: string;
81
+ } & {
82
+ default: string;
83
+ };
84
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
85
+ default: number;
86
+ } & {
87
+ default: number;
88
+ };
89
+ disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
90
+ default: boolean;
91
+ } & {
92
+ default: boolean;
93
+ };
94
+ autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
95
+ default: boolean;
96
+ } & {
97
+ default: boolean;
98
+ };
99
+ autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
100
+ default: boolean;
101
+ } & {
102
+ default: boolean;
103
+ };
104
+ disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
105
+ default: boolean;
106
+ } & {
107
+ default: boolean;
108
+ };
109
+ }>> & {
110
+ onShow?: (...args: any[]) => any;
111
+ onHide?: (...args: any[]) => any;
112
+ onClickoutside?: (...args: any[]) => any;
113
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "offset" | "zIndex" | "content" | "trigger" | "disabled" | "arrow" | "theme" | "width" | "height" | "always" | "padding" | "isShow" | "boundary" | "disableTeleport" | "autoPlacement" | "autoVisibility" | "disableOutsideClick">;
114
+ $attrs: {
115
+ [x: string]: unknown;
116
+ };
117
+ $refs: {
118
+ [x: string]: unknown;
119
+ };
120
+ $slots: Readonly<{
121
+ [name: string]: import("vue").Slot;
122
+ }>;
123
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
124
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
125
+ $emit: ((event: import("./const").EMITEVENTS.SHOW, ...args: any[]) => void) & ((event: import("./const").EMITEVENTS.HIDE, ...args: any[]) => void) & ((event: import("./const").EMITEVENTS.CLICK_OUTSIDE, ...args: any[]) => void);
126
+ $el: any;
127
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
128
+ onAfterHidden: FunctionConstructor;
129
+ onAfterShow: FunctionConstructor;
130
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
131
+ default: boolean;
132
+ } & {
133
+ default: boolean;
134
+ };
135
+ always: import("vue-types").VueTypeValidableDef<boolean> & {
136
+ default: boolean;
137
+ } & {
138
+ default: boolean;
139
+ };
140
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
141
+ default: boolean;
142
+ } & {
143
+ default: boolean;
144
+ };
145
+ width: import("vue-types").VueTypeDef<string | number> & {
146
+ default: string | number;
147
+ };
148
+ height: import("vue-types").VueTypeDef<string | number> & {
149
+ default: string | number;
150
+ };
151
+ content: import("vue-types").VueTypeDef<string | number> & {
152
+ default: string | number;
153
+ };
154
+ placement: import("vue-types").VueTypeDef<string> & {
155
+ default: string;
156
+ };
157
+ theme: import("vue-types").VueTypeValidableDef<string> & {
158
+ default: string;
159
+ } & {
160
+ default: string;
161
+ };
162
+ trigger: import("vue-types").VueTypeValidableDef<string> & {
163
+ default: string;
164
+ } & {
165
+ default: string;
166
+ };
167
+ arrow: import("vue-types").VueTypeValidableDef<boolean> & {
168
+ default: boolean;
169
+ } & {
170
+ default: boolean;
171
+ };
172
+ padding: import("vue-types").VueTypeValidableDef<number> & {
173
+ default: number;
174
+ } & {
175
+ default: number;
176
+ };
177
+ offset: import("vue-types").VueTypeValidableDef<number> & {
178
+ default: number;
179
+ } & {
180
+ default: number;
181
+ };
182
+ boundary: import("vue-types").VueTypeValidableDef<string> & {
183
+ default: string;
184
+ } & {
185
+ default: string;
186
+ };
187
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
188
+ default: number;
189
+ } & {
190
+ default: number;
191
+ };
192
+ disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
193
+ default: boolean;
194
+ } & {
195
+ default: boolean;
196
+ };
197
+ autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
198
+ default: boolean;
199
+ } & {
200
+ default: boolean;
201
+ };
202
+ autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
203
+ default: boolean;
204
+ } & {
205
+ default: boolean;
206
+ };
207
+ disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
208
+ default: boolean;
209
+ } & {
210
+ default: boolean;
211
+ };
212
+ }>> & {
213
+ onShow?: (...args: any[]) => any;
214
+ onHide?: (...args: any[]) => any;
215
+ onClickoutside?: (...args: any[]) => any;
216
+ }, {
217
+ boundary: import("vue").Ref<any>;
218
+ arrow: boolean;
219
+ refReference: import("vue").Ref<any>;
220
+ refContent: import("vue").Ref<any>;
221
+ refArrow: import("vue").Ref<any>;
222
+ content: string | number;
223
+ theme: string;
224
+ transBoundary: import("vue").ComputedRef<boolean>;
225
+ handleClickOutside: (_e: MouseEvent) => void;
226
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
227
+ show: (..._args: any[]) => boolean;
228
+ hide: (..._args: any[]) => boolean;
229
+ clickoutside: (..._args: any[]) => boolean;
230
+ }, string, {
231
+ placement: string;
232
+ offset: number;
233
+ zIndex: number;
234
+ content: string | number;
235
+ trigger: string;
236
+ disabled: boolean;
237
+ arrow: boolean;
238
+ theme: string;
239
+ width: string | number;
240
+ height: string | number;
241
+ always: boolean;
242
+ padding: number;
243
+ isShow: boolean;
244
+ boundary: string;
245
+ disableTeleport: boolean;
246
+ autoPlacement: boolean;
247
+ autoVisibility: boolean;
248
+ disableOutsideClick: boolean;
249
+ }> & {
250
+ beforeCreate?: (() => void) | (() => void)[];
251
+ created?: (() => void) | (() => void)[];
252
+ beforeMount?: (() => void) | (() => void)[];
253
+ mounted?: (() => void) | (() => void)[];
254
+ beforeUpdate?: (() => void) | (() => void)[];
255
+ updated?: (() => void) | (() => void)[];
256
+ activated?: (() => void) | (() => void)[];
257
+ deactivated?: (() => void) | (() => void)[];
258
+ beforeDestroy?: (() => void) | (() => void)[];
259
+ beforeUnmount?: (() => void) | (() => void)[];
260
+ destroyed?: (() => void) | (() => void)[];
261
+ unmounted?: (() => void) | (() => void)[];
262
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
263
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
264
+ 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)[];
265
+ };
266
+ $forceUpdate: () => void;
267
+ $nextTick: typeof import("vue").nextTick;
268
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
269
+ } & Readonly<import("vue").ExtractPropTypes<{
270
+ onAfterHidden: FunctionConstructor;
271
+ onAfterShow: FunctionConstructor;
272
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
273
+ default: boolean;
274
+ } & {
275
+ default: boolean;
276
+ };
277
+ always: import("vue-types").VueTypeValidableDef<boolean> & {
278
+ default: boolean;
279
+ } & {
280
+ default: boolean;
281
+ };
282
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
283
+ default: boolean;
284
+ } & {
285
+ default: boolean;
286
+ };
287
+ width: import("vue-types").VueTypeDef<string | number> & {
288
+ default: string | number;
289
+ };
290
+ height: import("vue-types").VueTypeDef<string | number> & {
291
+ default: string | number;
292
+ };
293
+ content: import("vue-types").VueTypeDef<string | number> & {
294
+ default: string | number;
295
+ };
296
+ placement: import("vue-types").VueTypeDef<string> & {
297
+ default: string;
298
+ };
299
+ theme: import("vue-types").VueTypeValidableDef<string> & {
300
+ default: string;
301
+ } & {
302
+ default: string;
303
+ };
304
+ trigger: import("vue-types").VueTypeValidableDef<string> & {
305
+ default: string;
306
+ } & {
307
+ default: string;
308
+ };
309
+ arrow: import("vue-types").VueTypeValidableDef<boolean> & {
310
+ default: boolean;
311
+ } & {
312
+ default: boolean;
313
+ };
314
+ padding: import("vue-types").VueTypeValidableDef<number> & {
315
+ default: number;
316
+ } & {
317
+ default: number;
318
+ };
319
+ offset: import("vue-types").VueTypeValidableDef<number> & {
320
+ default: number;
321
+ } & {
322
+ default: number;
323
+ };
324
+ boundary: import("vue-types").VueTypeValidableDef<string> & {
325
+ default: string;
326
+ } & {
327
+ default: string;
328
+ };
329
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
330
+ default: number;
331
+ } & {
332
+ default: number;
333
+ };
334
+ disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
335
+ default: boolean;
336
+ } & {
337
+ default: boolean;
338
+ };
339
+ autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
340
+ default: boolean;
341
+ } & {
342
+ default: boolean;
343
+ };
344
+ autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
345
+ default: boolean;
346
+ } & {
347
+ default: boolean;
348
+ };
349
+ disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
350
+ default: boolean;
351
+ } & {
352
+ default: boolean;
353
+ };
354
+ }>> & {
355
+ onShow?: (...args: any[]) => any;
356
+ onHide?: (...args: any[]) => any;
357
+ onClickoutside?: (...args: any[]) => any;
358
+ } & import("vue").ShallowUnwrapRef<{
359
+ boundary: import("vue").Ref<any>;
360
+ arrow: boolean;
361
+ refReference: import("vue").Ref<any>;
362
+ refContent: import("vue").Ref<any>;
363
+ refArrow: import("vue").Ref<any>;
364
+ content: string | number;
365
+ theme: string;
366
+ transBoundary: import("vue").ComputedRef<boolean>;
367
+ handleClickOutside: (_e: MouseEvent) => void;
368
+ }> & {} & {} & import("vue").ComponentCustomProperties;
369
+ __isFragment?: never;
370
+ __isTeleport?: never;
371
+ __isSuspense?: never;
372
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
2
373
  onAfterHidden: FunctionConstructor;
3
374
  onAfterShow: FunctionConstructor;
4
375
  isShow: import("vue-types").VueTypeValidableDef<boolean> & {
@@ -83,6 +454,10 @@ declare const BkPopover2: import("vue").DefineComponent<{
83
454
  } & {
84
455
  default: boolean;
85
456
  };
457
+ }>> & {
458
+ onShow?: (...args: any[]) => any;
459
+ onHide?: (...args: any[]) => any;
460
+ onClickoutside?: (...args: any[]) => any;
86
461
  }, {
87
462
  boundary: import("vue").Ref<any>;
88
463
  arrow: boolean;
@@ -97,96 +472,7 @@ declare const BkPopover2: import("vue").DefineComponent<{
97
472
  show: (..._args: any[]) => boolean;
98
473
  hide: (..._args: any[]) => boolean;
99
474
  clickoutside: (..._args: any[]) => boolean;
100
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
101
- onAfterHidden: FunctionConstructor;
102
- onAfterShow: FunctionConstructor;
103
- isShow: import("vue-types").VueTypeValidableDef<boolean> & {
104
- default: boolean;
105
- } & {
106
- default: boolean;
107
- };
108
- always: import("vue-types").VueTypeValidableDef<boolean> & {
109
- default: boolean;
110
- } & {
111
- default: boolean;
112
- };
113
- disabled: import("vue-types").VueTypeValidableDef<boolean> & {
114
- default: boolean;
115
- } & {
116
- default: boolean;
117
- };
118
- width: import("vue-types").VueTypeDef<string | number> & {
119
- default: string | number;
120
- };
121
- height: import("vue-types").VueTypeDef<string | number> & {
122
- default: string | number;
123
- };
124
- content: import("vue-types").VueTypeDef<string | number> & {
125
- default: string | number;
126
- };
127
- placement: import("vue-types").VueTypeDef<string> & {
128
- default: string;
129
- };
130
- theme: import("vue-types").VueTypeValidableDef<string> & {
131
- default: string;
132
- } & {
133
- default: string;
134
- };
135
- trigger: import("vue-types").VueTypeValidableDef<string> & {
136
- default: string;
137
- } & {
138
- default: string;
139
- };
140
- arrow: import("vue-types").VueTypeValidableDef<boolean> & {
141
- default: boolean;
142
- } & {
143
- default: boolean;
144
- };
145
- padding: import("vue-types").VueTypeValidableDef<number> & {
146
- default: number;
147
- } & {
148
- default: number;
149
- };
150
- offset: import("vue-types").VueTypeValidableDef<number> & {
151
- default: number;
152
- } & {
153
- default: number;
154
- };
155
- boundary: import("vue-types").VueTypeValidableDef<string> & {
156
- default: string;
157
- } & {
158
- default: string;
159
- };
160
- zIndex: import("vue-types").VueTypeValidableDef<number> & {
161
- default: number;
162
- } & {
163
- default: number;
164
- };
165
- disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
166
- default: boolean;
167
- } & {
168
- default: boolean;
169
- };
170
- autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
171
- default: boolean;
172
- } & {
173
- default: boolean;
174
- };
175
- autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
176
- default: boolean;
177
- } & {
178
- default: boolean;
179
- };
180
- disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
181
- default: boolean;
182
- } & {
183
- default: boolean;
184
- };
185
- }>> & {
186
- onShow?: (...args: any[]) => any;
187
- onHide?: (...args: any[]) => any;
188
- onClickoutside?: (...args: any[]) => any;
189
- }, {
475
+ }, string, {
190
476
  placement: string;
191
477
  offset: number;
192
478
  zIndex: number;
@@ -205,5 +491,5 @@ declare const BkPopover2: import("vue").DefineComponent<{
205
491
  autoPlacement: boolean;
206
492
  autoVisibility: boolean;
207
493
  disableOutsideClick: boolean;
208
- }>;
494
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
209
495
  export default BkPopover2;
@@ -1 +1 @@
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 s=t&&n||0,u=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;u[s++]=g>>>24&255,u[s++]=g>>>16&255,u[s++]=g>>>8&255,u[s++]=255&g;var y=v/4294967296*1e4&268435455;u[s++]=y>>>8&255,u[s++]=255&y,u[s++]=y>>>24&15|16,u[s++]=y>>>16&255,u[s++]=d>>>8|128,u[s++]=255&d;for(var w=0;w<6;++w)u[s+w]=f[w];return t||l(u)}},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,{default:()=>xe});var e=i(4212);function t(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 n(e,n){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,n)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?t(e,n):void 0}}(e,n)||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.")}()}var o=i(748),r=i(4061);const a=(0,o.defineComponent)({name:"PopArrow",render:function(){var t=(0,e.resolveClassName)("pop2-arrow");return(0,o.createVNode)("div",{class:t},null)}});function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s,u,f=function(){return!0};!function(e){e.SHOW="show",e.HIDE="hide",e.CLICK_OUTSIDE="clickoutside"}(u||(u={}));var d=(c(s={},u.SHOW,f),c(s,u.HIDE,f),c(s,u.CLICK_OUTSIDE,f),s);const p=(0,o.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 t=function(e){return/^\d+\.?\d*$/.test("".concat(e))?"".concat(e,"px"):e};return{style:(0,o.computed)((function(){return{width:t(e.width),height:t(e.height)}}))}},render:function(){var t,n,r,i,l,a,c=[(0,e.resolveClassName)("popover2"),(0,e.resolveClassName)("pop2-content")];return(0,o.createVNode)("div",{class:c,tabindex:"-1",style:this.style},[null!==(r=null===(n=(t=this.$slots).default)||void 0===n?void 0:n.call(t))&&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 v={onAfterHidden:Function,onAfterShow:Function},m=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.string.def(void 0),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)},v);const h=(0,o.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:""}}),g=(0,o.defineComponent)({props:{class:e.PropTypes.string.def("")},render:function(){var e,t;return(0,o.createVNode)(o.Fragment,null,[null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)])}});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),s=o[c]/2-r[c]/2,u="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]-=s*(n&&u?-1:1);break;case"end":f[a]+=s*(n&&u?-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:s="clippingAncestors",rootBoundary:u="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:s,rootBoundary:u,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,A=Math.max;function O(e,t,n){return A(e,C(t,n))}const S={left:"right",right:"left",bottom:"top",top:"bottom"};function L(e){return e.replace(/left|right|bottom|top/g,(e=>S[e]))}function H(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=L(l)),{main:l,cross:L(l)}}const N={start:"end",end:"start"};function k(e){return e.replace(/start|end/g,(e=>N[e]))}const I=["top","right","bottom","left"],V=I.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 j(e){return I.some((t=>e[t]>=0))}const $=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),s=["left","top"].includes(l)?-1:1,u=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*u,y:d*s}:{x:d*s,y:p*u}}(t,e);return{x:n+r.x,y:o+r.y,data:r}}}};const M=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,s={x:n,y:o},u=await E(t,c),f=b(y(r)),d=function(e){return"x"===e?"y":"x"}(f);let p=s[f],v=s[d];if(i){const e="y"===f?"bottom":"right";p=O(p+u["y"===f?"top":"left"],p,p-u[e])}if(l){const e="y"===d?"bottom":"right";v=O(v+u["y"===d?"top":"left"],v,v-u[e])}const m=a.fn({...t,[f]:p,[d]:v});return{...m,data:{x:m.x-n,y:m.y-o}}}}};function W(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function q(e){if(null==e)return window;if(!W(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function F(e){return q(e).getComputedStyle(e)}function z(e){return W(e)?"":e?(e.nodeName||"").toLowerCase():""}function B(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function _(e){return e instanceof q(e).HTMLElement}function U(e){return e instanceof q(e).Element}function K(e){return"undefined"!=typeof ShadowRoot&&(e instanceof q(e).ShadowRoot||e instanceof ShadowRoot)}function X(e){const{overflow:t,overflowX:n,overflowY:o}=F(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function Y(e){return["table","td","th"].includes(z(e))}function Z(e){const t=/firefox/i.test(B()),n=F(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(B())}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,s=1;t&&_(e)&&(c=e.offsetWidth>0&&ee(a.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ee(a.height)/e.offsetHeight||1);const u=U(e)?q(e):window,f=!G()&&n,d=(a.left+(f&&null!=(o=null==(r=u.visualViewport)?void 0:r.offsetLeft)?o:0))/c,p=(a.top+(f&&null!=(i=null==(l=u.visualViewport)?void 0:l.offsetTop)?i:0))/s,v=a.width/c,m=a.height/s;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 q(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function oe(e){return U(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=_(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"!==z(t)||X(r))&&(l=oe(t)),_(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"===z(e)?e:e.assignedSlot||e.parentNode||(K(e)?e.host:null)||ne(e)}function ae(e){return _(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function ce(e){const t=q(e);let n=ae(e);for(;n&&Y(n)&&"static"===getComputedStyle(n).position;)n=ae(n);return n&&("html"===z(n)||"body"===z(n)&&"static"===getComputedStyle(n).position&&!Z(n))?t:n||function(e){let t=le(e);for(K(t)&&(t=t.host);_(t)&&!["html","body"].includes(z(t));){if(Z(t))return t;t=t.parentNode}return null}(e)||t}function se(e){if(_(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=te(e);return{width:t.width,height:t.height}}function ue(e){const t=le(e);return["html","body","#document"].includes(z(t))?e.ownerDocument.body:_(t)&&X(t)?t:ue(t)}function fe(e,t){var n;void 0===t&&(t=[]);const o=ue(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=q(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=q(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)):U(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"===F(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(F(e).position)&&_(e)?ce(e):e;return U(n)?t.filter((e=>U(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"!==z(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=_(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"!==z(n)||X(i))&&(l=oe(n)),_(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:U,getDimensions:se,getOffsetParent:ce,getDocumentElement:ne,getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:ie(t,ce(n),o),floating:{...se(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===F(e).direction},me=function(t,n,r,i,l,a){var s=(0,o.ref)(!1),u=function(){var e,t,n=m(null===(e=r.value)||void 0===e?void 0:e.$el);return null===(t=document.fullscreenElement)||void 0===t?void 0:t.contains(n)},f=["dark","light"],d=(0,o.computed)((function(){var e=t.theme.split(/\s+/);return e.sort((function(e,t){return Number(f.includes(t))-Number(f.includes(e))})),{systemThemes:e,customThemes:e.filter((function(e){return!f.includes(e)}))}})),p=function(){return!u()&&t.autoVisibility},v=function(){var e,n,o,c;return{elReference:m(null===(e=r.value)||void 0===e?void 0:e.$el),elContent:m(null===(n=i.value)||void 0===n?void 0:n.$el),elArrow:t.arrow?m(null===(o=l.value)||void 0===o?void 0:o.$el):null,root:m(null===(c=a.value)||void 0===c?void 0:c.$el)}},m=function e(t){return t instanceof HTMLElement?t:t instanceof Text?e(t.nextElementSibling):null},h=d.value.customThemes.join(" "),g=d.value.customThemes.reduce((function(e,t){return Object.assign(c({},"data-".concat(t,"-theme"),!0),e)}),{}),S="".concat(h),N=null,I=function(e){var t=window.devicePixelRatio||1;return Math.round(e*t)/t||0},W=function(){var e=v(),n=e.elReference,o=e.elContent,r=e.elArrow;if(n){var i=function(e){var n=[$(t.offset),M({padding:t.padding})],o={placement:t.placement,middleware:n};return t.arrow&&n.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 s=P(o),u={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]-u[f]-a.floating[p],y=u[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=s[m],A=R-v[p]-s[h],S=R/2-v[p]/2+E,L=O(C,S,A),H=("start"===d?s[m]:s[h])>0&&S!==L&&a.reference[p]<=a.floating[p];return{[f]:u[f]-(H?S<C?C-S:A-S:0),data:{[f]:L,centerOffset:S-L}}}}))({element:e})),u()||t.autoPlacement?n.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:s,middlewareData:u,placement:f,platform:d,elements:p}=t,{alignment:v=null,allowedPlacements:m=V,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&&k(n)!==n))}(v,h,m),x=await E(t,g),T=null!=(n=null==(o=u.autoPlacement)?void 0:o.index)?n:0,P=b[T];if(null==P)return{};const{main:R,cross:C}=H(P,s,await(null==d.isRTL?void 0:d.isRTL(p.floating)));if(f!==P)return{x:a,y:c,reset:{placement:b[0]}};const A=[x[y(P)],x[R],x[C]],O=[...null!=(r=null==(i=u.autoPlacement)?void 0:i.overflows)?r:[],{placement:P,overflows:A}],S=b[T+1];if(S)return{data:{index:T+1,overflows:O},reset:{placement:S}};const L=O.slice().sort(((e,t)=>e.overflows[0]-t.overflows[0])),N=null==(l=L.find((e=>{let{overflows:t}=e;return t.every((e=>e<=0))})))?void 0:l.placement,I=null!=N?N:L[0].placement;return I!==f?{data:{index:T+1,overflows:O},reset:{placement:I}}:{}}}}()):(n.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:s,y:u}=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!=s&&null!=u)return null!=(e=d.find((e=>s>e.left-p.left&&s<e.right+p.right&&u>e.top-p.top&&u<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=A(...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}}:{}}}}()),n.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:s=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...v}=e,m=y(o),h=f||(m!==l&&p?function(e){const t=L(e);return[k(e),t,k(t)]}(l):[L(l)]),g=[l,...h],w=await E(t,v),b=[];let x=(null==(n=r.flip)?void 0:n.overflows)||[];if(s&&b.push(w[m]),u){const{main:e,cross:t}=H(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{}}}}())),p()&&o.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:j(t)}}}case"escaped":{const t=D(await E(e,{...n,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:j(t)}}}default:return{}}}}}()),o}(r);((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:s,y:u}=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:s,y:u,initialPlacement:o,placement:f,strategy:r,middlewareData:d,rects:c,platform:l,elements:{reference:e,floating:t}});s=null!=m?m:s,u=null!=h?h:u,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:s,y:u}=T(c,f,a))),n=-1)}return{x:s,y:u,placement:f,strategy:r,middlewareData:d}})(e,t,{platform:ve,...n}))(n,o,i).then((function(e){var n=e.x,i=e.y,l=e.placement,a=e.middlewareData,s=o.className;o.className="".concat(s.replace(S,"")," ").concat(S).replace(/\s+/gm," ").replace(/^\s+|\s+$/g,""),Object.keys(g).forEach((function(e){o.setAttribute(e,g[e])}));var u=l.split("-")[0],f=u;["left","right","top","bottom"].includes(u)||(f="top"),function(e,t,n,o){var r;Object.assign(e.style,{left:"0",top:"0",transform:"translate3d(".concat(I(t),"px,").concat(I(n),"px,0)")});var i=!!p()&&(null===(r=o.hide)||void 0===r?void 0:r.referenceHidden);Object.assign(e.style,{visibility:i?"hidden":"visible"})}(o,n,i,a),function(e,n,o){if(t.arrow){var r=o.arrow,i=r.x,l=r.y;e.setAttribute("data-arrow",n),Object.assign(e.style,{left:"",top:"",bottom:"",right:""});var a={top:"bottom",right:"left",bottom:"top",left:"right"}[n];Object.assign(e.style,c({left:null!==i?"".concat(i,"px"):"",top:null!==l?"".concat(l,"px"):""},a,"-4px"))}}(r,f,a)}))}},q=function(){s.value=!0},F=function(){s.value=!1},z=function(){s.value?F():q()},B=function(){z()};return(0,o.watch)(s,(function(o){var r,l;o?((l=m(null===(r=i.value)||void 0===r?void 0:r.$el)).style.setProperty("display","block"),l.style.setProperty("z-index","".concat(t.zIndex?t.zIndex:e.bkZIndexManager.getModalNextIndex())),W(),n.emit("afterShow",{isSHow:!0})):function(){var e;m(null===(e=i.value)||void 0===e?void 0:e.$el).style.setProperty("display","none"),n.emit("afterHidden",{isSHow:!1})}()})),{showPopover:q,hidePopover:F,resolveTriggerEvents:function(){var e;return null!==(e={hover:[["mouseenter",q],["mouseleave",F],["focus",q],["blur",F]],click:[["click",B]],manual:[[]]}[t.trigger])&&void 0!==e?e:[]},updatePopover:W,triggerPopover:z,resolvePopElements:v,isElementFullScreen:u,resolveTargetElement:m,createPopInstance:function(){var e=v(),t=e.elReference,n=e.elContent;N=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,s=i&&!a,u=c||s?[...U(e)?fe(e):[],...fe(t)]:[];u.forEach((e=>{c&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)}));let f,d=null;l&&(d=new ResizeObserver(n),U(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;u.forEach((e=>{c&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,a&&cancelAnimationFrame(f)}}(t,n,(function(){W()}))},localIsShow:s,cleanup:N}};var he=i(8022),ge=null,ye=null,we=null;const be=(0,o.defineComponent)({name:"Popover2",components:{Content:p,Arrow:a,Root:g},directives:{clickoutside:r.clickoutside},props:m,emits:d,setup:function(e,t){var r=e.content,i=e.theme,l=e.disableTeleport,a=(0,o.ref)(),c=(0,o.ref)(),s=(0,o.ref)(),f=(0,o.ref)(),d=(0,o.ref)(!1),p=null,v=me(e,t,a,c,s,f),m=v.localIsShow,h=v.showPopover,g=v.hidePopover,y=v.resolveTriggerEvents,w=v.updatePopover,b=v.resolvePopElements,x=v.isElementFullScreen,T=v.cleanup,P=v.createPopInstance,R=function(){g()},E=function(){P(),e.always?h():C()};e.always||e.disabled||(0,o.watch)((function(){return e.isShow}),(function(){e.isShow?h():g()}),{immediate:!0}),(0,o.watch)((function(){return[e.disabled]}),(function(e){e[0]?E():N()}));var C=function(){var e=b().elReference;(p=y()).forEach((function(t){var o=n(t,2),r=o[0],i=o[1];e.addEventListener(r,i)}))},A=function(){var e=b(),t=e.elReference,n=e.root;H.value=S(d.value,n||t)},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",n=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0,i=null,l=function(e){null===i&&e()},a=function(){n&&(i="[data-fllsrn-id=".concat(ye,"]"))},c=function(){/^body$/i.test(e.boundary)||"string"!=typeof e.boundary||(o(e.boundary)||console.error("props.boundary is not available selector"),i=e.boundary)};return l((function(){if(/^parent$/i.test(e.boundary)){i="".concat(t).concat(ge);var n=(r||{}).parentNode;(null==n?void 0:n.parentNode)&&(n.parentNode.setAttribute("data-pnode-id",we),i="[data-pnode-id=".concat(we,"]"))}})),l(c),l(a),l((function(){i="string"==typeof e.boundary?e.boundary:"".concat(t).concat(ge)})),i},o=function(e){return document.querySelector(e)instanceof HTMLElement};if(null===ge||!o("#".concat(ge))){ge="id_".concat((0,he.v4)());var r=document.createElement("div");r.setAttribute("id",ge),r.setAttribute("data-popper-id",ge),document.body.append(r)}null===ye&&(ye="id_".concat((0,he.v4)())),null===we&&(we="id_".concat((0,he.v4)()));var i=function(){var e;if(null===document.fullscreenElement){var t="[data-fllsrn-id=".concat(ye,"]");(null!==(e=document.querySelectorAll(t))&&void 0!==e?e:[]).forEach((function(e){e.removeAttribute("data-fllsrn-id")}))}else document.fullscreenElement.setAttribute("data-fllsrn-id",ye)};return{popContainerId:ge,prefixId:n(),getPrefixId:n,resetFullscreenElementTag:i}}(e,"#"),S=O.getPrefixId,L=O.resetFullscreenElementTag,H=(0,o.ref)();A();var N=function(){"function"==typeof T&&T(),function(){if(null==p?void 0:p.length){var e=b().elReference;e&&p.forEach((function(t){var o=n(t,2),r=o[0],i=o[1];e.removeEventListener(r,i)})),p=null}}()},k=function(){d.value=x(),L(),A(),w()};(0,o.onMounted)((function(){e.disabled||(E(),A(),document.body.addEventListener("fullscreenchange",k))})),(0,o.onUnmounted)((function(){N(),document.body.removeEventListener("fullscreenchange",k)})),t.expose({show:function(){h()},hide:R});var I=(0,o.computed)((function(){return(d.value||!l)&&"string"==typeof H.value}));return{boundary:H,arrow:e.arrow,refReference:a,refContent:c,refArrow:s,content:r,theme:i,transBoundary:I,handleClickOutside:function(n){t.emit(u.CLICK_OUTSIDE,{isShow:m.value,event:n}),e.disableOutsideClick||e.always||e.disabled||"manual"===e.trigger||m.value&&R()}}},render:function(){var e,t,n,r,i,l,c=this;return(0,o.createVNode)(g,{ref:"refRoot"},{default:function(){return[(0,o.createVNode)(h,{ref:"refReference"},{default:function(){return[null!==(n=null===(t=(e=c.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==n?n:(0,o.createVNode)("span",null,null)]}}),(0,o.createVNode)(o.Teleport,{to:c.boundary,disabled:!c.transBoundary},{default:function(){return[(0,o.withDirectives)((0,o.createVNode)(p,{ref:"refContent","data-theme":c.theme,width:c.width,height:c.height},{default:function(){return[null!==(l=null===(i=(r=c.$slots).content)||void 0===i?void 0:i.call(r))&&void 0!==l?l:c.content]},arrow:function(){var e,t;return c.arrow?(0,o.createVNode)(a,{ref:"refArrow"},{default:function(){return[null===(t=(e=c.$slots).arrow)||void 0===t?void 0:t.call(e)]}}):""}}),[[(0,o.resolveDirective)("clickoutside"),c.handleClickOutside]])]}})]}})}}),xe=(0,e.withInstall)(be)})(),l})()));
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 s=t&&n||0,u=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 m=void 0!==e.msecs?e.msecs:(new Date).getTime(),v=void 0!==e.nsecs?e.nsecs:c+1,h=m-a+(v-c)/1e4;if(h<0&&void 0===e.clockseq&&(d=d+1&16383),(h<0||m>a)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=m,c=v,r=d;var g=(1e4*(268435455&(m+=122192928e5))+v)%4294967296;u[s++]=g>>>24&255,u[s++]=g>>>16&255,u[s++]=g>>>8&255,u[s++]=255&g;var y=m/4294967296*1e4&268435455;u[s++]=y>>>8&255,u[s++]=255&y,u[s++]=y>>>24&15|16,u[s++]=y>>>16&255,u[s++]=d>>>8|128,u[s++]=255&d;for(var w=0;w<6;++w)u[s+w]=f[w];return t||l(u)}},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,{default:()=>xe});var e=i(4212);function t(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 n(e,n){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,n)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?t(e,n):void 0}}(e,n)||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.")}()}var o=i(748),r=i(4061);const a=(0,o.defineComponent)({name:"PopArrow",render:function(){var t=(0,e.resolveClassName)("pop2-arrow");return(0,o.createVNode)("div",{class:t},null)}});function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s,u,f=function(){return!0};!function(e){e.SHOW="show",e.HIDE="hide",e.CLICK_OUTSIDE="clickoutside"}(u||(u={}));var d=(c(s={},u.SHOW,f),c(s,u.HIDE,f),c(s,u.CLICK_OUTSIDE,f),s);const p=(0,o.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 t=function(e){return/^\d+\.?\d*$/.test("".concat(e))?"".concat(e,"px"):e};return{style:(0,o.computed)((function(){return{width:t(e.width),height:t(e.height)}}))}},render:function(){var t,n,r,i,l,a,c=[(0,e.resolveClassName)("popover2"),(0,e.resolveClassName)("pop2-content")];return(0,o.createVNode)("div",{class:c,tabindex:"-1",style:this.style},[null!==(r=null===(n=(t=this.$slots).default)||void 0===n?void 0:n.call(t))&&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 m={onAfterHidden:Function,onAfterShow:Function},v=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.string.def(void 0),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)},m);const h=(0,o.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:""}}),g=(0,o.defineComponent)({props:{class:e.PropTypes.string.def("")},render:function(){var e,t;return(0,o.createVNode)(o.Fragment,null,[null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)])}});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),s=o[c]/2-r[c]/2,u="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]-=s*(n&&u?-1:1);break;case"end":f[a]+=s*(n&&u?-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 C(e,t){var n;void 0===t&&(t={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=t,m=P(p),v=a[d?"floating"===f?"reference":"floating":f],h=R(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:s,rootBoundary:u,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+m.top,bottom:g.bottom-h.bottom+m.bottom,left:h.left-g.left+m.left,right:g.right-h.right+m.right}}const E=Math.min,O=Math.max;function A(e,t,n){return O(e,E(t,n))}const S={left:"right",right:"left",bottom:"top",top:"bottom"};function L(e){return e.replace(/left|right|bottom|top/g,(e=>S[e]))}function H(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=L(l)),{main:l,cross:L(l)}}const D={start:"end",end:"start"};function N(e){return e.replace(/start|end/g,(e=>D[e]))}const k=["top","right","bottom","left"],I=k.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);function V(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function j(e){return k.some((t=>e[t]>=0))}const $=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),s=["left","top"].includes(l)?-1:1,u=i&&c?-1:1,f="function"==typeof t?t(e):t;let{mainAxis:d,crossAxis:p,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&"number"==typeof m&&(p="end"===a?-1*m:m),c?{x:p*u,y:d*s}:{x:d*s,y:p*u}}(t,e);return{x:n+r.x,y:o+r.y,data:r}}}};const M=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,s={x:n,y:o},u=await C(t,c),f=b(y(r)),d=function(e){return"x"===e?"y":"x"}(f);let p=s[f],m=s[d];if(i){const e="y"===f?"bottom":"right";p=A(p+u["y"===f?"top":"left"],p,p-u[e])}if(l){const e="y"===d?"bottom":"right";m=A(m+u["y"===d?"top":"left"],m,m-u[e])}const v=a.fn({...t,[f]:p,[d]:m});return{...v,data:{x:v.x-n,y:v.y-o}}}}};function W(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function B(e){if(null==e)return window;if(!W(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function q(e){return B(e).getComputedStyle(e)}function F(e){return W(e)?"":e?(e.nodeName||"").toLowerCase():""}function z(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function _(e){return e instanceof B(e).HTMLElement}function U(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}=q(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function Y(e){return["table","td","th"].includes(F(e))}function Z(e){const t=/firefox/i.test(z()),n=q(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(z())}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,s=1;t&&_(e)&&(c=e.offsetWidth>0&&ee(a.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ee(a.height)/e.offsetHeight||1);const u=U(e)?B(e):window,f=!G()&&n,d=(a.left+(f&&null!=(o=null==(r=u.visualViewport)?void 0:r.offsetLeft)?o:0))/c,p=(a.top+(f&&null!=(i=null==(l=u.visualViewport)?void 0:l.offsetTop)?i:0))/s,m=a.width/c,v=a.height/s;return{width:m,height:v,top:p,right:d+m,bottom:p+v,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 U(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=_(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"!==F(t)||X(r))&&(l=oe(t)),_(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"===F(e)?e:e.assignedSlot||e.parentNode||(K(e)?e.host:null)||ne(e)}function ae(e){return _(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"===F(n)||"body"===F(n)&&"static"===getComputedStyle(n).position&&!Z(n))?t:n||function(e){let t=le(e);for(K(t)&&(t=t.host);_(t)&&!["html","body"].includes(F(t));){if(Z(t))return t;t=t.parentNode}return null}(e)||t}function se(e){if(_(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=te(e);return{width:t.width,height:t.height}}function ue(e){const t=le(e);return["html","body","#document"].includes(F(t))?e.ownerDocument.body:_(t)&&X(t)?t:ue(t)}function fe(e,t){var n;void 0===t&&(t=[]);const o=ue(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)):U(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"===q(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(q(e).position)&&_(e)?ce(e):e;return U(n)?t.filter((e=>U(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"!==F(e))):[]}const me={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=_(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"!==F(n)||X(i))&&(l=oe(n)),_(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:U,getDimensions:se,getOffsetParent:ce,getDocumentElement:ne,getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:ie(t,ce(n),o),floating:{...se(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===q(e).direction},ve=function(t,n,r,i,l,a){var s=(0,o.ref)(!1),u=function(){var e,t,n=h(null===(e=r.value)||void 0===e?void 0:e.$el);return null===(t=document.fullscreenElement)||void 0===t?void 0:t.contains(n)},f=["dark","light"],d=(0,o.computed)((function(){var e=t.theme.split(/\s+/);return e.sort((function(e,t){return Number(f.includes(t))-Number(f.includes(e))})),{systemThemes:e,customThemes:e.filter((function(e){return!f.includes(e)}))}})),p=function(){return!u()&&t.autoVisibility},m=function(){var e,n,o,c;return{elReference:h(null===(e=r.value)||void 0===e?void 0:e.$el),elContent:h(null===(n=i.value)||void 0===n?void 0:n.$el),elArrow:t.arrow?h(null===(o=l.value)||void 0===o?void 0:o.$el):null,root:h(null===(c=a.value)||void 0===c?void 0:c.$el)}},v=function(e){var n=[$(t.offset),M({padding:t.padding})],o={placement:t.placement,middleware:n};if(t.arrow&&n.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 s=P(o),u={x:r,y:i},f=b(l),d=w(l),p=x(f),m=await c.getDimensions(n),v="y"===f?"top":"left",h="y"===f?"bottom":"right",g=a.reference[p]+a.reference[f]-u[f]-a.floating[p],y=u[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 C=g/2-y/2,E=s[v],O=R-m[p]-s[h],S=R/2-m[p]/2+C,L=A(E,S,O),H=("start"===d?s[v]:s[h])>0&&S!==L&&a.reference[p]<=a.floating[p];return{[f]:u[f]-(H?S<E?E-S:O-S:0),data:{[f]:L,centerOffset:S-L}}}}))({element:e})),u()||t.autoPlacement?n.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:s,middlewareData:u,placement:f,platform:d,elements:p}=t,{alignment:m=null,allowedPlacements:v=I,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&&N(n)!==n))}(m,h,v),x=await C(t,g),T=null!=(n=null==(o=u.autoPlacement)?void 0:o.index)?n:0,P=b[T];if(null==P)return{};const{main:R,cross:E}=H(P,s,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[E]],A=[...null!=(r=null==(i=u.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 L=A.slice().sort(((e,t)=>e.overflows[0]-t.overflows[0])),D=null==(l=L.find((e=>{let{overflows:t}=e;return t.every((e=>e<=0))})))?void 0:l.placement,k=null!=D?D:L[0].placement;return k!==f?{data:{index:T+1,overflows:A},reset:{placement:k}}:{}}}}()):(n.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:s,y:u}=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),m=await l.getElementRects({reference:{getBoundingClientRect:function(){var e;if(2===d.length&&d[0].left>d[1].right&&null!=s&&null!=u)return null!=(e=d.find((e=>s>e.left-p.left&&s<e.right+p.right&&u>e.top-p.top&&u<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=E(...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!==m.reference.x||i.reference.y!==m.reference.y||i.reference.width!==m.reference.width||i.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}}()),n.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:s=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...m}=e,v=y(o),h=f||(v!==l&&p?function(e){const t=L(e);return[N(e),t,N(t)]}(l):[L(l)]),g=[l,...h],w=await C(t,m),b=[];let x=(null==(n=r.flip)?void 0:n.overflows)||[];if(s&&b.push(w[v]),u){const{main:e,cross:t}=H(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{}}}}())),p()&&o.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=V(await C(e,{...n,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:j(t)}}}case"escaped":{const t=V(await C(e,{...n,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:j(t)}}}default:return{}}}}}()),u()){var r={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){!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e);var t=document.fullscreenElement.getBoundingClientRect();return{width:t.width,height:t.height,x:0,y:0}}},i=r.getElementRects,l=r.getDimensions,a=r.getClippingRect;Object.assign(o,{platform:{getElementRects:i,getDimensions:l,getClippingRect:a}})}return o},h=function e(t){return t instanceof HTMLElement?t:t instanceof Text?e(t.nextElementSibling):null},g=d.value.customThemes.join(" "),S=d.value.customThemes.reduce((function(e,t){return Object.assign(c({},"data-".concat(t,"-theme"),!0),e)}),{}),D="".concat(g),k=null,W=function(e){var t=window.devicePixelRatio||1;return Math.round(e*t)/t||0},B=function(){var e=m(),n=e.elReference,o=e.elContent,r=e.elArrow;if(n){var i=v(r);((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:s,y:u}=T(c,o,a),f=o,d={};for(let n=0;n<i.length;n++){const{name:p,fn:m}=i[n],{x:v,y:h,data:g,reset:y}=await m({x:s,y:u,initialPlacement:o,placement:f,strategy:r,middlewareData:d,rects:c,platform:l,elements:{reference:e,floating:t}});s=null!=v?v:s,u=null!=h?h:u,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:s,y:u}=T(c,f,a))),n=-1)}return{x:s,y:u,placement:f,strategy:r,middlewareData:d}})(e,t,{platform:me,...n}))(n,o,i).then((function(e){var n=e.x,i=e.y,l=e.placement,a=e.middlewareData,s=o.className;o.className="".concat(s.replace(D,"")," ").concat(D).replace(/\s+/gm," ").replace(/^\s+|\s+$/g,""),Object.keys(S).forEach((function(e){o.setAttribute(e,S[e])}));var u=l.split("-")[0],f=u;["left","right","top","bottom"].includes(u)||(f="top"),function(e,t,n,o){var r;Object.assign(e.style,{left:"0",top:"0",transform:"translate3d(".concat(W(t),"px,").concat(W(n),"px,0)")});var i=!!p()&&(null===(r=o.hide)||void 0===r?void 0:r.referenceHidden);Object.assign(e.style,{visibility:i?"hidden":"visible"})}(o,n,i,a),function(e,n,o){if(t.arrow){var r=o.arrow,i=r.x,l=r.y;e.setAttribute("data-arrow",n),Object.assign(e.style,{left:"",top:"",bottom:"",right:""});var a={top:"bottom",right:"left",bottom:"top",left:"right"}[n];Object.assign(e.style,c({left:null!==i?"".concat(i,"px"):"",top:null!==l?"".concat(l,"px"):""},a,"-4px"))}}(r,f,a)}))}},q=function(){s.value=!0},F=function(){s.value=!1},z=function(){s.value?F():q()},_=function(){z()};return(0,o.watch)(s,(function(o){var r,l;o?((l=h(null===(r=i.value)||void 0===r?void 0:r.$el)).style.setProperty("display","block"),l.style.setProperty("z-index","".concat(t.zIndex?t.zIndex:e.bkZIndexManager.getModalNextIndex())),B(),n.emit("afterShow",{isSHow:!0})):function(){var e;h(null===(e=i.value)||void 0===e?void 0:e.$el).style.setProperty("display","none"),n.emit("afterHidden",{isSHow:!1})}()})),{showPopover:q,hidePopover:F,resolveTriggerEvents:function(){var e;return null!==(e={hover:[["mouseenter",q],["mouseleave",F],["focus",q],["blur",F]],click:[["click",_]],manual:[[]]}[t.trigger])&&void 0!==e?e:[]},updatePopover:B,triggerPopover:z,resolvePopElements:m,isElementFullScreen:u,resolveTargetElement:h,createPopInstance:function(){var e=m(),t=e.elReference,n=e.elContent;k=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,s=i&&!a,u=c||s?[...U(e)?fe(e):[],...fe(t)]:[];u.forEach((e=>{c&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)}));let f,d=null;l&&(d=new ResizeObserver(n),U(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;u.forEach((e=>{c&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,a&&cancelAnimationFrame(f)}}(t,n,(function(){B()}))},localIsShow:s,cleanup:k}};var he=i(8022),ge=null,ye=null,we=null;const be=(0,o.defineComponent)({name:"Popover2",components:{Content:p,Arrow:a,Root:g},directives:{clickoutside:r.clickoutside},props:v,emits:d,setup:function(e,t){var r=e.content,i=e.theme,l=e.disableTeleport,a=(0,o.ref)(),c=(0,o.ref)(),s=(0,o.ref)(),f=(0,o.ref)(),d=(0,o.ref)(!1),p=null,m=ve(e,t,a,c,s,f),v=m.localIsShow,h=m.showPopover,g=m.hidePopover,y=m.resolveTriggerEvents,w=m.updatePopover,b=m.resolvePopElements,x=m.isElementFullScreen,T=m.cleanup,P=m.createPopInstance,R=function(){g()},C=function(){P(),e.always?h():E()};e.always||e.disabled||(0,o.watch)((function(){return e.isShow}),(function(){e.isShow?h():g()}),{immediate:!0}),(0,o.watch)((function(){return[e.disabled]}),(function(e){e[0]?C():D()}));var E=function(){var e=b().elReference;(p=y()).forEach((function(t){var o=n(t,2),r=o[0],i=o[1];e.addEventListener(r,i)}))},O=function(){var e=b(),t=e.elReference,n=e.root;H.value=S(d.value,n||t)},A=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",n=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0,i=null,l=function(e){null===i&&e()},a=function(){n&&(i="[data-fllsrn-id=".concat(ye,"]"))},c=function(){/^body$/i.test(e.boundary)||"string"!=typeof e.boundary||(o(e.boundary)||console.error("props.boundary is not available selector"),i=e.boundary)};return l((function(){if(/^parent$/i.test(e.boundary)){i="".concat(t).concat(ge);var n=(r||{}).parentNode;(null==n?void 0:n.parentNode)&&(n.parentNode.setAttribute("data-pnode-id",we),i="[data-pnode-id=".concat(we,"]"))}})),l(c),l(a),l((function(){i="string"==typeof e.boundary?e.boundary:"".concat(t).concat(ge)})),i},o=function(e){return document.querySelector(e)instanceof HTMLElement};if(null===ge||!o("#".concat(ge))){ge="id_".concat((0,he.v4)());var r=document.createElement("div");r.setAttribute("id",ge),r.setAttribute("data-popper-id",ge),document.body.append(r)}null===ye&&(ye="id_".concat((0,he.v4)())),null===we&&(we="id_".concat((0,he.v4)()));var i=function(){var e;if(null===document.fullscreenElement){var t="[data-fllsrn-id=".concat(ye,"]");(null!==(e=document.querySelectorAll(t))&&void 0!==e?e:[]).forEach((function(e){e.removeAttribute("data-fllsrn-id")}))}else document.fullscreenElement.setAttribute("data-fllsrn-id",ye)};return{popContainerId:ge,prefixId:n(),getPrefixId:n,resetFullscreenElementTag:i}}(e,"#"),S=A.getPrefixId,L=A.resetFullscreenElementTag,H=(0,o.ref)();O();var D=function(){"function"==typeof T&&T(),function(){if(null==p?void 0:p.length){var e=b().elReference;e&&p.forEach((function(t){var o=n(t,2),r=o[0],i=o[1];e.removeEventListener(r,i)})),p=null}}()},N=function(){d.value=x(),L(),O(),w()};(0,o.onMounted)((function(){e.disabled||(C(),O(),document.body.addEventListener("fullscreenchange",N))})),(0,o.onUnmounted)((function(){D(),document.body.removeEventListener("fullscreenchange",N)})),t.expose({show:function(){h()},hide:R});var k=(0,o.computed)((function(){return(d.value||!l)&&"string"==typeof H.value}));return{boundary:H,arrow:e.arrow,refReference:a,refContent:c,refArrow:s,content:r,theme:i,transBoundary:k,handleClickOutside:function(n){t.emit(u.CLICK_OUTSIDE,{isShow:v.value,event:n}),e.disableOutsideClick||e.always||e.disabled||"manual"===e.trigger||v.value&&R()}}},render:function(){var e,t,n,r,i,l,c=this;return(0,o.createVNode)(g,{ref:"refRoot"},{default:function(){return[(0,o.createVNode)(h,{ref:"refReference"},{default:function(){return[null!==(n=null===(t=(e=c.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==n?n:(0,o.createVNode)("span",null,null)]}}),(0,o.createVNode)(o.Teleport,{to:c.boundary,disabled:!c.transBoundary},{default:function(){return[(0,o.withDirectives)((0,o.createVNode)(p,{ref:"refContent","data-theme":c.theme,width:c.width,height:c.height},{default:function(){return[null!==(l=null===(i=(r=c.$slots).content)||void 0===i?void 0:i.call(r))&&void 0!==l?l:c.content]},arrow:function(){var e,t;return c.arrow?(0,o.createVNode)(a,{ref:"refArrow"},{default:function(){return[null===(t=(e=c.$slots).arrow)||void 0===t?void 0:t.call(e)]}}):""}}),[[(0,o.resolveDirective)("clickoutside"),c.handleClickOutside]])]}})]}})}}),xe=(0,e.withInstall)(be)})(),l})()));
@@ -19,7 +19,7 @@
19
19
  --line-height-large: 18px;
20
20
  --component-size-small: 26px;
21
21
  --component-size-base: 32px;
22
- --component-size-large: 38px;
22
+ --component-size-large: 40px;
23
23
  --border-width-base: 1px;
24
24
  --border-style-base: solid;
25
25
  --border-radius-base: 2px;
@@ -34,7 +34,7 @@
34
34
  --input-horizontal-padding: 10px;
35
35
  --input-block-color: #f5f7fa;
36
36
  --input-block-hover-color: #eaebf0;
37
- --input-icon-size: var(--font-size-large);
37
+ --input-icon-size: var(--font-size-medium);
38
38
  --input-maxlength-color: #979ba5;
39
39
  --button-primary-hover-color: #5594fa;
40
40
  --button-danger-hover-color: #ff5656;