@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,2 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),K=require("react"),o=require("./index-lGzB9daF.cjs"),p=require("./card-tMkUxpmW.cjs"),w=require("./avatar-C0aVNCG9.cjs"),m=require("./scroll-area-DYOiJMXh.cjs"),N=require("./createLucideIcon-i5GEhNMV.cjs"),y=require("./progress-CFnuLqnS.cjs"),G=require("./use-formatters-d97RVcmg.cjs"),D=require("./calendar-SwL5isYC.cjs"),J=require("./plus-8wKRkVu-.cjs"),A=require("./skeleton-BSwwYaQU.cjs");function Q(i){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const s in i)if(s!=="default"){const a=Object.getOwnPropertyDescriptor(i,s);Object.defineProperty(t,s,a.get?a:{enumerable:!0,get:()=>i[s]})}}return t.default=i,Object.freeze(t)}const v=Q(K);const B=N.createLucideIcon("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);const Y=N.createLucideIcon("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);const ee=N.createLucideIcon("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["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"}]]);const se=N.createLucideIcon("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const T=N.createLucideIcon("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);const te=N.createLucideIcon("MessageSquare",[["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"}]]);const H=N.createLucideIcon("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);const ae=N.createLucideIcon("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);const I=N.createLucideIcon("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);const re=N.createLucideIcon("SquarePen",[["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"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);const ce=N.createLucideIcon("ThumbsDown",[["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}]]);const ne=N.createLucideIcon("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]]);const le=N.createLucideIcon("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]),ie={active:"bg-success text-success-foreground",inactive:"bg-muted text-muted-foreground",lead:"bg-warning text-warning-foreground",customer:"bg-primary text-primary-foreground"},R=v.forwardRef(({className:i,name:t,email:s,phone:a,company:c,position:d,location:l,avatar:n,initials:r,status:h,tags:g,onClick:f,...j},b)=>e.jsxs(p.Card,{ref:b,className:o.cn("transition-shadow hover:shadow-md",f&&"cursor-pointer",i),onClick:f,...j,children:[e.jsx(p.CardHeader,{className:"pb-3",children:e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsxs(w.Avatar,{className:"h-12 w-12",children:[n&&e.jsx(w.AvatarImage,{src:n,alt:t}),e.jsx(w.AvatarFallback,{children:r||t.charAt(0).toUpperCase()})]}),e.jsxs("div",{className:"flex-1 space-y-1",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("h3",{className:"font-semibold leading-none",children:t}),h&&e.jsx(m.Badge,{className:o.cn("text-xs",ie[h]),children:h.charAt(0).toUpperCase()+h.slice(1)})]}),d&&e.jsx("p",{className:"text-sm text-muted-foreground",children:d})]})]})}),e.jsxs(p.CardContent,{className:"space-y-2 text-sm",children:[s&&e.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[e.jsx(T,{className:"h-4 w-4"}),e.jsx("span",{children:s})]}),a&&e.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[e.jsx(H,{className:"h-4 w-4"}),e.jsx("span",{children:a})]}),c&&e.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[e.jsx(Y,{className:"h-4 w-4"}),e.jsx("span",{children:c})]}),l&&e.jsxs("div",{className:"flex items-center gap-2 text-muted-foreground",children:[e.jsx(y.MapPin,{className:"h-4 w-4"}),e.jsx("span",{children:l})]}),g&&g.length>0&&e.jsx("div",{className:"flex flex-wrap gap-1 pt-2",children:g.map((x,u)=>e.jsx(m.Badge,{variant:"secondary",className:"text-xs",children:x},u))})]})]}));R.displayName="ContactCard";const de={low:"bg-muted text-muted-foreground",medium:"bg-warning text-warning-foreground",high:"bg-destructive text-destructive-foreground"},F=v.forwardRef(({className:i,title:t,value:s,company:a,stage:c,probability:d,closeDate:l,closeDateFormat:n,currency:r,showCurrencyCode:h=!1,probabilityLabel:g,owner:f,priority:j,onClick:b,onDragStart:x,draggable:u=!1,valueFormatted:k=!1,...z},M)=>{const{formatCurrency:C,formatDate:L,t:Z}=G.useFormatters(),$=v.useMemo(()=>{if(k||typeof s=="string")return s;if(r){const S=new Intl.NumberFormat(void 0,{style:"currency",currency:r,minimumFractionDigits:0,maximumFractionDigits:0}).format(s);return h?`${r} ${S.replace(/[^0-9.,\s]/g,"").trim()}`:S}return C(s,{minimumFractionDigits:0,maximumFractionDigits:0})},[s,k,C,r,h]),q=v.useMemo(()=>l?L(l,n):null,[l,n,L]);return e.jsxs(p.Card,{ref:M,className:o.cn("transition-all hover:shadow-md",b&&"cursor-pointer",u&&"cursor-grab active:cursor-grabbing",i),onClick:b,onDragStart:x,draggable:u,...z,children:[e.jsx(p.CardHeader,{className:"pb-2",children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"space-y-1",children:[e.jsx(p.CardTitle,{className:"text-base",children:t}),a&&e.jsx("p",{className:"text-sm text-muted-foreground",children:a})]}),j&&e.jsx(m.Badge,{className:o.cn("text-xs",de[j]),children:j.charAt(0).toUpperCase()+j.slice(1)})]})}),e.jsxs(p.CardContent,{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("div",{className:"text-lg font-bold",children:$}),c&&e.jsx(m.Badge,{variant:"outline",className:"text-xs",children:c})]}),d!==void 0&&e.jsxs("div",{className:"space-y-1",children:[e.jsxs("div",{className:"flex justify-between text-xs",children:[e.jsx("span",{className:"text-muted-foreground",children:g||Z("deal.probability")}),e.jsxs("span",{className:"font-medium",children:[d,"%"]})]}),e.jsx(y.Progress,{value:d,className:"h-2"})]}),e.jsxs("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[q&&e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx(D.Calendar,{className:"h-3 w-3"}),e.jsx("span",{children:q})]}),f&&e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsxs(w.Avatar,{className:"h-5 w-5",children:[f.avatar&&e.jsx(w.AvatarImage,{src:f.avatar}),e.jsx(w.AvatarFallback,{className:"text-[10px]",children:f.name.charAt(0).toUpperCase()})]}),e.jsx("span",{children:f.name})]})]})]})]})});F.displayName="DealCard";function oe({className:i,columns:t,renderItem:s,onItemMove:a,onAddItem:c,showAddButton:d=!0,columnWidth:l=300,getItemId:n}){const[r,h]=v.useState(null),g=(x,u)=>{h({id:x,columnId:u})},f=x=>{x.preventDefault()},j=x=>{r&&r.columnId!==x&&a?.(r.id,r.columnId,x),h(null)},b=()=>{h(null)};return e.jsxs(m.ScrollArea,{className:o.cn("w-full",i),children:[e.jsx("div",{className:"flex gap-4 p-4",children:t.map(x=>e.jsxs("div",{className:"flex shrink-0 flex-col rounded-lg bg-muted/50",style:{width:l},onDragOver:f,onDrop:()=>j(x.id),children:[e.jsxs("div",{className:"flex items-center justify-between p-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[x.color&&e.jsx("div",{className:"h-3 w-3 rounded-full",style:{backgroundColor:x.color}}),e.jsx("h3",{className:"text-sm font-semibold",children:x.title}),e.jsx("span",{className:"rounded-full bg-muted px-2 py-0.5 text-xs text-muted-foreground",children:x.items.length})]}),d&&c&&e.jsx(m.Button,{variant:"ghost",size:"icon",className:"h-6 w-6",onClick:()=>c(x.id),children:e.jsx(J.Plus,{className:"h-4 w-4"})})]}),e.jsx("div",{className:"flex flex-1 flex-col gap-2 p-2",children:x.items.map(u=>{const k=n(u);return e.jsx("div",{draggable:!0,onDragStart:()=>g(k,x.id),onDragEnd:b,className:o.cn("transition-opacity",r?.id===k&&"opacity-50"),children:s(u,x.id)},k)})})]},x.id))}),e.jsx(m.ScrollBar,{orientation:"horizontal"})]})}const me=(i,t)=>{const s=i/t*100;return s>=80?"bg-success text-success-foreground":s>=60?"bg-primary text-primary-foreground":s>=40?"bg-warning text-warning-foreground":"bg-destructive text-destructive-foreground"},xe=(i,t)=>{const s=i/t*100;return s>=80?"Hot":s>=60?"Warm":s>=40?"Cold":"Very Cold"},he={sm:"h-6 w-6 text-xs",md:"h-8 w-8 text-sm",lg:"h-10 w-10 text-base"},P=v.forwardRef(({className:i,score:t,maxScore:s=100,showLabel:a=!1,size:c="md",...d},l)=>{const n=me(t,s),r=xe(t,s);return e.jsxs("div",{ref:l,className:o.cn("flex items-center gap-2",i),...d,children:[e.jsx("div",{className:o.cn("flex items-center justify-center rounded-full font-semibold",he[c],n),children:t}),a&&e.jsx("span",{className:o.cn("text-sm font-medium",n.split(" ")[0].replace("bg-","text-")),children:r})]})});P.displayName="LeadScoreIndicator";const ue={active:"bg-success/15 text-success border-success/30",inactive:"bg-muted text-muted-foreground border-muted",pending:"bg-warning/15 text-warning border-warning/30",completed:"bg-success/15 text-success border-success/30",cancelled:"bg-destructive/15 text-destructive border-destructive/30",draft:"bg-muted text-muted-foreground border-muted",published:"bg-success/15 text-success border-success/30",archived:"bg-muted text-muted-foreground border-muted",open:"bg-info/15 text-info border-info/30",closed:"bg-muted text-muted-foreground border-muted",won:"bg-success/15 text-success border-success/30",lost:"bg-destructive/15 text-destructive border-destructive/30",qualified:"bg-primary/15 text-primary border-primary/30",unqualified:"bg-muted text-muted-foreground border-muted"},ge={active:"bg-success",inactive:"bg-muted-foreground",pending:"bg-warning",completed:"bg-success",cancelled:"bg-destructive",draft:"bg-muted-foreground",published:"bg-success",archived:"bg-muted-foreground",open:"bg-info",closed:"bg-muted-foreground",won:"bg-success",lost:"bg-destructive",qualified:"bg-primary",unqualified:"bg-muted-foreground"};function fe({className:i,status:t,customColors:s,showDot:a=!0}){const c=t.toLowerCase(),d=s?.[t]||ue[c]||"bg-muted text-muted-foreground",l=ge[c]||"bg-muted-foreground",n=t.charAt(0).toUpperCase()+t.slice(1).toLowerCase();return e.jsxs(m.Badge,{variant:"outline",className:o.cn("gap-1.5 font-medium",d,i),children:[a&&e.jsx("span",{className:o.cn("h-2 w-2 rounded-full",l)}),n]})}const V=v.forwardRef(({className:i,steps:t,currentStep:s,orientation:a="horizontal",onStepClick:c,...d},l)=>e.jsx("div",{ref:l,className:o.cn("flex",a==="horizontal"?"flex-row items-start":"flex-col",i),...d,children:t.map((n,r)=>{const h=r<s,g=r===s,f=c!==void 0;return e.jsxs("div",{className:o.cn("flex",a==="horizontal"?"flex-1 flex-col items-center":"flex-row items-start gap-4 pb-8 last:pb-0"),children:[e.jsxs("div",{className:o.cn("flex items-center",a==="horizontal"?"w-full":"flex-col"),children:[a==="horizontal"&&r>0&&e.jsx("div",{className:o.cn("h-0.5 flex-1",r<=s?"bg-primary":"bg-border")}),e.jsx("button",{type:"button",onClick:()=>f&&c(r),disabled:!f,className:o.cn("relative z-10 flex h-10 w-10 shrink-0 items-center justify-center rounded-full border-2 text-sm font-medium transition-colors",h?"border-primary bg-primary text-primary-foreground":g?"border-primary bg-background text-primary":"border-border bg-background text-muted-foreground",f&&"cursor-pointer hover:border-primary/50"),children:h?e.jsx(m.Check,{className:"h-5 w-5"}):r+1}),a==="horizontal"&&r<t.length-1&&e.jsx("div",{className:o.cn("h-0.5 flex-1",r<s?"bg-primary":"bg-border")}),a==="vertical"&&r<t.length-1&&e.jsx("div",{className:o.cn("my-2 w-0.5 flex-1",r<s?"bg-primary":"bg-border"),style:{minHeight:"2rem"}})]}),e.jsxs("div",{className:o.cn("text-center",a==="horizontal"?"mt-2 px-2":"pt-1"),children:[e.jsx("p",{className:o.cn("text-sm font-medium",g||h?"text-foreground":"text-muted-foreground"),children:n.title}),n.description&&e.jsx("p",{className:"mt-0.5 text-xs text-muted-foreground",children:n.description})]})]},n.id)})}));V.displayName="ProgressTracker";const O=v.forwardRef(({className:i,title:t="AI Summary",summary:s,loading:a=!1,error:c,onRefresh:d,onCopy:l,onFeedback:n,model:r,generatedAt:h,confidence:g,...f},j)=>{const[b,x]=v.useState(!1),[u,k]=v.useState(null),z=async()=>{s&&l&&(await navigator.clipboard.writeText(s),x(!0),l(),setTimeout(()=>x(!1),2e3))},M=C=>{k(C),n?.(C)};return e.jsxs(p.Card,{ref:j,className:o.cn("relative overflow-hidden",i),...f,children:[e.jsx("div",{className:"absolute inset-x-0 top-0 h-1 bg-gradient-to-r from-primary/50 via-primary to-primary/50"}),e.jsxs(p.CardHeader,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(I,{className:"h-4 w-4 text-primary"}),e.jsx(p.CardTitle,{className:"text-base font-medium",children:t}),r&&e.jsx(m.Badge,{variant:"outline",className:"text-xs",children:r})]}),e.jsxs("div",{className:"flex items-center gap-1",children:[d&&e.jsx(m.Button,{variant:"ghost",size:"icon",className:"h-7 w-7",onClick:d,disabled:a,children:e.jsx(ae,{className:o.cn("h-4 w-4",a&&"animate-spin")})}),s&&l&&e.jsx(m.Button,{variant:"ghost",size:"icon",className:"h-7 w-7",onClick:z,children:b?e.jsx(m.Check,{className:"h-4 w-4 text-success"}):e.jsx(ee,{className:"h-4 w-4"})})]})]}),e.jsx(p.CardContent,{className:"space-y-3",children:a?e.jsxs("div",{className:"space-y-2",children:[e.jsx(A.Skeleton,{className:"h-4 w-full"}),e.jsx(A.Skeleton,{className:"h-4 w-full"}),e.jsx(A.Skeleton,{className:"h-4 w-3/4"})]}):c?e.jsx("div",{className:"rounded-md bg-destructive/10 p-3 text-sm text-destructive",children:c}):s?e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:s}),e.jsxs("div",{className:"flex items-center justify-between pt-2",children:[e.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[g!==void 0&&e.jsxs("span",{children:["Confidence: ",Math.round(g*100),"%"]}),h&&e.jsx("span",{children:h})]}),n&&e.jsxs("div",{className:"flex items-center gap-1",children:[e.jsx("span",{className:"text-xs text-muted-foreground mr-1",children:"Was this helpful?"}),e.jsx(m.Button,{variant:u==="positive"?"default":"ghost",size:"icon",className:"h-7 w-7",onClick:()=>M("positive"),children:e.jsx(ne,{className:"h-3.5 w-3.5"})}),e.jsx(m.Button,{variant:u==="negative"?"destructive":"ghost",size:"icon",className:"h-7 w-7",onClick:()=>M("negative"),children:e.jsx(ce,{className:"h-3.5 w-3.5"})})]})]})]}):e.jsx("p",{className:"text-sm text-muted-foreground",children:"No summary available"})})]})});O.displayName="AISummaryCard";const U=v.forwardRef(({className:i,title:t,description:s,badge:a,icon:c,image:d,actionLabel:l="Try it now",onAction:n,learnMoreUrl:r,dismissible:h=!0,onDismiss:g,variant:f="default",...j},b)=>{const x={default:"bg-card",gradient:"bg-gradient-to-br from-primary/10 via-primary/5 to-transparent",bordered:"border-2 border-primary/20"};return e.jsxs(p.Card,{ref:b,className:o.cn("relative overflow-hidden",x[f],i),...j,children:[h&&g&&e.jsx(m.Button,{variant:"ghost",size:"icon",className:"absolute right-2 top-2 h-6 w-6",onClick:g,children:e.jsx(m.X,{className:"h-4 w-4"})}),e.jsx(p.CardContent,{className:"p-6",children:e.jsxs("div",{className:"flex gap-4",children:[(c||d)&&e.jsx("div",{className:"flex-shrink-0",children:c?e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-lg bg-primary/10 text-primary",children:c}):d?e.jsx("img",{src:d,alt:"",className:"h-12 w-12 rounded-lg object-cover"}):null}),e.jsxs("div",{className:"flex-1 space-y-3",children:[e.jsx("div",{className:"flex items-start justify-between gap-2",children:e.jsxs("div",{children:[a&&e.jsxs(m.Badge,{variant:"secondary",className:"mb-2",children:[e.jsx(I,{className:"mr-1 h-3 w-3"}),a]}),e.jsx("h3",{className:"font-semibold",children:t})]})}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s}),e.jsxs("div",{className:"flex items-center gap-2 pt-2",children:[n&&e.jsxs(m.Button,{size:"sm",onClick:n,children:[l,e.jsx(B,{className:"ml-1 h-4 w-4"})]}),r&&e.jsx(m.Button,{variant:"ghost",size:"sm",asChild:!0,children:e.jsxs("a",{href:r,target:"_blank",rel:"noopener noreferrer",children:["Learn more",e.jsx(se,{className:"ml-1 h-3 w-3"})]})})]})]})]})})]})});U.displayName="FeatureHighlightCard";const W=m.cva("relative flex items-center gap-3 px-4 py-3 text-sm",{variants:{variant:{default:"bg-muted text-foreground",info:"bg-info/10 text-info-foreground border-info/20",success:"bg-success/10 text-success-foreground border-success/20",warning:"bg-warning/10 text-warning-foreground border-warning/20",destructive:"bg-destructive/10 text-destructive-foreground border-destructive/20"},position:{top:"fixed top-0 left-0 right-0 z-50 border-b",bottom:"fixed bottom-0 left-0 right-0 z-50 border-t",inline:"rounded-lg border"}},defaultVariants:{variant:"default",position:"inline"}}),pe={default:y.Info,info:y.Info,success:y.CircleCheckBig,warning:y.TriangleAlert,destructive:y.CircleAlert},E=v.forwardRef(({className:i,variant:t="default",position:s="inline",title:a,message:c,dismissible:d=!0,onDismiss:l,action:n,showIcon:r=!0,...h},g)=>{const f=pe[t||"default"];return e.jsxs("div",{ref:g,role:"alert",className:o.cn(W({variant:t,position:s}),i),...h,children:[r&&e.jsx(f,{className:"h-5 w-5 flex-shrink-0"}),e.jsxs("div",{className:"flex flex-1 flex-col gap-0.5",children:[a&&e.jsx("p",{className:"font-medium",children:a}),e.jsx("p",{className:o.cn(!a&&"font-normal",a&&"text-muted-foreground"),children:c})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[n&&e.jsx(m.Button,{variant:t==="destructive"?"destructive":"outline",size:"sm",onClick:n.onClick,children:n.label}),d&&l&&e.jsx(m.Button,{variant:"ghost",size:"icon",className:"h-6 w-6 flex-shrink-0",onClick:l,children:e.jsx(m.X,{className:"h-4 w-4"})})]})]})});E.displayName="AlertBanner";const je={email:e.jsx(T,{className:"h-4 w-4"}),call:e.jsx(H,{className:"h-4 w-4"}),meeting:e.jsx(D.Calendar,{className:"h-4 w-4"}),note:e.jsx(y.FileText,{className:"h-4 w-4"}),task:e.jsx(y.FileText,{className:"h-4 w-4"}),message:e.jsx(te,{className:"h-4 w-4"})},ve={email:"bg-blue-100 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400",call:"bg-green-100 text-green-600 dark:bg-green-900/30 dark:text-green-400",meeting:"bg-purple-100 text-purple-600 dark:bg-purple-900/30 dark:text-purple-400",note:"bg-yellow-100 text-yellow-600 dark:bg-yellow-900/30 dark:text-yellow-400",task:"bg-orange-100 text-orange-600 dark:bg-orange-900/30 dark:text-orange-400",message:"bg-pink-100 text-pink-600 dark:bg-pink-900/30 dark:text-pink-400"},_=v.forwardRef(({className:i,type:t,title:s,description:a,timestamp:c,user:d,actions:l,metadata:n,...r},h)=>e.jsxs("div",{ref:h,className:o.cn("group flex gap-4 rounded-lg p-3 hover:bg-muted/50",i),...r,children:[e.jsx("div",{className:o.cn("flex h-10 w-10 items-center justify-center rounded-lg",ve[t]),children:je[t]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-1",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{children:[e.jsx("h4",{className:"font-medium",children:s}),a&&e.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2",children:a})]}),l&&e.jsxs("div",{className:"flex items-center gap-1 opacity-0 transition-opacity group-hover:opacity-100",children:[l.onEdit&&e.jsx(m.Button,{variant:"ghost",size:"icon",className:"h-7 w-7",onClick:l.onEdit,children:e.jsx(re,{className:"h-3.5 w-3.5"})}),l.onDelete&&e.jsx(m.Button,{variant:"ghost",size:"icon",className:"h-7 w-7 text-destructive hover:text-destructive",onClick:l.onDelete,children:e.jsx(le,{className:"h-3.5 w-3.5"})})]})]}),n&&Object.keys(n).length>0&&e.jsx("div",{className:"flex flex-wrap gap-2 text-xs text-muted-foreground",children:Object.entries(n).map(([g,f])=>e.jsxs("span",{children:[e.jsxs("span",{className:"font-medium",children:[g,":"]})," ",f]},g))}),e.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[d&&e.jsxs(e.Fragment,{children:[e.jsxs(w.Avatar,{className:"h-5 w-5",children:[d.avatar&&e.jsx(w.AvatarImage,{src:d.avatar}),e.jsx(w.AvatarFallback,{className:"text-[10px]",children:d.name.charAt(0).toUpperCase()})]}),e.jsx("span",{children:d.name}),e.jsx("span",{children:"•"})]}),e.jsx("span",{children:c})]})]})]}));_.displayName="CRMActivityItem";const X=v.forwardRef(({className:i,title:t,subtitle:s,userName:a,steps:c=[],dismissible:d=!0,onDismiss:l,showProgress:n=!0,image:r,ctaLabel:h,ctaOnClick:g,...f},j)=>{const b=c.filter(u=>u.completed).length,x=c.length>0?b/c.length*100:0;return e.jsxs(p.Card,{ref:j,className:o.cn("relative overflow-hidden",i),...f,children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/5 via-primary/10 to-transparent"}),d&&l&&e.jsx(m.Button,{variant:"ghost",size:"icon",className:"absolute right-2 top-2 h-6 w-6 z-10",onClick:l,children:e.jsx(m.X,{className:"h-4 w-4"})}),e.jsx(p.CardContent,{className:"relative p-6",children:e.jsxs("div",{className:"flex gap-6",children:[e.jsxs("div",{className:"flex-1 space-y-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(I,{className:"h-5 w-5 text-primary"}),e.jsx("span",{className:"text-sm font-medium text-primary",children:"Welcome"})]}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold",children:a?`${t}, ${a}!`:t}),s&&e.jsx("p",{className:"mt-1 text-muted-foreground",children:s})]}),n&&c.length>0&&e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-between text-sm",children:[e.jsx("span",{className:"text-muted-foreground",children:"Setup progress"}),e.jsxs("span",{className:"font-medium",children:[b,"/",c.length," completed"]})]}),e.jsx(y.Progress,{value:x,className:"h-2"})]}),c.length>0&&e.jsx("div",{className:"space-y-2",children:c.slice(0,3).map(u=>e.jsxs("button",{onClick:u.onClick,className:o.cn("flex w-full items-center gap-3 rounded-lg p-3 text-left transition-colors hover:bg-muted",u.completed&&"opacity-50"),children:[e.jsx("div",{className:o.cn("flex h-6 w-6 items-center justify-center rounded-full border-2",u.completed?"border-primary bg-primary text-primary-foreground":"border-muted-foreground/30"),children:u.completed&&e.jsx("svg",{className:"h-3.5 w-3.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:3,children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:o.cn("font-medium",u.completed&&"line-through"),children:u.title}),u.description&&e.jsx("p",{className:"text-xs text-muted-foreground",children:u.description})]}),!u.completed&&e.jsx(B,{className:"h-4 w-4 text-muted-foreground"})]},u.id))}),h&&g&&e.jsxs(m.Button,{onClick:g,className:"gap-2",children:[h,e.jsx(B,{className:"h-4 w-4"})]})]}),r&&e.jsx("div",{className:"hidden lg:block",children:e.jsx("img",{src:r,alt:"",className:"h-48 w-48 object-contain"})})]})})]})});X.displayName="WelcomeCard";exports.AISummaryCard=O;exports.AlertBanner=E;exports.CRMActivityItem=_;exports.ContactCard=R;exports.DealCard=F;exports.FeatureHighlightCard=U;exports.LeadScoreIndicator=P;exports.PipelineBoard=oe;exports.ProgressTracker=V;exports.StatusBadge=fe;exports.WelcomeCard=X;exports.alertBannerVariants=W;
|
|
2
|
-
//# sourceMappingURL=welcome-card-CPolYl1D.cjs.map
|