@soft-stech/bootsman-ui-shadcn 1.0.5-beta.2 → 1.0.5-beta.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. package/dist/bootsman-ui-shadcn100.js +1 -1
  2. package/dist/bootsman-ui-shadcn106.js +1 -1
  3. package/dist/bootsman-ui-shadcn122.js +2 -2
  4. package/dist/bootsman-ui-shadcn127.js +1 -1
  5. package/dist/bootsman-ui-shadcn139.js +1 -1
  6. package/dist/bootsman-ui-shadcn140.js +3 -3
  7. package/dist/bootsman-ui-shadcn141.js +1 -1
  8. package/dist/bootsman-ui-shadcn142.js +1 -1
  9. package/dist/bootsman-ui-shadcn143.js +1 -1
  10. package/dist/bootsman-ui-shadcn144.js +1 -1
  11. package/dist/bootsman-ui-shadcn145.js +1 -1
  12. package/dist/bootsman-ui-shadcn148.js +1 -1
  13. package/dist/bootsman-ui-shadcn150.js +1 -1
  14. package/dist/bootsman-ui-shadcn153.js +1 -1
  15. package/dist/bootsman-ui-shadcn158.js +1 -1
  16. package/dist/bootsman-ui-shadcn164.js +2 -2
  17. package/dist/bootsman-ui-shadcn165.js +1 -1
  18. package/dist/bootsman-ui-shadcn166.js +1 -1
  19. package/dist/bootsman-ui-shadcn167.js +1 -1
  20. package/dist/bootsman-ui-shadcn168.js +1 -1
  21. package/dist/bootsman-ui-shadcn169.js +1 -1
  22. package/dist/bootsman-ui-shadcn170.js +1 -1
  23. package/dist/bootsman-ui-shadcn171.js +1 -1
  24. package/dist/bootsman-ui-shadcn172.js +1 -1
  25. package/dist/bootsman-ui-shadcn173.js +1 -1
  26. package/dist/bootsman-ui-shadcn174.js +1 -1
  27. package/dist/bootsman-ui-shadcn175.js +1 -1
  28. package/dist/bootsman-ui-shadcn176.js +1 -1
  29. package/dist/bootsman-ui-shadcn177.js +1 -1
  30. package/dist/bootsman-ui-shadcn178.js +2 -20
  31. package/dist/bootsman-ui-shadcn179.js +1 -1
  32. package/dist/bootsman-ui-shadcn180.js +1 -1
  33. package/dist/bootsman-ui-shadcn181.js +1 -1
  34. package/dist/bootsman-ui-shadcn182.js +124 -2
  35. package/dist/bootsman-ui-shadcn183.js +519 -2
  36. package/dist/bootsman-ui-shadcn184.js +361 -2
  37. package/dist/bootsman-ui-shadcn185.js +2 -124
  38. package/dist/bootsman-ui-shadcn186.js +2 -519
  39. package/dist/bootsman-ui-shadcn187.js +2 -361
  40. package/dist/bootsman-ui-shadcn188.js +1 -1
  41. package/dist/bootsman-ui-shadcn189.js +1 -1
  42. package/dist/bootsman-ui-shadcn19.js +1 -1
  43. package/dist/bootsman-ui-shadcn190.js +1 -1
  44. package/dist/bootsman-ui-shadcn191.js +1 -1
  45. package/dist/bootsman-ui-shadcn192.js +1 -1
  46. package/dist/bootsman-ui-shadcn193.js +1 -1
  47. package/dist/bootsman-ui-shadcn194.js +1 -1
  48. package/dist/bootsman-ui-shadcn195.js +1 -1
  49. package/dist/bootsman-ui-shadcn196.js +1 -1
  50. package/dist/bootsman-ui-shadcn197.js +1 -1
  51. package/dist/bootsman-ui-shadcn198.js +1 -1
  52. package/dist/bootsman-ui-shadcn199.js +1 -1
  53. package/dist/bootsman-ui-shadcn200.js +1 -1
  54. package/dist/bootsman-ui-shadcn201.js +20 -2
  55. package/dist/bootsman-ui-shadcn202.js +1 -1
  56. package/dist/bootsman-ui-shadcn203.js +1 -1
  57. package/dist/bootsman-ui-shadcn204.js +1 -1
  58. package/dist/bootsman-ui-shadcn205.js +3 -2
  59. package/dist/bootsman-ui-shadcn206.js +1 -1
  60. package/dist/bootsman-ui-shadcn207.js +1 -1
  61. package/dist/bootsman-ui-shadcn208.js +1 -1
  62. package/dist/bootsman-ui-shadcn209.js +1 -1
  63. package/dist/bootsman-ui-shadcn210.js +1 -1
  64. package/dist/bootsman-ui-shadcn211.js +1 -1
  65. package/dist/bootsman-ui-shadcn212.js +1 -1
  66. package/dist/bootsman-ui-shadcn213.js +1 -1
  67. package/dist/bootsman-ui-shadcn214.js +1 -1
  68. package/dist/bootsman-ui-shadcn215.js +1 -1
  69. package/dist/bootsman-ui-shadcn216.js +1 -1
  70. package/dist/bootsman-ui-shadcn217.js +1 -1
  71. package/dist/bootsman-ui-shadcn218.js +1 -1
  72. package/dist/bootsman-ui-shadcn219.js +1 -1
  73. package/dist/bootsman-ui-shadcn220.js +1 -1
  74. package/dist/bootsman-ui-shadcn221.js +1 -1
  75. package/dist/bootsman-ui-shadcn222.js +1 -1
  76. package/dist/bootsman-ui-shadcn223.js +1 -1
  77. package/dist/bootsman-ui-shadcn224.js +17 -2
  78. package/dist/bootsman-ui-shadcn225.js +4 -2
  79. package/dist/bootsman-ui-shadcn226.js +1 -1
  80. package/dist/bootsman-ui-shadcn227.js +1 -1
  81. package/dist/bootsman-ui-shadcn228.js +1 -1
  82. package/dist/bootsman-ui-shadcn229.js +1 -1
  83. package/dist/bootsman-ui-shadcn230.js +2 -17
  84. package/dist/bootsman-ui-shadcn231.js +2 -4
  85. package/dist/bootsman-ui-shadcn232.js +1 -1
  86. package/dist/bootsman-ui-shadcn233.js +1 -1
  87. package/dist/bootsman-ui-shadcn234.js +1 -1
  88. package/dist/bootsman-ui-shadcn235.js +1 -1
  89. package/dist/bootsman-ui-shadcn236.js +2 -3
  90. package/dist/bootsman-ui-shadcn237.js +1 -1
  91. package/dist/bootsman-ui-shadcn238.js +1 -1
  92. package/dist/bootsman-ui-shadcn239.js +1 -1
  93. package/dist/bootsman-ui-shadcn240.js +1 -1
  94. package/dist/bootsman-ui-shadcn241.js +1 -1
  95. package/dist/bootsman-ui-shadcn242.js +1 -1
  96. package/dist/bootsman-ui-shadcn243.js +1 -1
  97. package/dist/bootsman-ui-shadcn244.js +1 -1
  98. package/dist/bootsman-ui-shadcn245.js +1 -1
  99. package/dist/bootsman-ui-shadcn246.js +1 -1
  100. package/dist/bootsman-ui-shadcn247.js +1 -1
  101. package/dist/bootsman-ui-shadcn248.js +1 -1
  102. package/dist/bootsman-ui-shadcn249.js +1 -1
  103. package/dist/bootsman-ui-shadcn250.js +1 -1
  104. package/dist/bootsman-ui-shadcn251.js +1 -1
  105. package/dist/bootsman-ui-shadcn252.js +1 -1
  106. package/dist/bootsman-ui-shadcn253.js +1 -1
  107. package/dist/bootsman-ui-shadcn254.js +1 -1
  108. package/dist/bootsman-ui-shadcn255.js +1 -1
  109. package/dist/bootsman-ui-shadcn256.js +1 -1
  110. package/dist/bootsman-ui-shadcn257.js +1 -1
  111. package/dist/bootsman-ui-shadcn258.js +1 -1
  112. package/dist/bootsman-ui-shadcn259.js +1 -1
  113. package/dist/bootsman-ui-shadcn260.js +1 -1
  114. package/dist/bootsman-ui-shadcn263.js +1 -1
  115. package/dist/bootsman-ui-shadcn264.js +1 -1
  116. package/dist/bootsman-ui-shadcn265.js +1 -1
  117. package/dist/bootsman-ui-shadcn266.js +1 -1
  118. package/dist/bootsman-ui-shadcn267.js +1 -1
  119. package/dist/bootsman-ui-shadcn268.js +2 -4
  120. package/dist/bootsman-ui-shadcn269.js +2 -5
  121. package/dist/bootsman-ui-shadcn270.js +1 -1
  122. package/dist/bootsman-ui-shadcn271.js +1 -1
  123. package/dist/bootsman-ui-shadcn272.js +1 -1
  124. package/dist/bootsman-ui-shadcn273.js +1 -1
  125. package/dist/bootsman-ui-shadcn274.js +1 -1
  126. package/dist/bootsman-ui-shadcn275.js +1 -1
  127. package/dist/bootsman-ui-shadcn276.js +1 -1
  128. package/dist/bootsman-ui-shadcn277.js +1 -1
  129. package/dist/bootsman-ui-shadcn278.js +1 -1
  130. package/dist/bootsman-ui-shadcn279.js +1 -1
  131. package/dist/bootsman-ui-shadcn280.js +1 -1
  132. package/dist/bootsman-ui-shadcn281.js +1 -1
  133. package/dist/bootsman-ui-shadcn282.js +1 -1
  134. package/dist/bootsman-ui-shadcn283.js +1 -1
  135. package/dist/bootsman-ui-shadcn284.js +1 -1
  136. package/dist/bootsman-ui-shadcn285.js +1 -1
  137. package/dist/bootsman-ui-shadcn286.js +1 -1
  138. package/dist/bootsman-ui-shadcn287.js +4 -2
  139. package/dist/bootsman-ui-shadcn288.js +5 -2
  140. package/dist/bootsman-ui-shadcn289.js +1 -1
  141. package/dist/bootsman-ui-shadcn290.js +1 -1
  142. package/dist/bootsman-ui-shadcn291.js +1 -1
  143. package/dist/bootsman-ui-shadcn292.js +1 -1
  144. package/dist/bootsman-ui-shadcn293.js +1 -1
  145. package/dist/bootsman-ui-shadcn294.js +1 -1
  146. package/dist/bootsman-ui-shadcn295.js +1 -1
  147. package/dist/bootsman-ui-shadcn296.js +1 -1
  148. package/dist/bootsman-ui-shadcn297.js +1 -1
  149. package/dist/bootsman-ui-shadcn298.js +1 -1
  150. package/dist/bootsman-ui-shadcn299.js +1 -1
  151. package/dist/bootsman-ui-shadcn308.js +2 -11
  152. package/dist/bootsman-ui-shadcn309.js +106 -2
  153. package/dist/bootsman-ui-shadcn310.js +11 -2
  154. package/dist/bootsman-ui-shadcn311.js +2 -12
  155. package/dist/bootsman-ui-shadcn312.js +4 -4
  156. package/dist/bootsman-ui-shadcn313.js +5 -4
  157. package/dist/bootsman-ui-shadcn314.js +4 -6
  158. package/dist/bootsman-ui-shadcn315.js +4 -4
  159. package/dist/bootsman-ui-shadcn316.js +6 -4
  160. package/dist/bootsman-ui-shadcn317.js +9 -106
  161. package/dist/bootsman-ui-shadcn318.js +5 -2
  162. package/dist/bootsman-ui-shadcn319.js +4 -4
  163. package/dist/bootsman-ui-shadcn320.js +46 -8
  164. package/dist/bootsman-ui-shadcn321.js +5779 -3
  165. package/dist/bootsman-ui-shadcn322.js +11 -65
  166. package/dist/bootsman-ui-shadcn323.js +9 -22
  167. package/dist/bootsman-ui-shadcn324.js +3 -48
  168. package/dist/bootsman-ui-shadcn325.js +54 -5768
  169. package/dist/bootsman-ui-shadcn326.js +23 -12
  170. package/dist/bootsman-ui-shadcn327.js +143 -18
  171. package/dist/bootsman-ui-shadcn328.js +1965 -2
  172. package/dist/bootsman-ui-shadcn329.js +18 -143
  173. package/dist/bootsman-ui-shadcn330.js +2 -1965
  174. package/dist/bootsman-ui-shadcn334.js +116 -8
  175. package/dist/bootsman-ui-shadcn335.js +8 -116
  176. package/dist/bootsman-ui-shadcn337.js +25 -4
  177. package/dist/bootsman-ui-shadcn338.js +4 -25
  178. package/dist/bootsman-ui-shadcn341.js +3 -3
  179. package/dist/bootsman-ui-shadcn343.js +1 -1
  180. package/dist/bootsman-ui-shadcn344.js +3 -3
  181. package/dist/bootsman-ui-shadcn348.js +1 -1
  182. package/dist/bootsman-ui-shadcn349.js +1 -1
  183. package/dist/bootsman-ui-shadcn350.js +1 -1
  184. package/dist/bootsman-ui-shadcn351.js +6 -6
  185. package/dist/bootsman-ui-shadcn352.js +1 -1
  186. package/dist/bootsman-ui-shadcn353.js +1 -1
  187. package/dist/bootsman-ui-shadcn354.js +6 -6
  188. package/dist/bootsman-ui-shadcn355.js +8 -8
  189. package/dist/bootsman-ui-shadcn356.js +6 -6
  190. package/dist/bootsman-ui-shadcn357.js +1 -1
  191. package/dist/bootsman-ui-shadcn358.js +3 -9
  192. package/dist/bootsman-ui-shadcn359.js +3 -51
  193. package/dist/bootsman-ui-shadcn36.js +1 -1
  194. package/dist/bootsman-ui-shadcn360.js +15 -7
  195. package/dist/bootsman-ui-shadcn361.js +3 -4
  196. package/dist/bootsman-ui-shadcn362.js +9 -3
  197. package/dist/bootsman-ui-shadcn363.js +4 -3
  198. package/dist/bootsman-ui-shadcn364.js +6 -4
  199. package/dist/bootsman-ui-shadcn365.js +9 -3
  200. package/dist/bootsman-ui-shadcn366.js +7 -11
  201. package/dist/bootsman-ui-shadcn367.js +4 -9
  202. package/dist/bootsman-ui-shadcn368.js +3 -31
  203. package/dist/bootsman-ui-shadcn369.js +4 -25
  204. package/dist/bootsman-ui-shadcn37.js +4 -4
  205. package/dist/bootsman-ui-shadcn370.js +11 -3
  206. package/dist/bootsman-ui-shadcn371.js +9 -3
  207. package/dist/bootsman-ui-shadcn372.js +31 -9
  208. package/dist/bootsman-ui-shadcn373.js +24 -8
  209. package/dist/bootsman-ui-shadcn374.js +50 -14
  210. package/dist/bootsman-ui-shadcn375.js +3 -4
  211. package/dist/bootsman-ui-shadcn376.js +8 -5
  212. package/dist/bootsman-ui-shadcn377.js +2 -2
  213. package/dist/bootsman-ui-shadcn378.js +1 -1
  214. package/dist/bootsman-ui-shadcn379.js +1 -1
  215. package/dist/bootsman-ui-shadcn380.js +1 -1
  216. package/dist/bootsman-ui-shadcn381.js +1 -1
  217. package/dist/bootsman-ui-shadcn382.js +2 -2
  218. package/dist/bootsman-ui-shadcn383.js +1 -1
  219. package/dist/bootsman-ui-shadcn385.js +5 -5
  220. package/dist/bootsman-ui-shadcn388.js +1 -1
  221. package/dist/bootsman-ui-shadcn390.js +2 -2
  222. package/dist/bootsman-ui-shadcn391.js +3 -3
  223. package/dist/bootsman-ui-shadcn45.js +1 -1
  224. package/dist/bootsman-ui-shadcn50.js +1 -1
  225. package/dist/bootsman-ui-shadcn61.js +1 -1
  226. package/dist/bootsman-ui-shadcn62.js +1 -1
  227. package/dist/bootsman-ui-shadcn67.js +1 -1
  228. package/dist/bootsman-ui-shadcn81.js +1 -1
  229. package/dist/bootsman-ui-shadcn82.js +1 -1
  230. package/dist/bootsman-ui-shadcn87.js +1 -1
  231. package/dist/bootsman-ui-shadcn90.js +1 -1
  232. package/dist/bootsman-ui-shadcn91.js +1 -1
  233. package/dist/bootsman-ui-shadcn92.js +1 -1
  234. package/dist/bootsman-ui-shadcn93.js +1 -1
  235. package/dist/bootsman-ui-shadcn97.js +1 -1
  236. package/package.json +2 -2
