@senitix/ui 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avatar-BT_SPwFW.cjs +18 -0
- package/dist/{avatar-C0aVNCG9.cjs.map → avatar-BT_SPwFW.cjs.map} +1 -1
- package/dist/avatar-C5-ZWIqT.js +305 -0
- package/dist/{avatar-CN6wcrqY.js.map → avatar-C5-ZWIqT.js.map} +1 -1
- package/dist/calendar-BF5drX5u.cjs +12 -0
- package/dist/{calendar-BUm7YrNf.cjs.map → calendar-BF5drX5u.cjs.map} +1 -1
- package/dist/calendar-CUxm1K7J.js +17 -0
- package/dist/{calendar-ChJkFXXr.js.map → calendar-CUxm1K7J.js.map} +1 -1
- package/dist/calendar-D3RWU0_G.cjs +7 -0
- package/dist/{calendar-SwL5isYC.cjs.map → calendar-D3RWU0_G.cjs.map} +1 -1
- package/dist/{calendar-BFWc4IB7.js → calendar-DgnhzEfp.js} +126 -112
- package/dist/{calendar-BFWc4IB7.js.map → calendar-DgnhzEfp.js.map} +1 -1
- package/dist/{card-tMkUxpmW.cjs → card-DISL3sPJ.cjs} +2 -2
- package/dist/{card-tMkUxpmW.cjs.map → card-DISL3sPJ.cjs.map} +1 -1
- package/dist/{card-K4fxyYwE.js → card-fId5vof_.js} +2 -2
- package/dist/{card-K4fxyYwE.js.map → card-fId5vof_.js.map} +1 -1
- package/dist/{checkbox-CpOq5hkT.js → checkbox-BY2zxQVv.js} +5 -5
- package/dist/{checkbox-CpOq5hkT.js.map → checkbox-BY2zxQVv.js.map} +1 -1
- package/dist/checkbox-CL6u7vL6.cjs +2 -0
- package/dist/{checkbox-D7-LQyCl.cjs.map → checkbox-CL6u7vL6.cjs.map} +1 -1
- package/dist/chevron-down-BiUlxZA-.js +14 -0
- package/dist/{chevron-down-DJ1_YIFu.js.map → chevron-down-BiUlxZA-.js.map} +1 -1
- package/dist/chevron-down-Ce0kqXiD.cjs +7 -0
- package/dist/{chevron-down-DHdXqOqK.cjs.map → chevron-down-Ce0kqXiD.cjs.map} +1 -1
- package/dist/chevron-right-BLyGmyaF.js +14 -0
- package/dist/{chevron-right-B3bovvh0.js.map → chevron-right-BLyGmyaF.js.map} +1 -1
- package/dist/chevron-right-Bxf8i4gi.cjs +7 -0
- package/dist/{chevron-right-Dvyd11q0.cjs.map → chevron-right-Bxf8i4gi.cjs.map} +1 -1
- package/dist/chevron-up-BmYZUtrk.js +12 -0
- package/dist/{chevron-up-CGtXOr51.js.map → chevron-up-BmYZUtrk.js.map} +1 -1
- package/dist/chevron-up-C3RClqXD.cjs +7 -0
- package/dist/{chevron-up-B9fuiZhc.cjs.map → chevron-up-C3RClqXD.cjs.map} +1 -1
- package/dist/components/charts/index.cjs.js +1 -1
- package/dist/components/charts/index.es.js +1 -1
- package/dist/components/data-display/index.cjs.js +1 -1
- package/dist/components/data-display/index.es.js +1 -1
- package/dist/components/dnd/index.cjs.js +1 -1
- package/dist/components/dnd/index.es.js +1 -1
- package/dist/components/feedback/index.cjs.js +1 -1
- package/dist/components/feedback/index.es.js +1 -1
- package/dist/components/forms/index.cjs.js +1 -1
- package/dist/components/forms/index.es.js +1 -1
- package/dist/components/layouts/index.cjs.js +1 -1
- package/dist/components/layouts/index.es.js +1 -1
- package/dist/components/navigation/index.cjs.js +1 -1
- package/dist/components/navigation/index.es.js +1 -1
- package/dist/components/ui/index.cjs.js +1 -1
- package/dist/components/ui/index.es.js +13 -13
- package/dist/{createLucideIcon-BbeNo6vq.js → createLucideIcon-BC8wu-bu.js} +25 -1
- package/dist/{createLucideIcon-BbeNo6vq.js.map → createLucideIcon-BC8wu-bu.js.map} +1 -1
- package/dist/createLucideIcon-Cv8nC2E9.cjs +22 -0
- package/dist/{createLucideIcon-i5GEhNMV.cjs.map → createLucideIcon-Cv8nC2E9.cjs.map} +1 -1
- package/dist/ellipsis-6eUne95u.js +16 -0
- package/dist/{ellipsis-CiKEaUNP.js.map → ellipsis-6eUne95u.js.map} +1 -1
- package/dist/ellipsis-DkM3GBF5.cjs +7 -0
- package/dist/{ellipsis-BW2gWki8.cjs.map → ellipsis-DkM3GBF5.cjs.map} +1 -1
- package/dist/file-Cp5UoYUZ.cjs +7 -0
- package/dist/{file-V_hhCUhr.cjs.map → file-Cp5UoYUZ.cjs.map} +1 -1
- package/dist/file-Cw_u_aJB.js +15 -0
- package/dist/{file-wzTXnWqz.js.map → file-Cw_u_aJB.js.map} +1 -1
- package/dist/filter-tags-DoRzXjuY.cjs +48 -0
- package/dist/{filter-tags-DjUaNXHR.cjs.map → filter-tags-DoRzXjuY.cjs.map} +1 -1
- package/dist/{filter-tags-i_I8qV1N.js → filter-tags-zEQmRhEU.js} +353 -299
- package/dist/{filter-tags-i_I8qV1N.js.map → filter-tags-zEQmRhEU.js.map} +1 -1
- package/dist/{full-calendar-7ac2FFU6.js → full-calendar-5Z4JSj8g.js} +1176 -1143
- package/dist/{full-calendar-7ac2FFU6.js.map → full-calendar-5Z4JSj8g.js.map} +1 -1
- package/dist/full-calendar-DjAvCfuE.cjs +23 -0
- package/dist/{full-calendar-Cpeh5xMP.cjs.map → full-calendar-DjAvCfuE.cjs.map} +1 -1
- package/dist/{global-search-h1rVbP2q.js → global-search-BbZfc-VL.js} +514 -486
- package/dist/global-search-BbZfc-VL.js.map +1 -0
- package/dist/global-search-Bd74_wPV.cjs +22 -0
- package/dist/global-search-Bd74_wPV.cjs.map +1 -0
- package/dist/hooks/index.cjs.js +1 -1
- package/dist/hooks/index.es.js +1 -1
- package/dist/index-D2U2F80P.cjs +2 -0
- package/dist/index-D2U2F80P.cjs.map +1 -0
- package/dist/index-DG0KV-sw.cjs +11 -0
- package/dist/{index-CzVK9Zyb.cjs.map → index-DG0KV-sw.cjs.map} +1 -1
- package/dist/{index-Co9o9StL.js → index-Dk_Et2WJ.js} +2 -2
- package/dist/{index-Co9o9StL.js.map → index-Dk_Et2WJ.js.map} +1 -1
- package/dist/{index-CwJPJKOE.js → index-DtaLkIY8.js} +1072 -573
- package/dist/index-DtaLkIY8.js.map +1 -0
- package/dist/index-XnFSmCuh.js +299 -0
- package/dist/{index-l828OqQN.js.map → index-XnFSmCuh.js.map} +1 -1
- package/dist/{index-lT9bLt9X.cjs → index-gVbM3K4f.cjs} +2 -2
- package/dist/{index-lT9bLt9X.cjs.map → index-gVbM3K4f.cjs.map} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +23 -23
- package/dist/input-BgPy-4Qu.js +3658 -0
- package/dist/{input-D4AoiWxo.js.map → input-BgPy-4Qu.js.map} +1 -1
- package/dist/input-Cfr2WB-P.cjs +47 -0
- package/dist/{input-CZrckPLk.cjs.map → input-Cfr2WB-P.cjs.map} +1 -1
- package/dist/locale-provider-BojNdf1Y.cjs +2 -0
- package/dist/{locale-provider-DHMwuneF.cjs.map → locale-provider-BojNdf1Y.cjs.map} +1 -1
- package/dist/{locale-provider-DanG6RRG.js → locale-provider-DzBeb-X3.js} +62 -61
- package/dist/{locale-provider-DanG6RRG.js.map → locale-provider-DzBeb-X3.js.map} +1 -1
- package/dist/locale-selector-BD1IWk6X.cjs +22 -0
- package/dist/{locale-selector-Ppe0KTi-.cjs.map → locale-selector-BD1IWk6X.cjs.map} +1 -1
- package/dist/locale-selector-DLRSyVye.js +1772 -0
- package/dist/{locale-selector-xn2GpdP9.js.map → locale-selector-DLRSyVye.js.map} +1 -1
- package/dist/minus-C0uyaz70.cjs +7 -0
- package/dist/{minus-BXBFZSZs.cjs.map → minus-C0uyaz70.cjs.map} +1 -1
- package/dist/minus-CiwV65ZG.js +12 -0
- package/dist/{minus-DvlYtl96.js.map → minus-CiwV65ZG.js.map} +1 -1
- package/dist/{multi-container-C2UpSw5f.js → multi-container-BZia7HCU.js} +181 -164
- package/dist/{multi-container-C2UpSw5f.js.map → multi-container-BZia7HCU.js.map} +1 -1
- package/dist/multi-container-BdNbgtPZ.cjs +7 -0
- package/dist/{multi-container-DMKL8c9B.cjs.map → multi-container-BdNbgtPZ.cjs.map} +1 -1
- package/dist/pipeline-Dh052Dvj.cjs +27 -0
- package/dist/{pipeline-By5_8AFg.cjs.map → pipeline-Dh052Dvj.cjs.map} +1 -1
- package/dist/pipeline-DqWvleNy.js +1076 -0
- package/dist/{pipeline-D-QNSU0U.js.map → pipeline-DqWvleNy.js.map} +1 -1
- package/dist/plus-BsV82JJ5.cjs +7 -0
- package/dist/{plus-8wKRkVu-.cjs.map → plus-BsV82JJ5.cjs.map} +1 -1
- package/dist/plus-DxD6rofl.js +15 -0
- package/dist/{plus-CJD68KQD.js.map → plus-DxD6rofl.js.map} +1 -1
- package/dist/popover-BgLxmm1z.cjs +7 -0
- package/dist/{popover-ivh-plLc.cjs.map → popover-BgLxmm1z.cjs.map} +1 -1
- package/dist/{popover-4V4sGe1U.js → popover-PI9jbhnS.js} +85 -75
- package/dist/{popover-4V4sGe1U.js.map → popover-PI9jbhnS.js.map} +1 -1
- package/dist/progress-CTTt_CP3.js +260 -0
- package/dist/{progress-D5AsrWa6.js.map → progress-CTTt_CP3.js.map} +1 -1
- package/dist/progress-CTWb7X1Q.cjs +37 -0
- package/dist/{progress-CFnuLqnS.cjs.map → progress-CTWb7X1Q.cjs.map} +1 -1
- package/dist/providers/index.cjs.js +1 -1
- package/dist/providers/index.es.js +1 -1
- package/dist/{scroll-area-DQeqDp3Y.js → scroll-area-A3jGu-Ta.js} +302 -280
- package/dist/{scroll-area-DQeqDp3Y.js.map → scroll-area-A3jGu-Ta.js.map} +1 -1
- package/dist/scroll-area-DzDnWIYJ.cjs +12 -0
- package/dist/{scroll-area-DYOiJMXh.cjs.map → scroll-area-DzDnWIYJ.cjs.map} +1 -1
- package/dist/select-BJpZrtep.js +989 -0
- package/dist/{select-C1rNBi6c.js.map → select-BJpZrtep.js.map} +1 -1
- package/dist/select-Ii8HRuXa.cjs +2 -0
- package/dist/{select-m-Mqwxu3.cjs.map → select-Ii8HRuXa.cjs.map} +1 -1
- package/dist/separator-BzcDE0Ei.cjs +2 -0
- package/dist/{separator-DBUivkHq.cjs.map → separator-BzcDE0Ei.cjs.map} +1 -1
- package/dist/{separator-DsfoJx-2.js → separator-DyarVo1-.js} +66 -65
- package/dist/{separator-DsfoJx-2.js.map → separator-DyarVo1-.js.map} +1 -1
- package/dist/{sheet-BVWCpq7E.js → sheet-DPSdOoE6.js} +4 -4
- package/dist/{sheet-BVWCpq7E.js.map → sheet-DPSdOoE6.js.map} +1 -1
- package/dist/{sheet-mKiFLVnK.cjs → sheet-XtjvbEMq.cjs} +2 -2
- package/dist/{sheet-mKiFLVnK.cjs.map → sheet-XtjvbEMq.cjs.map} +1 -1
- package/dist/{skeleton-BmGbfJw3.js → skeleton-Bl6FAxHT.js} +2 -2
- package/dist/{skeleton-BmGbfJw3.js.map → skeleton-Bl6FAxHT.js.map} +1 -1
- package/dist/{skeleton-BSwwYaQU.cjs → skeleton-Cb6MWerF.cjs} +2 -2
- package/dist/{skeleton-BSwwYaQU.cjs.map → skeleton-Cb6MWerF.cjs.map} +1 -1
- package/dist/sortable.esm-5DsiICDg.cjs +6 -0
- package/dist/{sortable.esm-DcQYlXi3.cjs.map → sortable.esm-5DsiICDg.cjs.map} +1 -1
- package/dist/{sortable.esm-Blhf_jh1.js → sortable.esm-Cb8oRBzU.js} +42 -42
- package/dist/{sortable.esm-Blhf_jh1.js.map → sortable.esm-Cb8oRBzU.js.map} +1 -1
- package/dist/sparkline-chart-CeCDeMNk.cjs +102 -0
- package/dist/{sparkline-chart-ca3uTzVK.cjs.map → sparkline-chart-CeCDeMNk.cjs.map} +1 -1
- package/dist/{sparkline-chart-Da-ehDGv.js → sparkline-chart-DUS4CoW_.js} +7799 -9094
- package/dist/{sparkline-chart-Da-ehDGv.js.map → sparkline-chart-DUS4CoW_.js.map} +1 -1
- package/dist/styles.css +1 -0
- package/dist/trending-up-BBjz_E69.cjs +7 -0
- package/dist/{trending-up-D3Nfrhi3.cjs.map → trending-up-BBjz_E69.cjs.map} +1 -1
- package/dist/trending-up-BHFXgLWy.js +15 -0
- package/dist/{trending-up-DPwlYzQb.js.map → trending-up-BHFXgLWy.js.map} +1 -1
- package/dist/{use-formatters-l1_2c8z0.js → use-formatters-Bgj3JA4i.js} +731 -746
- package/dist/{use-formatters-l1_2c8z0.js.map → use-formatters-Bgj3JA4i.js.map} +1 -1
- package/dist/use-formatters-CObUgipW.cjs +2 -0
- package/dist/{use-formatters-d97RVcmg.cjs.map → use-formatters-CObUgipW.cjs.map} +1 -1
- package/dist/utils/index.cjs.js +1 -1
- package/dist/utils/index.es.js +1 -1
- package/dist/welcome-card-CNuEa6Ck.cjs +67 -0
- package/dist/{welcome-card-CPolYl1D.cjs.map → welcome-card-CNuEa6Ck.cjs.map} +1 -1
- package/dist/{welcome-card-CxMJZ8bv.js → welcome-card-Cp6t6G3j.js} +197 -119
- package/dist/{welcome-card-CxMJZ8bv.js.map → welcome-card-Cp6t6G3j.js.map} +1 -1
- package/package.json +14 -12
- package/dist/avatar-C0aVNCG9.cjs +0 -2
- package/dist/avatar-CN6wcrqY.js +0 -288
- package/dist/calendar-BUm7YrNf.cjs +0 -2
- package/dist/calendar-ChJkFXXr.js +0 -11
- package/dist/calendar-SwL5isYC.cjs +0 -2
- package/dist/checkbox-D7-LQyCl.cjs +0 -2
- package/dist/chevron-down-DHdXqOqK.cjs +0 -2
- package/dist/chevron-down-DJ1_YIFu.js +0 -8
- package/dist/chevron-right-B3bovvh0.js +0 -8
- package/dist/chevron-right-Dvyd11q0.cjs +0 -2
- package/dist/chevron-up-B9fuiZhc.cjs +0 -2
- package/dist/chevron-up-CGtXOr51.js +0 -6
- package/dist/createLucideIcon-i5GEhNMV.cjs +0 -2
- package/dist/ellipsis-BW2gWki8.cjs +0 -2
- package/dist/ellipsis-CiKEaUNP.js +0 -10
- package/dist/file-V_hhCUhr.cjs +0 -2
- package/dist/file-wzTXnWqz.js +0 -9
- package/dist/filter-tags-DjUaNXHR.cjs +0 -5
- package/dist/full-calendar-Cpeh5xMP.cjs +0 -8
- package/dist/global-search-UNXjoFlI.cjs +0 -2
- package/dist/global-search-UNXjoFlI.cjs.map +0 -1
- package/dist/global-search-h1rVbP2q.js.map +0 -1
- package/dist/index-CwJPJKOE.js.map +0 -1
- package/dist/index-CzVK9Zyb.cjs +0 -6
- package/dist/index-l828OqQN.js +0 -288
- package/dist/index-lGzB9daF.cjs +0 -2
- package/dist/index-lGzB9daF.cjs.map +0 -1
- package/dist/input-CZrckPLk.cjs +0 -42
- package/dist/input-D4AoiWxo.js +0 -3629
- package/dist/locale-provider-DHMwuneF.cjs +0 -2
- package/dist/locale-selector-Ppe0KTi-.cjs +0 -2
- package/dist/locale-selector-xn2GpdP9.js +0 -1745
- package/dist/minus-BXBFZSZs.cjs +0 -2
- package/dist/minus-DvlYtl96.js +0 -6
- package/dist/multi-container-DMKL8c9B.cjs +0 -2
- package/dist/pipeline-By5_8AFg.cjs +0 -2
- package/dist/pipeline-D-QNSU0U.js +0 -1036
- package/dist/plus-8wKRkVu-.cjs +0 -2
- package/dist/plus-CJD68KQD.js +0 -9
- package/dist/popover-ivh-plLc.cjs +0 -2
- package/dist/progress-CFnuLqnS.cjs +0 -7
- package/dist/progress-D5AsrWa6.js +0 -222
- package/dist/scroll-area-DYOiJMXh.cjs +0 -2
- package/dist/select-C1rNBi6c.js +0 -974
- package/dist/select-m-Mqwxu3.cjs +0 -2
- package/dist/separator-DBUivkHq.cjs +0 -2
- package/dist/sortable.esm-DcQYlXi3.cjs +0 -6
- package/dist/sparkline-chart-ca3uTzVK.cjs +0 -68
- package/dist/trending-up-D3Nfrhi3.cjs +0 -2
- package/dist/trending-up-DPwlYzQb.js +0 -9
- package/dist/ui.css +0 -1
- package/dist/use-formatters-d97RVcmg.cjs +0 -2
- package/dist/welcome-card-CPolYl1D.cjs +0 -2
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
import { c as H } from "./createLucideIcon-BC8wu-bu.js";
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
import { f as q, g as Z, m as h, P as D, j as m, h as E, n as K } from "./scroll-area-A3jGu-Ta.js";
|
|
4
|
+
import { u as U, p as y, P as Y, t as z, r as J, s as Q, F as X, v as ee } from "./input-BgPy-4Qu.js";
|
|
5
|
+
import { jsx as c, jsxs as I, Fragment as N } from "react/jsx-runtime";
|
|
6
|
+
/**
|
|
7
|
+
* @license lucide-react v0.441.0 - ISC
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the ISC license.
|
|
10
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
const ye = H("Search", [
|
|
13
|
+
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
14
|
+
["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
|
|
15
|
+
]);
|
|
16
|
+
// @__NO_SIDE_EFFECTS__
|
|
17
|
+
function te(e) {
|
|
18
|
+
const o = /* @__PURE__ */ oe(e), a = i.forwardRef((n, t) => {
|
|
19
|
+
const { children: r, ...s } = n, l = i.Children.toArray(r), u = l.find(re);
|
|
20
|
+
if (u) {
|
|
21
|
+
const d = u.props.children, p = l.map((v) => v === u ? i.Children.count(d) > 1 ? i.Children.only(null) : i.isValidElement(d) ? d.props.children : null : v);
|
|
22
|
+
return /* @__PURE__ */ c(o, { ...s, ref: t, children: i.isValidElement(d) ? i.cloneElement(d, void 0, p) : null });
|
|
23
|
+
}
|
|
24
|
+
return /* @__PURE__ */ c(o, { ...s, ref: t, children: r });
|
|
25
|
+
});
|
|
26
|
+
return a.displayName = `${e}.Slot`, a;
|
|
27
|
+
}
|
|
28
|
+
// @__NO_SIDE_EFFECTS__
|
|
29
|
+
function oe(e) {
|
|
30
|
+
const o = i.forwardRef((a, n) => {
|
|
31
|
+
const { children: t, ...r } = a;
|
|
32
|
+
if (i.isValidElement(t)) {
|
|
33
|
+
const s = ie(t), l = ae(r, t.props);
|
|
34
|
+
return t.type !== i.Fragment && (l.ref = n ? q(n, s) : s), i.cloneElement(t, l);
|
|
35
|
+
}
|
|
36
|
+
return i.Children.count(t) > 1 ? i.Children.only(null) : null;
|
|
37
|
+
});
|
|
38
|
+
return o.displayName = `${e}.SlotClone`, o;
|
|
39
|
+
}
|
|
40
|
+
var ne = Symbol("radix.slottable");
|
|
41
|
+
function re(e) {
|
|
42
|
+
return i.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ne;
|
|
43
|
+
}
|
|
44
|
+
function ae(e, o) {
|
|
45
|
+
const a = { ...o };
|
|
46
|
+
for (const n in o) {
|
|
47
|
+
const t = e[n], r = o[n];
|
|
48
|
+
/^on[A-Z]/.test(n) ? t && r ? a[n] = (...l) => {
|
|
49
|
+
const u = r(...l);
|
|
50
|
+
return t(...l), u;
|
|
51
|
+
} : t && (a[n] = t) : n === "style" ? a[n] = { ...t, ...r } : n === "className" && (a[n] = [t, r].filter(Boolean).join(" "));
|
|
52
|
+
}
|
|
53
|
+
return { ...e, ...a };
|
|
54
|
+
}
|
|
55
|
+
function ie(e) {
|
|
56
|
+
var n, t;
|
|
57
|
+
let o = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, a = o && "isReactWarning" in o && o.isReactWarning;
|
|
58
|
+
return a ? e.ref : (o = (t = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : t.get, a = o && "isReactWarning" in o && o.isReactWarning, a ? e.props.ref : e.props.ref || e.ref);
|
|
59
|
+
}
|
|
60
|
+
var R = "Dialog", [x, he] = Z(R), [se, f] = x(R), b = (e) => {
|
|
61
|
+
const {
|
|
62
|
+
__scopeDialog: o,
|
|
63
|
+
children: a,
|
|
64
|
+
open: n,
|
|
65
|
+
defaultOpen: t,
|
|
66
|
+
onOpenChange: r,
|
|
67
|
+
modal: s = !0
|
|
68
|
+
} = e, l = i.useRef(null), u = i.useRef(null), [d, p] = U({
|
|
69
|
+
prop: n,
|
|
70
|
+
defaultProp: t ?? !1,
|
|
71
|
+
onChange: r,
|
|
72
|
+
caller: R
|
|
73
|
+
});
|
|
74
|
+
return /* @__PURE__ */ c(
|
|
75
|
+
se,
|
|
76
|
+
{
|
|
77
|
+
scope: o,
|
|
78
|
+
triggerRef: l,
|
|
79
|
+
contentRef: u,
|
|
80
|
+
contentId: y(),
|
|
81
|
+
titleId: y(),
|
|
82
|
+
descriptionId: y(),
|
|
83
|
+
open: d,
|
|
84
|
+
onOpenChange: p,
|
|
85
|
+
onOpenToggle: i.useCallback(() => p((v) => !v), [p]),
|
|
86
|
+
modal: s,
|
|
87
|
+
children: a
|
|
88
|
+
}
|
|
89
|
+
);
|
|
90
|
+
};
|
|
91
|
+
b.displayName = R;
|
|
92
|
+
var A = "DialogTrigger", S = i.forwardRef(
|
|
93
|
+
(e, o) => {
|
|
94
|
+
const { __scopeDialog: a, ...n } = e, t = f(A, a), r = E(o, t.triggerRef);
|
|
95
|
+
return /* @__PURE__ */ c(
|
|
96
|
+
D.button,
|
|
97
|
+
{
|
|
98
|
+
type: "button",
|
|
99
|
+
"aria-haspopup": "dialog",
|
|
100
|
+
"aria-expanded": t.open,
|
|
101
|
+
"aria-controls": t.contentId,
|
|
102
|
+
"data-state": O(t.open),
|
|
103
|
+
...n,
|
|
104
|
+
ref: r,
|
|
105
|
+
onClick: m(e.onClick, t.onOpenToggle)
|
|
106
|
+
}
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
);
|
|
110
|
+
S.displayName = A;
|
|
111
|
+
var _ = "DialogPortal", [le, T] = x(_, {
|
|
112
|
+
forceMount: void 0
|
|
113
|
+
}), M = (e) => {
|
|
114
|
+
const { __scopeDialog: o, forceMount: a, children: n, container: t } = e, r = f(_, o);
|
|
115
|
+
return /* @__PURE__ */ c(le, { scope: o, forceMount: a, children: i.Children.map(n, (s) => /* @__PURE__ */ c(h, { present: a || r.open, children: /* @__PURE__ */ c(Y, { asChild: !0, container: t, children: s }) })) });
|
|
116
|
+
};
|
|
117
|
+
M.displayName = _;
|
|
118
|
+
var C = "DialogOverlay", w = i.forwardRef(
|
|
119
|
+
(e, o) => {
|
|
120
|
+
const a = T(C, e.__scopeDialog), { forceMount: n = a.forceMount, ...t } = e, r = f(C, e.__scopeDialog);
|
|
121
|
+
return r.modal ? /* @__PURE__ */ c(h, { present: n || r.open, children: /* @__PURE__ */ c(ue, { ...t, ref: o }) }) : null;
|
|
122
|
+
}
|
|
123
|
+
);
|
|
124
|
+
w.displayName = C;
|
|
125
|
+
var ce = /* @__PURE__ */ te("DialogOverlay.RemoveScroll"), ue = i.forwardRef(
|
|
126
|
+
(e, o) => {
|
|
127
|
+
const { __scopeDialog: a, ...n } = e, t = f(C, a);
|
|
128
|
+
return (
|
|
129
|
+
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
130
|
+
// ie. when `Overlay` and `Content` are siblings
|
|
131
|
+
/* @__PURE__ */ c(z, { as: ce, allowPinchZoom: !0, shards: [t.contentRef], children: /* @__PURE__ */ c(
|
|
132
|
+
D.div,
|
|
133
|
+
{
|
|
134
|
+
"data-state": O(t.open),
|
|
135
|
+
...n,
|
|
136
|
+
ref: o,
|
|
137
|
+
style: { pointerEvents: "auto", ...n.style }
|
|
138
|
+
}
|
|
139
|
+
) })
|
|
140
|
+
);
|
|
141
|
+
}
|
|
142
|
+
), g = "DialogContent", F = i.forwardRef(
|
|
143
|
+
(e, o) => {
|
|
144
|
+
const a = T(g, e.__scopeDialog), { forceMount: n = a.forceMount, ...t } = e, r = f(g, e.__scopeDialog);
|
|
145
|
+
return /* @__PURE__ */ c(h, { present: n || r.open, children: r.modal ? /* @__PURE__ */ c(de, { ...t, ref: o }) : /* @__PURE__ */ c(fe, { ...t, ref: o }) });
|
|
146
|
+
}
|
|
147
|
+
);
|
|
148
|
+
F.displayName = g;
|
|
149
|
+
var de = i.forwardRef(
|
|
150
|
+
(e, o) => {
|
|
151
|
+
const a = f(g, e.__scopeDialog), n = i.useRef(null), t = E(o, a.contentRef, n);
|
|
152
|
+
return i.useEffect(() => {
|
|
153
|
+
const r = n.current;
|
|
154
|
+
if (r) return J(r);
|
|
155
|
+
}, []), /* @__PURE__ */ c(
|
|
156
|
+
W,
|
|
157
|
+
{
|
|
158
|
+
...e,
|
|
159
|
+
ref: t,
|
|
160
|
+
trapFocus: a.open,
|
|
161
|
+
disableOutsidePointerEvents: !0,
|
|
162
|
+
onCloseAutoFocus: m(e.onCloseAutoFocus, (r) => {
|
|
163
|
+
var s;
|
|
164
|
+
r.preventDefault(), (s = a.triggerRef.current) == null || s.focus();
|
|
165
|
+
}),
|
|
166
|
+
onPointerDownOutside: m(e.onPointerDownOutside, (r) => {
|
|
167
|
+
const s = r.detail.originalEvent, l = s.button === 0 && s.ctrlKey === !0;
|
|
168
|
+
(s.button === 2 || l) && r.preventDefault();
|
|
169
|
+
}),
|
|
170
|
+
onFocusOutside: m(
|
|
171
|
+
e.onFocusOutside,
|
|
172
|
+
(r) => r.preventDefault()
|
|
173
|
+
)
|
|
174
|
+
}
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
), fe = i.forwardRef(
|
|
178
|
+
(e, o) => {
|
|
179
|
+
const a = f(g, e.__scopeDialog), n = i.useRef(!1), t = i.useRef(!1);
|
|
180
|
+
return /* @__PURE__ */ c(
|
|
181
|
+
W,
|
|
182
|
+
{
|
|
183
|
+
...e,
|
|
184
|
+
ref: o,
|
|
185
|
+
trapFocus: !1,
|
|
186
|
+
disableOutsidePointerEvents: !1,
|
|
187
|
+
onCloseAutoFocus: (r) => {
|
|
188
|
+
var s, l;
|
|
189
|
+
(s = e.onCloseAutoFocus) == null || s.call(e, r), r.defaultPrevented || (n.current || (l = a.triggerRef.current) == null || l.focus(), r.preventDefault()), n.current = !1, t.current = !1;
|
|
190
|
+
},
|
|
191
|
+
onInteractOutside: (r) => {
|
|
192
|
+
var u, d;
|
|
193
|
+
(u = e.onInteractOutside) == null || u.call(e, r), r.defaultPrevented || (n.current = !0, r.detail.originalEvent.type === "pointerdown" && (t.current = !0));
|
|
194
|
+
const s = r.target;
|
|
195
|
+
((d = a.triggerRef.current) == null ? void 0 : d.contains(s)) && r.preventDefault(), r.detail.originalEvent.type === "focusin" && t.current && r.preventDefault();
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
);
|
|
199
|
+
}
|
|
200
|
+
), W = i.forwardRef(
|
|
201
|
+
(e, o) => {
|
|
202
|
+
const { __scopeDialog: a, trapFocus: n, onOpenAutoFocus: t, onCloseAutoFocus: r, ...s } = e, l = f(g, a), u = i.useRef(null), d = E(o, u);
|
|
203
|
+
return Q(), /* @__PURE__ */ I(N, { children: [
|
|
204
|
+
/* @__PURE__ */ c(
|
|
205
|
+
X,
|
|
206
|
+
{
|
|
207
|
+
asChild: !0,
|
|
208
|
+
loop: !0,
|
|
209
|
+
trapped: n,
|
|
210
|
+
onMountAutoFocus: t,
|
|
211
|
+
onUnmountAutoFocus: r,
|
|
212
|
+
children: /* @__PURE__ */ c(
|
|
213
|
+
ee,
|
|
214
|
+
{
|
|
215
|
+
role: "dialog",
|
|
216
|
+
id: l.contentId,
|
|
217
|
+
"aria-describedby": l.descriptionId,
|
|
218
|
+
"aria-labelledby": l.titleId,
|
|
219
|
+
"data-state": O(l.open),
|
|
220
|
+
...s,
|
|
221
|
+
ref: d,
|
|
222
|
+
onDismiss: () => l.onOpenChange(!1)
|
|
223
|
+
}
|
|
224
|
+
)
|
|
225
|
+
}
|
|
226
|
+
),
|
|
227
|
+
/* @__PURE__ */ I(N, { children: [
|
|
228
|
+
/* @__PURE__ */ c(ge, { titleId: l.titleId }),
|
|
229
|
+
/* @__PURE__ */ c(me, { contentRef: u, descriptionId: l.descriptionId })
|
|
230
|
+
] })
|
|
231
|
+
] });
|
|
232
|
+
}
|
|
233
|
+
), P = "DialogTitle", L = i.forwardRef(
|
|
234
|
+
(e, o) => {
|
|
235
|
+
const { __scopeDialog: a, ...n } = e, t = f(P, a);
|
|
236
|
+
return /* @__PURE__ */ c(D.h2, { id: t.titleId, ...n, ref: o });
|
|
237
|
+
}
|
|
238
|
+
);
|
|
239
|
+
L.displayName = P;
|
|
240
|
+
var k = "DialogDescription", G = i.forwardRef(
|
|
241
|
+
(e, o) => {
|
|
242
|
+
const { __scopeDialog: a, ...n } = e, t = f(k, a);
|
|
243
|
+
return /* @__PURE__ */ c(D.p, { id: t.descriptionId, ...n, ref: o });
|
|
244
|
+
}
|
|
245
|
+
);
|
|
246
|
+
G.displayName = k;
|
|
247
|
+
var V = "DialogClose", $ = i.forwardRef(
|
|
248
|
+
(e, o) => {
|
|
249
|
+
const { __scopeDialog: a, ...n } = e, t = f(V, a);
|
|
250
|
+
return /* @__PURE__ */ c(
|
|
251
|
+
D.button,
|
|
252
|
+
{
|
|
253
|
+
type: "button",
|
|
254
|
+
...n,
|
|
255
|
+
ref: o,
|
|
256
|
+
onClick: m(e.onClick, () => t.onOpenChange(!1))
|
|
257
|
+
}
|
|
258
|
+
);
|
|
259
|
+
}
|
|
260
|
+
);
|
|
261
|
+
$.displayName = V;
|
|
262
|
+
function O(e) {
|
|
263
|
+
return e ? "open" : "closed";
|
|
264
|
+
}
|
|
265
|
+
var j = "DialogTitleWarning", [Ee, B] = K(j, {
|
|
266
|
+
contentName: g,
|
|
267
|
+
titleName: P,
|
|
268
|
+
docsSlug: "dialog"
|
|
269
|
+
}), ge = ({ titleId: e }) => {
|
|
270
|
+
const o = B(j), a = `\`${o.contentName}\` requires a \`${o.titleName}\` for the component to be accessible for screen reader users.
|
|
271
|
+
|
|
272
|
+
If you want to hide the \`${o.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
273
|
+
|
|
274
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${o.docsSlug}`;
|
|
275
|
+
return i.useEffect(() => {
|
|
276
|
+
e && (document.getElementById(e) || console.error(a));
|
|
277
|
+
}, [a, e]), null;
|
|
278
|
+
}, pe = "DialogDescriptionWarning", me = ({ contentRef: e, descriptionId: o }) => {
|
|
279
|
+
const n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${B(pe).contentName}}.`;
|
|
280
|
+
return i.useEffect(() => {
|
|
281
|
+
var r;
|
|
282
|
+
const t = (r = e.current) == null ? void 0 : r.getAttribute("aria-describedby");
|
|
283
|
+
o && t && (document.getElementById(o) || console.warn(n));
|
|
284
|
+
}, [n, e, o]), null;
|
|
285
|
+
}, _e = b, Pe = S, Oe = M, Ie = w, Ne = F, xe = L, be = G, Ae = $;
|
|
286
|
+
export {
|
|
287
|
+
Ae as C,
|
|
288
|
+
be as D,
|
|
289
|
+
Ie as O,
|
|
290
|
+
Oe as P,
|
|
291
|
+
_e as R,
|
|
292
|
+
ye as S,
|
|
293
|
+
Pe as T,
|
|
294
|
+
Ee as W,
|
|
295
|
+
Ne as a,
|
|
296
|
+
xe as b,
|
|
297
|
+
he as c
|
|
298
|
+
};
|
|
299
|
+
//# sourceMappingURL=index-XnFSmCuh.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-l828OqQN.js","sources":["../node_modules/lucide-react/dist/esm/icons/search.js","../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs","../node_modules/@radix-ui/react-dialog/dist/index.mjs"],"sourcesContent":["/**\n * @license lucide-react v0.441.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst Search = createLucideIcon(\"Search\", [\n [\"circle\", { cx: \"11\", cy: \"11\", r: \"8\", key: \"4ej97u\" }],\n [\"path\", { d: \"m21 21-4.3-4.3\", key: \"1qie3q\" }]\n]);\n\nexport { Search as default };\n//# sourceMappingURL=search.js.map\n","// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: DIALOG_NAME\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar Slot = createSlot(\"DialogOverlay.RemoveScroll\");\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Search","createLucideIcon","createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","mayWarn","DIALOG_NAME","createDialogContext","createDialogScope","createContextScope","DialogProvider","useDialogContext","Dialog","__scopeDialog","openProp","defaultOpen","onOpenChange","modal","triggerRef","contentRef","open","setOpen","useControllableState","useId","prevOpen","TRIGGER_NAME","DialogTrigger","triggerProps","context","composedTriggerRef","useComposedRefs","Primitive","getState","composeEventHandlers","PORTAL_NAME","PortalProvider","usePortalContext","DialogPortal","forceMount","container","Presence","PortalPrimitive","OVERLAY_NAME","DialogOverlay","portalContext","overlayProps","DialogOverlayImpl","Slot","RemoveScroll","CONTENT_NAME","DialogContent","contentProps","DialogContentModal","DialogContentNonModal","composedRefs","content","hideOthers","DialogContentImpl","event","originalEvent","ctrlLeftClick","hasInteractedOutsideRef","hasPointerDownOutsideRef","target","trapFocus","onOpenAutoFocus","onCloseAutoFocus","useFocusGuards","jsxs","Fragment","FocusScope","DismissableLayer","TitleWarning","DescriptionWarning","TITLE_NAME","DialogTitle","titleProps","DESCRIPTION_NAME","DialogDescription","descriptionProps","CLOSE_NAME","DialogClose","closeProps","TITLE_WARNING_NAME","WarningProvider","useWarningContext","createContext","titleId","titleWarningContext","MESSAGE","DESCRIPTION_WARNING_NAME","descriptionId","describedById","Root","Trigger","Portal","Overlay","Content","Title","Description","Close"],"mappings":";;;;;AASK,MAACA,KAASC,EAAiB,UAAU;AAAA,EACxC,CAAC,UAAU,EAAE,IAAI,MAAM,IAAI,MAAM,GAAG,KAAK,KAAK,UAAU;AAAA,EACxD,CAAC,QAAQ,EAAE,GAAG,kBAAkB,KAAK,SAAQ,CAAE;AACjD,CAAC;AAAA;ACPD,SAASC,GAAWC,GAAW;AAC7B,QAAMC,IAA4B,gBAAAC,GAAgBF,CAAS,GACrDG,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACtD,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,EAAW;AAChD,QAAID,GAAW;AACb,YAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AACD,aAAuB,gBAAAC,EAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,IACpL;AACA,WAAuB,gBAAAE,EAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAAC,GAAU;AAAA,EACrF,CAAC;AACD,SAAAJ,EAAM,cAAc,GAAGH,CAAS,SACzBG;AACT;AAAA;AAGA,SAASD,GAAgBF,GAAW;AAClC,QAAMC,IAAYG,EAAM,WAAW,CAACC,GAAOC,MAAiB;AAC1D,UAAM,EAAE,UAAAC,GAAU,GAAGC,E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YwE,CAAa,CAAC,GAChC;AACT,GACIE,KAAOjF,GACPkF,KAAUpE,GACVqE,KAAS1D,GACT2D,KAAUrD,GACVsD,KAAU/C,GACVgD,KAAQvB,GACRwB,KAAcrB,GACdsB,KAAQnB;","x_google_ignoreList":[0,1,2]}
|
|
1
|
+
{"version":3,"file":"index-XnFSmCuh.js","sources":["../node_modules/lucide-react/dist/esm/icons/search.js","../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot/dist/index.mjs","../node_modules/@radix-ui/react-dialog/dist/index.mjs"],"sourcesContent":["/**\n * @license lucide-react v0.441.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst Search = createLucideIcon(\"Search\", [\n [\"circle\", { cx: \"11\", cy: \"11\", r: \"8\", key: \"4ej97u\" }],\n [\"path\", { d: \"m21 21-4.3-4.3\", key: \"1qie3q\" }]\n]);\n\nexport { Search as default };\n//# sourceMappingURL=search.js.map\n","// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\";\n\n// src/dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: DIALOG_NAME\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar Slot = createSlot(\"DialogOverlay.RemoveScroll\");\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Search","createLucideIcon","createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","_a","mayWarn","_b","DIALOG_NAME","createDialogContext","createDialogScope","createContextScope","DialogProvider","useDialogContext","Dialog","__scopeDialog","openProp","defaultOpen","onOpenChange","modal","triggerRef","contentRef","open","setOpen","useControllableState","useId","prevOpen","TRIGGER_NAME","DialogTrigger","triggerProps","context","composedTriggerRef","useComposedRefs","Primitive","getState","composeEventHandlers","PORTAL_NAME","PortalProvider","usePortalContext","DialogPortal","forceMount","container","Presence","PortalPrimitive","OVERLAY_NAME","DialogOverlay","portalContext","overlayProps","DialogOverlayImpl","Slot","RemoveScroll","CONTENT_NAME","DialogContent","contentProps","DialogContentModal","DialogContentNonModal","composedRefs","content","hideOthers","DialogContentImpl","event","originalEvent","ctrlLeftClick","hasInteractedOutsideRef","hasPointerDownOutsideRef","target","trapFocus","onOpenAutoFocus","onCloseAutoFocus","useFocusGuards","jsxs","Fragment","FocusScope","DismissableLayer","TitleWarning","DescriptionWarning","TITLE_NAME","DialogTitle","titleProps","DESCRIPTION_NAME","DialogDescription","descriptionProps","CLOSE_NAME","DialogClose","closeProps","TITLE_WARNING_NAME","WarningProvider","useWarningContext","createContext","titleId","titleWarningContext","MESSAGE","DESCRIPTION_WARNING_NAME","descriptionId","describedById","Root","Trigger","Portal","Overlay","Content","Title","Description","Close"],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASK,MAACA,KAASC,EAAiB,UAAU;AAAA,EACxC,CAAC,UAAU,EAAE,IAAI,MAAM,IAAI,MAAM,GAAG,KAAK,KAAK,UAAU;AAAA,EACxD,CAAC,QAAQ,EAAE,GAAG,kBAAkB,KA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UrD,GACVsD,KAAU/C,GACVgD,KAAQvB,GACRwB,KAAcrB,GACdsB,KAAQnB;","x_google_ignoreList":[0,1,2]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const o=require("react"),c=require("./scroll-area-
|
|
2
|
-
//# sourceMappingURL=index-
|
|
1
|
+
"use strict";const o=require("react"),c=require("./scroll-area-DzDnWIYJ.cjs"),l=require("react/jsx-runtime");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const d=s(o);var n=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),u="VisuallyHidden",a=d.forwardRef((e,t)=>l.jsx(c.Primitive.span,{...e,ref:t,style:{...n,...e.style}}));a.displayName=u;var f=a;exports.Root=f;exports.VISUALLY_HIDDEN_STYLES=n;exports.VisuallyHidden=a;
|
|
2
|
+
//# sourceMappingURL=index-gVbM3K4f.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-gVbM3K4f.cjs","sources":["../node_modules/@radix-ui/react-visually-hidden/dist/index.mjs"],"sourcesContent":["// src/visually-hidden.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar VISUALLY_HIDDEN_STYLES = Object.freeze({\n // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss\n position: \"absolute\",\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: \"hidden\",\n clip: \"rect(0, 0, 0, 0)\",\n whiteSpace: \"nowrap\",\n wordWrap: \"normal\"\n});\nvar NAME = \"VisuallyHidden\";\nvar VisuallyHidden = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(\n Primitive.span,\n {\n ...props,\n ref: forwardedRef,\n style: { ...VISUALLY_HIDDEN_STYLES, ...props.style }\n }\n );\n }\n);\nVisuallyHidden.displayName = NAME;\nvar Root = VisuallyHidden;\nexport {\n Root,\n VISUALLY_HIDDEN_STYLES,\n VisuallyHidden\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["VISUALLY_HIDDEN_STYLES","NAME","VisuallyHidden","React","props","forwardedRef","jsx","Primitive","Root"],"mappings":"uYAIG,IAACA,EAAyB,OAAO,OAAO,CAEzC,SAAU,WACV,OAAQ,EACR,MAAO,EACP,OAAQ,EACR,QAAS,EACT,OAAQ,GACR,SAAU,SACV,KAAM,mBACN,WAAY,SACZ,SAAU,QACZ,CAAC,EACGC,EAAO,iBACPC,EAAiBC,EAAM,WACzB,CAACC,EAAOC,IACiBC,EAAAA,IACrBC,EAAAA,UAAU,KACV,CACE,GAAGH,EACH,IAAKC,EACL,MAAO,CAAE,GAAGL,EAAwB,GAAGI,EAAM,KAAK,CAC1D,CACA,CAEA,EACAF,EAAe,YAAcD,EAC1B,IAACO,EAAON","x_google_ignoreList":[0]}
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./full-calendar-Cpeh5xMP.cjs"),g=require("./avatar-C0aVNCG9.cjs"),S=require("./scroll-area-DYOiJMXh.cjs"),p=require("./card-tMkUxpmW.cjs"),m=require("./checkbox-D7-LQyCl.cjs"),a=require("./popover-ivh-plLc.cjs"),l=require("./input-CZrckPLk.cjs"),T=require("./calendar-BUm7YrNf.cjs"),A=require("./progress-CFnuLqnS.cjs"),u=require("./select-m-Mqwxu3.cjs"),b=require("./separator-DBUivkHq.cjs"),c=require("./sheet-mKiFLVnK.cjs"),M=require("./skeleton-BSwwYaQU.cjs"),o=require("./locale-selector-Ppe0KTi-.cjs"),r=require("./global-search-UNXjoFlI.cjs"),t=require("./pipeline-By5_8AFg.cjs"),i=require("./filter-tags-DjUaNXHR.cjs"),s=require("./sparkline-chart-ca3uTzVK.cjs"),d=require("./welcome-card-CPolYl1D.cjs"),C=require("./multi-container-DMKL8c9B.cjs"),n=require("./locale-provider-DHMwuneF.cjs"),P=require("./use-mobile-DY7TJ5lx.cjs"),D=require("./use-local-storage-q-1odzIu.cjs"),h=require("./use-toast-DxZJ8uUm.cjs"),F=require("./use-formatters-d97RVcmg.cjs"),L=require("./index-lGzB9daF.cjs");exports.Accordion=e.Accordion;exports.AccordionContent=e.AccordionContent;exports.AccordionItem=e.AccordionItem;exports.AccordionTrigger=e.AccordionTrigger;exports.AgendaView=e.AgendaView;exports.Alert=e.Alert;exports.AlertDescription=e.AlertDescription;exports.AlertDialog=e.AlertDialog;exports.AlertDialogAction=e.AlertDialogAction;exports.AlertDialogCancel=e.AlertDialogCancel;exports.AlertDialogContent=e.AlertDialogContent;exports.AlertDialogDescription=e.AlertDialogDescription;exports.AlertDialogFooter=e.AlertDialogFooter;exports.AlertDialogHeader=e.AlertDialogHeader;exports.AlertDialogOverlay=e.AlertDialogOverlay;exports.AlertDialogPortal=e.AlertDialogPortal;exports.AlertDialogTitle=e.AlertDialogTitle;exports.AlertDialogTrigger=e.AlertDialogTrigger;exports.AlertTitle=e.AlertTitle;exports.AvatarGroup=e.AvatarGroup;exports.AvatarWithStatus=e.AvatarWithStatus;exports.BetaBadge=e.BetaBadge;exports.ButtonWithBadge=e.ButtonWithBadge;exports.CalendarHeader=e.CalendarHeader;exports.Collapsible=e.Collapsible;exports.CollapsibleContent=e.CollapsibleContent;exports.CollapsibleTrigger=e.CollapsibleTrigger;exports.ConfirmationDialog=e.ConfirmationDialog;exports.DayView=e.DayView;exports.EventItem=e.EventItem;exports.ExportButton=e.ExportButton;exports.FullCalendar=e.FullCalendar;exports.IconButton=e.IconButton;exports.MiniCalendar=e.MiniCalendar;exports.MonthView=e.MonthView;exports.RadioGroup=e.RadioGroup;exports.RadioGroupItem=e.RadioGroupItem;exports.SettingsRow=e.SettingsRow;exports.SettingsSection=e.SettingsSection;exports.SkeletonCard=e.SkeletonCard;exports.SkeletonList=e.SkeletonList;exports.SkeletonLoader=e.SkeletonLoader;exports.SkeletonProfile=e.SkeletonProfile;exports.SkeletonTable=e.SkeletonTable;exports.SkeletonText=e.SkeletonText;exports.Slider=e.Slider;exports.SplitButton=e.SplitButton;exports.Stepper=e.Stepper;exports.Switch=e.Switch;exports.Tabs=e.Tabs;exports.TabsContent=e.TabsContent;exports.TabsList=e.TabsList;exports.TabsTrigger=e.TabsTrigger;exports.Textarea=e.Textarea;exports.Toast=e.Toast;exports.ToastAction=e.ToastAction;exports.ToastClose=e.ToastClose;exports.ToastDescription=e.ToastDescription;exports.ToastProvider=e.ToastProvider;exports.ToastTitle=e.ToastTitle;exports.ToastViewport=e.ToastViewport;exports.Toaster=e.Toaster;exports.WeekView=e.WeekView;exports.categoryColors=e.categoryColors;exports.iconButtonVariants=e.iconButtonVariants;exports.Avatar=g.Avatar;exports.AvatarFallback=g.AvatarFallback;exports.AvatarImage=g.AvatarImage;exports.Badge=S.Badge;exports.Button=S.Button;exports.ScrollArea=S.ScrollArea;exports.ScrollBar=S.ScrollBar;exports.badgeVariants=S.badgeVariants;exports.buttonVariants=S.buttonVariants;exports.Card=p.Card;exports.CardContent=p.CardContent;exports.CardDescription=p.CardDescription;exports.CardFooter=p.CardFooter;exports.CardHeader=p.CardHeader;exports.CardTitle=p.CardTitle;exports.Checkbox=m.Checkbox;exports.checkboxVariants=m.checkboxVariants;exports.Command=a.Command;exports.CommandDialog=a.CommandDialog;exports.CommandEmpty=a.CommandEmpty;exports.CommandGroup=a.CommandGroup;exports.CommandInput=a.CommandInput;exports.CommandItem=a.CommandItem;exports.CommandList=a.CommandList;exports.CommandSeparator=a.CommandSeparator;exports.CommandShortcut=a.CommandShortcut;exports.Dialog=a.Dialog;exports.DialogClose=a.DialogClose;exports.DialogContent=a.DialogContent;exports.DialogDescription=a.DialogDescription;exports.DialogFooter=a.DialogFooter;exports.DialogHeader=a.DialogHeader;exports.DialogOverlay=a.DialogOverlay;exports.DialogPortal=a.DialogPortal;exports.DialogTitle=a.DialogTitle;exports.DialogTrigger=a.DialogTrigger;exports.Popover=a.Popover;exports.PopoverContent=a.PopoverContent;exports.PopoverTrigger=a.PopoverTrigger;exports.DropdownMenu=l.DropdownMenu;exports.DropdownMenuCheckboxItem=l.DropdownMenuCheckboxItem;exports.DropdownMenuContent=l.DropdownMenuContent;exports.DropdownMenuGroup=l.DropdownMenuGroup;exports.DropdownMenuItem=l.DropdownMenuItem;exports.DropdownMenuLabel=l.DropdownMenuLabel;exports.DropdownMenuPortal=l.DropdownMenuPortal;exports.DropdownMenuRadioGroup=l.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=l.DropdownMenuRadioItem;exports.DropdownMenuSeparator=l.DropdownMenuSeparator;exports.DropdownMenuShortcut=l.DropdownMenuShortcut;exports.DropdownMenuSub=l.DropdownMenuSub;exports.DropdownMenuSubContent=l.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=l.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=l.DropdownMenuTrigger;exports.Input=l.Input;exports.Calendar=T.Calendar;exports.Label=T.Label;exports.Progress=A.Progress;exports.Select=u.Select;exports.SelectContent=u.SelectContent;exports.SelectGroup=u.SelectGroup;exports.SelectItem=u.SelectItem;exports.SelectLabel=u.SelectLabel;exports.SelectScrollDownButton=u.SelectScrollDownButton;exports.SelectScrollUpButton=u.SelectScrollUpButton;exports.SelectSeparator=u.SelectSeparator;exports.SelectTrigger=u.SelectTrigger;exports.SelectValue=u.SelectValue;exports.Separator=b.Separator;exports.Tooltip=b.Tooltip;exports.TooltipContent=b.TooltipContent;exports.TooltipProvider=b.TooltipProvider;exports.TooltipTrigger=b.TooltipTrigger;exports.Sheet=c.Sheet;exports.SheetClose=c.SheetClose;exports.SheetContent=c.SheetContent;exports.SheetDescription=c.SheetDescription;exports.SheetFooter=c.SheetFooter;exports.SheetHeader=c.SheetHeader;exports.SheetOverlay=c.SheetOverlay;exports.SheetPortal=c.SheetPortal;exports.SheetTitle=c.SheetTitle;exports.SheetTrigger=c.SheetTrigger;exports.Skeleton=M.Skeleton;exports.ColorPicker=o.ColorPicker;exports.Combobox=o.Combobox;exports.CurrencySelector=o.CurrencySelector;exports.DEFAULT_COUNTRIES=o.DEFAULT_COUNTRIES;exports.DatePicker=o.DatePicker;exports.DateRangePicker=o.DateRangePicker;exports.FileUpload=o.FileUpload;exports.Form=o.Form;exports.FormControl=o.FormControl;exports.FormDescription=o.FormDescription;exports.FormField=o.FormField;exports.FormItem=o.FormItem;exports.FormLabel=o.FormLabel;exports.FormMessage=o.FormMessage;exports.LocaleSelector=o.LocaleSelector;exports.LookupField=o.LookupField;exports.MultiSelect=o.MultiSelect;exports.NumberInput=o.NumberInput;exports.PhoneInput=o.PhoneInput;exports.SearchInput=o.SearchInput;exports.TagInput=o.TagInput;exports.TimePicker=o.TimePicker;exports.useFormField=o.useFormField;exports.Breadcrumb=r.Breadcrumb;exports.BreadcrumbEllipsis=r.BreadcrumbEllipsis;exports.BreadcrumbItem=r.BreadcrumbItem;exports.BreadcrumbLink=r.BreadcrumbLink;exports.BreadcrumbList=r.BreadcrumbList;exports.BreadcrumbPage=r.BreadcrumbPage;exports.BreadcrumbSeparator=r.BreadcrumbSeparator;exports.CommandPalette=r.CommandPalette;exports.GlobalSearch=r.GlobalSearch;exports.MegaMenu=r.MegaMenu;exports.MultiLevelDropdown=r.MultiLevelDropdown;exports.QuickCreateMenu=r.QuickCreateMenu;exports.Sidebar=r.Sidebar;exports.SidebarContent=r.SidebarContent;exports.SidebarFooter=r.SidebarFooter;exports.SidebarGroup=r.SidebarGroup;exports.SidebarGroupAction=r.SidebarGroupAction;exports.SidebarGroupContent=r.SidebarGroupContent;exports.SidebarGroupLabel=r.SidebarGroupLabel;exports.SidebarHeader=r.SidebarHeader;exports.SidebarInput=r.SidebarInput;exports.SidebarInset=r.SidebarInset;exports.SidebarMenu=r.SidebarMenu;exports.SidebarMenuAction=r.SidebarMenuAction;exports.SidebarMenuBadge=r.SidebarMenuBadge;exports.SidebarMenuButton=r.SidebarMenuButton;exports.SidebarMenuItem=r.SidebarMenuItem;exports.SidebarMenuSkeleton=r.SidebarMenuSkeleton;exports.SidebarMenuSub=r.SidebarMenuSub;exports.SidebarMenuSubButton=r.SidebarMenuSubButton;exports.SidebarMenuSubItem=r.SidebarMenuSubItem;exports.SidebarProvider=r.SidebarProvider;exports.SidebarRail=r.SidebarRail;exports.SidebarSeparator=r.SidebarSeparator;exports.SidebarTrigger=r.SidebarTrigger;exports.TabNavigation=r.TabNavigation;exports.TopNav=r.TopNav;exports.useSidebar=r.useSidebar;exports.AppShell=t.AppShell;exports.AppShellFooter=t.AppShellFooter;exports.AppShellHeader=t.AppShellHeader;exports.AppShellMain=t.AppShellMain;exports.DashboardContent=t.DashboardContent;exports.DashboardFooter=t.DashboardFooter;exports.DashboardHeader=t.DashboardHeader;exports.DashboardLayout=t.DashboardLayout;exports.DashboardMain=t.DashboardMain;exports.DashboardSidebar=t.DashboardSidebar;exports.PageHeader=t.PageHeader;exports.Pipeline=t.Pipeline;exports.PipelineContent=t.PipelineContent;exports.PipelineHeader=t.PipelineHeader;exports.PipelineKanban=t.PipelineKanban;exports.PipelineList=t.PipelineList;exports.PipelineSummary=t.PipelineSummary;exports.PipelineTable=t.PipelineTable;exports.PipelineTimeline=t.PipelineTimeline;exports.useDashboardLayout=t.useDashboardLayout;exports.usePipeline=t.usePipeline;exports.ActivityFeed=i.ActivityFeed;exports.BulkActionsToolbar=i.BulkActionsToolbar;exports.ColumnVisibility=i.ColumnVisibility;exports.DataTable=i.DataTable;exports.EmptyState=i.EmptyState;exports.FilterTags=i.FilterTags;exports.KPICard=i.KPICard;exports.PerPageSelector=i.PerPageSelector;exports.QuickFilters=i.QuickFilters;exports.StatCard=i.StatCard;exports.Table=i.Table;exports.TableBody=i.TableBody;exports.TableCaption=i.TableCaption;exports.TableCell=i.TableCell;exports.TableFooter=i.TableFooter;exports.TableHead=i.TableHead;exports.TableHeader=i.TableHeader;exports.TableRow=i.TableRow;exports.Timeline=i.Timeline;exports.createActionsCell=i.createActionsCell;exports.createSortableHeader=i.createSortableHeader;exports.AreaChart=s.AreaChart;exports.BarChart=s.BarChart;exports.ChartContainer=s.ChartContainer;exports.DonutChart=s.DonutChart;exports.FunnelChart=s.FunnelChart;exports.LineChart=s.LineChart;exports.PieChart=s.PieChart;exports.SparklineChart=s.SparklineChart;exports.AISummaryCard=d.AISummaryCard;exports.AlertBanner=d.AlertBanner;exports.CRMActivityItem=d.CRMActivityItem;exports.ContactCard=d.ContactCard;exports.DealCard=d.DealCard;exports.FeatureHighlightCard=d.FeatureHighlightCard;exports.LeadScoreIndicator=d.LeadScoreIndicator;exports.PipelineBoard=d.PipelineBoard;exports.ProgressTracker=d.ProgressTracker;exports.StatusBadge=d.StatusBadge;exports.WelcomeCard=d.WelcomeCard;exports.alertBannerVariants=d.alertBannerVariants;exports.KanbanBoard=C.KanbanBoard;exports.MultiContainer=C.MultiContainer;exports.SortableItem=C.SortableItem;exports.SortableList=C.SortableList;exports.TreeView=C.TreeView;exports.LocaleContext=n.LocaleContext;exports.LocaleProvider=n.LocaleProvider;exports.currencies=n.currencies;exports.dateFormats=n.dateFormats;exports.defaultLocaleConfigs=n.defaultLocaleConfigs;exports.defaultTranslations=n.defaultTranslations;exports.formatCurrency=n.formatCurrency;exports.getAllCurrencies=n.getAllCurrencies;exports.getAllLocales=n.getAllLocales;exports.getCurrency=n.getCurrency;exports.getCurrencyCodes=n.getCurrencyCodes;exports.getDateFormat=n.getDateFormat;exports.getLocaleInfo=n.getLocaleInfo;exports.getSupportedLocaleCodes=n.getSupportedLocaleCodes;exports.getTimeFormat=n.getTimeFormat;exports.isRTLLocale=n.isRTLLocale;exports.locales=n.locales;exports.timeFormats=n.timeFormats;exports.useLocale=n.useLocale;exports.useIsMobile=P.useIsMobile;exports.useDebounce=D.useDebounce;exports.useLocalStorage=D.useLocalStorage;exports.toast=h.toast;exports.useToast=h.useToast;exports.useFormatters=F.useFormatters;exports.cn=L.cn;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./full-calendar-DjAvCfuE.cjs"),g=require("./avatar-BT_SPwFW.cjs"),S=require("./scroll-area-DzDnWIYJ.cjs"),p=require("./card-DISL3sPJ.cjs"),m=require("./checkbox-CL6u7vL6.cjs"),a=require("./popover-BgLxmm1z.cjs"),l=require("./input-Cfr2WB-P.cjs"),T=require("./calendar-BF5drX5u.cjs"),A=require("./progress-CTWb7X1Q.cjs"),u=require("./select-Ii8HRuXa.cjs"),b=require("./separator-BzcDE0Ei.cjs"),c=require("./sheet-XtjvbEMq.cjs"),M=require("./skeleton-Cb6MWerF.cjs"),o=require("./locale-selector-BD1IWk6X.cjs"),r=require("./global-search-Bd74_wPV.cjs"),t=require("./pipeline-Dh052Dvj.cjs"),i=require("./filter-tags-DoRzXjuY.cjs"),s=require("./sparkline-chart-CeCDeMNk.cjs"),d=require("./welcome-card-CNuEa6Ck.cjs"),C=require("./multi-container-BdNbgtPZ.cjs"),n=require("./locale-provider-BojNdf1Y.cjs"),P=require("./use-mobile-DY7TJ5lx.cjs"),D=require("./use-local-storage-q-1odzIu.cjs"),h=require("./use-toast-DxZJ8uUm.cjs"),F=require("./use-formatters-CObUgipW.cjs"),L=require("./index-D2U2F80P.cjs");exports.Accordion=e.Accordion;exports.AccordionContent=e.AccordionContent;exports.AccordionItem=e.AccordionItem;exports.AccordionTrigger=e.AccordionTrigger;exports.AgendaView=e.AgendaView;exports.Alert=e.Alert;exports.AlertDescription=e.AlertDescription;exports.AlertDialog=e.AlertDialog;exports.AlertDialogAction=e.AlertDialogAction;exports.AlertDialogCancel=e.AlertDialogCancel;exports.AlertDialogContent=e.AlertDialogContent;exports.AlertDialogDescription=e.AlertDialogDescription;exports.AlertDialogFooter=e.AlertDialogFooter;exports.AlertDialogHeader=e.AlertDialogHeader;exports.AlertDialogOverlay=e.AlertDialogOverlay;exports.AlertDialogPortal=e.AlertDialogPortal;exports.AlertDialogTitle=e.AlertDialogTitle;exports.AlertDialogTrigger=e.AlertDialogTrigger;exports.AlertTitle=e.AlertTitle;exports.AvatarGroup=e.AvatarGroup;exports.AvatarWithStatus=e.AvatarWithStatus;exports.BetaBadge=e.BetaBadge;exports.ButtonWithBadge=e.ButtonWithBadge;exports.CalendarHeader=e.CalendarHeader;exports.Collapsible=e.Collapsible;exports.CollapsibleContent=e.CollapsibleContent;exports.CollapsibleTrigger=e.CollapsibleTrigger;exports.ConfirmationDialog=e.ConfirmationDialog;exports.DayView=e.DayView;exports.EventItem=e.EventItem;exports.ExportButton=e.ExportButton;exports.FullCalendar=e.FullCalendar;exports.IconButton=e.IconButton;exports.MiniCalendar=e.MiniCalendar;exports.MonthView=e.MonthView;exports.RadioGroup=e.RadioGroup;exports.RadioGroupItem=e.RadioGroupItem;exports.SettingsRow=e.SettingsRow;exports.SettingsSection=e.SettingsSection;exports.SkeletonCard=e.SkeletonCard;exports.SkeletonList=e.SkeletonList;exports.SkeletonLoader=e.SkeletonLoader;exports.SkeletonProfile=e.SkeletonProfile;exports.SkeletonTable=e.SkeletonTable;exports.SkeletonText=e.SkeletonText;exports.Slider=e.Slider;exports.SplitButton=e.SplitButton;exports.Stepper=e.Stepper;exports.Switch=e.Switch;exports.Tabs=e.Tabs;exports.TabsContent=e.TabsContent;exports.TabsList=e.TabsList;exports.TabsTrigger=e.TabsTrigger;exports.Textarea=e.Textarea;exports.Toast=e.Toast;exports.ToastAction=e.ToastAction;exports.ToastClose=e.ToastClose;exports.ToastDescription=e.ToastDescription;exports.ToastProvider=e.ToastProvider;exports.ToastTitle=e.ToastTitle;exports.ToastViewport=e.ToastViewport;exports.Toaster=e.Toaster;exports.WeekView=e.WeekView;exports.categoryColors=e.categoryColors;exports.iconButtonVariants=e.iconButtonVariants;exports.Avatar=g.Avatar;exports.AvatarFallback=g.AvatarFallback;exports.AvatarImage=g.AvatarImage;exports.Badge=S.Badge;exports.Button=S.Button;exports.ScrollArea=S.ScrollArea;exports.ScrollBar=S.ScrollBar;exports.badgeVariants=S.badgeVariants;exports.buttonVariants=S.buttonVariants;exports.Card=p.Card;exports.CardContent=p.CardContent;exports.CardDescription=p.CardDescription;exports.CardFooter=p.CardFooter;exports.CardHeader=p.CardHeader;exports.CardTitle=p.CardTitle;exports.Checkbox=m.Checkbox;exports.checkboxVariants=m.checkboxVariants;exports.Command=a.Command;exports.CommandDialog=a.CommandDialog;exports.CommandEmpty=a.CommandEmpty;exports.CommandGroup=a.CommandGroup;exports.CommandInput=a.CommandInput;exports.CommandItem=a.CommandItem;exports.CommandList=a.CommandList;exports.CommandSeparator=a.CommandSeparator;exports.CommandShortcut=a.CommandShortcut;exports.Dialog=a.Dialog;exports.DialogClose=a.DialogClose;exports.DialogContent=a.DialogContent;exports.DialogDescription=a.DialogDescription;exports.DialogFooter=a.DialogFooter;exports.DialogHeader=a.DialogHeader;exports.DialogOverlay=a.DialogOverlay;exports.DialogPortal=a.DialogPortal;exports.DialogTitle=a.DialogTitle;exports.DialogTrigger=a.DialogTrigger;exports.Popover=a.Popover;exports.PopoverContent=a.PopoverContent;exports.PopoverTrigger=a.PopoverTrigger;exports.DropdownMenu=l.DropdownMenu;exports.DropdownMenuCheckboxItem=l.DropdownMenuCheckboxItem;exports.DropdownMenuContent=l.DropdownMenuContent;exports.DropdownMenuGroup=l.DropdownMenuGroup;exports.DropdownMenuItem=l.DropdownMenuItem;exports.DropdownMenuLabel=l.DropdownMenuLabel;exports.DropdownMenuPortal=l.DropdownMenuPortal;exports.DropdownMenuRadioGroup=l.DropdownMenuRadioGroup;exports.DropdownMenuRadioItem=l.DropdownMenuRadioItem;exports.DropdownMenuSeparator=l.DropdownMenuSeparator;exports.DropdownMenuShortcut=l.DropdownMenuShortcut;exports.DropdownMenuSub=l.DropdownMenuSub;exports.DropdownMenuSubContent=l.DropdownMenuSubContent;exports.DropdownMenuSubTrigger=l.DropdownMenuSubTrigger;exports.DropdownMenuTrigger=l.DropdownMenuTrigger;exports.Input=l.Input;exports.Calendar=T.Calendar;exports.Label=T.Label;exports.Progress=A.Progress;exports.Select=u.Select;exports.SelectContent=u.SelectContent;exports.SelectGroup=u.SelectGroup;exports.SelectItem=u.SelectItem;exports.SelectLabel=u.SelectLabel;exports.SelectScrollDownButton=u.SelectScrollDownButton;exports.SelectScrollUpButton=u.SelectScrollUpButton;exports.SelectSeparator=u.SelectSeparator;exports.SelectTrigger=u.SelectTrigger;exports.SelectValue=u.SelectValue;exports.Separator=b.Separator;exports.Tooltip=b.Tooltip;exports.TooltipContent=b.TooltipContent;exports.TooltipProvider=b.TooltipProvider;exports.TooltipTrigger=b.TooltipTrigger;exports.Sheet=c.Sheet;exports.SheetClose=c.SheetClose;exports.SheetContent=c.SheetContent;exports.SheetDescription=c.SheetDescription;exports.SheetFooter=c.SheetFooter;exports.SheetHeader=c.SheetHeader;exports.SheetOverlay=c.SheetOverlay;exports.SheetPortal=c.SheetPortal;exports.SheetTitle=c.SheetTitle;exports.SheetTrigger=c.SheetTrigger;exports.Skeleton=M.Skeleton;exports.ColorPicker=o.ColorPicker;exports.Combobox=o.Combobox;exports.CurrencySelector=o.CurrencySelector;exports.DEFAULT_COUNTRIES=o.DEFAULT_COUNTRIES;exports.DatePicker=o.DatePicker;exports.DateRangePicker=o.DateRangePicker;exports.FileUpload=o.FileUpload;exports.Form=o.Form;exports.FormControl=o.FormControl;exports.FormDescription=o.FormDescription;exports.FormField=o.FormField;exports.FormItem=o.FormItem;exports.FormLabel=o.FormLabel;exports.FormMessage=o.FormMessage;exports.LocaleSelector=o.LocaleSelector;exports.LookupField=o.LookupField;exports.MultiSelect=o.MultiSelect;exports.NumberInput=o.NumberInput;exports.PhoneInput=o.PhoneInput;exports.SearchInput=o.SearchInput;exports.TagInput=o.TagInput;exports.TimePicker=o.TimePicker;exports.useFormField=o.useFormField;exports.Breadcrumb=r.Breadcrumb;exports.BreadcrumbEllipsis=r.BreadcrumbEllipsis;exports.BreadcrumbItem=r.BreadcrumbItem;exports.BreadcrumbLink=r.BreadcrumbLink;exports.BreadcrumbList=r.BreadcrumbList;exports.BreadcrumbPage=r.BreadcrumbPage;exports.BreadcrumbSeparator=r.BreadcrumbSeparator;exports.CommandPalette=r.CommandPalette;exports.GlobalSearch=r.GlobalSearch;exports.MegaMenu=r.MegaMenu;exports.MultiLevelDropdown=r.MultiLevelDropdown;exports.QuickCreateMenu=r.QuickCreateMenu;exports.Sidebar=r.Sidebar;exports.SidebarContent=r.SidebarContent;exports.SidebarFooter=r.SidebarFooter;exports.SidebarGroup=r.SidebarGroup;exports.SidebarGroupAction=r.SidebarGroupAction;exports.SidebarGroupContent=r.SidebarGroupContent;exports.SidebarGroupLabel=r.SidebarGroupLabel;exports.SidebarHeader=r.SidebarHeader;exports.SidebarInput=r.SidebarInput;exports.SidebarInset=r.SidebarInset;exports.SidebarMenu=r.SidebarMenu;exports.SidebarMenuAction=r.SidebarMenuAction;exports.SidebarMenuBadge=r.SidebarMenuBadge;exports.SidebarMenuButton=r.SidebarMenuButton;exports.SidebarMenuItem=r.SidebarMenuItem;exports.SidebarMenuSkeleton=r.SidebarMenuSkeleton;exports.SidebarMenuSub=r.SidebarMenuSub;exports.SidebarMenuSubButton=r.SidebarMenuSubButton;exports.SidebarMenuSubItem=r.SidebarMenuSubItem;exports.SidebarProvider=r.SidebarProvider;exports.SidebarRail=r.SidebarRail;exports.SidebarSeparator=r.SidebarSeparator;exports.SidebarTrigger=r.SidebarTrigger;exports.TabNavigation=r.TabNavigation;exports.TopNav=r.TopNav;exports.useSidebar=r.useSidebar;exports.AppShell=t.AppShell;exports.AppShellFooter=t.AppShellFooter;exports.AppShellHeader=t.AppShellHeader;exports.AppShellMain=t.AppShellMain;exports.DashboardContent=t.DashboardContent;exports.DashboardFooter=t.DashboardFooter;exports.DashboardHeader=t.DashboardHeader;exports.DashboardLayout=t.DashboardLayout;exports.DashboardMain=t.DashboardMain;exports.DashboardSidebar=t.DashboardSidebar;exports.PageHeader=t.PageHeader;exports.Pipeline=t.Pipeline;exports.PipelineContent=t.PipelineContent;exports.PipelineHeader=t.PipelineHeader;exports.PipelineKanban=t.PipelineKanban;exports.PipelineList=t.PipelineList;exports.PipelineSummary=t.PipelineSummary;exports.PipelineTable=t.PipelineTable;exports.PipelineTimeline=t.PipelineTimeline;exports.useDashboardLayout=t.useDashboardLayout;exports.usePipeline=t.usePipeline;exports.ActivityFeed=i.ActivityFeed;exports.BulkActionsToolbar=i.BulkActionsToolbar;exports.ColumnVisibility=i.ColumnVisibility;exports.DataTable=i.DataTable;exports.EmptyState=i.EmptyState;exports.FilterTags=i.FilterTags;exports.KPICard=i.KPICard;exports.PerPageSelector=i.PerPageSelector;exports.QuickFilters=i.QuickFilters;exports.StatCard=i.StatCard;exports.Table=i.Table;exports.TableBody=i.TableBody;exports.TableCaption=i.TableCaption;exports.TableCell=i.TableCell;exports.TableFooter=i.TableFooter;exports.TableHead=i.TableHead;exports.TableHeader=i.TableHeader;exports.TableRow=i.TableRow;exports.Timeline=i.Timeline;exports.createActionsCell=i.createActionsCell;exports.createSortableHeader=i.createSortableHeader;exports.AreaChart=s.AreaChart;exports.BarChart=s.BarChart;exports.ChartContainer=s.ChartContainer;exports.DonutChart=s.DonutChart;exports.FunnelChart=s.FunnelChart;exports.LineChart=s.LineChart;exports.PieChart=s.PieChart;exports.SparklineChart=s.SparklineChart;exports.AISummaryCard=d.AISummaryCard;exports.AlertBanner=d.AlertBanner;exports.CRMActivityItem=d.CRMActivityItem;exports.ContactCard=d.ContactCard;exports.DealCard=d.DealCard;exports.FeatureHighlightCard=d.FeatureHighlightCard;exports.LeadScoreIndicator=d.LeadScoreIndicator;exports.PipelineBoard=d.PipelineBoard;exports.ProgressTracker=d.ProgressTracker;exports.StatusBadge=d.StatusBadge;exports.WelcomeCard=d.WelcomeCard;exports.alertBannerVariants=d.alertBannerVariants;exports.KanbanBoard=C.KanbanBoard;exports.MultiContainer=C.MultiContainer;exports.SortableItem=C.SortableItem;exports.SortableList=C.SortableList;exports.TreeView=C.TreeView;exports.LocaleContext=n.LocaleContext;exports.LocaleProvider=n.LocaleProvider;exports.currencies=n.currencies;exports.dateFormats=n.dateFormats;exports.defaultLocaleConfigs=n.defaultLocaleConfigs;exports.defaultTranslations=n.defaultTranslations;exports.formatCurrency=n.formatCurrency;exports.getAllCurrencies=n.getAllCurrencies;exports.getAllLocales=n.getAllLocales;exports.getCurrency=n.getCurrency;exports.getCurrencyCodes=n.getCurrencyCodes;exports.getDateFormat=n.getDateFormat;exports.getLocaleInfo=n.getLocaleInfo;exports.getSupportedLocaleCodes=n.getSupportedLocaleCodes;exports.getTimeFormat=n.getTimeFormat;exports.isRTLLocale=n.isRTLLocale;exports.locales=n.locales;exports.timeFormats=n.timeFormats;exports.useLocale=n.useLocale;exports.useIsMobile=P.useIsMobile;exports.useDebounce=D.useDebounce;exports.useLocalStorage=D.useLocalStorage;exports.toast=h.toast;exports.useToast=h.useToast;exports.useFormatters=F.useFormatters;exports.cn=L.cn;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.es.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { A as s, c as o, a as r, b as t, a9 as i, d as l, f as n, g as d, p, q as u, k as S, o as c, m, l as b, i as C, h as g, n as D, j as T, e as h, O as A, P, a2 as f, B as M, a4 as F, C as L, t as x, s as B, N as I, a8 as k, a5 as w, X as v, a3 as y, I as H, U as G, a6 as V, R, u as E, W as j, V as K, Z as N, $ as W, Y as O, a0 as Q, _ as U, a1 as q, v as z, S as _, Q as J, w as X, T as Y, z as Z, x as $, y as aa, D as ea, G as sa, L as oa, K as ra, J as ta, E as ia, H as la, F as na, M as da, a7 as pa, aa as ua, r as Sa } from "./full-calendar-
|
|
2
|
-
import { A as ma, b as ba, a as Ca } from "./avatar-
|
|
3
|
-
import { B as Da, a as Ta, S as ha, d as Aa, b as Pa, c as fa } from "./scroll-area-
|
|
4
|
-
import { C as Fa, e as La, d as xa, b as Ba, a as Ia, c as ka } from "./card-
|
|
5
|
-
import { C as va, c as ya } from "./checkbox-
|
|
6
|
-
import { C as Ga, a as Va, d as Ra, e as Ea, b as ja, f as Ka, c as Na, h as Wa, g as Oa, D as Qa, k as Ua, m as qa, q as za, o as _a, n as Ja, j as Xa, i as Ya, p as Za, l as $a, P as ae, s as ee, r as se } from "./popover-
|
|
7
|
-
import { D as re, d as te, b as ie, i as le, c as ne, f as de, j as pe, n as ue, e as Se, g as ce, h as me, k as be, l as Ce, m as ge, a as De, I as Te } from "./input-
|
|
8
|
-
import { C as Ae, L as Pe } from "./calendar-
|
|
9
|
-
import { P as Me } from "./progress-
|
|
10
|
-
import { S as Le, d as xe, a as Be, f as Ie, e as ke, i as we, h as ve, g as ye, c as He, b as Ge } from "./select-
|
|
11
|
-
import { S as Re, T as Ee, b as je, c as Ke, a as Ne } from "./separator-
|
|
12
|
-
import { S as Oe, d as Qe, e as Ue, i as qe, g as ze, f as _e, b as Je, a as Xe, h as Ye, c as Ze } from "./sheet-
|
|
13
|
-
import { S as as } from "./skeleton-
|
|
14
|
-
import { j as ss, C as os, l as rs, k as ts, D as is, g as ls, h as ns, F as ds, c as ps, d as us, f as Ss, a as cs, b as ms, e as bs, m as Cs, L as gs, M as Ds, N as Ts, P as hs, S as As, T as Ps, i as fs, u as Ms } from "./locale-selector-
|
|
15
|
-
import { B as Ls, D as xs, y as Bs, z as Is, x as ks, A as ws, C as vs, G as ys, H as Hs, M as Gs, E as Vs, Q as Rs, S as Es, a as js, b as Ks, c as Ns, d as Ws, e as Os, f as Qs, g as Us, h as qs, i as zs, j as _s, k as Js, l as Xs, m as Ys, n as Zs, o as $s, p as ao, q as eo, r as so, s as oo, t as ro, u as to, v as io, F as lo, T as no, w as po } from "./global-search-
|
|
16
|
-
import { A as So, c as co, a as mo, b as bo, e as Co, h as go, f as Do, D as To, g as ho, d as Ao, P as Po, j as fo, l as Mo, k as Fo, m as Lo, n as xo, q as Bo, o as Io, p as ko, u as wo, i as vo } from "./pipeline-
|
|
17
|
-
import { A as Ho, B as Go, C as Vo, D as Ro, E as Eo, F as jo, K as Ko, P as No, Q as Wo, S as Oo, T as Qo, b as Uo, g as qo, f as zo, c as _o, d as Jo, a as Xo, e as Yo, j as Zo, i as $o, h as ar } from "./filter-tags-
|
|
18
|
-
import { A as sr, B as or, C as rr, D as tr, F as ir, L as lr, P as nr, S as dr } from "./sparkline-chart-
|
|
19
|
-
import { A as ur, b as Sr, d as cr, C as mr, D as br, F as Cr, L as gr, P as Dr, a as Tr, S as hr, W as Ar, c as Pr } from "./welcome-card-
|
|
20
|
-
import { K as Mr, M as Fr, S as Lr, a as xr, T as Br } from "./multi-container-
|
|
21
|
-
import { a as kr, L as wr, c as vr, i as yr, d as Hr, b as Gr, f as Vr, e as Rr, n as Er, g as jr, h as Kr, j as Nr, m as Wr, o as Or, k as Qr, p as Ur, l as qr, t as zr, u as _r } from "./locale-provider-
|
|
1
|
+
import { A as s, c as o, a as r, b as t, a9 as i, d as l, f as n, g as d, p, q as u, k as S, o as c, m, l as b, i as C, h as g, n as D, j as T, e as h, O as A, P, a2 as f, B as M, a4 as F, C as L, t as x, s as B, N as I, a8 as k, a5 as w, X as v, a3 as y, I as H, U as G, a6 as V, R, u as E, W as j, V as K, Z as N, $ as W, Y as O, a0 as Q, _ as U, a1 as q, v as z, S as _, Q as J, w as X, T as Y, z as Z, x as $, y as aa, D as ea, G as sa, L as oa, K as ra, J as ta, E as ia, H as la, F as na, M as da, a7 as pa, aa as ua, r as Sa } from "./full-calendar-5Z4JSj8g.js";
|
|
2
|
+
import { A as ma, b as ba, a as Ca } from "./avatar-C5-ZWIqT.js";
|
|
3
|
+
import { B as Da, a as Ta, S as ha, d as Aa, b as Pa, c as fa } from "./scroll-area-A3jGu-Ta.js";
|
|
4
|
+
import { C as Fa, e as La, d as xa, b as Ba, a as Ia, c as ka } from "./card-fId5vof_.js";
|
|
5
|
+
import { C as va, c as ya } from "./checkbox-BY2zxQVv.js";
|
|
6
|
+
import { C as Ga, a as Va, d as Ra, e as Ea, b as ja, f as Ka, c as Na, h as Wa, g as Oa, D as Qa, k as Ua, m as qa, q as za, o as _a, n as Ja, j as Xa, i as Ya, p as Za, l as $a, P as ae, s as ee, r as se } from "./popover-PI9jbhnS.js";
|
|
7
|
+
import { D as re, d as te, b as ie, i as le, c as ne, f as de, j as pe, n as ue, e as Se, g as ce, h as me, k as be, l as Ce, m as ge, a as De, I as Te } from "./input-BgPy-4Qu.js";
|
|
8
|
+
import { C as Ae, L as Pe } from "./calendar-DgnhzEfp.js";
|
|
9
|
+
import { P as Me } from "./progress-CTTt_CP3.js";
|
|
10
|
+
import { S as Le, d as xe, a as Be, f as Ie, e as ke, i as we, h as ve, g as ye, c as He, b as Ge } from "./select-BJpZrtep.js";
|
|
11
|
+
import { S as Re, T as Ee, b as je, c as Ke, a as Ne } from "./separator-DyarVo1-.js";
|
|
12
|
+
import { S as Oe, d as Qe, e as Ue, i as qe, g as ze, f as _e, b as Je, a as Xe, h as Ye, c as Ze } from "./sheet-DPSdOoE6.js";
|
|
13
|
+
import { S as as } from "./skeleton-Bl6FAxHT.js";
|
|
14
|
+
import { j as ss, C as os, l as rs, k as ts, D as is, g as ls, h as ns, F as ds, c as ps, d as us, f as Ss, a as cs, b as ms, e as bs, m as Cs, L as gs, M as Ds, N as Ts, P as hs, S as As, T as Ps, i as fs, u as Ms } from "./locale-selector-DLRSyVye.js";
|
|
15
|
+
import { B as Ls, D as xs, y as Bs, z as Is, x as ks, A as ws, C as vs, G as ys, H as Hs, M as Gs, E as Vs, Q as Rs, S as Es, a as js, b as Ks, c as Ns, d as Ws, e as Os, f as Qs, g as Us, h as qs, i as zs, j as _s, k as Js, l as Xs, m as Ys, n as Zs, o as $s, p as ao, q as eo, r as so, s as oo, t as ro, u as to, v as io, F as lo, T as no, w as po } from "./global-search-BbZfc-VL.js";
|
|
16
|
+
import { A as So, c as co, a as mo, b as bo, e as Co, h as go, f as Do, D as To, g as ho, d as Ao, P as Po, j as fo, l as Mo, k as Fo, m as Lo, n as xo, q as Bo, o as Io, p as ko, u as wo, i as vo } from "./pipeline-DqWvleNy.js";
|
|
17
|
+
import { A as Ho, B as Go, C as Vo, D as Ro, E as Eo, F as jo, K as Ko, P as No, Q as Wo, S as Oo, T as Qo, b as Uo, g as qo, f as zo, c as _o, d as Jo, a as Xo, e as Yo, j as Zo, i as $o, h as ar } from "./filter-tags-zEQmRhEU.js";
|
|
18
|
+
import { A as sr, B as or, C as rr, D as tr, F as ir, L as lr, P as nr, S as dr } from "./sparkline-chart-DUS4CoW_.js";
|
|
19
|
+
import { A as ur, b as Sr, d as cr, C as mr, D as br, F as Cr, L as gr, P as Dr, a as Tr, S as hr, W as Ar, c as Pr } from "./welcome-card-Cp6t6G3j.js";
|
|
20
|
+
import { K as Mr, M as Fr, S as Lr, a as xr, T as Br } from "./multi-container-BZia7HCU.js";
|
|
21
|
+
import { a as kr, L as wr, c as vr, i as yr, d as Hr, b as Gr, f as Vr, e as Rr, n as Er, g as jr, h as Kr, j as Nr, m as Wr, o as Or, k as Qr, p as Ur, l as qr, t as zr, u as _r } from "./locale-provider-DzBeb-X3.js";
|
|
22
22
|
import { u as Xr } from "./use-mobile-C-LMK4T8.js";
|
|
23
23
|
import { u as Zr, a as $r } from "./use-local-storage-BjlrKzE-.js";
|
|
24
24
|
import { t as et, u as st } from "./use-toast-DG2qdYhl.js";
|
|
25
|
-
import { u as rt } from "./use-formatters-
|
|
26
|
-
import { c as it } from "./index-
|
|
25
|
+
import { u as rt } from "./use-formatters-Bgj3JA4i.js";
|
|
26
|
+
import { c as it } from "./index-DtaLkIY8.js";
|
|
27
27
|
export {
|
|
28
28
|
ur as AISummaryCard,
|
|
29
29
|
s as Accordion,
|