bitboss-ui 2.0.165 → 2.0.167

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 (373) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +2 -1
  2. package/dist/components/BaseButton/RouterComponent.vue.d.ts +2 -1
  3. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +5 -2
  4. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +2 -4
  5. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +106 -4
  6. package/dist/components/BaseColorInput/ColorPallette.vue.d.ts +5 -1
  7. package/dist/components/BaseDatePicker/BaseDatePicker.vue.d.ts +4 -3
  8. package/dist/components/BaseDatePicker/BaseDatePickerHeader.vue.d.ts +1 -1
  9. package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +5 -2
  10. package/dist/components/BaseDatePicker/BaseDatePickerMonthSelector.vue.d.ts +1 -1
  11. package/dist/components/BaseDatePicker/BaseDatePickerYearSelector.vue.d.ts +3 -1
  12. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +200 -10
  13. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +10 -2
  14. package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +3 -2
  15. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +5 -2
  16. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +3 -2
  17. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +2 -4
  18. package/dist/components/BaseRating/BaseRating.vue.d.ts +5 -2
  19. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +2 -4
  20. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +8 -2
  21. package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +5 -2
  22. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +2 -4
  23. package/dist/components/BaseTag/BaseTag.vue.d.ts +207 -6
  24. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +5 -2
  25. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +5 -2
  26. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +3 -2
  27. package/dist/components/BbAlert/BbAlert.vue.d.ts +2 -1
  28. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +5 -2
  29. package/dist/components/BbBadge/BbBadge.vue.d.ts +3 -2
  30. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +3 -2
  31. package/dist/components/BbButton/BbButton.vue.d.ts +2 -1
  32. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +3 -2
  33. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +2 -4
  34. package/dist/components/BbChip/BbChip.vue.d.ts +3 -2
  35. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +2 -1
  36. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +3 -2
  37. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +3 -2
  38. package/dist/components/BbDialog/BbDialog.vue.d.ts +2 -1
  39. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +241 -100
  40. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +69 -126
  41. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +5 -2
  42. package/dist/components/BbIntersection/BbIntersection.vue.d.ts +5 -2
  43. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +100 -9
  44. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +10 -2
  45. package/dist/components/BbPagination/BbPagination.vue.d.ts +10 -6
  46. package/dist/components/BbPopover/BbPopover.vue.d.ts +168 -15
  47. package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -1
  48. package/dist/components/BbRadio/BbRadio.vue.d.ts +3 -2
  49. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +2 -4
  50. package/dist/components/BbRating/BbRating.vue.d.ts +3 -2
  51. package/dist/components/BbRatio/BbRatio.vue.d.ts +2 -1
  52. package/dist/components/BbRows/BbRows.vue.d.ts +3 -5
  53. package/dist/components/BbSelect/BbSelect.vue.d.ts +2 -4
  54. package/dist/components/BbSlider/BbSlider.vue.d.ts +3 -2
  55. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +6 -2
  56. package/dist/components/BbSpinner/BbSpinner.vue.d.ts +1 -1
  57. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +3 -2
  58. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +2 -4
  59. package/dist/components/BbTab/BbTab.vue.d.ts +6 -2
  60. package/dist/components/BbTable/BbTable.vue.d.ts +2 -4
  61. package/dist/components/BbTag/BbTag.vue.d.ts +3 -2
  62. package/dist/components/BbTeleport.vue.d.ts +2 -1
  63. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +3 -2
  64. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +3 -2
  65. package/dist/components/BbToast/BbToastMessage.vue.d.ts +1 -1
  66. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +175 -7
  67. package/dist/components/BbTree/BbTree.vue.d.ts +2 -1
  68. package/dist/components/ClearableButton.vue.d.ts +1 -1
  69. package/dist/components/CommonFloating.vue.d.ts +6 -2
  70. package/dist/components/CommonInputInnerContainer.vue.d.ts +5 -2
  71. package/dist/components/CommonInputOuterContainer.vue.d.ts +5 -4
  72. package/dist/components/CommonPopover.vue.d.ts +42 -0
  73. package/dist/components/ErrorIcon.vue.d.ts +1 -1
  74. package/dist/components/ListBox.vue.d.ts +4 -6
  75. package/dist/components/OptionsContainer.vue.d.ts +4 -6
  76. package/dist/components/Transitions/Slide.vue.d.ts +2 -1
  77. package/dist/composables/useUntil.d.ts +7 -0
  78. package/dist/{style.css → index.css} +1 -1
  79. package/dist/index.js +148 -143
  80. package/dist/index100.js +122 -135
  81. package/dist/index102.js +100 -0
  82. package/dist/index104.js +24 -0
  83. package/dist/index106.js +144 -0
  84. package/dist/index107.js +106 -59
  85. package/dist/index109.js +101 -289
  86. package/dist/index11.js +2 -2
  87. package/dist/index111.js +37 -476
  88. package/dist/index113.js +31 -118
  89. package/dist/index115.js +43 -61
  90. package/dist/index117.js +86 -78
  91. package/dist/index119.js +296 -26
  92. package/dist/index12.js +6 -6
  93. package/dist/index121.js +470 -138
  94. package/dist/index123.js +117 -115
  95. package/dist/index125.js +110 -35
  96. package/dist/index127.js +115 -45
  97. package/dist/index129.js +28 -31
  98. package/dist/index13.js +5 -5
  99. package/dist/index131.js +117 -21
  100. package/dist/index133.js +120 -9
  101. package/dist/index135.js +2 -2
  102. package/dist/index136.js +21 -5
  103. package/dist/index137.js +375 -7
  104. package/dist/index138.js +9 -6
  105. package/dist/index139.js +25 -3
  106. package/dist/index140.js +2 -3
  107. package/dist/index141.js +5 -3
  108. package/dist/index142.js +9 -3
  109. package/dist/index143.js +6 -3
  110. package/dist/index144.js +1 -1
  111. package/dist/index145.js +1 -1
  112. package/dist/index146.js +1 -1
  113. package/dist/index147.js +1 -1
  114. package/dist/index148.js +1 -1
  115. package/dist/index149.js +1 -1
  116. package/dist/index15.js +15 -15
  117. package/dist/index150.js +1 -1
  118. package/dist/index151.js +1 -1
  119. package/dist/index152.js +1 -1
  120. package/dist/index153.js +1 -1
  121. package/dist/index154.js +1 -1
  122. package/dist/index155.js +1 -1
  123. package/dist/index156.js +1 -1
  124. package/dist/index157.js +1 -1
  125. package/dist/index158.js +1 -1
  126. package/dist/index159.js +1 -1
  127. package/dist/index160.js +1 -1
  128. package/dist/index161.js +1 -1
  129. package/dist/index162.js +1 -1
  130. package/dist/index163.js +1 -1
  131. package/dist/index164.js +1 -1
  132. package/dist/index165.js +1 -1
  133. package/dist/index166.js +2 -2
  134. package/dist/index167.js +5 -0
  135. package/dist/index168.js +2 -2
  136. package/dist/index169.js +5 -0
  137. package/dist/index17.js +6 -6
  138. package/dist/index170.js +1 -1
  139. package/dist/index171.js +1 -1
  140. package/dist/index172.js +1 -1
  141. package/dist/index173.js +1 -1
  142. package/dist/index174.js +1 -1
  143. package/dist/index175.js +1 -1
  144. package/dist/index176.js +1 -1
  145. package/dist/index177.js +2 -2
  146. package/dist/index178.js +5 -0
  147. package/dist/index179.js +3 -2
  148. package/dist/index180.js +1 -1
  149. package/dist/index181.js +2 -3
  150. package/dist/index182.js +1 -1
  151. package/dist/index183.js +1 -1
  152. package/dist/index184.js +1 -1
  153. package/dist/index185.js +1 -1
  154. package/dist/index186.js +1 -1
  155. package/dist/index187.js +1 -1
  156. package/dist/index188.js +2 -2
  157. package/dist/index189.js +3 -2
  158. package/dist/index19.js +10 -10
  159. package/dist/index190.js +1 -1
  160. package/dist/index191.js +2 -3
  161. package/dist/index192.js +1 -1
  162. package/dist/index193.js +5 -0
  163. package/dist/index194.js +1 -1
  164. package/dist/index195.js +5 -0
  165. package/dist/index196.js +1 -1
  166. package/dist/index197.js +1 -1
  167. package/dist/index198.js +1 -1
  168. package/dist/index199.js +1 -1
  169. package/dist/index200.js +1 -1
  170. package/dist/index201.js +1 -1
  171. package/dist/index202.js +1 -1
  172. package/dist/index203.js +1 -1
  173. package/dist/index204.js +1 -1
  174. package/dist/index205.js +1 -1
  175. package/dist/index206.js +100 -77
  176. package/dist/index208.js +2 -4
  177. package/dist/index209.js +3 -40
  178. package/dist/index21.js +17 -17
  179. package/dist/index210.js +41 -20
  180. package/dist/index211.js +19 -93
  181. package/dist/index212.js +96 -0
  182. package/dist/{index213.js → index214.js} +9 -9
  183. package/dist/{index215.js → index216.js} +15 -15
  184. package/dist/index218.js +13 -13
  185. package/dist/index219.js +13 -5
  186. package/dist/index220.js +5 -16
  187. package/dist/index221.js +5 -16
  188. package/dist/index222.js +5 -19
  189. package/dist/index223.js +5 -15
  190. package/dist/index224.js +5 -19
  191. package/dist/index225.js +5 -27
  192. package/dist/index226.js +5 -3
  193. package/dist/index227.js +3 -2
  194. package/dist/index228.js +2 -8
  195. package/dist/index229.js +6 -248
  196. package/dist/index23.js +25 -25
  197. package/dist/index230.js +240 -42
  198. package/dist/index231.js +43 -35
  199. package/dist/index232.js +44 -5
  200. package/dist/index233.js +5 -60
  201. package/dist/index234.js +60 -3
  202. package/dist/index235.js +5 -85
  203. package/dist/index236.js +9 -0
  204. package/dist/index237.js +15 -29
  205. package/dist/index238.js +34 -17
  206. package/dist/index239.js +86 -51
  207. package/dist/index241.js +28 -11
  208. package/dist/index242.js +15 -14
  209. package/dist/index243.js +50 -124
  210. package/dist/index244.js +15 -2
  211. package/dist/index245.js +12 -6
  212. package/dist/index246.js +16 -2
  213. package/dist/index247.js +5 -9
  214. package/dist/index248.js +2 -2
  215. package/dist/index249.js +2 -4
  216. package/dist/index25.js +8 -8
  217. package/dist/index250.js +9 -2
  218. package/dist/index251.js +18 -7
  219. package/dist/index252.js +127 -14
  220. package/dist/index253.js +4 -34
  221. package/dist/index254.js +106 -2
  222. package/dist/index256.js +100 -2
  223. package/dist/index258.js +12 -126
  224. package/dist/index259.js +211 -89
  225. package/dist/index260.js +370 -0
  226. package/dist/index261.js +2 -100
  227. package/dist/index262.js +4 -0
  228. package/dist/index263.js +2 -12
  229. package/dist/index264.js +3 -228
  230. package/dist/index265.js +162 -354
  231. package/dist/index266.js +2 -176
  232. package/dist/index27.js +18 -18
  233. package/dist/index270.js +11 -23
  234. package/dist/index271.js +101 -3
  235. package/dist/index273.js +23 -16
  236. package/dist/index274.js +6 -281
  237. package/dist/index275.js +16 -6
  238. package/dist/index276.js +3 -2
  239. package/dist/index277.js +9 -2
  240. package/dist/index278.js +8 -2
  241. package/dist/index279.js +2 -2
  242. package/dist/index280.js +67 -2
  243. package/dist/index281.js +5 -2
  244. package/dist/index282.js +5 -2
  245. package/dist/index283.js +8 -2
  246. package/dist/index284.js +471 -2
  247. package/dist/index285.js +3 -2
  248. package/dist/index286.js +3 -2
  249. package/dist/index287.js +3 -28
  250. package/dist/index289.js +9 -0
  251. package/dist/index29.js +5 -5
  252. package/dist/index290.js +6 -6
  253. package/dist/index291.js +11 -7
  254. package/dist/index292.js +279 -10
  255. package/dist/index293.js +2 -431
  256. package/dist/index294.js +16 -3
  257. package/dist/index295.js +2 -3
  258. package/dist/index296.js +16 -3
  259. package/dist/index297.js +4 -0
  260. package/dist/index298.js +18 -223
  261. package/dist/index299.js +2 -3
  262. package/dist/index300.js +15 -17
  263. package/dist/index301.js +2 -9
  264. package/dist/index302.js +18 -199
  265. package/dist/index303.js +2 -2
  266. package/dist/index304.js +27 -4
  267. package/dist/index305.js +2 -2
  268. package/dist/index306.js +1 -1
  269. package/dist/index307.js +2 -8
  270. package/dist/index308.js +2 -126
  271. package/dist/index309.js +2 -3
  272. package/dist/index31.js +4 -4
  273. package/dist/index310.js +28 -3
  274. package/dist/index311.js +21 -1
  275. package/dist/index313.js +199 -126
  276. package/dist/index314.js +4 -2
  277. package/dist/index315.js +2 -67
  278. package/dist/index316.js +6 -5
  279. package/dist/index317.js +2 -89
  280. package/dist/index318.js +3 -3
  281. package/dist/index319.js +17 -3
  282. package/dist/index320.js +123 -56
  283. package/dist/index321.js +2 -33
  284. package/dist/index322.js +128 -27
  285. package/dist/index323.js +5 -0
  286. package/dist/index324.js +3 -480
  287. package/dist/index325.js +2 -7
  288. package/dist/index326.js +4 -7
  289. package/dist/index327.js +379 -16
  290. package/dist/index328.js +125 -7
  291. package/dist/index329.js +5 -6
  292. package/dist/index33.js +10 -10
  293. package/dist/index330.js +3 -8
  294. package/dist/index331.js +5 -58
  295. package/dist/index332.js +700 -57
  296. package/dist/index333.js +354 -5
  297. package/dist/index334.js +57 -7
  298. package/dist/index335.js +7 -3
  299. package/dist/index336.js +5 -46
  300. package/dist/index337.js +8 -2
  301. package/dist/index338.js +9 -0
  302. package/dist/index339.js +32 -2
  303. package/dist/index340.js +28 -2
  304. package/dist/index342.js +57 -46
  305. package/dist/index343.js +60 -0
  306. package/dist/index344.js +7 -0
  307. package/dist/index345.js +230 -0
  308. package/dist/index346.js +4 -0
  309. package/dist/index347.js +49 -0
  310. package/dist/index348.js +9 -0
  311. package/dist/index349.js +21 -0
  312. package/dist/index35.js +9 -9
  313. package/dist/index350.js +95 -0
  314. package/dist/index352.js +5 -0
  315. package/dist/index353.js +484 -0
  316. package/dist/index354.js +49 -0
  317. package/dist/index355.js +483 -0
  318. package/dist/index356.js +4 -0
  319. package/dist/index37.js +33 -33
  320. package/dist/index39.js +15 -15
  321. package/dist/index41.js +5 -5
  322. package/dist/index43.js +10 -10
  323. package/dist/index45.js +25 -25
  324. package/dist/index47.js +6 -6
  325. package/dist/index49.js +15 -15
  326. package/dist/index51.js +4 -4
  327. package/dist/index53.js +6 -6
  328. package/dist/index55.js +6 -6
  329. package/dist/index57.js +16 -16
  330. package/dist/index59.js +3 -3
  331. package/dist/index6.js +1 -1
  332. package/dist/index61.js +9 -9
  333. package/dist/index63.js +5 -5
  334. package/dist/index65.js +2 -2
  335. package/dist/index67.js +35 -107
  336. package/dist/index69.js +42 -85
  337. package/dist/index7.js +2 -2
  338. package/dist/index71.js +47 -56
  339. package/dist/index73.js +83 -54
  340. package/dist/index75.js +113 -273
  341. package/dist/index77.js +50 -158
  342. package/dist/index79.js +228 -194
  343. package/dist/index81.js +148 -40
  344. package/dist/index83.js +221 -0
  345. package/dist/index85.js +53 -0
  346. package/dist/index87.js +46 -0
  347. package/dist/index88.js +125 -184
  348. package/dist/index9.js +1 -1
  349. package/dist/index90.js +240 -26
  350. package/dist/index92.js +230 -86
  351. package/dist/index94.js +135 -117
  352. package/dist/index96.js +27 -94
  353. package/dist/index98.js +85 -15
  354. package/package.json +27 -28
  355. package/dist/index101.js +0 -178
  356. package/dist/index103.js +0 -116
  357. package/dist/index105.js +0 -100
  358. package/dist/index126.js +0 -46
  359. package/dist/index128.js +0 -49
  360. package/dist/index130.js +0 -4
  361. package/dist/index132.js +0 -346
  362. package/dist/index134.js +0 -27
  363. package/dist/index217.js +0 -15
  364. package/dist/index240.js +0 -17
  365. package/dist/index255.js +0 -4
  366. package/dist/index257.js +0 -20
  367. package/dist/index272.js +0 -8
  368. package/dist/index288.js +0 -24
  369. package/dist/index312.js +0 -438
  370. package/dist/index341.js +0 -426
  371. package/dist/index82.js +0 -136
  372. package/dist/index84.js +0 -247
  373. package/dist/index86.js +0 -238
