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/index209.js CHANGED
@@ -1,43 +1,6 @@
1
- import { unrefElement as A } from "./index132.js";
2
- import { toValue as n, notNullish as g, tryOnScopeDispose as y } from "./index206.js";
3
- import { ref as i, computed as D, watch as F } from "vue";
4
- import { createFocusTrap as T } from "./index293.js";
5
- function E(f, a = {}) {
6
- let e;
7
- const { immediate: l, ...p } = a, r = i(!1), s = i(!1), c = (t) => e && e.activate(t), u = (t) => e && e.deactivate(t), v = () => {
8
- e && (e.pause(), s.value = !0);
9
- }, m = () => {
10
- e && (e.unpause(), s.value = !1);
11
- }, d = D(() => {
12
- const t = n(f);
13
- return (Array.isArray(t) ? t : [t]).map((h) => {
14
- const o = n(h);
15
- return typeof o == "string" ? o : A(o);
16
- }).filter(g);
17
- });
18
- return F(
19
- d,
20
- (t) => {
21
- t.length && (e = T(t, {
22
- ...p,
23
- onActivate() {
24
- r.value = !0, a.onActivate && a.onActivate();
25
- },
26
- onDeactivate() {
27
- r.value = !1, a.onDeactivate && a.onDeactivate();
28
- }
29
- }), l && c());
30
- },
31
- { flush: "post" }
32
- ), y(() => u()), {
33
- hasFocus: r,
34
- isPaused: s,
35
- activate: c,
36
- deactivate: u,
37
- pause: v,
38
- unpause: m
39
- };
1
+ function x(e) {
2
+ return /^#([A-Fa-f0-9]{6})$/.test(e);
40
3
  }
41
4
  export {
42
- E as useFocusTrap
5
+ x as isHex
43
6
  };
package/dist/index21.js CHANGED
@@ -1,26 +1,26 @@
1
- import { defineComponent as E, watchPostEffect as W, ref as v, watch as I, openBlock as c, createElementBlock as w, createVNode as n, createElementVNode as r, unref as i, withCtx as u, createTextVNode as T, toDisplayString as m, createSlots as j, renderList as H, renderSlot as R, normalizeProps as Z, guardReactiveProps as q, createBlock as _, createCommentVNode as V } from "vue";
1
+ import { defineComponent as E, watchPostEffect as W, ref as v, watch as I, createElementBlock as w, openBlock as c, createVNode as n, createElementVNode as r, unref as i, withCtx as u, createTextVNode as T, toDisplayString as m, createSlots as j, renderList as H, renderSlot as R, normalizeProps as Z, guardReactiveProps as q, createBlock as _, createCommentVNode as V } from "vue";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import { _config as C } from "./index4.js";
5
5
  import { useId as F } from "./index8.js";
6
6
  import f from "./index13.js";
7
7
  /* empty css */
8
- import s from "./index219.js";
9
- import G from "./index220.js";
10
- import J from "./index221.js";
11
- import K from "./index222.js";
12
- import Q from "./index223.js";
13
- import X from "./index224.js";
14
- import ee from "./index225.js";
15
- import { hash as M } from "./index226.js";
16
- import { last as ae } from "./index227.js";
17
- import { useLogger as te } from "./index228.js";
18
- import oe from "./index229.js";
19
- import le from "./index230.js";
20
- import re from "./index231.js";
21
- import B from "./index232.js";
22
- import se from "./index233.js";
23
- import { useLocale as de } from "./index218.js";
8
+ import s from "./index220.js";
9
+ import G from "./index221.js";
10
+ import J from "./index222.js";
11
+ import K from "./index223.js";
12
+ import Q from "./index224.js";
13
+ import X from "./index225.js";
14
+ import ee from "./index226.js";
15
+ import { hash as M } from "./index227.js";
16
+ import { last as ae } from "./index228.js";
17
+ import { useLogger as te } from "./index229.js";
18
+ import oe from "./index230.js";
19
+ import le from "./index231.js";
20
+ import re from "./index232.js";
21
+ import B from "./index233.js";
22
+ import se from "./index234.js";
23
+ import { useLocale as de } from "./index219.js";
24
24
  const ie = { class: "bb-base-date-picker" }, ne = { class: "bb-base-date-picker__body" }, ue = { class: "bb-base-date-picker__controls" }, me = { class: "sr-only" }, pe = { class: "sr-only" }, ce = { class: "sr-only" }, fe = {
25
25
  style: { transform: "rotate(180deg)" },
26
26
  viewBox: "0 0 24 24",
package/dist/index210.js CHANGED
@@ -1,22 +1,43 @@
1
- import { MaskInput as r } from "./index266.js";
2
- const u = /* @__PURE__ */ new WeakMap(), p = (a, n) => {
3
- if (a.arg == null || a.instance == null) return;
4
- const s = "setup" in a.instance.$.type;
5
- a.arg in a.instance ? a.instance[a.arg] = n : s && console.warn("Maska: please expose `%s` using defineExpose", a.arg);
6
- }, k = (a, n) => {
7
- var s;
8
- const t = a instanceof HTMLInputElement ? a : a.querySelector("input");
9
- if (t == null || (t == null ? void 0 : t.type) === "file") return;
10
- let e = {};
11
- if (n.value != null && (e = typeof n.value == "string" ? { mask: n.value } : { ...n.value }), n.arg != null) {
12
- const l = (o) => {
13
- const i = n.modifiers.unmasked ? o.unmasked : n.modifiers.completed ? o.completed : o.masked;
14
- p(n, i);
15
- };
16
- e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
17
- }
18
- u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
19
- };
1
+ import { unrefElement as g } from "./index137.js";
2
+ import { toArray as A, notNullish as D, tryOnScopeDispose as y } from "./index206.js";
3
+ import { createFocusTrap as F } from "./index284.js";
4
+ import { shallowRef as n, computed as T, toValue as i, watch as w } from "vue";
5
+ function N(f, a = {}) {
6
+ let t;
7
+ const { immediate: l, ...p } = a, o = n(!1), r = n(!1), c = (e) => t && t.activate(e), u = (e) => t && t.deactivate(e), v = () => {
8
+ t && (t.pause(), r.value = !0);
9
+ }, m = () => {
10
+ t && (t.unpause(), r.value = !1);
11
+ }, h = T(() => {
12
+ const e = i(f);
13
+ return A(e).map((d) => {
14
+ const s = i(d);
15
+ return typeof s == "string" ? s : g(s);
16
+ }).filter(D);
17
+ });
18
+ return w(
19
+ h,
20
+ (e) => {
21
+ e.length && (t = F(e, {
22
+ ...p,
23
+ onActivate() {
24
+ o.value = !0, a.onActivate && a.onActivate();
25
+ },
26
+ onDeactivate() {
27
+ o.value = !1, a.onDeactivate && a.onDeactivate();
28
+ }
29
+ }), l && c());
30
+ },
31
+ { flush: "post" }
32
+ ), y(() => u()), {
33
+ hasFocus: o,
34
+ isPaused: r,
35
+ activate: c,
36
+ deactivate: u,
37
+ pause: v,
38
+ unpause: m
39
+ };
40
+ }
20
41
  export {
21
- k as vMaska
42
+ N as useFocusTrap
22
43
  };
package/dist/index211.js CHANGED
@@ -1,96 +1,22 @@
1
- import { defineComponent as h, toRef as y, ref as o, computed as n, watch as x, openBlock as b, createBlock as $, withCtx as A, createElementBlock as k, mergeProps as l, createElementVNode as f, renderSlot as B } from "vue";
2
- import C from "./index252.js";
3
- import c from "./index324.js";
4
- import { useFloating as D, arrow as E } from "./index258.js";
5
- import { autoUpdate as P, flip as F, offset as M, shift as S } from "./index265.js";
6
- const W = /* @__PURE__ */ h({
7
- __name: "CommonFloating",
8
- props: {
9
- arrowPadding: {},
10
- eager: { type: Boolean },
11
- offset: {},
12
- padding: {},
13
- placement: {},
14
- theme: { default: "default" },
15
- transitionDuration: {},
16
- containerAttributes: { default: () => ({}) },
17
- bubbleAttributes: {},
18
- wrapper: {},
19
- baseClass: {},
20
- open: { type: Boolean },
21
- teleportTarget: {}
22
- },
23
- setup(d) {
24
- const e = d, m = y(e, "wrapper"), i = o(), s = o(), p = o(), { floatingStyles: g, placement: w, middlewareData: a } = D(
25
- i,
26
- s,
27
- {
28
- placement: e.placement,
29
- whileElementsMounted: P,
30
- middleware: [
31
- F(),
32
- M(e.offset),
33
- S({ padding: e.padding }),
34
- E({
35
- element: p,
36
- padding: e.arrowPadding
37
- })
38
- ]
39
- }
40
- ), _ = n(() => {
41
- if (a.value.arrow) {
42
- const { x: t, y: r } = a.value.arrow;
43
- return {
44
- style: {
45
- left: `${t}px`,
46
- top: `${r}px`
47
- }
48
- };
49
- }
50
- }), u = n(() => {
51
- var t, r;
52
- return c({}, e.containerAttributes, {
53
- class: {
54
- "bb-floating": !0,
55
- [`bb-floating--${w.value}`]: !0,
56
- [`${e.baseClass}__bubble-container--${e.theme}`]: e.theme,
57
- "bb-floating--hidden": !e.open,
58
- "bb-floating--open": e.open
59
- },
60
- style: {
61
- ...g.value,
62
- "--transition-duration": `${e.transitionDuration}ms`,
63
- "--arrow-offset-x": Math.round(((r = (t = a.value) == null ? void 0 : t.arrow) == null ? void 0 : r.x) ?? 0) + "px"
64
- },
65
- tabindex: e.open ? void 0 : -1
66
- });
67
- }), v = n(() => c({}, e.bubbleAttributes, {}));
68
- return x(
69
- () => e.open,
70
- (t) => {
71
- t && (i.value = m.value);
72
- }
73
- ), (t, r) => (b(), $(C, { target: t.teleportTarget }, {
74
- default: A(() => [
75
- (b(), k("span", l(u.value, {
76
- key: u.value.id,
77
- ref_key: "content",
78
- ref: s
79
- }), [
80
- f("span", l({
81
- ref_key: "bubblearrow",
82
- ref: p,
83
- class: "bb-floating__arrow"
84
- }, _.value), null, 16),
85
- f("span", l({ class: "bb-floating__bubble" }, v.value), [
86
- B(t.$slots, "default")
87
- ], 16)
88
- ], 16))
89
- ]),
90
- _: 3
91
- }, 8, ["target"]));
1
+ import { MaskInput as r } from "./index265.js";
2
+ const u = /* @__PURE__ */ new WeakMap(), p = (a, n) => {
3
+ if (a.arg == null || a.instance == null) return;
4
+ const s = "setup" in a.instance.$.type;
5
+ a.arg in a.instance ? a.instance[a.arg] = n : s && console.warn("Maska: please expose `%s` using defineExpose", a.arg);
6
+ }, k = (a, n) => {
7
+ var s;
8
+ const t = a instanceof HTMLInputElement ? a : a.querySelector("input");
9
+ if (t == null || (t == null ? void 0 : t.type) === "file") return;
10
+ let e = {};
11
+ if (n.value != null && (e = typeof n.value == "string" ? { mask: n.value } : { ...n.value }), n.arg != null) {
12
+ const l = (o) => {
13
+ const i = n.modifiers.unmasked ? o.unmasked : n.modifiers.completed ? o.completed : o.masked;
14
+ p(n, i);
15
+ };
16
+ e.onMaska = e.onMaska == null ? l : Array.isArray(e.onMaska) ? [...e.onMaska, l] : [e.onMaska, l];
92
17
  }
93
- });
18
+ u.has(t) ? (s = u.get(t)) == null || s.update(e) : u.set(t, new r(t, e));
19
+ };
94
20
  export {
95
- W as default
21
+ k as vMaska
96
22
  };
@@ -0,0 +1,96 @@
1
+ import { defineComponent as h, toRef as y, ref as o, computed as n, watch as x, createBlock as $, openBlock as b, withCtx as A, createElementBlock as k, mergeProps as l, createElementVNode as f, renderSlot as B } from "vue";
2
+ import C from "./index237.js";
3
+ import c from "./index344.js";
4
+ import { useFloating as D, arrow as E } from "./index252.js";
5
+ import { flip as P, offset as F, shift as M, autoUpdate as S } from "./index260.js";
6
+ const W = /* @__PURE__ */ h({
7
+ __name: "CommonFloating",
8
+ props: {
9
+ arrowPadding: {},
10
+ eager: { type: Boolean },
11
+ offset: {},
12
+ padding: {},
13
+ placement: {},
14
+ theme: { default: "default" },
15
+ transitionDuration: {},
16
+ containerAttributes: { default: () => ({}) },
17
+ bubbleAttributes: {},
18
+ wrapper: {},
19
+ baseClass: {},
20
+ open: { type: Boolean },
21
+ teleportTarget: {}
22
+ },
23
+ setup(d) {
24
+ const e = d, m = y(e, "wrapper"), i = o(), s = o(), p = o(), { floatingStyles: g, placement: w, middlewareData: a } = D(
25
+ i,
26
+ s,
27
+ {
28
+ placement: e.placement,
29
+ whileElementsMounted: S,
30
+ middleware: [
31
+ P(),
32
+ F(e.offset),
33
+ M({ padding: e.padding }),
34
+ E({
35
+ element: p,
36
+ padding: e.arrowPadding
37
+ })
38
+ ]
39
+ }
40
+ ), _ = n(() => {
41
+ if (a.value.arrow) {
42
+ const { x: t, y: r } = a.value.arrow;
43
+ return {
44
+ style: {
45
+ left: `${t}px`,
46
+ top: `${r}px`
47
+ }
48
+ };
49
+ }
50
+ }), u = n(() => {
51
+ var t, r;
52
+ return c({}, e.containerAttributes, {
53
+ class: {
54
+ "bb-floating": !0,
55
+ [`bb-floating--${w.value}`]: !0,
56
+ [`${e.baseClass}__bubble-container--${e.theme}`]: e.theme,
57
+ "bb-floating--hidden": !e.open,
58
+ "bb-floating--open": e.open
59
+ },
60
+ style: {
61
+ ...g.value,
62
+ "--transition-duration": `${e.transitionDuration}ms`,
63
+ "--arrow-offset-x": Math.round(((r = (t = a.value) == null ? void 0 : t.arrow) == null ? void 0 : r.x) ?? 0) + "px"
64
+ },
65
+ tabindex: e.open ? void 0 : -1
66
+ });
67
+ }), v = n(() => c({}, e.bubbleAttributes, {}));
68
+ return x(
69
+ () => e.open,
70
+ (t) => {
71
+ t && (i.value = m.value);
72
+ }
73
+ ), (t, r) => (b(), $(C, { target: t.teleportTarget }, {
74
+ default: A(() => [
75
+ (b(), k("span", l(u.value, {
76
+ key: u.value.id,
77
+ ref_key: "content",
78
+ ref: s
79
+ }), [
80
+ f("span", l({
81
+ ref_key: "bubblearrow",
82
+ ref: p,
83
+ class: "bb-floating__arrow"
84
+ }, _.value), null, 16),
85
+ f("span", l({ class: "bb-floating__bubble" }, v.value), [
86
+ B(t.$slots, "default")
87
+ ], 16)
88
+ ], 16))
89
+ ]),
90
+ _: 3
91
+ }, 8, ["target"]));
92
+ }
93
+ });
94
+ export {
95
+ W as default
96
+ };
@@ -1,9 +1,9 @@
1
- import { defineComponent as j, ref as c, onMounted as J, watch as Q, openBlock as _, createElementBlock as R, createElementVNode as w, createTextVNode as B, toDisplayString as C, unref as x, createCommentVNode as K } from "vue";
2
- import { useResizeObserver as Z } from "./index132.js";
3
- import { hexToRgb as O } from "./index328.js";
4
- import { getHueFromRGB as F } from "./index329.js";
5
- import { hslToHex as y } from "./index330.js";
6
- import { useLocale as ee } from "./index218.js";
1
+ import { defineComponent as j, ref as c, onMounted as J, watch as Q, createElementBlock as _, openBlock as R, createElementVNode as w, createTextVNode as B, createCommentVNode as K, toDisplayString as C, unref as x } from "vue";
2
+ import { useResizeObserver as Z } from "./index137.js";
3
+ import { hexToRgb as O } from "./index335.js";
4
+ import { getHueFromRGB as F } from "./index336.js";
5
+ import { hslToHex as y } from "./index337.js";
6
+ import { useLocale as ee } from "./index219.js";
7
7
  const te = {
8
8
  id: "mainCanvasDesc",
9
9
  "aria-live": "polite",
@@ -157,7 +157,7 @@ const te = {
157
157
  const t = F(...O(e));
158
158
  d.value = y(t, 100, 50), u.value.x = t / 360 * (((a = r.value) == null ? void 0 : a.width) ?? 0);
159
159
  }
160
- return (e, t) => (_(), R("div", {
160
+ return (e, t) => (R(), _("div", {
161
161
  ref_key: "paletteRef",
162
162
  ref: P,
163
163
  "aria-label": "Color Picker",
@@ -177,7 +177,7 @@ const te = {
177
177
  }, null, 544),
178
178
  w("p", te, [
179
179
  B(C(x(h)("colorInput.mainCanvasDesc")) + " ", 1),
180
- o.value ? (_(), R("span", ae, C(x(h)("colorInput.mainCanvasSelectedColor", o.value)), 1)) : K("", !0)
180
+ o.value ? (R(), _("span", ae, C(x(h)("colorInput.mainCanvasSelectedColor", o.value)), 1)) : K("", !0)
181
181
  ]),
182
182
  w("canvas", {
183
183
  ref_key: "hueCanvasRef",
@@ -192,7 +192,7 @@ const te = {
192
192
  }, null, 544),
193
193
  w("p", ne, [
194
194
  B(C(x(h)("colorInput.hueCanvasDesc")) + " ", 1),
195
- d.value ? (_(), R("span", oe, C(x(h)("colorInput.hueCanvasSelectedHue", d.value)), 1)) : K("", !0)
195
+ d.value ? (R(), _("span", oe, C(x(h)("colorInput.hueCanvasSelectedHue", d.value)), 1)) : K("", !0)
196
196
  ])
197
197
  ], 512));
198
198
  }
@@ -1,12 +1,12 @@
1
- import { defineComponent as _, ref as $, openBlock as r, createElementBlock as k, normalizeClass as y, renderSlot as n, createElementVNode as c, createBlock as s, unref as p, createCommentVNode as l, createVNode as i } from "vue";
1
+ import { defineComponent as _, ref as $, createElementBlock as k, openBlock as r, normalizeClass as y, renderSlot as n, createBlock as c, createCommentVNode as s, createVNode as p, createElementVNode as l, unref as i } from "vue";
2
2
  /* empty css */
3
3
  /* empty css */
4
- import m from "./index127.js";
4
+ import m from "./index85.js";
5
+ /* empty css */
6
+ import C from "./index113.js";
5
7
  /* empty css */
6
- import C from "./index129.js";
7
- /* empty css */
8
- import h from "./index321.js";
9
- import B from "./index322.js";
8
+ import h from "./index339.js";
9
+ import B from "./index340.js";
10
10
  /* empty css */
11
11
  const v = { class: "bb-common-input-inner-container__prefix" }, I = { class: "bb-common-input-inner-container__suffix" }, A = /* @__PURE__ */ _({
12
12
  __name: "CommonInputInnerContainer",
@@ -33,30 +33,30 @@ const v = { class: "bb-common-input-inner-container__prefix" }, I = { class: "bb
33
33
  onClick: a
34
34
  }, [
35
35
  n(e.$slots, "prepend", {}, () => [
36
- c("span", v, [
36
+ l("span", v, [
37
37
  n(e.$slots, "prefix")
38
38
  ])
39
39
  ]),
40
- e.$props["prepend:icon"] ? (r(), s(p(m), {
40
+ e.$props["prepend:icon"] ? (r(), c(i(m), {
41
41
  key: 0,
42
42
  class: "bb-common-input-inner-container__prepend-icon",
43
43
  type: e.$props["prepend:icon"]
44
- }, null, 8, ["type"])) : l("", !0),
44
+ }, null, 8, ["type"])) : s("", !0),
45
45
  n(e.$slots, "default"),
46
- i(B, {
46
+ p(B, {
47
47
  "aria-hidden": !e.clearable,
48
48
  tabindex: e.clearable ? 0 : -1,
49
49
  onClick: b
50
50
  }, null, 8, ["aria-hidden", "tabindex"]),
51
- e.$props["append:icon"] ? (r(), s(p(m), {
51
+ e.$props["append:icon"] ? (r(), c(i(m), {
52
52
  key: 1,
53
53
  class: "bb-common-input-inner-container__append-icon",
54
54
  type: e.$props["append:icon"]
55
- }, null, 8, ["type"])) : l("", !0),
56
- i(h),
57
- i(p(C)),
55
+ }, null, 8, ["type"])) : s("", !0),
56
+ p(h),
57
+ p(i(C)),
58
58
  n(e.$slots, "append", {}, () => [
59
- c("span", I, [
59
+ l("span", I, [
60
60
  n(e.$slots, "suffix")
61
61
  ])
62
62
  ])
package/dist/index218.js CHANGED
@@ -1,15 +1,15 @@
1
- import { locales as t } from "./index291.js";
2
- import { _config as m } from "./index4.js";
3
- import { get as c } from "./index292.js";
4
- import { readonly as l, computed as n } from "vue";
5
- const p = (o, ...r) => l(
6
- n(() => c(t[m.locale], o).replace(
7
- /\{(\d+)\}/g,
8
- (a, e) => r[e]
9
- ))
10
- ), d = () => ({
11
- t: p
12
- });
1
+ import { createElementBlock as t, openBlock as n, renderSlot as e } from "vue";
2
+ /* empty css */
3
+ import r from "./index289.js";
4
+ const s = {}, c = { class: "bb-common-input-outer-container" };
5
+ function p(o, a) {
6
+ return n(), t("span", c, [
7
+ e(o.$slots, "prepend-outer"),
8
+ e(o.$slots, "default"),
9
+ e(o.$slots, "append-outer")
10
+ ]);
11
+ }
12
+ const i = /* @__PURE__ */ r(s, [["render", p]]);
13
13
  export {
14
- d as useLocale
14
+ i as default
15
15
  };
package/dist/index219.js CHANGED
@@ -1,7 +1,15 @@
1
- import { getDefaultExportFromCjs as r } from "./index275.js";
2
- import { __require as o } from "./index274.js";
3
- var t = o();
4
- const s = /* @__PURE__ */ r(t);
1
+ import { locales as t } from "./index290.js";
2
+ import { _config as m } from "./index4.js";
3
+ import { get as c } from "./index291.js";
4
+ import { readonly as l, computed as n } from "vue";
5
+ const p = (o, ...r) => l(
6
+ n(() => c(t[m.locale], o).replace(
7
+ /\{(\d+)\}/g,
8
+ (a, e) => r[e]
9
+ ))
10
+ ), d = () => ({
11
+ t: p
12
+ });
5
13
  export {
6
- s as default
14
+ d as useLocale
7
15
  };
package/dist/index220.js CHANGED
@@ -1,18 +1,7 @@
1
- import { getDefaultExportFromCjs as f, commonjsGlobal as n } from "./index275.js";
2
- import { __module as e } from "./index277.js";
3
- (function(s, a) {
4
- (function(i, t) {
5
- s.exports = t();
6
- })(n, function() {
7
- return function(i, t) {
8
- t.prototype.isSameOrAfter = function(r, o) {
9
- return this.isSame(r, o) || this.isAfter(r, o);
10
- };
11
- };
12
- });
13
- })(e);
14
- var m = e.exports;
15
- const c = /* @__PURE__ */ f(m);
1
+ import { getDefaultExportFromCjs as r } from "./index316.js";
2
+ import { __require as o } from "./index292.js";
3
+ var t = o();
4
+ const s = /* @__PURE__ */ r(t);
16
5
  export {
17
- c as default
6
+ s as default
18
7
  };
package/dist/index221.js CHANGED
@@ -1,18 +1,7 @@
1
- import { getDefaultExportFromCjs as i, commonjsGlobal as n } from "./index275.js";
2
- import { __module as t } from "./index278.js";
3
- (function(s, a) {
4
- (function(f, o) {
5
- s.exports = o();
6
- })(n, function() {
7
- return function(f, o) {
8
- o.prototype.isSameOrBefore = function(e, r) {
9
- return this.isSame(e, r) || this.isBefore(e, r);
10
- };
11
- };
12
- });
13
- })(t);
14
- var m = t.exports;
15
- const c = /* @__PURE__ */ i(m);
1
+ import { getDefaultExportFromCjs as r } from "./index316.js";
2
+ import { __require as e } from "./index294.js";
3
+ var t = e();
4
+ const m = /* @__PURE__ */ r(t);
16
5
  export {
17
- c as default
6
+ m as default
18
7
  };
package/dist/index222.js CHANGED
@@ -1,21 +1,7 @@
1
- import { commonjsGlobal as i, getDefaultExportFromCjs as m } from "./index275.js";
2
- import { __module as _ } from "./index279.js";
3
- import { __require as s } from "./index274.js";
4
- (function(n, d) {
5
- (function(t, o) {
6
- n.exports = o(s());
7
- })(i, function(t) {
8
- function o(e) {
9
- return e && typeof e == "object" && "default" in e ? e : { default: e };
10
- }
11
- var a = o(t), r = { name: "it", weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), weekStart: 1, monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "tra %s", past: "%s fa", s: "qualche secondo", m: "un minuto", mm: "%d minuti", h: "un' ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, ordinal: function(e) {
12
- return e + "º";
13
- } };
14
- return a.default.locale(r, null, !0), r;
15
- });
16
- })(_);
17
- var u = _.exports;
18
- const p = /* @__PURE__ */ m(u);
1
+ import { getDefaultExportFromCjs as r } from "./index316.js";
2
+ import { __require as e } from "./index296.js";
3
+ var o = e();
4
+ const m = /* @__PURE__ */ r(o);
19
5
  export {
20
- p as default
6
+ m as default
21
7
  };
package/dist/index223.js CHANGED
@@ -1,17 +1,7 @@
1
- import { commonjsGlobal as a, getDefaultExportFromCjs as _ } from "./index275.js";
2
- import { __module as n } from "./index280.js";
3
- (function(o, s) {
4
- (function(r, e) {
5
- o.exports = e();
6
- })(a, function() {
7
- return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(r) {
8
- var e = ["th", "st", "nd", "rd"], t = r % 100;
9
- return "[" + r + (e[(t - 20) % 10] || e[t] || e[0]) + "]";
10
- } };
11
- });
12
- })(n);
13
- var u = n.exports;
14
- const p = /* @__PURE__ */ _(u);
1
+ import { getDefaultExportFromCjs as r } from "./index316.js";
2
+ import { __require as t } from "./index298.js";
3
+ var o = t();
4
+ const a = /* @__PURE__ */ r(o);
15
5
  export {
16
- p as default
6
+ a as default
17
7
  };
package/dist/index224.js CHANGED
@@ -1,21 +1,7 @@
1
- import { getDefaultExportFromCjs as p, commonjsGlobal as s } from "./index275.js";
2
- import { __module as n } from "./index281.js";
3
- (function(u, l) {
4
- (function(c, e) {
5
- u.exports = e();
6
- })(s, function() {
7
- return function(c, e, r) {
8
- r.updateLocale = function(f, o) {
9
- var t = r.Ls[f];
10
- if (t) return (o ? Object.keys(o) : []).forEach(function(a) {
11
- t[a] = o[a];
12
- }), t;
13
- };
14
- };
15
- });
16
- })(n);
17
- var i = n.exports;
18
- const x = /* @__PURE__ */ p(i);
1
+ import { getDefaultExportFromCjs as r } from "./index316.js";
2
+ import { __require as e } from "./index300.js";
3
+ var o = e();
4
+ const m = /* @__PURE__ */ r(o);
19
5
  export {
20
- x as default
6
+ m as default
21
7
  };