bitboss-ui 2.1.31 → 2.1.33

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 (269) hide show
  1. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +10 -30
  2. package/dist/components/BaseColorInput/ColorPallette.vue.d.ts +2 -2
  3. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +8 -24
  4. package/dist/components/BaseTag/BaseTag.vue.d.ts +4 -24
  5. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +27 -36
  6. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +5 -1
  7. package/dist/components/BbPopover/BbPopover.vue.d.ts +25 -32
  8. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +26 -31
  9. package/dist/components/CommonInputInnerContainer.vue.d.ts +3 -3
  10. package/dist/components/{CommonPopover.vue.d.ts → CommonPopover2.vue.d.ts} +2 -7
  11. package/dist/composables/useCancelableFunction.d.ts +17 -0
  12. package/dist/index.css +1 -1
  13. package/dist/index.d.ts +3 -0
  14. package/dist/index.js +143 -138
  15. package/dist/index106.js +9 -9
  16. package/dist/index11.js +2 -2
  17. package/dist/index111.js +1 -1
  18. package/dist/index119.js +4 -4
  19. package/dist/index12.js +6 -6
  20. package/dist/index121.js +12 -12
  21. package/dist/index129.js +1 -1
  22. package/dist/index13.js +1 -1
  23. package/dist/index131.js +111 -93
  24. package/dist/index133.js +1 -1
  25. package/dist/index135.js +69 -2
  26. package/dist/index137.js +13 -377
  27. package/dist/index138.js +2 -9
  28. package/dist/index139.js +11 -25
  29. package/dist/index140.js +419 -2
  30. package/dist/index141.js +9 -5
  31. package/dist/index142.js +23 -7
  32. package/dist/index143.js +2 -6
  33. package/dist/index144.js +5 -3
  34. package/dist/index145.js +9 -3
  35. package/dist/index146.js +6 -3
  36. package/dist/index147.js +1 -1
  37. package/dist/index148.js +1 -1
  38. package/dist/index149.js +1 -1
  39. package/dist/index15.js +72 -74
  40. package/dist/index150.js +1 -1
  41. package/dist/index151.js +1 -1
  42. package/dist/index152.js +1 -1
  43. package/dist/index153.js +1 -1
  44. package/dist/index154.js +1 -1
  45. package/dist/index155.js +1 -1
  46. package/dist/index156.js +1 -1
  47. package/dist/index157.js +1 -1
  48. package/dist/index158.js +1 -1
  49. package/dist/index159.js +1 -1
  50. package/dist/index160.js +1 -1
  51. package/dist/index161.js +1 -1
  52. package/dist/index162.js +1 -1
  53. package/dist/index163.js +1 -1
  54. package/dist/index164.js +1 -1
  55. package/dist/index165.js +1 -1
  56. package/dist/index166.js +1 -1
  57. package/dist/index167.js +1 -1
  58. package/dist/index168.js +1 -1
  59. package/dist/index169.js +1 -1
  60. package/dist/index17.js +2 -2
  61. package/dist/index170.js +1 -1
  62. package/dist/index171.js +1 -1
  63. package/dist/index172.js +1 -1
  64. package/dist/index173.js +1 -1
  65. package/dist/index174.js +1 -1
  66. package/dist/index175.js +1 -1
  67. package/dist/index176.js +1 -1
  68. package/dist/index177.js +1 -1
  69. package/dist/index178.js +1 -1
  70. package/dist/index179.js +1 -1
  71. package/dist/index180.js +1 -1
  72. package/dist/index181.js +3 -2
  73. package/dist/index182.js +1 -1
  74. package/dist/index183.js +1 -1
  75. package/dist/index184.js +2 -3
  76. package/dist/index185.js +1 -1
  77. package/dist/index186.js +1 -1
  78. package/dist/index187.js +1 -1
  79. package/dist/index188.js +2 -2
  80. package/dist/index189.js +2 -2
  81. package/dist/index19.js +8 -8
  82. package/dist/index190.js +2 -2
  83. package/dist/index191.js +3 -2
  84. package/dist/index192.js +1 -1
  85. package/dist/index193.js +1 -1
  86. package/dist/index194.js +2 -3
  87. package/dist/index195.js +1 -1
  88. package/dist/index196.js +1 -1
  89. package/dist/index197.js +1 -1
  90. package/dist/index198.js +1 -1
  91. package/dist/index199.js +1 -1
  92. package/dist/index200.js +1 -1
  93. package/dist/index201.js +1 -1
  94. package/dist/index202.js +1 -1
  95. package/dist/index203.js +1 -1
  96. package/dist/index204.js +1 -1
  97. package/dist/index205.js +1 -1
  98. package/dist/index206.js +3 -138
  99. package/dist/index207.js +3 -2
  100. package/dist/index208.js +3 -2
  101. package/dist/index209.js +3 -34
  102. package/dist/index21.js +16 -16
  103. package/dist/index211.js +7 -13
  104. package/dist/index212.js +136 -9
  105. package/dist/index213.js +2 -5
  106. package/dist/index214.js +2 -5
  107. package/dist/index215.js +13 -5
  108. package/dist/index216.js +13 -5
  109. package/dist/index217.js +13 -5
  110. package/dist/index218.js +3 -5
  111. package/dist/index219.js +86 -2
  112. package/dist/index221.js +29 -2
  113. package/dist/index222.js +16 -19
  114. package/dist/index223.js +50 -68
  115. package/dist/index224.js +17 -0
  116. package/dist/index225.js +3 -13
  117. package/dist/index226.js +12 -117
  118. package/dist/index227.js +18 -0
  119. package/dist/index229.js +2 -4
  120. package/dist/index23.js +153 -153
  121. package/dist/index230.js +6 -2
  122. package/dist/index231.js +15 -50
  123. package/dist/index232.js +8 -15
  124. package/dist/index233.js +3 -106
  125. package/dist/index234.js +11 -0
  126. package/dist/index235.js +117 -96
  127. package/dist/index237.js +23 -4
  128. package/dist/index238.js +4 -197
  129. package/dist/index239.js +25 -0
  130. package/dist/index240.js +5 -86
  131. package/dist/index241.js +7 -0
  132. package/dist/index242.js +5 -29
  133. package/dist/index243.js +5 -15
  134. package/dist/index244.js +5 -3
  135. package/dist/index245.js +5 -12
  136. package/dist/index246.js +5 -16
  137. package/dist/index247.js +2 -183
  138. package/dist/index248.js +8 -3
  139. package/dist/index249.js +250 -2
  140. package/dist/index25.js +4 -4
  141. package/dist/index250.js +52 -2
  142. package/dist/index251.js +44 -7
  143. package/dist/index252.js +5 -7
  144. package/dist/index253.js +60 -5
  145. package/dist/index254.js +106 -5
  146. package/dist/index256.js +95 -245
  147. package/dist/index258.js +2 -44
  148. package/dist/index259.js +4 -5
  149. package/dist/index260.js +5 -60
  150. package/dist/index261.js +2 -7
  151. package/dist/index262.js +18 -16
  152. package/dist/index263.js +2 -12
  153. package/dist/index264.js +7 -6
  154. package/dist/index265.js +7 -229
  155. package/dist/index266.js +34 -10
  156. package/dist/index267.js +2 -3
  157. package/dist/index268.js +18 -6
  158. package/dist/index269.js +12 -16
  159. package/dist/index27.js +2 -2
  160. package/dist/index270.js +229 -3
  161. package/dist/index271.js +3 -9
  162. package/dist/index272.js +4 -23
  163. package/dist/index273.js +197 -9
  164. package/dist/index275.js +183 -8
  165. package/dist/index276.js +7 -67
  166. package/dist/index277.js +9 -5
  167. package/dist/index278.js +9 -5
  168. package/dist/index279.js +8 -8
  169. package/dist/index280.js +33 -2
  170. package/dist/index281.js +28 -2
  171. package/dist/index283.js +4 -0
  172. package/dist/index284.js +5 -7
  173. package/dist/index285.js +67 -3
  174. package/dist/index286.js +7 -4
  175. package/dist/index287.js +11 -7
  176. package/dist/index288.js +5 -11
  177. package/dist/index289.js +1 -1
  178. package/dist/index29.js +6 -6
  179. package/dist/index290.js +17 -3
  180. package/dist/index291.js +25 -14
  181. package/dist/index292.js +718 -3
  182. package/dist/index293.js +366 -3
  183. package/dist/index294.js +58 -3
  184. package/dist/index295.js +3 -28
  185. package/dist/index298.js +12 -121
  186. package/dist/index299.js +2 -2
  187. package/dist/index300.js +11 -10
  188. package/dist/index302.js +15 -12
  189. package/dist/index304.js +10 -11
  190. package/dist/index306.js +17 -17
  191. package/dist/index308.js +27 -5
  192. package/dist/index309.js +2 -6
  193. package/dist/index31.js +1 -1
  194. package/dist/index310.js +2 -19
  195. package/dist/index311.js +2 -2
  196. package/dist/index312.js +2 -27
  197. package/dist/index313.js +2 -2
  198. package/dist/index314.js +21 -1
  199. package/dist/index316.js +3 -2
  200. package/dist/index317.js +3 -2
  201. package/dist/index318.js +6 -22
  202. package/dist/index320.js +125 -2
  203. package/dist/index321.js +2 -718
  204. package/dist/index322.js +2 -366
  205. package/dist/index324.js +3 -5
  206. package/dist/index325.js +5 -2
  207. package/dist/index326.js +7 -32
  208. package/dist/index327.js +2 -28
  209. package/dist/index328.js +7 -0
  210. package/dist/index329.js +3 -8
  211. package/dist/index33.js +8 -8
  212. package/dist/index330.js +3 -5
  213. package/dist/index331.js +92 -7
  214. package/dist/index332.js +35 -8
  215. package/dist/index333.js +6 -129
  216. package/dist/index334.js +113 -353
  217. package/dist/index335.js +367 -56
  218. package/dist/index336.js +33 -33
  219. package/dist/index337.js +57 -227
  220. package/dist/index338.js +2 -7
  221. package/dist/index339.js +6 -6
  222. package/dist/index340.js +6 -18
  223. package/dist/index341.js +17 -45
  224. package/dist/index342.js +46 -92
  225. package/dist/index343.js +10 -0
  226. package/dist/index344.js +6 -3
  227. package/dist/index345.js +7 -128
  228. package/dist/index346.js +223 -431
  229. package/dist/index347.js +123 -121
  230. package/dist/index348.js +421 -473
  231. package/dist/index349.js +125 -48
  232. package/dist/index35.js +4 -4
  233. package/dist/index350.js +490 -0
  234. package/dist/index351.js +52 -0
  235. package/dist/index37.js +263 -271
  236. package/dist/index39.js +7 -7
  237. package/dist/index41.js +1 -1
  238. package/dist/index43.js +8 -8
  239. package/dist/index45.js +15 -15
  240. package/dist/index47.js +3 -3
  241. package/dist/index49.js +4 -4
  242. package/dist/index53.js +1 -1
  243. package/dist/index55.js +1 -1
  244. package/dist/index57.js +1 -1
  245. package/dist/index6.js +1 -1
  246. package/dist/index61.js +3 -3
  247. package/dist/index67.js +1 -1
  248. package/dist/index7.js +2 -2
  249. package/dist/index79.js +206 -182
  250. package/dist/index81.js +2 -2
  251. package/dist/index83.js +2 -2
  252. package/dist/index87.js +1 -1
  253. package/dist/index9.js +1 -1
  254. package/dist/index90.js +4 -4
  255. package/dist/index92.js +3 -3
  256. package/dist/index94.js +121 -117
  257. package/dist/index96.js +2 -2
  258. package/dist/utilities/functions/extractDomContainer.d.ts +1 -0
  259. package/dist/utilities/functions/parseWidthString.d.ts +6 -0
  260. package/package.json +2 -2
  261. package/dist/index136.js +0 -13
  262. package/dist/index210.js +0 -15
  263. package/dist/index220.js +0 -4
  264. package/dist/index255.js +0 -10
  265. package/dist/index257.js +0 -54
  266. package/dist/index274.js +0 -11
  267. package/dist/index315.js +0 -4
  268. package/dist/index323.js +0 -60
  269. /package/dist/{index282.js → index319.js} +0 -0