package/dist/index137.js CHANGED
@@ -1,11 +1,379 @@
1
- import { getCurrentInstance as o, computed as r } from "vue";
2
- function u() {
3
- const t = o();
4
- return r(() => {
5
- var e;
6
- return (e = t == null ? void 0 : t.proxy) == null ? void 0 : e.$route;
1
+ import { tryOnScopeDispose as D, toArray as C, notNullish as Z, noop as F, useThrottleFn as q, tryOnMounted as U, isClient as ee, watchImmediate as te, useDebounceFn as ne, pxValue as $, injectLocal as oe, isObject as le } from "./index206.js";
2
+ import { bypassFilter as Ee, createFilterWrapper as xe, debounceFilter as We, debouncedWatch as Te, getLifeCycleTarget as Me, throttleFilter as Ie, debouncedWatch as Ae, watchWithFilter as Le } from "./index206.js";
3
+ import { computed as w, toValue as g, watch as P, shallowRef as E, getCurrentInstance as ue, onMounted as re, reactive as G, ref as J, watchEffect as se, hasInjectionContext as ie, unref as ae } from "vue";
4
+ const L = ee ? window : void 0;
5
+ function I(n) {
6
+ var t;
7
+ const u = g(n);
8
+ return (t = u == null ? void 0 : u.$el) != null ? t : u;
9
+ }
10
+ function H(...n) {
11
+ const t = [], u = () => {
12
+ t.forEach((e) => e()), t.length = 0;
13
+ }, l = (e, s, o, a) => (e.addEventListener(s, o, a), () => e.removeEventListener(s, o, a)), r = w(() => {
14
+ const e = C(g(n[0])).filter((s) => s != null);
15
+ return e.every((s) => typeof s != "string") ? e : void 0;
16
+ }), p = te(
17
+ () => {
18
+ var e, s;
19
+ return [
20
+ (s = (e = r.value) == null ? void 0 : e.map((o) => I(o))) != null ? s : [L].filter((o) => o != null),
21
+ C(g(r.value ? n[1] : n[0])),
22
+ C(ae(r.value ? n[2] : n[1])),
23
+ // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
24
+ g(r.value ? n[3] : n[2])
25
+ ];
26
+ },
27
+ ([e, s, o, a]) => {
28
+ if (u(), !(e != null && e.length) || !(s != null && s.length) || !(o != null && o.length))
29
+ return;
30
+ const c = le(a) ? { ...a } : a;
31
+ t.push(
32
+ ...e.flatMap(
33
+ (d) => s.flatMap(
34
+ (m) => o.map((h) => l(d, m, h, c))
35
+ )
36
+ )
37
+ );
38
+ },
39
+ { flush: "post" }
40
+ ), f = () => {
41
+ p(), u();
42
+ };
43
+ return D(u), f;
44
+ }
45
+ function ce() {
46
+ const n = E(!1), t = ue();
47
+ return t && re(() => {
48
+ n.value = !0;
49
+ }, t), n;
50
+ }
51
+ function j(n) {
52
+ const t = ce();
53
+ return w(() => (t.value, !!n()));
54
+ }
55
+ const ve = Symbol("vueuse-ssr-width");
56
+ function fe() {
57
+ const n = ie() ? oe(ve, null) : null;
58
+ return typeof n == "number" ? n : void 0;
59
+ }
60
+ function de(n, t = {}) {
61
+ const { window: u = L, ssrWidth: l = fe() } = t, r = j(() => u && "matchMedia" in u && typeof u.matchMedia == "function"), p = E(typeof l == "number"), f = E(), e = E(!1), s = (o) => {
62
+ e.value = o.matches;
63
+ };
64
+ return se(() => {
65
+ if (p.value) {
66
+ p.value = !r.value;
67
+ const o = g(n).split(",");
68
+ e.value = o.some((a) => {
69
+ const c = a.includes("not all"), d = a.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), m = a.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
70
+ let h = !!(d || m);
71
+ return d && h && (h = l >= $(d[1])), m && h && (h = l <= $(m[1])), c ? !h : h;
72
+ });
73
+ return;
74
+ }
75
+ r.value && (f.value = u.matchMedia(g(n)), e.value = f.value.matches);
76
+ }), H(f, "change", s, { passive: !0 }), w(() => e.value);
77
+ }
78
+ function me(n, t, u = {}) {
79
+ const { window: l = L, ...r } = u;
80
+ let p;
81
+ const f = j(() => l && "ResizeObserver" in l), e = () => {
82
+ p && (p.disconnect(), p = void 0);
83
+ }, s = w(() => {
84
+ const c = g(n);
85
+ return Array.isArray(c) ? c.map((d) => I(d)) : [I(c)];
86
+ }), o = P(
87
+ s,
88
+ (c) => {
89
+ if (e(), f.value && l) {
90
+ p = new ResizeObserver(t);
91
+ for (const d of c)
92
+ d && p.observe(d, r);
93
+ }
94
+ },
95
+ { immediate: !0, flush: "post" }
96
+ ), a = () => {
97
+ e(), o();
98
+ };
99
+ return D(a), {
100
+ isSupported: f,
101
+ stop: a
102
+ };
103
+ }
104
+ function be(n, t, u = {}) {
105
+ const {
106
+ root: l,
107
+ rootMargin: r = "0px",
108
+ threshold: p = 0,
109
+ window: f = L,
110
+ immediate: e = !0
111
+ } = u, s = j(() => f && "IntersectionObserver" in f), o = w(() => {
112
+ const h = g(n);
113
+ return C(h).map(I).filter(Z);
114
+ });
115
+ let a = F;
116
+ const c = E(e), d = s.value ? P(
117
+ () => [o.value, I(l), c.value],
118
+ ([h, A]) => {
119
+ if (a(), !c.value || !h.length)
120
+ return;
121
+ const x = new IntersectionObserver(
122
+ t,
123
+ {
124
+ root: I(A),
125
+ rootMargin: r,
126
+ threshold: p
127
+ }
128
+ );
129
+ h.forEach((b) => b && x.observe(b)), a = () => {
130
+ x.disconnect(), a = F;
131
+ };
132
+ },
133
+ { immediate: e, flush: "post" }
134
+ ) : F, m = () => {
135
+ a(), d(), c.value = !1;
136
+ };
137
+ return D(m), {
138
+ isSupported: s,
139
+ isActive: c,
140
+ pause() {
141
+ a(), c.value = !1;
142
+ },
143
+ resume() {
144
+ c.value = !0;
145
+ },
146
+ stop: m
147
+ };
148
+ }
149
+ const K = 1;
150
+ function ge(n, t = {}) {
151
+ const {
152
+ throttle: u = 0,
153
+ idle: l = 200,
154
+ onStop: r = F,
155
+ onScroll: p = F,
156
+ offset: f = {
157
+ left: 0,
158
+ right: 0,
159
+ top: 0,
160
+ bottom: 0
161
+ },
162
+ eventListenerOptions: e = {
163
+ capture: !1,
164
+ passive: !0
165
+ },
166
+ behavior: s = "auto",
167
+ window: o = L,
168
+ onError: a = (i) => {
169
+ console.error(i);
170
+ }
171
+ } = t, c = E(0), d = E(0), m = w({
172
+ get() {
173
+ return c.value;
174
+ },
175
+ set(i) {
176
+ A(i, void 0);
177
+ }
178
+ }), h = w({
179
+ get() {
180
+ return d.value;
181
+ },
182
+ set(i) {
183
+ A(void 0, i);
184
+ }
7
185
  });
186
+ function A(i, T) {
187
+ var y, _, V, z;
188
+ if (!o)
189
+ return;
190
+ const O = g(n);
191
+ if (!O)
192
+ return;
193
+ (V = O instanceof Document ? o.document.body : O) == null || V.scrollTo({
194
+ top: (y = g(T)) != null ? y : h.value,
195
+ left: (_ = g(i)) != null ? _ : m.value,
196
+ behavior: g(s)
197
+ });
198
+ const W = ((z = O == null ? void 0 : O.document) == null ? void 0 : z.documentElement) || (O == null ? void 0 : O.documentElement) || O;
199
+ m != null && (c.value = W.scrollLeft), h != null && (d.value = W.scrollTop);
200
+ }
201
+ const x = E(!1), b = G({
202
+ left: !0,
203
+ right: !1,
204
+ top: !0,
205
+ bottom: !1
206
+ }), S = G({
207
+ left: !1,
208
+ right: !1,
209
+ top: !1,
210
+ bottom: !1
211
+ }), N = (i) => {
212
+ x.value && (x.value = !1, S.left = !1, S.right = !1, S.top = !1, S.bottom = !1, r(i));
213
+ }, R = ne(N, u + l), v = (i) => {
214
+ var T;
215
+ if (!o)
216
+ return;
217
+ const y = ((T = i == null ? void 0 : i.document) == null ? void 0 : T.documentElement) || (i == null ? void 0 : i.documentElement) || I(i), { display: _, flexDirection: V, direction: z } = getComputedStyle(y), O = z === "rtl" ? -1 : 1, W = y.scrollLeft;
218
+ S.left = W < c.value, S.right = W > c.value;
219
+ const Y = Math.abs(W * O) <= (f.left || 0), k = Math.abs(W * O) + y.clientWidth >= y.scrollWidth - (f.right || 0) - K;
220
+ _ === "flex" && V === "row-reverse" ? (b.left = k, b.right = Y) : (b.left = Y, b.right = k), c.value = W;
221
+ let M = y.scrollTop;
222
+ i === o.document && !M && (M = o.document.body.scrollTop), S.top = M < d.value, S.bottom = M > d.value;
223
+ const Q = Math.abs(M) <= (f.top || 0), X = Math.abs(M) + y.clientHeight >= y.scrollHeight - (f.bottom || 0) - K;
224
+ _ === "flex" && V === "column-reverse" ? (b.top = X, b.bottom = Q) : (b.top = Q, b.bottom = X), d.value = M;
225
+ }, B = (i) => {
226
+ var T;
227
+ if (!o)
228
+ return;
229
+ const y = (T = i.target.documentElement) != null ? T : i.target;
230
+ v(y), x.value = !0, R(i), p(i);
231
+ };
232
+ return H(
233
+ n,
234
+ "scroll",
235
+ u ? q(B, u, !0, !1) : B,
236
+ e
237
+ ), U(() => {
238
+ try {
239
+ const i = g(n);
240
+ if (!i)
241
+ return;
242
+ v(i);
243
+ } catch (i) {
244
+ a(i);
245
+ }
246
+ }), H(
247
+ n,
248
+ "scrollend",
249
+ N,
250
+ e
251
+ ), {
252
+ x: m,
253
+ y: h,
254
+ isScrolling: x,
255
+ arrivedState: b,
256
+ directions: S,
257
+ measure() {
258
+ const i = g(n);
259
+ o && i && v(i);
260
+ }
261
+ };
262
+ }
263
+ function we(n, t) {
264
+ const u = J(n), l = w(() => Array.isArray(u.value) ? u.value : Object.keys(u.value)), r = J(l.value.indexOf(t ?? l.value[0])), p = w(() => a(r.value)), f = w(() => r.value === 0), e = w(() => r.value === l.value.length - 1), s = w(() => l.value[r.value + 1]), o = w(() => l.value[r.value - 1]);
265
+ function a(v) {
266
+ return Array.isArray(u.value) ? u.value[v] : u.value[l.value[v]];
267
+ }
268
+ function c(v) {
269
+ if (l.value.includes(v))
270
+ return a(l.value.indexOf(v));
271
+ }
272
+ function d(v) {
273
+ l.value.includes(v) && (r.value = l.value.indexOf(v));
274
+ }
275
+ function m() {
276
+ e.value || r.value++;
277
+ }
278
+ function h() {
279
+ f.value || r.value--;
280
+ }
281
+ function A(v) {
282
+ R(v) && d(v);
283
+ }
284
+ function x(v) {
285
+ return l.value.indexOf(v) === r.value + 1;
286
+ }
287
+ function b(v) {
288
+ return l.value.indexOf(v) === r.value - 1;
289
+ }
290
+ function S(v) {
291
+ return l.value.indexOf(v) === r.value;
292
+ }
293
+ function N(v) {
294
+ return r.value < l.value.indexOf(v);
295
+ }
296
+ function R(v) {
297
+ return r.value > l.value.indexOf(v);
298
+ }
299
+ return {
300
+ steps: u,
301
+ stepNames: l,
302
+ index: r,
303
+ current: p,
304
+ next: s,
305
+ previous: o,
306
+ isFirst: f,
307
+ isLast: e,
308
+ at: a,
309
+ get: c,
310
+ goTo: d,
311
+ goToNext: m,
312
+ goToPrevious: h,
313
+ goBackTo: A,
314
+ isNext: x,
315
+ isPrevious: b,
316
+ isCurrent: S,
317
+ isBefore: N,
318
+ isAfter: R
319
+ };
320
+ }
321
+ function ye(n = {}) {
322
+ const {
323
+ window: t = L,
324
+ initialWidth: u = Number.POSITIVE_INFINITY,
325
+ initialHeight: l = Number.POSITIVE_INFINITY,
326
+ listenOrientation: r = !0,
327
+ includeScrollbar: p = !0,
328
+ type: f = "inner"
329
+ } = n, e = E(u), s = E(l), o = () => {
330
+ if (t)
331
+ if (f === "outer")
332
+ e.value = t.outerWidth, s.value = t.outerHeight;
333
+ else if (f === "visual" && t.visualViewport) {
334
+ const { width: c, height: d, scale: m } = t.visualViewport;
335
+ e.value = Math.round(c * m), s.value = Math.round(d * m);
336
+ } else p ? (e.value = t.innerWidth, s.value = t.innerHeight) : (e.value = t.document.documentElement.clientWidth, s.value = t.document.documentElement.clientHeight);
337
+ };
338
+ o(), U(o);
339
+ const a = { passive: !0 };
340
+ if (H("resize", o, a), t && f === "visual" && t.visualViewport && H(t.visualViewport, "resize", o, a), r) {
341
+ const c = de("(orientation: portrait)");
342
+ P(c, () => o());
343
+ }
344
+ return { width: e, height: s };
8
345
  }
9
346
  export {
10
- u as useRoute
347
+ Ee as bypassFilter,
348
+ xe as createFilterWrapper,
349
+ We as debounceFilter,
350
+ Te as debouncedWatch,
351
+ L as defaultWindow,
352
+ Me as getLifeCycleTarget,
353
+ oe as injectLocal,
354
+ ee as isClient,
355
+ le as isObject,
356
+ F as noop,
357
+ Z as notNullish,
358
+ $ as pxValue,
359
+ Ie as throttleFilter,
360
+ C as toArray,
361
+ U as tryOnMounted,
362
+ D as tryOnScopeDispose,
363
+ I as unrefElement,
364
+ ne as useDebounceFn,
365
+ H as useEventListener,
366
+ be as useIntersectionObserver,
367
+ de as useMediaQuery,
368
+ ce as useMounted,
369
+ me as useResizeObserver,
370
+ fe as useSSRWidth,
371
+ ge as useScroll,
372
+ we as useStepper,
373
+ j as useSupported,
374
+ q as useThrottleFn,
375
+ ye as useWindowSize,
376
+ Ae as watchDebounced,
377
+ te as watchImmediate,
378
+ Le as watchWithFilter
11
379
  };
package/dist/index138.js CHANGED
@@ -1,8 +1,11 @@
1
- import { getCurrentInstance as e } from "vue";
2
- function n() {
3
- var r, t;
4
- return (t = (r = e()) == null ? void 0 : r.proxy) == null ? void 0 : t.$router;
5
- }
1
+ import { urlAlphabet as l } from "./index208.js";
2
+ let o = (t = 21) => {
3
+ let e = "", r = crypto.getRandomValues(new Uint8Array(t |= 0));
4
+ for (; t--; )
5
+ e += l[r[t] & 63];
6
+ return e;
7
+ };
6
8
  export {
7
- n as useRouter
9
+ o as nanoid,
10
+ l as urlAlphabet
8
11
  };
package/dist/index139.js CHANGED
@@ -1,5 +1,27 @@
1
- import o from "./index13.js";
2
- /* empty css */
1
+ import { isArray as p } from "./index282.js";
2
+ import { isPlainObject as c } from "./index283.js";
3
+ function i(e, n, u, l, r) {
4
+ const o = {}.propertyIsEnumerable.call(l, n) ? "enumerable" : "nonenumerable";
5
+ o === "enumerable" && (e[n] = u), r && o === "nonenumerable" && Object.defineProperty(e, n, {
6
+ value: u,
7
+ enumerable: !1,
8
+ writable: !0,
9
+ configurable: !0
10
+ });
11
+ }
12
+ function b(e, n = {}) {
13
+ if (p(e))
14
+ return e.map((r) => b(r, n));
15
+ if (!c(e))
16
+ return e;
17
+ const u = Object.getOwnPropertyNames(e), l = Object.getOwnPropertySymbols(e);
18
+ return [...u, ...l].reduce((r, o) => {
19
+ if (p(n.props) && !n.props.includes(o))
20
+ return r;
21
+ const m = e[o], s = b(m, n);
22
+ return i(r, o, s, e, n.nonenumerable), r;
23
+ }, {});
24
+ }
3
25
  export {
4
- o as default
26
+ b as copy
5
27
  };
package/dist/index140.js CHANGED
@@ -1,5 +1,4 @@
1
- import o from "./index15.js";
2
- /* empty css */
1
+ const r = (e) => !(typeof e > "u" || e === null);
3
2
  export {
4
- o as default
3
+ r as isNotNil
5
4
  };
package/dist/index141.js CHANGED
@@ -1,5 +1,7 @@
1
- import o from "./index17.js";
2
- /* empty css */
1
+ const u = (e, s) => Object.keys(e).reduce(
2
+ (t, r) => (t[r] = s(e[r], r, e), t),
3
+ {}
4
+ );
3
5
  export {
4
- o as default
6
+ u as mapValues
5
7
  };
package/dist/index142.js CHANGED
@@ -1,5 +1,11 @@
1
- import o from "./index19.js";
2
- /* empty css */
1
+ import { getCurrentInstance as o, computed as r } from "vue";
2
+ function u() {
3
+ const t = o();
4
+ return r(() => {
5
+ var e;
6
+ return (e = t == null ? void 0 : t.proxy) == null ? void 0 : e.$route;
7
+ });
8
+ }
3
9
  export {
4
- o as default
10
+ u as useRoute
5
11
  };
package/dist/index143.js CHANGED
@@ -1,5 +1,8 @@
1
- import o from "./index21.js";
2
- /* empty css */
1
+ import { getCurrentInstance as e } from "vue";
2
+ function n() {
3
+ var r, t;
4
+ return (t = (r = e()) == null ? void 0 : r.proxy) == null ? void 0 : t.$router;
5
+ }
3
6
  export {
4
- o as default
7
+ n as useRouter
5
8
  };
package/dist/index144.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index23.js";
1
+ import o from "./index13.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index145.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index25.js";
1
+ import o from "./index15.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index146.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index27.js";
1
+ import o from "./index17.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index147.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index29.js";
1
+ import o from "./index19.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index148.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index31.js";
1
+ import o from "./index21.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index149.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index33.js";
1
+ import o from "./index23.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index15.js CHANGED
@@ -1,18 +1,18 @@
1
- import { defineComponent as H, ref as u, computed as D, openBlock as E, createElementBlock as I, Fragment as M, createVNode as p, normalizeClass as _, withCtx as n, renderSlot as r, unref as s, createElementVNode as c, normalizeStyle as F, withModifiers as T, withDirectives as q, mergeProps as L, nextTick as N } from "vue";
2
- import { isHex as O } from "./index208.js";
3
- import { isNotNil as z } from "./index135.js";
4
- import { useFocusTrap as S } from "./index209.js";
1
+ import { defineComponent as H, ref as u, computed as D, createElementBlock as E, openBlock as I, Fragment as M, createVNode as p, normalizeClass as _, withCtx as n, unref as s, withDirectives as F, createElementVNode as c, mergeProps as T, renderSlot as r, withModifiers as q, normalizeStyle as L, nextTick as N } from "vue";
2
+ import { isHex as O } from "./index209.js";
3
+ import { isNotNil as z } from "./index140.js";
4
+ import { useFocusTrap as S } from "./index210.js";
5
5
  import { useId as A } from "./index8.js";
6
- import { vMaska as K } from "./index210.js";
7
- import P from "./index211.js";
6
+ import { vMaska as K } from "./index211.js";
7
+ import P from "./index212.js";
8
8
  /* empty css */
9
- import R from "./index213.js";
9
+ import R from "./index214.js";
10
10
  /* empty css */
11
- import U from "./index215.js";
11
+ import U from "./index216.js";
12
12
  /* empty css */
13
- import j from "./index217.js";
14
- import { wait as G } from "./index130.js";
15
- import { useLocale as J } from "./index218.js";
13
+ import j from "./index218.js";
14
+ import { wait as G } from "./index135.js";
15
+ import { useLocale as J } from "./index219.js";
16
16
  const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus", "disabled", "name", "placeholder", "readonly", "required", "value"], W = ["aria-label"], X = { class: "bb-common-input-inner-container__suffix" }, ce = /* @__PURE__ */ H({
17
17
  __name: "BaseColorInput",
18
18
  props: {
@@ -90,7 +90,7 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
90
90
  }), !0),
