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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. package/dist/bootsman-ui-shadcn.js +2 -2
  2. package/dist/bootsman-ui-shadcn122.js +2 -2
  3. package/dist/bootsman-ui-shadcn139.js +1 -1
  4. package/dist/bootsman-ui-shadcn140.js +3 -3
  5. package/dist/bootsman-ui-shadcn141.js +1 -1
  6. package/dist/bootsman-ui-shadcn142.js +1 -1
  7. package/dist/bootsman-ui-shadcn143.js +1 -1
  8. package/dist/bootsman-ui-shadcn144.js +1 -1
  9. package/dist/bootsman-ui-shadcn145.js +1 -1
  10. package/dist/bootsman-ui-shadcn148.js +1 -1
  11. package/dist/bootsman-ui-shadcn150.js +1 -1
  12. package/dist/bootsman-ui-shadcn153.js +1 -1
  13. package/dist/bootsman-ui-shadcn158.js +1 -1
  14. package/dist/bootsman-ui-shadcn161.js +1 -1
  15. package/dist/bootsman-ui-shadcn162.js +1 -1
  16. package/dist/bootsman-ui-shadcn163.js +1 -1
  17. package/dist/bootsman-ui-shadcn164.js +2 -2
  18. package/dist/bootsman-ui-shadcn165.js +1 -1
  19. package/dist/bootsman-ui-shadcn166.js +1 -1
  20. package/dist/bootsman-ui-shadcn167.js +1 -1
  21. package/dist/bootsman-ui-shadcn168.js +1 -1
  22. package/dist/bootsman-ui-shadcn169.js +1 -1
  23. package/dist/bootsman-ui-shadcn170.js +1 -1
  24. package/dist/bootsman-ui-shadcn171.js +1 -1
  25. package/dist/bootsman-ui-shadcn172.js +1 -1
  26. package/dist/bootsman-ui-shadcn173.js +1 -1
  27. package/dist/bootsman-ui-shadcn174.js +1 -1
  28. package/dist/bootsman-ui-shadcn175.js +1 -1
  29. package/dist/bootsman-ui-shadcn176.js +1 -1
  30. package/dist/bootsman-ui-shadcn177.js +1 -1
  31. package/dist/bootsman-ui-shadcn178.js +1 -1
  32. package/dist/bootsman-ui-shadcn179.js +1 -1
  33. package/dist/bootsman-ui-shadcn180.js +20 -2
  34. package/dist/bootsman-ui-shadcn181.js +1 -1
  35. package/dist/bootsman-ui-shadcn182.js +2 -124
  36. package/dist/bootsman-ui-shadcn183.js +2 -519
  37. package/dist/bootsman-ui-shadcn184.js +2 -361
  38. package/dist/bootsman-ui-shadcn185.js +1 -1
  39. package/dist/bootsman-ui-shadcn186.js +1 -1
  40. package/dist/bootsman-ui-shadcn187.js +1 -1
  41. package/dist/bootsman-ui-shadcn188.js +1 -1
  42. package/dist/bootsman-ui-shadcn189.js +1 -1
  43. package/dist/bootsman-ui-shadcn19.js +1 -1
  44. package/dist/bootsman-ui-shadcn190.js +1 -1
  45. package/dist/bootsman-ui-shadcn191.js +1 -1
  46. package/dist/bootsman-ui-shadcn192.js +1 -1
  47. package/dist/bootsman-ui-shadcn193.js +1 -1
  48. package/dist/bootsman-ui-shadcn194.js +1 -1
  49. package/dist/bootsman-ui-shadcn195.js +124 -2
  50. package/dist/bootsman-ui-shadcn196.js +519 -2
  51. package/dist/bootsman-ui-shadcn197.js +361 -2
  52. package/dist/bootsman-ui-shadcn198.js +1 -1
  53. package/dist/bootsman-ui-shadcn199.js +1 -1
  54. package/dist/bootsman-ui-shadcn200.js +1 -1
  55. package/dist/bootsman-ui-shadcn201.js +2 -20
  56. package/dist/bootsman-ui-shadcn202.js +1 -1
  57. package/dist/bootsman-ui-shadcn203.js +1 -1
  58. package/dist/bootsman-ui-shadcn204.js +1 -1
  59. package/dist/bootsman-ui-shadcn205.js +2 -3
  60. package/dist/bootsman-ui-shadcn206.js +1 -1
  61. package/dist/bootsman-ui-shadcn207.js +1 -1
  62. package/dist/bootsman-ui-shadcn208.js +1 -1
  63. package/dist/bootsman-ui-shadcn209.js +1 -1
  64. package/dist/bootsman-ui-shadcn210.js +1 -1
  65. package/dist/bootsman-ui-shadcn211.js +1 -1
  66. package/dist/bootsman-ui-shadcn212.js +1 -1
  67. package/dist/bootsman-ui-shadcn213.js +3 -2
  68. package/dist/bootsman-ui-shadcn214.js +1 -1
  69. package/dist/bootsman-ui-shadcn215.js +1 -1
  70. package/dist/bootsman-ui-shadcn216.js +1 -1
  71. package/dist/bootsman-ui-shadcn217.js +1 -1
  72. package/dist/bootsman-ui-shadcn218.js +1 -1
  73. package/dist/bootsman-ui-shadcn219.js +1 -1
  74. package/dist/bootsman-ui-shadcn220.js +1 -1
  75. package/dist/bootsman-ui-shadcn221.js +1 -1
  76. package/dist/bootsman-ui-shadcn222.js +1 -1
  77. package/dist/bootsman-ui-shadcn223.js +1 -1
  78. package/dist/bootsman-ui-shadcn224.js +2 -17
  79. package/dist/bootsman-ui-shadcn225.js +2 -4
  80. package/dist/bootsman-ui-shadcn226.js +1 -1
  81. package/dist/bootsman-ui-shadcn227.js +1 -1
  82. package/dist/bootsman-ui-shadcn228.js +1 -1
  83. package/dist/bootsman-ui-shadcn229.js +1 -1
  84. package/dist/bootsman-ui-shadcn230.js +1 -1
  85. package/dist/bootsman-ui-shadcn231.js +1 -1
  86. package/dist/bootsman-ui-shadcn232.js +1 -1
  87. package/dist/bootsman-ui-shadcn233.js +1 -1
  88. package/dist/bootsman-ui-shadcn234.js +1 -1
  89. package/dist/bootsman-ui-shadcn235.js +1 -1
  90. package/dist/bootsman-ui-shadcn236.js +1 -1
  91. package/dist/bootsman-ui-shadcn237.js +1 -1
  92. package/dist/bootsman-ui-shadcn238.js +1 -1
  93. package/dist/bootsman-ui-shadcn239.js +1 -1
  94. package/dist/bootsman-ui-shadcn240.js +1 -1
  95. package/dist/bootsman-ui-shadcn241.js +1 -1
  96. package/dist/bootsman-ui-shadcn242.js +1 -1
  97. package/dist/bootsman-ui-shadcn243.js +1 -1
  98. package/dist/bootsman-ui-shadcn244.js +1 -1
  99. package/dist/bootsman-ui-shadcn245.js +1 -1
  100. package/dist/bootsman-ui-shadcn246.js +1 -1
  101. package/dist/bootsman-ui-shadcn247.js +1 -1
  102. package/dist/bootsman-ui-shadcn248.js +1 -1
  103. package/dist/bootsman-ui-shadcn249.js +1 -1
  104. package/dist/bootsman-ui-shadcn250.js +1 -1
  105. package/dist/bootsman-ui-shadcn251.js +1 -1
  106. package/dist/bootsman-ui-shadcn252.js +1 -1
  107. package/dist/bootsman-ui-shadcn253.js +1 -1
  108. package/dist/bootsman-ui-shadcn254.js +17 -2
  109. package/dist/bootsman-ui-shadcn255.js +4 -2
  110. package/dist/bootsman-ui-shadcn256.js +1 -1
  111. package/dist/bootsman-ui-shadcn257.js +1 -1
  112. package/dist/bootsman-ui-shadcn258.js +1 -1
  113. package/dist/bootsman-ui-shadcn259.js +1 -1
  114. package/dist/bootsman-ui-shadcn260.js +1 -1
  115. package/dist/bootsman-ui-shadcn261.js +1 -1
  116. package/dist/bootsman-ui-shadcn262.js +1 -1
  117. package/dist/bootsman-ui-shadcn263.js +1 -1
  118. package/dist/bootsman-ui-shadcn264.js +1 -1
  119. package/dist/bootsman-ui-shadcn265.js +1 -1
  120. package/dist/bootsman-ui-shadcn266.js +1 -1
  121. package/dist/bootsman-ui-shadcn267.js +1 -1
  122. package/dist/bootsman-ui-shadcn268.js +1 -1
  123. package/dist/bootsman-ui-shadcn269.js +1 -1
  124. package/dist/bootsman-ui-shadcn270.js +1 -1
  125. package/dist/bootsman-ui-shadcn271.js +1 -1
  126. package/dist/bootsman-ui-shadcn272.js +1 -1
  127. package/dist/bootsman-ui-shadcn273.js +1 -1
  128. package/dist/bootsman-ui-shadcn274.js +1 -1
  129. package/dist/bootsman-ui-shadcn275.js +1 -1
  130. package/dist/bootsman-ui-shadcn276.js +1 -1
  131. package/dist/bootsman-ui-shadcn277.js +1 -1
  132. package/dist/bootsman-ui-shadcn278.js +4 -2
  133. package/dist/bootsman-ui-shadcn279.js +5 -2
  134. package/dist/bootsman-ui-shadcn280.js +1 -1
  135. package/dist/bootsman-ui-shadcn281.js +1 -1
  136. package/dist/bootsman-ui-shadcn282.js +1 -1
  137. package/dist/bootsman-ui-shadcn283.js +1 -1
  138. package/dist/bootsman-ui-shadcn284.js +1 -1
  139. package/dist/bootsman-ui-shadcn285.js +1 -1
  140. package/dist/bootsman-ui-shadcn286.js +1 -1
  141. package/dist/bootsman-ui-shadcn287.js +2 -4
  142. package/dist/bootsman-ui-shadcn288.js +2 -5
  143. package/dist/bootsman-ui-shadcn289.js +1 -1
  144. package/dist/bootsman-ui-shadcn290.js +1 -1
  145. package/dist/bootsman-ui-shadcn291.js +1 -1
  146. package/dist/bootsman-ui-shadcn292.js +1 -1
  147. package/dist/bootsman-ui-shadcn293.js +1 -1
  148. package/dist/bootsman-ui-shadcn294.js +1 -1
  149. package/dist/bootsman-ui-shadcn295.js +1 -1
  150. package/dist/bootsman-ui-shadcn296.js +1 -1
  151. package/dist/bootsman-ui-shadcn297.js +1 -1
  152. package/dist/bootsman-ui-shadcn298.js +1 -1
  153. package/dist/bootsman-ui-shadcn299.js +1 -1
  154. package/dist/bootsman-ui-shadcn300.js +1 -1
  155. package/dist/bootsman-ui-shadcn301.js +1 -1
  156. package/dist/bootsman-ui-shadcn302.js +1 -1
  157. package/dist/bootsman-ui-shadcn303.js +1 -1
  158. package/dist/bootsman-ui-shadcn304.js +1 -1
  159. package/dist/bootsman-ui-shadcn305.js +1 -1
  160. package/dist/bootsman-ui-shadcn306.js +1 -1
  161. package/dist/bootsman-ui-shadcn307.js +1 -1
  162. package/dist/bootsman-ui-shadcn308.js +1 -1
  163. package/dist/bootsman-ui-shadcn309.js +2 -106
  164. package/dist/bootsman-ui-shadcn310.js +3 -5
  165. package/dist/bootsman-ui-shadcn311.js +106 -2
  166. package/dist/bootsman-ui-shadcn312.js +4 -5
  167. package/dist/bootsman-ui-shadcn313.js +5 -5
  168. package/dist/bootsman-ui-shadcn314.js +4 -3
  169. package/dist/bootsman-ui-shadcn315.js +5 -5
  170. package/dist/bootsman-ui-shadcn316.js +1 -1
  171. package/dist/bootsman-ui-shadcn317.js +4 -2
  172. package/dist/bootsman-ui-shadcn318.js +4 -5
  173. package/dist/bootsman-ui-shadcn319.js +5 -4
  174. package/dist/bootsman-ui-shadcn320.js +1 -1
  175. package/dist/bootsman-ui-shadcn321.js +1 -1
  176. package/dist/bootsman-ui-shadcn322.js +1 -1
  177. package/dist/bootsman-ui-shadcn325.js +1 -1
  178. package/dist/bootsman-ui-shadcn327.js +18 -143
  179. package/dist/bootsman-ui-shadcn328.js +2 -1965
  180. package/dist/bootsman-ui-shadcn329.js +21 -13
  181. package/dist/bootsman-ui-shadcn331.js +118 -27
  182. package/dist/bootsman-ui-shadcn332.js +12 -28
  183. package/dist/bootsman-ui-shadcn333.js +27 -2
  184. package/dist/bootsman-ui-shadcn334.js +17 -117
  185. package/dist/bootsman-ui-shadcn335.js +25 -10
  186. package/dist/bootsman-ui-shadcn336.js +4 -18
  187. package/dist/bootsman-ui-shadcn337.js +142 -24
  188. package/dist/bootsman-ui-shadcn338.js +1965 -4
  189. package/dist/bootsman-ui-shadcn36.js +1 -1
  190. package/dist/bootsman-ui-shadcn37.js +2 -2
  191. package/dist/bootsman-ui-shadcn45.js +1 -1
  192. package/dist/bootsman-ui-shadcn50.js +1 -1
  193. package/dist/bootsman-ui-shadcn61.js +1 -1
  194. package/dist/bootsman-ui-shadcn67.js +1 -1
  195. package/dist/bootsman-ui-shadcn81.js +1 -1
  196. package/dist/bootsman-ui-shadcn87.js +1 -1
  197. package/dist/bootsman-ui-shadcn99.js +1 -1
  198. package/dist/{style.css → src/assets/main.css} +1 -1
  199. package/dist/src/components/ui/calendar/BuiCalendar.css +1 -0
  200. package/package.json +1 -1
  201. package/dist/bootsman-ui-shadcn2.js +0 -1
  202. package/dist/bootsman-ui-shadcn38.js +0 -1