@@ -7,6 +7,11 @@ export type BbPopoverProps = Pick<CommonProps, 'arrowPadding' | 'closeLabel' | '
7
7
  * By default it's the first tabbable item.
8
8
  */
9
9
  focusTarget?: string;
10
+ /**
11
+ * Name of the theme to apply to the component. It creates a CSS class with the name of the theme.
12
+ * @deprecated since the popover is local you should use a normal css class applied to the top level element
13
+ */
14
+ theme?: string;
10
15
  /**
11
16
  * Width of the dropdown in pixels.
12
17
  */
@@ -28,6 +33,7 @@ declare function __VLS_template(): {
28
33
  onClick: typeof onTriggerClick;
29
34
  id: string;
30
35
  disabled: boolean;
36
+ ref: (reference: unknown) => void;
31
37
  };
32
38
  disabled: boolean;
33
39
  open: boolean;
@@ -47,6 +53,7 @@ declare function __VLS_template(): {
47
53
  onClick: typeof onTriggerClick;
48
54
  id: string;
49
55
  disabled: boolean;
56
+ ref: (reference: unknown) => void;
50
57
  };
51
58
  disabled: boolean;
52
59
  open: boolean;
@@ -60,20 +67,19 @@ declare function __VLS_template(): {
60
67
  }) => any;