91
91
  returnFocusOnDeactivate: !0
92
92
  });
93
- return (e, a) => (E(), I(M, null, [
93
+ return (e, a) => (I(), E(M, null, [
94
94
  p(j, {
95
95
  class: _(g.value)
96
96
  }, {
@@ -120,9 +120,9 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
120
120
  ref: "indicator",
121
121
  "aria-label": s(k)("colorInput.paletteLabel").value,
122
122
  class: "bb-base-color-input__indicator",
123
- style: F({ backgroundColor: t.modelValue ?? void 0 }),
123
+ style: L({ backgroundColor: t.modelValue ?? void 0 }),
124
124
  type: "button",
125
- onClick: T(w, ["stop"])
125
+ onClick: q(w, ["stop"])
126
126
  }, null, 12, W),
127
127
  r(e.$slots, "append", {}, () => [
128
128
  c("span", X, [
@@ -131,7 +131,7 @@ const Q = ["id", "aria-describedby", "aria-invalid", "autocomplete", "autofocus"
131
131
  ])
132
132
  ]),
133
133
  default: n(() => [
134
- q(c("input", L(h, {
134
+ F(c("input", T(h, {
135
135
  id: s(m),
136
136
  "aria-describedby": e.ariaDescribedby,
137
137
  "aria-invalid": e.hasErrors ? !0 : void 0,
package/dist/index150.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index35.js";
1
+ import o from "./index25.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index151.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index37.js";
1
+ import o from "./index27.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index152.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index39.js";
1
+ import o from "./index29.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index153.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index41.js";
1
+ import o from "./index31.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index154.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index43.js";
1
+ import o from "./index33.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index155.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index45.js";
1
+ import o from "./index35.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index156.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index47.js";
1
+ import o from "./index37.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index157.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index49.js";
1
+ import o from "./index39.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index158.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index51.js";
1
+ import o from "./index41.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index159.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index53.js";
1
+ import o from "./index43.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index160.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index55.js";
1
+ import o from "./index45.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default
package/dist/index161.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index57.js";
1
+ import o from "./index47.js";
2
2
  /* empty css */
3
3
  export {
4
4
  o as default