@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
|
@@ -1,19 +1,31 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e, Fragment as W } from "react/jsx-runtime";
|
|
2
2
|
import * as N from "react";
|
|
3
|
-
import { c as o } from "./index-
|
|
4
|
-
import { C as M, a as q, e as z, c as E } from "./card-
|
|
5
|
-
import { A as D, a as
|
|
6
|
-
import { B as k, S as J, a as v, d as Q, C as $, X as
|
|
7
|
-
import { c as y } from "./createLucideIcon-
|
|
8
|
-
import { M as ee, P as O, C as ae, T as te, a as re, I as
|
|
9
|
-
import { u as se } from "./use-formatters-
|
|
10
|
-
import { C as Z } from "./calendar-
|
|
11
|
-
import { P as le } from "./plus-
|
|
12
|
-
import { S as L } from "./skeleton-
|
|
3
|
+
import { c as o } from "./index-DtaLkIY8.js";
|
|
4
|
+
import { C as M, a as q, e as z, c as E } from "./card-fId5vof_.js";
|
|
5
|
+
import { A as D, a as T, b as H } from "./avatar-C5-ZWIqT.js";
|
|
6
|
+
import { B as k, S as J, a as v, d as Q, C as $, X as R, e as Y } from "./scroll-area-A3jGu-Ta.js";
|
|
7
|
+
import { c as y } from "./createLucideIcon-BC8wu-bu.js";
|
|
8
|
+
import { M as ee, P as O, C as ae, T as te, a as re, I as F, F as U } from "./progress-CTTt_CP3.js";
|
|
9
|
+
import { u as se } from "./use-formatters-Bgj3JA4i.js";
|
|
10
|
+
import { C as Z } from "./calendar-CUxm1K7J.js";
|
|
11
|
+
import { P as le } from "./plus-DxD6rofl.js";
|
|
12
|
+
import { S as L } from "./skeleton-Bl6FAxHT.js";
|
|
13
|
+
/**
|
|
14
|
+
* @license lucide-react v0.441.0 - ISC
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the ISC license.
|
|
17
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/
|
|
13
19
|
const S = y("ArrowRight", [
|
|
14
20
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
15
21
|
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
|
16
22
|
]);
|
|
23
|
+
/**
|
|
24
|
+
* @license lucide-react v0.441.0 - ISC
|
|
25
|
+
*
|
|
26
|
+
* This source code is licensed under the ISC license.
|
|
27
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
28
|
+
*/
|
|
17
29
|
const ie = y("Building2", [
|
|
18
30
|
["path", { d: "M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z", key: "1b4qmf" }],
|
|
19
31
|
["path", { d: "M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2", key: "i71pzd" }],
|
|
@@ -23,22 +35,52 @@ const ie = y("Building2", [
|
|
|
23
35
|
["path", { d: "M10 14h4", key: "kelpxr" }],
|
|
24
36
|
["path", { d: "M10 18h4", key: "1ulq68" }]
|
|
25
37
|
]);
|
|
38
|
+
/**
|
|
39
|
+
* @license lucide-react v0.441.0 - ISC
|
|
40
|
+
*
|
|
41
|
+
* This source code is licensed under the ISC license.
|
|
42
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
43
|
+
*/
|
|
26
44
|
const ce = y("Copy", [
|
|
27
45
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
28
46
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
29
47
|
]);
|
|
48
|
+
/**
|
|
49
|
+
* @license lucide-react v0.441.0 - ISC
|
|
50
|
+
*
|
|
51
|
+
* This source code is licensed under the ISC license.
|
|
52
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
53
|
+
*/
|
|
30
54
|
const de = y("ExternalLink", [
|
|
31
55
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
32
56
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
33
57
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
34
58
|
]);
|
|
59
|
+
/**
|
|
60
|
+
* @license lucide-react v0.441.0 - ISC
|
|
61
|
+
*
|
|
62
|
+
* This source code is licensed under the ISC license.
|
|
63
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
64
|
+
*/
|
|
35
65
|
const K = y("Mail", [
|
|
36
66
|
["rect", { width: "20", height: "16", x: "2", y: "4", rx: "2", key: "18n3k1" }],
|
|
37
67
|
["path", { d: "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7", key: "1ocrg3" }]
|
|
38
68
|
]);
|
|
69
|
+
/**
|
|
70
|
+
* @license lucide-react v0.441.0 - ISC
|
|
71
|
+
*
|
|
72
|
+
* This source code is licensed under the ISC license.
|
|
73
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
74
|
+
*/
|
|
39
75
|
const ne = y("MessageSquare", [
|
|
40
76
|
["path", { d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z", key: "1lielz" }]
|
|
41
77
|
]);
|
|
78
|
+
/**
|
|
79
|
+
* @license lucide-react v0.441.0 - ISC
|
|
80
|
+
*
|
|
81
|
+
* This source code is licensed under the ISC license.
|
|
82
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
83
|
+
*/
|
|
42
84
|
const X = y("Phone", [
|
|
43
85
|
[
|
|
44
86
|
"path",
|
|
@@ -48,13 +90,25 @@ const X = y("Phone", [
|
|
|
48
90
|
}
|
|
49
91
|
]
|
|
50
92
|
]);
|
|
93
|
+
/**
|
|
94
|
+
* @license lucide-react v0.441.0 - ISC
|
|
95
|
+
*
|
|
96
|
+
* This source code is licensed under the ISC license.
|
|
97
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
98
|
+
*/
|
|
51
99
|
const oe = y("RefreshCw", [
|
|
52
100
|
["path", { d: "M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8", key: "v9h5vc" }],
|
|
53
101
|
["path", { d: "M21 3v5h-5", key: "1q7to0" }],
|
|
54
102
|
["path", { d: "M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16", key: "3uifl3" }],
|
|
55
103
|
["path", { d: "M8 16H3v5", key: "1cv678" }]
|
|
56
104
|
]);
|
|
57
|
-
|
|
105
|
+
/**
|
|
106
|
+
* @license lucide-react v0.441.0 - ISC
|
|
107
|
+
*
|
|
108
|
+
* This source code is licensed under the ISC license.
|
|
109
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
110
|
+
*/
|
|
111
|
+
const P = y("Sparkles", [
|
|
58
112
|
[
|
|
59
113
|
"path",
|
|
60
114
|
{
|
|
@@ -67,6 +121,12 @@ const R = y("Sparkles", [
|
|
|
67
121
|
["path", { d: "M4 17v2", key: "vumght" }],
|
|
68
122
|
["path", { d: "M5 18H3", key: "zchphs" }]
|
|
69
123
|
]);
|
|
124
|
+
/**
|
|
125
|
+
* @license lucide-react v0.441.0 - ISC
|
|
126
|
+
*
|
|
127
|
+
* This source code is licensed under the ISC license.
|
|
128
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
129
|
+
*/
|
|
70
130
|
const me = y("SquarePen", [
|
|
71
131
|
["path", { d: "M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7", key: "1m0v6g" }],
|
|
72
132
|
[
|
|
@@ -77,6 +137,12 @@ const me = y("SquarePen", [
|
|
|
77
137
|
}
|
|
78
138
|
]
|
|
79
139
|
]);
|
|
140
|
+
/**
|
|
141
|
+
* @license lucide-react v0.441.0 - ISC
|
|
142
|
+
*
|
|
143
|
+
* This source code is licensed under the ISC license.
|
|
144
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
145
|
+
*/
|
|
80
146
|
const he = y("ThumbsDown", [
|
|
81
147
|
["path", { d: "M17 14V2", key: "8ymqnk" }],
|
|
82
148
|
[
|
|
@@ -87,6 +153,12 @@ const he = y("ThumbsDown", [
|
|
|
87
153
|
}
|
|
88
154
|
]
|
|
89
155
|
]);
|
|
156
|
+
/**
|
|
157
|
+
* @license lucide-react v0.441.0 - ISC
|
|
158
|
+
*
|
|
159
|
+
* This source code is licensed under the ISC license.
|
|
160
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
161
|
+
*/
|
|
90
162
|
const ue = y("ThumbsUp", [
|
|
91
163
|
["path", { d: "M7 10v12", key: "1qc93n" }],
|
|
92
164
|
[
|
|
@@ -97,6 +169,12 @@ const ue = y("ThumbsUp", [
|
|
|
97
169
|
}
|
|
98
170
|
]
|
|
99
171
|
]);
|
|
172
|
+
/**
|
|
173
|
+
* @license lucide-react v0.441.0 - ISC
|
|
174
|
+
*
|
|
175
|
+
* This source code is licensed under the ISC license.
|
|
176
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
177
|
+
*/
|
|
100
178
|
const ge = y("Trash2", [
|
|
101
179
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
102
180
|
["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
|
|
@@ -111,14 +189,14 @@ const ge = y("Trash2", [
|
|
|
111
189
|
}, pe = N.forwardRef(
|
|
112
190
|
({
|
|
113
191
|
className: u,
|
|
114
|
-
name:
|
|
192
|
+
name: l,
|
|
115
193
|
email: t,
|
|
116
|
-
phone:
|
|
194
|
+
phone: s,
|
|
117
195
|
company: i,
|
|
118
196
|
position: n,
|
|
119
197
|
location: d,
|
|
120
198
|
avatar: c,
|
|
121
|
-
initials:
|
|
199
|
+
initials: r,
|
|
122
200
|
status: m,
|
|
123
201
|
tags: f,
|
|
124
202
|
onClick: p,
|
|
@@ -133,12 +211,12 @@ const ge = y("Trash2", [
|
|
|
133
211
|
children: [
|
|
134
212
|
/* @__PURE__ */ e(q, { className: "pb-3", children: /* @__PURE__ */ a("div", { className: "flex items-start gap-4", children: [
|
|
135
213
|
/* @__PURE__ */ a(D, { className: "h-12 w-12", children: [
|
|
136
|
-
c && /* @__PURE__ */ e(
|
|
137
|
-
/* @__PURE__ */ e(
|
|
214
|
+
c && /* @__PURE__ */ e(T, { src: c, alt: l }),
|
|
215
|
+
/* @__PURE__ */ e(H, { children: r || l.charAt(0).toUpperCase() })
|
|
138
216
|
] }),
|
|
139
217
|
/* @__PURE__ */ a("div", { className: "flex-1 space-y-1", children: [
|
|
140
218
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
|
|
141
|
-
/* @__PURE__ */ e("h3", { className: "font-semibold leading-none", children:
|
|
219
|
+
/* @__PURE__ */ e("h3", { className: "font-semibold leading-none", children: l }),
|
|
142
220
|
m && /* @__PURE__ */ e(k, { className: o("text-xs", fe[m]), children: m.charAt(0).toUpperCase() + m.slice(1) })
|
|
143
221
|
] }),
|
|
144
222
|
n && /* @__PURE__ */ e("p", { className: "text-sm text-muted-foreground", children: n })
|
|
@@ -149,9 +227,9 @@ const ge = y("Trash2", [
|
|
|
149
227
|
/* @__PURE__ */ e(K, { className: "h-4 w-4" }),
|
|
150
228
|
/* @__PURE__ */ e("span", { children: t })
|
|
151
229
|
] }),
|
|
152
|
-
|
|
230
|
+
s && /* @__PURE__ */ a("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
153
231
|
/* @__PURE__ */ e(X, { className: "h-4 w-4" }),
|
|
154
|
-
/* @__PURE__ */ e("span", { children:
|
|
232
|
+
/* @__PURE__ */ e("span", { children: s })
|
|
155
233
|
] }),
|
|
156
234
|
i && /* @__PURE__ */ a("div", { className: "flex items-center gap-2 text-muted-foreground", children: [
|
|
157
235
|
/* @__PURE__ */ e(ie, { className: "h-4 w-4" }),
|
|
@@ -175,14 +253,14 @@ const xe = {
|
|
|
175
253
|
}, ve = N.forwardRef(
|
|
176
254
|
({
|
|
177
255
|
className: u,
|
|
178
|
-
title:
|
|
256
|
+
title: l,
|
|
179
257
|
value: t,
|
|
180
|
-
company:
|
|
258
|
+
company: s,
|
|
181
259
|
stage: i,
|
|
182
260
|
probability: n,
|
|
183
261
|
closeDate: d,
|
|
184
262
|
closeDateFormat: c,
|
|
185
|
-
currency:
|
|
263
|
+
currency: r,
|
|
186
264
|
showCurrencyCode: m = !1,
|
|
187
265
|
probabilityLabel: f,
|
|
188
266
|
owner: p,
|
|
@@ -193,20 +271,20 @@ const xe = {
|
|
|
193
271
|
valueFormatted: w = !1,
|
|
194
272
|
...j
|
|
195
273
|
}, A) => {
|
|
196
|
-
const { formatCurrency: C, formatDate:
|
|
274
|
+
const { formatCurrency: C, formatDate: B, t: _ } = se(), G = N.useMemo(() => {
|
|
197
275
|
if (w || typeof t == "string")
|
|
198
276
|
return t;
|
|
199
|
-
if (
|
|
200
|
-
const
|
|
277
|
+
if (r) {
|
|
278
|
+
const V = new Intl.NumberFormat(void 0, {
|
|
201
279
|
style: "currency",
|
|
202
|
-
currency:
|
|
280
|
+
currency: r,
|
|
203
281
|
minimumFractionDigits: 0,
|
|
204
282
|
maximumFractionDigits: 0
|
|
205
283
|
}).format(t);
|
|
206
|
-
return m ? `${
|
|
284
|
+
return m ? `${r} ${V.replace(/[^0-9.,\s]/g, "").trim()}` : V;
|
|
207
285
|
}
|
|
208
286
|
return C(t, { minimumFractionDigits: 0, maximumFractionDigits: 0 });
|
|
209
|
-
}, [t, w, C,
|
|
287
|
+
}, [t, w, C, r, m]), I = N.useMemo(() => d ? B(d, c) : null, [d, c, B]);
|
|
210
288
|
return /* @__PURE__ */ a(
|
|
211
289
|
M,
|
|
212
290
|
{
|
|
@@ -224,8 +302,8 @@ const xe = {
|
|
|
224
302
|
children: [
|
|
225
303
|
/* @__PURE__ */ e(q, { className: "pb-2", children: /* @__PURE__ */ a("div", { className: "flex items-start justify-between", children: [
|
|
226
304
|
/* @__PURE__ */ a("div", { className: "space-y-1", children: [
|
|
227
|
-
/* @__PURE__ */ e(E, { className: "text-base", children:
|
|
228
|
-
|
|
305
|
+
/* @__PURE__ */ e(E, { className: "text-base", children: l }),
|
|
306
|
+
s && /* @__PURE__ */ e("p", { className: "text-sm text-muted-foreground", children: s })
|
|
229
307
|
] }),
|
|
230
308
|
x && /* @__PURE__ */ e(k, { className: o("text-xs", xe[x]), children: x.charAt(0).toUpperCase() + x.slice(1) })
|
|
231
309
|
] }) }),
|
|
@@ -245,14 +323,14 @@ const xe = {
|
|
|
245
323
|
/* @__PURE__ */ e(O, { value: n, className: "h-2" })
|
|
246
324
|
] }),
|
|
247
325
|
/* @__PURE__ */ a("div", { className: "flex items-center justify-between text-xs text-muted-foreground", children: [
|
|
248
|
-
|
|
326
|
+
I && /* @__PURE__ */ a("div", { className: "flex items-center gap-1", children: [
|
|
249
327
|
/* @__PURE__ */ e(Z, { className: "h-3 w-3" }),
|
|
250
|
-
/* @__PURE__ */ e("span", { children:
|
|
328
|
+
/* @__PURE__ */ e("span", { children: I })
|
|
251
329
|
] }),
|
|
252
330
|
p && /* @__PURE__ */ a("div", { className: "flex items-center gap-1", children: [
|
|
253
331
|
/* @__PURE__ */ a(D, { className: "h-5 w-5", children: [
|
|
254
|
-
p.avatar && /* @__PURE__ */ e(
|
|
255
|
-
/* @__PURE__ */ e(
|
|
332
|
+
p.avatar && /* @__PURE__ */ e(T, { src: p.avatar }),
|
|
333
|
+
/* @__PURE__ */ e(H, { className: "text-[10px]", children: p.name.charAt(0).toUpperCase() })
|
|
256
334
|
] }),
|
|
257
335
|
/* @__PURE__ */ e("span", { children: p.name })
|
|
258
336
|
] })
|
|
@@ -266,25 +344,25 @@ const xe = {
|
|
|
266
344
|
ve.displayName = "DealCard";
|
|
267
345
|
function Ze({
|
|
268
346
|
className: u,
|
|
269
|
-
columns:
|
|
347
|
+
columns: l,
|
|
270
348
|
renderItem: t,
|
|
271
|
-
onItemMove:
|
|
349
|
+
onItemMove: s,
|
|
272
350
|
onAddItem: i,
|
|
273
351
|
showAddButton: n = !0,
|
|
274
352
|
columnWidth: d = 300,
|
|
275
353
|
getItemId: c
|
|
276
354
|
}) {
|
|
277
|
-
const [
|
|
355
|
+
const [r, m] = N.useState(null), f = (h, g) => {
|
|
278
356
|
m({ id: h, columnId: g });
|
|
279
357
|
}, p = (h) => {
|
|
280
358
|
h.preventDefault();
|
|
281
359
|
}, x = (h) => {
|
|
282
|
-
|
|
360
|
+
r && r.columnId !== h && (s == null || s(r.id, r.columnId, h)), m(null);
|
|
283
361
|
}, b = () => {
|
|
284
362
|
m(null);
|
|
285
363
|
};
|
|
286
364
|
return /* @__PURE__ */ a(J, { className: o("w-full", u), children: [
|
|
287
|
-
/* @__PURE__ */ e("div", { className: "flex gap-4 p-4", children:
|
|
365
|
+
/* @__PURE__ */ e("div", { className: "flex gap-4 p-4", children: l.map((h) => /* @__PURE__ */ a(
|
|
288
366
|
"div",
|
|
289
367
|
{
|
|
290
368
|
className: "flex shrink-0 flex-col rounded-lg bg-muted/50",
|
|
@@ -325,7 +403,7 @@ function Ze({
|
|
|
325
403
|
onDragEnd: b,
|
|
326
404
|
className: o(
|
|
327
405
|
"transition-opacity",
|
|
328
|
-
|
|
406
|
+
(r == null ? void 0 : r.id) === w && "opacity-50"
|
|
329
407
|
),
|
|
330
408
|
children: t(g, h.id)
|
|
331
409
|
},
|
|
@@ -339,19 +417,19 @@ function Ze({
|
|
|
339
417
|
/* @__PURE__ */ e(Q, { orientation: "horizontal" })
|
|
340
418
|
] });
|
|
341
419
|
}
|
|
342
|
-
const Ne = (u,
|
|
343
|
-
const t = u /
|
|
420
|
+
const Ne = (u, l) => {
|
|
421
|
+
const t = u / l * 100;
|
|
344
422
|
return t >= 80 ? "bg-success text-success-foreground" : t >= 60 ? "bg-primary text-primary-foreground" : t >= 40 ? "bg-warning text-warning-foreground" : "bg-destructive text-destructive-foreground";
|
|
345
|
-
}, be = (u,
|
|
346
|
-
const t = u /
|
|
423
|
+
}, be = (u, l) => {
|
|
424
|
+
const t = u / l * 100;
|
|
347
425
|
return t >= 80 ? "Hot" : t >= 60 ? "Warm" : t >= 40 ? "Cold" : "Very Cold";
|
|
348
426
|
}, ye = {
|
|
349
427
|
sm: "h-6 w-6 text-xs",
|
|
350
428
|
md: "h-8 w-8 text-sm",
|
|
351
429
|
lg: "h-10 w-10 text-base"
|
|
352
430
|
}, we = N.forwardRef(
|
|
353
|
-
({ className: u, score:
|
|
354
|
-
const c = Ne(
|
|
431
|
+
({ className: u, score: l, maxScore: t = 100, showLabel: s = !1, size: i = "md", ...n }, d) => {
|
|
432
|
+
const c = Ne(l, t), r = be(l, t);
|
|
355
433
|
return /* @__PURE__ */ a("div", { ref: d, className: o("flex items-center gap-2", u), ...n, children: [
|
|
356
434
|
/* @__PURE__ */ e(
|
|
357
435
|
"div",
|
|
@@ -361,10 +439,10 @@ const Ne = (u, r) => {
|
|
|
361
439
|
ye[i],
|
|
362
440
|
c
|
|
363
441
|
),
|
|
364
|
-
children:
|
|
442
|
+
children: l
|
|
365
443
|
}
|
|
366
444
|
),
|
|
367
|
-
|
|
445
|
+
s && /* @__PURE__ */ e("span", { className: o("text-sm font-medium", c.split(" ")[0].replace("bg-", "text-")), children: r })
|
|
368
446
|
] });
|
|
369
447
|
}
|
|
370
448
|
);
|
|
@@ -400,32 +478,32 @@ const ke = {
|
|
|
400
478
|
qualified: "bg-primary",
|
|
401
479
|
unqualified: "bg-muted-foreground"
|
|
402
480
|
};
|
|
403
|
-
function Ke({ className: u, status:
|
|
404
|
-
const i =
|
|
481
|
+
function Ke({ className: u, status: l, customColors: t, showDot: s = !0 }) {
|
|
482
|
+
const i = l.toLowerCase(), n = (t == null ? void 0 : t[l]) || ke[i] || "bg-muted text-muted-foreground", d = Ce[i] || "bg-muted-foreground", c = l.charAt(0).toUpperCase() + l.slice(1).toLowerCase();
|
|
405
483
|
return /* @__PURE__ */ a(k, { variant: "outline", className: o("gap-1.5 font-medium", n, u), children: [
|
|
406
|
-
|
|
484
|
+
s && /* @__PURE__ */ e("span", { className: o("h-2 w-2 rounded-full", d) }),
|
|
407
485
|
c
|
|
408
486
|
] });
|
|
409
487
|
}
|
|
410
488
|
const Me = N.forwardRef(
|
|
411
|
-
({ className: u, steps:
|
|
489
|
+
({ className: u, steps: l, currentStep: t, orientation: s = "horizontal", onStepClick: i, ...n }, d) => /* @__PURE__ */ e(
|
|
412
490
|
"div",
|
|
413
491
|
{
|
|
414
492
|
ref: d,
|
|
415
493
|
className: o(
|
|
416
494
|
"flex",
|
|
417
|
-
|
|
495
|
+
s === "horizontal" ? "flex-row items-start" : "flex-col",
|
|
418
496
|
u
|
|
419
497
|
),
|
|
420
498
|
...n,
|
|
421
|
-
children:
|
|
422
|
-
const m =
|
|
499
|
+
children: l.map((c, r) => {
|
|
500
|
+
const m = r < t, f = r === t, p = i !== void 0;
|
|
423
501
|
return /* @__PURE__ */ a(
|
|
424
502
|
"div",
|
|
425
503
|
{
|
|
426
504
|
className: o(
|
|
427
505
|
"flex",
|
|
428
|
-
|
|
506
|
+
s === "horizontal" ? "flex-1 flex-col items-center" : "flex-row items-start gap-4 pb-8 last:pb-0"
|
|
429
507
|
),
|
|
430
508
|
children: [
|
|
431
509
|
/* @__PURE__ */ a(
|
|
@@ -433,15 +511,15 @@ const Me = N.forwardRef(
|
|
|
433
511
|
{
|
|
434
512
|
className: o(
|
|
435
513
|
"flex items-center",
|
|
436
|
-
|
|
514
|
+
s === "horizontal" ? "w-full" : "flex-col"
|
|
437
515
|
),
|
|
438
516
|
children: [
|
|
439
|
-
|
|
517
|
+
s === "horizontal" && r > 0 && /* @__PURE__ */ e(
|
|
440
518
|
"div",
|
|
441
519
|
{
|
|
442
520
|
className: o(
|
|
443
521
|
"h-0.5 flex-1",
|
|
444
|
-
|
|
522
|
+
r <= t ? "bg-primary" : "bg-border"
|
|
445
523
|
)
|
|
446
524
|
}
|
|
447
525
|
),
|
|
@@ -449,31 +527,31 @@ const Me = N.forwardRef(
|
|
|
449
527
|
"button",
|
|
450
528
|
{
|
|
451
529
|
type: "button",
|
|
452
|
-
onClick: () => p && i(
|
|
530
|
+
onClick: () => p && i(r),
|
|
453
531
|
disabled: !p,
|
|
454
532
|
className: o(
|
|
455
533
|
"relative z-10 flex h-10 w-10 shrink-0 items-center justify-center rounded-full border-2 text-sm font-medium transition-colors",
|
|
456
534
|
m ? "border-primary bg-primary text-primary-foreground" : f ? "border-primary bg-background text-primary" : "border-border bg-background text-muted-foreground",
|
|
457
535
|
p && "cursor-pointer hover:border-primary/50"
|
|
458
536
|
),
|
|
459
|
-
children: m ? /* @__PURE__ */ e($, { className: "h-5 w-5" }) :
|
|
537
|
+
children: m ? /* @__PURE__ */ e($, { className: "h-5 w-5" }) : r + 1
|
|
460
538
|
}
|
|
461
539
|
),
|
|
462
|
-
|
|
540
|
+
s === "horizontal" && r < l.length - 1 && /* @__PURE__ */ e(
|
|
463
541
|
"div",
|
|
464
542
|
{
|
|
465
543
|
className: o(
|
|
466
544
|
"h-0.5 flex-1",
|
|
467
|
-
|
|
545
|
+
r < t ? "bg-primary" : "bg-border"
|
|
468
546
|
)
|
|
469
547
|
}
|
|
470
548
|
),
|
|
471
|
-
|
|
549
|
+
s === "vertical" && r < l.length - 1 && /* @__PURE__ */ e(
|
|
472
550
|
"div",
|
|
473
551
|
{
|
|
474
552
|
className: o(
|
|
475
553
|
"my-2 w-0.5 flex-1",
|
|
476
|
-
|
|
554
|
+
r < t ? "bg-primary" : "bg-border"
|
|
477
555
|
),
|
|
478
556
|
style: { minHeight: "2rem" }
|
|
479
557
|
}
|
|
@@ -486,7 +564,7 @@ const Me = N.forwardRef(
|
|
|
486
564
|
{
|
|
487
565
|
className: o(
|
|
488
566
|
"text-center",
|
|
489
|
-
|
|
567
|
+
s === "horizontal" ? "mt-2 px-2" : "pt-1"
|
|
490
568
|
),
|
|
491
569
|
children: [
|
|
492
570
|
/* @__PURE__ */ e(
|
|
@@ -515,14 +593,14 @@ Me.displayName = "ProgressTracker";
|
|
|
515
593
|
const ze = N.forwardRef(
|
|
516
594
|
({
|
|
517
595
|
className: u,
|
|
518
|
-
title:
|
|
596
|
+
title: l = "AI Summary",
|
|
519
597
|
summary: t,
|
|
520
|
-
loading:
|
|
598
|
+
loading: s = !1,
|
|
521
599
|
error: i,
|
|
522
600
|
onRefresh: n,
|
|
523
601
|
onCopy: d,
|
|
524
602
|
onFeedback: c,
|
|
525
|
-
model:
|
|
603
|
+
model: r,
|
|
526
604
|
generatedAt: m,
|
|
527
605
|
confidence: f,
|
|
528
606
|
...p
|
|
@@ -530,15 +608,15 @@ const ze = N.forwardRef(
|
|
|
530
608
|
const [b, h] = N.useState(!1), [g, w] = N.useState(null), j = async () => {
|
|
531
609
|
t && d && (await navigator.clipboard.writeText(t), h(!0), d(), setTimeout(() => h(!1), 2e3));
|
|
532
610
|
}, A = (C) => {
|
|
533
|
-
w(C), c
|
|
611
|
+
w(C), c == null || c(C);
|
|
534
612
|
};
|
|
535
613
|
return /* @__PURE__ */ a(M, { ref: x, className: o("relative overflow-hidden", u), ...p, children: [
|
|
536
614
|
/* @__PURE__ */ e("div", { className: "absolute inset-x-0 top-0 h-1 bg-gradient-to-r from-primary/50 via-primary to-primary/50" }),
|
|
537
615
|
/* @__PURE__ */ a(q, { className: "flex flex-row items-center justify-between space-y-0 pb-2", children: [
|
|
538
616
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
|
|
539
|
-
/* @__PURE__ */ e(
|
|
540
|
-
/* @__PURE__ */ e(E, { className: "text-base font-medium", children:
|
|
541
|
-
|
|
617
|
+
/* @__PURE__ */ e(P, { className: "h-4 w-4 text-primary" }),
|
|
618
|
+
/* @__PURE__ */ e(E, { className: "text-base font-medium", children: l }),
|
|
619
|
+
r && /* @__PURE__ */ e(k, { variant: "outline", className: "text-xs", children: r })
|
|
542
620
|
] }),
|
|
543
621
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-1", children: [
|
|
544
622
|
n && /* @__PURE__ */ e(
|
|
@@ -548,8 +626,8 @@ const ze = N.forwardRef(
|
|
|
548
626
|
size: "icon",
|
|
549
627
|
className: "h-7 w-7",
|
|
550
628
|
onClick: n,
|
|
551
|
-
disabled:
|
|
552
|
-
children: /* @__PURE__ */ e(oe, { className: o("h-4 w-4",
|
|
629
|
+
disabled: s,
|
|
630
|
+
children: /* @__PURE__ */ e(oe, { className: o("h-4 w-4", s && "animate-spin") })
|
|
553
631
|
}
|
|
554
632
|
),
|
|
555
633
|
t && d && /* @__PURE__ */ e(
|
|
@@ -564,7 +642,7 @@ const ze = N.forwardRef(
|
|
|
564
642
|
)
|
|
565
643
|
] })
|
|
566
644
|
] }),
|
|
567
|
-
/* @__PURE__ */ e(z, { className: "space-y-3", children:
|
|
645
|
+
/* @__PURE__ */ e(z, { className: "space-y-3", children: s ? /* @__PURE__ */ a("div", { className: "space-y-2", children: [
|
|
568
646
|
/* @__PURE__ */ e(L, { className: "h-4 w-full" }),
|
|
569
647
|
/* @__PURE__ */ e(L, { className: "h-4 w-full" }),
|
|
570
648
|
/* @__PURE__ */ e(L, { className: "h-4 w-3/4" })
|
|
@@ -611,14 +689,14 @@ ze.displayName = "AISummaryCard";
|
|
|
611
689
|
const Ae = N.forwardRef(
|
|
612
690
|
({
|
|
613
691
|
className: u,
|
|
614
|
-
title:
|
|
692
|
+
title: l,
|
|
615
693
|
description: t,
|
|
616
|
-
badge:
|
|
694
|
+
badge: s,
|
|
617
695
|
icon: i,
|
|
618
696
|
image: n,
|
|
619
697
|
actionLabel: d = "Try it now",
|
|
620
698
|
onAction: c,
|
|
621
|
-
learnMoreUrl:
|
|
699
|
+
learnMoreUrl: r,
|
|
622
700
|
dismissible: m = !0,
|
|
623
701
|
onDismiss: f,
|
|
624
702
|
variant: p = "default",
|
|
@@ -641,7 +719,7 @@ const Ae = N.forwardRef(
|
|
|
641
719
|
size: "icon",
|
|
642
720
|
className: "absolute right-2 top-2 h-6 w-6",
|
|
643
721
|
onClick: f,
|
|
644
|
-
children: /* @__PURE__ */ e(
|
|
722
|
+
children: /* @__PURE__ */ e(R, { className: "h-4 w-4" })
|
|
645
723
|
}
|
|
646
724
|
),
|
|
647
725
|
/* @__PURE__ */ e(z, { className: "p-6", children: /* @__PURE__ */ a("div", { className: "flex gap-4", children: [
|
|
@@ -655,11 +733,11 @@ const Ae = N.forwardRef(
|
|
|
655
733
|
) : null }),
|
|
656
734
|
/* @__PURE__ */ a("div", { className: "flex-1 space-y-3", children: [
|
|
657
735
|
/* @__PURE__ */ e("div", { className: "flex items-start justify-between gap-2", children: /* @__PURE__ */ a("div", { children: [
|
|
658
|
-
|
|
659
|
-
/* @__PURE__ */ e(
|
|
660
|
-
|
|
736
|
+
s && /* @__PURE__ */ a(k, { variant: "secondary", className: "mb-2", children: [
|
|
737
|
+
/* @__PURE__ */ e(P, { className: "mr-1 h-3 w-3" }),
|
|
738
|
+
s
|
|
661
739
|
] }),
|
|
662
|
-
/* @__PURE__ */ e("h3", { className: "font-semibold", children:
|
|
740
|
+
/* @__PURE__ */ e("h3", { className: "font-semibold", children: l })
|
|
663
741
|
] }) }),
|
|
664
742
|
/* @__PURE__ */ e("p", { className: "text-sm text-muted-foreground", children: t }),
|
|
665
743
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-2 pt-2", children: [
|
|
@@ -667,7 +745,7 @@ const Ae = N.forwardRef(
|
|
|
667
745
|
d,
|
|
668
746
|
/* @__PURE__ */ e(S, { className: "ml-1 h-4 w-4" })
|
|
669
747
|
] }),
|
|
670
|
-
|
|
748
|
+
r && /* @__PURE__ */ e(v, { variant: "ghost", size: "sm", asChild: !0, children: /* @__PURE__ */ a("a", { href: r, target: "_blank", rel: "noopener noreferrer", children: [
|
|
671
749
|
"Learn more",
|
|
672
750
|
/* @__PURE__ */ e(de, { className: "ml-1 h-3 w-3" })
|
|
673
751
|
] }) })
|
|
@@ -702,43 +780,43 @@ const je = Y(
|
|
|
702
780
|
}
|
|
703
781
|
}
|
|
704
782
|
), Le = {
|
|
705
|
-
default:
|
|
706
|
-
info:
|
|
783
|
+
default: F,
|
|
784
|
+
info: F,
|
|
707
785
|
success: re,
|
|
708
786
|
warning: te,
|
|
709
787
|
destructive: ae
|
|
710
788
|
}, Se = N.forwardRef(
|
|
711
789
|
({
|
|
712
790
|
className: u,
|
|
713
|
-
variant:
|
|
791
|
+
variant: l = "default",
|
|
714
792
|
position: t = "inline",
|
|
715
|
-
title:
|
|
793
|
+
title: s,
|
|
716
794
|
message: i,
|
|
717
795
|
dismissible: n = !0,
|
|
718
796
|
onDismiss: d,
|
|
719
797
|
action: c,
|
|
720
|
-
showIcon:
|
|
798
|
+
showIcon: r = !0,
|
|
721
799
|
...m
|
|
722
800
|
}, f) => {
|
|
723
|
-
const p = Le[
|
|
801
|
+
const p = Le[l || "default"];
|
|
724
802
|
return /* @__PURE__ */ a(
|
|
725
803
|
"div",
|
|
726
804
|
{
|
|
727
805
|
ref: f,
|
|
728
806
|
role: "alert",
|
|
729
|
-
className: o(je({ variant:
|
|
807
|
+
className: o(je({ variant: l, position: t }), u),
|
|
730
808
|
...m,
|
|
731
809
|
children: [
|
|
732
|
-
|
|
810
|
+
r && /* @__PURE__ */ e(p, { className: "h-5 w-5 flex-shrink-0" }),
|
|
733
811
|
/* @__PURE__ */ a("div", { className: "flex flex-1 flex-col gap-0.5", children: [
|
|
734
|
-
|
|
735
|
-
/* @__PURE__ */ e("p", { className: o(!
|
|
812
|
+
s && /* @__PURE__ */ e("p", { className: "font-medium", children: s }),
|
|
813
|
+
/* @__PURE__ */ e("p", { className: o(!s && "font-normal", s && "text-muted-foreground"), children: i })
|
|
736
814
|
] }),
|
|
737
815
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
|
|
738
816
|
c && /* @__PURE__ */ e(
|
|
739
817
|
v,
|
|
740
818
|
{
|
|
741
|
-
variant:
|
|
819
|
+
variant: l === "destructive" ? "destructive" : "outline",
|
|
742
820
|
size: "sm",
|
|
743
821
|
onClick: c.onClick,
|
|
744
822
|
children: c.label
|
|
@@ -751,7 +829,7 @@ const je = Y(
|
|
|
751
829
|
size: "icon",
|
|
752
830
|
className: "h-6 w-6 flex-shrink-0",
|
|
753
831
|
onClick: d,
|
|
754
|
-
children: /* @__PURE__ */ e(
|
|
832
|
+
children: /* @__PURE__ */ e(R, { className: "h-4 w-4" })
|
|
755
833
|
}
|
|
756
834
|
)
|
|
757
835
|
] })
|
|
@@ -775,30 +853,30 @@ const qe = {
|
|
|
775
853
|
note: "bg-yellow-100 text-yellow-600 dark:bg-yellow-900/30 dark:text-yellow-400",
|
|
776
854
|
task: "bg-orange-100 text-orange-600 dark:bg-orange-900/30 dark:text-orange-400",
|
|
777
855
|
message: "bg-pink-100 text-pink-600 dark:bg-pink-900/30 dark:text-pink-400"
|
|
778
|
-
},
|
|
856
|
+
}, Te = N.forwardRef(
|
|
779
857
|
({
|
|
780
858
|
className: u,
|
|
781
|
-
type:
|
|
859
|
+
type: l,
|
|
782
860
|
title: t,
|
|
783
|
-
description:
|
|
861
|
+
description: s,
|
|
784
862
|
timestamp: i,
|
|
785
863
|
user: n,
|
|
786
864
|
actions: d,
|
|
787
865
|
metadata: c,
|
|
788
|
-
...
|
|
866
|
+
...r
|
|
789
867
|
}, m) => /* @__PURE__ */ a(
|
|
790
868
|
"div",
|
|
791
869
|
{
|
|
792
870
|
ref: m,
|
|
793
871
|
className: o("group flex gap-4 rounded-lg p-3 hover:bg-muted/50", u),
|
|
794
|
-
...
|
|
872
|
+
...r,
|
|
795
873
|
children: [
|
|
796
|
-
/* @__PURE__ */ e("div", { className: o("flex h-10 w-10 items-center justify-center rounded-lg", De[
|
|
874
|
+
/* @__PURE__ */ e("div", { className: o("flex h-10 w-10 items-center justify-center rounded-lg", De[l]), children: qe[l] }),
|
|
797
875
|
/* @__PURE__ */ a("div", { className: "flex flex-1 flex-col gap-1", children: [
|
|
798
876
|
/* @__PURE__ */ a("div", { className: "flex items-start justify-between", children: [
|
|
799
877
|
/* @__PURE__ */ a("div", { children: [
|
|
800
878
|
/* @__PURE__ */ e("h4", { className: "font-medium", children: t }),
|
|
801
|
-
|
|
879
|
+
s && /* @__PURE__ */ e("p", { className: "text-sm text-muted-foreground line-clamp-2", children: s })
|
|
802
880
|
] }),
|
|
803
881
|
d && /* @__PURE__ */ a("div", { className: "flex items-center gap-1 opacity-0 transition-opacity group-hover:opacity-100", children: [
|
|
804
882
|
d.onEdit && /* @__PURE__ */ e(v, { variant: "ghost", size: "icon", className: "h-7 w-7", onClick: d.onEdit, children: /* @__PURE__ */ e(me, { className: "h-3.5 w-3.5" }) }),
|
|
@@ -825,8 +903,8 @@ const qe = {
|
|
|
825
903
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-2 text-xs text-muted-foreground", children: [
|
|
826
904
|
n && /* @__PURE__ */ a(W, { children: [
|
|
827
905
|
/* @__PURE__ */ a(D, { className: "h-5 w-5", children: [
|
|
828
|
-
n.avatar && /* @__PURE__ */ e(
|
|
829
|
-
/* @__PURE__ */ e(
|
|
906
|
+
n.avatar && /* @__PURE__ */ e(T, { src: n.avatar }),
|
|
907
|
+
/* @__PURE__ */ e(H, { className: "text-[10px]", children: n.name.charAt(0).toUpperCase() })
|
|
830
908
|
] }),
|
|
831
909
|
/* @__PURE__ */ e("span", { children: n.name }),
|
|
832
910
|
/* @__PURE__ */ e("span", { children: "•" })
|
|
@@ -838,18 +916,18 @@ const qe = {
|
|
|
838
916
|
}
|
|
839
917
|
)
|
|
840
918
|
);
|
|
841
|
-
|
|
842
|
-
const
|
|
919
|
+
Te.displayName = "CRMActivityItem";
|
|
920
|
+
const He = N.forwardRef(
|
|
843
921
|
({
|
|
844
922
|
className: u,
|
|
845
|
-
title:
|
|
923
|
+
title: l,
|
|
846
924
|
subtitle: t,
|
|
847
|
-
userName:
|
|
925
|
+
userName: s,
|
|
848
926
|
steps: i = [],
|
|
849
927
|
dismissible: n = !0,
|
|
850
928
|
onDismiss: d,
|
|
851
929
|
showProgress: c = !0,
|
|
852
|
-
image:
|
|
930
|
+
image: r,
|
|
853
931
|
ctaLabel: m,
|
|
854
932
|
ctaOnClick: f,
|
|
855
933
|
...p
|
|
@@ -870,17 +948,17 @@ const Te = N.forwardRef(
|
|
|
870
948
|
size: "icon",
|
|
871
949
|
className: "absolute right-2 top-2 h-6 w-6 z-10",
|
|
872
950
|
onClick: d,
|
|
873
|
-
children: /* @__PURE__ */ e(
|
|
951
|
+
children: /* @__PURE__ */ e(R, { className: "h-4 w-4" })
|
|
874
952
|
}
|
|
875
953
|
),
|
|
876
954
|
/* @__PURE__ */ e(z, { className: "relative p-6", children: /* @__PURE__ */ a("div", { className: "flex gap-6", children: [
|
|
877
955
|
/* @__PURE__ */ a("div", { className: "flex-1 space-y-4", children: [
|
|
878
956
|
/* @__PURE__ */ a("div", { className: "flex items-center gap-2", children: [
|
|
879
|
-
/* @__PURE__ */ e(
|
|
957
|
+
/* @__PURE__ */ e(P, { className: "h-5 w-5 text-primary" }),
|
|
880
958
|
/* @__PURE__ */ e("span", { className: "text-sm font-medium text-primary", children: "Welcome" })
|
|
881
959
|
] }),
|
|
882
960
|
/* @__PURE__ */ a("div", { children: [
|
|
883
|
-
/* @__PURE__ */ e("h2", { className: "text-2xl font-bold", children:
|
|
961
|
+
/* @__PURE__ */ e("h2", { className: "text-2xl font-bold", children: s ? `${l}, ${s}!` : l }),
|
|
884
962
|
t && /* @__PURE__ */ e("p", { className: "mt-1 text-muted-foreground", children: t })
|
|
885
963
|
] }),
|
|
886
964
|
c && i.length > 0 && /* @__PURE__ */ a("div", { className: "space-y-2", children: [
|
|
@@ -938,14 +1016,14 @@ const Te = N.forwardRef(
|
|
|
938
1016
|
/* @__PURE__ */ e(S, { className: "h-4 w-4" })
|
|
939
1017
|
] })
|
|
940
1018
|
] }),
|
|
941
|
-
|
|
1019
|
+
r && /* @__PURE__ */ e("div", { className: "hidden lg:block", children: /* @__PURE__ */ e("img", { src: r, alt: "", className: "h-48 w-48 object-contain" }) })
|
|
942
1020
|
] }) })
|
|
943
1021
|
]
|
|
944
1022
|
}
|
|
945
1023
|
);
|
|
946
1024
|
}
|
|
947
1025
|
);
|
|
948
|
-
|
|
1026
|
+
He.displayName = "WelcomeCard";
|
|
949
1027
|
export {
|
|
950
1028
|
ze as A,
|
|
951
1029
|
pe as C,
|
|
@@ -954,10 +1032,10 @@ export {
|
|
|
954
1032
|
we as L,
|
|
955
1033
|
Ze as P,
|
|
956
1034
|
Ke as S,
|
|
957
|
-
|
|
1035
|
+
He as W,
|
|
958
1036
|
Me as a,
|
|
959
1037
|
Se as b,
|
|
960
1038
|
je as c,
|
|
961
|
-
|
|
1039
|
+
Te as d
|
|
962
1040
|
};
|
|
963
|
-
//# sourceMappingURL=welcome-card-
|
|
1041
|
+
//# sourceMappingURL=welcome-card-Cp6t6G3j.js.map
|