@@ -1,12 +1,120 @@
1
- let e, n;
2
- function r() {
3
- var o;
4
- return e !== void 0 || (typeof window < "u" && window.performance ? (e = !0, n = window.performance) : typeof global < "u" && (!((o = global.perf_hooks) === null || o === void 0) && o.performance) ? (e = !0, n = global.perf_hooks.performance) : e = !1), e;
1
+ const P = ["top", "right", "bottom", "left"], l = Math.min, m = Math.max, M = Math.round, O = Math.floor, S = (t) => ({
2
+ x: t,
3
+ y: t
4
+ }), p = {
5
+ left: "right",
6
+ right: "left",
7
+ bottom: "top",
8
+ top: "bottom"
9
+ }, a = {
10
+ start: "end",
11
+ end: "start"
12
+ };
13
+ function w(t, n, o) {
14
+ return m(t, l(n, o));
15
+ }
16
+ function j(t, n) {
17
+ return typeof t == "function" ? t(n) : t;
18
+ }
19
+ function u(t) {
20
+ return t.split("-")[0];
21
+ }
22
+ function g(t) {
23
+ return t.split("-")[1];
24
+ }
25
+ function h(t) {
26
+ return t === "x" ? "y" : "x";
27
+ }
28
+ function x(t) {
29
+ return t === "y" ? "height" : "width";
30
+ }
31
+ function b(t) {
32
+ return ["top", "bottom"].includes(u(t)) ? "y" : "x";
33
+ }
34
+ function d(t) {
35
+ return h(b(t));
36
+ }
37
+ function C(t, n, o) {
38
+ o === void 0 && (o = !1);
39
+ const s = g(t), i = d(t), e = x(i);
40
+ let r = i === "x" ? s === (o ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
41
+ return n.reference[e] > n.floating[e] && (r = f(r)), [r, f(r)];
42
+ }
43
+ function L(t) {
44
+ const n = f(t);
45
+ return [c(t), n, c(n)];
46
+ }
47
+ function c(t) {
48
+ return t.replace(/start|end/g, (n) => a[n]);
49
+ }
50
+ function A(t, n, o) {
51
+ const s = ["left", "right"], i = ["right", "left"], e = ["top", "bottom"], r = ["bottom", "top"];
52
+ switch (t) {
53
+ case "top":
54
+ case "bottom":
55
+ return o ? n ? i : s : n ? s : i;
56
+ case "left":
57
+ case "right":
58
+ return n ? e : r;
59
+ default:
60
+ return [];
61
+ }
62
+ }
63
+ function E(t, n, o, s) {
64
+ const i = g(t);
65
+ let e = A(u(t), o === "start", s);
66
+ return i && (e = e.map((r) => r + "-" + i), n && (e = e.concat(e.map(c)))), e;
67
+ }
68
+ function f(t) {
69
+ return t.replace(/left|right|bottom|top/g, (n) => p[n]);
70
+ }
71
+ function y(t) {
72
+ return {
73
+ top: 0,
74
+ right: 0,
75
+ bottom: 0,
76
+ left: 0,
77
+ ...t
78
+ };
79
+ }
80
+ function R(t) {
81
+ return typeof t != "number" ? y(t) : {
82
+ top: t,
83
+ right: t,
84
+ bottom: t,
85
+ left: t
86
+ };
5
87
  }
6
- function f() {
7
- return r() ? n.now() : Date.now();
88
+ function T(t) {
89
+ return {
90
+ ...t,
91
+ top: t.y,
92
+ left: t.x,
93
+ right: t.x + t.width,
94
+ bottom: t.y + t.height
95
+ };
8
96
  }
9
97
  export {
10
- r as isPerformanceSupported,
11
- f as now
98
+ w as clamp,
99
+ S as createCoords,
100
+ j as evaluate,
101
+ y as expandPaddingObject,
102
+ O as floor,
103
+ g as getAlignment,
104
+ d as getAlignmentAxis,
105
+ C as getAlignmentSides,
106
+ x as getAxisLength,
107
+ L as getExpandedPlacements,
108
+ c as getOppositeAlignmentPlacement,
109
+ h as getOppositeAxis,
110
+ E as getOppositeAxisPlacements,
111
+ f as getOppositePlacement,
112
+ R as getPaddingObject,
113
+ u as getSide,
114
+ b as getSideAxis,
115
+ m as max,
116
+ l as min,
117
+ T as rectToClientRect,
118
+ M as round,
119
+ P as sides
12
120
  };
@@ -1,120 +1,12 @@
1
- const P = ["top", "right", "bottom", "left"], l = Math.min, m = Math.max, M = Math.round, O = Math.floor, S = (t) => ({
2
- x: t,
3
- y: t
4
- }), p = {
5
- left: "right",
6
- right: "left",
7
- bottom: "top",
8
- top: "bottom"
9
- }, a = {
10
- start: "end",
11
- end: "start"
12
- };
13
- function w(t, n, o) {
14
- return m(t, l(n, o));
15
- }
16
- function j(t, n) {
17
- return typeof t == "function" ? t(n) : t;
18
- }
19
- function u(t) {
20
- return t.split("-")[0];
21
- }
22
- function g(t) {
23
- return t.split("-")[1];
24
- }
25
- function h(t) {
26
- return t === "x" ? "y" : "x";
27
- }
28
- function x(t) {
29
- return t === "y" ? "height" : "width";
30
- }
31
- function b(t) {
32
- return ["top", "bottom"].includes(u(t)) ? "y" : "x";
33
- }
34
- function d(t) {
35
- return h(b(t));
36
- }
37
- function C(t, n, o) {
38
- o === void 0 && (o = !1);
39
- const s = g(t), i = d(t), e = x(i);
40
- let r = i === "x" ? s === (o ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
41
- return n.reference[e] > n.floating[e] && (r = f(r)), [r, f(r)];
42
- }
43
- function L(t) {
44
- const n = f(t);
45
- return [c(t), n, c(n)];
46
- }
47
- function c(t) {
48
- return t.replace(/start|end/g, (n) => a[n]);
49
- }
50
- function A(t, n, o) {
51
- const s = ["left", "right"], i = ["right", "left"], e = ["top", "bottom"], r = ["bottom", "top"];
52
- switch (t) {
53
- case "top":
54
- case "bottom":
55
- return o ? n ? i : s : n ? s : i;
56
- case "left":
57
- case "right":
58
- return n ? e : r;
59
- default:
60
- return [];
61
- }
62
- }
63
- function E(t, n, o, s) {
64
- const i = g(t);
65
- let e = A(u(t), o === "start", s);
66
- return i && (e = e.map((r) => r + "-" + i), n && (e = e.concat(e.map(c)))), e;
67
- }
68
- function f(t) {
69
- return t.replace(/left|right|bottom|top/g, (n) => p[n]);
70
- }
71
- function y(t) {
72
- return {
73
- top: 0,
74
- right: 0,
75
- bottom: 0,
76
- left: 0,
77
- ...t
78
- };
79
- }
80
- function R(t) {
81
- return typeof t != "number" ? y(t) : {
82
- top: t,
83
- right: t,
84
- bottom: t,
85
- left: t
86
- };
1
+ let e, n;
2
+ function r() {
3
+ var o;
4
+ return e !== void 0 || (typeof window < "u" && window.performance ? (e = !0, n = window.performance) : typeof global < "u" && (!((o = global.perf_hooks) === null || o === void 0) && o.performance) ? (e = !0, n = global.perf_hooks.performance) : e = !1), e;
87
5
  }
88
- function T(t) {
89
- return {
90
- ...t,
91
- top: t.y,
92
- left: t.x,
93
- right: t.x + t.width,
94
- bottom: t.y + t.height
95
- };
6
+ function f() {
7
+ return r() ? n.now() : Date.now();
96
8
  }
97
9
  export {
98
- w as clamp,
99
- S as createCoords,
100
- j as evaluate,
101
- y as expandPaddingObject,
102
- O as floor,
103
- g as getAlignment,
104
- d as getAlignmentAxis,
105
- C as getAlignmentSides,
106
- x as getAxisLength,
107
- L as getExpandedPlacements,
108
- c as getOppositeAlignmentPlacement,
109
- h as getOppositeAxis,
110
- E as getOppositeAxisPlacements,
111
- f as getOppositePlacement,
112
- R as getPaddingObject,
113
- u as getSide,
114
- b as getSideAxis,
115
- m as max,
116
- l as min,
117
- T as rectToClientRect,
118
- M as round,
119
- P as sides
10
+ r as isPerformanceSupported,
11
+ f as now
120
12
  };
@@ -1,6 +1,27 @@
1
- import "vue";
2
- typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
3
- const n = (e) => typeof e < "u";
1
+ import { popperGenerator as r } from "./bootsman-ui-shadcn340.js";
2
+ import o from "./bootsman-ui-shadcn349.js";
3
+ import e from "./bootsman-ui-shadcn350.js";
4
+ import p from "./bootsman-ui-shadcn351.js";
5
+ import t from "./bootsman-ui-shadcn352.js";
6
+ import m from "./bootsman-ui-shadcn353.js";
7
+ import f from "./bootsman-ui-shadcn354.js";
8
+ import i from "./bootsman-ui-shadcn355.js";
9
+ import s from "./bootsman-ui-shadcn356.js";
10
+ import a from "./bootsman-ui-shadcn357.js";
11
+ var l = [o, e, p, t, m, f, i, s, a], h = /* @__PURE__ */ r({
12
+ defaultModifiers: l
13
+ });
4
14
  export {
5
- n as isDef
15
+ t as applyStyles,
16
+ s as arrow,
17
+ p as computeStyles,
18
+ h as createPopper,
19
+ l as defaultModifiers,
20
+ o as eventListeners,
21
+ f as flip,
22
+ a as hide,
23
+ m as offset,
24
+ r as popperGenerator,
25
+ e as popperOffsets,
26
+ i as preventOverflow
6
27
  };
@@ -1,27 +1,6 @@
1
- import { popperGenerator as r } from "./bootsman-ui-shadcn340.js";
2
- import o from "./bootsman-ui-shadcn349.js";
3
- import e from "./bootsman-ui-shadcn350.js";
4
- import p from "./bootsman-ui-shadcn351.js";
5
- import t from "./bootsman-ui-shadcn352.js";
6
- import m from "./bootsman-ui-shadcn353.js";
7
- import f from "./bootsman-ui-shadcn354.js";
8
- import i from "./bootsman-ui-shadcn355.js";
9
- import s from "./bootsman-ui-shadcn356.js";
10
- import a from "./bootsman-ui-shadcn357.js";
11
- var l = [o, e, p, t, m, f, i, s, a], h = /* @__PURE__ */ r({
12
- defaultModifiers: l
13
- });
1
+ import "vue";
2
+ typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
3
+ const n = (e) => typeof e < "u";
14
4
  export {
15
- t as applyStyles,
16
- s as arrow,
17
- p as computeStyles,
18
- h as createPopper,
19
- l as defaultModifiers,
20
- o as eventListeners,
21
- f as flip,
22
- a as hide,
23
- m as offset,
24
- r as popperGenerator,
25
- e as popperOffsets,
26
- i as preventOverflow
5
+ n as isDef
27
6
  };
@@ -1,11 +1,11 @@
1
1
  import p from "./bootsman-ui-shadcn377.js";
2
2
  import g from "./bootsman-ui-shadcn378.js";
3
- import a from "./bootsman-ui-shadcn365.js";
3
+ import a from "./bootsman-ui-shadcn358.js";
4
4
  import { isHTMLElement as n } from "./bootsman-ui-shadcn348.js";
5
5
  import h from "./bootsman-ui-shadcn379.js";
6
- import u from "./bootsman-ui-shadcn360.js";
6
+ import u from "./bootsman-ui-shadcn366.js";
7
7
  import s from "./bootsman-ui-shadcn380.js";
8
- import { round as d } from "./bootsman-ui-shadcn364.js";
8
+ import { round as d } from "./bootsman-ui-shadcn369.js";
9
9
  function v(e) {
10
10
  var t = e.getBoundingClientRect(), o = d(t.width) / e.offsetWidth || 1, l = d(t.height) / e.offsetHeight || 1;
11
11
  return o !== 1 || l !== 1;
@@ -1,6 +1,6 @@
1
1
  import l from "./bootsman-ui-shadcn381.js";
2
2
  import m from "./bootsman-ui-shadcn382.js";
3
- import d from "./bootsman-ui-shadcn358.js";
3
+ import d from "./bootsman-ui-shadcn365.js";
4
4
  import v from "./bootsman-ui-shadcn380.js";
5
5
  function u(t, o) {
6
6
  var a;
@@ -1,6 +1,6 @@
1
- import d from "./bootsman-ui-shadcn358.js";
2
- import f from "./bootsman-ui-shadcn365.js";
3
- import n from "./bootsman-ui-shadcn361.js";
1
+ import d from "./bootsman-ui-shadcn365.js";
2
+ import f from "./bootsman-ui-shadcn358.js";
3
+ import n from "./bootsman-ui-shadcn367.js";
4
4
  import { isHTMLElement as a, isShadowRoot as m } from "./bootsman-ui-shadcn348.js";
5
5
  import g from "./bootsman-ui-shadcn383.js";
6
6
  import s from "./bootsman-ui-shadcn382.js";
@@ -1,4 +1,4 @@
1
- import e from "./bootsman-ui-shadcn358.js";
1
+ import e from "./bootsman-ui-shadcn365.js";
2
2
  function i(n) {
3
3
  var t = e(n).Element;
4
4
  return n instanceof t || n instanceof Element;
@@ -1,4 +1,4 @@
1
- import v from "./bootsman-ui-shadcn358.js";
1
+ import v from "./bootsman-ui-shadcn365.js";
2
2
  var n = {
3
3
  passive: !0
4
4
  };
@@ -1,4 +1,4 @@
1
- import p from "./bootsman-ui-shadcn359.js";
1
+ import p from "./bootsman-ui-shadcn374.js";
2
2
  function s(t) {
3
3
  var e = t.state, a = t.name;
4
4
  e.modifiersData[a] = p({
@@ -1,11 +1,11 @@
1
1
  import { top as g, left as O, right as F, end as $, bottom as B } from "./bootsman-ui-shadcn339.js";
2
2
  import T from "./bootsman-ui-shadcn344.js";
3
- import H from "./bootsman-ui-shadcn358.js";
4
- import k from "./bootsman-ui-shadcn360.js";
5
- import q from "./bootsman-ui-shadcn361.js";
6
- import z from "./bootsman-ui-shadcn362.js";
7
- import G from "./bootsman-ui-shadcn363.js";
8
- import { round as X } from "./bootsman-ui-shadcn364.js";
3
+ import H from "./bootsman-ui-shadcn365.js";
4
+ import k from "./bootsman-ui-shadcn366.js";
5
+ import q from "./bootsman-ui-shadcn367.js";
6
+ import z from "./bootsman-ui-shadcn359.js";
7
+ import G from "./bootsman-ui-shadcn368.js";
8
+ import { round as X } from "./bootsman-ui-shadcn369.js";
9
9
  var I = {
10
10
  top: "auto",
11
11
  right: "auto",
@@ -1,4 +1,4 @@
1
- import c from "./bootsman-ui-shadcn365.js";
1
+ import c from "./bootsman-ui-shadcn358.js";
2
2
  import { isHTMLElement as f } from "./bootsman-ui-shadcn348.js";
3
3
  function p(l) {
4
4
  var e = l.state;
@@ -1,4 +1,4 @@
1
- import u from "./bootsman-ui-shadcn362.js";
1
+ import u from "./bootsman-ui-shadcn359.js";
2
2
  import { placements as l, left as d, right as v, top as x } from "./bootsman-ui-shadcn339.js";
3
3
  function O(s, e, n) {
4
4
  var i = u(s), f = [d, x].indexOf(i) >= 0 ? -1 : 1, o = typeof n == "function" ? n(Object.assign({}, e, {
@@ -1,10 +1,10 @@
1
- import c from "./bootsman-ui-shadcn366.js";
2
- import u from "./bootsman-ui-shadcn362.js";
3
- import R from "./bootsman-ui-shadcn367.js";
4
- import Z from "./bootsman-ui-shadcn368.js";
5
- import S from "./bootsman-ui-shadcn369.js";
1
+ import c from "./bootsman-ui-shadcn370.js";
2
+ import u from "./bootsman-ui-shadcn359.js";
3
+ import R from "./bootsman-ui-shadcn371.js";
4
+ import Z from "./bootsman-ui-shadcn372.js";
5
+ import S from "./bootsman-ui-shadcn373.js";
6
6
  import { auto as C, start as ee, right as ae, left as te, bottom as _, top as q } from "./bootsman-ui-shadcn339.js";
7
- import re from "./bootsman-ui-shadcn363.js";
7
+ import re from "./bootsman-ui-shadcn368.js";
8
8
  function oe(t) {
9
9
  if (u(t) === C)
10
10
  return [];
@@ -1,14 +1,14 @@
1
1
  import { start as M, top as B, left as w, bottom as S, right as _ } from "./bootsman-ui-shadcn339.js";
2
- import Aa from "./bootsman-ui-shadcn362.js";
3
- import fa from "./bootsman-ui-shadcn370.js";
4
- import ya from "./bootsman-ui-shadcn371.js";
5
- import { within as D, withinMaxClamp as ga } from "./bootsman-ui-shadcn372.js";
2
+ import Aa from "./bootsman-ui-shadcn359.js";
3
+ import fa from "./bootsman-ui-shadcn361.js";
4
+ import ya from "./bootsman-ui-shadcn375.js";
5
+ import { within as D, withinMaxClamp as ga } from "./bootsman-ui-shadcn362.js";
6
6
  import ba from "./bootsman-ui-shadcn342.js";
7
7
  import Oa from "./bootsman-ui-shadcn344.js";
8
- import Ba from "./bootsman-ui-shadcn368.js";
9
- import wa from "./bootsman-ui-shadcn363.js";
10
- import Da from "./bootsman-ui-shadcn373.js";
11
- import { max as Ra, min as ja } from "./bootsman-ui-shadcn364.js";
8
+ import Ba from "./bootsman-ui-shadcn372.js";
9
+ import wa from "./bootsman-ui-shadcn368.js";
10
+ import Da from "./bootsman-ui-shadcn376.js";
11
+ import { max as Ra, min as ja } from "./bootsman-ui-shadcn369.js";
12
12
  function ka(A) {
13
13
  var a = A.state, e = A.options, aa = A.name, R = e.mainAxis, ra = R === void 0 ? !0 : R, j = e.altAxis, ta = j === void 0 ? !1 : j, ea = e.boundary, ia = e.rootBoundary, oa = e.altBoundary, va = e.padding, k = e.tether, i = k === void 0 ? !0 : k, F = e.tetherOffset, f = F === void 0 ? 0 : F, c = Ba(a, {
14
14
  boundary: ea,
@@ -1,11 +1,11 @@
1
- import q from "./bootsman-ui-shadcn362.js";
1
+ import q from "./bootsman-ui-shadcn359.js";
2
2
  import E from "./bootsman-ui-shadcn342.js";
3
- import R from "./bootsman-ui-shadcn374.js";
3
+ import R from "./bootsman-ui-shadcn360.js";
4
4
  import H from "./bootsman-ui-shadcn344.js";
5
- import M from "./bootsman-ui-shadcn370.js";
6
- import { within as S } from "./bootsman-ui-shadcn372.js";
7
- import T from "./bootsman-ui-shadcn375.js";
8
- import z from "./bootsman-ui-shadcn376.js";
5
+ import M from "./bootsman-ui-shadcn361.js";
6
+ import { within as S } from "./bootsman-ui-shadcn362.js";
7
+ import T from "./bootsman-ui-shadcn363.js";
8
+ import z from "./bootsman-ui-shadcn364.js";
9
9
  import { basePlacements as A, top as B, left as O, bottom as F, right as P } from "./bootsman-ui-shadcn339.js";
10
10
  var I = function(e, r) {
11
11
  return e = typeof e == "function" ? e(Object.assign({}, r.rects, {
@@ -1,5 +1,5 @@
1
1
  import { top as u, right as v, bottom as g, left as b } from "./bootsman-ui-shadcn339.js";
2
- import o from "./bootsman-ui-shadcn368.js";
2
+ import o from "./bootsman-ui-shadcn372.js";
3
3
  function s(r, e, t) {
4
4
  return t === void 0 && (t = {
5
5
  x: 0,
@@ -1,12 +1,6 @@
1
- function n(t) {
2
- if (t == null)
3
- return window;
4
- if (t.toString() !== "[object Window]") {
5
- var i = t.ownerDocument;
6
- return i && i.defaultView || window;
7
- }
8
- return t;
1
+ function o(e) {
2
+ return e ? (e.nodeName || "").toLowerCase() : null;
9
3
  }
10
4
  export {
11
- n as default
5
+ o as default
12
6
  };
@@ -1,54 +1,6 @@
1
- import l from "./bootsman-ui-shadcn362.js";
2
- import f from "./bootsman-ui-shadcn363.js";
3
- import x from "./bootsman-ui-shadcn370.js";
4
- import { left as y, right as g, bottom as p, top as u, end as v, start as b } from "./bootsman-ui-shadcn339.js";
5
- function A(o) {
6
- var e = o.reference, a = o.element, i = o.placement, n = i ? l(i) : null, s = i ? f(i) : null, c = e.x + e.width / 2 - a.width / 2, h = e.y + e.height / 2 - a.height / 2, t;
7
- switch (n) {
8
- case u:
9
- t = {
10
- x: c,
11
- y: e.y - a.height
12
- };
13
- break;
14
- case p:
15
- t = {
16
- x: c,
17
- y: e.y + e.height
18
- };
19
- break;
20
- case g:
21
- t = {
22
- x: e.x + e.width,
23
- y: h
24
- };
25
- break;
26
- case y:
27
- t = {
28
- x: e.x - a.width,
29
- y: h
30
- };
31
- break;
32
- default:
33
- t = {
34
- x: e.x,
35
- y: e.y
36
- };
37
- }
38
- var r = n ? x(n) : null;
39
- if (r != null) {
40
- var m = r === "y" ? "height" : "width";
41
- switch (s) {
42
- case b:
43
- t[r] = t[r] - (e[m] / 2 - a[m] / 2);
44
- break;
45
- case v:
46
- t[r] = t[r] + (e[m] / 2 - a[m] / 2);
47
- break;
48
- }
49
- }
50
- return t;
1
+ function t(e) {
2
+ return e.split("-")[0];
51
3
  }
52
4
  export {
53
- A as default
5
+ t as default
54
6
  };
@@ -2,7 +2,7 @@ import { defineComponent as i, openBlock as s, createElementBlock as n, normaliz
2
2
  import { badgeVariants as u } from "./bootsman-ui-shadcn5.js";
3
3
  import { cn as v } from "./bootsman-ui-shadcn14.js";
4
4
  import B from "./bootsman-ui-shadcn137.js";
5
- import k from "./bootsman-ui-shadcn315.js";
5
+ import k from "./bootsman-ui-shadcn318.js";
6
6
  const y = /* @__PURE__ */ i({
7
7
  __name: "BuiBadge",
8
8
  props: {
@@ -1,10 +1,18 @@
1
- import { isElement as n } from "./bootsman-ui-shadcn348.js";
2
- function e(t) {
3
- return ((n(t) ? t.ownerDocument : (
4
- // $FlowFixMe[prop-missing]
5
- t.document
6
- )) || window.document).documentElement;
1
+ import { isShadowRoot as a } from "./bootsman-ui-shadcn348.js";
2
+ function f(r, e) {
3
+ var t = e.getRootNode && e.getRootNode();
4
+ if (r.contains(e))
5
+ return !0;
6
+ if (t && a(t)) {
7
+ var o = e;
8
+ do {
9
+ if (o && r.isSameNode(o))
10
+ return !0;
11
+ o = o.parentNode || o.host;
12
+ } while (o);
13
+ }
14
+ return !1;
7
15
  }
8
16
  export {
9
- e as default
17
+ f as default
10
18
  };
@@ -1,7 +1,6 @@
1
- import e from "./bootsman-ui-shadcn358.js";
2
- function r(t) {
3
- return e(t).getComputedStyle(t);
1
+ function e(t) {
2
+ return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
4
3
  }
5
4
  export {
6
- r as default
5
+ e as default
7
6
  };
@@ -1,6 +1,12 @@
1
- function t(e) {
2
- return e.split("-")[0];
1
+ import { max as o, min as u } from "./bootsman-ui-shadcn369.js";
2
+ function e(i, r, n) {
3
+ return o(i, u(r, n));
4
+ }
5
+ function m(i, r, n) {
6
+ var t = e(i, r, n);
7
+ return t > n ? n : t;
3
8
  }
4
9
  export {
5
- t as default
10
+ e as within,
11
+ m as withinMaxClamp
6
12
  };
@@ -1,6 +1,7 @@
1
- function a(t) {
2
- return t.split("-")[1];
1
+ import t from "./bootsman-ui-shadcn376.js";
2
+ function i(e) {
3
+ return Object.assign({}, t(), e);
3
4
  }
4
5
  export {
5
- a as default
6
+ i as default
6
7
  };
@@ -1,6 +1,8 @@
1
- var a = Math.max, r = Math.min, m = Math.round;
1
+ function u(n, r) {
2
+ return r.reduce(function(e, t) {
3
+ return e[t] = n, e;
4
+ }, {});
5
+ }
2
6
  export {
3
- a as max,
4
- r as min,
5
- m as round
7
+ u as default
6
8
  };
@@ -1,6 +1,12 @@
1
- function o(e) {
2
- return e ? (e.nodeName || "").toLowerCase() : null;
1
+ function n(t) {
2
+ if (t == null)
3
+ return window;
4
+ if (t.toString() !== "[object Window]") {
5
+ var i = t.ownerDocument;
6
+ return i && i.defaultView || window;
7
+ }
8
+ return t;
3
9
  }
4
10
  export {
5
- o as default
11
+ n as default
6
12
  };