@@ -1,363 +1,4 @@
1
- import { shift as Z, flip as P, size as tt, hide as et, limitShift as it, arrow as ot, computePosition as nt } from "./bootsman-ui-shadcn183.js";
2
- import { detectOverflow as Ht, offset as It } from "./bootsman-ui-shadcn183.js";
3
- import { createCoords as x, rectToClientRect as U, round as A, floor as B, max as T, min as D } from "./bootsman-ui-shadcn334.js";
4
- import { getOverflowAncestors as H, isElement as y, getWindow as E, getComputedStyle as m, getDocumentElement as b, isHTMLElement as v, isWebKit as _, getNodeName as F, isOverflowElement as V, getNodeScroll as N, isTableElement as st, isContainingBlock as K, getContainingBlock as rt, getParentNode as I, isLastTraversableNode as X } from "./bootsman-ui-shadcn309.js";
5
- function j(t) {
6
- const e = m(t);
7
- let i = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
8
- const n = v(t), c = n ? t.offsetWidth : i, s = n ? t.offsetHeight : o, r = A(i) !== c || A(o) !== s;
9
- return r && (i = c, o = s), {
10
- width: i,
11
- height: o,
12
- $: r
13
- };
14
- }
15
- function $(t) {
16
- return y(t) ? t : t.contextElement;
17
- }
18
- function L(t) {
19
- const e = $(t);
20
- if (!v(e))
21
- return x(1);
22
- const i = e.getBoundingClientRect(), {
23
- width: o,
24
- height: n,
25
- $: c
26
- } = j(e);
27
- let s = (c ? A(i.width) : i.width) / o, r = (c ? A(i.height) : i.height) / n;
28
- return (!s || !Number.isFinite(s)) && (s = 1), (!r || !Number.isFinite(r)) && (r = 1), {
29
- x: s,
30
- y: r
31
- };
32
- }
33
- const ct = /* @__PURE__ */ x(0);
34
- function G(t) {
35
- const e = E(t);
36
- return !_() || !e.visualViewport ? ct : {
37
- x: e.visualViewport.offsetLeft,
38
- y: e.visualViewport.offsetTop
39
- };
40
- }
41
- function lt(t, e, i) {
42
- return e === void 0 && (e = !1), !i || e && i !== E(t) ? !1 : e;
43
- }
44
- function O(t, e, i, o) {
45
- e === void 0 && (e = !1), i === void 0 && (i = !1);
46
- const n = t.getBoundingClientRect(), c = $(t);
47
- let s = x(1);
48
- e && (o ? y(o) && (s = L(o)) : s = L(t));
49
- const r = lt(c, i, o) ? G(c) : x(0);
50
- let l = (n.left + r.x) / s.x, f = (n.top + r.y) / s.y, p = n.width / s.x, d = n.height / s.y;
51
- if (c) {
52
- const w = E(c), a = o && y(o) ? E(o) : o;
53
- let g = w.frameElement;
54
- for (; g && o && a !== w; ) {
55
- const h = L(g), R = g.getBoundingClientRect(), u = m(g), C = R.left + (g.clientLeft + parseFloat(u.paddingLeft)) * h.x, W = R.top + (g.clientTop + parseFloat(u.paddingTop)) * h.y;
56
- l *= h.x, f *= h.y, p *= h.x, d *= h.y, l += C, f += W, g = E(g).frameElement;
57
- }
58
- }
59
- return U({
60
- width: p,
61
- height: d,
62
- x: l,
63
- y: f
64
- });
65
- }
66
- function ft(t) {
67
- let {
68
- rect: e,
69
- offsetParent: i,
70
- strategy: o
71
- } = t;
72
- const n = v(i), c = b(i);
73
- if (i === c)
74
- return e;
75
- let s = {
76
- scrollLeft: 0,
77
- scrollTop: 0
78
- }, r = x(1);
79
- const l = x(0);
80
- if ((n || !n && o !== "fixed") && ((F(i) !== "body" || V(c)) && (s = N(i)), v(i))) {
81
- const f = O(i);
82
- r = L(i), l.x = f.x + i.clientLeft, l.y = f.y + i.clientTop;
83
- }
84
- return {
85
- width: e.width * r.x,
86
- height: e.height * r.y,
87
- x: e.x * r.x - s.scrollLeft * r.x + l.x,
88
- y: e.y * r.y - s.scrollTop * r.y + l.y
89
- };
90
- }
91
- function ut(t) {
92
- return Array.from(t.getClientRects());
93
- }
94
- function J(t) {
95
- return O(b(t)).left + N(t).scrollLeft;
96
- }
97
- function ht(t) {
98
- const e = b(t), i = N(t), o = t.ownerDocument.body, n = T(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), c = T(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
99
- let s = -i.scrollLeft + J(t);
100
- const r = -i.scrollTop;
101
- return m(o).direction === "rtl" && (s += T(e.clientWidth, o.clientWidth) - n), {
102
- width: n,
103
- height: c,
104
- x: s,
105
- y: r
106
- };
107
- }
108
- function at(t, e) {
109
- const i = E(t), o = b(t), n = i.visualViewport;
110
- let c = o.clientWidth, s = o.clientHeight, r = 0, l = 0;
111
- if (n) {
112
- c = n.width, s = n.height;
113
- const f = _();
114
- (!f || f && e === "fixed") && (r = n.offsetLeft, l = n.offsetTop);
115
- }
116
- return {
117
- width: c,
118
- height: s,
119
- x: r,
120
- y: l
121
- };
122
- }
123
- function dt(t, e) {
124
- const i = O(t, !0, e === "fixed"), o = i.top + t.clientTop, n = i.left + t.clientLeft, c = v(t) ? L(t) : x(1), s = t.clientWidth * c.x, r = t.clientHeight * c.y, l = n * c.x, f = o * c.y;
125
- return {
126
- width: s,
127
- height: r,
128
- x: l,
129
- y: f
130
- };
131
- }
132
- function k(t, e, i) {
133
- let o;
134
- if (e === "viewport")
135
- o = at(t, i);
136
- else if (e === "document")
137
- o = ht(b(t));
138
- else if (y(e))
139
- o = dt(e, i);
140
- else {
141
- const n = G(t);
142
- o = {
143
- ...e,
144
- x: e.x - n.x,
145
- y: e.y - n.y
146
- };
147
- }
148
- return U(o);
149
- }
150
- function Q(t, e) {
151
- const i = I(t);
152
- return i === e || !y(i) || X(i) ? !1 : m(i).position === "fixed" || Q(i, e);
153
- }
154
- function gt(t, e) {
155
- const i = e.get(t);
156
- if (i)
157
- return i;
158
- let o = H(t, [], !1).filter((r) => y(r) && F(r) !== "body"), n = null;
159
- const c = m(t).position === "fixed";
160
- let s = c ? I(t) : t;
161
- for (; y(s) && !X(s); ) {
162
- const r = m(s), l = K(s);
163
- !l && r.position === "fixed" && (n = null), (c ? !l && !n : !l && r.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || V(s) && !l && Q(t, s)) ? o = o.filter((p) => p !== s) : n = r, s = I(s);
164
- }
165
- return e.set(t, o), o;
166
- }
167
- function pt(t) {
168
- let {
169
- element: e,
170
- boundary: i,
171
- rootBoundary: o,
172
- strategy: n
173
- } = t;
174
- const s = [...i === "clippingAncestors" ? gt(e, this._c) : [].concat(i), o], r = s[0], l = s.reduce((f, p) => {
175
- const d = k(e, p, n);
176
- return f.top = T(d.top, f.top), f.right = D(d.right, f.right), f.bottom = D(d.bottom, f.bottom), f.left = T(d.left, f.left), f;
177
- }, k(e, r, n));
178
- return {
179
- width: l.right - l.left,
180
- height: l.bottom - l.top,
181
- x: l.left,
182
- y: l.top
183
- };
184
- }
185
- function mt(t) {
186
- const {
187
- width: e,
188
- height: i
189
- } = j(t);
190
- return {
191
- width: e,
192
- height: i
193
- };
194
- }
195
- function wt(t, e, i) {
196
- const o = v(e), n = b(e), c = i === "fixed", s = O(t, !0, c, e);
197
- let r = {
198
- scrollLeft: 0,
199
- scrollTop: 0
200
- };
201
- const l = x(0);
202
- if (o || !o && !c)
203
- if ((F(e) !== "body" || V(n)) && (r = N(e)), o) {
204
- const f = O(e, !0, c, e);
205
- l.x = f.x + e.clientLeft, l.y = f.y + e.clientTop;
206
- } else
207
- n && (l.x = J(n));
208
- return {
209
- x: s.left + r.scrollLeft - l.x,
210
- y: s.top + r.scrollTop - l.y,
211
- width: s.width,
212
- height: s.height
213
- };
214
- }
215
- function q(t, e) {
216
- return !v(t) || m(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
217
- }
218
- function Y(t, e) {
219
- const i = E(t);
220
- if (!v(t))
221
- return i;
222
- let o = q(t, e);
223
- for (; o && st(o) && m(o).position === "static"; )
224
- o = q(o, e);
225
- return o && (F(o) === "html" || F(o) === "body" && m(o).position === "static" && !K(o)) ? i : o || rt(t) || i;
226
- }
227
- const xt = async function(t) {
228
- let {
229
- reference: e,
230
- floating: i,
231
- strategy: o
232
- } = t;
233
- const n = this.getOffsetParent || Y, c = this.getDimensions;
234
- return {
235
- reference: wt(e, await n(i), o),
236
- floating: {
237
- x: 0,
238
- y: 0,
239
- ...await c(i)
240
- }
241
- };
242
- };
243
- function yt(t) {
244
- return m(t).direction === "rtl";
245
- }
246
- const vt = {
247
- convertOffsetParentRelativeRectToViewportRelativeRect: ft,
248
- getDocumentElement: b,
249
- getClippingRect: pt,
250
- getOffsetParent: Y,
251
- getElementRects: xt,
252
- getClientRects: ut,
253
- getDimensions: mt,
254
- getScale: L,
255
- isElement: y,
256
- isRTL: yt
257
- };
258
- function bt(t, e) {
259
- let i = null, o;
260
- const n = b(t);
261
- function c() {
262
- clearTimeout(o), i && i.disconnect(), i = null;
263
- }
264
- function s(r, l) {
265
- r === void 0 && (r = !1), l === void 0 && (l = 1), c();
266
- const {
267
- left: f,
268
- top: p,
269
- width: d,
270
- height: w
271
- } = t.getBoundingClientRect();
272
- if (r || e(), !d || !w)
273
- return;
274
- const a = B(p), g = B(n.clientWidth - (f + d)), h = B(n.clientHeight - (p + w)), R = B(f), C = {
275
- rootMargin: -a + "px " + -g + "px " + -h + "px " + -R + "px",
276
- threshold: T(0, D(1, l)) || 1
277
- };
278
- let W = !0;
279
- function S(M) {
280
- const z = M[0].intersectionRatio;
281
- if (z !== l) {
282
- if (!W)
283
- return s();
284
- z ? s(!1, z) : o = setTimeout(() => {
285
- s(!1, 1e-7);
286
- }, 100);
287
- }
288
- W = !1;
289
- }
290
- try {
291
- i = new IntersectionObserver(S, {
292
- ...C,
293
- // Handle <iframe>s
294
- root: n.ownerDocument
295
- });
296
- } catch {
297
- i = new IntersectionObserver(S, C);
298
- }
299
- i.observe(t);
300
- }
301
- return s(!0), c;
302
- }
303
- function Ot(t, e, i, o) {
304
- o === void 0 && (o = {});
305
- const {
306
- ancestorScroll: n = !0,
307
- ancestorResize: c = !0,
308
- elementResize: s = typeof ResizeObserver == "function",
309
- layoutShift: r = typeof IntersectionObserver == "function",
310
- animationFrame: l = !1
311
- } = o, f = $(t), p = n || c ? [...f ? H(f) : [], ...H(e)] : [];
312
- p.forEach((u) => {
313
- n && u.addEventListener("scroll", i, {
314
- passive: !0
315
- }), c && u.addEventListener("resize", i);
316
- });
317
- const d = f && r ? bt(f, i) : null;
318
- let w = -1, a = null;
319
- s && (a = new ResizeObserver((u) => {
320
- let [C] = u;
321
- C && C.target === f && a && (a.unobserve(e), cancelAnimationFrame(w), w = requestAnimationFrame(() => {
322
- a && a.observe(e);
323
- })), i();
324
- }), f && !l && a.observe(f), a.observe(e));
325
- let g, h = l ? O(t) : null;
326
- l && R();
327
- function R() {
328
- const u = O(t);
329
- h && (u.x !== h.x || u.y !== h.y || u.width !== h.width || u.height !== h.height) && i(), h = u, g = requestAnimationFrame(R);
330
- }
331
- return i(), () => {
332
- p.forEach((u) => {
333
- n && u.removeEventListener("scroll", i), c && u.removeEventListener("resize", i);
334
- }), d && d(), a && a.disconnect(), a = null, l && cancelAnimationFrame(g);
335
- };
336
- }
337
- const Tt = Z, Lt = P, Ft = tt, Wt = et, Bt = ot, At = it, Nt = (t, e, i) => {
338
- const o = /* @__PURE__ */ new Map(), n = {
339
- platform: vt,
340
- ...i
341
- }, c = {
342
- ...n.platform,
343
- _c: o
344
- };
345
- return nt(t, e, {
346
- ...n,
347
- platform: c
348
- });
349
- };
1
+ import f from "./bootsman-ui-shadcn36.js";
350
2
  export {
351
- Bt as arrow,
352
- Ot as autoUpdate,
353
- Nt as computePosition,
354
- Ht as detectOverflow,
355
- Lt as flip,
356
- H as getOverflowAncestors,
357
- Wt as hide,
358
- At as limitShift,
359
- It as offset,
360
- vt as platform,
361
- Tt as shift,
362
- Ft as size
3
+ f as default
363
4
  };
@@ -1,4 +1,4 @@
1
- import f from "./bootsman-ui-shadcn99.js";
1
+ import f from "./bootsman-ui-shadcn20.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import f from "./bootsman-ui-shadcn142.js";
1
+ import f from "./bootsman-ui-shadcn21.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import f from "./bootsman-ui-shadcn143.js";
1
+ import f from "./bootsman-ui-shadcn22.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import f from "./bootsman-ui-shadcn144.js";
1
+ import f from "./bootsman-ui-shadcn23.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import f from "./bootsman-ui-shadcn145.js";
1
+ import f from "./bootsman-ui-shadcn24.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as d, openBlock as l, createBlock as c, unref as e, withCtx as t, createElementVNode as n, createVNode as a, mergeProps as f, renderSlot as r } from "vue";
2
2
  import { cn as m } from "./bootsman-ui-shadcn14.js";
3
3
  import { AccordionHeader as p, AccordionTrigger as u } from "./bootsman-ui-shadcn140.js";
4
- import g from "./bootsman-ui-shadcn310.js";
4
+ import g from "./bootsman-ui-shadcn312.js";
5
5
  const b = { class: "flex justify-between gap-2" }, v = { class: "mx-6 mt-2 align-middle text-xs font-normal leading-4" }, w = /* @__PURE__ */ d({
6
6
  __name: "BuiAccordionTrigger",
7
7
  props: {
@@ -1,4 +1,4 @@
1
- import f from "./bootsman-ui-shadcn100.js";
1
+ import f from "./bootsman-ui-shadcn25.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import f from "./bootsman-ui-shadcn46.js";
1
+ import f from "./bootsman-ui-shadcn26.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import f from "./bootsman-ui-shadcn47.js";
1
+ import f from "./bootsman-ui-shadcn27.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import f from "./bootsman-ui-shadcn48.js";
1
+ import f from "./bootsman-ui-shadcn28.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import f from "./bootsman-ui-shadcn49.js";
1
+ import f from "./bootsman-ui-shadcn98.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,126 @@
1
- import f from "./bootsman-ui-shadcn50.js";
1
+ import { arrow as z, computePosition as A } from "./bootsman-ui-shadcn197.js";
2
+ import { autoUpdate as T, flip as W, hide as X, limitShift as Y, platform as Z, shift as ee, size as ne } from "./bootsman-ui-shadcn197.js";
3
+ import { computed as r, unref as o, ref as f, shallowRef as B, watch as h, getCurrentScope as F, onScopeDispose as I, shallowReadonly as a } from "vue";
4
+ import { isNode as U, getNodeName as j } from "./bootsman-ui-shadcn311.js";
5
+ import { getOverflowAncestors as le } from "./bootsman-ui-shadcn311.js";
6
+ function k(n) {
7
+ return n != null && {}.hasOwnProperty.call(n, "$el");
8
+ }
9
+ function g(n) {
10
+ if (k(n)) {
11
+ const l = n.$el;
12
+ return U(l) && j(l) === "#comment" ? null : l;
13
+ }
14
+ return n;
15
+ }
16
+ function J(n) {
17
+ return {
18
+ name: "arrow",
19
+ options: n,
20
+ fn(l) {
21
+ const t = g(o(n.element));
22
+ return t == null ? {} : z({
23
+ element: t,
24
+ padding: n.padding
25
+ }).fn(l);
26
+ }
27
+ };
28
+ }
29
+ function _(n) {
30
+ return typeof window > "u" ? 1 : (n.ownerDocument.defaultView || window).devicePixelRatio || 1;
31
+ }
32
+ function M(n, l) {
33
+ const t = _(n);
34
+ return Math.round(l * t) / t;
35
+ }
36
+ function K(n, l, t) {
37
+ t === void 0 && (t = {});
38
+ const x = t.whileElementsMounted, O = r(() => {
39
+ var e;
40
+ return (e = o(t.open)) != null ? e : !0;
41
+ }), P = r(() => o(t.middleware)), d = r(() => {
42
+ var e;
43
+ return (e = o(t.placement)) != null ? e : "bottom";
44
+ }), v = r(() => {
45
+ var e;
46
+ return (e = o(t.strategy)) != null ? e : "absolute";
47
+ }), b = r(() => {
48
+ var e;
49
+ return (e = o(t.transform)) != null ? e : !0;
50
+ }), i = r(() => g(n.value)), u = r(() => g(l.value)), p = f(0), w = f(0), c = f(v.value), D = f(d.value), E = B({}), y = f(!1), N = r(() => {
51
+ const e = {
52
+ position: c.value,
53
+ left: "0",
54
+ top: "0"
55
+ };
56
+ if (!u.value)
57
+ return e;
58
+ const S = M(u.value, p.value), C = M(u.value, w.value);
59
+ return b.value ? {
60
+ ...e,
61
+ transform: "translate(" + S + "px, " + C + "px)",
62
+ ..._(u.value) >= 1.5 && {
63
+ willChange: "transform"
64
+ }
65
+ } : {
66
+ position: c.value,
67
+ left: S + "px",
68
+ top: C + "px"
69
+ };
70
+ });
71
+ let s;
72
+ function m() {
73
+ i.value == null || u.value == null || A(i.value, u.value, {
74
+ middleware: P.value,
75
+ placement: d.value,
76
+ strategy: v.value
77
+ }).then((e) => {
78
+ p.value = e.x, w.value = e.y, c.value = e.strategy, D.value = e.placement, E.value = e.middlewareData, y.value = !0;
79
+ });
80
+ }
81
+ function R() {
82
+ typeof s == "function" && (s(), s = void 0);
83
+ }
84
+ function V() {
85
+ if (R(), x === void 0) {
86
+ m();
87
+ return;
88
+ }
89
+ if (i.value != null && u.value != null) {
90
+ s = x(i.value, u.value, m);
91
+ return;
92
+ }
93
+ }
94
+ function $() {
95
+ O.value || (y.value = !1);
96
+ }
97
+ return h([P, d, v], m, {
98
+ flush: "sync"
99
+ }), h([i, u], V, {
100
+ flush: "sync"
101
+ }), h(O, $, {
102
+ flush: "sync"
103
+ }), F() && I(R), {
104
+ x: a(p),
105
+ y: a(w),
106
+ strategy: a(c),
107
+ placement: a(D),
108
+ middlewareData: a(E),
109
+ isPositioned: a(y),
110
+ floatingStyles: N,
111
+ update: m
112
+ };
113
+ }
2
114
  export {
3
- f as default
115
+ J as arrow,
116
+ T as autoUpdate,
117
+ A as computePosition,
118
+ W as flip,
119
+ le as getOverflowAncestors,
120
+ X as hide,
121
+ Y as limitShift,
122
+ Z as platform,
123
+ ee as shift,
124
+ ne as size,
125
+ K as useFloating
4
126
  };