@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.
- package/dist/bootsman-ui-shadcn100.js +1 -1
- package/dist/bootsman-ui-shadcn106.js +1 -1
- package/dist/bootsman-ui-shadcn122.js +2 -2
- package/dist/bootsman-ui-shadcn127.js +1 -1
- package/dist/bootsman-ui-shadcn139.js +1 -1
- package/dist/bootsman-ui-shadcn140.js +3 -3
- package/dist/bootsman-ui-shadcn141.js +1 -1
- package/dist/bootsman-ui-shadcn142.js +1 -1
- package/dist/bootsman-ui-shadcn143.js +1 -1
- package/dist/bootsman-ui-shadcn144.js +1 -1
- package/dist/bootsman-ui-shadcn145.js +1 -1
- package/dist/bootsman-ui-shadcn148.js +1 -1
- package/dist/bootsman-ui-shadcn150.js +1 -1
- package/dist/bootsman-ui-shadcn153.js +1 -1
- package/dist/bootsman-ui-shadcn158.js +1 -1
- package/dist/bootsman-ui-shadcn164.js +2 -2
- package/dist/bootsman-ui-shadcn165.js +1 -1
- package/dist/bootsman-ui-shadcn166.js +1 -1
- package/dist/bootsman-ui-shadcn167.js +1 -1
- package/dist/bootsman-ui-shadcn168.js +1 -1
- package/dist/bootsman-ui-shadcn169.js +1 -1
- package/dist/bootsman-ui-shadcn170.js +1 -1
- package/dist/bootsman-ui-shadcn171.js +1 -1
- package/dist/bootsman-ui-shadcn172.js +1 -1
- package/dist/bootsman-ui-shadcn173.js +1 -1
- package/dist/bootsman-ui-shadcn174.js +1 -1
- package/dist/bootsman-ui-shadcn175.js +1 -1
- package/dist/bootsman-ui-shadcn176.js +1 -1
- package/dist/bootsman-ui-shadcn177.js +1 -1
- package/dist/bootsman-ui-shadcn178.js +2 -20
- package/dist/bootsman-ui-shadcn179.js +1 -1
- package/dist/bootsman-ui-shadcn180.js +1 -1
- package/dist/bootsman-ui-shadcn181.js +1 -1
- package/dist/bootsman-ui-shadcn182.js +124 -2
- package/dist/bootsman-ui-shadcn183.js +519 -2
- package/dist/bootsman-ui-shadcn184.js +361 -2
- package/dist/bootsman-ui-shadcn185.js +2 -124
- package/dist/bootsman-ui-shadcn186.js +2 -519
- package/dist/bootsman-ui-shadcn187.js +2 -361
- package/dist/bootsman-ui-shadcn188.js +1 -1
- package/dist/bootsman-ui-shadcn189.js +1 -1
- package/dist/bootsman-ui-shadcn19.js +1 -1
- package/dist/bootsman-ui-shadcn190.js +1 -1
- package/dist/bootsman-ui-shadcn191.js +1 -1
- package/dist/bootsman-ui-shadcn192.js +1 -1
- package/dist/bootsman-ui-shadcn193.js +1 -1
- package/dist/bootsman-ui-shadcn194.js +1 -1
- package/dist/bootsman-ui-shadcn195.js +1 -1
- package/dist/bootsman-ui-shadcn196.js +1 -1
- package/dist/bootsman-ui-shadcn197.js +1 -1
- package/dist/bootsman-ui-shadcn198.js +1 -1
- package/dist/bootsman-ui-shadcn199.js +1 -1
- package/dist/bootsman-ui-shadcn200.js +1 -1
- package/dist/bootsman-ui-shadcn201.js +20 -2
- package/dist/bootsman-ui-shadcn202.js +1 -1
- package/dist/bootsman-ui-shadcn203.js +1 -1
- package/dist/bootsman-ui-shadcn204.js +1 -1
- package/dist/bootsman-ui-shadcn205.js +3 -2
- package/dist/bootsman-ui-shadcn206.js +1 -1
- package/dist/bootsman-ui-shadcn207.js +1 -1
- package/dist/bootsman-ui-shadcn208.js +1 -1
- package/dist/bootsman-ui-shadcn209.js +1 -1
- package/dist/bootsman-ui-shadcn210.js +1 -1
- package/dist/bootsman-ui-shadcn211.js +1 -1
- package/dist/bootsman-ui-shadcn212.js +1 -1
- package/dist/bootsman-ui-shadcn213.js +1 -1
- package/dist/bootsman-ui-shadcn214.js +1 -1
- package/dist/bootsman-ui-shadcn215.js +1 -1
- package/dist/bootsman-ui-shadcn216.js +1 -1
- package/dist/bootsman-ui-shadcn217.js +1 -1
- package/dist/bootsman-ui-shadcn218.js +1 -1
- package/dist/bootsman-ui-shadcn219.js +1 -1
- package/dist/bootsman-ui-shadcn220.js +1 -1
- package/dist/bootsman-ui-shadcn221.js +1 -1
- package/dist/bootsman-ui-shadcn222.js +1 -1
- package/dist/bootsman-ui-shadcn223.js +1 -1
- package/dist/bootsman-ui-shadcn224.js +17 -2
- package/dist/bootsman-ui-shadcn225.js +4 -2
- package/dist/bootsman-ui-shadcn226.js +1 -1
- package/dist/bootsman-ui-shadcn227.js +1 -1
- package/dist/bootsman-ui-shadcn228.js +1 -1
- package/dist/bootsman-ui-shadcn229.js +1 -1
- package/dist/bootsman-ui-shadcn230.js +2 -17
- package/dist/bootsman-ui-shadcn231.js +2 -4
- package/dist/bootsman-ui-shadcn232.js +1 -1
- package/dist/bootsman-ui-shadcn233.js +1 -1
- package/dist/bootsman-ui-shadcn234.js +1 -1
- package/dist/bootsman-ui-shadcn235.js +1 -1
- package/dist/bootsman-ui-shadcn236.js +2 -3
- package/dist/bootsman-ui-shadcn237.js +1 -1
- package/dist/bootsman-ui-shadcn238.js +1 -1
- package/dist/bootsman-ui-shadcn239.js +1 -1
- package/dist/bootsman-ui-shadcn240.js +1 -1
- package/dist/bootsman-ui-shadcn241.js +1 -1
- package/dist/bootsman-ui-shadcn242.js +1 -1
- package/dist/bootsman-ui-shadcn243.js +1 -1
- package/dist/bootsman-ui-shadcn244.js +1 -1
- package/dist/bootsman-ui-shadcn245.js +1 -1
- package/dist/bootsman-ui-shadcn246.js +1 -1
- package/dist/bootsman-ui-shadcn247.js +1 -1
- package/dist/bootsman-ui-shadcn248.js +1 -1
- package/dist/bootsman-ui-shadcn249.js +1 -1
- package/dist/bootsman-ui-shadcn250.js +1 -1
- package/dist/bootsman-ui-shadcn251.js +1 -1
- package/dist/bootsman-ui-shadcn252.js +1 -1
- package/dist/bootsman-ui-shadcn253.js +1 -1
- package/dist/bootsman-ui-shadcn254.js +1 -1
- package/dist/bootsman-ui-shadcn255.js +1 -1
- package/dist/bootsman-ui-shadcn256.js +1 -1
- package/dist/bootsman-ui-shadcn257.js +1 -1
- package/dist/bootsman-ui-shadcn258.js +1 -1
- package/dist/bootsman-ui-shadcn259.js +1 -1
- package/dist/bootsman-ui-shadcn260.js +1 -1
- package/dist/bootsman-ui-shadcn263.js +1 -1
- package/dist/bootsman-ui-shadcn264.js +1 -1
- package/dist/bootsman-ui-shadcn265.js +1 -1
- package/dist/bootsman-ui-shadcn266.js +1 -1
- package/dist/bootsman-ui-shadcn267.js +1 -1
- package/dist/bootsman-ui-shadcn268.js +2 -4
- package/dist/bootsman-ui-shadcn269.js +2 -5
- package/dist/bootsman-ui-shadcn270.js +1 -1
- package/dist/bootsman-ui-shadcn271.js +1 -1
- package/dist/bootsman-ui-shadcn272.js +1 -1
- package/dist/bootsman-ui-shadcn273.js +1 -1
- package/dist/bootsman-ui-shadcn274.js +1 -1
- package/dist/bootsman-ui-shadcn275.js +1 -1
- package/dist/bootsman-ui-shadcn276.js +1 -1
- package/dist/bootsman-ui-shadcn277.js +1 -1
- package/dist/bootsman-ui-shadcn278.js +1 -1
- package/dist/bootsman-ui-shadcn279.js +1 -1
- package/dist/bootsman-ui-shadcn280.js +1 -1
- package/dist/bootsman-ui-shadcn281.js +1 -1
- package/dist/bootsman-ui-shadcn282.js +1 -1
- package/dist/bootsman-ui-shadcn283.js +1 -1
- package/dist/bootsman-ui-shadcn284.js +1 -1
- package/dist/bootsman-ui-shadcn285.js +1 -1
- package/dist/bootsman-ui-shadcn286.js +1 -1
- package/dist/bootsman-ui-shadcn287.js +4 -2
- package/dist/bootsman-ui-shadcn288.js +5 -2
- package/dist/bootsman-ui-shadcn289.js +1 -1
- package/dist/bootsman-ui-shadcn290.js +1 -1
- package/dist/bootsman-ui-shadcn291.js +1 -1
- package/dist/bootsman-ui-shadcn292.js +1 -1
- package/dist/bootsman-ui-shadcn293.js +1 -1
- package/dist/bootsman-ui-shadcn294.js +1 -1
- package/dist/bootsman-ui-shadcn295.js +1 -1
- package/dist/bootsman-ui-shadcn296.js +1 -1
- package/dist/bootsman-ui-shadcn297.js +1 -1
- package/dist/bootsman-ui-shadcn298.js +1 -1
- package/dist/bootsman-ui-shadcn299.js +1 -1
- package/dist/bootsman-ui-shadcn308.js +2 -11
- package/dist/bootsman-ui-shadcn309.js +106 -2
- package/dist/bootsman-ui-shadcn310.js +11 -2
- package/dist/bootsman-ui-shadcn311.js +2 -12
- package/dist/bootsman-ui-shadcn312.js +4 -4
- package/dist/bootsman-ui-shadcn313.js +5 -4
- package/dist/bootsman-ui-shadcn314.js +4 -6
- package/dist/bootsman-ui-shadcn315.js +4 -4
- package/dist/bootsman-ui-shadcn316.js +6 -4
- package/dist/bootsman-ui-shadcn317.js +9 -106
- package/dist/bootsman-ui-shadcn318.js +5 -2
- package/dist/bootsman-ui-shadcn319.js +4 -4
- package/dist/bootsman-ui-shadcn320.js +46 -8
- package/dist/bootsman-ui-shadcn321.js +5779 -3
- package/dist/bootsman-ui-shadcn322.js +11 -65
- package/dist/bootsman-ui-shadcn323.js +9 -22
- package/dist/bootsman-ui-shadcn324.js +3 -48
- package/dist/bootsman-ui-shadcn325.js +54 -5768
- package/dist/bootsman-ui-shadcn326.js +23 -12
- package/dist/bootsman-ui-shadcn327.js +143 -18
- package/dist/bootsman-ui-shadcn328.js +1965 -2
- package/dist/bootsman-ui-shadcn329.js +18 -143
- package/dist/bootsman-ui-shadcn330.js +2 -1965
- package/dist/bootsman-ui-shadcn334.js +116 -8
- package/dist/bootsman-ui-shadcn335.js +8 -116
- package/dist/bootsman-ui-shadcn337.js +25 -4
- package/dist/bootsman-ui-shadcn338.js +4 -25
- package/dist/bootsman-ui-shadcn341.js +3 -3
- package/dist/bootsman-ui-shadcn343.js +1 -1
- package/dist/bootsman-ui-shadcn344.js +3 -3
- package/dist/bootsman-ui-shadcn348.js +1 -1
- package/dist/bootsman-ui-shadcn349.js +1 -1
- package/dist/bootsman-ui-shadcn350.js +1 -1
- package/dist/bootsman-ui-shadcn351.js +6 -6
- package/dist/bootsman-ui-shadcn352.js +1 -1
- package/dist/bootsman-ui-shadcn353.js +1 -1
- package/dist/bootsman-ui-shadcn354.js +6 -6
- package/dist/bootsman-ui-shadcn355.js +8 -8
- package/dist/bootsman-ui-shadcn356.js +6 -6
- package/dist/bootsman-ui-shadcn357.js +1 -1
- package/dist/bootsman-ui-shadcn358.js +3 -9
- package/dist/bootsman-ui-shadcn359.js +3 -51
- package/dist/bootsman-ui-shadcn36.js +1 -1
- package/dist/bootsman-ui-shadcn360.js +15 -7
- package/dist/bootsman-ui-shadcn361.js +3 -4
- package/dist/bootsman-ui-shadcn362.js +9 -3
- package/dist/bootsman-ui-shadcn363.js +4 -3
- package/dist/bootsman-ui-shadcn364.js +6 -4
- package/dist/bootsman-ui-shadcn365.js +9 -3
- package/dist/bootsman-ui-shadcn366.js +7 -11
- package/dist/bootsman-ui-shadcn367.js +4 -9
- package/dist/bootsman-ui-shadcn368.js +3 -31
- package/dist/bootsman-ui-shadcn369.js +4 -25
- package/dist/bootsman-ui-shadcn37.js +4 -4
- package/dist/bootsman-ui-shadcn370.js +11 -3
- package/dist/bootsman-ui-shadcn371.js +9 -3
- package/dist/bootsman-ui-shadcn372.js +31 -9
- package/dist/bootsman-ui-shadcn373.js +24 -8
- package/dist/bootsman-ui-shadcn374.js +50 -14
- package/dist/bootsman-ui-shadcn375.js +3 -4
- package/dist/bootsman-ui-shadcn376.js +8 -5
- package/dist/bootsman-ui-shadcn377.js +2 -2
- package/dist/bootsman-ui-shadcn378.js +1 -1
- package/dist/bootsman-ui-shadcn379.js +1 -1
- package/dist/bootsman-ui-shadcn380.js +1 -1
- package/dist/bootsman-ui-shadcn381.js +1 -1
- package/dist/bootsman-ui-shadcn382.js +2 -2
- package/dist/bootsman-ui-shadcn383.js +1 -1
- package/dist/bootsman-ui-shadcn385.js +5 -5
- package/dist/bootsman-ui-shadcn388.js +1 -1
- package/dist/bootsman-ui-shadcn390.js +2 -2
- package/dist/bootsman-ui-shadcn391.js +3 -3
- package/dist/bootsman-ui-shadcn45.js +1 -1
- package/dist/bootsman-ui-shadcn50.js +1 -1
- package/dist/bootsman-ui-shadcn61.js +1 -1
- package/dist/bootsman-ui-shadcn62.js +1 -1
- package/dist/bootsman-ui-shadcn67.js +1 -1
- package/dist/bootsman-ui-shadcn81.js +1 -1
- package/dist/bootsman-ui-shadcn82.js +1 -1
- package/dist/bootsman-ui-shadcn87.js +1 -1
- package/dist/bootsman-ui-shadcn90.js +1 -1
- package/dist/bootsman-ui-shadcn91.js +1 -1
- package/dist/bootsman-ui-shadcn92.js +1 -1
- package/dist/bootsman-ui-shadcn93.js +1 -1
- package/dist/bootsman-ui-shadcn97.js +1 -1
- package/package.json +2 -2
@@ -1,14 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
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
|
-
|
9
|
+
e as default
|
14
10
|
};
|
@@ -1,12 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
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
|
-
|
6
|
+
r as default
|
12
7
|
};
|
@@ -1,34 +1,6 @@
|
|
1
|
-
|
2
|
-
|
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
|
-
|
5
|
+
a as default
|
34
6
|
};
|
@@ -1,27 +1,6 @@
|
|
1
|
-
|
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
|
-
|
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-
|
3
|
-
import { DatePicker as L } from "./bootsman-ui-
|
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-
|
8
|
-
import O from "./bootsman-ui-
|
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
|
-
|
2
|
-
|
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
|
-
|
13
|
+
r as default
|
6
14
|
};
|
@@ -1,12 +1,34 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
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
|
-
|
11
|
-
m as withinMaxClamp
|
33
|
+
re as default
|
12
34
|
};
|
@@ -1,11 +1,27 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
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
|
-
|
26
|
+
_ as default
|
11
27
|
};
|
@@ -1,18 +1,54 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
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
|
-
|
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
|
-
|
53
|
+
A as default
|
18
54
|
};
|
@@ -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-
|
3
|
-
import l from "./bootsman-ui-
|
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,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-
|
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-
|
2
|
-
import t from "./bootsman-ui-
|
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 : (
|
@@ -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-
|
7
|
-
import P from "./bootsman-ui-
|
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-
|
12
|
-
import y from "./bootsman-ui-
|
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-
|
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,5 +1,5 @@
|
|
1
|
-
import p from "./bootsman-ui-
|
2
|
-
import w from "./bootsman-ui-
|
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-
|
2
|
-
import a from "./bootsman-ui-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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-
|
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.
|
3
|
+
"version": "1.0.5-beta.3",
|
4
4
|
"type": "module",
|
5
5
|
"files": [
|
6
6
|
"dist"
|
7
7
|
],
|
8
|
-
"main": "dist/
|
8
|
+
"main": "dist/bootsman-ui-shadcn.js",
|
9
9
|
"types": "dist/main.d.ts",
|
10
10
|
"sideEffects": [
|
11
11
|
"**/*.css"
|