61
68
  };
62
69
  refs: {
63
- wrapper: ({
70
+ popover: ({
64
71
  $: import('vue').ComponentInternalInstance;
65
72
  $data: {};
66
73
  $props: {
67
74
  readonly modelValue?: boolean | undefined;
75
+ readonly eager?: boolean | undefined;
68
76
  readonly transitionDuration?: number | undefined;
69
77
  readonly arrowPadding?: number | undefined;
70
- readonly block?: boolean | undefined;
71
78
  readonly offset?: number | undefined;
72
79
  readonly padding?: number | undefined;
73
80
  readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
74
- readonly containerAttributes?: Record<string, any> | undefined;
81
+ readonly anchor?: any;
75
82
  readonly dialog?: boolean | undefined;
76
- readonly renderContent?: boolean | undefined;
77
83
  readonly tag?: string | undefined;
78
84
  readonly flip?: boolean | undefined;
79
85
  readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
@@ -85,7 +91,6 @@ declare function __VLS_template(): {
85
91
  [x: string]: unknown;
86
92
  } & {
87
93
  wrapper: unknown;
88
- content: unknown;
89
94
  bubblearrow: HTMLSpanElement;
90
95
  };
91
96
  $slots: Readonly<{
@@ -98,10 +103,9 @@ declare function __VLS_template(): {
98
103
  $el: any;
99
104
  $options: import('vue').ComponentOptionsBase<Readonly<{
100
105
  modelValue?: boolean;
101
- } & Pick<CommonProps, "transitionDuration" | "arrowPadding" | "block" | "offset" | "padding" | "placement"> & {
102
- containerAttributes?: Record<string, any>;
106
+ } & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
107
+ anchor?: any;
103
108
  dialog?: boolean;
104
- renderContent?: boolean;
105
109
  tag?: string;
106
110
  flip?: boolean;
107
111
  }> & Readonly<{
@@ -112,7 +116,6 @@ declare function __VLS_template(): {
112
116
  transitionDuration: number;
113
117
  padding: number;
114
118
  tag: string;
115
- renderContent: boolean;
116
119
  flip: boolean;
117
120
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
118
121
  beforeCreate?: (() => void) | (() => void)[];
@@ -138,25 +141,22 @@ declare function __VLS_template(): {
138
141
  transitionDuration: number;
139
142
  padding: number;
140
143
  tag: string;
141
- renderContent: boolean;
142
144
  flip: boolean;
143
145
  }> & Omit<Readonly<{
144
146
  modelValue?: boolean;
145
- } & Pick<CommonProps, "transitionDuration" | "arrowPadding" | "block" | "offset" | "padding" | "placement"> & {
146
- containerAttributes?: Record<string, any>;
147
+ } & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
148
+ anchor?: any;
147
149
  dialog?: boolean;
148
- renderContent?: boolean;
149
150
  tag?: string;
150
151
  flip?: boolean;
151
152
  }> & Readonly<{
152
153
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
153
- }>, "transitionDuration" | "padding" | "tag" | "renderContent" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
154
+ }>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
154
155
  $slots: {
155
- activator?(_: {}): any;
156
156
  default?(_: {}): any;
157
157
  };
158
158
  }) | null;
159
- content: HTMLSpanElement;
159
+ popoverDom: HTMLSpanElement;
160
160
  };
161
161
  rootEl: any;
162
162
  };
@@ -180,20 +180,19 @@ declare const __VLS_component: import('vue').DefineComponent<BbPopoverProps, {
180
180
  placement: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
181
181
  theme: string;
182
182
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
183
- wrapper: ({
183
+ popover: ({
184
184
  $: import('vue').ComponentInternalInstance;
185
185
  $data: {};
186
186
  $props: {
187
187
  readonly modelValue?: boolean | undefined;
188
+ readonly eager?: boolean | undefined;
188
189
  readonly transitionDuration?: number | undefined;
189
190
  readonly arrowPadding?: number | undefined;
190
- readonly block?: boolean | undefined;
191
191
  readonly offset?: number | undefined;
192
192
  readonly padding?: number | undefined;
193
193
  readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
194
- readonly containerAttributes?: Record<string, any> | undefined;
194
+ readonly anchor?: any;
195
195
  readonly dialog?: boolean | undefined;
196
- readonly renderContent?: boolean | undefined;
197
196
  readonly tag?: string | undefined;
198
197
  readonly flip?: boolean | undefined;
199
198
  readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
@@ -205,7 +204,6 @@ declare const __VLS_component: import('vue').DefineComponent<BbPopoverProps, {
205
204
  [x: string]: unknown;
206
205
  } & {
207
206
  wrapper: unknown;
208
- content: unknown;
209
207
  bubblearrow: HTMLSpanElement;
210
208
  };
211
209
  $slots: Readonly<{
@@ -218,10 +216,9 @@ declare const __VLS_component: import('vue').DefineComponent<BbPopoverProps, {
218
216
  $el: any;
219
217
  $options: import('vue').ComponentOptionsBase<Readonly<{
220
218
  modelValue?: boolean;
221
- } & Pick<CommonProps, "transitionDuration" | "arrowPadding" | "block" | "offset" | "padding" | "placement"> & {
222
- containerAttributes?: Record<string, any>;
219
+ } & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
220
+ anchor?: any;
223
221
  dialog?: boolean;
224
- renderContent?: boolean;
225
222
  tag?: string;
226
223
  flip?: boolean;
227
224
  }> & Readonly<{
@@ -232,7 +229,6 @@ declare const __VLS_component: import('vue').DefineComponent<BbPopoverProps, {
232
229
  transitionDuration: number;
233
230
  padding: number;
234
231
  tag: string;
235
- renderContent: boolean;
236
232
  flip: boolean;
237
233
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
238
234
  beforeCreate?: (() => void) | (() => void)[];
@@ -258,25 +254,22 @@ declare const __VLS_component: import('vue').DefineComponent<BbPopoverProps, {
258
254
  transitionDuration: number;
259
255
  padding: number;
260
256
  tag: string;
261
- renderContent: boolean;
262
257
  flip: boolean;
263
258
  }> & Omit<Readonly<{
264
259
  modelValue?: boolean;
265
- } & Pick<CommonProps, "transitionDuration" | "arrowPadding" | "block" | "offset" | "padding" | "placement"> & {
266
- containerAttributes?: Record<string, any>;
260
+ } & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
261
+ anchor?: any;
267
262
  dialog?: boolean;
268
- renderContent?: boolean;
269
263
  tag?: string;
270
264
  flip?: boolean;
271
265
  }> & Readonly<{
272
266
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
273
- }>, "transitionDuration" | "padding" | "tag" | "renderContent" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
267
+ }>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
274
268
  $slots: {
275
- activator?(_: {}): any;
276
269
  default?(_: {}): any;
277
270
  };
278
271
  }) | null;
279
- content: HTMLSpanElement;
272
+ popoverDom: HTMLSpanElement;
280
273
  }, any>;
281
274
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
282
275
  export default _default;
@@ -1,11 +1,20 @@
1
1
  import { CommonProps } from '../../types/CommonProps';
2
2
  import { Placement } from '@floating-ui/vue';
3
3
  export type BbTooltipProps = Pick<CommonProps, 'arrowPadding' | 'block' | 'disabled' | 'eager' | 'id' | 'offset' | 'padding' | 'placement' | 'showClose' | 'theme' | 'transitionDuration'> & {
4
+ /**
5
+ * Name of the theme to apply to the component. It creates a CSS class with the name of the theme.
6
+ * @deprecated since the popover is local you should use a normal css class applied to the top level element
7
+ */
8
+ theme?: string;
4
9
  /**
5
10
  * The delay in milliseconds before the tooltip is shown.
6
11
  * @default 0
7
12
  */
8
13
  timeout?: number;
14
+ /**
15
+ * Width of the dropdown in pixels or percentage.
16
+ */
17
+ width?: number | string;
9
18
  };
10
19
  type __VLS_Props = BbTooltipProps;
11
20
  type BbTooltipSlots = {
@@ -15,7 +24,7 @@ type BbTooltipSlots = {
15
24
  onMouseenter: typeof onMouseenter;
16
25
  onFocus: typeof onFocus;
17
26
  onBlur: typeof closeTooltip;
18
- disabled: boolean | undefined;
27
+ ref: (reference: unknown) => void;
19
28
  };
20
29
  disabled?: boolean;
21
30
  open: boolean;
@@ -33,20 +42,19 @@ declare function __VLS_template(): {
33
42
  attrs: Partial<{}>;
34
43
  slots: Readonly<BbTooltipSlots> & BbTooltipSlots;
35
44
  refs: {
36
- wrapper: ({
45
+ popover: ({
37
46
  $: import('vue').ComponentInternalInstance;
38
47
  $data: {};
39
48
  $props: {
40
49
  readonly modelValue?: boolean | undefined;
50
+ readonly eager?: boolean | undefined;
41
51
  readonly transitionDuration?: number | undefined;
42
52
  readonly arrowPadding?: number | undefined;
43
- readonly block?: boolean | undefined;
44
53
  readonly offset?: number | undefined;
45
54
  readonly padding?: number | undefined;
46
55
  readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
47
- readonly containerAttributes?: Record<string, any> | undefined;
56
+ readonly anchor?: any;
48
57
  readonly dialog?: boolean | undefined;
49
- readonly renderContent?: boolean | undefined;
50
58
  readonly tag?: string | undefined;
51
59
  readonly flip?: boolean | undefined;
52
60
  readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
@@ -58,7 +66,6 @@ declare function __VLS_template(): {
58
66
  [x: string]: unknown;
59
67
  } & {
60
68
  wrapper: unknown;
61
- content: unknown;
62
69
  bubblearrow: HTMLSpanElement;
63
70
  };
64
71
  $slots: Readonly<{
@@ -71,10 +78,9 @@ declare function __VLS_template(): {
71
78
  $el: any;
72
79
  $options: import('vue').ComponentOptionsBase<Readonly<{
73
80
  modelValue?: boolean;
74
- } & Pick<CommonProps, "transitionDuration" | "arrowPadding" | "block" | "offset" | "padding" | "placement"> & {
75
- containerAttributes?: Record<string, any>;
81
+ } & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
82
+ anchor?: any;
76
83
  dialog?: boolean;
77
- renderContent?: boolean;
78
84
  tag?: string;
79
85
  flip?: boolean;
80
86
  }> & Readonly<{
@@ -85,7 +91,6 @@ declare function __VLS_template(): {
85
91
  transitionDuration: number;
86
92
  padding: number;
87
93
  tag: string;
88
- renderContent: boolean;
89
94
  flip: boolean;
90
95
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
91
96
  beforeCreate?: (() => void) | (() => void)[];
@@ -111,21 +116,18 @@ declare function __VLS_template(): {
111
116
  transitionDuration: number;
112
117
  padding: number;
113
118
  tag: string;
114
- renderContent: boolean;
115
119
  flip: boolean;
116
120
  }> & Omit<Readonly<{
117
121
  modelValue?: boolean;
118
- } & Pick<CommonProps, "transitionDuration" | "arrowPadding" | "block" | "offset" | "padding" | "placement"> & {
119
- containerAttributes?: Record<string, any>;
122
+ } & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
123
+ anchor?: any;
120
124
  dialog?: boolean;
121
- renderContent?: boolean;
122
125
  tag?: string;
123
126
  flip?: boolean;
124
127
  }> & Readonly<{
125
128
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
126
- }>, "transitionDuration" | "padding" | "tag" | "renderContent" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
129
+ }>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
127
130
  $slots: {
128
- activator?(_: {}): any;
129
131
  default?(_: {}): any;
130
132
  };
131
133
  }) | null;
@@ -146,20 +148,19 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
146
148
  theme: string;
147
149
  timeout: number;
148
150
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
149
- wrapper: ({
151
+ popover: ({
150
152
  $: import('vue').ComponentInternalInstance;
151
153
  $data: {};
152
154
  $props: {
153
155
  readonly modelValue?: boolean | undefined;
156
+ readonly eager?: boolean | undefined;
154
157
  readonly transitionDuration?: number | undefined;
155
158
  readonly arrowPadding?: number | undefined;
156
- readonly block?: boolean | undefined;
157
159
  readonly offset?: number | undefined;
158
160
  readonly padding?: number | undefined;
159
161
  readonly placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | undefined;
160
- readonly containerAttributes?: Record<string, any> | undefined;
162
+ readonly anchor?: any;
161
163
  readonly dialog?: boolean | undefined;
162
- readonly renderContent?: boolean | undefined;
163
164
  readonly tag?: string | undefined;
164
165
  readonly flip?: boolean | undefined;
165
166
  readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
@@ -171,7 +172,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
171
172
  [x: string]: unknown;
172
173
  } & {
173
174
  wrapper: unknown;
174
- content: unknown;
175
175
  bubblearrow: HTMLSpanElement;
176
176
  };
177
177
  $slots: Readonly<{
@@ -184,10 +184,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
184
184
  $el: any;
185
185
  $options: import('vue').ComponentOptionsBase<Readonly<{
186
186
  modelValue?: boolean;
187
- } & Pick<CommonProps, "transitionDuration" | "arrowPadding" | "block" | "offset" | "padding" | "placement"> & {
188
- containerAttributes?: Record<string, any>;
187
+ } & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
188
+ anchor?: any;
189
189
  dialog?: boolean;
190
- renderContent?: boolean;
191
190
  tag?: string;
192
191
  flip?: boolean;
193
192
  }> & Readonly<{
@@ -198,7 +197,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
198
197
  transitionDuration: number;
199
198
  padding: number;
200
199
  tag: string;
201
- renderContent: boolean;
202
200
  flip: boolean;
203
201
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
204
202
  beforeCreate?: (() => void) | (() => void)[];
@@ -224,21 +222,18 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
224
222
  transitionDuration: number;
225
223
  padding: number;
226
224
  tag: string;
227
- renderContent: boolean;
228
225
  flip: boolean;
229
226
  }> & Omit<Readonly<{
230
227
  modelValue?: boolean;
231
- } & Pick<CommonProps, "transitionDuration" | "arrowPadding" | "block" | "offset" | "padding" | "placement"> & {
232
- containerAttributes?: Record<string, any>;
228
+ } & Pick<CommonProps, "eager" | "transitionDuration" | "arrowPadding" | "offset" | "padding" | "placement"> & {
229
+ anchor?: any;
233
230
  dialog?: boolean;
234
- renderContent?: boolean;
235
231
  tag?: string;
236
232
  flip?: boolean;
237
233
  }> & Readonly<{
238
234
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
239
- }>, "transitionDuration" | "padding" | "tag" | "renderContent" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
235
+ }>, "transitionDuration" | "padding" | "tag" | "flip"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
240
236
  $slots: {
241
- activator?(_: {}): any;
242
237
  default?(_: {}): any;
243
238
  };
244
239
  }) | null;
@@ -1,4 +1,4 @@
1
- type Props = {
1
+ export type CommonInputInnerContainerProps = {
2
2
  /**
3
3
  * Name of the icon to be added at the end of the input.
4
4
  */
@@ -28,9 +28,9 @@ declare function __VLS_template(): {
28
28
  rootEl: HTMLSpanElement;
29
29
  };
30
30
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
31
- declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
31
+ declare const __VLS_component: import('vue').DefineComponent<CommonInputInnerContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
32
32
  "click:clear": () => any;
33
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
33
+ }, string, import('vue').PublicProps, Readonly<CommonInputInnerContainerProps> & Readonly<{
34
34
  "onClick:clear"?: (() => any) | undefined;
35
35
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
36
36
  container: HTMLSpanElement;
@@ -1,8 +1,7 @@
1
1
  import { CommonProps } from '../types/CommonProps';
2
- export type BubbleProps = Pick<CommonProps, 'arrowPadding' | 'offset' | 'block' | 'padding' | 'placement' | 'transitionDuration'> & {
3
- containerAttributes?: Record<string, any>;
2
+ export type BubbleProps = Pick<CommonProps, 'arrowPadding' | 'eager' | 'offset' | 'padding' | 'placement' | 'transitionDuration'> & {
3
+ anchor?: any;
4
4
  dialog?: boolean;
5
- renderContent?: boolean;
6
5
  tag?: string;
7
6
  flip?: boolean;
8
7
  };
@@ -13,12 +12,10 @@ type __VLS_PublicProps = {
13
12
  declare function __VLS_template(): {
14
13
  attrs: Partial<{}>;
15
14
  slots: {
16
- activator?(_: {}): any;
17
15
  default?(_: {}): any;
18
16
  };
19
17
  refs: {
20
18
  wrapper: unknown;
21
- content: unknown;
22
19
  bubblearrow: HTMLSpanElement;
23
20
  };
24
21
  rootEl: any;
@@ -32,11 +29,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
32
29
  transitionDuration: number;
33
30
  padding: number;
34
31
  tag: string;
35
- renderContent: boolean;
36
32
  flip: boolean;
37
33
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
38
34
  wrapper: unknown;
39
- content: unknown;
40
35
  bubblearrow: HTMLSpanElement;
41
36
  }, any>;
42
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -0,0 +1,17 @@
1
+ import { Ref } from 'vue';
2
+ export interface CancelableFunction<T extends any[], R> {
3
+ execute: (...args: T) => Promise<R>;
4
+ cancel: () => void;
5
+ isCancelled: Ref<boolean>;
6
+ isExecuting: Ref<boolean>;
7
+ }
8
+ export interface CancelableExecutionContext {
9
+ signal: AbortSignal;
10
+ isCancelled: Ref<boolean>;
11
+ checkCancelled: () => void;
12
+ }
13
+ /**
14
+ * Creates a cancelable function wrapper that allows interrupting async operations.
15
+ * The wrapped function receives a context object with cancellation utilities.
16
+ */
17
+ export declare function useCancelableFunction<T extends any[], R>(fn: (context: CancelableExecutionContext, ...args: T) => Promise<R> | R): CancelableFunction<T, R>;