@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,14 +1,10 @@
1
- var o = {
2
- left: "right",
3
- right: "left",
4
- bottom: "top",
5
- top: "bottom"
6
- };
7
- function r(t) {
8
- return t.replace(/left|right|bottom|top/g, function(e) {
9
- return o[e];
10
- });
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;
11
7
  }
12
8
  export {
13
- r as default
9
+ e as default
14
10
  };
@@ -1,12 +1,7 @@
1
- var a = {
2
- start: "end",
3
- end: "start"
4
- };
5
- function n(t) {
6
- return t.replace(/start|end/g, function(e) {
7
- return a[e];
8
- });
1
+ import e from "./bootsman-ui-shadcn365.js";
2
+ function r(t) {
3
+ return e(t).getComputedStyle(t);
9
4
  }
10
5
  export {
11
- n as default
6
+ r as default
12
7
  };
@@ -1,34 +1,6 @@
1
- import M from "./bootsman-ui-shadcn385.js";
2
- import q from "./bootsman-ui-shadcn360.js";
3
- import z from "./bootsman-ui-shadcn377.js";
4
- import A from "./bootsman-ui-shadcn359.js";
5
- import F from "./bootsman-ui-shadcn386.js";
6
- import { basePlacements as G, popper as o, clippingParents as I, reference as J, right as K, bottom as _, top as L, viewport as N } from "./bootsman-ui-shadcn339.js";
7
- import { isElement as Q } from "./bootsman-ui-shadcn348.js";
8
- import S from "./bootsman-ui-shadcn375.js";
9
- import U from "./bootsman-ui-shadcn376.js";
10
- function re(e, a) {
11
- a === void 0 && (a = {});
12
- var t = a, c = t.placement, s = c === void 0 ? e.placement : c, v = t.strategy, h = v === void 0 ? e.strategy : v, g = t.boundary, B = g === void 0 ? I : g, u = t.rootBoundary, $ = u === void 0 ? N : u, y = t.elementContext, r = y === void 0 ? o : y, b = t.altBoundary, j = b === void 0 ? !1 : b, C = t.padding, m = C === void 0 ? 0 : C, n = S(typeof m != "number" ? m : U(m, G)), E = r === o ? J : o, x = e.rects.popper, l = e.elements[j ? E : r], p = M(Q(l) ? l : l.contextElement || q(e.elements.popper), B, $, h), O = z(e.elements.reference), w = A({
13
- reference: O,
14
- element: x,
15
- strategy: "absolute",
16
- placement: s
17
- }), D = F(Object.assign({}, x, w)), i = r === o ? D : O, f = {
18
- top: p.top - i.top + n.top,
19
- bottom: i.bottom - p.bottom + n.bottom,
20
- left: p.left - i.left + n.left,
21
- right: i.right - p.right + n.right
22
- }, R = e.modifiersData.offset;
23
- if (r === o && R) {
24
- var P = R[s];
25
- Object.keys(f).forEach(function(d) {
26
- var T = [K, _].indexOf(d) >= 0 ? 1 : -1, H = [L, _].indexOf(d) >= 0 ? "y" : "x";
27
- f[d] += P[H] * T;
28
- });
29
- }
30
- return f;
1
+ function a(t) {
2
+ return t.split("-")[1];
31
3
  }
32
4
  export {
33
- re as default
5
+ a as default
34
6
  };
@@ -1,27 +1,6 @@
1
- import d from "./bootsman-ui-shadcn363.js";
2
- import { variationPlacements as f, basePlacements as g, placements as w } from "./bootsman-ui-shadcn339.js";
3
- import b from "./bootsman-ui-shadcn368.js";
4
- import A from "./bootsman-ui-shadcn362.js";
5
- function _(m, r) {
6
- r === void 0 && (r = {});
7
- var t = r, c = t.placement, s = t.boundary, p = t.rootBoundary, v = t.padding, P = t.flipVariations, i = t.allowedAutoPlacements, y = i === void 0 ? w : i, l = d(c), u = l ? P ? f : f.filter(function(e) {
8
- return d(e) === l;
9
- }) : g, a = u.filter(function(e) {
10
- return y.indexOf(e) >= 0;
11
- });
12
- a.length === 0 && (a = u);
13
- var n = a.reduce(function(e, o) {
14
- return e[o] = b(m, {
15
- placement: o,
16
- boundary: s,
17
- rootBoundary: p,
18
- padding: v
19
- })[A(o)], e;
20
- }, {});
21
- return Object.keys(n).sort(function(e, o) {
22
- return n[e] - n[o];
23
- });
24
- }
1
+ var a = Math.max, r = Math.min, m = Math.round;
25
2
  export {
26
- _ as default
3
+ a as max,
4
+ r as min,
5
+ m as round
27
6
  };
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as w, ref as y, computed as p, onMounted as b, nextTick as P, useSlots as g, openBlock as R, createElementBlock as S, createElementVNode as l, normalizeClass as c, unref as o, createVNode as s, mergeProps as $, isRef as x, createSlots as M, renderList as N, withCtx as z, renderSlot as B, normalizeProps as D, guardReactiveProps as _ } from "vue";
2
- import { useVModel as E } from "./bootsman-ui-shadcn324.js";
3
- import { DatePicker as L } from "./bootsman-ui-shadcn325.js";
2
+ import { useVModel as E } from "./bootsman-ui-shadcn320.js";
3
+ import { DatePicker as L } from "./bootsman-ui-shadcn321.js";
4
4
  import { isVCalendarSlot as j } from "./bootsman-ui-shadcn7.js";
5
5
  import { buttonVariants as f } from "./bootsman-ui-shadcn6.js";
6
6
  import { cn as v } from "./bootsman-ui-shadcn14.js";
7
- import A from "./bootsman-ui-shadcn316.js";
8
- import O from "./bootsman-ui-shadcn313.js";
7
+ import A from "./bootsman-ui-shadcn314.js";
8
+ import O from "./bootsman-ui-shadcn319.js";
9
9
  const T = { class: "relative" }, U = { class: "absolute top-3 z-[1] flex w-full justify-between px-4" }, Y = /* @__PURE__ */ w({
10
10
  inheritAttrs: !1,
11
11
  __name: "BuiCalendar",
@@ -1,6 +1,14 @@
1
- function e(t) {
2
- return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
1
+ var o = {
2
+ left: "right",
3
+ right: "left",
4
+ bottom: "top",
5
+ top: "bottom"
6
+ };
7
+ function r(t) {
8
+ return t.replace(/left|right|bottom|top/g, function(e) {
9
+ return o[e];
10
+ });
3
11
  }
4
12
  export {
5
- e as default
13
+ r as default
6
14
  };
@@ -1,6 +1,12 @@
1
- function e(t) {
2
- return t === "x" ? "y" : "x";
1
+ var a = {
2
+ start: "end",
3
+ end: "start"
4
+ };
5
+ function n(t) {
6
+ return t.replace(/start|end/g, function(e) {
7
+ return a[e];
8
+ });
3
9
  }
4
10
  export {
5
- e as default
11
+ n as default
6
12
  };
@@ -1,12 +1,34 @@
1
- import { max as o, min as u } from "./bootsman-ui-shadcn364.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;
1
+ import M from "./bootsman-ui-shadcn385.js";
2
+ import q from "./bootsman-ui-shadcn366.js";
3
+ import z from "./bootsman-ui-shadcn377.js";
4
+ import A from "./bootsman-ui-shadcn374.js";
5
+ import F from "./bootsman-ui-shadcn386.js";
6
+ import { basePlacements as G, popper as o, clippingParents as I, reference as J, right as K, bottom as _, top as L, viewport as N } from "./bootsman-ui-shadcn339.js";
7
+ import { isElement as Q } from "./bootsman-ui-shadcn348.js";
8
+ import S from "./bootsman-ui-shadcn363.js";
9
+ import U from "./bootsman-ui-shadcn364.js";
10
+ function re(e, a) {
11
+ a === void 0 && (a = {});
12
+ var t = a, c = t.placement, s = c === void 0 ? e.placement : c, v = t.strategy, h = v === void 0 ? e.strategy : v, g = t.boundary, B = g === void 0 ? I : g, u = t.rootBoundary, $ = u === void 0 ? N : u, y = t.elementContext, r = y === void 0 ? o : y, b = t.altBoundary, j = b === void 0 ? !1 : b, C = t.padding, m = C === void 0 ? 0 : C, n = S(typeof m != "number" ? m : U(m, G)), E = r === o ? J : o, x = e.rects.popper, l = e.elements[j ? E : r], p = M(Q(l) ? l : l.contextElement || q(e.elements.popper), B, $, h), O = z(e.elements.reference), w = A({
13
+ reference: O,
14
+ element: x,
15
+ strategy: "absolute",
16
+ placement: s
17
+ }), D = F(Object.assign({}, x, w)), i = r === o ? D : O, f = {
18
+ top: p.top - i.top + n.top,
19
+ bottom: i.bottom - p.bottom + n.bottom,
20
+ left: p.left - i.left + n.left,
21
+ right: i.right - p.right + n.right
22
+ }, R = e.modifiersData.offset;
23
+ if (r === o && R) {
24
+ var P = R[s];
25
+ Object.keys(f).forEach(function(d) {
26
+ var T = [K, _].indexOf(d) >= 0 ? 1 : -1, H = [L, _].indexOf(d) >= 0 ? "y" : "x";
27
+ f[d] += P[H] * T;
28
+ });
29
+ }
30
+ return f;
8
31
  }
9
32
  export {
10
- e as within,
11
- m as withinMaxClamp
33
+ re as default
12
34
  };
@@ -1,11 +1,27 @@
1
- function t() {
2
- return {
3
- top: 0,
4
- right: 0,
5
- bottom: 0,
6
- left: 0
7
- };
1
+ import d from "./bootsman-ui-shadcn368.js";
2
+ import { variationPlacements as f, basePlacements as g, placements as w } from "./bootsman-ui-shadcn339.js";
3
+ import b from "./bootsman-ui-shadcn372.js";
4
+ import A from "./bootsman-ui-shadcn359.js";
5
+ function _(m, r) {
6
+ r === void 0 && (r = {});
7
+ var t = r, c = t.placement, s = t.boundary, p = t.rootBoundary, v = t.padding, P = t.flipVariations, i = t.allowedAutoPlacements, y = i === void 0 ? w : i, l = d(c), u = l ? P ? f : f.filter(function(e) {
8
+ return d(e) === l;
9
+ }) : g, a = u.filter(function(e) {
10
+ return y.indexOf(e) >= 0;
11
+ });
12
+ a.length === 0 && (a = u);
13
+ var n = a.reduce(function(e, o) {
14
+ return e[o] = b(m, {
15
+ placement: o,
16
+ boundary: s,
17
+ rootBoundary: p,
18
+ padding: v
19
+ })[A(o)], e;
20
+ }, {});
21
+ return Object.keys(n).sort(function(e, o) {
22
+ return n[e] - n[o];
23
+ });
8
24
  }
9
25
  export {
10
- t as default
26
+ _ as default
11
27
  };
@@ -1,18 +1,54 @@
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);
1
+ import l from "./bootsman-ui-shadcn359.js";
2
+ import f from "./bootsman-ui-shadcn368.js";
3
+ import x from "./bootsman-ui-shadcn361.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
+ };
13
37
  }
14
- return !1;
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;
15
51
  }
16
52
  export {
17
- f as default
53
+ A as default
18
54
  };
@@ -1,7 +1,6 @@
1
- import t from "./bootsman-ui-shadcn373.js";
2
- function i(e) {
3
- return Object.assign({}, t(), e);
1
+ function e(t) {
2
+ return t === "x" ? "y" : "x";
4
3
  }
5
4
  export {
6
- i as default
5
+ e as default
7
6
  };
@@ -1,8 +1,11 @@
1
- function u(n, r) {
2
- return r.reduce(function(e, t) {
3
- return e[t] = n, e;
4
- }, {});
1
+ function t() {
2
+ return {
3
+ top: 0,
4
+ right: 0,
5
+ bottom: 0,
6
+ left: 0
7
+ };
5
8
  }
6
9
  export {
7
- u as default
10
+ t as default
8
11
  };
@@ -1,6 +1,6 @@
1
1
  import { isHTMLElement as u, isElement as n } from "./bootsman-ui-shadcn348.js";
2
- import { round as g } from "./bootsman-ui-shadcn364.js";
3
- import l from "./bootsman-ui-shadcn358.js";
2
+ import { round as g } from "./bootsman-ui-shadcn369.js";
3
+ import l from "./bootsman-ui-shadcn365.js";
4
4
  import m from "./bootsman-ui-shadcn387.js";
5
5
  function R(t, f, r) {
6
6
  f === void 0 && (f = !1), r === void 0 && (r = !1);
@@ -1,5 +1,5 @@
1
1
  import t from "./bootsman-ui-shadcn388.js";
2
- import o from "./bootsman-ui-shadcn358.js";
2
+ import o from "./bootsman-ui-shadcn365.js";
3
3
  import { isHTMLElement as e } from "./bootsman-ui-shadcn348.js";
4
4
  import l from "./bootsman-ui-shadcn389.js";
5
5
  function c(r) {
@@ -1,5 +1,5 @@
1
1
  import o from "./bootsman-ui-shadcn377.js";
2
- import r from "./bootsman-ui-shadcn360.js";
2
+ import r from "./bootsman-ui-shadcn366.js";
3
3
  import e from "./bootsman-ui-shadcn388.js";
4
4
  function f(t) {
5
5
  return o(r(t)).left + e(t).scrollLeft;
@@ -1,4 +1,4 @@
1
- import f from "./bootsman-ui-shadcn361.js";
1
+ import f from "./bootsman-ui-shadcn367.js";
2
2
  function a(e) {
3
3
  var o = f(e), r = o.overflow, t = o.overflowX, l = o.overflowY;
4
4
  return /auto|scroll|overlay|hidden/.test(r + l + t);
@@ -1,6 +1,6 @@
1
1
  import t from "./bootsman-ui-shadcn382.js";
2
2
  import e from "./bootsman-ui-shadcn380.js";
3
- import o from "./bootsman-ui-shadcn365.js";
3
+ import o from "./bootsman-ui-shadcn358.js";
4
4
  import { isHTMLElement as m } from "./bootsman-ui-shadcn348.js";
5
5
  function i(r) {
6
6
  return ["html", "body", "#document"].indexOf(o(r)) >= 0 ? r.ownerDocument.body : m(r) && e(r) ? r : i(t(r));
@@ -1,5 +1,5 @@
1
- import r from "./bootsman-ui-shadcn365.js";
2
- import t from "./bootsman-ui-shadcn360.js";
1
+ import r from "./bootsman-ui-shadcn358.js";
2
+ import t from "./bootsman-ui-shadcn366.js";
3
3
  import { isShadowRoot as a } from "./bootsman-ui-shadcn348.js";
4
4
  function u(o) {
5
5
  return r(o) === "html" ? o : (
@@ -1,4 +1,4 @@
1
- import t from "./bootsman-ui-shadcn365.js";
1
+ import t from "./bootsman-ui-shadcn358.js";
2
2
  function n(e) {
3
3
  return ["table", "td", "th"].indexOf(t(e)) >= 0;
4
4
  }
@@ -3,15 +3,15 @@ import v from "./bootsman-ui-shadcn390.js";
3
3
  import C from "./bootsman-ui-shadcn391.js";
4
4
  import x from "./bootsman-ui-shadcn343.js";
5
5
  import b from "./bootsman-ui-shadcn344.js";
6
- import E from "./bootsman-ui-shadcn360.js";
7
- import P from "./bootsman-ui-shadcn361.js";
6
+ import E from "./bootsman-ui-shadcn366.js";
7
+ import P from "./bootsman-ui-shadcn367.js";
8
8
  import { isElement as m, isHTMLElement as w } from "./bootsman-ui-shadcn348.js";
9
9
  import T from "./bootsman-ui-shadcn377.js";
10
10
  import H from "./bootsman-ui-shadcn382.js";
11
- import N from "./bootsman-ui-shadcn374.js";
12
- import y from "./bootsman-ui-shadcn365.js";
11
+ import N from "./bootsman-ui-shadcn360.js";
12
+ import y from "./bootsman-ui-shadcn358.js";
13
13
  import l from "./bootsman-ui-shadcn386.js";
14
- import { max as u, min as a } from "./bootsman-ui-shadcn364.js";
14
+ import { max as u, min as a } from "./bootsman-ui-shadcn369.js";
15
15
  function B(i, r) {
16
16
  var t = T(i, !1, r === "fixed");
17
17
  return t.top = t.top + i.clientTop, t.left = t.left + i.clientLeft, t.bottom = t.top + i.clientHeight, t.right = t.left + i.clientWidth, t.width = i.clientWidth, t.height = i.clientHeight, t.x = t.left, t.y = t.top, t;
@@ -1,4 +1,4 @@
1
- import t from "./bootsman-ui-shadcn358.js";
1
+ import t from "./bootsman-ui-shadcn365.js";
2
2
  function a(r) {
3
3
  var o = t(r), e = o.pageXOffset, l = o.pageYOffset;
4
4
  return {
@@ -1,5 +1,5 @@
1
- import p from "./bootsman-ui-shadcn358.js";
2
- import w from "./bootsman-ui-shadcn360.js";
1
+ import p from "./bootsman-ui-shadcn365.js";
2
+ import w from "./bootsman-ui-shadcn366.js";
3
3
  import d from "./bootsman-ui-shadcn379.js";
4
4
  import g from "./bootsman-ui-shadcn387.js";
5
5
  function u(i, v) {
@@ -1,8 +1,8 @@
1
- import m from "./bootsman-ui-shadcn360.js";
2
- import a from "./bootsman-ui-shadcn361.js";
1
+ import m from "./bootsman-ui-shadcn366.js";
2
+ import a from "./bootsman-ui-shadcn367.js";
3
3
  import g from "./bootsman-ui-shadcn379.js";
4
4
  import f from "./bootsman-ui-shadcn388.js";
5
- import { max as i } from "./bootsman-ui-shadcn364.js";
5
+ import { max as i } from "./bootsman-ui-shadcn369.js";
6
6
  function w(r) {
7
7
  var l, o = m(r), e = f(r), t = (l = r.ownerDocument) == null ? void 0 : l.body, c = i(o.scrollWidth, o.clientWidth, t ? t.scrollWidth : 0, t ? t.clientWidth : 0), h = i(o.scrollHeight, o.clientHeight, t ? t.scrollHeight : 0, t ? t.clientHeight : 0), n = -e.scrollLeft + g(r), d = -e.scrollTop;
8
8
  return a(t || o).direction === "rtl" && (n += i(o.clientWidth, t ? t.clientWidth : 0) - c), {
@@ -2,7 +2,7 @@ import { defineComponent as u, useAttrs as p, openBlock as f, createBlock as m,
2
2
  import { useForwardPropsEmits as b, CheckboxRoot as k, CheckboxIndicator as g } from "./bootsman-ui-shadcn140.js";
3
3
  import { cn as y } from "./bootsman-ui-shadcn14.js";
4
4
  import { cva as v } from "./bootsman-ui-shadcn158.js";
5
- import x from "./bootsman-ui-shadcn318.js";
5
+ import x from "./bootsman-ui-shadcn317.js";
6
6
  const A = /* @__PURE__ */ u({
7
7
  __name: "BuiCheckbox",
8
8
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as a, openBlock as n, createElementBlock as l, createVNode as t, unref as e, mergeProps as p } from "vue";
2
2
  import { ComboboxInput as c } from "./bootsman-ui-shadcn140.js";
3
3
  import { cn as d } from "./bootsman-ui-shadcn14.js";
4
- import m from "./bootsman-ui-shadcn326.js";
4
+ import m from "./bootsman-ui-shadcn315.js";
5
5
  const u = {
6
6
  class: "flex items-center border-b border-muted px-3",
7
7
  "cmdk-input-wrapper": ""
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, openBlock as i, createBlock as u, unref as e, mergeProps as d, withCtx as s, createElementVNode as m, createVNode as o, renderSlot as p } from "vue";
2
2
  import { ContextMenuCheckboxItem as f, useEmitAsProps as h, ContextMenuItemIndicator as x } from "./bootsman-ui-shadcn140.js";
3
3
  import { cn as C } from "./bootsman-ui-shadcn14.js";
4
- import _ from "./bootsman-ui-shadcn318.js";
4
+ import _ from "./bootsman-ui-shadcn317.js";
5
5
  const b = { class: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, I = /* @__PURE__ */ l({
6
6
  __name: "BuiContextMenuCheckboxItem",
7
7
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as c, openBlock as i, createBlock as d, unref as e, mergeProps as u, withCtx as o, createElementVNode as m, createVNode as s, renderSlot as p } from "vue";
2
2
  import { useForwardPropsEmits as f, ContextMenuRadioItem as x, ContextMenuItemIndicator as _ } from "./bootsman-ui-shadcn140.js";
3
3
  import { cn as C } from "./bootsman-ui-shadcn14.js";
4
- import h from "./bootsman-ui-shadcn319.js";
4
+ import h from "./bootsman-ui-shadcn322.js";
5
5
  const b = { class: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, M = /* @__PURE__ */ c({
6
6
  __name: "BuiContextMenuRadioItem",
7
7
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as s, openBlock as r, createBlock as a, unref as e, mergeProps as c, withCtx as l, renderSlot as u, createVNode as p } from "vue";
2
2
  import { ContextMenuSubTrigger as f } from "./bootsman-ui-shadcn140.js";
3
3
  import { cn as i } from "./bootsman-ui-shadcn14.js";
4
- import d from "./bootsman-ui-shadcn313.js";
4
+ import d from "./bootsman-ui-shadcn319.js";
5
5
  const C = /* @__PURE__ */ s({
6
6
  __name: "BuiContextMenuSubTrigger",
7
7
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, openBlock as d, createBlock as i, unref as e, mergeProps as p, withCtx as o, createElementVNode as u, createVNode as s, renderSlot as m } from "vue";
2
2
  import { DropdownMenuCheckboxItem as f, useEmitAsProps as h, DropdownMenuItemIndicator as x } from "./bootsman-ui-shadcn140.js";
3
3
  import { cn as _ } from "./bootsman-ui-shadcn14.js";
4
- import b from "./bootsman-ui-shadcn318.js";
4
+ import b from "./bootsman-ui-shadcn317.js";
5
5
  const k = { class: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, I = /* @__PURE__ */ l({
6
6
  __name: "BuiDropdownMenuCheckboxItem",
7
7
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as i, openBlock as d, createBlock as c, unref as e, mergeProps as m, withCtx as o, createElementVNode as p, createVNode as s, renderSlot as u } from "vue";
2
2
  import { DropdownMenuRadioItem as f, useEmitAsProps as h, DropdownMenuItemIndicator as _ } from "./bootsman-ui-shadcn140.js";
3
3
  import { cn as w } from "./bootsman-ui-shadcn14.js";
4
- import x from "./bootsman-ui-shadcn319.js";
4
+ import x from "./bootsman-ui-shadcn322.js";
5
5
  const b = { class: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, I = /* @__PURE__ */ i({
6
6
  __name: "BuiDropdownMenuRadioItem",
7
7
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as s, openBlock as n, createBlock as a, unref as e, mergeProps as c, withCtx as l, renderSlot as p, createVNode as u } from "vue";
2
2
  import { DropdownMenuSubTrigger as d } from "./bootsman-ui-shadcn140.js";
3
3
  import { cn as m } from "./bootsman-ui-shadcn14.js";
4
- import i from "./bootsman-ui-shadcn313.js";
4
+ import i from "./bootsman-ui-shadcn319.js";
5
5
  const b = /* @__PURE__ */ s({
6
6
  __name: "BuiDropdownMenuSubTrigger",
7
7
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as l, useAttrs as m, openBlock as n, createBlock as f, unref as e, mergeProps as c, withCtx as i, renderSlot as d } from "vue";
2
2
  import { Label as p } from "./bootsman-ui-shadcn140.js";
3
- import { useFormField as u } from "./bootsman-ui-shadcn323.js";
3
+ import { useFormField as u } from "./bootsman-ui-shadcn326.js";
4
4
  import { cn as _ } from "./bootsman-ui-shadcn14.js";
5
5
  const F = /* @__PURE__ */ l({
6
6
  inheritAttrs: !1,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as d, openBlock as n, createBlock as m, unref as r, withCtx as s, renderSlot as f } from "vue";
2
2
  import { Slot as l } from "./bootsman-ui-shadcn140.js";
3
- import { useFormField as c } from "./bootsman-ui-shadcn323.js";
3
+ import { useFormField as c } from "./bootsman-ui-shadcn326.js";
4
4
  const $ = /* @__PURE__ */ d({
5
5
  __name: "BuiFormControl",
6
6
  setup(p) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as t, openBlock as m, createBlock as s, unref as e, toValue as n } from "vue";
2
2
  import { ErrorMessage as a } from "./bootsman-ui-shadcn141.js";
3
- import { useFormField as u } from "./bootsman-ui-shadcn323.js";
3
+ import { useFormField as u } from "./bootsman-ui-shadcn326.js";
4
4
  const _ = /* @__PURE__ */ t({
5
5
  __name: "BuiFormMessage",
6
6
  setup(c) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as n, useAttrs as m, openBlock as c, createElementBlock as i, mergeProps as p, unref as e, renderSlot as a } from "vue";
2
- import { useFormField as l } from "./bootsman-ui-shadcn323.js";
2
+ import { useFormField as l } from "./bootsman-ui-shadcn326.js";
3
3
  import { cn as d } from "./bootsman-ui-shadcn14.js";
4
4
  const f = ["id"], F = /* @__PURE__ */ n({
5
5
  inheritAttrs: !1,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as r, withDirectives as i, openBlock as m, createElementBlock as p, isRef as d, normalizeClass as f, unref as a, vModelText as c } from "vue";
2
- import { useVModel as V } from "./bootsman-ui-shadcn324.js";
2
+ import { useVModel as V } from "./bootsman-ui-shadcn320.js";
3
3
  import { cn as v } from "./bootsman-ui-shadcn14.js";
4
4
  import { inputVariants as B } from "./bootsman-ui-shadcn8.js";
5
5
  const w = /* @__PURE__ */ r({
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@soft-stech/bootsman-ui-shadcn",
3
- "version": "1.0.5-beta.2",
3
+ "version": "1.0.5-beta.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
7
7
  ],
8
- "main": "dist/main.js",
8
+ "main": "dist/bootsman-ui-shadcn.js",
9
9
  "types": "dist/main.d.ts",
10
10
  "sideEffects": [
11
11
  "**/*.css"